Skip to content

Commit

Permalink
pref:研发商店通用化接口封装优化 #11049
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyin0801 committed Dec 5, 2024
1 parent 58761f5 commit 92d3ec7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,10 @@ class StoreReleaseServiceImpl @Autowired constructor(
listOf(StoreStatusEnum.BUILDING, StoreStatusEnum.CHECKING, StoreStatusEnum.EDITING)
}
val releasedValidPreviousStatuses = if (isNormalUpgrade == true) {
// 普通升级可以由测试中的状态直接发布
listOf(StoreStatusEnum.EDITING)
// 普通升级可以由测试中或者审核中的状态直接发布
listOf(StoreStatusEnum.TESTING, StoreStatusEnum.EDITING)
} else {
listOf(StoreStatusEnum.EDITING, StoreStatusEnum.AUDITING)
listOf(StoreStatusEnum.TESTING, StoreStatusEnum.EDITING, StoreStatusEnum.AUDITING)
}
val cancelValidPreviousStatuses = StoreStatusEnum.values().toMutableList()
cancelValidPreviousStatuses.remove(StoreStatusEnum.RELEASED)
Expand Down

0 comments on commit 92d3ec7

Please sign in to comment.