Commit 810b17f5 authored by Su-Yi's avatar Su-Yi

修改tku

parent f5a01349
...@@ -11,7 +11,6 @@ import org.testng.Assert; ...@@ -11,7 +11,6 @@ import org.testng.Assert;
import org.testng.annotations.*; import org.testng.annotations.*;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import java.io.IOException; import java.io.IOException;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
......
...@@ -254,6 +254,27 @@ public class Pay { ...@@ -254,6 +254,27 @@ public class Pay {
// 2.登录成功,切到管理后台 // 2.登录成功,切到管理后台
// network.host = MANAGER_HOST; // network.host = MANAGER_HOST;
// 3.切换公司为客集集
Map<String, Object> changeParams = new HashMap<String, Object>();
changeParams.put("id",sellerId);
changeParams.put("companyId",6);
response = network.getResponse(changeParams,MANAGER_CHANGECOMPANY);
// 4.切换vip
Map<String, Object> switchVipParams = new HashMap<String, Object>();
switchVipParams.put("reason","1");
switchVipParams.put("sellerId",sellerId);
switchVipParams.put("userVersion",2);
switchVipParams.put("vipType",2);
switchVipParams.put("vipStartDate",System.currentTimeMillis());
switchVipParams.put("vipEndDate",System.currentTimeMillis());
response = network.getResponse(switchVipParams,MANAGER_UPDATETYPEORDATE);
// 5.切换公司为空
changeParams.remove("companyId",6); //去掉公司
response = network.getResponse(changeParams,MANAGER_CHANGECOMPANY);
} }
......
...@@ -10,7 +10,7 @@ public class BasicConfig { ...@@ -10,7 +10,7 @@ public class BasicConfig {
// 用户微信昵称 // 用户微信昵称
public static final String WECHAT_NAME = "小疙瘩人寿"; //true public static final String WECHAT_NAME = "小疙瘩人寿"; //true
// 用户tku // 用户tku
public static final String AGENT_TKU = "T3gM31f18jAW2M3jS1WrvjR6mJMU4qiGcyGSxPNnNgjbotqdrs7kVvfd9GuNccLkvd1BSX7WVdfv8EKTSq"; public static final String AGENT_TKU = "T3gM31f18jAW2M3BQpx6szPXT38RVi2CWuVBaus5fCXZz8yqK5FK7SXvHsaAFtWF7ZwT1C4YgYbyUvL2mE";
// *************** 钉钉机器人 *************** // *************** 钉钉机器人 ***************
// 线上-告警群 // 线上-告警群
...@@ -220,6 +220,7 @@ public class BasicConfig { ...@@ -220,6 +220,7 @@ public class BasicConfig {
public static final String MANAGER_AUTH = "/auth/getAuthList"; public static final String MANAGER_AUTH = "/auth/getAuthList";
public static final String MANAGER_CHANGECOMPANY = "/kjy/manager/seller/changeCompany";
public static final String MANAGER_UPDATETYPEORDATE = "/kjy/manager/seller/updateTypeOrDate";
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment