define({ "api": [ { "type": "GET", "url": "/api/customer/app/version_info", "title": "App-下载信息", "version": "0.1.0", "group": "客户端", "filename": "app/Http/Controllers/Api/Customer/AppController.php", "groupTitle": "客户端", "name": "GetApiCustomerAppVersion_info", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/app/version_info" } ] }, { "type": "GET", "url": "/api/customer/ctzq_bcq/selling", "title": "6场半全场-投注列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"play_types\": [ // 选择时候,需要切换url\n {\n \"name\": \"4场进球\",\n \"play_type\": \"ctzq_jqc\" // 用这个替换,\n \"lottery_type_id\":1, // 彩种类型id\n },\n {\n \"name\": \"6场半全场\",\n \"play_type\": \"ctzq_bqc\"\n \"lottery_type_id\":1, // 彩种类型id\n }\n ],\n \"odds\": [\n {\n \"id\": 1,\n \"ret_id\": 1,\n \"type\": \"ctzq_jqc\",\n \"issue_num\": \"20007\", // 期号\n \"state\": \"selling\", // noSelling: 未开售, selling: 销售中, stopSelling: 停售, hasLottery: 已开奖, delayedLottery: 延迟开奖, cancel: 取消)\n \"start_time\": \"2023-04-26 23:20:10\", // 开售时间\n \"end_time\": \"2023-04-27 23:20:10\", // 停售时间\n \"prize_time\": \"2023-04-27 23:20:10\",\n \"result_info\": \"\",\n \"sales\": \"0.0000\",\n \"jackpot\": \"0.0000\",\n \"first_prize_num\": 0,\n \"first_prize_value\": 0,\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"competition_name\": \"xxxx\", // 赛事\n \"match_time_date\": \"2023-04-26\", // 比赛开始日期\n \"match_time_hour\": \"23:20开赛\", // 比赛开始小时\n \"close_time\": \"2023-04-27 23:00:10\",\n \"matches\": [\n {\n \"id\": 19,\n \"ctzq_bqc_id\": 1,\n \"no\": 0,\n \"match_id\": 10001, // 比赛id\n \"jc_home_team_name\": \"jc_home_team_name+1\", // 主队\n \"jc_home_team_name_full\": \"jc_home_team_name_full+1\",\n \"jc_away_team_name\": \"jc_away_team_name+1\", // 客队\n \"jc_away_team_name_full\": \"jc_away_team_name_full+1\",\n \"is_reverse\": 1,\n \"home_result\": \"1\",\n \"away_result\": \"1\",\n \"created_at\": \"2023-05-03 20:19:42\",\n \"updated_at\": \"2023-05-03 20:19:42\",\n \"deleted_at\": null,\n \"home_odds\": [ // 主队\n \"0\",\n \"1\",\n \"2\",\n \"3+\"\n ],\n \"away_odds\": [ // 客队\n \"0\",\n \"1\",\n \"2\",\n \"3+\"\n ]\n }\n ]\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqBqcController.php", "groupTitle": "客户端", "name": "GetApiCustomerCtzq_bcqSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_bcq/selling" } ] }, { "type": "GET", "url": "/api/customer/ctzq_bqc/cart", "title": "6场半全场-购入车信息/计算金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" }, { "title": "请求示例", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"money\": 4, // 总投注金额\n \"bets_num\": 1, // 投注倍数\n \"zhu_num\": 1, // 投注数\n \"odds\": {\n \"id\": 1,\n \"ret_id\": 1,\n \"type\": \"ctzq_jqc\",\n \"issue_num\": \"20007\",\n \"state\": \"selling\",\n \"start_time\": \"2023-04-26 23:20:10\",\n \"end_time\": \"2023-04-27 23:20:10\",\n \"prize_time\": \"2023-04-27 23:20:10\",\n \"result_info\": \"\",\n \"sales\": \"0.0000\",\n \"jackpot\": \"0.0000\",\n \"first_prize_num\": 0,\n \"first_prize_value\": 0,\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"competition_name\": \"xxxx\",\n \"match_time_date\": \"2023-04-26\",\n \"match_time_hour\": \"23:20开赛\",\n \"close_time\": \"2023-04-27 23:00:10\",\n \"close_time_str\": \"2023-04-27 23:00:10截止,请尽快提交投注\", // 截止时间\n \"matches\": [\n {\n \"id\": 1,\n \"ctzq_bqc_id\": 1,\n \"no\": 1,\n \"match_id\": 2000,\n \"jc_home_team_name\": \"jc_home_team_name+0\", // 主队\n \"jc_home_team_name_full\": \"jc_home_team_name_full+0\",\n \"jc_away_team_name\": \"jc_away_team_name+0\", // 客队\n \"jc_away_team_name_full\": \"jc_away_team_name_full+0\",\n \"is_reverse\": 0,\n \"result\": -1,\n \"created_at\": \"2023-04-26T15:26:31.000000Z\",\n \"updated_at\": \"2023-04-26T15:26:31.000000Z\",\n \"deleted_at\": null,\n \"home_odds_select\": [ // 主队投注分数\n {\n \"score\": \"0\", // 分数\n \"select\": false // 未选择\n },\n {\n \"score\": \"1\",\n \"select\": true // 已选择\n },\n {\n \"score\": \"2\",\n \"select\": true\n },\n {\n \"score\": \"3+\",\n \"select\": false\n }\n ],\n \"away_odds_select\": [ // 客队投注分数\n {\n \"score\": \"0\",\n \"select\": false\n },\n {\n \"score\": \"1\",\n \"select\": true\n },\n {\n \"score\": \"2\",\n \"select\": false\n },\n {\n \"score\": \"3+\",\n \"select\": false\n }\n ]\n },\n ...\n ]\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqBqcController.php", "groupTitle": "客户端", "name": "GetApiCustomerCtzq_bqcCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_bqc/cart" } ] }, { "type": "GET", "url": "/api/customer/ctzq_jqc/selling", "title": "4场进球彩-投注列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"play_types\": [ // 选择时候,需要切换url\n {\n \"name\": \"4场进球\",\n \"play_type\": \"ctzq_jqc\" // 用这个替换\n },\n {\n \"name\": \"6场半全场\",\n \"play_type\": \"ctzq_bqc\"\n }\n ],\n \"odds\": [\n {\n \"id\": 1,\n \"ret_id\": 1,\n \"type\": \"ctzq_jqc\",\n \"issue_num\": \"20007\", // 期号\n \"state\": \"selling\", // noSelling: 未开售, selling: 销售中, stopSelling: 停售, hasLottery: 已开奖, delayedLottery: 延迟开奖, cancel: 取消)\n \"start_time\": \"2023-04-26 23:20:10\", // 开售时间\n \"end_time\": \"2023-04-27 23:20:10\", // 停售时间\n \"prize_time\": \"2023-04-27 23:20:10\",\n \"result_info\": \"\",\n \"sales\": \"0.0000\",\n \"jackpot\": \"0.0000\",\n \"first_prize_num\": 0,\n \"first_prize_value\": 0,\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"competition_name\": \"xxxx\", // 赛事\n \"match_time_date\": \"2023-04-26\", // 比赛开始日期\n \"match_time_hour\": \"23:20开赛\", // 比赛开始小时\n \"close_time\": \"2023-04-27 23:00:10\",\n \"matches\": [\n {\n \"id\": 19,\n \"ctzq_jqc_id\": 1,\n \"no\": 0,\n \"match_id\": 10001, // 比赛id\n \"jc_home_team_name\": \"jc_home_team_name+1\", // 主队\n \"jc_home_team_name_full\": \"jc_home_team_name_full+1\",\n \"jc_away_team_name\": \"jc_away_team_name+1\", // 客队\n \"jc_away_team_name_full\": \"jc_away_team_name_full+1\",\n \"is_reverse\": 1,\n \"home_result\": \"1\",\n \"away_result\": \"1\",\n \"created_at\": \"2023-05-03 20:19:42\",\n \"updated_at\": \"2023-05-03 20:19:42\",\n \"deleted_at\": null,\n \"home_odds\": [ // 主队\n \"0\",\n \"1\",\n \"2\",\n \"3+\"\n ],\n \"away_odds\": [ // 客队\n \"0\",\n \"1\",\n \"2\",\n \"3+\"\n ]\n }\n ]\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqJqcController.php", "groupTitle": "客户端", "name": "GetApiCustomerCtzq_jqcSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/selling" } ] }, { "type": "GET", "url": "/api/customer/current_win", "title": "特效-展示", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果,参考订单列表", "content": "{}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerCurrent_win", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/current_win" } ] }, { "type": "GET", "url": "/api/customer/dlt/selling", "title": "dlt-selling", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"play_type\":[ // 玩法\n {\n \"name\":\"单式\",\n \"play_type\":\"danshi\"\n },\n ],\n \"result\":[ // 结果\n {\n \"issue_num\":\"20222\", // 期号\n \"result_qian\":[ // 前区\n 1,\n 2,\n 3,\n 4,\n 5\n ],\n \"result_hou\":[ // 后区\n 1,\n 2\n ]\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/DltController.php", "groupTitle": "客户端", "name": "GetApiCustomerDltSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/dlt/selling" } ] }, { "type": "GET", "url": "/api/customer/jclq/selling", "title": "竞彩篮球-投注列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"play_types\": [ // 玩法\n {\n \"name\": \"混合投注\",\n \"play_type\": \"mixed\"\n },\n {\n \"name\": \"胜负(让)\",\n \"play_type\": \"sf_rf_odds\"\n },\n {\n \"name\": \"大小分\",\n \"play_type\": \"dxf_odds\"\n },\n {\n \"name\": \"胜分差\",\n \"play_type\": \"sfc_odds\"\n }\n ],\n \"competitions\": [ // 赛事\n \"全部\",\n \"111\"\n ],\n \"odds\": [\n {\n \"id\": 1,\n \"odds_id\": 1,\n \"match_id\": 11,\n \"issue_num\": \"期号\", // 期号\n \"play_num\": \"场次\", // 场次\n \"jc_competition_name\": \"\", // 竞彩网赛事名\n \"jc_competition_name_full\": \"1111\", // 赛事全称\n \"jc_home_team_name\": \"1111\", // 主队名\n \"jc_home_team_name_full\": \"1111\", // 主队全名\n \"jc_away_team_name\": \"2222\", // 客队\n \"jc_away_team_name_full\": \"2222\",\n \"sale_state\": \"selling\", // 销售状态(selling: 销售中, stopSelling: 停售)\n \"is_reverse\": 0,\n \"close_time\": \"2023-04-27 21:26:30\", // 截止时间\n \"order_state\": \"selling\",\n \"sf_odds\": { // 胜负赔率\n \"win\": 1.45, // 主胜\n \"win_updown\": 0,\n \"loss\": 2.07, // 客负\n \"loss_updown\": -1,\n \"single\": 0, // 单关标识, 0: 串关, 1: 单关\n \"single_updown\": 0\n },\n \"rf_odds\": { // 让分胜负\n \"win\": 1.7, // 主胜\n \"win_updown\": 0,\n \"loss\": 1.7, // 客胜\n \"loss_updown\": 0,\n \"single\": 0,\n \"single_updown\": 0,\n \"handicap\": -1.5, // 让分\n \"handicap_updown\": 0\n },\n \"sfc_odds\": { // 胜分差\n \"l1\": 4.15, // //客胜1-5分赔率\n \"l1_updown\": 0,\n \"l2\": 3.9, //客胜6-10分赔率\n \"l2_updown\": 0,\n \"l3\": 6.4, //客胜11-15分赔率\n \"l3_updown\": 0,\n \"l4\": 10, //客胜16-20分赔率\n \"l4_updown\": 0,\n \"l5\": 21, //客胜16-20分赔率\n \"l5_updown\": 0,\n \"l6\": 22, //客胜16-20分赔率\n \"l6_updown\": 0,\n \"w1\": 4.6, //客胜16-20分赔率\n \"w1_updown\": 0,\n \"w2\": 5.2, //主胜6-10分赔率\n \"w2_updown\": 0,\n \"w3\": 10, //主胜6-10分赔率\n \"w3_updown\": 0,\n \"w4\": 21, //主胜6-10分赔率\n \"w4_updown\": 0,\n \"w5\": 36, //主胜6-10分赔率\n \"w5_updown\": 0,\n \"w6\": 49, //主胜6-10分赔率\n \"w6_updown\": 0,\n \"single\": 1,\n \"single_updown\": 0\n },\n \"dxf_odds\": { // 大小分\n \"big\": 1.75, //大分赔率\n \"big_updown\": 0,\n \"small\": 1.66, //大分赔率\n \"small_updown\": 0,\n \"single\": 1,\n \"single_updown\": 0,\n \"totalScore\": 233.5, //大分赔率\n \"totalScore_updown\": 0\n },\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"real_close_time\": \"1969-12-31 23:40:00\",\n \"real_close_str\": \"23:40截止\", // 截止时间\n \"issue_num_week\": null, // 星期\n \"issue_num_day\": \"期号\" // 日期\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JclqController.php", "groupTitle": "客户端", "name": "GetApiCustomerJclqSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jclq/selling" } ] }, { "type": "GET", "url": "/api/customer/jczq/selling", "title": "竞彩足球-投注列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"play_types\":[ // 玩法\n {\n \"name\":\"混合投注\",\n \"play_type\":\"mixed\"\n },\n {\n \"name\":\"胜平负/让球\",\n \"play_type\":\"spf\"\n },\n {\n \"name\":\"全场比分\",\n \"play_type\":\"bf\"\n },\n {\n \"name\":\"总进球\",\n \"play_type\":\"jq\"\n },\n {\n \"name\":\"半全场\",\n \"play_type\":\"bqc\"\n },\n {\n \"name\":\"单场决胜\",\n \"play_type\":\"single\"\n }\n ],\n \"competitions\":[ // 赛事\n \"全部\",\n \"adsf离开家\"\n ],\n \"odds\":[\n {\n \"id\":3,\n \"lottery_id\":1,\n \"odds_id\":1,\n \"match_id\":1,\n \"issue_num\":\"2022-01-01/周一\",\n \"play_num\":21, // 场次\n \"jc_competition_name\":\"adsf离开家\", // 竞彩网显示赛事名称(简称)\n \"jc_competition_name_full\":\"发三分大赛\",\n \"jc_home_team_name\":\"发顺丰\", // 竞彩网显示主队名称(简称)\n \"jc_home_team_name_full\":\"发送\",\n \"jc_away_team_name\":\"fda\", // 竞彩网显示客队名称(简称)\n \"jc_away_team_name_full\":\"fda\",\n \"sale_state\":\"selling\", // 竞彩官方销售状态(selling: 销售中, stopSelling: 停售)\n \"is_reverse\":0,\n \"real_close_time\":null,\n \"order_state\":\"selling\",\n \"spf_odds\":{ // 胜平负赔率\n \"win\":2.85, // 主胜赔率\n \"win_updown\":0, // 主胜赔率 上升1;下降-1;无变化:0\n \"draw\":2.75, // 平局赔率\n \"draw_updown\":0,\n \"loss\":2.25, // 客胜赔率\n \"loss_updown\":-1,\n \"single\":0, // 竞彩单关标识, 0: 串关, 1: 单关\n \"single_updown\":0\n },\n \"rq_odds\":{ // 让球胜平负赔率\n \"win\":2.85, // 主胜赔率\n \"win_updown\":1,\n \"draw\":2.75, // 平局赔率\n \"draw_updown\":0,\n \"loss\":2.25, // 客胜赔率\n \"loss_updown\":0,\n \"single\":0,\n \"single_updown\":0,\n \"handicap\":-1, // 让球数\n \"handicap_updown\":0\n },\n \"bf_odds\":{ // 比分赔率\n \"dx\":100, //平局其它比分赔率\n \"dx_updown\":0,\n \"lx\":50, //客胜其它比分赔率\n \"lx_updown\":0,\n \"wx\":15, //主胜其它比分赔率\n \"wx_updown\":0,\n \"dh0a0\":27, //平局0:0赔率\n \"dh0a0_updown\":0,\n \"dh1a1\":8.5,\n \"dh1a1_updown\":0,\n \"dh2a2\":11,\n \"dh2a2_updown\":0,\n \"dh3a3\":30,\n \"dh3a3_updown\":0,\n \"lh0a1\":20, //客胜0:1赔率\n \"lh0a1_updown\":0,\n \"lh0a2\":27,\n \"lh0a2_updown\":0,\n \"lh0a3\":50,\n \"lh0a3_updown\":0,\n \"lh0a4\":120,\n \"lh0a4_updown\":0,\n \"lh0a5\":400,\n \"lh0a5_updown\":0,\n \"lh1a2\":11,\n \"lh1a2_updown\":0,\n \"lh1a3\":27,\n \"lh1a3_updown\":0,\n \"lh1a4\":70,\n \"lh1a4_updown\":0,\n \"lh1a5\":200,\n \"lh1a5_updown\":0,\n \"lh2a3\":21,\n \"lh2a3_updown\":0,\n \"lh2a4\":60,\n \"lh2a4_updown\":0,\n \"lh2a5\":200,\n \"lh2a5_updown\":0,\n \"wh1a0\":11, //主胜1:0赔率\n \"wh1a0_updown\":0,\n \"wh2a0\":10.5,\n \"wh2a0_updown\":0,\n \"wh2a1\":7.25,\n \"wh2a1_updown\":0,\n \"wh3a0\":13,\n \"wh3a0_updown\":0,\n \"wh3a1\":10.5,\n \"wh3a1_updown\":0,\n \"wh3a2\":13,\n \"wh3a2_updown\":0,\n \"wh4a0\":22,\n \"wh4a0_updown\":0,\n \"wh4a1\":18,\n \"wh4a1_updown\":0,\n \"wh4a2\":25,\n \"wh4a2_updown\":0,\n \"wh5a0\":39,\n \"wh5a0_updown\":0,\n \"wh5a1\":34,\n \"wh5a1_updown\":0,\n \"wh5a2\":50,\n \"wh5a2_updown\":0,\n \"single\":1,\n \"single_updown\":0\n },\n \"jq_odds\":{ //总进球数赔率\n \"g0\":14, //进0球赔率\n \"g0_updown\":0,\n \"g1\":5.2,\n \"g1_updown\":0,\n \"g2\":3.5,\n \"g2_updown\":0,\n \"g3\":3.2,\n \"g3_updown\":0,\n \"g4\":4.6,\n \"g4_updown\":0,\n \"g5\":8,\n \"g5_updown\":0,\n \"g6\":15,\n \"g6_updown\":0,\n \"g7m\":23, //进7+球赔率\n \"g7m_updown\":0,\n \"single\":1,\n \"single_updown\":0\n },\n \"bqc_odds\":{ //半全场胜平负赔率\n \"dd\":4.15, //平平赔率\n \"dd_updown\":0,\n \"dl\":5.65, //平负赔率\n \"dl_updown\":0,\n \"dw\":5.2, //平胜赔率\n \"dw_updown\":0,\n \"ld\":15, //负平赔率\n \"ld_updown\":0,\n \"ll\":4.15, //负负赔率\n \"ll_updown\":0,\n \"lw\":24, //负胜赔率\n \"lw_updown\":0,\n \"wd\":15, //胜平赔率\n \"wd_updown\":0,\n \"wl\":26, //胜负赔率\n \"wl_updown\":0,\n \"ww\":4, //胜胜赔率\n \"ww_updown\":0,\n \"single\":1,\n \"single_updown\":0\n },\n \"real_close_str\":\"00:00截止\", //截止时间\n \"issue_num_week\":\"周一\",\n \"issue_num_day\":\"2022-01-01\"\n }\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JczqController.php", "groupTitle": "客户端", "name": "GetApiCustomerJczqSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jczq/selling" } ] }, { "type": "GET", "url": "/api/customer/lottery/types", "title": "所有彩种", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "is_fadan", "description": "

1代表是发单时使用

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "[\n {\n \"id\": 1, // id\n \"name\": \"第一个\", // 名称\n \"icon\": \"xx\", // icon\n \"info\": \"\", // 信息提示\n },\n ...\n]", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/LotteryController.php", "groupTitle": "客户端", "name": "GetApiCustomerLotteryTypes", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/lottery/types" } ] }, { "type": "GET", "url": "/api/customer/lqoverview/analysis", "title": "篮球分析-分析", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"history\":[ // 历史交锋\n {\n \"id\":3266,\n \"match_id\":89933,\n \"start_time\":\"2023-01-05 04:30:00\", // 比赛时间\n \"competition_name\":\"西篮联\", // 赛事\n \"home_team_name\":\"尤尼卡加\", // 主队\n \"away_team_name\":\"毕尔巴鄂\", // 客队\n \"home_score\":92, // 主队得分\n \"away_score\":79, // 客队得分\n \"status\":2,\n \"start_week\":\"周二\",\n \"start_time_str\":\"01-05 04:30\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/LqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerLqoverviewAnalysis", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/lqoverview/analysis" } ] }, { "type": "GET", "url": "/api/customer/lqoverview/match_info", "title": "篮球分析-比赛信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"id\":4515,\n \"match_id\":446519, // 比赛id\n \"competition_id\":14, // 赛事id\n \"competition_name\":\"欧冠\", // 赛事名称\n \"season\":\"22/23\", // 赛季\n \"start_time\":\"2023-05-11 03:00:00\", // 开始时间\n \"start_week\":\"周一\", // 开始时间所属周\n \"start_time_str\":\"05-11 03:00\", // 开始时间\n \"home_team_id\":77,\n \"home_team_name\":\"AC米兰\", // 主队\n \"away_team_id\":\"86\",\n \"away_team_name\":\"国际米兰\", // 客队\n \"status\":0, // 比赛状态(0:未开始, 1:进行中, 2:已结束, 3:延期, 4:中断, 5:取消, 6:中场休息)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/LqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerLqoverviewMatch_info", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/lqoverview/match_info" } ] }, { "type": "GET", "url": "/api/customer/lqoverview/zhishu", "title": "篮球分析-指数", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": " {\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"rf\":[ // 让分指数,数组总长度就是公司数\n {\n \"company\":{\n \"id\":2,\n \"company_id\":2,\n \"name\":\"立博\", // 公司名\n \"country\":\"英国\",\n \"created_at\":\"2023-05-09 22:51:05\",\n \"updated_at\":\"2023-05-09 22:51:05\",\n \"deleted_at\":null\n },\n \"items\":[ // 这个数组有两项,type=0或1 (0: 初盘, 1: 即时盘)\n {\n \"id\":1,\n \"cdate\":20230509,\n \"match_id\":97980,\n \"company_id\":2,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"handicap\":\"-4.50\", // 让球\n \"home\":\"0.80\", // 主队赔率\n \"away\":\"0.85\", // 客队赔率\n \"change_time\":\"2023-05-09 13:13:14\", // 变盘时间\n \"created_at\":\"2023-05-09 22:49:33\",\n \"updated_at\":\"2023-05-09 22:49:33\",\n \"deleted_at\":null\n },\n ]\n },\n ],\n \"ou\":[\n {\n \"company\":, // 同上\n \"items\":[\n {\n \"id\":1,\n \"cdate\":20230509,\n \"match_id\":97980,\n \"company_id\":2,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"win\":\"1.53\", //主胜赔率\n \"loss\":\"2.25\", //客胜赔率\n \"change_time\":\"2023-05-09 17:21:07\", // 变盘时间\n \"created_at\":\"2023-05-09 22:49:33\",\n \"updated_at\":\"2023-05-09 22:49:33\",\n \"deleted_at\":null\n },\n ]\n },\n ],\n \"daxiao\":[\n {\n \"company\":, // 同上\n \"items\":[\n {\n \"id\":1,\n \"cdate\":20230509,\n \"match_id\":97980,\n \"company_id\":2,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"handicap\":\"158.50\", //盘口\n \"over\":\"0.83\", //大球赔率\n \"under\":\"0.85\", //小球赔率\n \"change_time\":\"2023-05-09 13:13:17\", // 变盘时间\n \"created_at\":\"2023-05-09 22:49:33\",\n \"updated_at\":\"2023-05-09 22:49:33\",\n \"deleted_at\":null\n },\n ]\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/LqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerLqoverviewZhishu", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/lqoverview/zhishu" } ] }, { "type": "GET", "url": "/api/customer/order/da_shen_list", "title": "跟单-一站成名等", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"lian_hong\": [ // 连红榜\n {\n \"id\": 1,\n \"name\": \"我是大神1\",\n \"nickname\": \"我是大神1\",\n \"avatar\": \"\",\n \"red_num\": 1\n }\n ],\n \"cheng_ming\": [ // 一站成名\n {\n \"id\": 1,\n \"name\": \"我是大神1\",\n \"nickname\": \"我是大神1\",\n \"avatar\": \"\",\n \"red_num\": 1\n }\n ],\n \"sheng_lv\": [ // 胜率榜\n {\n \"id\": 1,\n \"name\": \"我是大神1\",\n \"nickname\": \"我是大神1\",\n \"avatar\": \"\",\n \"red_num\": 1\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "GetApiCustomerOrderDa_shen_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/da_shen_list" } ] }, { "type": "GET", "url": "/api/customer/order/show", "title": "订单详情(普通投注和发单)", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"lottery_type\": {\n \"id\": 1,\n \"type\": \"jczq\", //jczq:竞彩足球,jclq:竞彩篮球,ctzq_jqc4:场进球彩,ctzq_bqc6:场半全场(根据此字段判断订单详情中的投注信息)\n \"name\": \"jc足球\"\n }\n \"customer\":{ // 投注人\n \"id\":2,\n \"name\":\"\",\n \"nickname\":\"\", // 投注人名\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\"\n },\n \"id\": 2,\n \"pid\": 0,\n \"lottery_is_wined\": true, // true中奖;false未中奖\n \"order_sn\": \"P2023040900000002\",\n \"customer_id\": 1,\n \"lottery_id\": 1,\n \"shop_id\": 0,\n \"lottery_type_id\": 0,\n \"type\": 1,\n \"copy_num\": 0, // 跟单数\n \"bets_num\": 2, // 倍数\n \"piao_num\": 0, //\n \"money\": 24, // 购买金额\n \"prize_min\": \"11.04\", // 最低奖金\n \"prize_max\": \"142.56\", // 最高奖金\n \"pass_mode\": [\n \"2.1\"\n ],\n \"play_type\": \"mixed\",\n \"pay_type\": \"\",\n \"pay_state\": \"success\",\n \"pay_at\": \"2023-04-09 03:41:06\",\n \"odds_early_close_time\": \"2023-04-05 15:38:38\",\n \"odds_late_close_time\": \"2023-04-06 15:38:38\",\n \"lottery_state\": 5,\n \"lottery_prize\": \"0.00\", // 中奖金额\n \"lottery_tax_prize\": \"0.00\", // 中奖金额\n \"type_mode\": 1, 1截止后公开,2公开;3认购可见\n \"type_desc\": \"浪费大家发的啦\",\n \"created_at\": \"2023-04-09T03:32:51.000000Z\",\n \"updated_at\": \"2023-04-09T03:41:06.000000Z\",\n \"deleted_at\": null,\n \"sellings\": [ // 4场进球彩/6场半全场\n {\n \"no\": \"01\", // 序号\n \"team_name\": \"jc_home_team_name+1\", // 球队名\n \"odds\": [ // 购买的比分\n 1,\n 2\n ]\n },\n ],\n \"sellings\": [ // 竞彩篮球,竞彩足球\n {\n \"issue_num\": \"2022-01-01/周一\",\n \"play_num\": 21,\n \"jc_competition_name\": \"adsf离开家\",\n \"jc_competition_name_full\": \"发三分大赛\",\n \"jc_home_team_name\": \"发顺丰\",\n \"jc_home_team_name_full\": \"发送\",\n \"jc_away_team_name\": \"fda\",\n \"jc_away_team_name_full\": \"fda\",\n \"id\": 3,\n \"order_id\": 2,\n \"jczq_odds_id\": 3,\n \"odds_id\": 1,\n \"match_id\": 1,\n \"odds_result\": 0,\n \"issue_num_week\": \"周一\",\n \"issue_num_day\": \"2022-01-01\",\n \"vs_b\": \"发顺丰\",\n \"vs_m\": \"vs\",\n \"vs_a\": \"fda\",\n \"half_time_score\": \"fda\", // 足球:半场比分\n \"full_time_score\": \"fda\", // 足球:全场比分\n \"home_score\": \"fda\", // 篮球: 主队得分\n \"away_score\": \"fda\", // 篮球: 客队得分\n \"play_items\": [ // 每种玩法和对应的投注项\n {\n \"win_result\": \"\",\n \"play_name\": \"胜平负\", // 玩法\n \"play_items\": [\n {\n name: \"胜\", // 投注项\n wined: true, // 是否中\n }\n ]\n }\n ]\n },\n\n ],\n \"chang_num\": 2,\n \"pass_mode_names\": [ // 串关\n \"2x1\"\n ],\n \"play_name\": \"竞彩足球\", // 彩种\n \"play_type_name\": \"混合投注\", // 玩法\n \"buy_type_name\": \"自购\",\n \"pass_mode_name\": [\n \"2串1\"\n ],\n \"materials\": [],\n \"gendan_info\": { // 跟单信息\n \"brokerage\":1, // 跟单佣金\n \"count_gendan\":1, // 跟单人数\n \"count_default_show\":10, // 默认人数\n \"list\":[\n {\n \"id\":16,\n \"pid\":13,\n \"customer_id\":2,\n \"money\":20, // 跟单金额\n \"lottery_state\":5,\n \"lottery_tax_prize\":\"0.00\", // 税后奖金\n \"play_type_name\":\"\",\n \"buy_type_name\":\"\",\n \"pass_mode_name\":[\n\n ],\n \"lottery_estimate_send_prize\":\"0.00\",\n \"gendan_brokerage\":\"0.00\",\n \"customer\":{ // 投注人\n \"id\":2,\n \"name\":\"\",\n \"nickname\":\"\", // 投注人名\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\"\n },\n \"p_order\":{ // 发单\n \"id\":13,\n \"order_sn\":\"P2023050500000004\",\n \"customer_id\":1,\n \"play_type_name\":\"\",\n \"buy_type_name\":\"\",\n \"pass_mode_name\":[\n\n ],\n \"lottery_estimate_send_prize\":null,\n \"gendan_brokerage\":null,\n \"customer\":{ // 发单人\n \"id\":1,\n \"nickname\":\"\",\n \"name\":\"发达\",\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\"\n }\n }\n }\n ]\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "GetApiCustomerOrderShow", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/show" } ] }, { "type": "GET", "url": "/api/customer/pls/selling", "title": "pls-selling", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"result\": [\n {\n \"issue_num\": \"23064\", // 期\n \"result\": [ // 结果\n \"2\",\n \"6\",\n \"1\",\n \"5\",\n \"7\",\n \"7\",\n \"0\"\n ]\n }\n ],\n \"current\": {\n \"issue_num\": \"23067\", // 期\n \"close_time_str\": \"2023-06-13 20:40:00\" // 截止时间\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlsController.php", "groupTitle": "客户端", "name": "GetApiCustomerPlsSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/pls/selling" } ] }, { "type": "GET", "url": "/api/customer/plw/selling", "title": "plw-selling", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"result\": [\n {\n \"issue_num\": \"23064\", // 期\n \"result\": [ // 结果\n \"2\",\n \"6\",\n \"1\",\n \"5\",\n \"7\",\n \"7\",\n \"0\"\n ]\n }\n ],\n \"current\": {\n \"issue_num\": \"23067\", // 期\n \"close_time_str\": \"2023-06-13 20:40:00\" // 截止时间\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlwController.php", "groupTitle": "客户端", "name": "GetApiCustomerPlwSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/plw/selling" } ] }, { "type": "GET", "url": "/api/customer/qrcode", "title": "二维码-生成", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "content", "description": "

二维码内容

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

大小,默认80

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "format", "description": "

格式(png,svg,eps),默认png

" } ] } }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerQrcode", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/qrcode" } ] }, { "type": "GET", "url": "/api/customer/qxc/selling", "title": "qxc-selling", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"result\": [\n {\n \"issue_num\": \"23064\", // 期\n \"result\": [ // 结果\n \"2\",\n \"6\",\n \"1\",\n \"5\",\n \"7\",\n \"7\",\n \"0\"\n ]\n }\n ],\n \"current\": {\n \"issue_num\": \"23067\", // 期\n \"close_time_str\": \"2023-06-13 20:40:00\" // 截止时间\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/QxcController.php", "groupTitle": "客户端", "name": "GetApiCustomerQxcSelling", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/qxc/selling" } ] }, { "type": "GET", "url": "/api/customer/shop", "title": "首页-店铺信息", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"id\": 1,\n \"seller_id\": 1,\n \"name\": \"shop1\", // 名称\n \"seller_name\": \"******\", // 店主名\n \"seller_phone\": \"******\", // 店主电话\n \"seller_wechat\": \"qerewrwq\", // 微信\n \"addr\": \"******\", // 地址\n \"announcement\": \"fdsafdsafdsa\", // 公告\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerShop", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/shop" } ] }, { "type": "GET", "url": "/api/customer/wallet/withdraw_list", "title": "我的-提现列表", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "GetApiCustomerWalletWithdraw_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/withdraw_list" } ] }, { "type": "GET", "url": "/api/customer/win_ctzq_bqc_detail_result", "title": "开奖公告-传统足球-6场半全场详情", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"ret_id\":473,\n \"type\":\"ctzq_jqc\",\n \"issue_num\":\"23070\", // 期号\n \"state\":\"hasLottery\",\n \"start_time\":\"2023-04-30 20:00:00\",\n \"end_time\":\"2023-05-03 22:00:00\",\n \"prize_time\":\"2023-05-04 10:02:04\", // 开奖时间\n \"result_info\":\"3+010213+1\", // 开奖结果\n \"result_array\":\"3+010213+1\", // 开奖结果\n \"sales\":\"2765664.00\",\n \"jackpot\":\"0.00\",\n \"first_prize_num\":255,\n \"first_prize_value\":6941,\n \"created_at\":\"2023-05-04 21:32:16\",\n \"updated_at\":\"2023-05-04 21:32:16\",\n \"deleted_at\":null,\n \"matchs\": [\n {\n \"no\":0, // 编号\n \"result\":0, // 结果\n \"jcAwayTeamName\":0, // 客队\n \"jcHomeTeamName\":0, // 主队\n \"half_time_score\":0, // 半场比分\n \"full_time_score\":0, // 整场比分\n }\n ],\n },\n ],\n \"per_page\":20,\n \"total\":2\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_ctzq_bqc_detail_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_ctzq_bqc_detail_result" } ] }, { "type": "GET", "url": "/api/customer/win_ctzq_bqc_result", "title": "开奖公告-传统足球-6场半全场", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"ret_id\":473,\n \"type\":\"ctzq_jqc\",\n \"issue_num\":\"23070\", // 期号\n \"state\":\"hasLottery\",\n \"start_time\":\"2023-04-30 20:00:00\",\n \"end_time\":\"2023-05-03 22:00:00\",\n \"prize_time\":\"2023-05-04 10:02:04\", // 开奖时间\n \"result_info\":\"3+010213+1\", // 开奖结果\n \"result_array\":\"3+010213+1\", // 开奖结果\n \"sales\":\"2765664.00\",\n \"jackpot\":\"0.00\",\n \"first_prize_num\":255,\n \"first_prize_value\":6941,\n \"created_at\":\"2023-05-04 21:32:16\",\n \"updated_at\":\"2023-05-04 21:32:16\",\n \"deleted_at\":null,\n },\n ],\n \"per_page\":20,\n \"total\":2\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_ctzq_bqc_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_ctzq_bqc_result" } ] }, { "type": "GET", "url": "/api/customer/win_ctzq_jqc_detail_result", "title": "开奖公告-传统足球-4场进球彩详情", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"ret_id\":473,\n \"type\":\"ctzq_jqc\",\n \"issue_num\":\"23070\", // 期号\n \"state\":\"hasLottery\",\n \"start_time\":\"2023-04-30 20:00:00\",\n \"end_time\":\"2023-05-03 22:00:00\",\n \"prize_time\":\"2023-05-04 10:02:04\", // 开奖时间\n \"result_info\":\"3+010213+1\", // 开奖结果\n \"result_array\":\"3+010213+1\", // 开奖结果\n \"sales\":\"2765664.00\",\n \"jackpot\":\"0.00\",\n \"first_prize_num\":255,\n \"first_prize_value\":6941,\n \"created_at\":\"2023-05-04 21:32:16\",\n \"updated_at\":\"2023-05-04 21:32:16\",\n \"deleted_at\":null,\n \"matchs\": [\n {\n \"no\":0, // 编号\n \"result\":0, // 结果\n \"jcAwayTeamName\":0, // 客队\n \"jcHomeTeamName\":0, // 主队\n \"half_time_score\":0, // 半场比分\n \"full_time_score\":0, // 整场比分\n }\n ],\n },\n ],\n \"per_page\":20,\n \"total\":2\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_ctzq_jqc_detail_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_ctzq_jqc_detail_result" } ] }, { "type": "GET", "url": "/api/customer/win_ctzq_jqc_result", "title": "开奖公告-传统足球-4场进球彩", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"ret_id\":473,\n \"type\":\"ctzq_jqc\",\n \"issue_num\":\"23070\", // 期号\n \"state\":\"hasLottery\",\n \"start_time\":\"2023-04-30 20:00:00\",\n \"end_time\":\"2023-05-03 22:00:00\",\n \"prize_time\":\"2023-05-04 10:02:04\", // 开奖时间\n \"result_info\":\"3+010213+1\", // 开奖结果\n \"result_array\":\"3+010213+1\", // 开奖结果\n \"sales\":\"2765664.00\",\n \"jackpot\":\"0.00\",\n \"first_prize_num\":255,\n \"first_prize_value\":6941,\n \"created_at\":\"2023-05-04 21:32:16\",\n \"updated_at\":\"2023-05-04 21:32:16\",\n \"deleted_at\":null,\n },\n ],\n \"per_page\":20,\n \"total\":2\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_ctzq_jqc_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_ctzq_jqc_result" } ] }, { "type": "GET", "url": "/api/customer/win_jclq_result", "title": "开奖公告-竞彩篮球", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "issue_num", "description": "

期号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"issue_nums\":[\n \"2023-05-04/周四\"\n ],\n \"result\":[\n {\n \"id\":1,\n \"jclq_odds_id\":1,\n \"odds_id\":5131,\n \"match_id\":97866,\n \"issue_num\":\"2023-05-04/周四\",\n \"issue_date\":\"2023-05-04\", // 日期\n \"issue_week\":\"2023-05-04\", // 周\n \"play_num\":\"301\",\n \"is_reverse\":0,\n \"home_score\":104, // 主队比分\n \"away_score\":69, // 客队比分\n \"q1home_score\":17,\n \"q1away_score\":24,\n \"q2home_score\":30,\n \"q2away_score\":12,\n \"q3home_score\":32,\n \"q3away_score\":17,\n \"q4home_score\":25,\n \"q4away_score\":16,\n \"othome_score\":0,\n \"otaway_score\":0,\n \"lottery_state\":\"hasLottery\",\n \"lottery_time\":\"2023-05-05 08:59:00\",\n \"sf_field\":\"win\", // 胜负\n \"sf_name\":\"主胜\",\n \"sf_odds\":\"1.76\", // 让分\n \"rf_handicap\":\"-4.50\",\n \"rf_field\":\"win\",\n \"rf_name\":\"让分主胜\",\n \"rf_odds\":\"1.70\",\n \"sfc_field\":\"w6\", // 胜分差\n \"sfc_name\":\"主胜26+\",\n \"sfc_odds\":\"17.00\",\n \"dxf_total_score\":\"162.50\", // 大小分\n \"dxf_field\":\"big\",\n \"dxf_name\":\"大\",\n \"dxf_odds\":\"1.70\",\n \"created_at\":\"2023-05-05 20:37:15\",\n \"updated_at\":\"2023-05-05 20:37:15\",\n \"deleted_at\":null,\n \"match\":{ // 比赛信息\n \"id\":84864,\n \"match_id\":97866,\n \"competition_name\":\"欧篮联\", // 赛事名\n \"home_team_name\":\"特拉维夫马卡比\", // 主队\n \"away_team_name\":\"摩纳哥\", // 客队\n \"start_week\":\"\",\n \"start_time_str\":\"\"\n }\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_jclq_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_jclq_result" } ] }, { "type": "GET", "url": "/api/customer/win_jczq_result", "title": "开奖公告-竞彩足球", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "issue_num", "description": "

期号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"issue_nums\":[\n \"2023-05-03/周三\"\n ],\n \"result\":[\n {\n \"id\":1,\n \"jczq_odds_id\":0,\n \"odds_id\":0,\n \"match_id\":392837,\n \"issue_num\":\"2023-05-03/周三\",\n \"issue_date\":\"2023-05-03\", // 日期\n \"issue_week\":\"2023-05-04\", // 周\n \"play_num\":3, // 场次\n \"half_time_score\":\"2 : 1\", // 半场比分\n \"full_time_score\":\"2 : 1\", // 全场比分\n \"is_reverse\":0,\n \"lottery_state\":\"hasLottery\",\n \"lottery_time\":\"2023-05-04 09:18:00\", // 开奖时间\n \"spf_odds\":\"1.37\", // 胜平负赔率\n \"spf_field\":\"win\", // 胜\n \"spf_name\":\"胜\", // 名称\n \"rq_odds\":\"3.10\", // 让球\n \"rq_handicap\":\"-1.00\", // 让几个\n \"rq_field\":\"draw\", // 字段\n \"rq_name\":\"平\", // 名称\n \"bf_odds\":\"7.50\", // 比分\n \"bf_field\":\"wh2a1\", // 字段\n \"bf_name\":\"2:1\", // 名称\n \"jq_odds\":\"4.00\", // 总进球\n \"jq_field\":\"g3\",\n \"jq_name\":\"3\",\n \"bqc_odds\":\"2.15\",\n \"bqc_field\":\"ww\", // 半全场\n \"bqc_name\":\"胜胜\",\n \"created_at\":\"2023-05-04 21:42:56\",\n \"updated_at\":\"2023-05-04 21:42:56\",\n \"match\":{\n \"competition_name\":xx, //赛事名\n \"home_team_name\":xx, //主队名\n \"away_team_name\":xx, //客队\n }\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_jczq_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_jczq_result" } ] }, { "type": "GET", "url": "/api/customer/win_poster", "title": "首页-中奖海报", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "type", "description": "

all全部,my我的

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"cdate\":\"昨日\", // 日期\n \"poster\":[{\n \"id\":1,\n \"order_sn\":\"xxx\",\n \"customer\":{\n \"id\":1,\n \"name\":\"aaa\", // 用户名\n \"level_name\":\"\", // 级别名称\n \"avatar\":\"\" // 用户头像\n },\n \"prize\":1000, // 奖金\n \"money\":1000, // 方案金额\n \"lottery_name\":\"x\", // 彩种名称\n \"cdate\":\"2023-04-06\"\n }\n }]\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_poster", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_poster" } ] }, { "type": "GET", "url": "/api/customer/win_shuzi_detail_result", "title": "开奖公告-数字彩详情", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "lottery_type", "description": "

彩种类型

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[ // 大乐透的数据格式\n {\n \"id\":11,\n \"issue_num\":\"23063\",\n \"state\":1,\n \"enable\":0,\n \"close_time\":null,\n \"prize_time\":null,\n \"qian\":[\n \"04\",\n \"18\",\n \"29\",\n \"31\",\n \"34\"\n ],\n \"hou\":[\n \"06\",\n \"09\"\n ],\n \"prize\":\"0.0000\", // 奖池\n \"base1_num\":6, // 一等奖注数\n \"base2_num\":91, // 二等奖注数\n \"base3_num\":186, // 三等奖注数\n \"base1_prize\":\"6757853.0000\", // 一等奖金\n \"add1_num\":2, // 二等奖追加注数\n \"base2_prize\":\"129591.0000\", // 二等奖金\n \"add2_num\":28, // 二等奖追加注数\n \"base3_prize\":\"10000.0000\", // 三等奖金\n \"add3_num\":0, // 三等奖追加注数\n \"add1_prize\":\"5406282.0000\", // 一等奖追加奖金\n \"add2_prize\":\"103672.0000\", // 二等奖追加奖金\n \"add3_prize\":\"0.0000\", // 三等奖追加奖金\n \"created_at\":\"2023-06-06 22:00:09\",\n \"updated_at\":\"2023-06-06 22:00:09\",\n \"deleted_at\":null,\n \"result_time\":\"2023-06-06T14:00:09.000000Z\"\n },\n ],\n \"from\":1,\n \"per_page\":20,\n \"to\":20,\n \"total\":20\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_shuzi_detail_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_shuzi_detail_result" } ] }, { "type": "GET", "url": "/api/customer/win_shuzi_result", "title": "开奖公告-数字彩", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"lottery_type\":\"dlt\", // 彩种\n \"dlt\":{ // 大乐透的数据格式\n \"id\":11,\n \"issue_num\":\"23063\", // 期号\n \"state\":1,\n \"enable\":0,\n \"close_time\":null,\n \"prize_time\":null, // 开奖时间\n \"qian\":[ // 红球\n \"04\",\n \"18\",\n \"29\",\n \"31\",\n \"34\"\n ],\n \"hou\":[ // 篮球\n \"06\",\n \"09\"\n ],\n \"result_time\":\"2023-06-06T14:00:09.000000Z\" // 抓取开奖时间\n }\n }\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWin_shuzi_result", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/win_shuzi_result" } ] }, { "type": "GET", "url": "/api/customer/winning_info", "title": "首页-播报和海报", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"broadcast\": [ // 播报\n \"xxxxxxxxxxxxxxx\",\n \"bbbbbbbbbbbbbbbbb\"\n ],\n \"poster\": [ // 海报\n {\n \"id\": 1, // 数据id\n \"customer\": { //\n \"id\": 1, // 用户id\n \"avatar\": \"xxxx\", // 用户头像\n \"level_name\": \"xxxx\", // 级别名称\n \"name\": \"xxxx\" // 用户名称\n },\n \"lottery_name\": 'xxxx', // 彩种名称\n \"money\": 2222.22, // 方案金额\n \"prize\": 2222.22, // 奖金\n \"cdate\": \"2022-01-01\" // 日期\n },\n ...\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "GetApiCustomerWinning_info", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/winning_info" } ] }, { "type": "GET", "url": "/api/customer/zqoverview/live", "title": "足球分析-实况", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"teamStats\":[ // 赛事统计\n {\n \"homeRate\":7.03, // 主队数据\n \"title\":\"评分\", // 标题\n \"awayRate\":6.45, // 客队数据\n \"homeProgress\":0.52, // 主队进度条 0-1之间\n \"awayProgress\":0.48 // 客队进度条 0-1之间\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/ZqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerZqoverviewLive", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/zqoverview/live" } ] }, { "type": "GET", "url": "/api/customer/zqoverview/match_info", "title": "足球分析-比赛信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"id\":4515,\n \"match_id\":446519, // 比赛id\n \"competition_id\":14, // 赛事id\n \"competition_name\":\"欧冠\", // 赛事名称\n \"season\":\"22/23\", // 赛季\n \"start_time\":\"2023-05-11 03:00:00\", // 开始时间\n \"start_week\":\"周一\", // 开始时间所属周\n \"start_time_str\":\"05-11 03:00\", // 开始时间\n \"home_team_id\":77,\n \"home_team_name\":\"AC米兰\", // 主队\n \"away_team_id\":\"86\",\n \"away_team_name\":\"国际米兰\", // 客队\n \"status\":0, // 比赛状态(0:未开始, 1:进行中, 2:已结束, 3:延期, 4:中断, 5:取消)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/ZqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerZqoverviewMatch_info", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/zqoverview/match_info" } ] }, { "type": "GET", "url": "/api/customer/zqoverview/probability", "title": "足球分析-概率", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"predict\":[ // 概率预测,第一项为表头数据\n {\n \"result\":\"\",\n \"spf\":\"胜平负\",\n \"rq\":\"让球胜平负\"\n },\n {\n \"result\":\"胜\",\n \"spf\":\"43.00%\",\n \"rq\":\"-\"\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/ZqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerZqoverviewProbability", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/zqoverview/probability" } ] }, { "type": "GET", "url": "/api/customer/zqoverview/qingbao", "title": "足球分析-情报", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"id\":890486,\n \"teamId\":162,\n \"homeAway\":\"home\", // home主队; away客队\n \"type\":\"good\", // 类型(good: 有利, bad:不利, neutral: 中性)\n \"tag\":\"strength\", // 标签(strength: 近期战力, absences: 伤停情况, players: 球员状态, pk: 两队交锋)\n \"content\":\"近10场防守不俗,4场无丢球,占比40%\" // 详细内容\n },\n ...\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/ZqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerZqoverviewQingbao", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/zqoverview/qingbao" } ] }, { "type": "GET", "url": "/api/customer/zqoverview/zhishu", "title": "足球分析-指数", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "match_id", "description": "

比赛id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"ya\":[ // 亚指,数组总长度就是公司数\n {\n \"company\":{ // 公司信息\n \"id\":3,\n \"company_id\":3, // 公司id\n \"name\":\"澳门\", // 公司名\n \"country\":\"中国澳门\",\n },\n \"items\":[ // 这个数组有两项,type=0或1\n {\n \"id\":1,\n \"cdate\":20230508,\n \"match_id\":390979,\n \"company_id\":3,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"handicap\":\"-0.50\", // 让球\n \"home\":\"0.86\", // 主队赔率\n \"away\":\"0.94\", // 客队赔率\n \"change_time\":\"2023-05-02 23:02:14\", // 变盘时间\n \"created_at\":\"2023-05-08 20:44:28\",\n \"updated_at\":\"2023-05-08 20:44:28\",\n \"deleted_at\":null\n },\n ]\n },\n ],\n \"ou\":[// 欧指,数组总长度就是公司数\n {\n \"company\":, // 同上\n \"items\":[ // 这个数组有两项,type=0或1\n {\n \"id\":1,\n \"cdate\":20230508,\n \"match_id\":390979,\n \"company_id\":3,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"win\":\"1.86\", //主胜赔率\n \"draw\":\"3.55\", //平局赔率\n \"loss\":\"3.35\", //客胜赔率\n \"change_time\":\"2023-05-03 00:21:15\", // 变盘时间\n \"created_at\":\"2023-05-08 20:44:28\",\n \"updated_at\":\"2023-05-08 20:44:28\",\n \"deleted_at\":null\n },\n ]\n },\n ],\n \"daxiao\":[ // 大小,数组总长度就是公司数\n {\n \"company\": // 同上\n \"items\":[ // 这个数组有两项,type=0或1\n {\n \"id\":1,\n \"cdate\":20230508,\n \"match_id\":390979,\n \"company_id\":13,\n \"type\":0, // 类型(0: 初盘, 1: 即时盘)\n \"handicap\":\"2.75\", //盘口\n \"over\":\"0.90\", //大球赔率\n \"under\":\"1.00\", //小球赔率\n \"change_time\":\"2023-05-02 00:11:25\",\n \"created_at\":\"2023-05-08 20:44:28\",\n \"updated_at\":\"2023-05-08 20:44:28\",\n \"deleted_at\":null\n },\n ]\n },\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/ZqOverviewController.php", "groupTitle": "客户端", "name": "GetApiCustomerZqoverviewZhishu", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/zqoverview/zhishu" } ] }, { "type": "GET|POST", "url": "/api/customer/logout", "title": "auth-退出", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "Get|postApiCustomerLogout", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/logout" } ] }, { "type": "POST", "url": "/api/customer/ctzq_bqc/order/create", "title": "6场半全场-创建订单/合买", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023033000000010\", // 订单号\n \"balance\":\"0.00\", // 余额\n \"money\":0, // 订单总金额\n \"need_pay_money\":0, // 需要支付的金额\n \"username\":\"发达\", // 用户名\n \"lottery\":\"jc足球混合投注\", // 投注彩票信息\n \"pay_types\":[ // 支付方式\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqBqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_bqcOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_bqc/order/create" } ] }, { "type": "POST", "url": "/api/customer/ctzq_bqc/valid", "title": "6场半全场-校验信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":3, // 彩种类型id\n \"issue_num\":20007, // 期号\n \"odds\":{\n \"1\":{ // odds id\n \"home_odds\":[1], // 主队得分\n \"away_odds\":[1] // 客队得分\n },\n ....\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqBqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_bqcValid", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_bqc/valid" } ] }, { "type": "POST", "url": "/api/customer/ctzq_jqc/cart", "title": "4场进球彩-购入车信息/计算金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"has_fadan\": true,// 是否支持发单\n \"has_union\": false, // 是否支持合买\n \"money\": 4, // 总投注金额\n \"bets_num\": 1, // 投注倍数\n \"zhu_num\": 1, // 投注数\n \"odds\": [{\n \"id\": 1,\n \"ret_id\": 1,\n \"type\": \"ctzq_jqc\",\n \"issue_num\": \"20007\",\n \"state\": \"selling\",\n \"start_time\": \"2023-04-26 23:20:10\",\n \"end_time\": \"2023-04-27 23:20:10\",\n \"prize_time\": \"2023-04-27 23:20:10\",\n \"result_info\": \"\",\n \"sales\": \"0.0000\",\n \"jackpot\": \"0.0000\",\n \"first_prize_num\": 0,\n \"first_prize_value\": 0,\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"competition_name\": \"xxxx\",\n \"match_time_date\": \"2023-04-26\",\n \"match_time_hour\": \"23:20开赛\",\n \"close_time\": \"2023-04-27 23:00:10\",\n \"close_time_str\": \"2023-04-27 23:00:10截止,请尽快提交投注\", // 截止时间\n \"matches\": [\n {\n \"id\": 1,\n \"ctzq_jqc_id\": 1,\n \"no\": 1,\n \"match_id\": 2000,\n \"jc_home_team_name\": \"jc_home_team_name+0\", // 主队\n \"jc_home_team_name_full\": \"jc_home_team_name_full+0\",\n \"jc_away_team_name\": \"jc_away_team_name+0\", // 客队\n \"jc_away_team_name_full\": \"jc_away_team_name_full+0\",\n \"is_reverse\": 0,\n \"result\": -1,\n \"created_at\": \"2023-04-26T15:26:31.000000Z\",\n \"updated_at\": \"2023-04-26T15:26:31.000000Z\",\n \"deleted_at\": null,\n \"home_odds_select\": [ // 主队投注分数\n {\n \"score\": \"0\", // 分数\n \"select\": false // 未选择\n },\n {\n \"score\": \"1\",\n \"select\": true // 已选择\n },\n {\n \"score\": \"2\",\n \"select\": true\n },\n {\n \"score\": \"3+\",\n \"select\": false\n }\n ],\n \"away_odds_select\": [ // 客队投注分数\n {\n \"score\": \"0\",\n \"select\": false\n },\n {\n \"score\": \"1\",\n \"select\": true\n },\n {\n \"score\": \"2\",\n \"select\": false\n },\n {\n \"score\": \"3+\",\n \"select\": false\n }\n ]\n },\n ...\n ]\n }]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqJqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_jqcCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/cart" } ] }, { "type": "POST", "url": "/api/customer/ctzq_jqc/compute", "title": "6场半全场-计算金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"money\": 111,// 价格\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqBqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_jqcCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/compute" } ] }, { "type": "POST", "url": "/api/customer/ctzq_jqc/compute", "title": "4场进球彩-计算金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"money\": 111,// 价格\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqJqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_jqcCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/compute" } ] }, { "type": "POST", "url": "/api/customer/ctzq_jqc/order/create", "title": "4场进球彩-创建订单/合买", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":4,\n \"issue_num\":20008,\n \"bets_num\":5,\n \"odds\":{\n \"5\":{ // odds id\n \"home_odds\":[1,2], // 主队投注\n \"away_odds\":[1] // 客队投注\n },\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023033000000010\", // 订单号\n \"balance\":\"0.00\", // 余额\n \"money\":0, // 订单总金额\n \"need_pay_money\":0, // 需要支付的金额\n \"username\":\"发达\", // 用户名\n \"lottery\":\"jc足球混合投注\", // 投注彩票信息\n \"pay_types\":[ // 支付方式\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqJqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_jqcOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/order/create" } ] }, { "type": "POST", "url": "/api/customer/ctzq_jqc/valid", "title": "4场进球彩-校验信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩票类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":3, // 彩种类型id\n \"issue_num\":20007, // 期号\n \"odds\":{\n \"1\":{ // odds id\n \"home_odds\":[1], // 主队得分\n \"away_odds\":[1] // 客队得分\n },\n ....\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CtzqJqcController.php", "groupTitle": "客户端", "name": "PostApiCustomerCtzq_jqcValid", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/ctzq_jqc/valid" } ] }, { "type": "POST", "url": "/api/customer/current_win_viewed", "title": "特效-查看", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "PostApiCustomerCurrent_win_viewed", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/current_win_viewed" } ] }, { "type": "POST", "url": "/api/customer/customer/bets_record", "title": "我的-投注记录", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "lottery_state", "description": "

1中;2不中;3待开奖;4待出票;5接单;10已开奖

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1, // 当前页数\n \"data\": [\n {\n \"id\": 1, // 订单id\n \"play_type\": \"mixed\",\n \"lottery_state\": 3, // 中奖状态:1中;2不中;3待开奖;4待出票\n \"lottery_prize\": \"0.00\", // 奖金\n \"lottery_id\": 1,\n \"pay_at\": \"2023-04-05 02:34:35\", // 购买时间\n \"play_type_name\": \"混合投注\", // 玩法\n \"buy_type_name\": \"自购\", // 购买类型\n \"lottery\": { // 彩种信息\n \"id\": 1,\n \"name\": \"竞彩足球\", // 彩种\n \"description\": \"出票,最低投注0元,停售前0分钟截止投注\"\n }\n }\n ],\n \"per_page\": 20,\n \"to\": 1,\n \"total\": 1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerBets_record", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/bets_record" } ] }, { "type": "POST", "url": "/api/customer/customer/change_nickname", "title": "我的-修改昵称", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "nickname", "description": "

昵称

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerChange_nickname", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/change_nickname" } ] }, { "type": "POST", "url": "/api/customer/customer/change_password", "title": "我的-修改密码", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "password_old", "description": "

旧密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

新密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

新密码确认

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerChange_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/change_password" } ] }, { "type": "POST", "url": "/api/customer/customer/change_pay_password", "title": "我的-设置支付密码", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "password_old", "description": "

旧密码,第一次设置时,可以不传

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

新密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

新密码确认

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerChange_pay_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/change_pay_password" } ] }, { "type": "POST", "url": "/api/customer/customer/copy_orders", "title": "我的-我的跟单", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "customer_id", "description": "

彩民id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,// 当前页\n \"total\":1,// 总条数\n \"data\":[{\n \"id\":8,\n \"pid\":0,\n \"order_sn\":\"P2023040100000033\", // 订单编号\n \"pass_mode\":[\n \"2.1\"\n ],\n \"play_type\":\"mixed\",\n \"money\":24, // 购买金额\n \"pay_at\":null, // 支付时间\n \"lottery_state\":3, //\n \"lottery_prize\":\"0.00\", // 奖金\n \"play_type_name\":\"混合投注\", // 玩法\n \"buy_type_name\":\"自购\",\n \"pass_mode_name\":[ // 串法\n \"2串1\"\n ],\n \"p_order\":{ //\n \"id\":10,\n \"pid\":8,\n \"customer_id\":1,\n \"play_type_name\":\"\",\n \"buy_type_name\":\"跟单\",\n \"pass_mode_name\":[\n\n ],\n \"customer\":{ // 发单人\n \"id\":1,\n \"name\":\"发达\",\n \"nickname\":\"\",\n \"avatar\":\"\"\n }\n }\n }]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerCopy_orders", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/copy_orders" } ] }, { "type": "POST", "url": "/api/customer/customer/fadan_orders", "title": "我的-我的跟单(我的方案)", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "customer_id", "description": "

彩民id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,// 当前页\n \"total\":1,// 总条数\n \"data\":[\n {\"id\":8,\n \"pid\":0,\n \"order_sn\":\"P2023040100000033\", // 订单编号\n \"pass_mode\":[\n \"2.1\"\n ],\n \"play_type\":\"mixed\",\n \"money\":24, // 购买金额\n \"pay_at\":null, // 支付时间\n \"lottery_state\":3, //\n \"lottery_prize\":\"0.00\", // 奖金\n \"play_type_name\":\"混合投注\", // 玩法\n \"buy_type_name\":\"自购\",\n \"pass_mode_name\":[ // 串法\n \"2串1\"\n ],\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerFadan_orders", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/fadan_orders" } ] }, { "type": "POST", "url": "/api/customer/customer/fans", "title": "我的-粉丝列表", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"customer_id\":3,\n \"follower_id\":1,\n \"created_at\":\"2023-04-06T06:54:56.000000Z\",\n \"updated_at\":\"2023-04-06T07:07:13.000000Z\",\n \"deleted_at\":null,\n \"follower\":{\n \"id\":3,\n \"name\":\"哦吼2\", // 名称\n \"nickname\":\"\", // 昵称\n \"avatar\":\"\", // 头像\n \"fans_num\":1, // 粉丝\n \"follower_num\":0, // 关注\n \"profit_rate\":\"\", // 盈利率\n \"seven_hit\":\"\" // 七日命中\n }\n }\n ],\n \"per_page\":20, // 每页条数\n \"total\":2 // 总条数\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerFans", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/fans" } ] }, { "type": "POST", "url": "/api/customer/customer/feedback", "title": "我的-反馈", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

反馈类型:1充值问题;2提现问题;3订单问题;4店铺问题;5账户问题;6其他问题

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "content", "description": "

内容

" }, { "group": "Parameter", "type": "Array", "optional": true, "field": "material_ids", "description": "

图片

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerFeedback", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/feedback" } ] }, { "type": "POST", "url": "/api/customer/customer/follow", "title": "我的-关注用户", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

被关注人的id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerFollow", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/follow" } ] }, { "type": "POST", "url": "/api/customer/customer/followers", "title": "我的-关注列表", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":1,\n \"customer_id\":3,\n \"follower_id\":1,\n \"created_at\":\"2023-04-06T06:54:56.000000Z\",\n \"updated_at\":\"2023-04-06T07:07:13.000000Z\",\n \"deleted_at\":null,\n \"customer\":{\n \"id\":3,\n \"name\":\"哦吼2\", // 名称\n \"nickname\":\"\", // 昵称\n \"avatar\":\"\", // 头像\n \"fans_num\":1, // 粉丝\n \"follower_num\":0, // 关注\n \"profit_rate\":\"\", // 盈利率\n \"seven_hit\":\"\" // 七日命中\n }\n }\n ],\n \"per_page\":20, // 每页条数\n \"total\":2 // 总条数\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerFollowers", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/followers" } ] }, { "type": "POST", "url": "/api/customer/customer/info", "title": "我的-用户信息", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"customer\": { // 用户信息\n \"id\": 2,\n \"shop_id\": 1,\n \"phone\": \"13511111111\",\n \"name\": \"\",\n \"nickname\": \"匿名用户\", // 所有接口中,使用该子弹展示用户名称\n \"email\": \"\",\n \"email_verified_at\": null,\n \"balance\": \"0.00\", // 余额\n \"prize_today\": \"0.00\", // 今日中奖\n \"prize_total\": \"0.00\", // 累计中奖\n \"remark\": \"\",\n \"has_pay_password\": \"\", // 是否有支付密码\n \"real_phone\": \"\", // 实名手机号\n \"real_identity\": \"\", // 实名身份证\n \"win_lead_num\": 0, // 带红人数\n \"win_alway_num\": 0, // 连胜次数\n \"star\": 0, // 是否为星标客户,1是\n \"agent\": 0, // 是否为代理客户,1是\n \"avatar\": \"\", // 头像\n \"seven_hit\": \"\", // 7日命中\n \"profit_rate\": \"\", // 盈利率\n \"fans_num\": 0, // 粉丝数\n \"follower_num\": 0, // 关注数\n \"lottery_draft_num\": 0, // 待出票数\n \"lottery_wait_num\": 0, // 待开奖数\n \"lottery_win_num\": 0, // 已中奖\n \"created_at\": \"2023-04-06T13:17:42.000000Z\",\n \"updated_at\": \"2023-04-06T13:17:42.000000Z\",\n \"deleted_at\": null\n },\n \"shop\": { // 店铺信息\n \"id\": 1,\n \"name\": \"天下第一点\", // 店铺名称\n \"seller_name\": \"天下第一点\", // 店主名\n \"seller_phone\": \"111\", // 店主手机\n \"seller_wechat\": \"111\", // 店主微信\n \"addr\": \"天下第一点\", // 店铺地址\n \"announcement\": \"天下第一点\", /// 店铺公告\n \"announcement_img_url\": \"天下第一点\", /// 店铺公告图片地址\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null\n },\n \"shops\": [ // 包含当前登录账号对应的店铺\n {\n \"id\": 2, // 用户id\n \"phone\": \"13511111111\", // 用户电话\n \"shop_id\": 1, // 店铺id\n \"shop\": {\n \"id\": 1,\n \"name\": \"天下第一点\" // 店铺名称\n }\n }\n ],\n \"config\": [\n \"fadan_brokage\":6, // 发单佣金提成\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerInfo", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/info" } ] }, { "type": "POST", "url": "/api/customer/customer/real_verify", "title": "我的-实名认证", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "real_identity", "description": "

身份证

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "real_name", "description": "

真实姓名

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerReal_verify", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/real_verify" } ] }, { "type": "POST", "url": "/api/customer/customer/standings", "title": "用户战绩", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "id", "description": "

用户id(不传默认当前登录用户)

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"customer\": { // 用户信息\n \"id\": 2,\n \"shop_id\": 1,\n \"phone\": \"13511111111\",\n \"name\": \"\",\n \"nickname\": \"匿名用户\", // 所有接口中,使用该子弹展示用户名称\n \"email\": \"\",\n \"email_verified_at\": null,\n \"balance\": \"0.00\", // 余额\n \"prize_today\": \"0.00\", // 今日中奖\n \"prize_total\": \"0.00\", // 累计中奖\n \"remark\": \"\",\n \"has_pay_password\": \"\", // 是否有支付密码\n \"real_phone\": \"\", // 实名手机号\n \"real_identity\": \"\", // 实名身份证\n \"win_lead_num\": 0, // 带红人数\n \"win_alway_num\": 0, // 连胜次数\n \"star\": 0, // 是否为星标客户,1是\n \"agent\": 0, // 是否为代理客户,1是\n \"avatar\": \"\", // 头像\n \"seven_hit\": \"\", // 7日命中\n \"profit_rate\": \"\", // 盈利率\n \"fans_num\": 0, // 粉丝数\n \"follower_num\": 0, // 关注数\n \"lottery_draft_num\": 0, // 待出票数\n \"lottery_wait_num\": 0, // 待开奖数\n \"lottery_win_num\": 0, // 已中奖\n \"followed\": true, // true已关注,false未关注\n \"created_at\": \"2023-04-06T13:17:42.000000Z\",\n \"updated_at\": \"2023-04-06T13:17:42.000000Z\",\n \"deleted_at\": null\n },\n \"five\" : [true,false] // true中奖,false未中奖\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerStandings", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/standings" } ] }, { "type": "POST", "url": "/api/customer/customer/unions", "title": "我的-合买列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

1我发起的,2我参与的

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":15,\n \"pid\":8,\n \"order_sn\":\"P2023041900000010\",\n \"money\":2, // 自购金额\n \"pay_state\":\"success\",\n \"pay_at\":\"2023-04-19 14:44:51\",\n \"odds_early_close_time\":\"2023-04-05 15:38:38\", // 截止时间\n \"odds_late_close_time\":\"2023-04-06 15:38:38\",\n \"lottery_state\":5,\n \"type_desc\":\"\",\n \"union_piece_buy\":1, // 购买份数\n \"union_piece_total\":12,\n \"union_schedule\":8,\n \"union_order\":{ // 合买主单信息\n \"id\":8,\n \"order_sn\":\"xxxx\", // 订单id,详情用这个字段\n \"money\":24, // 方案金额\n \"pay_state\":'', // ;success: 支付成功;unpay: 待支付;error: 支付失败;unequal: 支付异常,支付金额和实收金额不相等;pending: 支付处理中\n \"lottery_state\":5, // 1:中; 2:不中; 3:待开,已出票; 4:待出票,出票中; 5:待接单,未出票; 6:撤销订单\n \"union_brokerage\":1, // 佣金比例\n \"union_piece_total\":1, // 总份数\n \"union_piece_buy\":1, // 认购份数\n \"play_type_name\":\"\",\n \"buy_type_name\":\"合买\",\n \"type_desc\":\"合买\", // 合买宣言\n \"pass_mode_name\":[\n\n ]\n },\n \"lottery_type\":{\n \"id\":1,\n \"name\":\"jc足球\" // 彩种名称\n }\n }\n ],\n \"from\":1,\n \"last_page\":1,\n \"to\":1,\n \"total\":1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerUnions", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/unions" } ] }, { "type": "POST", "url": "/api/customer/customer/upload", "title": "我的-上传头像", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "file", "description": "

avatar // filename

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"path\": \"xxxxx\", // 头像地址\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerCustomerUpload", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/customer/upload" } ] }, { "type": "POST", "url": "/api/customer/dlt/cart", "title": "dlt-cart", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

数据

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/DltController.php", "groupTitle": "客户端", "name": "PostApiCustomerDltCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/dlt/cart" } ] }, { "type": "POST", "url": "/api/customer/dlt/compute", "title": "dlt-compute", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

数据

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/DltController.php", "groupTitle": "客户端", "name": "PostApiCustomerDltCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/dlt/compute" } ] }, { "type": "POST", "url": "/api/customer/dlt/order/create", "title": "dlt-order-create", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

数据

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/DltController.php", "groupTitle": "客户端", "name": "PostApiCustomerDltOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/dlt/order/create" } ] }, { "type": "POST", "url": "/api/customer/jclq/cart", "title": "竞彩蓝球-购物车信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "pass_mode_keys", "description": "

m串n的key

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"playgames\": {\n 1: { // 彩票赔率数据id\n \"rf_odds\": { // 玩法,如:sf_odds,sf_odds,sfc_odds\n \"win\": 2.3 // 投注的值\n },\n \"sf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"has_fadan\": true,// 是否支持发单\n \"has_union\": false, // 是否支持合买\n \"title\": \"\",\n \"money\": 8,\n \"prize_min\": 9.18, // 最小中奖金额\n \"prize_max\": 48.28, // 最大中间金额\n \"close_time_str\": \"1970-01-01 07:20:00截止,请尽快提交\", // 截止时间\n \"pass_mode\": [ // m串n\n {\n \"key\": \"2.1\",\n \"title\": \"2串1\"\n }\n ],\n \"odds\": [\n {\n \"id\": 1,\n \"odds_id\": 5131,\n \"match_id\": 97880,\n \"issue_num\": \"2023-05-05/周五\",\n \"play_num\": \"302\", // 场次\n \"jc_competition_name\": \"欧篮联\", // 赛事\n \"jc_competition_name_full\": \"欧洲篮球联赛\",\n \"jc_home_team_name\": \"费内巴切\", // 主队\n \"jc_home_team_name_full\": \"费内巴切\",\n \"jc_away_team_name\": \"奥林匹亚\", // 客队\n \"jc_away_team_name_full\": \"奥林匹亚科斯\",\n \"sale_state\": \"selling\",\n \"is_reverse\": 0,\n \"close_time\": \"2023-05-05 22:00:00\", // 比赛截止时间\n \"order_state\": \"selling\",\n \"sf_odds\": { // 下注信息\n \"win\": 1.76,\n \"loss\": 1.64\n },\n \"created_at\": \"2023-05-05 20:35:37\",\n \"updated_at\": \"2023-05-05 20:35:37\",\n \"deleted_at\": null,\n \"real_close_time\": \"1970-01-01 07:40:00\", // 下注截止时间\n \"real_close_str\": \"07:40截止\", // 截止时间\n \"issue_num_week\": \"周五\", // 星期n\n \"issue_num_day\": \"2023-05-05\" // 日期\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JclqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJclqCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jclq/cart" } ] }, { "type": "POST", "url": "/api/customer/jclq/compute", "title": "竞彩蓝球-计算奖金和投注金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "pass_mode_keys", "description": "

m串n的key

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"playgames\": {\n 1: { // 彩票赔率数据id\n \"rf_odds\": { // 玩法,如:sf_odds,sf_odds,sfc_odds\n \"win\": 2.3 // 投注的值\n },\n \"sf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"money\": 24, // 投注金额\n \"prize_min\": 200, // 最低中奖金额\n \"prize_max\": 400 // 最高中奖金额\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JclqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJclqCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jclq/compute" } ] }, { "type": "POST", "url": "/api/customer/jclq/order/create", "title": "竞彩篮球-创建订单/发单/合买", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "pass_mode_keys", "description": "

过关方式

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

1普通投注;2发单;3合买;4跟单

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "fadan_order_no", "description": "

跟单的订单no(只有在type=4的时候生效)

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "type_mode", "description": "

1截止后公开,2公开;3认购可见

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "type_desc", "description": "

发单/合买描述,发单/合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_total", "description": "

总份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_buy", "description": "

购买份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_keep", "description": "

保底份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_keep", "description": "

是否全额保底:1是,0否,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_brokerage", "description": "

佣金,合买时必填

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":1, // 彩种\n \"bets_num\":2, // 倍数\n \"play_type\":\"all\", // 玩法\n \"pass_mode_keys\":[\"2.1\"], // 过关方式\n \"odds\":{ // 赔率/组合投注信息\n \"1\":{ // 彩票赔率数据id\n \"spf_odds\":{\n \"win\":2.3,\n \"loss\":3.1\n },\n \"rq_odds\":{\n \"win\":1.2\n }\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023033000000010\", // 订单号\n \"balance\":\"0.00\", // 余额\n \"money\":0, // 订单总金额\n \"need_pay_money\":0, // 需要支付的金额\n \"username\":\"发达\", // 用户名\n \"lottery\":\"jc足球混合投注\", // 投注彩票信息\n \"pay_types\":[ // 支付方式\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JclqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJclqOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jclq/order/create" } ] }, { "type": "POST", "url": "/api/customer/jclq/valid", "title": "竞彩篮球-验证组合方案是否可用", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"playgames\": {\n 1: { // 彩票赔率数据id\n \"rf_odds\": { // 玩法,如:sf_odds,sf_odds,sfc_odds\n \"win\": 2.3 // 投注的值\n },\n \"sf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 410,\n \"message\": \"不允许组合方案\", // 验证结果信息(只要code不是200,就是未通过验证)\n \"data\": null\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JclqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJclqValid", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jclq/valid" } ] }, { "type": "POST", "url": "/api/customer/jczq/cart", "title": "竞彩足球-购入车信息", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"playgames\": {\n 1: { // 彩票赔率数据id\n \"spf_odds\": { // 玩法,如:spf,bf,bqc(胜平负,比分,半全场)等\n \"win\": 2.3 // 投注的值\n },\n \"bf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"has_fadan\": true,// 是否支持发单\n \"has_union\": false, // 是否支持合买\n \"money\": 12, // 投注金额\n \"prize_min\": 100, // 最低奖金\n \"prize_max\": 200, // 最高奖金\n \"close_time_str\": \"3214:323 32:32:32截止,请尽快提交投注\", // 提示信息\n \"pass_mode\":\n {\n \"multi\": [], // 多选\n \"single\": [ // 单选\n {\n \"key\": \"2.1\",\n \"title\": \"2串1\"\n }\n ]\n }\n ,\n \"odds\": [ // 购买界面所需信息,字段参考【竞彩足球-投注列表】\n {\n \"id\": 3,\n \"lottery_type_id\": 1,\n \"odds_id\": 1,\n \"match_id\": 1,\n \"issue_num\": \"2022-01-01/周一\",\n \"play_num\": 21,\n \"jc_competition_name\": \"adsf离开家\",\n \"jc_competition_name_full\": \"发三分大赛\",\n \"jc_home_team_name\": \"发顺丰\",\n \"jc_home_team_name_full\": \"发送\",\n \"jc_away_team_name\": \"fda\",\n \"jc_away_team_name_full\": \"fda\",\n \"sale_state\": \"selling\",\n \"is_reverse\": 0,\n \"real_close_time\": \"1969-12-31 23:50:00\",\n \"order_state\": \"selling\",\n \"spf_odds\": {\n \"win\": 2.85,\n \"loss\": 2.25\n },\n \"rq_odds\": {\n \"win\": 2.85\n },\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null,\n \"real_close_str\": \"23:50截止\",\n \"issue_num_week\": \"周一\",\n \"issue_num_day\": \"2022-01-01\"\n },\n ...\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JczqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJczqCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jczq/cart" } ] }, { "type": "POST", "url": "/api/customer/jczq/compute", "title": "竞彩足球-计算奖金和投注金额", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "pass_mode_keys", "description": "

m串n的key

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"playgames\": {\n 1: { // 彩票赔率数据id\n \"spf_odds\": { // 玩法,如:spf,bf,bqc(胜平负,比分,半全场)等\n \"win\": 2.3 // 投注的值\n },\n \"bf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"money\": 24, // 投注金额\n \"prize_min\": 200, // 最低中奖金额\n \"prize_max\": 400 // 最高中奖金额\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JczqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJczqCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jczq/compute" } ] }, { "type": "POST", "url": "/api/customer/jczq/order/create", "title": "竞彩足球-创建订单/发单/合买", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "pass_mode_keys", "description": "

过关方式

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

1普通投注;2发单;3合买;4跟单

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "fadan_order_no", "description": "

跟单的订单no(只有在type=4的时候生效)

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "type_mode", "description": "

1截止后公开,2公开;3认购可见

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "type_desc", "description": "

发单/合买描述,发单/合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_total", "description": "

总份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_buy", "description": "

购买份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_piece_keep", "description": "

保底份数,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_keep", "description": "

是否全额保底:1是,0否,合买时必填

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "union_brokerage", "description": "

佣金,合买时必填

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\":1, // 彩种\n \"bets_num\":2, // 倍数\n \"play_type\":\"all\", // 玩法\n \"pass_mode_keys\":[\"2.1\"], // 过关方式\n \"odds\":{ // 赔率/组合投注信息\n \"1\":{ // 彩票赔率数据id\n \"spf_odds\":{\n \"win\":2.3,\n \"loss\":3.1\n },\n \"rq_odds\":{\n \"win\":1.2\n }\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023033000000010\", // 订单号\n \"balance\":\"0.00\", // 余额\n \"money\":0, // 订单总金额\n \"need_pay_money\":0, // 需要支付的金额\n \"username\":\"发达\", // 用户名\n \"lottery\":\"jc足球混合投注\", // 投注彩票信息\n \"pay_types\":[ // 支付方式\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JczqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJczqOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jczq/order/create" } ] }, { "type": "POST", "url": "/api/customer/jczq/valid", "title": "竞彩足球-验证组合方案是否可用", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "play_type", "description": "

玩法

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

组合投注信息

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"lottery_type_id\": 1, // 彩种类型id\n \"play_type\": \"bf_odds\", // 玩法\n \"odds\": {\n 1: { // 彩票赔率数据id\n \"spf_odds\": { // 玩法,如:spf,bf,bqc(胜平负,比分,半全场)等\n \"win\": 2.3 // 投注的值\n },\n \"bf_odds\": {\n \"win\": 2.3\n },\n ...\n },\n ...\n }\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 410,\n \"message\": \"不允许组合方案\", // 验证结果信息(只要code不是200,就是未通过验证)\n \"data\": null\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/JczqController.php", "groupTitle": "客户端", "name": "PostApiCustomerJczqValid", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/jczq/valid" } ] }, { "type": "POST", "url": "/api/customer/login", "title": "auth-登录", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "phone", "description": "

手机号码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"access_token\": \"eyJ0eXA5z7uNNgL76GgVGFFMOuINwHJnG73s\", // token\n \"token_type\": \"bearer\",\n \"expires_in\": 36000 // 有效时长(秒)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "PostApiCustomerLogin", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/login" } ] }, { "type": "POST", "url": "/api/customer/match/jczq", "title": "比分-竞彩足球", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "date", "description": "

日期

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"dates\": [{ // 用户信息\n \"date\": 2,\n \"date_str\": 1,\n \"week_str\": \"13511111111\"\n }],\n \"result\" :[{ // 比赛信息\n }],\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/MatchController.php", "groupTitle": "客户端", "name": "PostApiCustomerMatchJczq", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/match/jczq" } ] }, { "type": "POST", "url": "/api/customer/match/lq", "title": "比分-竞彩篮球", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "date", "description": "

日期

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"dates\": [{ // 用户信息\n \"date\": 2,\n \"date_str\": 1,\n \"week_str\": \"13511111111\"\n }],\n \"result\" :[{ // 比赛信息\n }],\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/MatchController.php", "groupTitle": "客户端", "name": "PostApiCustomerMatchLq", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/match/lq" } ] }, { "type": "POST", "url": "/api/customer/order/bills", "title": "我的-交易明细", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "lottery_state", "description": "

1中;2不中;3待开奖;4待出票;5接单;10已开奖

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"bill_types\": [ // 交易明细类型\n {\n \"name\": \"全部\",\n \"bill_type\": 0\n },\n {\n \"name\": \"充值\",\n \"bill_type\": 1\n },\n {\n \"name\": \"投注\",\n \"bill_type\": 2\n },\n {\n \"name\": \"反奖\",\n \"bill_type\": 3\n },\n {\n \"name\": \"提款\",\n \"bill_type\": 4\n },\n {\n \"name\": \"其他\",\n \"bill_type\": -1\n }\n ],\n \"bills\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 11,\n \"type\": 2, //\n \"customer_id\": 1,\n \"customer_balance\": \"9856.00\", // 用户余额\n \"ie\": \"-\", // - 减少,+增加\n \"money\": \"120.00\", // 金额\n \"recharge_id\": 0,\n \"order_id\": null,\n \"title\": \"充值\", // 标题\n \"seller_id\": 0,\n \"created_at\": \"2023-04-09T07:36:12.000000Z\", // 时间\n \"updated_at\": \"2023-04-09T07:36:12.000000Z\",\n \"deleted_at\": null\n },\n ],\n \"prev_page_url\": null,\n \"to\": 10,\n \"total\": 10 // 总条数\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/CustomerController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderBills", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/bills" } ] }, { "type": "POST", "url": "/api/customer/order/copies", "title": "跟单-大厅列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "filter", "description": "

hit_rate:命中率;hot: 跟单人气;money: 自购金额;follow: 我的关注

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "nickname", "description": "

彩民昵称

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"nickname\": \"\", // 用户昵称\n \"name\": \"发达\", // 用户名称\n \"win_alway_num\": 0, // 连胜次数\n \"avatar\": \"\", // 用户头像\n \"id\": 1,\n \"customer_id\": 1,\n \"lottery_id\": 1,\n \"money\": 24, // 自购金额\n \"pid\": 0,\n \"odds_early_close_time\": \"2023-04-05 15:48:38\", // 结束时间\n \"play_type\": \"mixed\",\n \"pass_mode\": [ // 玩法\n \"2.1\"\n ],\n \"copy_num\": 0,\n \"play_type_name\": \"混合投注\", // 玩法名称\n \"buy_type_name\": \"自购\", // 购买类型\n \"pass_mode_name\": [\n \"2串1\"\n ],\n \"lottery\": {\n \"id\": 1,\n \"name\": \"竞彩足球\", // 彩种名称\n \"description\": \"出票,最低投注0元,停售前0分钟截止投注\"\n }\n },\n ],\n \"from\": 1,\n \"per_page\": 20,\n \"to\": 2,\n \"total\": 2\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderCopies", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/copies" } ] }, { "type": "POST", "url": "/api/customer/order/copy", "title": "跟单创建", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

金额

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "bets_num", "description": "

倍数

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"id\":1, // 订单id\n \"money\":2, // 金额\n \"bets_num\":2,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023033000000010\", // 订单号\n \"balance\":\"0.00\", // 余额\n \"money\":0, // 订单金额\n \"username\":\"发达\", // 用户名\n \"lottery\":\"jc足球混合投注\", // 投注彩票信息\n \"pay_types\":[ // 支付方式\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderCopy", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/copy" } ] }, { "type": "POST", "url": "/api/customer/order/create_union", "title": "合买-创建合买订单", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "buy_piece", "description": "

购买份数

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023041900000001\",\n \"balance\":\"9840.00\", // 余额\n \"money\":10, // 投注金额\n \"username\":\"发达\", // 昵称\n \"lottery\":\"jc足球混合投注\",\n \"pay_types\":[\n {\n \"pay_type\":\"alipay\",\n \"name\":\"支付宝\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderCreate_union", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/create_union" } ] }, { "type": "POST", "url": "/api/customer/order/union_show", "title": "合买-详情", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"customer\":{\n \"id\":1,\n \"name\":\"发达\", // 真是姓名\n \"nickname\":\"大象\", // 用户昵称\n \"email\":\"fdsa\",\n \"email_verified_at\":null,\n \"remark\":\"\",\n \"win_alway_num\":0,\n \"win_lead_num\":0,\n \"star\":0,\n \"agent\":1,\n \"avatar\":\"/avatar/TM1f852RwuK2Dh6b5xcfT8q3xPOdY2I3nKMl1G5P.png\", // 头像\n \"seven_hit\":\"\",\n \"profit_rate\":\"\",\n \"fans_num\":0, // 粉丝数\n \"follower_num\":0,\n \"pay_time\":0,\n \"pay_money\":\"0.00\",\n \"client_type\":0,\n \"level_name\":\"储备组长\",\n },\n \"order\":{\n \"id\":6,\n \"pid\":0,\n \"order_sn\":\"P2023041900000001\", // 订单编号\n \"customer_id\":1,\n \"lottery_id\":1,\n \"shop_id\":1,\n \"lottery_type_id\":1,\n \"type\":3,\n \"copy_num\":0,\n \"bets_num\":2,\n \"piao_num\":2, // 票数\n \"money\":24,\n \"prize_min\":\"11.04\",\n \"prize_max\":\"142.56\",\n \"pass_mode\":[\n \"2.1\"\n ],\n \"play_type\":\"mixed\",\n \"pay_type\":\"\",\n \"pay_state\":\"success\",\n \"pay_at\":\"2023-04-19 12:53:15\",\n \"odds_early_close_time\":\"2023-04-05 15:38:38\", // 截止时间\n \"created_at\":\"2023-04-06 15:38:38\", // 发单时间\n \"lottery_qupiao\":0,\n \"lottery_state\":5,\n \"lottery_prize\":\"0.00\",\n \"lottery_send_prize\":0,\n \"lottery_tax_prize\":\"0.00\",\n \"type_mode\":3, // 1截止后公开;2公开;3认购可见\n \"type_desc\":\"这是个合买\", // 合买宣言\n \"union_pay_success\":0,\n \"union_brokerage\":1, //\n \"union_keep\":1, // 是否全额保底\n \"union_piece_keep\":2, // 保底份数\n \"union_piece_self\":6, // 自购份数\n \"union_piece_buy\":6, // 已购份数\n \"union_piece_total\":12, // 总份数\n \"union_schedule\":50, // 合买进度1-100\n\n \"sellings\":[ // 参考订单详情\n\n ],\n \"chang_num\":2,\n \"pass_mode_names\":[\n \"2串1\"\n ],\n \"play_name\":\"竞彩足球\",\n \"play_type_name\":\"混合投注\",\n \"buy_type_name\":\"自购\",\n \"pass_mode_name\":[\n \"2串1\"\n ],\n },\n \"users\":[\n {\n \"id\":1,\n \"order_id\":6,\n \"customer_id\":1,\n \"union_piece_total\":12, // 总份额\n \"union_piece_buy\":6, // 购买份额\n \"money\":\"16.00\", // 出资\n \"created_at\":\"2023-04-19T12:53:15.000000Z\",\n \"updated_at\":\"2023-04-19T12:53:15.000000Z\",\n \"deleted_at\":null,\n \"customer\":{ // 彩友信息\n \"id\":1,\n \"avatar\":\"/avatar/TM1f852RwuK2Dh6b5xcfT8q3xPOdY2I3nKMl1G5P.png\",\n \"nickname\":\"大象\",\n \"name\":\"发达\",\n \"level_score\":0,\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\"\n }\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderUnion_show", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/union_show" } ] }, { "type": "POST", "url": "/api/customer/order/union_show", "title": "合买-剩余份数", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"order_sn\":\"P2023041900000001\", // 订单号\n \"remain_piece\":6, // 剩余份数\n \"union_piece_money\":2 // 每份金额\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderUnion_show", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/union_show" } ] }, { "type": "POST", "url": "/api/customer/order/unions", "title": "合买-列表", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "sort_filter", "description": "

schedule进度,new最新,seven七日命中,follow我的关注

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"customer\":{\n \"id\":1,\n \"nickname\":\"大象\", // 合买发起人\n \"avatar\":\"/avatar/TM1f852RwuK2Dh6b5xcfT8q3xPOdY2I3nKMl1G5P.png\", // 头像\n \"name\":\"发达\",\n \"level_score\":0,\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\"\n },\n \"lottery\":{\n \"id\":1,\n \"name\":\"竞彩足球\", // 彩种\n },\n \"id\":2,\n \"order_sn\":\"P2023041800000002\",\n \"money\":24, // 方案金额\n \"odds_early_close_time\":\"2023-04-05 15:38:38\", // 截止时间\n \"odds_late_close_time\":\"2023-04-06 15:38:38\",\n \"type_mode\":3,\n \"type_desc\":\"这是个合买\", // 合买宣言\n \"union_pay_success\":0,\n \"union_brokerage\":1, // 佣金比例\n \"union_keep\":1, // 全额保底:1是;0否\n \"union_piece_keep\":6, // 保底份数\n \"union_piece_self\":0, // 发起人购买份数\n \"union_piece_buy\":6, // 已购买份数\n \"union_piece_total\":12, // 总份数\n\n }\n ],\n \"from\":1,\n \"per_page\":20,\n \"to\":4,\n \"total\":4 // 总条数\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/OrderController.php", "groupTitle": "客户端", "name": "PostApiCustomerOrderUnions", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/order/unions" } ] }, { "type": "POST", "url": "/api/customer/pls/cart", "title": "pls-cart", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlsController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlsCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/pls/cart" } ] }, { "type": "POST", "url": "/api/customer/pls/compute", "title": "pls-compute", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlsController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlsCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/pls/compute" } ] }, { "type": "POST", "url": "/api/customer/pls/order/create", "title": "pls-order-create", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlsController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlsOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/pls/order/create" } ] }, { "type": "POST", "url": "/api/customer/plw/cart", "title": "plw-cart", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlwController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlwCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/plw/cart" } ] }, { "type": "POST", "url": "/api/customer/plw/compute", "title": "plw-compute", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlwController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlwCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/plw/compute" } ] }, { "type": "POST", "url": "/api/customer/plw/order/create", "title": "plw-order-create", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_type\":\"danshi\", // danshi | fushi\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/PlwController.php", "groupTitle": "客户端", "name": "PostApiCustomerPlwOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/plw/order/create" } ] }, { "type": "POST", "url": "/api/customer/qxc/cart", "title": "qxc-cart", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/QxcController.php", "groupTitle": "客户端", "name": "PostApiCustomerQxcCart", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/qxc/cart" } ] }, { "type": "POST", "url": "/api/customer/qxc/compute", "title": "qxc-compute", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "odds", "description": "

数据

" } ] }, "examples": [ { "title": "请求数据demo", "content": "{\n \"lottery_type_id\":6,\n \"odds\":[\n {\n \"play_odd\":[[0,1,2,3],[1,6,7],[2],[3],[4], [5],[6]], // 选择的\n \"bets_num\":1 // 倍数\n },\n\n ]\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/QxcController.php", "groupTitle": "客户端", "name": "PostApiCustomerQxcCompute", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/qxc/compute" } ] }, { "type": "POST", "url": "/api/customer/qxc/order/create", "title": "qxc-order-create", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

类型ID

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "odds", "description": "

数据

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"zhu_num\":5,\n \"bets_num\":2,\n \"expect_bets\":0,\n \"money\":10, // 总金额\n \"prize_min\":0,\n \"prize_max\":0\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/QxcController.php", "groupTitle": "客户端", "name": "PostApiCustomerQxcOrderCreate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/qxc/order/create" } ] }, { "type": "POST", "url": "/api/customer/refresh_token", "title": "auth-刷新token", "version": "0.1.0", "group": "客户端", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"access_token\": \"eyJ0eXA5z7uNNgL76GgVGFFMOuINwHJnG73s\", // token\n \"token_type\": \"bearer\",\n \"expires_in\": 36000 // 有效时长(秒)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "PostApiCustomerRefresh_token", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/refresh_token" } ] }, { "type": "POST", "url": "/api/customer/register", "title": "auth-注册", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "phone", "description": "

手机号码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

密码确认

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "shopsn", "description": "

店铺编号

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "agtcid", "description": "

代理id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"注册成功,请登录...\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "PostApiCustomerRegister", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/register" } ] }, { "type": "POST", "url": "/api/customer/switch_account", "title": "auth-切换账号(更换店铺)", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "shop_id", "description": "

店铺id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

用户id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"access_token\": \"eyJ0eXA5z7uNNgL76GgVGFFMOuINwHJnG73s\", // token\n \"token_type\": \"bearer\",\n \"expires_in\": 36000 // 有效时长(秒)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/IndexController.php", "groupTitle": "客户端", "name": "PostApiCustomerSwitch_account", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/switch_account" } ] }, { "type": "POST", "url": "/api/customer/upload", "title": "上传文件", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "File", "optional": false, "field": "file", "description": "

文件的name

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

3:反馈;

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"id\": 2, // id\n \"file_url\": \"http://localhost/uploads/lottery/aEZKWqAm7qXR896PIE1cNtHbGaTYCbuDsfijFHuT.jpg\" // 地址\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/UploadController.php", "groupTitle": "客户端", "name": "PostApiCustomerUpload", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/upload" } ] }, { "type": "POST", "url": "/api/customer/wallet/pay_order", "title": "支付-订单支付", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Float", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"order_sn\":\"xxxxx\",\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{ // 二维码\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "PostApiCustomerWalletPay_order", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/pay_order" } ] }, { "type": "POST", "url": "/api/customer/wallet/recharge", "title": "支付-充值(获取充值单号)", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Float", "optional": false, "field": "pay_money", "description": "

支付金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "pay_type", "description": "

支付方式

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "order_sn", "description": "

订单号

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"order_sn\":\"xxxx\",\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": [\n \"code\" => \"10000\"\n \"msg\" => \"Success\"\n \"out_trade_no\" => \"P2012321321432431322\"\n \"qr_code\" => \"https://qr.alipay.com/bax03864rcibb2pkssnb3082\" // 二维码链接\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "PostApiCustomerWalletRecharge", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/recharge" } ] }, { "type": "POST", "url": "/api/customer/wallet/recharge_query", "title": "支付-查询充值结果", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "recharge_sn", "description": "

充值订单编号

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": \"xxxxxx\" // 此处应该是个form\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "PostApiCustomerWalletRecharge_query", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/recharge_query" } ] }, { "type": "POST", "url": "/api/customer/wallet/redirect_pay", "title": "支付-跳转到第三方支付", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "recharge_sn", "description": "

充值订单编号

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": \"xxxxxx\" // 此处应该是个form\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "PostApiCustomerWalletRedirect_pay", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/redirect_pay" } ] }, { "type": "POST", "url": "/api/customer/wallet/withdraw_money", "title": "我的-提现", "version": "0.1.0", "group": "客户端", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

1支付宝;2银行卡

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

提现金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "ali_account", "description": "

支付宝账号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_no", "description": "

银行卡号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_area", "description": "

银行卡所在地

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_master", "description": "

开户行

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_pay", "description": "

支付密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Customer/WalletController.php", "groupTitle": "客户端", "name": "PostApiCustomerWalletWithdraw_money", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/withdraw_money" } ] }, { "type": "GET", "url": "/api/customer/wallet/withdraw", "title": "用户提现-列表", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "state", "description": "

提现状态:1待处理;2已提现;3提现失败

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "customer_id", "description": "

彩民id

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"shop_id\": 1,\n \"customer_id\": 1,\n \"freeze_id\": 1,\n \"money\": 10, // 提现金额\n \"type\": 1, // 1支付宝;2银行卡\n \"ali_account\": \"ssssss\", // 阿里账号\n \"bank_no\": \"\", // 银行卡号\n \"bank_area\": \"\",\n \"bank_master\": \"\",\n \"bank_branch\": \"\",\n \"state\": 1, // 1待处理,2成功;3失败\n \"seller_id\": 0,\n \"seller_remark\": \"\", // 处理备注\n \"remark_at\": null,\n \"created_at\": \"2023-04-25T13:03:39.000000Z\",\n \"updated_at\": \"2023-04-25T13:03:39.000000Z\",\n \"deleted_at\": null,\n \"customer\": {\n \"id\": 1,\n \"name\": \"发达\", // 真是姓名\n \"nickname\": \"大象\", // 昵称\n \"avatar\": \"/avatar/TM1f852RwuK2Dh6b5xcfT8q3xPOdY2I3nKMl1G5P.png\", //头像\n \"level_name\": \"储备组长\", //\n \"level_score_group\": \"5000\",\n \"lottery_state_name\": \"\",\n \"client_type_name\": \"未知\"\n }\n }\n ],\n \"from\": 1,\n \"per_page\": 20,\n\n \"total\": 1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "GetApiCustomerWalletWithdraw", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/wallet/withdraw" } ] }, { "type": "GET", "url": "/api/seller/app/version_info", "title": "App-下载信息", "version": "0.1.0", "group": "店主", "filename": "app/Http/Controllers/Api/Seller/AppController.php", "groupTitle": "店主", "name": "GetApiSellerAppVersion_info", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/app/version_info" } ] }, { "type": "GET", "url": "/api/seller/customer/list", "title": "用户管理-用户列表", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

2下单和星标用户;其他全部用户

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "agent", "description": "

1代理用户;其他不生效

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "sort", "description": "

倒序:register注册时间(默认);balance余额;(全部用户生效)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "keyword", "description": "

昵称/手机号/真是姓名搜索

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"data\": [\n {\n \"id\": 2, // ID\n \"shop_id\": 1,\n \"phone\": \"13511111111\" , // 手机号\n \"name\": \"\",\n \"nickname\": \"\", // 昵称\n \"password_pay\": \"\",\n \"balance\": \"10000.00\", // 余额\n \"remark\": \"\", // 店主备注名称\n \"win_alway_num\": 0,\n \"win_lead_num\": 0,\n \"star\": 1, // 1星标用户;0非星标用户\n \"agent\": 0,\n \"avatar\": \"\",\n \"seven_hit\": \"\",\n \"profit_rate\": \"\",\n \"fans_num\": 0,\n \"follower_num\": 0,\n \"pay_time\": 1, // 下单时间\n \"pay_money\": \"0.00\", // 下单金额\n \"lottery_state\": 0,\n \"lottery_state_name\": \"\" // 订单状态\n \"deleted_at\": null,\n \"level_name\": \"储备组长\",\n \"level_score_group\": \"5000\"\n }\n ],\n \"per_page\": 20,\n \"to\": 1,\n \"total\": 1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "GetApiSellerCustomerList", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/list" } ] }, { "type": "GET", "url": "/api/seller/customer/list", "title": "用户管理-用户详情", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"id\": 2, // ID\n \"shop_id\": 1,\n \"phone\": \"13511111111\" , // 手机号\n \"name\": \"\",\n \"nickname\": \"\", // 昵称\n \"password_pay\": \"\",\n \"balance\": \"10000.00\", // 余额\n \"remark\": \"\", // 店主备注名称\n \"win_alway_num\": 0,\n \"win_lead_num\": 0,\n \"star\": 1, // 1星标用户;0非星标用户\n \"agent\": 0,\n \"avatar\": \"\",\n \"seven_hit\": \"\",\n \"profit_rate\": \"\",\n \"fans_num\": 0,\n \"follower_num\": 0,\n \"pay_time\": 1, // 下单时间\n \"pay_money\": \"0.00\", // 下单金额\n \"lottery_state\": 0,\n \"lottery_state_name\": \"\" // 订单状态\n \"deleted_at\": null,\n \"level_name\": \"储备组长\",\n \"level_score_group\": \"5000\"\n \"client_type_name\": 注册来源\n \"agentor\": { // 当前用户的代理\n \"id\": 4,\n \"avatar\": \"\",\n \"nickname\": \"\",\n \"remark\": \"\",\n \"name\": \"\",\n \"created_at\": \"2023-04-10T12:23:12.000000Z\",\n \"level_name\": \"储备组长\",\n \"level_score_group\": \"5000\",\n \"lottery_state_name\": \"\"\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "GetApiSellerCustomerList", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/list" } ] }, { "type": "GET", "url": "/api/seller/lottery", "title": "彩种列表(订单管理搜索用)", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 0, // id\n \"type\": \"\", // 彩种类型\n \"name\": \"全部\" // 彩种名称\n },\n {\n \"id\": 1,\n \"type\": \"jczq\",\n \"name\": \"竞彩足球\"\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/LotteryController.php", "groupTitle": "店主", "name": "GetApiSellerLottery", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/lottery" } ] }, { "type": "GET", "url": "/api/seller/lottery", "title": "彩种管理", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "[\n {\n \"id\": 1, // id\n \"opened\": 1, // 彩种开关:1开启,0关闭\n \"description\": \"出票,最低投注10元,停售前10分钟截止投注\", // 描述\n \"lottery_type\": {\n \"id\": 1,\n \"type\": \"jczq\",\n \"name\": \"jc足球\", // 彩名称\n },\n ...\n]", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/LotteryController.php", "groupTitle": "店主", "name": "GetApiSellerLottery", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/lottery" } ] }, { "type": "GET", "url": "/api/seller/lottery/config", "title": "彩种配置-展示", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": [\n {\n \"type\": \"switch\", // switch开关,input弹框input表单\n \"field\": \"opened\", // 配置字段\n \"field_val\": 1, // 配置字段的值\n \"name\": \"彩种开关\", // 标题\n \"desc\": \"关闭后,用户无法看到此彩种,请谨慎操作!\" // 描述\n },\n ...\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/LotteryController.php", "groupTitle": "店主", "name": "GetApiSellerLotteryConfig", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/lottery/config" } ] }, { "type": "GET", "url": "/api/seller/lottery/config_list", "title": "彩种配置-列表", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"lottery_type\":{\n \"id\":2, // 彩种id\n \"type\":\"jclq\",\n \"status\":1,\n \"name\":\"jc篮球\", // 彩种名称\n \"icon\":\"\",\n \"info\":\"谢谢谢谢谢寻寻\",\n \"created_at\":null,\n \"updated_at\":null,\n \"deleted_at\":null\n },\n \"description\":\"出票,最低投注10元,停售前20分钟截止投注\" // 描述\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/LotteryController.php", "groupTitle": "店主", "name": "GetApiSellerLotteryConfig_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/lottery/config_list" } ] }, { "type": "GET", "url": "/api/seller/order/list", "title": "订单管理-订单列表", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "filter", "description": "

过滤条件,对应tabs中的filter

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "sort", "description": "

close_time截止时间,money金额排序,pay_at下单时间

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"orders\": [\n {\n \"id\": 2,\n \"pid\": 0,\n \"order_sn\": \"P2023040900000002\",\n \"money\": 24,\n \"pay_state\": \"success\",\n \"pay_at\": \"2023-04-09 03:41:06\",\n \"odds_early_close_time\": \"2023-04-15 15:38:38\",\n \"odds_late_close_time\": \"2023-04-16 15:38:38\",\n \"lottery_state\": 5,\n \"lottery_prize\": \"0.00\",\n \"lottery_tax_prize\": \"0.00\",\n \"type_mode\": 1,\n \"type_desc\": \"浪费大家发的啦\",\n \"play_type_name\": \"混合投注\",\n \"buy_type_name\": \"自购\",\n \"lottery\": {\n \"id\": 1,\n \"name\": \"竞彩足球\",\n \"description\": \"出票,最低投注0元,停售前0分钟截止投注\"\n },\n \"customer\": {\n \"id\": 1,\n \"nickname\": \"大象\",\n \"phone\": \"13511111111\",\n \"level_name\": \"储备组长\",\n \"level_score_group\": \"5000\"\n }\n },\n ],\n \"tabs\": [\n {\n \"name\": \"未接单\",\n \"count\": 2,\n \"filter\": \"pending\"\n },\n {\n \"name\": \"未出票\",\n \"count\": 0,\n \"filter\": \"draft\"\n },\n {\n \"name\": \"合买\",\n \"count\": 0,\n \"filter\": \"union\"\n },\n { // 这一部分暂时不支持\n \"name\": \"合作\",\n \"feat_cp_count\": 2,\n \"feat_pdwc_count\": 2,\n \"child\": [\n {\n \"name\": \"合作出票\",\n \"count\": 2,\n \"filter\": \"feat_cp\"\n },\n {\n \"name\": \"合作派单未出\",\n \"count\": 2,\n \"filter\": \"feat_pdwc\"\n }\n ]\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderList", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/list" } ] }, { "type": "GET", "url": "/api/seller/order/search", "title": "个人中心-订单查询", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "filter", "description": "

过滤条件,对应tabs中的filter

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "filter_child", "description": "

过滤条件,对应search_filter中的filter_child的filter

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "lottery_type_id", "description": "

彩种类型id

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "lottery_state_id", "description": "

订单状态id,对应search_filter中的lottery_states的id

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_start", "description": "

开始日期,2001-01-01

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_end", "description": "

结束日期,2001-01-01

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"orders\": [\n {\n \"id\": 2,\n \"pid\": 0,\n \"order_sn\": \"P2023040900000002\",\n \"money\": 24,\n \"pay_state\": \"success\",\n \"pay_at\": \"2023-04-09 03:41:06\",\n \"odds_early_close_time\": \"2023-04-15 15:38:38\",\n \"odds_late_close_time\": \"2023-04-16 15:38:38\",\n \"lottery_state\": 5,\n \"lottery_prize\": \"0.00\",\n \"lottery_tax_prize\": \"0.00\",\n \"type_mode\": 1,\n \"type_desc\": \"浪费大家发的啦\",\n \"play_type_name\": \"混合投注\",\n \"buy_type_name\": \"自购\",\n \"lottery\": {\n \"id\": 1,\n \"name\": \"竞彩足球\",\n \"description\": \"出票,最低投注0元,停售前0分钟截止投注\"\n },\n \"customer\": {\n \"id\": 1,\n \"nickname\": \"大象\",\n \"phone\": \"13511111111\",\n \"level_name\": \"储备组长\",\n \"level_score_group\": \"5000\"\n }\n },\n ],\n \"tabs\": [\n {\n \"name\": \"未接单\",\n \"count\": 2,\n \"filter\": \"pending\"\n },\n {\n \"name\": \"未出票\",\n \"count\": 0,\n \"filter\": \"draft\"\n },\n {\n \"name\": \"合买\",\n \"count\": 0,\n \"filter\": \"union\"\n },\n {\n \"name\": \"合作\",\n \"feat_cp_count\": 2,\n \"feat_pdwc_count\": 2,\n \"child\": [\n {\n \"name\": \"合作出票\",\n \"count\": 2,\n \"filter\": \"feat_cp\"\n },\n {\n \"name\": \"合作派单未出\",\n \"count\": 2,\n \"filter\": \"feat_pdwc\"\n }\n ]\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderSearch", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/search" } ] }, { "type": "GET", "url": "/api/seller/order/search_filter", "title": "个人中心-订单查询搜索条件", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"lottery_types\": [ // 彩种类型\n {\n \"id\": 0,\n \"type\": \"\",\n \"name\": \"全部\"\n },\n {\n \"id\": 1,\n \"type\": \"jczq\",\n \"name\": \"jc足球\"\n },\n ],\n \"lottery_states\": [ // 订单状态\n {\n \"id\": 0,\n \"name\": \"全部\"\n },\n {\n \"id\": 5,\n \"name\": \"未出票\"\n }\n ],\n \"filter\": [ // tab选项\n {\n \"name\": \"店内订单\",\n \"filter\": \"feat_instore\"\n },\n {\n \"name\": \"合作订单(出票)\",\n \"filter\": \"feat_cp\"\n },\n {\n \"name\": \"合作订单(派单)\",\n \"filter\": \"feat_pd\"\n }\n ],\n \"filter_child\": [ // 出票,合买\n {\n \"name\": \"出票\",\n \"filter\": \"cp\"\n },\n {\n \"name\": \"合买\",\n \"filter\": \"union\"\n }\n ]\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderSearch_filter", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/search_filter" } ] }, { "type": "GET", "url": "/api/seller/order/send_list", "title": "派奖-派奖记录", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":8,\n \"type\":1, // 1普通下注;2发单;3合买\n \"order_sn\":\"P2023041900000003\",\n \"lottery_prize\":\"184.80\", // 总奖金\n \"lottery_send_prize\":0, // 派奖金额\n \"lottery_tax_prize\":\"0.00\", // 税后奖金\n \"union_lottery_prize\":\"184.80\", // 合买总奖金\n \"union_lottery_send_prize\":0, // 合买派奖金额\n \"union_lottery_tax_prize\":\"0.00\", // 合买税后奖金\n \"draft_at\":null, // 出票时间\n \"deleted_at\":null,\n \"play_type_name\":\"混合投注\", // 彩种玩法\n \"buy_type_name\":\"合买\",\n \"pass_mode_name\":[\n \"2串1\"\n ],\n \"lottery_type\":{\n \"id\":1,\n \"name\":\"jc足球\" // 彩种类型名称\n }\n }\n ],\n \"from\":1,\n \"last_page\":1,\n \"per_page\":20,\n \"to\":1,\n \"total\":1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderSend_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/send_list" } ] }, { "type": "GET", "url": "/api/seller/order/show", "title": "订单管理-订单详情(竞彩足球)", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"id\": 2,\n \"pid\": 0,\n \"order_sn\": \"P2023040900000002\",\n \"customer_id\": 1,\n \"lottery_id\": 1,\n \"shop_id\": 0,\n \"lottery_type_id\": 0,\n \"type\": 1,\n \"copy_num\": 0, // 跟单数\n \"bets_num\": 2, // 倍数\n \"piao_num\": 0, //\n \"money\": 24, // 购买金额\n \"prize_min\": \"11.04\", // 最低奖金\n \"prize_max\": \"142.56\", // 最高奖金\n \"pass_mode\": [\n \"2.1\"\n ],\n \"play_type\": \"mixed\",\n \"pay_type\": \"\",\n \"pay_state\": \"success\",\n \"pay_at\": \"2023-04-09 03:41:06\",\n \"odds_early_close_time\": \"2023-04-05 15:38:38\",\n \"odds_late_close_time\": \"2023-04-06 15:38:38\",\n \"lottery_state\": 5,\n \"lottery_prize\": \"0.00\", // 中奖金额\n \"lottery_tax_prize\": \"0.00\", // 中奖金额\n \"type_mode\": 1,\n \"type_desc\": \"浪费大家发的啦\",\n \"created_at\": \"2023-04-09T03:32:51.000000Z\",\n \"updated_at\": \"2023-04-09T03:41:06.000000Z\",\n \"deleted_at\": null,\n \"sellings\": [ // 未接单时,为空数组\n {\n \"issue_num\": \"2022-01-01/周一\",\n \"play_num\": 21,\n \"jc_competition_name\": \"adsf离开家\",\n \"jc_competition_name_full\": \"发三分大赛\",\n \"jc_home_team_name\": \"发顺丰\",\n \"jc_home_team_name_full\": \"发送\",\n \"jc_away_team_name\": \"fda\",\n \"jc_away_team_name_full\": \"fda\",\n \"id\": 3,\n \"order_id\": 2,\n \"jczq_odds_id\": 3,\n \"odds_id\": 1,\n \"match_id\": 1,\n \"odds_result\": 0,\n \"issue_num_week\": \"周一\",\n \"issue_num_day\": \"2022-01-01\",\n \"vs_b\": \"发顺丰\",\n \"vs_m\": \"vs\",\n \"vs_a\": \"fda\",\n \"play_items\": [ // 每种玩法和对应的投注项\n {\n \"win_result\": \"\",\n \"play_name\": \"胜平负\", // 玩法\n \"play_items\": [\n [\n \"胜(2.85)\" // 投注项\n ],\n [\n \"负(2.25)\"\n ]\n ]\n },\n {\n \"win_result\": \"\",\n \"play_name\": \"让球胜平负-1\",\n \"play_items\": [\n [\n \"胜(2.85)\"\n ]\n ]\n }\n ]\n },\n\n ],\n \"chang_num\": 2,\n \"pass_mode_names\": [ // 串关\n \"2x1\"\n ],\n \"play_name\": \"竞彩足球\", // 彩种\n \"play_type_name\": \"混合投注\", // 玩法\n \"buy_type_name\": \"自购\",\n \"pass_mode_name\": [\n \"2串1\"\n ],\n \"materials\": []\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderShow", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/show" } ] }, { "type": "GET", "url": "/api/seller/order/union_users", "title": "订单管理-订单详情-合买认购人数", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderUnion_users", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/union_users" } ] }, { "type": "GET", "url": "/api/seller/order/win_list", "title": "派奖-派奖管理", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"current_page\":1,\n \"data\":[\n {\n \"id\":8,\n \"type\":1, // 1普通下注;2发单;3合买;4跟单\n \"order_sn\":\"P2023041900000003\",\n \"lottery_prize\":\"184.80\", // 总奖金\n \"lottery_send_prize\":0, // 实际派奖金额\n \"lottery_estimate_send_prize\":0, // 预估派奖金额\n \"gendan_brokerage\":0, // 跟单佣金\n \"lottery_tax_prize\":\"0.00\", // 税后奖金\n \"union_lottery_prize\":\"184.80\", // 合买总奖金\n \"union_lottery_send_prize\":0, // 合买派奖金额\n \"union_lottery_tax_prize\":\"0.00\", // 合买税后奖金\n \"draft_at\":null, // 出票时间\n \"deleted_at\":null,\n \"play_type_name\":\"混合投注\", // 彩种玩法\n \"buy_type_name\":\"合买\",\n \"pass_mode_name\":[\n \"2串1\"\n ],\n \"lottery_type\":{\n \"id\":1,\n \"name\":\"jc足球\" // 彩种类型名称\n }\n }\n ],\n \"from\":1,\n \"last_page\":1,\n \"per_page\":20,\n \"to\":1,\n \"total\":1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "GetApiSellerOrderWin_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/win_list" } ] }, { "type": "GET", "url": "/api/seller/seller/info", "title": "我的-店主信息", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"seller\": { // 登录店主/店员信息\n \"id\": 1,\n \"shop_id\": 1,\n \"level\": 1,\n \"phone\": \"\",\n \"name\": \"超级大大\",\n \"nickname\": null,\n \"email\": \"fefdsa\",\n \"balance\": \"89.44\", // 店主余额\n \"avatar\": \"da\",\n \"email_verified_at\": null,\n \"created_at\": null,\n \"updated_at\": \"2023-04-22T14:24:55.000000Z\",\n \"deleted_at\": null\n },\n \"shop\": { // 店铺信息\n \"id\": 1,\n \"name\": \"天下第一点\",\n \"seller_name\": \"天下第一点\",\n \"seller_phone\": \"111\",\n \"seller_wechat\": \"111\",\n \"addr\": \"天下第一点\",\n \"announcement\": \"天下第一点\",\n \"created_at\": null,\n \"updated_at\": null,\n \"deleted_at\": null\n },\n \"orders\": {\n \"draft_num\": 0, // 待出票数\n \"win_num\": 0, // 待派奖数\n \"withdraw_num\": 0 // 提现数\n },\n \"customers\": {\n \"balance\": \"21550.92\" // 托管余额\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "GetApiSellerSellerInfo", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/info" } ] }, { "type": "GET", "url": "/api/seller/shop/pay_channel", "title": "收款管理-查看收款认证", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "pay_type", "description": "

支付方式

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "pay_channel", "description": "

支付渠道

" } ] } }, "success": { "examples": [ { "title": "返回结果参考提交的参数", "content": "{}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ShopController.php", "groupTitle": "店主", "name": "GetApiSellerShopPay_channel", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/shop/pay_channel" } ] }, { "type": "GET", "url": "/api/seller/shop/pay_channel_list", "title": "收款管理-列表", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"title\":\"支付宝\", // 标题\n \"pay_type\":\"alipay\", // 支付方式\n \"pay_channels\":[\n {\n \"pay_channel\":1, // 支付渠道\n \"title\":\"渠道1\", // 名称\n \"description\":\"实时到账,费率0.60%\", // 描述\n \"opened\":0, // 是否开启\n \"state\":0 // 状态:0未开通,1已开通,2已提交,3申请失败\n }\n ]\n }\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ShopController.php", "groupTitle": "店主", "name": "GetApiSellerShopPay_channel_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/shop/pay_channel_list" } ] }, { "type": "GET", "url": "/api/seller/wallet/bills", "title": "店铺余额-账户明细/充值记录", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "type", "description": "

6充值记录

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "ie", "description": "

-:支出;+:收入

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_start", "description": "

开始日期(2001-01-01),默认本月第一天

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_end", "description": "

结束日期(2001-01-01),默认当前

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 19,\n \"type\": 5,\n \"seller_id\": 1,\n \"shop_id\": 1,\n \"begin_balance\": \"1.04\",\n \"begin_balance_withdraw\": \"0.00\",\n \"begin_balance_cash\": \"1.04\",\n \"seller_balance\": \"0.00\",\n \"ie\": \"-\", // -支出 +收入\n \"money\": \"1.00\", // 金额\n \"end_balance\": \"0.04\", // 余额\n \"end_balance_withdraw\": \"0.00\",\n \"end_balance_cash\": \"0.04\",\n \"title\": \"相扣你\", // 名称\n \"created_at\": \"2023-04-24T14:16:01.000000Z\", // 时间\n \"updated_at\": \"2023-04-24T14:16:01.000000Z\",\n \"deleted_at\": null\n },\n\n ],\n \"total\": 5\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "GetApiSellerWalletBills", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/bills" } ] }, { "type": "GET", "url": "/api/seller/wallet/pay_types", "title": "支付-支付方式", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": [\n {\n \"pay_type\": \"alipay\", // 支付方式\n \"name\": \"支付宝\" // 支付方式名称\n }\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "GetApiSellerWalletPay_types", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/pay_types" } ] }, { "type": "GET", "url": "/api/seller/wallet/recharge_query", "title": "支付-查询充值结果", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "recharge_sn", "description": "

充值订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": \"xxxxxx\" // 此处应该是个form\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "GetApiSellerWalletRecharge_query", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/recharge_query" } ] }, { "type": "GET", "url": "/api/seller/wallet/withdraw_list", "title": "我的-提现记录", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 1,\n \"shop_id\": 1,\n \"seller_id\": 1,\n \"freeze_id\": 1,\n \"money\": 10, // 提现金额\n \"type\": 2, // 1支付宝;2银行卡\n \"ali_account\": \"\",\n \"bank_no\": \"3143243243124312\",\n \"bank_area\": \"3143243243124312\",\n \"bank_master\": \"3143243243124312\",\n \"bank_branch\": \"3143243243124312\",\n \"state\": 1, // 1代理处;2成功;3失败\n \"admin_id\": 0,\n \"admin_remark\": \"\", // 处理结果\n \"remark_at\": null,\n \"created_at\": \"2023-04-25T13:27:45.000000Z\",\n \"updated_at\": \"2023-04-25T13:27:45.000000Z\",\n \"deleted_at\": null\n }\n ],\n \"per_page\": 20,\n \"total\": 1\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "GetApiSellerWalletWithdraw_list", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/withdraw_list" } ] }, { "type": "GET|POST", "url": "/api/seller/logout", "title": "auth-退出", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/IndexController.php", "groupTitle": "店主", "name": "Get|postApiSellerLogout", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/logout" } ] }, { "type": "POST", "url": "/api/customer/seller/feedback", "title": "我的-反馈", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "content", "description": "

内容

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiCustomerSellerFeedback", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/customer/seller/feedback" } ] }, { "type": "POST", "url": "/api/seller/area/area", "title": "地区-县/区", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "parent_id", "description": "

市级id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"id\":1,\n \"name\":\"北京\",\n \"parent_id\":\"0\",\n \"type\":\"province\"\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/AreaController.php", "groupTitle": "店主", "name": "PostApiSellerAreaArea", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/area/area" } ] }, { "type": "POST", "url": "/api/seller/area/city", "title": "地区-市", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "parent_id", "description": "

省级id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"id\":1,\n \"name\":\"北京\",\n \"parent_id\":\"0\",\n \"type\":\"province\"\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/AreaController.php", "groupTitle": "店主", "name": "PostApiSellerAreaCity", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/area/city" } ] }, { "type": "POST", "url": "/api/seller/area/province", "title": "地区-省", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"id\":1,\n \"name\":\"北京\",\n \"parent_id\":\"0\",\n \"type\":\"province\"\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/AreaController.php", "groupTitle": "店主", "name": "PostApiSellerAreaProvince", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/area/province" } ] }, { "type": "POST", "url": "/api/seller/area/tree", "title": "地区-省市县", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":[\n {\n \"id\":1,\n \"name\":\"北京\",\n \"parent_id\":\"0\",\n \"type\":\"province\"\n },\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/AreaController.php", "groupTitle": "店主", "name": "PostApiSellerAreaTree", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/area/tree" } ] }, { "type": "POST", "url": "/api/seller/customer/balance_audit", "title": "用户提现-审核提现", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "id", "description": "

提现列表id

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "state", "description": "

2成功;3失败

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "remark", "description": "

审核备注

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerBalance_audit", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/balance_audit" } ] }, { "type": "POST", "url": "/api/seller/customer/balance_incr", "title": "用户管理-加款", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民id

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "remark", "description": "

备注

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay", "description": "

支付密码

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay_confirmation", "description": "

确认支付密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerBalance_incr", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/balance_incr" } ] }, { "type": "POST", "url": "/api/seller/customer/balance_reduce", "title": "用户管理-扣款", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民id

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "remark", "description": "

备注

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay", "description": "

支付密码

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay_confirmation", "description": "

确认支付密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerBalance_reduce", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/balance_reduce" } ] }, { "type": "POST", "url": "/api/seller/customer/bills", "title": "用户管理-账户明细", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民id

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_start", "description": "

开始日期(2001-01-01),默认本月第一天

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_end", "description": "

结束日期(2001-01-01),默认当前

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "bill_type", "description": "

bill_types中的bill_type值

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "page", "description": "

页数

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数,默认20

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"bill_types\": [ // 交易明细类型\n {\n \"name\": \"全部\",\n \"bill_type\": 0\n },\n {\n \"name\": \"充值\",\n \"bill_type\": 1\n },\n {\n \"name\": \"投注\",\n \"bill_type\": 2\n },\n {\n \"name\": \"派奖\",\n \"bill_type\": 3\n },\n {\n \"name\": \"提款\",\n \"bill_type\": 4\n }\n ],\n \"money\": \"31003.00\", // 如果选择了明细类型,则money代表对应类型的金额总和\n \"bills\": {\n \"current_page\": 1,\n \"data\": [\n {\n \"id\": 11,\n \"type\": 2, //\n \"customer_id\": 1,\n \"customer_balance\": \"9856.00\", // 用户余额\n \"ie\": \"-\", // - 减少,+增加\n \"money\": \"120.00\", // 金额\n \"recharge_id\": 0,\n \"order_id\": null,\n \"title\": \"充值\", // 标题\n \"seller_id\": 0,\n \"created_at\": \"2023-04-09T07:36:12.000000Z\", // 时间\n \"updated_at\": \"2023-04-09T07:36:12.000000Z\",\n \"deleted_at\": null\n },\n ],\n \"prev_page_url\": null,\n \"to\": 10,\n \"total\": 10 // 总条数\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerBills", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/bills" } ] }, { "type": "POST", "url": "/api/seller/customer/recharge", "title": "给用户充值", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民id

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

充值金额

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay", "description": "

支付密码

" }, { "group": "Parameter", "type": "Int", "optional": false, "field": "password_pay_confirmation", "description": "

确认支付密码

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "remark", "description": "

备注

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "remark_img_path", "description": "

图片备注

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerRecharge", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/recharge" } ] }, { "type": "POST", "url": "/api/seller/customer/reset_password", "title": "用户管理-重置密码", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerReset_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/reset_password" } ] }, { "type": "POST", "url": "/api/seller/customer/update", "title": "用户管理-修改用户信息", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "customer_id", "description": "

彩民ID

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "star", "description": "

1标记;0取消标记

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "remark", "description": "

用户备注

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "agent", "description": "

1代理用户;0非代理用户

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "agent_brokerage", "description": "

代理佣金(设置agent时,必填1-100)

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "agent_id", "description": "

设置当前用户的上级代理

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerUpdate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/update" } ] }, { "type": "POST", "url": "/api/seller/customer/withdraw_show", "title": "用户提现-提现详情", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "id", "description": "

提现列表id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \t\t\"id\": 1,\n \t\t\"shop_id\": 1,\n \t\t\"customer_id\": 1,\n \t\t\"freeze_id\": 1,\n \t\t\"money\": 10, // 提现金额\n \t\t\"type\": 1, // 1支付宝;2银行卡\n \t\t\"ali_account\": \"ssssss\", // 阿里账号\n \t\t\"bank_no\": \"\", // 银行卡号\n \t\t\"bank_area\": \"\",\n \t\t\"bank_master\": \"\",\n \t\t\"bank_branch\": \"\",\n \t\t\"state\": 1, // 1待处理,2成功;3失败\n \t\t\"seller_id\": 0,\n \t\t\"seller_remark\": \"\", // 处理备注\n \t\t\"remark_at\": null,\n \t\t\"created_at\": \"2023-04-25T13:03:39.000000Z\",\n \t\t\"updated_at\": \"2023-04-25T13:03:39.000000Z\",\n \t\t\"deleted_at\": null,\n \t\t\"customer\": {\n \t\t \"id\": 1,\n \t\t \"name\": \"发达\", // 真是姓名\n \t\t \"nickname\": \"大象\", // 昵称\n \t\t \"avatar\": \"/avatar/TM1f852RwuK2Dh6b5xcfT8q3xPOdY2I3nKMl1G5P.png\", //头像\n \t\t \"level_name\": \"储备组长\", //\n \t\t \"level_score_group\": \"5000\",\n \t\t \"lottery_state_name\": \"\",\n \t\t \"client_type_name\": \"未知\"\n \t\t}\n\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/CustomerController.php", "groupTitle": "店主", "name": "PostApiSellerCustomerWithdraw_show", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/customer/withdraw_show" } ] }, { "type": "POST", "url": "/api/seller/login", "title": "auth-登录", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "phone", "description": "

手机号码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"access_token\": \"eyJ0eXA5z7uNNgL76GgVGFFMOuINwHJnG73s\", // token\n \"token_type\": \"bearer\",\n \"expires_in\": 36000 // 有效时长(秒)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/IndexController.php", "groupTitle": "店主", "name": "PostApiSellerLogin", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/login" } ] }, { "type": "POST", "url": "/api/seller/lottery/config", "title": "彩种配置-保存", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "lottery_type_id", "description": "

彩种id

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "field", "description": "

字段名

" }, { "group": "Parameter", "type": "String|Int", "optional": false, "field": "field_val", "description": "

字段的值

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/LotteryController.php", "groupTitle": "店主", "name": "PostApiSellerLotteryConfig", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/lottery/config" } ] }, { "type": "POST", "url": "/api/seller/material/upload", "title": "上传票据", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "File", "optional": false, "field": "lottery", "description": "

文件的name

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"id\": 2, // id\n \"file_url\": \"http://localhost/uploads/lottery/aEZKWqAm7qXR896PIE1cNtHbGaTYCbuDsfijFHuT.jpg\" // 地址\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/MaterialController.php", "groupTitle": "店主", "name": "PostApiSellerMaterialUpload", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/material/upload" } ] }, { "type": "POST", "url": "/api/seller/material/upload_other", "title": "上传其他功能使用的文件", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "File", "optional": false, "field": "file", "description": "

文件的name

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"id\": 2, // id\n \"file_url\": \"http://localhost/uploads/lottery/aEZKWqAm7qXR896PIE1cNtHbGaTYCbuDsfijFHuT.jpg\" // 地址\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/MaterialController.php", "groupTitle": "店主", "name": "PostApiSellerMaterialUpload_other", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/material/upload_other" } ] }, { "type": "POST", "url": "/api/seller/order/draw", "title": "订单-出票", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" }, { "group": "Parameter", "type": "Array", "optional": false, "field": "material_ids", "description": "

上传图片后的图片id

" }, { "group": "Parameter", "type": "Object", "optional": false, "field": "oddses", "description": "

赔率

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n \"oddses\": {}, // 订单中oddses的数据\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderDraw", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/draw" } ] }, { "type": "POST", "url": "/api/seller/order/piao_show", "title": "订单-拆票明细", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"piaos\":[ // 篮球和足球: 票的数据\n {\n \"header\":[ // header\n {\n \"prop\":\"index\",\n \"title\":\"序号\"\n },\n ],\n \"data\":{ // 票信息\n \"index\":1,\n \"type\":[\n \"2串1\"\n ],\n \"play_name\":[\n \"97880 (主胜 客胜)\",\n \"97835 (主胜)\"\n ],\n \"nums\":\"4倍/1张\"\n },\n \"summary\":\"\" // 票的简介\n }\n ],\n \"money\":16, // 总金额\n \"piao_num\":1, // 总票数\n \"prize_max\":\"49.60\" // 最大中奖数\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderPiao_show", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/piao_show" } ] }, { "type": "POST", "url": "/api/seller/order/receive", "title": "订单-接单", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderReceive", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/receive" } ] }, { "type": "POST", "url": "/api/seller/order/revoke", "title": "订单-撤单", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderRevoke", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/revoke" } ] }, { "type": "POST", "url": "/api/seller/order/send_prize", "title": "派奖-派奖", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "prize", "description": "

派奖金额

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderSend_prize", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/send_prize" } ] }, { "type": "POST", "url": "/api/seller/order/take_ticket", "title": "取票", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "order_sn", "description": "

订单编号

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/OrderController.php", "groupTitle": "店主", "name": "PostApiSellerOrderTake_ticket", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/order/take_ticket" } ] }, { "type": "POST", "url": "/api/seller/refresh_token", "title": "auth-刷新token", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"access_token\": \"eyJ0eXA5z7uNNgL76GgVGFFMOuINwHJnG73s\", // token\n \"token_type\": \"bearer\",\n \"expires_in\": 36000 // 有效时长(秒)\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/IndexController.php", "groupTitle": "店主", "name": "PostApiSellerRefresh_token", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/refresh_token" } ] }, { "type": "POST", "url": "/api/seller/seller/change_password", "title": "我的-修改密码", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "password_old", "description": "

旧密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

新密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

新密码确认

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerChange_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/change_password" } ] }, { "type": "POST", "url": "/api/seller/seller/change_pay_password", "title": "我的-设置支付密码", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "password_old", "description": "

旧密码,第一次设置时,可以不传

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

新密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

新密码确认

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerChange_pay_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/change_pay_password" } ] }, { "type": "POST", "url": "/api/seller/seller/delete", "title": "员工管理-删除", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "id", "description": "

员工id

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerDelete", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/delete" } ] }, { "type": "POST", "url": "/api/seller/seller/list", "title": "员工管理-列表", "version": "0.1.0", "group": "店主", "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": [\n {\n \"id\": 3,\n \"shop_id\": 1,\n \"level\": 2, // 1店主;2店员\n \"phone\": \"13411111111\", // 手机号\n \"name\": \"xxxx\", // 姓名\n \"nickname\": null, // 昵称\n \"email\": \"\",\n \"avatar\": \"\", // 头像\n \"email_verified_at\": null,\n \"enable_send_prize\": 1, // 是否允许派奖:1是;0否\n \"enable_ie\": 1,// 是否允许加扣款:1是;0否\n \"enable_work\": 1, // 是否允许接单:1是;0否\n \"created_at\": \"2023-05-17 21:23:54\",\n \"updated_at\": \"2023-05-17 21:23:54\",\n \"deleted_at\": null\n }\n ]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerList", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/list" } ] }, { "type": "POST", "url": "/api/seller/seller/real_verify", "title": "我的-实名认证", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "real_identity", "description": "

身份证

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "real_name", "description": "

真实姓名

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReal_verify", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/real_verify" } ] }, { "type": "POST", "url": "/api/seller/seller/report/agent", "title": "代理统计", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "start_month", "description": "

月份,默认当前月(2001-01)

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n \"agents\":[\n {\n \"id\":2,\n \"shop_id\":1,\n \"agent_id\":1,\n \"agent\":0, // 开启状态\n \"agent_brokerage\":0, // 佣金比例\n \"agent_at\":\"2023-04-10 21:20:03\",\n \"agent_money\":0, // 销售额\n \"level_name\":\"储备组长\",\n \"level_score_group\":\"5000\",\n \"lottery_state_name\":\"\",\n \"client_type_name\":\"未知\",\n \"hide_name\":\"****11\",\n \"agent_days\":41 // 代理时长\n }\n ],\n \"total\":{\n \"money\":0,// 销售额\n \"brokerage\":0,// 应付佣金\n \"register_num\":0 // 代理注册人数\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ReportController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReportAgent", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/report/agent" } ] }, { "type": "POST", "url": "/api/seller/seller/report/agent_order", "title": "代理统计-订单列表", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "agent_id", "description": "

代理id

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_start", "description": "

开始(2001-01-01,默认当月第一天)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_end", "description": "

开始(2001-01-01,默认当天)

" } ] } }, "success": { "examples": [ { "title": "返回结果 参考订单列表数据", "content": "{\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ReportController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReportAgent_order", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/report/agent_order" } ] }, { "type": "POST", "url": "/api/seller/seller/report/agent_regist", "title": "代理统计-注册数", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "agent_id", "description": "

代理id

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "size", "description": "

每页条数

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_start", "description": "

开始(2001-01-01,默认当月第一天)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "date_end", "description": "

开始(2001-01-01,默认当天)

" } ] } }, "success": { "examples": [ { "title": "返回结果 参考用户列表数据", "content": "{\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ReportController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReportAgent_regist", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/report/agent_regist" } ] }, { "type": "POST", "url": "/api/seller/seller/report/dashboard", "title": "数据统计(这一版先不做详情)", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": true, "field": "seller_id", "description": "

员工id(用员工列表接口)

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\":200,\n \"message\":\"\",\n \"data\":{\n\t\t \"seller\":{ // 单个员工\n \"seller_id\":1,\n \"shop_id\":1,\n \"cdate\":\"20230520\", // 日期\n \"chupiao_money\":0, // 出票\n \"send_prize\":0, // 派奖\n \"incr_money\":0, // 手工加款\n \"reduce_money\":0, // 手工扣款\n \"updated_at\":\"2023-05-20 09:54:43\",\n \"created_at\":\"2023-05-20 09:54:43\",\n \"id\":4\n }\n \"current\":{ // 当前查询日\n \"id\":9,\n \"cdate\":\"20230520\", // 日期\n \"shop_id\":1,\n \"register_num\":0, // 注册用户数\n \"buyer_num\":0, // 购彩用户数\n \"shop_banlance\":\"1099.88\", // 店铺余额\n \"customers_balance\":\"13792.24\", // 托管余额\n \"send_prize\":0, // 派奖\n \"chupiao_money\":0, // 出票\n \"chupiao_fee_money\":0, // 出票服务费\n \"reduce_money\":0, // 手工扣款\n \"incr_money\":0, // 手工加款\n \"created_at\":\"2023-05-20 09:50:36\",\n \"updated_at\":\"2023-05-20 09:52:00\",\n \"deleted_at\":null,\n \"cdate_str\":\"05月20日\" // 日期\n },\n \"last\":{ // 查询日前一天\n }\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ReportController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReportDashboard", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/report/dashboard" } ] }, { "type": "POST", "url": "/api/seller/seller/reset_pay_password", "title": "我的-忘记支付密码", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "real_name", "description": "

姓名

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "real_identity", "description": "

身份证号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_pay", "description": "

新密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_pay_confirmation", "description": "

新密码确认

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerReset_pay_password", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/reset_pay_password" } ] }, { "type": "POST", "url": "/api/seller/seller/store", "title": "员工管理-创建账号", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "name", "description": "

姓名

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "phone", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password", "description": "

密码

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_confirmation", "description": "

确认密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerStore", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/store" } ] }, { "type": "POST", "url": "/api/seller/seller/update", "title": "员工管理-更新", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "id", "description": "

员工id

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "name", "description": "

姓名

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "phone", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "password", "description": "

密码

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "enable_send_prize", "description": "

开启派奖:1开启;0关闭

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "enable_ie", "description": "

开启加扣款:1开启;0关闭

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "enable_work", "description": "

开启接单:1开启;0关闭

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerUpdate", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/update" } ] }, { "type": "POST", "url": "/api/seller/seller/upload", "title": "我的-上传头像", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "file", "description": "

avatar // filename

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"path\": \"xxxxx\", // 头像地址\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/SellerController.php", "groupTitle": "店主", "name": "PostApiSellerSellerUpload", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/seller/upload" } ] }, { "type": "POST", "url": "/api/seller/shop/pay_channel", "title": "收款管理-收款认证", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "pay_type", "description": "

支付方式(alipay,qrcode)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "remind_after", "description": "

付款前提醒

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "remind_before", "description": "

付款后提醒

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "opened", "description": "

是否开启

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "alipay_qrcode", "description": "

支付宝二维码

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "wechat_qrcode", "description": "

微信二维码

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "pay_channel", "description": "

支付渠道 --以下为支付宝的

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "real_name", "description": "

姓名

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "email", "description": "

邮箱

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "phone", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "alipay", "description": "

支付宝账号

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "shop_addr", "description": "

店铺地址

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "business_door", "description": "

门头照

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "business_site", "description": "

经营场所/店内照

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "sale_proxy", "description": "

营业执照

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ShopController.php", "groupTitle": "店主", "name": "PostApiSellerShopPay_channel", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/shop/pay_channel" } ] }, { "type": "POST", "url": "/api/seller/shop/setting", "title": "店铺信息-设置", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": true, "field": "announcement", "description": "

公告内容

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "announcement_img_url", "description": "

公告图片(使用/api/seller/material/upload_other结果中的path)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "wechat", "description": "

微信号

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "keep_secret", "description": "

1保密;0不保密

" }, { "group": "Parameter", "type": "Array", "optional": true, "field": "withdraw_type", "description": "

[1,2]提现方式,1支付宝,2银行卡

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "phone", "description": "

手机号

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "password", "description": "

登录密码(手机号时,密码必填)

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "province_id", "description": "

省id (详细地址时,必填)

" }, { "group": "Parameter", "type": "Int", "optional": true, "field": "city_id", "description": "

市id(详细地址时,必填)

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "addr", "description": "

详细地址

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\":[]\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/ShopController.php", "groupTitle": "店主", "name": "PostApiSellerShopSetting", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/shop/setting" } ] }, { "type": "POST", "url": "/api/seller/wallet/recharge", "title": "支付-充值(获取充值单号)", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Float", "optional": false, "field": "pay_money", "description": "

支付金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "pay_type", "description": "

支付方式

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"order_sn\":\"xxxx\",\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": {\n \"recharge_sn\": \"R202304033597596106\" // 充值订单编号\n }\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "PostApiSellerWalletRecharge", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/recharge" } ] }, { "type": "POST", "url": "/api/seller/wallet/redirect_pay", "title": "支付-跳转到第三方支付", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "String", "optional": false, "field": "recharge_sn", "description": "

充值订单编号

" } ] }, "examples": [ { "title": "请求示例", "content": "{\n \"pay_type\":\"alipay\",\n \"pay_money\":2.0,\n}", "type": "json" } ] }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": \"xxxxxx\" // 此处应该是个form\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "PostApiSellerWalletRedirect_pay", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/redirect_pay" } ] }, { "type": "POST", "url": "/api/seller/wallet/withdraw_money", "title": "我的-提现", "version": "0.1.0", "group": "店主", "parameter": { "fields": { "Parameter": [ { "group": "Parameter", "type": "Int", "optional": false, "field": "type", "description": "

1支付宝;2银行卡

" }, { "group": "Parameter", "type": "Float", "optional": false, "field": "money", "description": "

提现金额

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "ali_account", "description": "

支付宝账号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_no", "description": "

银行卡号

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_area", "description": "

银行卡所在地

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "bank_master", "description": "

开户行

" }, { "group": "Parameter", "type": "String", "optional": true, "field": "bank_branch", "description": "

支行

" }, { "group": "Parameter", "type": "String", "optional": false, "field": "password_pay", "description": "

支付密码

" } ] } }, "success": { "examples": [ { "title": "返回结果", "content": "{\n \"code\": 200,\n \"message\": \"\",\n \"data\": []\n}", "type": "json" } ] }, "filename": "app/Http/Controllers/Api/Seller/WalletController.php", "groupTitle": "店主", "name": "PostApiSellerWalletWithdraw_money", "sampleRequest": [ { "url": "https://jingcai.quickfly.eu.org:3000/api/seller/wallet/withdraw_money" } ] } ] });