注册的接口加一个字段 langue=语言 默认 'chinese' , 英语 'english'

Login.UserReg
Login.userLoginByThird
两个接口
This commit is contained in:
18401019693 2023-11-10 09:57:47 +08:00
parent e2ee742091
commit c58a5a9a55

View File

@ -18,6 +18,7 @@ import com.yunbao.common.manager.IMLoginManager;
import com.yunbao.common.utils.MD5Util; import com.yunbao.common.utils.MD5Util;
import com.yunbao.common.utils.SpUtil; import com.yunbao.common.utils.SpUtil;
import com.yunbao.common.utils.VersionUtil; import com.yunbao.common.utils.VersionUtil;
import com.yunbao.common.utils.WordUtil;
import com.yunbao.main.utils.MacUitl; import com.yunbao.main.utils.MacUitl;
import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.EventBus;
@ -92,6 +93,7 @@ public class MainHttpUtil {
.params("sign", sign) .params("sign", sign)
.params("lastlogindevice", "Android") .params("lastlogindevice", "Android")
.params("pushid", "") .params("pushid", "")
.params("langue", WordUtil.isNewZh()?"chinese":"english")
.execute(callback); .execute(callback);
} }
@ -588,6 +590,7 @@ public class MainHttpUtil {
.params("code", code) .params("code", code)
.params("source", DEVICE) .params("source", DEVICE)
.params("invitation_code", invitecode) .params("invitation_code", invitecode)
.params("langue", WordUtil.isNewZh()?"chinese":"english")
.execute(callback); .execute(callback);
} }