note_readme.txt
2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
车家互联APP后台接口协议及开发事项相关说明
1、商城:https://aiot-shop-mobile.frontend.test.glsx.com.cn/aiot-shop-mobile/index?token=XXXXXXX
比如:
2、我的订单:https://aiot-shop-mobile.frontend.test.glsx.com.cn/aiot-shop-mobile/order?token=XXXXXX
比如: https://aiot-shop-mobile.frontend.test.glsx.com.cn/aiot-shop-mobileorder?phone=18826589996&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTE4MjgwOTEsInVzZXJJZCI6MTAwMDAwMTUsInV1aWQiOiI1YTAyMGUxOS1kYzMyLTQ4ZWItODIzYy0zZDc0NDQxMDYwMGEiLCJ1c2VybmFtZSI6IjE4ODI2NTg5OTk2In0.-C1mD5pgYcxnsolbXJ1-b2ha4k4KE0wx3kLQP748aCI&source=android&version=1.0.0.0
3、我的地址:https://aiot-shop-mobile.frontend.test.glsx.com.cn/aiot-shop-mobile/address?token=XXXXX
商城后台 微信支付 配置信息
wechat_appId_13=wx1f639960d20fae11
wechat_mch_id_13=1244414702
wechat_partner_key_13=11e91f97297br0f30158a3fdab8a741h
//车家互联 APP 微信开放平台ID信息
public static String weixinAppID = "wx1f639960d20fae11";
public static String weixinAppKey = "83779aaf3f52cadd7cc96c313cfec6d4";
4、IOT开放平台登录接口
获取涂鸦账号登录接口:https://aiot-shop-mobile.frontend.test.glsx.com.cn/shop-app/appUser/loginOrRegister
参数:{"contactNumber": "19925266202","customerId": "1608223730293","channel": "glsx","nickname": "","wechatId": "","appAccountId": "91711961","province": 0,"city": 0}
"contactNumber": "用户手机号--必传","customerId": "客户标识--必传","channel": "涂鸦渠道号,测试环境-glsx,必传","nickname": "用户昵称","wechatId": "用户微信号","appAccountId": "嘀嘀虎用户id","province": 用户信息省份-int,"city": 用户信息城市-int
5、广告信息接口,启动广告、车和家顶部banner接口:https://aiot-shop-mobile.frontend.test.glsx.com.cn/shop-app/banner/getAll
6、商城协议、H5调起app登录:jumpNativeApp({\"type\":\"0\",\"callBack\":\"callBack\"})
参数为json string,必须包含type,type指定功能,具有唯一性
2、app登录成功后,回调方法callBack("token")
7
mWebView.loadUrl("javascript:payToJump(" + success + ")");
mWebView.loadUrl("javascript:loginSuccess(eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MTE5MTM0NDMsInVzZXJJZCI6MTAwMDAwMTUsInV1aWQiOiJhOTk4ZDM0Mi02ZWNkLTRjNmUtODFlNC04N2FlOGQ0N2RmN2IiLCJ1c2VybmFtZSI6IjE4ODI2NTg5OTk2In0.NKtbBfWCMPGuggNFugW51hp1jiDzkqCAKo0NDLVZIjk)");
8、涂鸦相关
①.正式环境Android密钥
车家互联 AppKey:3rsqh9fjf98sm9ktn73x AppSecret:ueuysjf4sgywxu8x7ehnesp3u5kfgrcd
AI小精灵 AppKey:vu7g7tnretgnh5wtgkfc AppSecret:pfpfhjyfn8mpjjf8kys3tpe77y4gr3cm
对应的安全图片需要更新 位置:/assets/t_s.bmp
②.涂鸦资源文件一般以"ty"开头,请勿操作。移除后虽然不影响打包,但涂鸦智能设备UI界面会出问题