|
|
|
@ -66,6 +66,11 @@ public class PartnerManageController {
|
|
|
|
|
clientManager.disableClient(clientMoniker, manager);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/revert", method = RequestMethod.PUT, role = {ManagerRole.ADMIN, ManagerRole.OPERATOR})
|
|
|
|
|
public void revertClient(@PathVariable String clientMoniker, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager) {
|
|
|
|
|
clientManager.revertClient(clientMoniker, manager);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/{clientMoniker}/qrcode", method = RequestMethod.GET)
|
|
|
|
|
public JSONObject getQrCodeImg(@PathVariable String clientMoniker, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, QRCodeConfig config) {
|
|
|
|
|
return clientManager.getQRCode(manager, clientMoniker, config);
|
|
|
|
|