请求方式:GET
请求地址:http://{{ssc-demo}}/user/get
Query参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
id | string | 是 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": {
"id": 25,
"create_time": "2018-07-31T08:22:32",
"update_time": "2019-10-12T22:46:51",
"user_id": null,
"role": "b2b_卖家",
"cellphone": "18523146316",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": "0123",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常"
}
}
请求方式:GET
请求地址:http://{{ssc-demo}}/user/page
Query参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
page | string | 是 | 1 | |
limit | string | 是 | 10 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": [
{
"id": 95,
"create_time": "2019-07-02T10:12:31",
"update_time": "2019-07-22T16:05:40",
"user_id": null,
"role": "b2c_买家",
"cellphone": "15123555303",
"password": null,
"nickname": "某某",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常"
}
],
"count": 43
}
请求方式:GET
请求地址:http://{{ssc-demo}}/user/listAll
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": [
{
"id": 10,
"create_time": "2018-08-07T02:30:48",
"update_time": "2019-07-16T16:50:22",
"user_id": null,
"role": "b2b_买家",
"cellphone": "18523146310",
"wx_unionid": null,
"qq_openid": null,
"email": null,
"nickname": "张三丰",
"head_img": "ss.png",
"sex": "男",
"birthday": null,
"age": null,
"user_status": "正常",
"register_source": null
}
]
}
请求方式:POST
请求地址:http://{{ssc-demo}}/user/insert
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
cellphone | string | 是 | 18523146311 | |
password | string | 是 | 123456 | |
nickname | string | 否 | ylyue | |
string | 否 | yl-yue@qq.com | ||
head_img | string | 否 | https://gitee.com/yl-yue/yue-library/raw/master/docs/_images/logo.png | |
sex | string | 否 | 男 | |
birthday | string | 否 | 1996-05-15 |
请求方式:GET
请求地址:http://{{ssc-demo}}/userJson/page
Query参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
page | string | 是 | 1 | |
limit | string | 是 | 10 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": [
{
"id": 95,
"role": "b2c_买家",
"cellphone": "15123555303",
"password": null,
"nickname": "某某",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2019-07-02T18:12:31.000 0800",
"update_time": "2019-07-23T00:05:40.000 0800"
},
{
"id": 134,
"role": "b2b_买家",
"cellphone": "15723156255",
"password": "v0/S0Hi4OZFgycPaQ0JFPg==",
"nickname": "abcd",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2019-07-04T18:06:46.000 0800",
"update_time": "2019-07-05T22:27:00.000 0800"
},
{
"id": 181,
"role": "b2b_买家",
"cellphone": "18024649918",
"password": "uyJPQmQgEaVE99McVoV2zg==",
"nickname": null,
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2019-07-27T01:05:00.000 0800",
"update_time": "2019-07-27T01:05:00.000 0800"
},
{
"id": 10,
"role": "b2b_买家",
"cellphone": "18523146310",
"password": "uyJPQmQgEaVE99McVoV2zg==",
"nickname": "张三丰",
"email": null,
"head_img": "ss.png",
"sex": "男",
"birthday": null,
"user_status": "正常",
"create_time": "2018-08-07T10:30:48.000 0800",
"update_time": "2019-07-17T00:50:22.000 0800"
},
{
"id": 18,
"role": "b2b_卖家",
"cellphone": "18523146311",
"password": "8uXhwp4c3mYwizx/FKfY6wQRltvBd6Oc0qZvYZa nfQ=",
"nickname": "测试",
"email": null,
"head_img": "http://www.baidu.com",
"sex": "男",
"birthday": null,
"user_status": "正常",
"create_time": "2018-07-18T17:10:46.000 0800",
"update_time": "2019-07-01T18:11:25.000 0800"
},
{
"id": 182,
"role": "b2c_买家",
"cellphone": "18523146311",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": null,
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2019-10-13T07:45:31.000 0800",
"update_time": "2019-10-13T07:45:31.000 0800"
},
{
"id": 20,
"role": "b2b_买家",
"cellphone": "18523146312",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": "宋丹丹",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2018-07-24T11:48:50.000 0800",
"update_time": "2019-10-13T06:46:51.000 0800"
},
{
"id": 184,
"role": "b2c_买家",
"cellphone": "18523146312",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": "ylyue",
"email": "yl-yue@qq.com",
"head_img": "https://gitee.com/yl-yue/yue-library/raw/master/docs/_images/logo.png",
"sex": "男",
"birthday": "1996-05-15",
"user_status": "正常",
"create_time": "2019-10-13T07:49:02.000 0800",
"update_time": "2019-10-13T07:49:02.000 0800"
},
{
"id": 21,
"role": "b2b_买家",
"cellphone": "18523146313",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": "张双双",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2018-07-26T15:25:56.000 0800",
"update_time": "2019-10-13T06:46:51.000 0800"
},
{
"id": 23,
"role": "b2c_买家",
"cellphone": "18523146314",
"password": "2eZzUNIsix73h9MmhbmVow==",
"nickname": "白俊毅",
"email": null,
"head_img": null,
"sex": null,
"birthday": null,
"user_status": "正常",
"create_time": "2018-07-31T00:17:45.000 0800",
"update_time": "2019-10-13T06:46:51.000 0800"
}
],
"count": 42
}
请求方式:POST
请求地址:http://{{ssc-demo}}/userJson/insert
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
cellphone | string | 是 | 18523146311 | |
password | string | 是 | 123456 | |
nickname | string | 否 | ylyue | |
string | 否 | yl-yue@qq.com | ||
head_img | string | 否 | https://gitee.com/yl-yue/yue-library/raw/master/docs/_images/logo.png | |
sex | string | 否 | 男 | |
birthday | string | 否 | 1996-05-15 |
请求方式:POST
请求地址:http://{{ssc-demo}}/open/login
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
cellphone | string | 是 | 18523146316 | |
password | string | 是 | 123456 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": {
"id": 25,
"create_time": "2018-07-31T08:22:32",
"update_time": "2019-10-12T22:46:51",
"user_id": null,
"role": "b2b_卖家",
"cellphone": "18523146316",
"wx_unionid": null,
"qq_openid": null,
"email": null,
"nickname": "0123",
"head_img": null,
"sex": null,
"birthday": null,
"age": null,
"user_status": "正常",
"register_source": null
}
}
请求方式:POST
请求地址:http://{{ssc-demo}}/open/register
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
cellphone | string | 是 | 18523146311 | |
password | string | 是 | 123456 | |
nickname | string | 否 | ylyue | |
string | 否 | yl-yue@qq.com | ||
head_img | string | 否 | https://gitee.com/yl-yue/yue-library/raw/master/docs/_images/logo.png | |
sex | string | 否 | 男 | |
birthday | string | 否 | 1996-05-15 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": 182
}
请求方式:POST
请求地址:http://{{yue-library-template}}/exception/exception
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
name | string | 是 | ||
birthday | string | 是 | ||
idcard | string | 是 | ||
age | string | 是 | ||
string | 是 | |||
phone | string | 是 | ||
string | 是 |
请求方式:POST
请求地址:http://{{yue-library-template}}/restful/valid
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
name | string | 是 | ||
birthday | string | 是 | ||
idcard | string | 是 | ||
age | string | 是 | ||
string | 是 | |||
cellphone | string | 是 | ||
string | 是 |
请求方式:POST
请求地址:http://{{yue-library-template}}/requestParam
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
a | string | 是 | ||
b | string | 是 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": {
"a": "aa",
"b": "bb"
}
}
请求方式:POST
请求地址:http://{{yue-library-template}}/validation/valid
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
name | string | 是 | ||
birthday | string | 是 | ||
idcard | string | 是 | ||
age | string | 是 | ||
string | 是 | |||
phone | string | 是 | ||
string | 是 |
请求方式:POST
请求地址:http://{{yue-library-template}}/validation/validatorValid
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
name | string | 是 | ||
birthday | string | 是 | ||
idcard | string | 是 | ||
age | string | 是 | ||
string | 是 | |||
phone | string | 是 | ||
string | 是 |
请求方式:POST
请求地址:http://{{yue-library-template}}/validation/validatorParam
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
name | string | 是 | ||
birthday | string | 是 | ||
idcard | string | 是 | ||
age | string | 是 | ||
string | 是 | |||
phone | string | 是 | ||
string | 是 |
请求方式:PUT
请求地址:http://{{yue-open-devops-deploy}}/devops/redeploy
Body参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
workloadApiUrl | string | 是 | https://10.100.3.153/v3/project/c-prnj6:p-8974z/workloads/deployment:b2b:b2b-admin | |
envEnum | string | 是 |
返回示例:
{
"code": 200,
"msg": "成功",
"flag": true,
"data": "【钉钉】通知结果:{\"errcode\":0,\"success\":true,\"errmsg\":\"ok\"}"
}
请求方式:POST
请求地址:http://data.zz.baidu.com/urls
Query参数名 | 类型 | 必需 | 描述 | 示例 e.g. |
---|---|---|---|---|
site | string | 是 | ||
token | string | 是 |
变量名 | 变量值 |
---|---|
yue-library-template | localhost:8080 |
yue-open-devops-deploy | localhost:8080 |
yue-library-template-simple | localhost:8080 |
变量名 | 变量值 |
---|---|
yue-open-devops-deploy | 10.100.3.163:9999 |