runapi默认项目

系统生成的默认项目


下单

{"info":{"from":"runapi","type":"api","title":"","description":"http://hf2.xn359.com/app/dc/api/order?appid=153086959900000001&product=CM&face=50&timestamp=1530885601&order_id=18869323264606&account=13800138000&sign=be4058231e7f9de906871d2ac862bc2a","method":"get","url":"http://hf2.xn359.com/app/dc/api/order","remark":"sign参数为md5(account=13800138000&appid=153086959900000001&appkey=fc3d8428d23ba00b7528dae66d4d1a50&face=50&order_id=18869323264606&product=CM&timestamp=1530885861)\n具体参数跟请求内的参数相对应\n"},"request":{"params":{"mode":"urlencoded","urlencoded":[{"name":"appid","type":"string","value":"153086959900000001","require":"1","remark":"appid"},{"name":"product","type":"string","value":"AL","require":"1","remark":"不填则自动识别 直充:ZC 10086移动代充:CM 电信代充:DX 联通代充:LT 移动卡密:APCM (注意:卡密类型订单查单接口与代充直充类不同)","disable":"0"},{"name":"face","type":"string","value":"50","require":"1","remark":"面值金额(单位元)","disable":"0"},{"name":"timestamp","type":"string","value":"1530885601","require":"1","remark":"Unix时间戳,时区为 GMT+8 允许与服务器最大误差30秒","disable":"0"},{"name":"order_id","type":"string","value":"18869323264606","require":"1","remark":"订单号,自己生成用于识别。","disable":"0"},{"name":"account","type":"string","value":"13800138000","require":"1","remark":"要充值的手机号","disable":"0"},{"name":"sign","type":"string","value":"be4058231e7f9de906871d2ac862bc2a","require":"1","remark":"所有请求参数签名,详见签名算法","disable":"0"}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"","jsonDesc":[{"name":"","type":"string","value":"","require":"1","remark":""}]},"headers":[{"name":"","type":"string","value":"","require":"1","remark":""}],"cookies":[{"name":"","value":""}],"auth":[]},"response":{"responseText":"{\n \"code\": -101,\n \"msg\": \"订单号重复,请验证后再试!\"\n}","responseOriginal":{"code":-101,"msg":"订单号重复,请验证后再试!"},"responseExample":"","responseHeader":{"connection":"keep-alive","content-encoding":"gzip","content-type":"text/html; charset=utf-8","cookie-from-server":"","date":"Fri, 19 Nov 2021 09:25:57 GMT","server":"nginx","transfer-encoding":"chunked","vary":"Accept-Encoding"},"responseStatus":200,"responseParamsDesc":[{"name":"code","type":"int","remark":"-101:失败 0:成功"},{"name":"msg","type":"string","remark":"返回文字说明"},{"name":"data","type":"object","remark":"成功时,返回{oid: xxx,status:1},代表平台订单号,请注意保存,作为查单依据 status = 1 : 下单成功 status = 0 : 不确定下单是否成功,需要走查询接口"}],"remark":"sign参数为md5(account=13800138000&appid=153086959900000001&appkey=fc3d8428d23ba00b7528dae66d4d1a50&face=50&order_id=18869323264606&product=CM&timestamp=1530885861)\n具体参数跟请求内的参数相对应\n"},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML