2021.6中旬本教程失效,以下均作为备份!
腾讯云产品-自定义参数购买一键单页,免额外抓包,直接输入参数提交自动跳转对应订单页面
基于轻量服务器续费做演示 新购参数经过测试发现逻辑不一样,改不了
网址
记得先登陆好腾讯云:https://console.cloud.tencent.com
WARNING
仅供研究学习HTML基本语法和HTTP-POST的使用,请勿用于非法用途或对腾讯云等公司造成损失
如果您打开了相关页面,则默认您仅学习HTML基本语法和HTTP-POST的使用,且所造成的后果由您自负,与本开发者无关
同时,无论何种目的,请在12小时内停止浏览/使用/保存相关内容
参数参考
自己修改实例名,购买时长等,下方参数自己参考
如果你有兴趣抓包的,可以抓一下丢issues
{
"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": 12
}
}
]
}
参数说明
regionId
0: {regionId: 1, region: "ap-guangzhou", regionName: "广州", area: "华南地区", regionShortName: "gz"}
1: {regionId: 4, region: "ap-shanghai", regionName: "上海", area: "华东地区", regionShortName: "sh"}
2: {regionId: 33, region: "ap-nanjing", regionName: "南京", area: "华东地区", regionShortName: "nj"}
3: {regionId: 8, region: "ap-beijing", regionName: "北京", area: "华北地区", regionShortName: "bj"}
4: {regionId: 16, region: "ap-chengdu", regionName: "成都", area: "西南地区", regionShortName: "cd"}
5: {regionId: 19, region: "ap-chongqing", regionName: "重庆", area: "西南地区", regionShortName: "cq"}
6: {regionId: 5, region: "ap-hongkong", regionName: "中国香港", area: "港澳台地区", regionShortName: "hk"}
7: {regionId: 9, region: "ap-singapore", regionName: "新加坡", area: "亚太东南", regionShortName: "sg"}
8: {regionId: 23, region: "ap-bangkok", regionName: "曼谷", area: "亚太东南", regionShortName: "th"}
9: {regionId: 21, region: "ap-mumbai", regionName: "孟买", area: "亚太南部", regionShortName: "in"}
10: {regionId: 18, region: "ap-seoul", regionName: "首尔", area: "亚太东北", regionShortName: "kr"}
11: {regionId: 25, region: "ap-tokyo", regionName: "东京", area: "亚太东北", regionShortName: "jp"}
12: {regionId: 15, region: "na-siliconvalley", regionName: "硅谷", area: "美国西部", regionShortName: "usw"}
13: {regionId: 22, region: "na-ashburn", regionName: "弗吉尼亚", area: "美国东部", regionShortName: "use"}
14: {regionId: 6, region: "na-toronto", regionName: "多伦多", area: "北美地区", regionShortName: "ca"}
15: {regionId: 17, region: "eu-frankfurt", regionName: "法兰克福", area: "欧洲地区", regionShortName: "de"}
16: {regionId: 24, region: "eu-moscow", regionName: "莫斯科", area: "欧洲地区", regionShortName: "ru"}
pid
产品类型,和地域无关,同价同配就一样
境外轻量24都是“1002660”,其他产品(如境外轻量34,境内轻量就别问我了,我不知道,自己抓包)
resourceId
实例名,lhins-xxxxxx这种格式的
无论留空还是删除这一条,都能跳转出订单,但是继续付款会出现参数错误,估计是新购的逻辑和续费不大一样
timeSpan
时间数量 正整数 【最低应该是1】
timeUnit
时间单位 d/m等 【最低应该是天(d)】
Productinfo
在你的订单付款前的确认页,有产品信息,请复制输入
【实测无影响】