接口名重复
This commit is contained in:
@@ -69,8 +69,8 @@ public class PpPackageController {
|
|||||||
* 上下架套餐
|
* 上下架套餐
|
||||||
* 参数: {"status": 1, "packageId": 123}
|
* 参数: {"status": 1, "packageId": 123}
|
||||||
*/
|
*/
|
||||||
@PutMapping("/switch")
|
@PutMapping("/online")
|
||||||
@SaAdminCheckPermission(parentName = "套餐推广", value = "market:package:switch", name = "上下架套餐")
|
@SaAdminCheckPermission(parentName = "套餐推广", value = "market:package:online", name = "上下架套餐")
|
||||||
public CzgResult<Boolean> switchPackage(@RequestBody JSONObject param) {
|
public CzgResult<Boolean> switchPackage(@RequestBody JSONObject param) {
|
||||||
AssertUtil.isNull(param, "参数错误");
|
AssertUtil.isNull(param, "参数错误");
|
||||||
Integer status = param.getInteger("status");
|
Integer status = param.getInteger("status");
|
||||||
|
|||||||
Reference in New Issue
Block a user