|
|
@ -500,6 +500,11 @@ public class PartnerManageController {
|
|
|
|
return clientManager.listSubClients(manager, clientMoniker);
|
|
|
|
return clientManager.listSubClients(manager, clientMoniker);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/sub_clients/{page}", method = RequestMethod.GET)
|
|
|
|
|
|
|
|
public JSONObject listSubClientsByPage(@PathVariable String clientMoniker,@PathVariable int page, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager) {
|
|
|
|
|
|
|
|
return clientManager.listSubClientsByPage(manager, clientMoniker,page);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//创建子商户
|
|
|
|
//创建子商户
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/sub_clients", method = RequestMethod.POST, role = {ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.OPERATOR})
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/sub_clients", method = RequestMethod.POST, role = {ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.OPERATOR})
|
|
|
|
public void newSubClient(@PathVariable String clientMoniker, @RequestBody @Valid ClientRegisterInfo registery, Errors errors,
|
|
|
|
public void newSubClient(@PathVariable String clientMoniker, @RequestBody @Valid ClientRegisterInfo registery, Errors errors,
|
|
|
|