|
@@ -80,7 +80,7 @@ public class WxAppletUserController {
|
|
|
@ApiOperation(value = "当前用户绑定医院",position = 5)
|
|
@ApiOperation(value = "当前用户绑定医院",position = 5)
|
|
|
public CommonResult<Boolean> bindHospital(@RequestBody BizWxUserBindHospitalDTO source){
|
|
public CommonResult<Boolean> bindHospital(@RequestBody BizWxUserBindHospitalDTO source){
|
|
|
String currentUserId = LoginUserStrategy.tr.getCurrentUserId();
|
|
String currentUserId = LoginUserStrategy.tr.getCurrentUserId();
|
|
|
- wxUserService.bindHospital(currentUserId,source.getHospitalId());
|
|
|
|
|
|
|
+ wxUserService.bindHospital(currentUserId,source.getTenantId());
|
|
|
return CommonResult.success(Boolean.TRUE);
|
|
return CommonResult.success(Boolean.TRUE);
|
|
|
}
|
|
}
|
|
|
|
|
|