|
|
|
@ -48,6 +48,12 @@ public class PartnerManageController {
|
|
|
|
|
return clientManager.listPartners(manager, query);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/init/merchant_code", method = RequestMethod.GET)
|
|
|
|
|
public String initMerchantCode() {
|
|
|
|
|
return clientManager.initMerchantCode();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST)
|
|
|
|
|
@RequireManager(role = {ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.OPERATOR})
|
|
|
|
|
public JSONObject registerPartner(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, @RequestBody @Valid ClientRegisterInfo registery,
|
|
|
|
|