fix: 修复手机端继承welink的BUG
This commit is contained in:
@@ -130,6 +130,7 @@ public class LoginRestController {
|
|||||||
public ResponseMessage getIftappCodeByWelinkCode(HttpServletRequest request, WeLinkVO linkVO) throws UnsupportedEncodingException {
|
public ResponseMessage getIftappCodeByWelinkCode(HttpServletRequest request, WeLinkVO linkVO) throws UnsupportedEncodingException {
|
||||||
log.info(JSONObject.toJSONString(linkVO));
|
log.info(JSONObject.toJSONString(linkVO));
|
||||||
String account = weLinkUtil.getIftappCodeByWelinkCode(linkVO);
|
String account = weLinkUtil.getIftappCodeByWelinkCode(linkVO);
|
||||||
|
// String account = "zhangyanduan001";
|
||||||
log.info("userAccount:" +account);
|
log.info("userAccount:" +account);
|
||||||
if(StringUtils.isBlank(account)){
|
if(StringUtils.isBlank(account)){
|
||||||
return Result.error("r0011", "用户不存在");
|
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){
|
public String getIftappCodeByWelinkCode(WeLinkVO linkVO){
|
||||||
try{
|
try{
|
||||||
|
|||||||
Reference in New Issue
Block a user