fix: 修复手机端继承welink的BUG
This commit is contained in:
@@ -130,6 +130,7 @@ public class LoginRestController {
|
||||
public ResponseMessage getIftappCodeByWelinkCode(HttpServletRequest request, WeLinkVO linkVO) throws UnsupportedEncodingException {
|
||||
log.info(JSONObject.toJSONString(linkVO));
|
||||
String account = weLinkUtil.getIftappCodeByWelinkCode(linkVO);
|
||||
// String account = "zhangyanduan001";
|
||||
log.info("userAccount:" +account);
|
||||
if(StringUtils.isBlank(account)){
|
||||
return Result.error("r0011", "用户不存在");
|
||||
|
||||
@@ -20,9 +20,9 @@ public class WeLinkUtil {
|
||||
|
||||
|
||||
// 测试环境地址
|
||||
private final String access_url = "https://iftappdev.foton.com.cn/devservertest/welink/";
|
||||
// private final String access_url = "https://iftappdev.foton.com.cn/devservertest/welink/";
|
||||
//正式环境地址
|
||||
// private final String access_url = "https://iftappwelink.foton.com.cn/devserver/welink/";
|
||||
private final String access_url = "https://iftappwelink.foton.com.cn/devserver/welink/";
|
||||
|
||||
public String getIftappCodeByWelinkCode(WeLinkVO linkVO){
|
||||
try{
|
||||
|
||||
Reference in New Issue
Block a user