uni-app激励广告回调时,使用阿里云服务区需固定出口IP
uni-app激励广告回调时,使用阿里云服务区需固定出口IP
产品分类
uniapp/小程序/微信
PC开发环境
- 操作系统:Windows
- 操作系统版本号:Windows 10 专业版
- 开发工具:HBuilderX
- 开发工具版本号:4.36
- 第三方开发者工具版本号:RC 1.06.2412031
- 基础库版本号:3.6.6
- 项目创建方式:HBuilderX
示例代码
'[uniAdCallback/ac1cc3181734075031530154299/317ms/DEBUG] WeixinServer::response {
data: {
errcode: 40164,
errmsg: "invalid ip 47.92.75.210 ipv6 ::ffff:47.92.75.210, not in whitelist rid: 675be299-0a86a0be-5e1862d2"
},
status: 200,
headers: {
connection: "keep-alive",
date: "Fri, 13 Dec 2024 07:30:33 GMT",
"content-type": "application/json; encoding=utf-8",
retkey: "11",
logicret: "40164",
"content-length": "127"
},
}'
操作步骤
{
"args": {
"content": "Ut1r0SwpM0y/McexcKPqcLdKZ2ROZJEEoL0o84QtDTtDYGNB9Muqg6BSjZA7x4wAj5SDyWOX5xqLTe2PmJfU4nczV21dE/gjNOQdmoP9WG/cWjycu0YO8Vy0unHybMsXAc6PPbueP7O6LAStliQZL5Y39Ydfu26ViEIHkCs3J0zzlmfN6gfMCwfM0IdAxAcSlLod+ikaEIHVknyxWEBcYmrsoZSgh8SBR/1F7fJohAZgrXLR/oZdUMzCSTKCOvsP/YIndiU3lQrffx7Qpkysm0UtcgOx4w11NSIuxRraZxJS0QCIcZL/QO7MS0ABuwPenCL9H2tO/QD2RyovzIwlEJyyGo1yGDODkMrAzo7hzIm0xkyssr7bN1fQwgxErA9mCnDgbOs7+oIovPiWjeIKcoJrajPSJMX4NI+X6exYz14=",
"_uniCloudOptions": {
"secretType": "both",
"encryptKeyId": 13,
"mpWeixinOpenid": "omJzs66MJYg2tikSgWmZi5YZcqAc"
},
"clientInfo": {
"PLATFORM": "mp-weixin",
"OS": "ios",
"APPID": "UNIBD509E7",
"DEVICEID": "17339034238575659912",
"scene": 1001,
"deviceId": "17339034238575659912",
"appId": "UNIBD509E7",
"appName": "扫立富",
"appVersion": "1.0.0",
"appVersionCode": "100",
"appLanguage": "zh-Hans",
"uniCompilerVersion": "4.36",
"uniRuntimeVersion": "4.36",
"uniPlatform": "mp-weixin",
"deviceBrand": "devtools",
"deviceModel": "iPhone 12/13 (Pro)",
"deviceType": "phone",
"osName": "ios",
"osVersion": "10.0.1",
"hostVersion": "8.0.5",
"hostName": "WeChat",
"locale": "zh-Hans",
"LOCALE": "zh-Hans"
}
},
"requestId": "ac1cc3181734075031530154299"
}
预期结果
获取固定ip后激励视频能正常回调
实际结果
无法通过回调
5 回复
云函数中目前没有这个逻辑,可以切换为腾讯云,提供固定ip
但是 更换腾讯云 的 小程序激励广告是无法添加的,而且 空间选择这里无法修改,请问怎么处理呢