@qning #93 https://github.com/wang4386/CDT-Monitor/blob/f624abfaa1e7b0c69f6e5e33359fe209e792da97/AliyunService.php#L289 这行代码有问题,写死了杭州区域了,没有引用变量
@qning #104 另外看了一下阿里云控制台报错,似乎费用中心api域名要与目标区域相对应 "errorMessage":string"You are not authorized to call the API operation. Please check whether the caller site matches the API domain regionId."
经过测试国际站账号改成这个endpoint就可以获取数据了 business.ap-southeast-1.aliyuncs.com 来源文档在这里 https://next.api.alibabacloud.com/product/BssOpenApi
用Gemini搓了一个ios的小组件,修改api_url贴到Scriptable就可以用啦,不得不说ai真牛逼,丢了张图过去就弄出来了 另外我就一台ecs没有做多台设备的适配,有需要的话再让ai改吧 https://gist.github.com/codexss/e8328f58982c029742d00da8d99cd436
@qning #100 我云盘开了5g的 不知道要付几块
@qning #100 看我的帖子,国际版上个月0.45刀,直接抹零了一分不花,四舍五入等于白嫖
@qning #93
https://github.com/wang4386/CDT-Monitor/blob/f624abfaa1e7b0c69f6e5e33359fe209e792da97/AliyunService.php#L289
这行代码有问题,写死了杭州区域了,没有引用变量
@lentin #103 收到,等我有空就改一下,可能这个就是一些人无法成功获取账单数据的原因,因为我部署系统的服务器靠近杭州,我是正常获取账单的
@qning #104
另外看了一下阿里云控制台报错,似乎费用中心api域名要与目标区域相对应
"errorMessage":string"You are not authorized to call the API operation. Please check whether the caller site matches the API domain regionId."
经过测试国际站账号改成这个endpoint就可以获取数据了
business.ap-southeast-1.aliyuncs.com
来源文档在这里 https://next.api.alibabacloud.com/product/BssOpenApi
@lentin #106 我已经修了,action在构建镜像,国内区域走hangzhou,国外走你说的ap
@qning #107
测试了 没问题了
@lentin #108 还有个小问题在着手修,国际站用户获取到的是美元单位,但是前端写死了人民币符号
用Gemini搓了一个ios的小组件,修改api_url贴到Scriptable就可以用啦,不得不说ai真牛逼,丢了张图过去就弄出来了


另外我就一台ecs没有做多台设备的适配,有需要的话再让ai改吧
https://gist.github.com/codexss/e8328f58982c029742d00da8d99cd436