暂无描述
开发中
http://localhost:8888/data/user_login
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | star | Text | 是 | 账号 |
| password | 1234567 | Text | 是 | 密码 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/user_reg
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | startrr | Text | 是 | 账号 |
| password | 123456 | Text | 是 | 密码 |
| username | 北北 | Text | 是 | 昵称 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://192.168.1.104:8888/data/get_products
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| username | beibei | Text | 是 | 昵称 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/usereg
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | startrr | Text | 是 | 1111 |
| password | 123456 | Text | 是 | 密码 |
| username | 北北 | Text | 是 | 用户名 |
暂无预执行脚本
暂无后执行脚本
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data/abc
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| title | 野生的309090 | Text | 是 | 商品标题 |
| ptitle | 刚抓的的3050 | Text | 是 | 商品副标题 |
| messges | 哈都工具都挂艾叶高端位于 | Text | 是 | 商品介绍 |
| label | 数码 | Text | 是 | 商品分类 |
| shop_show | 1 | Text | 是 | 商品热度 |
| shop_id | beibei | Text | 是 | 所属店铺 |
| price | 2499 | Text | 是 | 价格 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/get_shopcar
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | startrr | Text | 是 | 账号这个参数必有! |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/shopcar_update
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id |
| goods_id | 754e01d4-eb28-4752-9723-92942eba60ab | Text | 是 | 商品id |
| attribute | 0 | Text | 是 | 参数0/1,减少和增加/当商品减到0时自动删除商品 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/move_shopcar
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id |
| goods_id | 754e01d4-eb28-4752-9723-92942eba60ab | Text | 是 | 商品id |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/data/add_shopcar
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id |
| goods_id | 754e01d4-eb28-4752-9723-92942eba60ab | Text | 是 | 商品id |
| quantity | 1 | Text | 是 | 添加数量 |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
未填写
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| 123 | 123 | Text | 是 | - |
暂无预执行脚本
暂无后执行脚本
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data/Create_order
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id |
| goods_id | 754e01d4-eb28-4752-9723-92942eba60ab | Text | 是 | 商品id |
| shop_id | beibei | Text | 是 | 店铺id,用于双重认证 |
暂无预执行脚本
暂无后执行脚本
开发中
http://localhost:8888/data/Order_inquiry
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id,主要是通过这个参数来找用户的订单 |
暂无预执行脚本
暂无后执行脚本
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data/Delete_order
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id |
| order_id | f6dc9c97-ca8c-4903-aebe-a10b5a4aff14 | Text | 是 | 订单号id配合上面的用户id来双重认证 |
暂无预执行脚本
暂无后执行脚本
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data/Update_order
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrr | Text | 是 | 用户id,这个还是要的 |
| order_id | 134e06e3-ad7b-450c-85ec-d4768580faae | Text | 是 | 订单号id配合上面的用户id来双重认证 |
| id | 5 | Number | 是 | 这个参数必填重点验证0-5 |
暂无预执行脚本
暂无后执行脚本
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data/give_cookie
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrrr | Text | 是 | 用户id,这个还是要的 |
| password | 1234567 | Text | 是 | 密码用于双重验证 |
暂无预执行脚本
暂无后执行脚本
开发中
http://localhost:8888/data/Get_merchants
POST
urlencoded
暂无预执行脚本
暂无后执行脚本
开发中
http://localhost:8888/data/Get_avatar
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | startrr | Text | 是 | - |
| attribute | headico | Text | 是 | - |
暂无预执行脚本
暂无后执行脚本
暂无描述
开发中
http://localhost:8888/update/img
POST
form-data
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| id | fack | Text | 是 | 用户id |
| property | headico | Text | 是 | 上传图片属性 |
| pic | C:\Users\zhang\Desktop\1.jpg | Text | 是 | 上传的图片 |
暂无预执行脚本
暂无后执行脚本
{
"code": 200,
"data": "headico/ab958b90-b710-4fd8-a3c0-2492ec97a3c4.jpg",
"status": 200,
"err_id": "01c91b38-5522-4d2c-941c-92e42e0a8bd9"
}
{
"code": 201,
"data": "geigei你的东西太大了,弄疼我啦!",
"status": 200,
"err_id": "1e47078b-2ab8-4766-8978-f7e9c9efb6c3"
}
javascript
// 封装的时间计算器
// 传参(时间数字,计算单位)
function GetTime(time, unit) {
if (unit == 1) {
var create_time = time * 30 * 1000 * 60;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
} else if (unit == 2) {
var create_time = time * 1000 * 60 * 60 * 24;
var times = Date.parse(new Date());
var array = new Array();
times = parseInt(times);
array.create_time = times;
times += create_time;
array.end_time = times;
return array;
}
}
// 后面是1就是分钟
// 30分钟
console.log(GetTime(30, 1));
// 后面如果为2就是天数
// 1天
console.log(GetTime(1, 2));
// 14天
console.log(GetTime(14, 2));
开发中
http://localhost:8888/data//user_login
POST
urlencoded
| 参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
|---|---|---|---|---|
| user_id | startrrr | Text | 是 | 用户id,这个还是要的 |
| password | 1234567 | Text | 是 | 密码用于双重验证 |
暂无预执行脚本
暂无后执行脚本