111
This commit is contained in:
parent
2098589016
commit
5f7e7a0c5f
@ -8,6 +8,7 @@ import com.example.caseData.dto.T;
|
||||
import com.example.caseData.dto.publicDto.GetOssSignDto;
|
||||
import com.example.caseData.dto.publicDto.LoginDto;
|
||||
import com.example.caseData.dto.user.UserDto;
|
||||
import com.example.caseData.exception.BusinessException;
|
||||
import com.example.caseData.extend.aliyun.DySms;
|
||||
import com.example.caseData.extend.aliyun.Oss;
|
||||
import com.example.caseData.extend.weChat.WxMaServiceUtils;
|
||||
@ -121,6 +122,10 @@ public class PublicController {
|
||||
if (Objects.equals(e.getMessage(), "待补充资料")){
|
||||
return Response.error(10007,null,e.getMessage());
|
||||
}
|
||||
|
||||
// if (Objects.equals(e.getMessage(), "没有HCP权限")){
|
||||
// return Response.error(405,null,e.getMessage());
|
||||
// }
|
||||
return Response.error(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@ import cn.hutool.crypto.SecureUtil;
|
||||
import cn.hutool.http.HttpUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.example.caseData.config.AppConfig;
|
||||
import com.example.caseData.config.EnvConfig;
|
||||
import com.example.caseData.dao.*;
|
||||
import com.example.caseData.dto.publicDto.LoginDto;
|
||||
@ -87,6 +88,9 @@ public class UserService {
|
||||
@Resource
|
||||
private StatsCaseClinicalDao statsCaseClinicalDao;
|
||||
|
||||
@Resource
|
||||
private AppConfig appConfig;
|
||||
|
||||
/**
|
||||
* 用户登陆-手机号
|
||||
* @return UserModel
|
||||
@ -378,7 +382,7 @@ public class UserService {
|
||||
params.put("timestamp", System.currentTimeMillis() / 1000);
|
||||
String signature = Sha256Util.getSign(params, "zd8V2LYD4achjFZrbHgD2PuzKuthDCVx");
|
||||
params.put("signature", signature);
|
||||
String result = HttpUtil.post("https://wx.igandan.com/hcp/getInfo", params);
|
||||
String result = HttpUtil.post(appConfig.getApiUrl() + "/hcp/getInfo", params);
|
||||
log.info("11111");
|
||||
log.info(result);
|
||||
log.info("2222");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user