Commit a1e7f422 by 徐高华

返回

parent d9f878ca
...@@ -1740,15 +1740,15 @@ public class WxStaffController extends WebBaseController { ...@@ -1740,15 +1740,15 @@ public class WxStaffController extends WebBaseController {
* 判断成员是否授权获取敏感信息 * 判断成员是否授权获取敏感信息
*/ */
@RequestMapping("get-sensitive-status") @RequestMapping("get-sensitive-status")
public HaobanResponse getSensitiveStatus(String staffId){ public RestResponse<Object> getSensitiveStatus(String staffId){
int qrCodeByStaffId = staffApiService.getSensitiveStatus(staffId); int result = staffApiService.getSensitiveStatus(staffId);
return resultResponse(HaoBanErrCode.ERR_1, qrCodeByStaffId); return RestResponse.successResult(result) ;
} }
@RequestMapping("update-qr-code") @RequestMapping("update-qr-code")
public HaobanResponse updateQrCode(String staffId , String qrCode){ public RestResponse<Object> updateQrCode(String staffId , String qrCode){
this.staffApiService.updateQrCodeByStaffId(staffId, qrCode) ; this.staffApiService.updateQrCodeByStaffId(staffId, qrCode) ;
return resultResponse(HaoBanErrCode.ERR_1); return RestResponse.successResult() ;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment