本帖最后由 fs6738 于 2022-1-24 14:09 编辑
用大佬分享的,提示错误。
https://github.com/BlueSkyXN/TencentCloud-Order
- {
- "raw_goodsData": [
- {
- "goodsCategoryId": 101594,
- "goodsNum": 1,
- "payMode": 1,
- "regionId": 9,
- "goodsDetail": {
- "productCode": "p_lighthouse",
- "subProductCode": "sp_lighthouse_bundle_linux_sml1_1t",
- "pid": 1002660,
- "sv_lighthouse_compute_linux_sml1_1t": 1,
- "sv_lighthouse_rootdisk_cbsssd_linux_sml1_1t": 1,
- "sv_lighthouse_trafficpkg_linux_sml1_1t": 1,
- "productInfo": [
- {
- "name": "运算组件",
- "value": "1核CPU、1GB内存 (Linux/Unix SMALL1 | 1T)"
- },
- {
- "name": "云SSD系统盘",
- "value": "25GB SSD (Linux/Unix SMALL1 | 1T)"
- },
- {
- "name": "流量包",
- "value": "1024GB (Linux/Unix SMALL1 | 1T)"
- },
- {
- "name": "地域",
- "value": "新加坡"
- }
- ],
- "resourceId": "【lhins-xxxxxx这种格式的,是你的实例名,请修改,新购请移除此行】",
- "autoRenewFlag": 0,
- "timeUnit": "d",
- "timeSpan": 140
- }
- }
- ]
- }
复制代码
先购买实例,销毁退款后, 再使用上面的脚本按天续费原来销毁的那个实例
|