|
@@ -5,6 +5,7 @@ import cn.com.ctop.common.module.entity.UserAllocation;
|
|
import cn.com.ctop.common.module.mapper.UserAllocationMapper;
|
|
import cn.com.ctop.common.module.mapper.UserAllocationMapper;
|
|
import cn.com.ctop.common.module.service.IBindAccountLoginService;
|
|
import cn.com.ctop.common.module.service.IBindAccountLoginService;
|
|
import cn.com.ctop.common.module.utils.Check;
|
|
import cn.com.ctop.common.module.utils.Check;
|
|
|
|
+import cn.com.ctop.common.module.utils.CtopAdConstant;
|
|
import cn.com.ctop.common.module.utils.StringUtils;
|
|
import cn.com.ctop.common.module.utils.StringUtils;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
@@ -69,7 +70,7 @@ public class BindAccountLoginController {
|
|
String password = json.getString("password");
|
|
String password = json.getString("password");
|
|
Map<String, Object> stringObjectMap = createInternalService.bindLogin(advertiserId, accountName, password, loginType, userId, advertiserName);
|
|
Map<String, Object> stringObjectMap = createInternalService.bindLogin(advertiserId, accountName, password, loginType, userId, advertiserName);
|
|
Boolean trueOrFalse = (Boolean) stringObjectMap.get("success");
|
|
Boolean trueOrFalse = (Boolean) stringObjectMap.get("success");
|
|
- if (Boolean.TRUE.equals(trueOrFalse)) {
|
|
|
|
|
|
+ if (Boolean.TRUE.equals(trueOrFalse)&&!loginType.equals(CtopAdConstant.PLATFORM_TYPE_PANGOLIN_PY)) {
|
|
Map<String, Object> deleteMap = new HashMap<>();
|
|
Map<String, Object> deleteMap = new HashMap<>();
|
|
deleteMap.put("account_name", accountName);
|
|
deleteMap.put("account_name", accountName);
|
|
deleteMap.put("user_id", userId);
|
|
deleteMap.put("user_id", userId);
|