Commit 5692dbb6 authored by Su-Yi's avatar Su-Yi

动态获取访客tku

parent 5fa924b1
......@@ -25,6 +25,11 @@ public class Pay {
// 创建用户 并传到network里
AGENT_TKU = BaseUtils.createTku();
network.agentCookies.put("tku",AGENT_TKU);
System.out.println("代理人tku:"+AGENT_TKU);
// 获取访客tku
VISITOR_TKU = BaseUtils.getTku(VISITOR_USERID);
System.out.println("访客tku:"+VISITOR_TKU);
}
@Test (description = "默认付费_付费页",priority = 1) //priority 方法执行优先级
......
......@@ -6,18 +6,21 @@ public class BasicConfig {
// 是否开启钉钉机器人推送
public static final boolean isPushReport = true; //true
// 代理人 TKU
public static String AGENT_TKU = null;
// 访客 TKU
public static final String VISITOR_TKU = "T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3kN2o2rJ1ieFVyFF4YAnAgs6QwYpG3n2Fjs6LAoK";
// 代理人微信昵称
public static final String WECHAT_NAME = "客集集-梦晨"; //true
// 代理人的openid(固定)
public static final String OPEN_ID = "osi5w5l1lGC9T8f-sLNNurqvfS4A";
// 代理人 TKU
public static String AGENT_TKU = null;
// 访客 TKU
public static String VISITOR_TKU = null;
// 访客的userId(固定)
public static final int VISITOR_USERID = 4425;
// 客集云公众号的oaSourceId(固定)
public static final String OASOURCE_ID = "gh_3b9884c7b0ee";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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