| xqd
@@ -403,6 +403,107 @@ define({ "api": [
|
|
|
"groupTitle": "Login",
|
|
|
"name": "PostApiLogin"
|
|
|
},
|
|
|
+ {
|
|
|
+ "type": "post",
|
|
|
+ "url": "/api/pay/cash",
|
|
|
+ "title": "提现(cash)",
|
|
|
+ "description": "<p>提现(cash)cash</p>",
|
|
|
+ "group": "Pay",
|
|
|
+ "permission": [
|
|
|
+ {
|
|
|
+ "name": "none"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "version": "0.1.0",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "decimal",
|
|
|
+ "optional": false,
|
|
|
+ "field": "price",
|
|
|
+ "description": "<p>金额</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "string",
|
|
|
+ "optional": false,
|
|
|
+ "field": "name",
|
|
|
+ "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 \"msg\": \"已成功发起提现,请等待后台审核\"\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}",
|
|
|
+ "type": "json"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "filename": "app/Http/Controllers/Api/V1/PayController.php",
|
|
|
+ "groupTitle": "Pay",
|
|
|
+ "name": "PostApiPayCash"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "post",
|
|
|
+ "url": "/api/pay/recharge",
|
|
|
+ "title": "充值(recharge)",
|
|
|
+ "description": "<p>充值(recharge)recharge</p>",
|
|
|
+ "group": "Pay",
|
|
|
+ "permission": [
|
|
|
+ {
|
|
|
+ "name": "none"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "version": "0.1.0",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "decimal",
|
|
|
+ "optional": false,
|
|
|
+ "field": "price",
|
|
|
+ "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 \"json\": \"{\\\"appId\\\":\\\"wx92066f7587c34617\\\",\\\"timeStamp\\\":\\\"1532584373\\\",\\\"nonceStr\\\":\\\"5b5961b537a27\\\",\\\"package\\\":\\\"prepay_id=wx2613525320101170a0f42d941994171920\\\",\\\"signType\\\":\\\"MD5\\\",\\\"paySign\\\":\\\"B4E50A4610F3AC4AE2E12EF2A45D8109\\\"}\"\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}",
|
|
|
+ "type": "json"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "filename": "app/Http/Controllers/Api/V1/PayController.php",
|
|
|
+ "groupTitle": "Pay",
|
|
|
+ "name": "PostApiPayRecharge"
|
|
|
+ },
|
|
|
{
|
|
|
"type": "get",
|
|
|
"url": "/api/user/complete_message",
|