| xqd
@@ -1548,6 +1548,107 @@ define({ "api": [
|
|
|
"groupTitle": "Album",
|
|
|
"name": "PostApiAlbumXyx_login"
|
|
|
},
|
|
|
+ {
|
|
|
+ "type": "post",
|
|
|
+ "url": "/api/album_post/create",
|
|
|
+ "title": "生成海报(create)",
|
|
|
+ "description": "<p>生成海报(create)</p>",
|
|
|
+ "group": "Album_Post",
|
|
|
+ "permission": [
|
|
|
+ {
|
|
|
+ "name": "需要登录"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "version": "0.1.0",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "int",
|
|
|
+ "optional": true,
|
|
|
+ "field": "store_id",
|
|
|
+ "description": "<p>商户id</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "string",
|
|
|
+ "optional": true,
|
|
|
+ "field": "image",
|
|
|
+ "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 'real_url':'asdawd', //海报\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/AlbumPosterController.php",
|
|
|
+ "groupTitle": "Album_Post",
|
|
|
+ "name": "PostApiAlbum_postCreate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "post",
|
|
|
+ "url": "/api/album_post/del",
|
|
|
+ "title": "删除海报(del)",
|
|
|
+ "description": "<p>删除海报(del)</p>",
|
|
|
+ "group": "Album_Post",
|
|
|
+ "permission": [
|
|
|
+ {
|
|
|
+ "name": "需要登录"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "version": "0.1.0",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "string",
|
|
|
+ "optional": true,
|
|
|
+ "field": "url",
|
|
|
+ "description": "<p>图片</p>"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "examples": [
|
|
|
+ {
|
|
|
+ "title": "Success-Response:",
|
|
|
+ "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\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/AlbumPosterController.php",
|
|
|
+ "groupTitle": "Album_Post",
|
|
|
+ "name": "PostApiAlbum_postDel"
|
|
|
+ },
|
|
|
{
|
|
|
"type": "post",
|
|
|
"url": "/api/album_post/info",
|
| xqd
@@ -1577,7 +1678,7 @@ define({ "api": [
|
|
|
"examples": [
|
|
|
{
|
|
|
"title": "Success-Response:",
|
|
|
- "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n 'posters':'asdawd', //海报\n 'words':'asdawd', //话术\n 'introduce':'222', //介绍\n 'share':'xxx' //分享图片\n 'phone':'xxx' //电话\n 'username':'xxx' //姓名\n ]\n}",
|
|
|
+ "content": "HTTP/1.1 200 OK\n{\n \"status\": true,\n \"status_code\": 0,\n \"message\": \"\",\n \"data\": [\n 'posters':'asdawd', //海报\n 'words':'asdawd', //话术\n 'introduce':'222', //介绍\n 'share':'xxx' //分享图片\n 'phone':'xxx' //电话\n 'username':'xxx' //姓名\n 'title':'xxx' //分享标题\n 'qrcode':'xxx' //二维码\n ]\n}",
|
|
|
"type": "json"
|
|
|
}
|
|
|
]
|