请求入参: {
"args": {
"method": "report",
"params": [
{
"usv": "3.5.3",
"t": 1659278570,
"requests": "[{\"ak\":\"UNIA281F0E\",\"uuid\":\"68f20ac3b9bb3d7c\",\"p\":\"a\",\"lt\":\"3\",\"ut\":\"n\",\"urlref\":\"/pages/index/index\",\"urlref_ts\":1,\"ch\":\"common\",\"usv\":\"3.5.3\",\"t\":1659278570,\"ttn\":\"\",\"ttpj\":\"\",\"ttc\":\"\"},{\"ak\":\"UNIA281F0E\",\"uuid\":\"68f20ac3b9bb3d7c\",\"p\":\"a\",\"lt\":\"11\",\"ut\":\"n\",\"url\":\"/pages/my/my\",\"tt\":\"\",\"urlref\":\"/pages/index/index\",\"urlref_ts\":1,\"ch\":\"common\",\"usv\":\"3.5.3\",\"t\":1659278569,\"ttn\":\"\",\"ttpj\":\"\",\"ttc\":\"\"}]"
}
],
"clientInfo": {
"PLATFORM": "app",
"OS": "android",
"APPID": "UNIA281F0E",
"DEVICEID": "68f20ac3b9bb3d7c",
"channel": "common",
"scene": 1001,
"appId": "UNIA281F0E",
"appLanguage": "zh-Hans",
"appName": "newHs",
"appVersion": "1.1.0",
"appVersionCode": 101,
"appWgtVersion": "1.1.2",
"browserName": "chrome",
"browserVersion": "96.0.4664.104",
"deviceBrand": "xiaomi",
"deviceId": "68f20ac3b9bb3d7c",
"deviceModel": "22041211AC",
"deviceOrientation": "portrait",
"devicePixelRatio": 3.5,
"deviceType": "unknown",
"errMsg": "getSystemInfoSync:ok",
"osAndroidAPILevel": 31,
"osLanguage": "zh-CN",
"osName": "android",
"osTheme": "dark",
"osVersion": "12",
"romName": "MIUI",
"romVersion": "V130",
"safeArea": {
"left": 0,
"right": 411,
"top": 30,
"bottom": 914,
"width": 411,
"height": 884
},
"safeAreaInsets": {
"top": 30,
"right": 0,
"bottom": 0,
"left": 0
},
"screenHeight": 914,
"screenWidth": 411,
"statusBarHeight": 30,
"ua": "Mozilla/5.0 (Linux; Android 12; 22041211AC Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.104 Mobile Safari/537.36 uni-app (Immersed/29.714285)",
"uniCompileVersion": "3.5.3",
"uniPlatform": "app",
"uniRuntimeVersion": "3.5.3",
"windowBottom": 0,
"windowHeight": 914,
"windowTop": 0,
"windowWidth": 411,
"locale": "zh-Hans",
"LOCALE": "zh-Hans"
},
"uniIdToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiI2MmU1NzNhOGY2ZDE0MDAwMDE3MmJiNzIiLCJyb2xlIjpbIkFERCIsIlJFRCJdLCJwZXJtaXNzaW9uIjpbIkFERF9PUEVSQVRFIiwiUkVEX09QRVJBVEUiXSwiaWF0IjoxNjU5MjY3ODgxLCJleHAiOjE2NjE4NTk4ODF9.cYZH2XuNzhzxAOlsQqvklBtl4q8tovubvyAlDyEZvPc"
},
"requestId": "ac1418a11659278570840117902"
}
[uni-stat-receiver/ac1418a11659278570840117902/1ms/ERROR] Client platform is app, but app-plus was found in config. Please refer to: https://uniapp.dcloud.net.cn/uniCloud/uni-id?id=prefered-app-platform
Error: Client platform is app, but app-plus was found in config. Please refer to: https://uniapp.dcloud.net.cn/uniCloud/uni-id?id=prefered-app-platform
at get (/tmp/function/@common_modules/uni-id/index.js:1:105736)
at _getConfig (/tmp/function/@common_modules/uni-id/index.js:1:107829)
at checkToken (/tmp/function/@common_modules/uni-id/index.js:1:97845)
at (/tmp/function/@common_modules/uni-id/index.js:1:108803)
at report (/tmp/function/index.obj.js:16:7)
at functionPath (/tmp/function/index.js:1:2483)
at exports.main (/tmp/function/index.js:1:2585)
at u (/tmp/function/index.js:1:3164)
at I (/tmp/function/index.js:1:3762)
at runUserFunction (/code/index.js:118:207833)
请求响应状态: fail
1***@qq.com
- 发布:2022-07-31 22:48
- 更新:2022-08-01 10:06
- 阅读:797
1 个回复
DCloud_云服务_JRP
按照错误提示中的说明配置一下试试 preferedAppPlatform