新增注册第三方注册的来源字段

This commit is contained in:
18142669586 2022-10-07 16:58:49 +08:00
parent b279bb1083
commit a1633e3456
2 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ public class AppContext extends CommonAppContext {
String environment = AdjustConfig.ENVIRONMENT_PRODUCTION; String environment = AdjustConfig.ENVIRONMENT_PRODUCTION;
AdjustConfig config = new AdjustConfig(this, "3om5fbglyqdc", environment); AdjustConfig config = new AdjustConfig(this, "3om5fbglyqdc", environment);
if (CommonAppConfig.IS_GOOGLE_PLAY == false) { if (CommonAppConfig.IS_GOOGLE_PLAY == false) {
config.setDefaultTracker("{xa7k5ut}"); config.setDefaultTracker("xa7k5ut");
} }
Adjust.onCreate(config); Adjust.onCreate(config);
registerActivityLifecycleCallbacks(new AdjustLifecycleCallbacks()); registerActivityLifecycleCallbacks(new AdjustLifecycleCallbacks());

View File

@ -61,7 +61,7 @@ public class MainHttpUtil {
HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD) HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD)
.params("openid", openid) .params("openid", openid)
.params("nicename", nicename) .params("nicename", nicename)
.params("app_project", "1") .params("app_source", CommonAppConfig.IS_GOOGLE_PLAY==true?"1":"3")
.params("avatar", avatar) .params("avatar", avatar)
.params("type", type) .params("type", type)
.params("source", DEVICE) .params("source", DEVICE)
@ -80,7 +80,7 @@ public class MainHttpUtil {
String sign = MD5Util.getMD5("openid=" + openid + "&" + SALT); String sign = MD5Util.getMD5("openid=" + openid + "&" + SALT);
HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD) HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD)
.params("openid", openid) .params("openid", openid)
.params("app_project", "1") .params("app_source", CommonAppConfig.IS_GOOGLE_PLAY==true?"1":"3")
.params("admin_id", promoCode) .params("admin_id", promoCode)
.params("uuid_Device", uuidDevice) .params("uuid_Device", uuidDevice)
.params("nicename", nicename) .params("nicename", nicename)
@ -552,7 +552,7 @@ public class MainHttpUtil {
public static void register(String invitecode, String user_login, String promo_code, String uuidDevice, int countryCode, String pass, String pass2, String code, HttpCallback callback) { public static void register(String invitecode, String user_login, String promo_code, String uuidDevice, int countryCode, String pass, String pass2, String code, HttpCallback callback) {
HttpClient.getInstance().get("Login.userReg", MainHttpConsts.REGISTER) HttpClient.getInstance().get("Login.userReg", MainHttpConsts.REGISTER)
.params("user_login", user_login) .params("user_login", user_login)
.params("app_project", "1") .params("app_source", CommonAppConfig.IS_GOOGLE_PLAY==true?"1":"3")
//增加参数推广码 //增加参数推广码
.params("user_activation_key", promo_code) .params("user_activation_key", promo_code)
.params("admin_id", promo_code) .params("admin_id", promo_code)