fix(api): 优化站点用户信息上报逻辑和接口
- 修改App名称为“Amazy Taiwan”,更新对应配置字段 - 更改站点用户信息上报接口地址为“api/client/user-info” - 上报数据中新增设备类型字段 deviceType,值固定为 ANDROID - data 字段必须为JSON对象且包含必填字段 mobile - mobile字段缺失时,用手机号候选字段中第一个有效值补充 - 添加数据解析异常和手机号缺失时跳过上报的逻辑 - 更新上报方法,调整请求体字段和接口调用方式
This commit is contained in:
@@ -3,7 +3,7 @@ plugins {
|
||||
id 'com.google.gms.google-services'
|
||||
}
|
||||
|
||||
def appOutPutName = "amazy"
|
||||
def appOutPutName = "Amazy Taiwan"
|
||||
|
||||
android {
|
||||
namespace rootProject.ext.namespace
|
||||
@@ -22,7 +22,7 @@ android {
|
||||
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
|
||||
resValue('color', 'style_color', '#FFFFFF')
|
||||
//app 名字
|
||||
resValue('string', 'app_name', 'Amazy')
|
||||
resValue('string', 'app_name', 'Amazy Taiwan')
|
||||
|
||||
|
||||
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
|
||||
@@ -30,7 +30,7 @@ android {
|
||||
buildConfigField "boolean", "IS_WHITE", "false"
|
||||
buildConfigField "boolean", "IS_ROUND", "true"
|
||||
buildConfigField "int", "ROUND_RADIUS", "10"
|
||||
buildConfigField "boolean", "HAS_CONTACT", "true"
|
||||
buildConfigField "boolean", "HAS_CONTACT", "false"
|
||||
buildConfigField "boolean", "HAS_HOOK", "false"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user