|
|
@@ -82,7 +82,7 @@ public class OrganizationController {
|
|
|
@Operation(summary = "学校-添加", description = "学校-添加")
|
|
|
@RequestMapping(value = "addSchool", method = {RequestMethod.POST})
|
|
|
public ResultContent addSchool(@RequestBody SchoolAddParam param) {
|
|
|
- param.setAuthType(AuthType.Project);
|
|
|
+ param.setAuthType(AuthType.School);
|
|
|
return this.organizationService.addSchool(param);
|
|
|
}
|
|
|
|
|
|
@@ -116,7 +116,7 @@ public class OrganizationController {
|
|
|
@RequestMapping(value = {"getUsableShop"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<List<OrganizationSimpleModel>> getUsableShop(
|
|
|
@Parameter(required = false) OrganizationSearchParam param) {
|
|
|
- param.setAuthType(AuthType.Shop);
|
|
|
+ param.setAuthType(AuthType.BusinessMain);
|
|
|
return organizationService.list(param);
|
|
|
}
|
|
|
|
|
|
@@ -129,7 +129,7 @@ public class OrganizationController {
|
|
|
@Operation(summary = "商户-添加", description = "商户-添加")
|
|
|
@RequestMapping(value = "addShop", method = {RequestMethod.POST})
|
|
|
public ResultContent addShop(@RequestBody OrganizationAddParam param) {
|
|
|
- param.setAuthType(AuthType.Shop);
|
|
|
+ param.setAuthType(AuthType.BusinessMain);
|
|
|
return this.organizationService.addOrganization(param);
|
|
|
}
|
|
|
|
|
|
@@ -147,7 +147,7 @@ public class OrganizationController {
|
|
|
public ResultContent<Page<OrganizationModel>> pageShop(
|
|
|
@Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
@Parameter(required = false) OrganizationSearchParam param) {
|
|
|
- param.setAuthType(AuthType.Shop);
|
|
|
+ param.setAuthType(AuthType.BusinessMain);
|
|
|
return organizationService.page(param, pageable);
|
|
|
}
|
|
|
//------------------------------商户管理 end------------------------
|