订单接口
最后更新于
最后更新于
POST /api/open/isp_ip_open HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 86
{
"region": "hk",
"duration": "weekly",
"num": "1",
"remark": "测试",
"pool_tag": "渠道一"
}{
"ret": 0,
"code": "1",
"msg": "添加成功!",
"ret_data": {
"order_id": "2309200344533229"
},
"timestamp": 1695195894
}POST /api/open/isp_order_list HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 103
{
"order_id": "",
"start_time": "2022-5-1",
"end_time": "2022-5-31",
"pay_status": "1",
"page": "1",
"limit": "15"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"total": 0,
"per_page": "15",
"current_page": 1,
"last_page": 0,
"data": []
},
"timestamp": 1653375560
}POST /api/open/datacenter_order_list HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 103
{
"order_id": "",
"start_time": "2022-5-1",
"end_time": "2022-5-31",
"pay_status": "1",
"page": "1",
"limit": "15"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"total": 0,
"per_page": "15",
"current_page": 1,
"last_page": 0,
"data": []
},
"timestamp": 1653375374
}POST /api/open/static_ip_renew HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 81
{
"renew_ip_list": "156.237.6.97,156.237.6.98",
"duration": "week",
"remark": "测试"
}{
"ret": 0,
"code": "1",
"msg": "添加成功!",
"ret_data": {
"order_id": "2309200344533229"
},
"timestamp": 1695195894
}POST /api/open/flow_order_list HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 103
{
"order_id": "",
"start_time": "2022-5-1",
"end_time": "2022-5-31",
"pay_status": "1",
"page": "1",
"limit": "15"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"total": 2,
"per_page": "15",
"current_page": 1,
"last_page": 1,
"data": [
{
"recharge_id": 4055,
"recharge_type": 1,
"uid": 3716, // 用户id
"order_id": "2205211052185894", // 订单ID
"money": "0.01", // 金额
"client_type": 0,
"pay_type": "13", // 支付类型
"pay_status": 1, // 支付状态,0:未支付,1已支付
"description": "全球HTTP-ipidea_wwwww-30000M流量-0.01元", // 描述
"exec_data": "{\"TYPE\":\"CHARGE\",\"EXEC_DATA\":{\"VALUE\":0.01},\"MD5\":\"029b4c75432e13c3849d4840fad46ebd\"}",
"created_at": "1653101538", // 创建时间
"updated_at": "1653102165", // 更新时间
"close_time": "1653103338", // 关闭时间
"pay_time": 1653102165, // 支付时间
"back_coin": 0,
"coin": 30000, // 流量(M)
"back_expire_time": 0,
"mark": null, // 备注
"creat_admin_id": null,
"check_status": "0",
"check_admin_id": null,
"old_balance": 1950000000, // 旧余额(B)
"new_balance": 31950000000, // 当前余额(B)
"sign_id": 0,
"sign_time": null,
"status": 1,
"creat_admin": "",
"check_admin": null,
"have_in_account": 0,
"pay_account": "",
"pay_sn": "6L699932KB115191F",
"give_orderid": null,
"worn": "0",
"houzhui": null,
"isnewyear": 0,
"apply_user": null,
"oa_order_no": null,
"sign_user": null,
"is_give": 1,
"six_id": null,
"package_type": 2,
"first_order": 1,
"origin": "",
"order_type": 2,
"sub_expire_time": 1655694166, // 过期时间
"sub_finish": 1,
"new_all_flow": 32050000000,
"last_flow": 0,
"order_type2": 1,
"buyer_type": 1,
"old_all_buy": 2050000000,
"new_all_buy": 32050000000,
"package_id": 568,
"coupon_id": 0,
"coupon_money": "0",
"pool_type": 0
}
]
},
"timestamp": 1653375000
}POST /api/open/static_ip_open HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 84
{
"region": "hk",
"duration": "week",
"num": "1",
"remark": "测试",
"pool_tag": "渠道一"
}{
"ret": 0,
"code": "1",
"msg": "添加成功!",
"ret_data": {
"order_id": "2309200344533229"
},
"timestamp": 1695195894
}POST /api/open/isp_ip_renew HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 83
{
"renew_ip_list": "156.237.6.97,156.237.6.98",
"duration": "weekly",
"remark": "测试"
}{
"ret": 0,
"code": "1",
"msg": "添加成功!",
"ret_data": {
"order_id": "2309200344533229"
},
"timestamp": 1695195894
}POST /api/open/mobile_flow_order_list HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 103
{
"order_id": "",
"start_time": "2022-5-1",
"end_time": "2022-5-31",
"pay_status": "1",
"page": "1",
"limit": "15"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"total": 2,
"per_page": "15",
"current_page": 1,
"last_page": 1,
"data": [
{
"recharge_id": 4055,
"recharge_type": 1,
"uid": 3716, // 用户id
"order_id": "2205211052185894", // 订单ID
"money": "0.01", // 金额
"client_type": 0,
"pay_type": "13", // 支付类型
"pay_status": 1, // 支付状态,0:未支付,1已支付
"description": "全球HTTP-ipidea_wwwww-30000M流量-0.01元", // 描述
"exec_data": "{\"TYPE\":\"CHARGE\",\"EXEC_DATA\":{\"VALUE\":0.01},\"MD5\":\"029b4c75432e13c3849d4840fad46ebd\"}",
"created_at": "1653101538", // 创建时间
"updated_at": "1653102165", // 更新时间
"close_time": "1653103338", // 关闭时间
"pay_time": 1653102165, // 支付时间
"back_coin": 0,
"coin": 30000, // 流量(M)
"back_expire_time": 0,
"mark": null, // 备注
"creat_admin_id": null,
"check_status": "0",
"check_admin_id": null,
"old_balance": 1950000000, // 旧余额(B)
"new_balance": 31950000000, // 当前余额(B)
"sign_id": 0,
"sign_time": null,
"status": 1,
"creat_admin": "",
"check_admin": null,
"have_in_account": 0,
"pay_account": "",
"pay_sn": "6L699932KB115191F",
"give_orderid": null,
"worn": "0",
"houzhui": null,
"isnewyear": 0,
"apply_user": null,
"oa_order_no": null,
"sign_user": null,
"is_give": 1,
"six_id": null,
"package_type": 2,
"first_order": 1,
"origin": "",
"order_type": 2,
"sub_expire_time": 1655694166, // 过期时间
"sub_finish": 1,
"new_all_flow": 32050000000,
"last_flow": 0,
"order_type2": 1,
"buyer_type": 1,
"old_all_buy": 2050000000,
"new_all_buy": 32050000000,
"package_id": 568,
"coupon_id": 0,
"coupon_money": "0",
"pool_type": 0
}
]
},
"timestamp": 1653375000
}