|
@@ -509,7 +509,7 @@ define({ "api": [
|
|
"examples": [
|
|
"examples": [
|
|
{
|
|
{
|
|
"title": "Success-Response:",
|
|
"title": "Success-Response:",
|
|
- "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"comment\":\n \"phone\":\n \"tips\":\n ]\n}",
|
|
|
|
|
|
+ "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"comment\":\n \"address\":\n \"phone\":\n \"tips\":\n ]\n}",
|
|
"type": "json"
|
|
"type": "json"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -840,7 +840,7 @@ define({ "api": [
|
|
"examples": [
|
|
"examples": [
|
|
{
|
|
{
|
|
"title": "Success-Response:",
|
|
"title": "Success-Response:",
|
|
- "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n \"user\": {\n \"username\":\"王小贱\",\n \"avatar\":\"awdawdawdawdawdawd\",头像\n \"phone\":\"1123123123123\"\n \"wechat_open_id\":\"1123123123123\"\n }\n \"count\":6,\n \"action\":[\n \"type1\":1,\n \"type2\":1,\n \"type3\":1,\n \"type4\":1,\n \"type5\":1,\n \"type6\":1,\n \"type7\":1,\n ]\n ]\n}",
|
|
|
|
|
|
+ "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n \"user\": {\n \"username\":\"王小贱\",\n \"avatar\":\"awdawdawdawdawdawd\",头像\n \"phone\":\"1123123123123\"\n \"open_id\":\"1123123123123\"\n }\n \"count\":6,\n \"action\":[\n \"type1\":1,\n \"type2\":1,\n \"type3\":1,\n \"type4\":1,\n \"type5\":1,\n \"type6\":1,\n \"type7\":1,\n ]\n ]\n}",
|
|
"type": "json"
|
|
"type": "json"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
@@ -1034,67 +1034,6 @@ define({ "api": [
|
|
"groupTitle": "Album",
|
|
"groupTitle": "Album",
|
|
"name": "PostApiAlbumGet_data_goods"
|
|
"name": "PostApiAlbumGet_data_goods"
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "type": "post",
|
|
|
|
- "url": "/api/album/login",
|
|
|
|
- "title": "登陆(login)",
|
|
|
|
- "description": "<p>登陆(login)</p>",
|
|
|
|
- "group": "Album",
|
|
|
|
- "permission": [
|
|
|
|
- {
|
|
|
|
- "name": "none"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "version": "0.1.0",
|
|
|
|
- "parameter": {
|
|
|
|
- "fields": {
|
|
|
|
- "Parameter": [
|
|
|
|
- {
|
|
|
|
- "group": "Parameter",
|
|
|
|
- "type": "string",
|
|
|
|
- "optional": false,
|
|
|
|
- "field": "code",
|
|
|
|
- "description": "<p>小程序登录生成的code</p>"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "group": "Parameter",
|
|
|
|
- "type": "string",
|
|
|
|
- "optional": false,
|
|
|
|
- "field": "nickName",
|
|
|
|
- "description": "<p>微信昵称</p>"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "group": "Parameter",
|
|
|
|
- "type": "string",
|
|
|
|
- "optional": false,
|
|
|
|
- "field": "avatar",
|
|
|
|
- "description": "<p>微信头像</p>"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "success": {
|
|
|
|
- "examples": [
|
|
|
|
- {
|
|
|
|
- "title": "Success-Response:",
|
|
|
|
- "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": {\n\n }\n}",
|
|
|
|
- "type": "json"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "error": {
|
|
|
|
- "examples": [
|
|
|
|
- {
|
|
|
|
- "title": "Error-Response:",
|
|
|
|
- "content": "HTTP/1.1 400 Bad Request\n{\n \"state\": false,\n \"code\": 1000,\n \"message\": \"传入参数不正确\",\n \"data\": null or []\n}\n可能出现的错误代码:\n 1000 CLIENT_WRONG_PARAMS 传入参数不正确",
|
|
|
|
- "type": "json"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "filename": "app/Http/Controllers/Api/V1/AlbumController.php",
|
|
|
|
- "groupTitle": "Album",
|
|
|
|
- "name": "PostApiAlbumLogin"
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
"type": "post",
|
|
"type": "post",
|
|
"url": "/api/album/set-customer",
|
|
"url": "/api/album/set-customer",
|
|
@@ -1138,6 +1077,13 @@ define({ "api": [
|
|
"field": "comment",
|
|
"field": "comment",
|
|
"description": "<p>备注</p>"
|
|
"description": "<p>备注</p>"
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ "group": "Parameter",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "field": "address",
|
|
|
|
+ "description": "<p>地址</p>"
|
|
|
|
+ },
|
|
{
|
|
{
|
|
"group": "Parameter",
|
|
"group": "Parameter",
|
|
"type": "string",
|
|
"type": "string",
|
|
@@ -1152,7 +1098,7 @@ define({ "api": [
|
|
"examples": [
|
|
"examples": [
|
|
{
|
|
{
|
|
"title": "Success-Response:",
|
|
"title": "Success-Response:",
|
|
- "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"comment\":\n \"phone\":\n \"tips\":\n ]\n}",
|
|
|
|
|
|
+ "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\":[\n \"purpose_level\":\n \"address\":\n \"comment\":\n \"phone\":\n \"tips\":\n ]\n}",
|
|
"type": "json"
|
|
"type": "json"
|
|
}
|
|
}
|
|
]
|
|
]
|