Commit 873cda81 by 徐高华

Merge branch 'feature/获取用户敏感信息' into 'developer'

返回

See merge request !904
parents a58af6c6 a1e7f422
......@@ -1740,15 +1740,15 @@ public class WxStaffController extends WebBaseController {
* 判断成员是否授权获取敏感信息
*/
@RequestMapping("get-sensitive-status")
public HaobanResponse getSensitiveStatus(String staffId){
int qrCodeByStaffId = staffApiService.getSensitiveStatus(staffId);
return resultResponse(HaoBanErrCode.ERR_1, qrCodeByStaffId);
public RestResponse<Object> getSensitiveStatus(String staffId){
int result = staffApiService.getSensitiveStatus(staffId);
return RestResponse.successResult(result) ;
}
@RequestMapping("update-qr-code")
public HaobanResponse updateQrCode(String staffId , String qrCode){
public RestResponse<Object> updateQrCode(String staffId , String 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