新增注册第三方注册的来源字段
This commit is contained in:
parent
b279bb1083
commit
a1633e3456
@ -147,7 +147,7 @@ public class AppContext extends CommonAppContext {
|
||||
String environment = AdjustConfig.ENVIRONMENT_PRODUCTION;
|
||||
AdjustConfig config = new AdjustConfig(this, "3om5fbglyqdc", environment);
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY == false) {
|
||||
config.setDefaultTracker("{xa7k5ut}");
|
||||
config.setDefaultTracker("xa7k5ut");
|
||||
}
|
||||
Adjust.onCreate(config);
|
||||
registerActivityLifecycleCallbacks(new AdjustLifecycleCallbacks());
|
||||
|
@ -61,7 +61,7 @@ public class MainHttpUtil {
|
||||
HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD)
|
||||
.params("openid", openid)
|
||||
.params("nicename", nicename)
|
||||
.params("app_project", "1")
|
||||
.params("app_source", CommonAppConfig.IS_GOOGLE_PLAY==true?"1":"3")
|
||||
.params("avatar", avatar)
|
||||
.params("type", type)
|
||||
.params("source", DEVICE)
|
||||
@ -80,7 +80,7 @@ public class MainHttpUtil {
|
||||
String sign = MD5Util.getMD5("openid=" + openid + "&" + SALT);
|
||||
HttpClient.getInstance().get("Login.userLoginByThird", MainHttpConsts.LOGIN_BY_THIRD)
|
||||
.params("openid", openid)
|
||||
.params("app_project", "1")
|
||||
.params("app_source", CommonAppConfig.IS_GOOGLE_PLAY==true?"1":"3")
|
||||
.params("admin_id", promoCode)
|
||||
.params("uuid_Device", uuidDevice)
|
||||
.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) {
|
||||
HttpClient.getInstance().get("Login.userReg", MainHttpConsts.REGISTER)
|
||||
.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("admin_id", promo_code)
|
||||
|
Loading…
Reference in New Issue
Block a user