|
@@ -74,12 +74,13 @@ public class OpenTenantController {
|
|
|
// 根据手机号 判断是否已经有机构账户
|
|
|
TenantStaff tenantStaff = tenantStaffService.getByPhone(phone);
|
|
|
if (tenantStaff != null) {
|
|
|
- return HttpResponseResult.status(true);
|
|
|
+ return HttpResponseResult.succeed(true);
|
|
|
}
|
|
|
- return HttpResponseResult.status(false);
|
|
|
+ return HttpResponseResult.succeed(false);
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
@GetMapping("/bindWechat")
|
|
|
@ApiOperation(value = "绑定微信")
|
|
|
public HttpResponseResult<Boolean> bindWechat(@RequestParam("phone") String phone,
|