Commit ff97a9b6 by 陶光胜

导航保存重复验证

parent 930d4160
......@@ -72,9 +72,12 @@ public class CustomStoreController {
}
@RequestMapping("delete-custom-store")
public RestResponse deleteCustomStore(String customStoreIds){
if(StringUtils.isNotBlank(customStoreIds)){
String[] arr = customStoreIds.split(",");
public RestResponse deleteCustomStore(String customStoreId){
if(StringUtils.isBlank(customStoreId)){
return RestResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "参数不能为空");
}
if(StringUtils.isNotBlank(customStoreId)){
String[] arr = customStoreId.split(",");
for(String s : arr){
this.customStoreApiService.deleteCustomStore(Integer.valueOf(s));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment