|
@@ -415,6 +415,8 @@ public class CompanyUserAllController extends BaseController {
|
|
|
/**
|
|
/**
|
|
|
* 批量修改 销售的所属区域(临时的)
|
|
* 批量修改 销售的所属区域(临时的)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:user:updateCompanyUserAreaList')")
|
|
|
|
|
+ @Log(title = "用户管理", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/updateCompanyUserAreaList")
|
|
@PostMapping("/updateCompanyUserAreaList")
|
|
|
public R updateCompanyUserAreaList(@RequestBody CompanyUserAreaParam param)
|
|
public R updateCompanyUserAreaList(@RequestBody CompanyUserAreaParam param)
|
|
|
{
|
|
{
|
|
@@ -432,6 +434,7 @@ public class CompanyUserAllController extends BaseController {
|
|
|
return R.ok().put("data",subDomain);
|
|
return R.ok().put("data",subDomain);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:user:setRegister')")
|
|
|
@Log(title = "设置是否需要单独注册会员", businessType = BusinessType.UPDATE)
|
|
@Log(title = "设置是否需要单独注册会员", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/setRegister")
|
|
@PutMapping("/setRegister")
|
|
|
public AjaxResult setIsRegisterMember(@RequestParam Boolean status, @RequestBody List<Long> userIds) {
|
|
public AjaxResult setIsRegisterMember(@RequestParam Boolean status, @RequestBody List<Long> userIds) {
|
|
@@ -443,6 +446,7 @@ public class CompanyUserAllController extends BaseController {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('company:user:allowedAllRegister')")
|
|
|
@Log(title = "是否允许所有方式注册会员", businessType = BusinessType.UPDATE)
|
|
@Log(title = "是否允许所有方式注册会员", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/allowedAllRegister")
|
|
@PutMapping("/allowedAllRegister")
|
|
|
public AjaxResult isAllowedAllRegister(@RequestParam Boolean status, @RequestBody List<Long> userIds) {
|
|
public AjaxResult isAllowedAllRegister(@RequestParam Boolean status, @RequestBody List<Long> userIds) {
|