|
@@ -403,5 +403,15 @@ public class FsUserController extends BaseController
|
|
|
return userIntegralLogsService.addIntegralTemplate(integralTemplateParam);
|
|
return userIntegralLogsService.addIntegralTemplate(integralTemplateParam);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:user:unbind')")
|
|
|
|
|
+ @Log(title = "批量解绑会员(删除销售和会员的关系)", businessType = BusinessType.DELETE)
|
|
|
|
|
+ @DeleteMapping("/batchUnbind")
|
|
|
|
|
+ public AjaxResult batchUnbind(@RequestBody List<Long> userIds){
|
|
|
|
|
+ if(!userIds.isEmpty()){
|
|
|
|
|
+ return toAjax(userCompanyUserService.batchUnbind(userIds));
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return error("请先选择会员");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|