api_data.js 119 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908
  1. define({ "api": [
  2. {
  3. "version": "1.0.0",
  4. "description": "<p>首页(male|female)</p>",
  5. "type": "get",
  6. "url": "books/{sex}/index",
  7. "title": "首页(male|female)",
  8. "group": "Book",
  9. "parameter": {
  10. "fields": {
  11. "Parameter": [
  12. {
  13. "group": "Parameter",
  14. "type": "String",
  15. "optional": true,
  16. "field": "token",
  17. "description": "<p>token</p>"
  18. }
  19. ]
  20. }
  21. },
  22. "header": {
  23. "fields": {
  24. "Header": [
  25. {
  26. "group": "Header",
  27. "type": "String",
  28. "optional": true,
  29. "field": "Authorization",
  30. "description": "<p>token 两个token任选其一</p>"
  31. }
  32. ]
  33. }
  34. },
  35. "name": "getBookLists",
  36. "success": {
  37. "fields": {
  38. "Success 200": [
  39. {
  40. "group": "Success 200",
  41. "type": "int",
  42. "optional": false,
  43. "field": "code",
  44. "description": "<p>状态码</p>"
  45. },
  46. {
  47. "group": "Success 200",
  48. "type": "String",
  49. "optional": false,
  50. "field": "msg",
  51. "description": "<p>信息</p>"
  52. },
  53. {
  54. "group": "Success 200",
  55. "type": "object",
  56. "optional": false,
  57. "field": "data",
  58. "description": "<p>结果集</p>"
  59. }
  60. ]
  61. },
  62. "examples": [
  63. {
  64. "title": "Success-Response:",
  65. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n type: \"lunbo\",\n lable: \"男频\",\n books: [\n {},{}\n ]\n },\n {\n type: \"hot\",\n lable: \"热门推荐\",\n books: [\n {},{}\n ]\n }\n ]\n }",
  66. "type": "json"
  67. }
  68. ]
  69. },
  70. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  71. "groupTitle": "图书"
  72. },
  73. {
  74. "version": "1.0.0",
  75. "description": "<p>获取分类</p>",
  76. "type": "get",
  77. "url": "books/getCategory",
  78. "title": "获取分类",
  79. "parameter": {
  80. "fields": {
  81. "Parameter": [
  82. {
  83. "group": "Parameter",
  84. "type": "String",
  85. "optional": true,
  86. "field": "token",
  87. "description": "<p>token</p>"
  88. }
  89. ]
  90. }
  91. },
  92. "header": {
  93. "fields": {
  94. "Header": [
  95. {
  96. "group": "Header",
  97. "type": "String",
  98. "optional": true,
  99. "field": "Authorization",
  100. "description": "<p>token 两个token任选其一</p>"
  101. }
  102. ]
  103. }
  104. },
  105. "group": "Book",
  106. "name": "getCategory",
  107. "success": {
  108. "fields": {
  109. "Success 200": [
  110. {
  111. "group": "Success 200",
  112. "type": "int",
  113. "optional": false,
  114. "field": "code",
  115. "description": "<p>状态码</p>"
  116. },
  117. {
  118. "group": "Success 200",
  119. "type": "String",
  120. "optional": false,
  121. "field": "msg",
  122. "description": "<p>信息</p>"
  123. },
  124. {
  125. "group": "Success 200",
  126. "type": "object",
  127. "optional": false,
  128. "field": "data",
  129. "description": "<p>结果集</p>"
  130. }
  131. ]
  132. },
  133. "examples": [
  134. {
  135. "title": "Success-Response:",
  136. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n id: 1,\n name: \"男频\",\n children: [\n {\n id: 7,\n name: \"灵异鬼怪\"\n },\n {\n id: 8,\n name: \"历史穿越\"\n },\n {\n id: 30,\n name: \"青春爱情\"\n }\n ]\n },\n {\n id: 2,\n name: \"女频\",\n children: [\n {\n id: 26,\n name: \"豪门总裁\"\n },\n {\n id: 35,\n name: \"民国爱情\"\n }\n ]\n }\n ]\n }",
  137. "type": "json"
  138. }
  139. ]
  140. },
  141. "filename": "app/Http/Controllers/QuickApp/Book/BookCategoryController.php",
  142. "groupTitle": "图书"
  143. },
  144. {
  145. "version": "1.0.0",
  146. "description": "<p>获取图书详情</p>",
  147. "type": "get",
  148. "url": "book/{bid}",
  149. "title": "获取图书详情",
  150. "group": "Book",
  151. "name": "index",
  152. "parameter": {
  153. "fields": {
  154. "Parameter": [
  155. {
  156. "group": "Parameter",
  157. "type": "String",
  158. "optional": true,
  159. "field": "token",
  160. "description": "<p>token</p>"
  161. }
  162. ]
  163. }
  164. },
  165. "header": {
  166. "fields": {
  167. "Header": [
  168. {
  169. "group": "Header",
  170. "type": "String",
  171. "optional": true,
  172. "field": "Authorization",
  173. "description": "<p>token 两个token任选其一</p>"
  174. }
  175. ]
  176. }
  177. },
  178. "success": {
  179. "fields": {
  180. "Success 200": [
  181. {
  182. "group": "Success 200",
  183. "type": "int",
  184. "optional": false,
  185. "field": "code",
  186. "description": "<p>状态码</p>"
  187. },
  188. {
  189. "group": "Success 200",
  190. "type": "String",
  191. "optional": false,
  192. "field": "msg",
  193. "description": "<p>信息</p>"
  194. },
  195. {
  196. "group": "Success 200",
  197. "type": "object",
  198. "optional": false,
  199. "field": "data",
  200. "description": "<p>结果集</p>"
  201. },
  202. {
  203. "group": "Success 200",
  204. "type": "Int",
  205. "optional": false,
  206. "field": "data.book_id",
  207. "description": "<p>bid</p>"
  208. },
  209. {
  210. "group": "Success 200",
  211. "type": "String",
  212. "optional": false,
  213. "field": "data.book_name",
  214. "description": "<p>书名</p>"
  215. },
  216. {
  217. "group": "Success 200",
  218. "type": "String",
  219. "optional": false,
  220. "field": "data.book_summary",
  221. "description": "<p>简介</p>"
  222. },
  223. {
  224. "group": "Success 200",
  225. "type": "String",
  226. "optional": false,
  227. "field": "data.book_author",
  228. "description": "<p>作者</p>"
  229. },
  230. {
  231. "group": "Success 200",
  232. "type": "String",
  233. "optional": false,
  234. "field": "data.cover_url",
  235. "description": "<p>封面</p>"
  236. },
  237. {
  238. "group": "Success 200",
  239. "type": "Int",
  240. "optional": false,
  241. "field": "data.book_word_count",
  242. "description": "<p>字数</p>"
  243. },
  244. {
  245. "group": "Success 200",
  246. "type": "Int",
  247. "optional": false,
  248. "field": "data.book_chapter_total",
  249. "description": "<p>章节数</p>"
  250. },
  251. {
  252. "group": "Success 200",
  253. "type": "Int",
  254. "optional": false,
  255. "field": "data.book_category_id",
  256. "description": "<p>分类</p>"
  257. },
  258. {
  259. "group": "Success 200",
  260. "type": "String",
  261. "optional": false,
  262. "field": "data.book_category",
  263. "description": "<p>分类名</p>"
  264. },
  265. {
  266. "group": "Success 200",
  267. "type": "Int",
  268. "optional": false,
  269. "field": "data.book_end_status",
  270. "description": "<p>是否完结</p>"
  271. },
  272. {
  273. "group": "Success 200",
  274. "type": "String",
  275. "optional": false,
  276. "field": "data.book_published_time",
  277. "description": "<p>发布时间</p>"
  278. },
  279. {
  280. "group": "Success 200",
  281. "type": "String",
  282. "optional": false,
  283. "field": "data.copyright",
  284. "description": "<p>版权信息</p>"
  285. },
  286. {
  287. "group": "Success 200",
  288. "type": "Int",
  289. "optional": false,
  290. "field": "data.force_subscribe_chapter_id",
  291. "description": "<p>强制关注的章节数</p>"
  292. },
  293. {
  294. "group": "Success 200",
  295. "type": "String",
  296. "optional": false,
  297. "field": "data.update_time",
  298. "description": "<p>更新时间</p>"
  299. },
  300. {
  301. "group": "Success 200",
  302. "type": "Int",
  303. "optional": false,
  304. "field": "data.is_on_user_shelf",
  305. "description": "<p>是否加入架</p>"
  306. },
  307. {
  308. "group": "Success 200",
  309. "type": "Int",
  310. "optional": false,
  311. "field": "data.book_price",
  312. "description": "<p>是否上架</p>"
  313. },
  314. {
  315. "group": "Success 200",
  316. "type": "String",
  317. "optional": false,
  318. "field": "data.charge_type",
  319. "description": "<p>收费类型</p>"
  320. },
  321. {
  322. "group": "Success 200",
  323. "type": "String",
  324. "optional": false,
  325. "field": "data.keyword",
  326. "description": "<p>关键词</p>"
  327. },
  328. {
  329. "group": "Success 200",
  330. "type": "String",
  331. "optional": false,
  332. "field": "data.recommend_index",
  333. "description": "<p>推荐指数</p>"
  334. },
  335. {
  336. "group": "Success 200",
  337. "type": "String",
  338. "optional": false,
  339. "field": "data.is_show_index_content",
  340. "description": "<p>是否显示推荐指数文本</p>"
  341. },
  342. {
  343. "group": "Success 200",
  344. "type": "Int",
  345. "optional": false,
  346. "field": "data.click_count",
  347. "description": "<p>点击数</p>"
  348. },
  349. {
  350. "group": "Success 200",
  351. "type": "Int",
  352. "optional": false,
  353. "field": "data.product_id",
  354. "description": "<p>product_id</p>"
  355. },
  356. {
  357. "group": "Success 200",
  358. "type": "Int",
  359. "optional": false,
  360. "field": "data.last_cid",
  361. "description": "<p>最后一张cid</p>"
  362. },
  363. {
  364. "group": "Success 200",
  365. "type": "Int",
  366. "optional": false,
  367. "field": "data.last_chapter",
  368. "description": "<p>第254章 婚礼(大结局)</p>"
  369. },
  370. {
  371. "group": "Success 200",
  372. "type": "Int",
  373. "optional": false,
  374. "field": "data.last_chapter_is_vip",
  375. "description": "<p>第254章 婚礼(大结局)</p>"
  376. },
  377. {
  378. "group": "Success 200",
  379. "type": "Int",
  380. "optional": false,
  381. "field": "data.first_cid",
  382. "description": "<p>第一章cid</p>"
  383. }
  384. ]
  385. },
  386. "examples": [
  387. {
  388. "title": "Success-Response:",
  389. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_user_shelf: 0,\n book_price: null,\n keyword: 关键词,\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:0,\n last_chapter_is_vip:0,\n }\n }",
  390. "type": "json"
  391. }
  392. ]
  393. },
  394. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  395. "groupTitle": "图书"
  396. },
  397. {
  398. "version": "1.0.0",
  399. "description": "<p>书库</p>",
  400. "type": "get",
  401. "url": "books/library",
  402. "title": "书库",
  403. "parameter": {
  404. "fields": {
  405. "Parameter": [
  406. {
  407. "group": "Parameter",
  408. "type": "String",
  409. "optional": false,
  410. "field": "key",
  411. "description": ""
  412. },
  413. {
  414. "group": "Parameter",
  415. "type": "Int",
  416. "optional": false,
  417. "field": "category_id",
  418. "description": "<p>分类id</p>"
  419. },
  420. {
  421. "group": "Parameter",
  422. "type": "String",
  423. "optional": false,
  424. "field": "order_field",
  425. "description": "<p>排序字段(推荐指数:recommend_index|点击数:click_count|字数:size|update:时间)</p>"
  426. },
  427. {
  428. "group": "Parameter",
  429. "type": "String",
  430. "optional": false,
  431. "field": "order_seq",
  432. "description": "<p>排序顺序(顺序:asc|逆序:desc)</p>"
  433. },
  434. {
  435. "group": "Parameter",
  436. "type": "String",
  437. "optional": true,
  438. "field": "page_size",
  439. "description": "<p>分页大小</p>"
  440. },
  441. {
  442. "group": "Parameter",
  443. "type": "String",
  444. "optional": true,
  445. "field": "page",
  446. "description": "<p>页码</p>"
  447. },
  448. {
  449. "group": "Parameter",
  450. "type": "String",
  451. "optional": true,
  452. "field": "status",
  453. "description": "<p>完结与否(0|1)完结1 连载0</p>"
  454. },
  455. {
  456. "group": "Parameter",
  457. "type": "String",
  458. "optional": true,
  459. "field": "token",
  460. "description": "<p>token</p>"
  461. }
  462. ]
  463. }
  464. },
  465. "header": {
  466. "fields": {
  467. "Header": [
  468. {
  469. "group": "Header",
  470. "type": "String",
  471. "optional": true,
  472. "field": "Authorization",
  473. "description": "<p>token 两个token任选其一</p>"
  474. }
  475. ]
  476. }
  477. },
  478. "group": "Book",
  479. "name": "library",
  480. "success": {
  481. "fields": {
  482. "Success 200": [
  483. {
  484. "group": "Success 200",
  485. "type": "int",
  486. "optional": false,
  487. "field": "code",
  488. "description": "<p>状态码</p>"
  489. },
  490. {
  491. "group": "Success 200",
  492. "type": "String",
  493. "optional": false,
  494. "field": "msg",
  495. "description": "<p>信息</p>"
  496. },
  497. {
  498. "group": "Success 200",
  499. "type": "object",
  500. "optional": false,
  501. "field": "data",
  502. "description": "<p>结果集</p>"
  503. },
  504. {
  505. "group": "Success 200",
  506. "type": "Array",
  507. "optional": false,
  508. "field": "data.list",
  509. "description": "<p>结果数据集</p>"
  510. },
  511. {
  512. "group": "Success 200",
  513. "type": "Int",
  514. "optional": false,
  515. "field": "data.list.book_id",
  516. "description": "<p>bid</p>"
  517. },
  518. {
  519. "group": "Success 200",
  520. "type": "String",
  521. "optional": false,
  522. "field": "data.list.book_name",
  523. "description": "<p>书名</p>"
  524. },
  525. {
  526. "group": "Success 200",
  527. "type": "String",
  528. "optional": false,
  529. "field": "data.list.book_summary",
  530. "description": "<p>简介</p>"
  531. },
  532. {
  533. "group": "Success 200",
  534. "type": "String",
  535. "optional": false,
  536. "field": "data.list.book_author",
  537. "description": "<p>作者</p>"
  538. },
  539. {
  540. "group": "Success 200",
  541. "type": "String",
  542. "optional": false,
  543. "field": "data.list.cover_url",
  544. "description": "<p>封面</p>"
  545. },
  546. {
  547. "group": "Success 200",
  548. "type": "Int",
  549. "optional": false,
  550. "field": "data.list.book_word_count",
  551. "description": "<p>字数</p>"
  552. },
  553. {
  554. "group": "Success 200",
  555. "type": "Int",
  556. "optional": false,
  557. "field": "data.list.book_chapter_total",
  558. "description": "<p>章节数</p>"
  559. },
  560. {
  561. "group": "Success 200",
  562. "type": "Int",
  563. "optional": false,
  564. "field": "data.list.book_category_id",
  565. "description": "<p>分类</p>"
  566. },
  567. {
  568. "group": "Success 200",
  569. "type": "String",
  570. "optional": false,
  571. "field": "data.list.book_category",
  572. "description": "<p>分类名</p>"
  573. },
  574. {
  575. "group": "Success 200",
  576. "type": "String",
  577. "optional": false,
  578. "field": "data.list.book_end_status",
  579. "description": "<p>是否完结</p>"
  580. },
  581. {
  582. "group": "Success 200",
  583. "type": "String",
  584. "optional": false,
  585. "field": "data.list.book_published_time",
  586. "description": "<p>发布时间</p>"
  587. },
  588. {
  589. "group": "Success 200",
  590. "type": "String",
  591. "optional": false,
  592. "field": "data.list.copyright",
  593. "description": "<p>版权信息</p>"
  594. },
  595. {
  596. "group": "Success 200",
  597. "type": "Int",
  598. "optional": false,
  599. "field": "data.list.force_subscribe_chapter_id",
  600. "description": "<p>强制关注的章节数</p>"
  601. },
  602. {
  603. "group": "Success 200",
  604. "type": "String",
  605. "optional": false,
  606. "field": "data.list.update_time",
  607. "description": "<p>更新时间</p>"
  608. },
  609. {
  610. "group": "Success 200",
  611. "type": "Int",
  612. "optional": false,
  613. "field": "data.list.is_on_shelf",
  614. "description": "<p>是否上架</p>"
  615. },
  616. {
  617. "group": "Success 200",
  618. "type": "String",
  619. "optional": false,
  620. "field": "data.list.book_price",
  621. "description": "<p>是否上架</p>"
  622. },
  623. {
  624. "group": "Success 200",
  625. "type": "String",
  626. "optional": false,
  627. "field": "data.list.recommend_index",
  628. "description": "<p>推荐指数</p>"
  629. },
  630. {
  631. "group": "Success 200",
  632. "type": "Int",
  633. "optional": false,
  634. "field": "data.list.charge_type",
  635. "description": "<p>收费类型</p>"
  636. },
  637. {
  638. "group": "Success 200",
  639. "type": "Int",
  640. "optional": false,
  641. "field": "data.list.keyword",
  642. "description": "<p>关键词</p>"
  643. },
  644. {
  645. "group": "Success 200",
  646. "type": "Int",
  647. "optional": false,
  648. "field": "data.list.is_show_index_content",
  649. "description": "<p>是否显示推荐指数文本</p>"
  650. },
  651. {
  652. "group": "Success 200",
  653. "type": "Int",
  654. "optional": false,
  655. "field": "data.list.click_count",
  656. "description": "<p>点击数</p>"
  657. },
  658. {
  659. "group": "Success 200",
  660. "type": "Int",
  661. "optional": false,
  662. "field": "data.list.product_id",
  663. "description": "<p>product_id</p>"
  664. },
  665. {
  666. "group": "Success 200",
  667. "type": "Int",
  668. "optional": false,
  669. "field": "data.list.last_cid",
  670. "description": "<p>1224</p>"
  671. },
  672. {
  673. "group": "Success 200",
  674. "type": "Int",
  675. "optional": false,
  676. "field": "data.list.last_chapter",
  677. "description": "<p>第254章 婚礼(大结局)</p>"
  678. },
  679. {
  680. "group": "Success 200",
  681. "type": "object",
  682. "optional": false,
  683. "field": "data.meta",
  684. "description": "<p>分页信息</p>"
  685. },
  686. {
  687. "group": "Success 200",
  688. "type": "Int",
  689. "optional": false,
  690. "field": "data.meta.total",
  691. "description": "<p>总条数</p>"
  692. },
  693. {
  694. "group": "Success 200",
  695. "type": "Int",
  696. "optional": false,
  697. "field": "data.meta.per_page",
  698. "description": "<p>每页条数</p>"
  699. },
  700. {
  701. "group": "Success 200",
  702. "type": "Int",
  703. "optional": false,
  704. "field": "data.meta.current_page",
  705. "description": "<p>当前页</p>"
  706. },
  707. {
  708. "group": "Success 200",
  709. "type": "Int",
  710. "optional": false,
  711. "field": "data.meta.last_page",
  712. "description": "<p>最后页</p>"
  713. },
  714. {
  715. "group": "Success 200",
  716. "type": "String",
  717. "optional": false,
  718. "field": "data.meta.next_page_url",
  719. "description": "<p>下一页</p>"
  720. },
  721. {
  722. "group": "Success 200",
  723. "type": "String",
  724. "optional": false,
  725. "field": "data.meta.prev_page_url",
  726. "description": "<p>上一页</p>"
  727. }
  728. ]
  729. },
  730. "examples": [
  731. {
  732. "title": "Success-Response:",
  733. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n list: [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n meta: {\n total: 18,\n per_page: 15,\n current_page: 1,\n last_page: 2,\n next_page_url: \"http://myapi.cn/api/hotrank/books?page=2\",\n prev_page_url: \"\"\n }\n }\n }",
  734. "type": "json"
  735. }
  736. ]
  737. },
  738. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  739. "groupTitle": "图书"
  740. },
  741. {
  742. "version": "1.0.0",
  743. "description": "<p>排行帮</p>",
  744. "type": "get",
  745. "url": "books/rank",
  746. "title": "排行帮",
  747. "parameter": {
  748. "fields": {
  749. "Parameter": [
  750. {
  751. "group": "Parameter",
  752. "type": "Int",
  753. "optional": false,
  754. "field": "type",
  755. "description": "<p>(点击帮:1|字数帮:2|新书榜|3)</p>"
  756. },
  757. {
  758. "group": "Parameter",
  759. "type": "Int",
  760. "optional": false,
  761. "field": "time",
  762. "description": "<p>(周:1|月:2|总|3)</p>"
  763. },
  764. {
  765. "group": "Parameter",
  766. "type": "String",
  767. "optional": true,
  768. "field": "token",
  769. "description": "<p>token</p>"
  770. }
  771. ]
  772. }
  773. },
  774. "header": {
  775. "fields": {
  776. "Header": [
  777. {
  778. "group": "Header",
  779. "type": "String",
  780. "optional": true,
  781. "field": "Authorization",
  782. "description": "<p>token 两个token任选其一</p>"
  783. }
  784. ]
  785. }
  786. },
  787. "group": "Book",
  788. "name": "rank",
  789. "success": {
  790. "fields": {
  791. "Success 200": [
  792. {
  793. "group": "Success 200",
  794. "type": "int",
  795. "optional": false,
  796. "field": "code",
  797. "description": "<p>状态码</p>"
  798. },
  799. {
  800. "group": "Success 200",
  801. "type": "String",
  802. "optional": false,
  803. "field": "msg",
  804. "description": "<p>信息</p>"
  805. },
  806. {
  807. "group": "Success 200",
  808. "type": "object",
  809. "optional": false,
  810. "field": "data",
  811. "description": "<p>结果集</p>"
  812. },
  813. {
  814. "group": "Success 200",
  815. "type": "Int",
  816. "optional": false,
  817. "field": "data.book_id",
  818. "description": "<p>bid</p>"
  819. },
  820. {
  821. "group": "Success 200",
  822. "type": "String",
  823. "optional": false,
  824. "field": "data.book_name",
  825. "description": "<p>书名</p>"
  826. },
  827. {
  828. "group": "Success 200",
  829. "type": "String",
  830. "optional": false,
  831. "field": "data.book_summary",
  832. "description": "<p>简介</p>"
  833. },
  834. {
  835. "group": "Success 200",
  836. "type": "String",
  837. "optional": false,
  838. "field": "data.book_author",
  839. "description": "<p>作者</p>"
  840. },
  841. {
  842. "group": "Success 200",
  843. "type": "String",
  844. "optional": false,
  845. "field": "data.cover_url",
  846. "description": "<p>封面</p>"
  847. },
  848. {
  849. "group": "Success 200",
  850. "type": "Int",
  851. "optional": false,
  852. "field": "data.book_word_count",
  853. "description": "<p>字数</p>"
  854. },
  855. {
  856. "group": "Success 200",
  857. "type": "Int",
  858. "optional": false,
  859. "field": "data.book_chapter_total",
  860. "description": "<p>章节数</p>"
  861. },
  862. {
  863. "group": "Success 200",
  864. "type": "Int",
  865. "optional": false,
  866. "field": "data.book_category_id",
  867. "description": "<p>分类</p>"
  868. },
  869. {
  870. "group": "Success 200",
  871. "type": "String",
  872. "optional": false,
  873. "field": "data.book_category",
  874. "description": "<p>分类名</p>"
  875. },
  876. {
  877. "group": "Success 200",
  878. "type": "String",
  879. "optional": false,
  880. "field": "data.book_end_status",
  881. "description": "<p>是否完结</p>"
  882. },
  883. {
  884. "group": "Success 200",
  885. "type": "String",
  886. "optional": false,
  887. "field": "data.book_published_time",
  888. "description": "<p>发布时间</p>"
  889. },
  890. {
  891. "group": "Success 200",
  892. "type": "String",
  893. "optional": false,
  894. "field": "data.copyright",
  895. "description": "<p>版权信息</p>"
  896. },
  897. {
  898. "group": "Success 200",
  899. "type": "Int",
  900. "optional": false,
  901. "field": "data.force_subscribe_chapter_id",
  902. "description": "<p>强制关注的章节数</p>"
  903. },
  904. {
  905. "group": "Success 200",
  906. "type": "String",
  907. "optional": false,
  908. "field": "data.update_time",
  909. "description": "<p>更新时间</p>"
  910. },
  911. {
  912. "group": "Success 200",
  913. "type": "Int",
  914. "optional": false,
  915. "field": "data.is_on_shelf",
  916. "description": "<p>是否上架</p>"
  917. },
  918. {
  919. "group": "Success 200",
  920. "type": "String",
  921. "optional": false,
  922. "field": "data.book_price",
  923. "description": "<p>是否上架</p>"
  924. },
  925. {
  926. "group": "Success 200",
  927. "type": "String",
  928. "optional": false,
  929. "field": "data.recommend_index",
  930. "description": "<p>推荐指数</p>"
  931. },
  932. {
  933. "group": "Success 200",
  934. "type": "Int",
  935. "optional": false,
  936. "field": "data.charge_type",
  937. "description": "<p>收费类型</p>"
  938. },
  939. {
  940. "group": "Success 200",
  941. "type": "Int",
  942. "optional": false,
  943. "field": "data.keyword",
  944. "description": "<p>关键词</p>"
  945. },
  946. {
  947. "group": "Success 200",
  948. "type": "Int",
  949. "optional": false,
  950. "field": "data.is_show_index_content",
  951. "description": "<p>是否显示推荐指数文本</p>"
  952. },
  953. {
  954. "group": "Success 200",
  955. "type": "Int",
  956. "optional": false,
  957. "field": "data.click_count",
  958. "description": "<p>点击数</p>"
  959. },
  960. {
  961. "group": "Success 200",
  962. "type": "Int",
  963. "optional": false,
  964. "field": "data.product_id",
  965. "description": "<p>product_id</p>"
  966. },
  967. {
  968. "group": "Success 200",
  969. "type": "Int",
  970. "optional": false,
  971. "field": "data.last_cid",
  972. "description": "<p>123</p>"
  973. },
  974. {
  975. "group": "Success 200",
  976. "type": "Int",
  977. "optional": false,
  978. "field": "data.last_chapter",
  979. "description": "<p>第254章 婚礼(大结局)</p>"
  980. }
  981. ]
  982. },
  983. "examples": [
  984. {
  985. "title": "Success-Response:",
  986. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n male:[\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n female:[{},{}] \n }\n }",
  987. "type": "json"
  988. }
  989. ]
  990. },
  991. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  992. "groupTitle": "图书"
  993. },
  994. {
  995. "version": "1.0.0",
  996. "description": "<p>尾页推荐</p>",
  997. "type": "get",
  998. "url": "books/readOverRecommend",
  999. "title": "尾页推荐",
  1000. "parameter": {
  1001. "fields": {
  1002. "Parameter": [
  1003. {
  1004. "group": "Parameter",
  1005. "type": "Int",
  1006. "optional": false,
  1007. "field": "bid",
  1008. "description": ""
  1009. },
  1010. {
  1011. "group": "Parameter",
  1012. "type": "String",
  1013. "optional": true,
  1014. "field": "token",
  1015. "description": "<p>token</p>"
  1016. }
  1017. ]
  1018. }
  1019. },
  1020. "group": "Book",
  1021. "header": {
  1022. "fields": {
  1023. "Header": [
  1024. {
  1025. "group": "Header",
  1026. "type": "String",
  1027. "optional": true,
  1028. "field": "Authorization",
  1029. "description": "<p>token 两个token任选其一</p>"
  1030. }
  1031. ]
  1032. }
  1033. },
  1034. "name": "readOverRecommend",
  1035. "success": {
  1036. "fields": {
  1037. "Success 200": [
  1038. {
  1039. "group": "Success 200",
  1040. "type": "int",
  1041. "optional": false,
  1042. "field": "code",
  1043. "description": "<p>状态码</p>"
  1044. },
  1045. {
  1046. "group": "Success 200",
  1047. "type": "String",
  1048. "optional": false,
  1049. "field": "msg",
  1050. "description": "<p>信息</p>"
  1051. },
  1052. {
  1053. "group": "Success 200",
  1054. "type": "object",
  1055. "optional": false,
  1056. "field": "data",
  1057. "description": "<p>结果集</p>"
  1058. },
  1059. {
  1060. "group": "Success 200",
  1061. "type": "Int",
  1062. "optional": false,
  1063. "field": "data.book_id",
  1064. "description": "<p>bid</p>"
  1065. },
  1066. {
  1067. "group": "Success 200",
  1068. "type": "String",
  1069. "optional": false,
  1070. "field": "data.book_name",
  1071. "description": "<p>书名</p>"
  1072. },
  1073. {
  1074. "group": "Success 200",
  1075. "type": "String",
  1076. "optional": false,
  1077. "field": "data.book_summary",
  1078. "description": "<p>简介</p>"
  1079. },
  1080. {
  1081. "group": "Success 200",
  1082. "type": "String",
  1083. "optional": false,
  1084. "field": "data.book_author",
  1085. "description": "<p>作者</p>"
  1086. },
  1087. {
  1088. "group": "Success 200",
  1089. "type": "String",
  1090. "optional": false,
  1091. "field": "data.cover_url",
  1092. "description": "<p>封面</p>"
  1093. },
  1094. {
  1095. "group": "Success 200",
  1096. "type": "Int",
  1097. "optional": false,
  1098. "field": "data.book_word_count",
  1099. "description": "<p>字数</p>"
  1100. },
  1101. {
  1102. "group": "Success 200",
  1103. "type": "Int",
  1104. "optional": false,
  1105. "field": "data.book_chapter_total",
  1106. "description": "<p>章节数</p>"
  1107. },
  1108. {
  1109. "group": "Success 200",
  1110. "type": "Int",
  1111. "optional": false,
  1112. "field": "data.book_category_id",
  1113. "description": "<p>分类</p>"
  1114. },
  1115. {
  1116. "group": "Success 200",
  1117. "type": "String",
  1118. "optional": false,
  1119. "field": "data.book_category",
  1120. "description": "<p>分类名</p>"
  1121. },
  1122. {
  1123. "group": "Success 200",
  1124. "type": "String",
  1125. "optional": false,
  1126. "field": "data.book_end_status",
  1127. "description": "<p>是否完结</p>"
  1128. },
  1129. {
  1130. "group": "Success 200",
  1131. "type": "String",
  1132. "optional": false,
  1133. "field": "data.book_published_time",
  1134. "description": "<p>发布时间</p>"
  1135. },
  1136. {
  1137. "group": "Success 200",
  1138. "type": "String",
  1139. "optional": false,
  1140. "field": "data.copyright",
  1141. "description": "<p>版权信息</p>"
  1142. },
  1143. {
  1144. "group": "Success 200",
  1145. "type": "Int",
  1146. "optional": false,
  1147. "field": "data.force_subscribe_chapter_id",
  1148. "description": "<p>强制关注的章节数</p>"
  1149. },
  1150. {
  1151. "group": "Success 200",
  1152. "type": "String",
  1153. "optional": false,
  1154. "field": "data.update_time",
  1155. "description": "<p>更新时间</p>"
  1156. },
  1157. {
  1158. "group": "Success 200",
  1159. "type": "Int",
  1160. "optional": false,
  1161. "field": "data.is_on_shelf",
  1162. "description": "<p>是否上架</p>"
  1163. },
  1164. {
  1165. "group": "Success 200",
  1166. "type": "String",
  1167. "optional": false,
  1168. "field": "data.book_price",
  1169. "description": "<p>是否上架</p>"
  1170. },
  1171. {
  1172. "group": "Success 200",
  1173. "type": "String",
  1174. "optional": false,
  1175. "field": "data.recommend_index",
  1176. "description": "<p>推荐指数</p>"
  1177. },
  1178. {
  1179. "group": "Success 200",
  1180. "type": "Int",
  1181. "optional": false,
  1182. "field": "data.charge_type",
  1183. "description": "<p>收费类型</p>"
  1184. },
  1185. {
  1186. "group": "Success 200",
  1187. "type": "Int",
  1188. "optional": false,
  1189. "field": "data.keyword",
  1190. "description": "<p>关键词</p>"
  1191. },
  1192. {
  1193. "group": "Success 200",
  1194. "type": "Int",
  1195. "optional": false,
  1196. "field": "data.is_show_index_content",
  1197. "description": "<p>是否显示推荐指数文本</p>"
  1198. },
  1199. {
  1200. "group": "Success 200",
  1201. "type": "Int",
  1202. "optional": false,
  1203. "field": "data.click_count",
  1204. "description": "<p>点击数</p>"
  1205. },
  1206. {
  1207. "group": "Success 200",
  1208. "type": "Int",
  1209. "optional": false,
  1210. "field": "data.product_id",
  1211. "description": "<p>product_id</p>"
  1212. },
  1213. {
  1214. "group": "Success 200",
  1215. "type": "Int",
  1216. "optional": false,
  1217. "field": "data.last_cid",
  1218. "description": "<p>123</p>"
  1219. },
  1220. {
  1221. "group": "Success 200",
  1222. "type": "Int",
  1223. "optional": false,
  1224. "field": "data.last_chapter",
  1225. "description": "<p>第254章 婚礼(大结局)</p>"
  1226. }
  1227. ]
  1228. },
  1229. "examples": [
  1230. {
  1231. "title": "Success-Response:",
  1232. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n }\n }",
  1233. "type": "json"
  1234. }
  1235. ]
  1236. },
  1237. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  1238. "groupTitle": "图书"
  1239. },
  1240. {
  1241. "version": "1.0.0",
  1242. "description": "<p>相似推荐</p>",
  1243. "type": "get",
  1244. "url": "books/similar",
  1245. "title": "相似推荐",
  1246. "parameter": {
  1247. "fields": {
  1248. "Parameter": [
  1249. {
  1250. "group": "Parameter",
  1251. "type": "Int",
  1252. "optional": false,
  1253. "field": "category_id",
  1254. "description": ""
  1255. },
  1256. {
  1257. "group": "Parameter",
  1258. "type": "Int",
  1259. "optional": false,
  1260. "field": "bid",
  1261. "description": ""
  1262. },
  1263. {
  1264. "group": "Parameter",
  1265. "type": "String",
  1266. "optional": true,
  1267. "field": "token",
  1268. "description": "<p>token</p>"
  1269. }
  1270. ]
  1271. }
  1272. },
  1273. "group": "Book",
  1274. "name": "similarRecom",
  1275. "header": {
  1276. "fields": {
  1277. "Header": [
  1278. {
  1279. "group": "Header",
  1280. "type": "String",
  1281. "optional": true,
  1282. "field": "Authorization",
  1283. "description": "<p>token 两个token任选其一</p>"
  1284. }
  1285. ]
  1286. }
  1287. },
  1288. "success": {
  1289. "fields": {
  1290. "Success 200": [
  1291. {
  1292. "group": "Success 200",
  1293. "type": "int",
  1294. "optional": false,
  1295. "field": "code",
  1296. "description": "<p>状态码</p>"
  1297. },
  1298. {
  1299. "group": "Success 200",
  1300. "type": "String",
  1301. "optional": false,
  1302. "field": "msg",
  1303. "description": "<p>信息</p>"
  1304. },
  1305. {
  1306. "group": "Success 200",
  1307. "type": "object",
  1308. "optional": false,
  1309. "field": "data",
  1310. "description": "<p>结果集</p>"
  1311. },
  1312. {
  1313. "group": "Success 200",
  1314. "type": "Int",
  1315. "optional": false,
  1316. "field": "data.book_id",
  1317. "description": "<p>bid</p>"
  1318. },
  1319. {
  1320. "group": "Success 200",
  1321. "type": "String",
  1322. "optional": false,
  1323. "field": "data.book_name",
  1324. "description": "<p>书名</p>"
  1325. },
  1326. {
  1327. "group": "Success 200",
  1328. "type": "String",
  1329. "optional": false,
  1330. "field": "data.book_summary",
  1331. "description": "<p>简介</p>"
  1332. },
  1333. {
  1334. "group": "Success 200",
  1335. "type": "String",
  1336. "optional": false,
  1337. "field": "data.book_author",
  1338. "description": "<p>作者</p>"
  1339. },
  1340. {
  1341. "group": "Success 200",
  1342. "type": "String",
  1343. "optional": false,
  1344. "field": "data.cover_url",
  1345. "description": "<p>封面</p>"
  1346. },
  1347. {
  1348. "group": "Success 200",
  1349. "type": "Int",
  1350. "optional": false,
  1351. "field": "data.book_word_count",
  1352. "description": "<p>字数</p>"
  1353. },
  1354. {
  1355. "group": "Success 200",
  1356. "type": "Int",
  1357. "optional": false,
  1358. "field": "data.book_chapter_total",
  1359. "description": "<p>章节数</p>"
  1360. },
  1361. {
  1362. "group": "Success 200",
  1363. "type": "Int",
  1364. "optional": false,
  1365. "field": "data.book_category_id",
  1366. "description": "<p>分类</p>"
  1367. },
  1368. {
  1369. "group": "Success 200",
  1370. "type": "String",
  1371. "optional": false,
  1372. "field": "data.book_category",
  1373. "description": "<p>分类名</p>"
  1374. },
  1375. {
  1376. "group": "Success 200",
  1377. "type": "String",
  1378. "optional": false,
  1379. "field": "data.book_end_status",
  1380. "description": "<p>是否完结</p>"
  1381. },
  1382. {
  1383. "group": "Success 200",
  1384. "type": "String",
  1385. "optional": false,
  1386. "field": "data.book_published_time",
  1387. "description": "<p>发布时间</p>"
  1388. },
  1389. {
  1390. "group": "Success 200",
  1391. "type": "String",
  1392. "optional": false,
  1393. "field": "data.copyright",
  1394. "description": "<p>版权信息</p>"
  1395. },
  1396. {
  1397. "group": "Success 200",
  1398. "type": "Int",
  1399. "optional": false,
  1400. "field": "data.force_subscribe_chapter_id",
  1401. "description": "<p>强制关注的章节数</p>"
  1402. },
  1403. {
  1404. "group": "Success 200",
  1405. "type": "String",
  1406. "optional": false,
  1407. "field": "data.update_time",
  1408. "description": "<p>更新时间</p>"
  1409. },
  1410. {
  1411. "group": "Success 200",
  1412. "type": "Int",
  1413. "optional": false,
  1414. "field": "data.is_on_shelf",
  1415. "description": "<p>是否上架</p>"
  1416. },
  1417. {
  1418. "group": "Success 200",
  1419. "type": "String",
  1420. "optional": false,
  1421. "field": "data.book_price",
  1422. "description": "<p>是否上架</p>"
  1423. },
  1424. {
  1425. "group": "Success 200",
  1426. "type": "String",
  1427. "optional": false,
  1428. "field": "data.recommend_index",
  1429. "description": "<p>推荐指数</p>"
  1430. },
  1431. {
  1432. "group": "Success 200",
  1433. "type": "Int",
  1434. "optional": false,
  1435. "field": "data.charge_type",
  1436. "description": "<p>收费类型</p>"
  1437. },
  1438. {
  1439. "group": "Success 200",
  1440. "type": "Int",
  1441. "optional": false,
  1442. "field": "data.keyword",
  1443. "description": "<p>关键词</p>"
  1444. },
  1445. {
  1446. "group": "Success 200",
  1447. "type": "Int",
  1448. "optional": false,
  1449. "field": "data.is_show_index_content",
  1450. "description": "<p>是否显示推荐指数文本</p>"
  1451. },
  1452. {
  1453. "group": "Success 200",
  1454. "type": "Int",
  1455. "optional": false,
  1456. "field": "data.click_count",
  1457. "description": "<p>点击数</p>"
  1458. },
  1459. {
  1460. "group": "Success 200",
  1461. "type": "Int",
  1462. "optional": false,
  1463. "field": "data.product_id",
  1464. "description": "<p>product_id</p>"
  1465. },
  1466. {
  1467. "group": "Success 200",
  1468. "type": "Int",
  1469. "optional": false,
  1470. "field": "data.last_cid",
  1471. "description": "<p>123</p>"
  1472. },
  1473. {
  1474. "group": "Success 200",
  1475. "type": "Int",
  1476. "optional": false,
  1477. "field": "data.last_chapter",
  1478. "description": "<p>第254章 婚礼(大结局)</p>"
  1479. }
  1480. ]
  1481. },
  1482. "examples": [
  1483. {
  1484. "title": "Success-Response:",
  1485. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n book_id: 5,\n book_name: \"肌缘巧合\",\n book_summary: \"&nbsp;&nbsp;&nbsp;&nbsp;他是权势倾天,纵横商界的王者,却偏偏钟情于她,一宠成瘾。“女人,我要你......只要你能满足我,别墅、游轮、支票,你随便挑。”她羞涩的半低着头:“我只想要你。”他挑眉,“你野心不小啊!”她妩媚一笑,解开他的领带,“难道你不愿意!”他宠她爱她,给她所有想要的。只是有一天她终于忍不住暴走,“靠,你有没有节制呀?我要离婚。”\",\n book_author: \"妖火\",\n cover_url: \"http://www.leyuee.com/cover/0/8.jpg\",\n book_word_count: 0,\n book_chapter_total: 0,\n book_category_id: null,\n book_category: \"爆笑,宠文,潜规则\",\n book_end_status: 8,\n book_published_time: null,\n copyright: null,\n charge_type: null,\n force_subscribe_chapter_id: 0,\n update_time: null,\n is_on_shelf: 1,\n book_price: null,\n keyword: \"温馨,虐心,清水\",\n recommend_index:2,\n is_show_index_content:0,\n click_count:0,\n product_id:0,\n last_cid:0,\n last_chapter:第254章 婚礼(大结局),\n },\n ],\n }\n }",
  1486. "type": "json"
  1487. }
  1488. ]
  1489. },
  1490. "filename": "app/Http/Controllers/QuickApp/Book/BookController.php",
  1491. "groupTitle": "图书"
  1492. },
  1493. {
  1494. "version": "1.0.0",
  1495. "description": "<p>章节列表不分页</p>",
  1496. "type": "get",
  1497. "url": "books/{bid}/allcatalog",
  1498. "title": "章节列表不分页",
  1499. "parameter": {
  1500. "fields": {
  1501. "Parameter": [
  1502. {
  1503. "group": "Parameter",
  1504. "type": "String",
  1505. "optional": true,
  1506. "field": "token",
  1507. "description": "<p>token</p>"
  1508. }
  1509. ]
  1510. }
  1511. },
  1512. "header": {
  1513. "fields": {
  1514. "Header": [
  1515. {
  1516. "group": "Header",
  1517. "type": "String",
  1518. "optional": true,
  1519. "field": "Authorization",
  1520. "description": "<p>token 两个token任选其一</p>"
  1521. }
  1522. ]
  1523. }
  1524. },
  1525. "group": "Chapter",
  1526. "name": "getCatalog",
  1527. "success": {
  1528. "fields": {
  1529. "Success 200": [
  1530. {
  1531. "group": "Success 200",
  1532. "type": "int",
  1533. "optional": false,
  1534. "field": "code",
  1535. "description": "<p>状态码</p>"
  1536. },
  1537. {
  1538. "group": "Success 200",
  1539. "type": "String",
  1540. "optional": false,
  1541. "field": "msg",
  1542. "description": "<p>信息</p>"
  1543. },
  1544. {
  1545. "group": "Success 200",
  1546. "type": "object",
  1547. "optional": false,
  1548. "field": "data",
  1549. "description": "<p>结果集</p>"
  1550. },
  1551. {
  1552. "group": "Success 200",
  1553. "type": "Array",
  1554. "optional": false,
  1555. "field": "data.list",
  1556. "description": "<p>分页结果集</p>"
  1557. },
  1558. {
  1559. "group": "Success 200",
  1560. "type": "Int",
  1561. "optional": false,
  1562. "field": "data.list.bid",
  1563. "description": "<p>bid</p>"
  1564. },
  1565. {
  1566. "group": "Success 200",
  1567. "type": "Int",
  1568. "optional": false,
  1569. "field": "data.list.chapter_id",
  1570. "description": "<p>章节id</p>"
  1571. },
  1572. {
  1573. "group": "Success 200",
  1574. "type": "String",
  1575. "optional": false,
  1576. "field": "data.list.chapter_name",
  1577. "description": "<p>章节名称</p>"
  1578. },
  1579. {
  1580. "group": "Success 200",
  1581. "type": "Int",
  1582. "optional": false,
  1583. "field": "data.list.chapter_sequence",
  1584. "description": "<p>序号</p>"
  1585. },
  1586. {
  1587. "group": "Success 200",
  1588. "type": "Int",
  1589. "optional": false,
  1590. "field": "data.list.chapter_is_vip",
  1591. "description": "<p>是否vip</p>"
  1592. },
  1593. {
  1594. "group": "Success 200",
  1595. "type": "Int",
  1596. "optional": false,
  1597. "field": "data.list.chapter_size",
  1598. "description": "<p>章节大小</p>"
  1599. },
  1600. {
  1601. "group": "Success 200",
  1602. "type": "Int",
  1603. "optional": false,
  1604. "field": "data.list.prev_cid",
  1605. "description": "<p>上一章节id</p>"
  1606. },
  1607. {
  1608. "group": "Success 200",
  1609. "type": "Int",
  1610. "optional": false,
  1611. "field": "data.list.next_cid",
  1612. "description": "<p>下一章节</p>"
  1613. },
  1614. {
  1615. "group": "Success 200",
  1616. "type": "String",
  1617. "optional": false,
  1618. "field": "data.list.recent_update_at",
  1619. "description": "<p>更新时间</p>"
  1620. },
  1621. {
  1622. "group": "Success 200",
  1623. "type": "String",
  1624. "optional": false,
  1625. "field": "data.list.is_need_subscirbe",
  1626. "description": "<p>是否强制关注</p>"
  1627. },
  1628. {
  1629. "group": "Success 200",
  1630. "type": "object",
  1631. "optional": false,
  1632. "field": "data.meta",
  1633. "description": "<p>分页信息</p>"
  1634. },
  1635. {
  1636. "group": "Success 200",
  1637. "type": "Int",
  1638. "optional": false,
  1639. "field": "data.meta.total",
  1640. "description": "<p>总条数</p>"
  1641. },
  1642. {
  1643. "group": "Success 200",
  1644. "type": "Int",
  1645. "optional": false,
  1646. "field": "data.meta.per_page",
  1647. "description": "<p>每页条数</p>"
  1648. },
  1649. {
  1650. "group": "Success 200",
  1651. "type": "Int",
  1652. "optional": false,
  1653. "field": "data.meta.current_page",
  1654. "description": "<p>当前页</p>"
  1655. },
  1656. {
  1657. "group": "Success 200",
  1658. "type": "Int",
  1659. "optional": false,
  1660. "field": "data.meta.last_page",
  1661. "description": "<p>最后页</p>"
  1662. },
  1663. {
  1664. "group": "Success 200",
  1665. "type": "String",
  1666. "optional": false,
  1667. "field": "data.meta.next_page_url",
  1668. "description": "<p>下一页</p>"
  1669. },
  1670. {
  1671. "group": "Success 200",
  1672. "type": "String",
  1673. "optional": false,
  1674. "field": "data.meta.prev_page_url",
  1675. "description": "<p>上一页</p>"
  1676. }
  1677. ]
  1678. },
  1679. "examples": [
  1680. {
  1681. "title": "Success-Response:",
  1682. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\n [\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n ]\n }",
  1683. "type": "json"
  1684. }
  1685. ]
  1686. },
  1687. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  1688. "groupTitle": "章节"
  1689. },
  1690. {
  1691. "version": "1.0.0",
  1692. "description": "<p>章节列表分页</p>",
  1693. "type": "get",
  1694. "url": "books/{bid}/catalog",
  1695. "title": "章节列表分页",
  1696. "parameter": {
  1697. "fields": {
  1698. "Parameter": [
  1699. {
  1700. "group": "Parameter",
  1701. "type": "String",
  1702. "optional": true,
  1703. "field": "token",
  1704. "description": "<p>token</p>"
  1705. },
  1706. {
  1707. "group": "Parameter",
  1708. "type": "Int",
  1709. "optional": false,
  1710. "field": "page_size",
  1711. "description": "<p>分页大小(默认15)</p>"
  1712. },
  1713. {
  1714. "group": "Parameter",
  1715. "type": "Int",
  1716. "optional": false,
  1717. "field": "page",
  1718. "description": "<p>页码(默认1)</p>"
  1719. }
  1720. ]
  1721. }
  1722. },
  1723. "header": {
  1724. "fields": {
  1725. "Header": [
  1726. {
  1727. "group": "Header",
  1728. "type": "String",
  1729. "optional": true,
  1730. "field": "Authorization",
  1731. "description": "<p>token 两个token任选其一</p>"
  1732. }
  1733. ]
  1734. }
  1735. },
  1736. "group": "Chapter",
  1737. "name": "getCatalogPerPage",
  1738. "success": {
  1739. "fields": {
  1740. "Success 200": [
  1741. {
  1742. "group": "Success 200",
  1743. "type": "int",
  1744. "optional": false,
  1745. "field": "code",
  1746. "description": "<p>状态码</p>"
  1747. },
  1748. {
  1749. "group": "Success 200",
  1750. "type": "String",
  1751. "optional": false,
  1752. "field": "msg",
  1753. "description": "<p>信息</p>"
  1754. },
  1755. {
  1756. "group": "Success 200",
  1757. "type": "object",
  1758. "optional": false,
  1759. "field": "data",
  1760. "description": "<p>结果集</p>"
  1761. },
  1762. {
  1763. "group": "Success 200",
  1764. "type": "Array",
  1765. "optional": false,
  1766. "field": "data.list",
  1767. "description": "<p>分页结果集</p>"
  1768. },
  1769. {
  1770. "group": "Success 200",
  1771. "type": "Int",
  1772. "optional": false,
  1773. "field": "data.list.bid",
  1774. "description": "<p>bid</p>"
  1775. },
  1776. {
  1777. "group": "Success 200",
  1778. "type": "Int",
  1779. "optional": false,
  1780. "field": "data.list.chapter_id",
  1781. "description": "<p>章节id</p>"
  1782. },
  1783. {
  1784. "group": "Success 200",
  1785. "type": "String",
  1786. "optional": false,
  1787. "field": "data.list.chapter_name",
  1788. "description": "<p>章节名称</p>"
  1789. },
  1790. {
  1791. "group": "Success 200",
  1792. "type": "Int",
  1793. "optional": false,
  1794. "field": "data.list.chapter_sequence",
  1795. "description": "<p>序号</p>"
  1796. },
  1797. {
  1798. "group": "Success 200",
  1799. "type": "Int",
  1800. "optional": false,
  1801. "field": "data.list.chapter_is_vip",
  1802. "description": "<p>是否vip</p>"
  1803. },
  1804. {
  1805. "group": "Success 200",
  1806. "type": "Int",
  1807. "optional": false,
  1808. "field": "data.list.chapter_size",
  1809. "description": "<p>章节大小</p>"
  1810. },
  1811. {
  1812. "group": "Success 200",
  1813. "type": "Int",
  1814. "optional": false,
  1815. "field": "data.list.prev_cid",
  1816. "description": "<p>上一章节id</p>"
  1817. },
  1818. {
  1819. "group": "Success 200",
  1820. "type": "Int",
  1821. "optional": false,
  1822. "field": "data.list.next_cid",
  1823. "description": "<p>下一章节</p>"
  1824. },
  1825. {
  1826. "group": "Success 200",
  1827. "type": "String",
  1828. "optional": false,
  1829. "field": "data.list.recent_update_at",
  1830. "description": "<p>更新时间</p>"
  1831. },
  1832. {
  1833. "group": "Success 200",
  1834. "type": "String",
  1835. "optional": false,
  1836. "field": "data.list.is_need_subscirbe",
  1837. "description": "<p>是否强制关注</p>"
  1838. },
  1839. {
  1840. "group": "Success 200",
  1841. "type": "object",
  1842. "optional": false,
  1843. "field": "data.meta",
  1844. "description": "<p>分页信息</p>"
  1845. },
  1846. {
  1847. "group": "Success 200",
  1848. "type": "Int",
  1849. "optional": false,
  1850. "field": "data.meta.total",
  1851. "description": "<p>总条数</p>"
  1852. },
  1853. {
  1854. "group": "Success 200",
  1855. "type": "Int",
  1856. "optional": false,
  1857. "field": "data.meta.per_page",
  1858. "description": "<p>每页条数</p>"
  1859. },
  1860. {
  1861. "group": "Success 200",
  1862. "type": "Int",
  1863. "optional": false,
  1864. "field": "data.meta.current_page",
  1865. "description": "<p>当前页</p>"
  1866. },
  1867. {
  1868. "group": "Success 200",
  1869. "type": "Int",
  1870. "optional": false,
  1871. "field": "data.meta.last_page",
  1872. "description": "<p>最后页</p>"
  1873. },
  1874. {
  1875. "group": "Success 200",
  1876. "type": "String",
  1877. "optional": false,
  1878. "field": "data.meta.next_page_url",
  1879. "description": "<p>下一页</p>"
  1880. },
  1881. {
  1882. "group": "Success 200",
  1883. "type": "String",
  1884. "optional": false,
  1885. "field": "data.meta.prev_page_url",
  1886. "description": "<p>上一页</p>"
  1887. }
  1888. ]
  1889. },
  1890. "examples": [
  1891. {
  1892. "title": "Success-Response:",
  1893. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:\n list:[\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n {\n bid: 5,\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n is_need_subscirbe: 1,\n },\n ]\n meta:{\n total: 1253,\n per_page: 15,\n current_page: 1,\n last_page: 84,\n next_page_url: \"http://myapi.cn/api/books/1/chapter?page=2\",\n prev_page_url: \"\"\n }\n }",
  1894. "type": "json"
  1895. }
  1896. ]
  1897. },
  1898. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  1899. "groupTitle": "章节"
  1900. },
  1901. {
  1902. "version": "1.0.0",
  1903. "description": "<p>章节内容</p>",
  1904. "type": "get",
  1905. "url": "books/{bid}/chapters/{chapter_id}",
  1906. "title": "章节内容",
  1907. "parameter": {
  1908. "fields": {
  1909. "Parameter": [
  1910. {
  1911. "group": "Parameter",
  1912. "type": "String",
  1913. "optional": true,
  1914. "field": "token",
  1915. "description": "<p>token</p>"
  1916. }
  1917. ]
  1918. }
  1919. },
  1920. "header": {
  1921. "fields": {
  1922. "Header": [
  1923. {
  1924. "group": "Header",
  1925. "type": "String",
  1926. "optional": true,
  1927. "field": "Authorization",
  1928. "description": "<p>token 两个token任选其一</p>"
  1929. }
  1930. ]
  1931. }
  1932. },
  1933. "group": "Chapter",
  1934. "name": "index",
  1935. "success": {
  1936. "fields": {
  1937. "Success 200": [
  1938. {
  1939. "group": "Success 200",
  1940. "type": "int",
  1941. "optional": false,
  1942. "field": "code",
  1943. "description": "<p>状态码</p>"
  1944. },
  1945. {
  1946. "group": "Success 200",
  1947. "type": "String",
  1948. "optional": false,
  1949. "field": "msg",
  1950. "description": "<p>信息</p>"
  1951. },
  1952. {
  1953. "group": "Success 200",
  1954. "type": "object",
  1955. "optional": false,
  1956. "field": "data",
  1957. "description": "<p>结果集</p>"
  1958. },
  1959. {
  1960. "group": "Success 200",
  1961. "type": "Int",
  1962. "optional": false,
  1963. "field": "data.chapter_id",
  1964. "description": "<p>章节id</p>"
  1965. },
  1966. {
  1967. "group": "Success 200",
  1968. "type": "String",
  1969. "optional": false,
  1970. "field": "data.chapter_name",
  1971. "description": "<p>章节名称</p>"
  1972. },
  1973. {
  1974. "group": "Success 200",
  1975. "type": "Int",
  1976. "optional": false,
  1977. "field": "data.chapter_sequence",
  1978. "description": "<p>序号</p>"
  1979. },
  1980. {
  1981. "group": "Success 200",
  1982. "type": "Int",
  1983. "optional": false,
  1984. "field": "data.chapter_is_vip",
  1985. "description": "<p>是否vip</p>"
  1986. },
  1987. {
  1988. "group": "Success 200",
  1989. "type": "Int",
  1990. "optional": false,
  1991. "field": "data.chapter_size",
  1992. "description": "<p>章节大小</p>"
  1993. },
  1994. {
  1995. "group": "Success 200",
  1996. "type": "Int",
  1997. "optional": false,
  1998. "field": "data.prev_cid",
  1999. "description": "<p>上一章节id</p>"
  2000. },
  2001. {
  2002. "group": "Success 200",
  2003. "type": "Int",
  2004. "optional": false,
  2005. "field": "data.next_cid",
  2006. "description": "<p>下一章节</p>"
  2007. },
  2008. {
  2009. "group": "Success 200",
  2010. "type": "String",
  2011. "optional": false,
  2012. "field": "data.recent_update_at",
  2013. "description": "<p>更新时间</p>"
  2014. },
  2015. {
  2016. "group": "Success 200",
  2017. "type": "String",
  2018. "optional": false,
  2019. "field": "data.chapter_content",
  2020. "description": "<p>章节内容</p>"
  2021. },
  2022. {
  2023. "group": "Success 200",
  2024. "type": "Int",
  2025. "optional": false,
  2026. "field": "data.is_need_subscirbe",
  2027. "description": "<p>是否强制关注(删除)</p>"
  2028. }
  2029. ]
  2030. },
  2031. "examples": [
  2032. {
  2033. "title": "Success-Response:",
  2034. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n chapter_content: \"叶妩被司行霈的阴阳怪气一吓,思路偏得太远了。 她张口结舌,忘记了自己要说什么。\",\n }\n }",
  2035. "type": "json"
  2036. }
  2037. ]
  2038. },
  2039. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  2040. "groupTitle": "章节"
  2041. },
  2042. {
  2043. "version": "1.0.0",
  2044. "description": "<p>余额支付</p>",
  2045. "type": "get",
  2046. "url": "books/{bid}/balance/chapterOrders/{cid}",
  2047. "title": "余额支付",
  2048. "parameter": {
  2049. "fields": {
  2050. "Parameter": [
  2051. {
  2052. "group": "Parameter",
  2053. "type": "String",
  2054. "optional": true,
  2055. "field": "token",
  2056. "description": "<p>token</p>"
  2057. }
  2058. ],
  2059. "Int": [
  2060. {
  2061. "group": "Int",
  2062. "optional": false,
  2063. "field": "remind",
  2064. "description": "<p>提醒</p>"
  2065. }
  2066. ]
  2067. }
  2068. },
  2069. "header": {
  2070. "fields": {
  2071. "Header": [
  2072. {
  2073. "group": "Header",
  2074. "type": "String",
  2075. "optional": true,
  2076. "field": "Authorization",
  2077. "description": "<p>token 两个token任选其一</p>"
  2078. }
  2079. ]
  2080. }
  2081. },
  2082. "group": "Chapter",
  2083. "name": "pay",
  2084. "success": {
  2085. "fields": {
  2086. "Success 200": [
  2087. {
  2088. "group": "Success 200",
  2089. "type": "int",
  2090. "optional": false,
  2091. "field": "code",
  2092. "description": "<p>状态码</p>"
  2093. },
  2094. {
  2095. "group": "Success 200",
  2096. "type": "String",
  2097. "optional": false,
  2098. "field": "msg",
  2099. "description": "<p>信息</p>"
  2100. },
  2101. {
  2102. "group": "Success 200",
  2103. "type": "object",
  2104. "optional": false,
  2105. "field": "data",
  2106. "description": "<p>结果集</p>"
  2107. },
  2108. {
  2109. "group": "Success 200",
  2110. "type": "Int",
  2111. "optional": false,
  2112. "field": "data.chapter_id",
  2113. "description": "<p>章节id</p>"
  2114. },
  2115. {
  2116. "group": "Success 200",
  2117. "type": "String",
  2118. "optional": false,
  2119. "field": "data.chapter_name",
  2120. "description": "<p>章节名称</p>"
  2121. },
  2122. {
  2123. "group": "Success 200",
  2124. "type": "Int",
  2125. "optional": false,
  2126. "field": "data.chapter_sequence",
  2127. "description": "<p>序号</p>"
  2128. },
  2129. {
  2130. "group": "Success 200",
  2131. "type": "Int",
  2132. "optional": false,
  2133. "field": "data.chapter_is_vip",
  2134. "description": "<p>是否vip</p>"
  2135. },
  2136. {
  2137. "group": "Success 200",
  2138. "type": "Int",
  2139. "optional": false,
  2140. "field": "data.chapter_size",
  2141. "description": "<p>章节大小</p>"
  2142. },
  2143. {
  2144. "group": "Success 200",
  2145. "type": "Int",
  2146. "optional": false,
  2147. "field": "data.prev_cid",
  2148. "description": "<p>上一章节id</p>"
  2149. },
  2150. {
  2151. "group": "Success 200",
  2152. "type": "Int",
  2153. "optional": false,
  2154. "field": "data.next_cid",
  2155. "description": "<p>下一章节</p>"
  2156. },
  2157. {
  2158. "group": "Success 200",
  2159. "type": "String",
  2160. "optional": false,
  2161. "field": "data.recent_update_at",
  2162. "description": "<p>更新时间</p>"
  2163. },
  2164. {
  2165. "group": "Success 200",
  2166. "type": "String",
  2167. "optional": false,
  2168. "field": "data.chapter_content",
  2169. "description": "<p>章节内容</p>"
  2170. },
  2171. {
  2172. "group": "Success 200",
  2173. "type": "Int",
  2174. "optional": false,
  2175. "field": "data.is_need_subscirbe",
  2176. "description": "<p>是否强制关注(删除)</p>"
  2177. }
  2178. ]
  2179. },
  2180. "examples": [
  2181. {
  2182. "title": "Success-Response:",
  2183. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n chapter_id: 5,\n chapter_name: \"第1240章 不是我\",\n chapter_sequence: 1239,\n chapter_is_vip: 1,\n chapter_size: 2422,\n prev_cid: 0,\n next_cid: 0,\n recent_update_at: 2017-11-20 15:01:56,\n chapter_content: \"叶妩被司行霈的阴阳怪气一吓,思路偏得太远了。 她张口结舌,忘记了自己要说什么。\",\n }\n }",
  2184. "type": "json"
  2185. }
  2186. ]
  2187. },
  2188. "filename": "app/Http/Controllers/QuickApp/Book/ChapterController.php",
  2189. "groupTitle": "章节"
  2190. },
  2191. {
  2192. "version": "1.0.0",
  2193. "description": "<p>刷新token</p>",
  2194. "type": "get",
  2195. "url": "refreshToken",
  2196. "title": "刷新token",
  2197. "parameter": {
  2198. "fields": {
  2199. "Parameter": [
  2200. {
  2201. "group": "Parameter",
  2202. "type": "String",
  2203. "optional": true,
  2204. "field": "token",
  2205. "description": "<p>token</p>"
  2206. }
  2207. ]
  2208. }
  2209. },
  2210. "header": {
  2211. "fields": {
  2212. "Header": [
  2213. {
  2214. "group": "Header",
  2215. "type": "String",
  2216. "optional": true,
  2217. "field": "Authorization",
  2218. "description": "<p>token 两个token任选其一</p>"
  2219. }
  2220. ]
  2221. }
  2222. },
  2223. "group": "Login",
  2224. "name": "RefreshToken",
  2225. "success": {
  2226. "fields": {
  2227. "Success 200": [
  2228. {
  2229. "group": "Success 200",
  2230. "type": "int",
  2231. "optional": false,
  2232. "field": "code",
  2233. "description": "<p>状态码</p>"
  2234. },
  2235. {
  2236. "group": "Success 200",
  2237. "type": "String",
  2238. "optional": false,
  2239. "field": "msg",
  2240. "description": "<p>信息</p>"
  2241. },
  2242. {
  2243. "group": "Success 200",
  2244. "type": "object",
  2245. "optional": false,
  2246. "field": "data",
  2247. "description": "<p>结果集</p>"
  2248. },
  2249. {
  2250. "group": "Success 200",
  2251. "type": "String",
  2252. "optional": false,
  2253. "field": "data.token",
  2254. "description": "<p>token</p>"
  2255. },
  2256. {
  2257. "group": "Success 200",
  2258. "type": "Int",
  2259. "optional": false,
  2260. "field": "data.time",
  2261. "description": "<p>过期时间</p>"
  2262. }
  2263. ]
  2264. },
  2265. "examples": [
  2266. {
  2267. "title": "Success-Response:",
  2268. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n token:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,\n time:123455\n }\n }",
  2269. "type": "json"
  2270. }
  2271. ]
  2272. },
  2273. "filename": "app/Http/Controllers/QuickApp/Oauth/UsersController.php",
  2274. "groupTitle": "登录"
  2275. },
  2276. {
  2277. "version": "1.0.0",
  2278. "description": "<p>登录</p>",
  2279. "type": "post",
  2280. "url": "login",
  2281. "title": "登录",
  2282. "parameter": {
  2283. "fields": {
  2284. "Parameter": [
  2285. {
  2286. "group": "Parameter",
  2287. "type": "String",
  2288. "optional": false,
  2289. "field": "device_no",
  2290. "description": "<p>设备号</p>"
  2291. },
  2292. {
  2293. "group": "Parameter",
  2294. "type": "String",
  2295. "optional": false,
  2296. "field": "device_info",
  2297. "description": "<p>设备信息json格式</p>"
  2298. },
  2299. {
  2300. "group": "Parameter",
  2301. "type": "Int",
  2302. "optional": false,
  2303. "field": "send_order_id",
  2304. "description": "<p>send_order_id</p>"
  2305. },
  2306. {
  2307. "group": "Parameter",
  2308. "type": "String",
  2309. "optional": false,
  2310. "field": "sign",
  2311. "description": "<p>签名(见微信支付签名https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=4_3)</p>"
  2312. }
  2313. ]
  2314. }
  2315. },
  2316. "group": "Login",
  2317. "name": "index",
  2318. "success": {
  2319. "fields": {
  2320. "Success 200": [
  2321. {
  2322. "group": "Success 200",
  2323. "type": "int",
  2324. "optional": false,
  2325. "field": "code",
  2326. "description": "<p>状态码</p>"
  2327. },
  2328. {
  2329. "group": "Success 200",
  2330. "type": "String",
  2331. "optional": false,
  2332. "field": "msg",
  2333. "description": "<p>信息</p>"
  2334. },
  2335. {
  2336. "group": "Success 200",
  2337. "type": "object",
  2338. "optional": false,
  2339. "field": "data",
  2340. "description": "<p>结果集</p>"
  2341. },
  2342. {
  2343. "group": "Success 200",
  2344. "type": "String",
  2345. "optional": false,
  2346. "field": "data.uid",
  2347. "description": "<p>用户uid</p>"
  2348. },
  2349. {
  2350. "group": "Success 200",
  2351. "type": "String",
  2352. "optional": false,
  2353. "field": "data.token",
  2354. "description": "<p>token</p>"
  2355. },
  2356. {
  2357. "group": "Success 200",
  2358. "type": "Int",
  2359. "optional": false,
  2360. "field": "data.time",
  2361. "description": "<p>过期时间</p>"
  2362. }
  2363. ]
  2364. },
  2365. "examples": [
  2366. {
  2367. "title": "Success-Response:",
  2368. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n token:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,\n time:123455,\n uid:1\n }\n }",
  2369. "type": "json"
  2370. }
  2371. ]
  2372. },
  2373. "filename": "app/Http/Controllers/QuickApp/Oauth/UsersController.php",
  2374. "groupTitle": "登录"
  2375. },
  2376. {
  2377. "version": "1.0.0",
  2378. "description": "<p>单本消费记录</p>",
  2379. "type": "get",
  2380. "url": "order/bookOrderList",
  2381. "title": "单本消费记录",
  2382. "header": {
  2383. "fields": {
  2384. "Header": [
  2385. {
  2386. "group": "Header",
  2387. "type": "String",
  2388. "optional": true,
  2389. "field": "Authorization",
  2390. "description": "<p>token</p>"
  2391. }
  2392. ]
  2393. }
  2394. },
  2395. "group": "Order",
  2396. "name": "bookOrderList",
  2397. "parameter": {
  2398. "fields": {
  2399. "Parameter": [
  2400. {
  2401. "group": "Parameter",
  2402. "type": "String",
  2403. "optional": true,
  2404. "field": "page_size",
  2405. "description": "<p>分页大小</p>"
  2406. },
  2407. {
  2408. "group": "Parameter",
  2409. "type": "String",
  2410. "optional": true,
  2411. "field": "page",
  2412. "description": "<p>页码</p>"
  2413. }
  2414. ]
  2415. }
  2416. },
  2417. "success": {
  2418. "fields": {
  2419. "Success 200": [
  2420. {
  2421. "group": "Success 200",
  2422. "type": "int",
  2423. "optional": false,
  2424. "field": "code",
  2425. "description": "<p>状态码</p>"
  2426. },
  2427. {
  2428. "group": "Success 200",
  2429. "type": "String",
  2430. "optional": false,
  2431. "field": "msg",
  2432. "description": "<p>信息</p>"
  2433. },
  2434. {
  2435. "group": "Success 200",
  2436. "type": "object",
  2437. "optional": false,
  2438. "field": "data",
  2439. "description": "<p>结果集</p>"
  2440. },
  2441. {
  2442. "group": "Success 200",
  2443. "type": "Int",
  2444. "optional": false,
  2445. "field": "uid",
  2446. "description": "<p>uid</p>"
  2447. },
  2448. {
  2449. "group": "Success 200",
  2450. "type": "Int",
  2451. "optional": false,
  2452. "field": "bid",
  2453. "description": "<p>bid</p>"
  2454. },
  2455. {
  2456. "group": "Success 200",
  2457. "type": "Int",
  2458. "optional": false,
  2459. "field": "book_name",
  2460. "description": "<p>书名</p>"
  2461. },
  2462. {
  2463. "group": "Success 200",
  2464. "type": "Int",
  2465. "optional": false,
  2466. "field": "fee",
  2467. "description": "<p>钱</p>"
  2468. },
  2469. {
  2470. "group": "Success 200",
  2471. "type": "String",
  2472. "optional": false,
  2473. "field": "created_at",
  2474. "description": "<p>时间</p>"
  2475. }
  2476. ]
  2477. },
  2478. "examples": [
  2479. {
  2480. "title": "Success-Response:",
  2481. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: list:[\n {\n uid: 4,\n bid: 1,\n book_name: \"dfsedfertrwet\",\n fee: 100,\n created_at: \"2017-12-02 16:24:54\"\n }\n ]\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }\n }",
  2482. "type": "json"
  2483. }
  2484. ]
  2485. },
  2486. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2487. "groupTitle": "订单"
  2488. },
  2489. {
  2490. "version": "1.0.0",
  2491. "description": "<p>章节消费记录</p>",
  2492. "type": "get",
  2493. "url": "order/chapterOrderList",
  2494. "title": "章节消费记录",
  2495. "header": {
  2496. "fields": {
  2497. "Header": [
  2498. {
  2499. "group": "Header",
  2500. "type": "String",
  2501. "optional": true,
  2502. "field": "Authorization",
  2503. "description": "<p>token</p>"
  2504. }
  2505. ]
  2506. }
  2507. },
  2508. "group": "Order",
  2509. "name": "chapterOrderList",
  2510. "parameter": {
  2511. "fields": {
  2512. "Parameter": [
  2513. {
  2514. "group": "Parameter",
  2515. "type": "String",
  2516. "optional": true,
  2517. "field": "page_size",
  2518. "description": "<p>分页大小</p>"
  2519. },
  2520. {
  2521. "group": "Parameter",
  2522. "type": "String",
  2523. "optional": true,
  2524. "field": "page",
  2525. "description": "<p>页码</p>"
  2526. }
  2527. ]
  2528. }
  2529. },
  2530. "success": {
  2531. "fields": {
  2532. "Success 200": [
  2533. {
  2534. "group": "Success 200",
  2535. "type": "int",
  2536. "optional": false,
  2537. "field": "code",
  2538. "description": "<p>状态码</p>"
  2539. },
  2540. {
  2541. "group": "Success 200",
  2542. "type": "String",
  2543. "optional": false,
  2544. "field": "msg",
  2545. "description": "<p>信息</p>"
  2546. },
  2547. {
  2548. "group": "Success 200",
  2549. "type": "object",
  2550. "optional": false,
  2551. "field": "data",
  2552. "description": "<p>结果集</p>"
  2553. },
  2554. {
  2555. "group": "Success 200",
  2556. "type": "Int",
  2557. "optional": false,
  2558. "field": "uid",
  2559. "description": "<p>uid</p>"
  2560. },
  2561. {
  2562. "group": "Success 200",
  2563. "type": "Int",
  2564. "optional": false,
  2565. "field": "bid",
  2566. "description": "<p>bid</p>"
  2567. },
  2568. {
  2569. "group": "Success 200",
  2570. "type": "Int",
  2571. "optional": false,
  2572. "field": "cid",
  2573. "description": "<p>cid</p>"
  2574. },
  2575. {
  2576. "group": "Success 200",
  2577. "type": "Int",
  2578. "optional": false,
  2579. "field": "chapter_name",
  2580. "description": "<p>章节名</p>"
  2581. },
  2582. {
  2583. "group": "Success 200",
  2584. "type": "Int",
  2585. "optional": false,
  2586. "field": "book_name",
  2587. "description": "<p>书名</p>"
  2588. },
  2589. {
  2590. "group": "Success 200",
  2591. "type": "Int",
  2592. "optional": false,
  2593. "field": "fee",
  2594. "description": "<p>钱</p>"
  2595. },
  2596. {
  2597. "group": "Success 200",
  2598. "type": "String",
  2599. "optional": false,
  2600. "field": "created_at",
  2601. "description": "<p>时间</p>"
  2602. }
  2603. ]
  2604. },
  2605. "examples": [
  2606. {
  2607. "title": "Success-Response:",
  2608. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: list:[\n {\n uid: 4,\n bid: 1,\n cid: 1,\n chapter_name: \"sdfsd\",\n book_name: \"dfsedfertrwet\",\n fee: 100,\n created_at: \"2017-12-02 16:24:54\"\n }\n ]\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }",
  2609. "type": "json"
  2610. }
  2611. ]
  2612. },
  2613. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2614. "groupTitle": "订单"
  2615. },
  2616. {
  2617. "version": "1.0.0",
  2618. "description": "<p>充值列表</p>",
  2619. "type": "get",
  2620. "url": "order/chargeList",
  2621. "title": "充值列表",
  2622. "header": {
  2623. "fields": {
  2624. "Header": [
  2625. {
  2626. "group": "Header",
  2627. "type": "String",
  2628. "optional": true,
  2629. "field": "Authorization",
  2630. "description": "<p>token</p>"
  2631. }
  2632. ]
  2633. }
  2634. },
  2635. "group": "Order",
  2636. "name": "chargeList",
  2637. "success": {
  2638. "fields": {
  2639. "Success 200": [
  2640. {
  2641. "group": "Success 200",
  2642. "type": "int",
  2643. "optional": false,
  2644. "field": "code",
  2645. "description": "<p>状态码</p>"
  2646. },
  2647. {
  2648. "group": "Success 200",
  2649. "type": "String",
  2650. "optional": false,
  2651. "field": "msg",
  2652. "description": "<p>信息</p>"
  2653. },
  2654. {
  2655. "group": "Success 200",
  2656. "type": "object",
  2657. "optional": false,
  2658. "field": "data",
  2659. "description": "<p>结果集</p>"
  2660. }
  2661. ]
  2662. },
  2663. "examples": [
  2664. {
  2665. "title": "Success-Response:",
  2666. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: [\n {\n product_id: 1,\n price: \"30.00元\",\n vip: 0,\n intro: [\n {\n label: 3000,\n important: false\n },\n {\n label: \"书币\",\n important: true\n }\n ]\n },\n {\n product_id: 2,\n price: \"50.00元\",\n vip: 1,\n intro: [\n {\n label: 5000,\n important: false\n },\n {\n label: \"1000+\",\n important: true\n },\n {\n label: \"书币\",\n important: false\n }\n ]\n },\n {\n product_id: 5,\n price: \"365.00元\",\n vip: 0,\n intro: [\n {\n label: \"年费VIP会员\",\n important: true\n }\n ]\n }\n ]\n }",
  2667. "type": "json"
  2668. }
  2669. ]
  2670. },
  2671. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2672. "groupTitle": "订单"
  2673. },
  2674. {
  2675. "version": "1.0.0",
  2676. "description": "<p>充值记录</p>",
  2677. "type": "get",
  2678. "url": "order/chargeRecordLists",
  2679. "title": "充值记录",
  2680. "parameter": {
  2681. "fields": {
  2682. "Parameter": [
  2683. {
  2684. "group": "Parameter",
  2685. "type": "String",
  2686. "optional": true,
  2687. "field": "token",
  2688. "description": "<p>token</p>"
  2689. },
  2690. {
  2691. "group": "Parameter",
  2692. "type": "String",
  2693. "optional": true,
  2694. "field": "page_size",
  2695. "description": "<p>分页大小</p>"
  2696. },
  2697. {
  2698. "group": "Parameter",
  2699. "type": "String",
  2700. "optional": true,
  2701. "field": "page",
  2702. "description": "<p>页码</p>"
  2703. }
  2704. ]
  2705. }
  2706. },
  2707. "header": {
  2708. "fields": {
  2709. "Header": [
  2710. {
  2711. "group": "Header",
  2712. "type": "String",
  2713. "optional": true,
  2714. "field": "Authorization",
  2715. "description": "<p>token 两个token任选其一</p>"
  2716. }
  2717. ]
  2718. }
  2719. },
  2720. "group": "Order",
  2721. "name": "chargeRecordLists",
  2722. "success": {
  2723. "fields": {
  2724. "Success 200": [
  2725. {
  2726. "group": "Success 200",
  2727. "type": "int",
  2728. "optional": false,
  2729. "field": "code",
  2730. "description": "<p>状态码</p>"
  2731. },
  2732. {
  2733. "group": "Success 200",
  2734. "type": "String",
  2735. "optional": false,
  2736. "field": "msg",
  2737. "description": "<p>信息</p>"
  2738. },
  2739. {
  2740. "group": "Success 200",
  2741. "type": "object",
  2742. "optional": false,
  2743. "field": "data",
  2744. "description": "<p>结果集</p>"
  2745. },
  2746. {
  2747. "group": "Success 200",
  2748. "type": "String",
  2749. "optional": false,
  2750. "field": "data.price",
  2751. "description": "<p>价格</p>"
  2752. },
  2753. {
  2754. "group": "Success 200",
  2755. "type": "String",
  2756. "optional": false,
  2757. "field": "data.status",
  2758. "description": "<p>状态</p>"
  2759. },
  2760. {
  2761. "group": "Success 200",
  2762. "type": "String",
  2763. "optional": false,
  2764. "field": "data.trade_no",
  2765. "description": "<p>订单号</p>"
  2766. },
  2767. {
  2768. "group": "Success 200",
  2769. "type": "String",
  2770. "optional": false,
  2771. "field": "data.created_at",
  2772. "description": "<p>时间</p>"
  2773. }
  2774. ]
  2775. },
  2776. "examples": [
  2777. {
  2778. "title": "Success-Response:",
  2779. "content": " HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n list: [\n {\n id: 134,\n price: \"1.00\",\n status: \"PAID\",\n trade_no: \"201712021915481585670623626232\",\n created_at: \"2017-12-02 19:15:56\"\n }\n ],\n meta: {\n total: 1,\n per_page: 15,\n current_page: 1,\n last_page: 1,\n next_page_url: \"\",\n prev_page_url: \"\"\n }\n }\n}",
  2780. "type": "json"
  2781. }
  2782. ]
  2783. },
  2784. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  2785. "groupTitle": "订单"
  2786. },
  2787. {
  2788. "version": "1.0.0",
  2789. "description": "<p>添加阅读记录</p>",
  2790. "type": "post",
  2791. "url": "readrecord",
  2792. "title": "添加阅读记录",
  2793. "group": "ReadRecord",
  2794. "name": "addReadRecord",
  2795. "header": {
  2796. "fields": {
  2797. "Header": [
  2798. {
  2799. "group": "Header",
  2800. "type": "String",
  2801. "optional": true,
  2802. "field": "Authorization",
  2803. "description": "<p>token</p>"
  2804. }
  2805. ]
  2806. }
  2807. },
  2808. "parameter": {
  2809. "fields": {
  2810. "Parameter": [
  2811. {
  2812. "group": "Parameter",
  2813. "type": "Int",
  2814. "optional": false,
  2815. "field": "book_name",
  2816. "description": "<p>书名</p>"
  2817. },
  2818. {
  2819. "group": "Parameter",
  2820. "type": "String",
  2821. "optional": false,
  2822. "field": "chapter_name",
  2823. "description": "<p>章节名</p>"
  2824. },
  2825. {
  2826. "group": "Parameter",
  2827. "type": "Int",
  2828. "optional": false,
  2829. "field": "bid",
  2830. "description": "<p>bid</p>"
  2831. },
  2832. {
  2833. "group": "Parameter",
  2834. "type": "Int",
  2835. "optional": false,
  2836. "field": "cid",
  2837. "description": "<p>章节id</p>"
  2838. }
  2839. ]
  2840. }
  2841. },
  2842. "success": {
  2843. "fields": {
  2844. "Success 200": [
  2845. {
  2846. "group": "Success 200",
  2847. "type": "int",
  2848. "optional": false,
  2849. "field": "code",
  2850. "description": "<p>状态码</p>"
  2851. },
  2852. {
  2853. "group": "Success 200",
  2854. "type": "String",
  2855. "optional": false,
  2856. "field": "msg",
  2857. "description": "<p>信息</p>"
  2858. },
  2859. {
  2860. "group": "Success 200",
  2861. "type": "object",
  2862. "optional": false,
  2863. "field": "data",
  2864. "description": "<p>结果集</p>"
  2865. }
  2866. ]
  2867. },
  2868. "examples": [
  2869. {
  2870. "title": "Success-Response:",
  2871. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2872. "type": "json"
  2873. }
  2874. ]
  2875. },
  2876. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2877. "groupTitle": "阅读记录"
  2878. },
  2879. {
  2880. "version": "1.0.0",
  2881. "description": "<p>删除阅读记录</p>",
  2882. "type": "get",
  2883. "url": "readrecord/delete",
  2884. "title": "删除阅读记录",
  2885. "group": "ReadRecord",
  2886. "header": {
  2887. "fields": {
  2888. "Header": [
  2889. {
  2890. "group": "Header",
  2891. "type": "String",
  2892. "optional": true,
  2893. "field": "Authorization",
  2894. "description": "<p>token</p>"
  2895. }
  2896. ]
  2897. }
  2898. },
  2899. "name": "delReadRecord",
  2900. "parameter": {
  2901. "fields": {
  2902. "Parameter": [
  2903. {
  2904. "group": "Parameter",
  2905. "type": "String",
  2906. "optional": false,
  2907. "field": "bid",
  2908. "description": "<p>多个bid以,分隔</p>"
  2909. }
  2910. ]
  2911. }
  2912. },
  2913. "success": {
  2914. "fields": {
  2915. "Success 200": [
  2916. {
  2917. "group": "Success 200",
  2918. "type": "int",
  2919. "optional": false,
  2920. "field": "code",
  2921. "description": "<p>状态码</p>"
  2922. },
  2923. {
  2924. "group": "Success 200",
  2925. "type": "String",
  2926. "optional": false,
  2927. "field": "msg",
  2928. "description": "<p>信息</p>"
  2929. },
  2930. {
  2931. "group": "Success 200",
  2932. "type": "object",
  2933. "optional": false,
  2934. "field": "data",
  2935. "description": "<p>结果集</p>"
  2936. }
  2937. ]
  2938. },
  2939. "examples": [
  2940. {
  2941. "title": "Success-Response:",
  2942. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:{}",
  2943. "type": "json"
  2944. }
  2945. ]
  2946. },
  2947. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  2948. "groupTitle": "阅读记录"
  2949. },
  2950. {
  2951. "version": "1.0.0",
  2952. "description": "<p>获取阅读记录</p>",
  2953. "type": "get",
  2954. "url": "readrecord",
  2955. "title": "获取阅读记录",
  2956. "header": {
  2957. "fields": {
  2958. "Header": [
  2959. {
  2960. "group": "Header",
  2961. "type": "String",
  2962. "optional": true,
  2963. "field": "Authorization",
  2964. "description": "<p>token</p>"
  2965. }
  2966. ]
  2967. }
  2968. },
  2969. "group": "ReadRecord",
  2970. "name": "index",
  2971. "success": {
  2972. "fields": {
  2973. "Success 200": [
  2974. {
  2975. "group": "Success 200",
  2976. "type": "int",
  2977. "optional": false,
  2978. "field": "code",
  2979. "description": "<p>状态码</p>"
  2980. },
  2981. {
  2982. "group": "Success 200",
  2983. "type": "String",
  2984. "optional": false,
  2985. "field": "msg",
  2986. "description": "<p>信息</p>"
  2987. },
  2988. {
  2989. "group": "Success 200",
  2990. "type": "object",
  2991. "optional": false,
  2992. "field": "data",
  2993. "description": "<p>结果集</p>"
  2994. },
  2995. {
  2996. "group": "Success 200",
  2997. "type": "Int",
  2998. "optional": false,
  2999. "field": "data.book_name",
  3000. "description": "<p>书名</p>"
  3001. },
  3002. {
  3003. "group": "Success 200",
  3004. "type": "String",
  3005. "optional": false,
  3006. "field": "data.chapter_name",
  3007. "description": "<p>章节名</p>"
  3008. },
  3009. {
  3010. "group": "Success 200",
  3011. "type": "Int",
  3012. "optional": false,
  3013. "field": "data.bid",
  3014. "description": "<p>bid</p>"
  3015. },
  3016. {
  3017. "group": "Success 200",
  3018. "type": "Int",
  3019. "optional": false,
  3020. "field": "data.time",
  3021. "description": "<p>时间</p>"
  3022. },
  3023. {
  3024. "group": "Success 200",
  3025. "type": "Int",
  3026. "optional": false,
  3027. "field": "data.cid",
  3028. "description": "<p>章节id</p>"
  3029. },
  3030. {
  3031. "group": "Success 200",
  3032. "type": "Int",
  3033. "optional": false,
  3034. "field": "data.cover",
  3035. "description": "<p>封面</p>"
  3036. },
  3037. {
  3038. "group": "Success 200",
  3039. "type": "Int",
  3040. "optional": false,
  3041. "field": "data.last_chapter",
  3042. "description": "<p>最后一张</p>"
  3043. }
  3044. ]
  3045. },
  3046. "examples": [
  3047. {
  3048. "title": "Success-Response:",
  3049. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data:[\n {\n book_name: \"我来好好爱你\",\n bid: 2,\n cid: 10402,\n time: 1511783120,\n chapter_name: \"你言重了\"\n },\n {\n book_name: \"京华烟云\",\n bid: 1,\n cid: 4,\n time: 1511783068,\n chapter_name: \"背水一战\"\n }\n ]",
  3050. "type": "json"
  3051. }
  3052. ]
  3053. },
  3054. "filename": "app/Http/Controllers/QuickApp/User/ReadRecordController.php",
  3055. "groupTitle": "阅读记录"
  3056. },
  3057. {
  3058. "version": "1.0.0",
  3059. "description": "<p>添加书架</p>",
  3060. "type": "post",
  3061. "url": "userShelfBooks",
  3062. "title": "添加书架",
  3063. "parameter": {
  3064. "fields": {
  3065. "Parameter": [
  3066. {
  3067. "group": "Parameter",
  3068. "type": "String",
  3069. "optional": true,
  3070. "field": "token",
  3071. "description": "<p>token</p>"
  3072. },
  3073. {
  3074. "group": "Parameter",
  3075. "type": "int",
  3076. "optional": false,
  3077. "field": "bid",
  3078. "description": "<p>bid</p>"
  3079. }
  3080. ]
  3081. }
  3082. },
  3083. "header": {
  3084. "fields": {
  3085. "Header": [
  3086. {
  3087. "group": "Header",
  3088. "type": "String",
  3089. "optional": true,
  3090. "field": "Authorization",
  3091. "description": "<p>token 两个token任选其一</p>"
  3092. }
  3093. ]
  3094. }
  3095. },
  3096. "group": "UserShelfBooks",
  3097. "name": "addShelf",
  3098. "success": {
  3099. "fields": {
  3100. "Success 200": [
  3101. {
  3102. "group": "Success 200",
  3103. "type": "int",
  3104. "optional": false,
  3105. "field": "code",
  3106. "description": "<p>状态码</p>"
  3107. },
  3108. {
  3109. "group": "Success 200",
  3110. "type": "String",
  3111. "optional": false,
  3112. "field": "msg",
  3113. "description": "<p>信息</p>"
  3114. },
  3115. {
  3116. "group": "Success 200",
  3117. "type": "object",
  3118. "optional": false,
  3119. "field": "data",
  3120. "description": "<p>结果集</p>"
  3121. }
  3122. ]
  3123. },
  3124. "examples": [
  3125. {
  3126. "title": "Success-Response:",
  3127. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3128. "type": "json"
  3129. }
  3130. ]
  3131. },
  3132. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3133. "groupTitle": "书架"
  3134. },
  3135. {
  3136. "version": "1.0.0",
  3137. "description": "<p>删除书架</p>",
  3138. "type": "get",
  3139. "url": "userShelfBooks/delete",
  3140. "title": "删除书架",
  3141. "parameter": {
  3142. "fields": {
  3143. "Parameter": [
  3144. {
  3145. "group": "Parameter",
  3146. "type": "String",
  3147. "optional": true,
  3148. "field": "token",
  3149. "description": "<p>token</p>"
  3150. },
  3151. {
  3152. "group": "Parameter",
  3153. "type": "int",
  3154. "optional": false,
  3155. "field": "bid",
  3156. "description": "<p>bid</p>"
  3157. }
  3158. ]
  3159. }
  3160. },
  3161. "header": {
  3162. "fields": {
  3163. "Header": [
  3164. {
  3165. "group": "Header",
  3166. "type": "String",
  3167. "optional": true,
  3168. "field": "Authorization",
  3169. "description": "<p>token 两个token任选其一</p>"
  3170. }
  3171. ]
  3172. }
  3173. },
  3174. "group": "UserShelfBooks",
  3175. "name": "delShelf",
  3176. "success": {
  3177. "fields": {
  3178. "Success 200": [
  3179. {
  3180. "group": "Success 200",
  3181. "type": "int",
  3182. "optional": false,
  3183. "field": "code",
  3184. "description": "<p>状态码</p>"
  3185. },
  3186. {
  3187. "group": "Success 200",
  3188. "type": "String",
  3189. "optional": false,
  3190. "field": "msg",
  3191. "description": "<p>信息</p>"
  3192. },
  3193. {
  3194. "group": "Success 200",
  3195. "type": "object",
  3196. "optional": false,
  3197. "field": "data",
  3198. "description": "<p>结果集</p>"
  3199. }
  3200. ]
  3201. },
  3202. "examples": [
  3203. {
  3204. "title": "Success-Response:",
  3205. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {}",
  3206. "type": "json"
  3207. }
  3208. ]
  3209. },
  3210. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3211. "groupTitle": "书架"
  3212. },
  3213. {
  3214. "version": "1.0.0",
  3215. "description": "<p>获取书架</p>",
  3216. "type": "get",
  3217. "url": "userShelfBooks",
  3218. "title": "获取书架",
  3219. "parameter": {
  3220. "fields": {
  3221. "Parameter": [
  3222. {
  3223. "group": "Parameter",
  3224. "type": "String",
  3225. "optional": true,
  3226. "field": "token",
  3227. "description": "<p>token</p>"
  3228. }
  3229. ]
  3230. }
  3231. },
  3232. "header": {
  3233. "fields": {
  3234. "Header": [
  3235. {
  3236. "group": "Header",
  3237. "type": "String",
  3238. "optional": true,
  3239. "field": "Authorization",
  3240. "description": "<p>token 两个token任选其一</p>"
  3241. }
  3242. ]
  3243. }
  3244. },
  3245. "group": "UserShelfBooks",
  3246. "name": "getChapter",
  3247. "success": {
  3248. "fields": {
  3249. "Success 200": [
  3250. {
  3251. "group": "Success 200",
  3252. "type": "int",
  3253. "optional": false,
  3254. "field": "code",
  3255. "description": "<p>状态码</p>"
  3256. },
  3257. {
  3258. "group": "Success 200",
  3259. "type": "String",
  3260. "optional": false,
  3261. "field": "msg",
  3262. "description": "<p>信息</p>"
  3263. },
  3264. {
  3265. "group": "Success 200",
  3266. "type": "object",
  3267. "optional": false,
  3268. "field": "data",
  3269. "description": "<p>结果集</p>"
  3270. },
  3271. {
  3272. "group": "Success 200",
  3273. "type": "Int",
  3274. "optional": false,
  3275. "field": "data.id",
  3276. "description": "<p>编号</p>"
  3277. },
  3278. {
  3279. "group": "Success 200",
  3280. "type": "String",
  3281. "optional": false,
  3282. "field": "data.distribution_channel_id",
  3283. "description": "<p>分销</p>"
  3284. },
  3285. {
  3286. "group": "Success 200",
  3287. "type": "Int",
  3288. "optional": false,
  3289. "field": "data.uid",
  3290. "description": "<p>uid</p>"
  3291. },
  3292. {
  3293. "group": "Success 200",
  3294. "type": "Int",
  3295. "optional": false,
  3296. "field": "data.bid",
  3297. "description": "<p>bid</p>"
  3298. },
  3299. {
  3300. "group": "Success 200",
  3301. "type": "Int",
  3302. "optional": false,
  3303. "field": "data.book_name",
  3304. "description": "<p>书名</p>"
  3305. },
  3306. {
  3307. "group": "Success 200",
  3308. "type": "Int",
  3309. "optional": false,
  3310. "field": "data.cover",
  3311. "description": "<p>封面</p>"
  3312. },
  3313. {
  3314. "group": "Success 200",
  3315. "type": "Int",
  3316. "optional": false,
  3317. "field": "data.last_cid",
  3318. "description": "<p>章节id</p>"
  3319. }
  3320. ]
  3321. },
  3322. "examples": [
  3323. {
  3324. "title": "Success-Response:",
  3325. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n [\n {\n id: 6,\n uid: 4,\n distribution_channel_id: 1,\n bid: 1,\n book_name: \"京华烟云\",\n cover: \"https://leyue-bucket.oss-cn-hangzhou.aliyuncs.com/ycsd_cover/covermiddle/0/1.jpg\",\n updated_at: 1511783068,\n last_cid: 4\n },\n {\n id: 7,\n uid: 4,\n distribution_channel_id: 1,\n bid: 1,\n book_name: \"我来好好爱你\",\n cover: \"https://leyue-bucket.oss-cn-hangzhou.aliyuncs.com/ycsd_cover/covermiddle/0/11.jpg\",\n updated_at: 1511783068,\n last_cid: 4\n }\n ]\n }",
  3326. "type": "json"
  3327. }
  3328. ]
  3329. },
  3330. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3331. "groupTitle": "书架"
  3332. },
  3333. {
  3334. "version": "1.0.0",
  3335. "description": "<p>是否在书架上</p>",
  3336. "type": "get",
  3337. "url": "userShelfBooks/isonshelf",
  3338. "title": "是否在书架上",
  3339. "parameter": {
  3340. "fields": {
  3341. "Parameter": [
  3342. {
  3343. "group": "Parameter",
  3344. "type": "String",
  3345. "optional": true,
  3346. "field": "token",
  3347. "description": "<p>token</p>"
  3348. },
  3349. {
  3350. "group": "Parameter",
  3351. "type": "int",
  3352. "optional": false,
  3353. "field": "bid",
  3354. "description": "<p>bid</p>"
  3355. }
  3356. ]
  3357. }
  3358. },
  3359. "header": {
  3360. "fields": {
  3361. "Header": [
  3362. {
  3363. "group": "Header",
  3364. "type": "String",
  3365. "optional": true,
  3366. "field": "Authorization",
  3367. "description": "<p>token 两个token任选其一</p>"
  3368. }
  3369. ]
  3370. }
  3371. },
  3372. "group": "UserShelfBooks",
  3373. "name": "isOnshelf",
  3374. "success": {
  3375. "fields": {
  3376. "Success 200": [
  3377. {
  3378. "group": "Success 200",
  3379. "type": "int",
  3380. "optional": false,
  3381. "field": "code",
  3382. "description": "<p>状态码</p>"
  3383. },
  3384. {
  3385. "group": "Success 200",
  3386. "type": "String",
  3387. "optional": false,
  3388. "field": "msg",
  3389. "description": "<p>信息</p>"
  3390. },
  3391. {
  3392. "group": "Success 200",
  3393. "type": "object",
  3394. "optional": false,
  3395. "field": "data",
  3396. "description": "<p>结果集</p>"
  3397. },
  3398. {
  3399. "group": "Success 200",
  3400. "type": "Int",
  3401. "optional": false,
  3402. "field": "data.is_on",
  3403. "description": "<p>是否在书架上(0|1)</p>"
  3404. }
  3405. ]
  3406. },
  3407. "examples": [
  3408. {
  3409. "title": "Success-Response:",
  3410. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n is_on:0\n }",
  3411. "type": "json"
  3412. }
  3413. ]
  3414. },
  3415. "filename": "app/Http/Controllers/QuickApp/User/UserShelfBooksController.php",
  3416. "groupTitle": "书架"
  3417. },
  3418. {
  3419. "version": "1.0.0",
  3420. "description": "<p>绑定手机号</p>",
  3421. "type": "GET",
  3422. "url": "bindPhone",
  3423. "title": "绑定手机号",
  3424. "header": {
  3425. "fields": {
  3426. "Header": [
  3427. {
  3428. "group": "Header",
  3429. "type": "String",
  3430. "optional": true,
  3431. "field": "Authorization",
  3432. "description": "<p>token</p>"
  3433. }
  3434. ]
  3435. }
  3436. },
  3437. "group": "User",
  3438. "name": "bindPhone",
  3439. "success": {
  3440. "fields": {
  3441. "Success 200": [
  3442. {
  3443. "group": "Success 200",
  3444. "type": "String",
  3445. "optional": false,
  3446. "field": "phone",
  3447. "description": "<p>手机号</p>"
  3448. },
  3449. {
  3450. "group": "Success 200",
  3451. "type": "String",
  3452. "optional": false,
  3453. "field": "code",
  3454. "description": "<p>验证码</p>"
  3455. }
  3456. ]
  3457. },
  3458. "examples": [
  3459. {
  3460. "title": "Success-Response:",
  3461. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3462. "type": "json"
  3463. }
  3464. ]
  3465. },
  3466. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3467. "groupTitle": "用户"
  3468. },
  3469. {
  3470. "version": "1.0.0",
  3471. "description": "<p>获取用户信息</p>",
  3472. "type": "GET",
  3473. "url": "userinfo",
  3474. "title": "获取用户信息",
  3475. "header": {
  3476. "fields": {
  3477. "Header": [
  3478. {
  3479. "group": "Header",
  3480. "type": "String",
  3481. "optional": true,
  3482. "field": "Authorization",
  3483. "description": "<p>token</p>"
  3484. }
  3485. ]
  3486. }
  3487. },
  3488. "group": "User",
  3489. "name": "index",
  3490. "success": {
  3491. "fields": {
  3492. "Success 200": [
  3493. {
  3494. "group": "Success 200",
  3495. "type": "Number",
  3496. "optional": false,
  3497. "field": "id",
  3498. "description": "<p>用户ID.</p>"
  3499. },
  3500. {
  3501. "group": "Success 200",
  3502. "type": "String",
  3503. "optional": false,
  3504. "field": "openid",
  3505. "description": "<p>微信openid.</p>"
  3506. },
  3507. {
  3508. "group": "Success 200",
  3509. "type": "String",
  3510. "optional": false,
  3511. "field": "unionid",
  3512. "description": "<p>微信unionid.</p>"
  3513. },
  3514. {
  3515. "group": "Success 200",
  3516. "type": "Number",
  3517. "optional": false,
  3518. "field": "distribution_channel_id",
  3519. "description": "<p>分销渠道ID.</p>"
  3520. },
  3521. {
  3522. "group": "Success 200",
  3523. "type": "String",
  3524. "optional": false,
  3525. "field": "province",
  3526. "description": "<p>省份.</p>"
  3527. },
  3528. {
  3529. "group": "Success 200",
  3530. "type": "String",
  3531. "optional": false,
  3532. "field": "city",
  3533. "description": "<p>城市.</p>"
  3534. },
  3535. {
  3536. "group": "Success 200",
  3537. "type": "String",
  3538. "optional": false,
  3539. "field": "country",
  3540. "description": "<p>国家.</p>"
  3541. },
  3542. {
  3543. "group": "Success 200",
  3544. "type": "String",
  3545. "optional": false,
  3546. "field": "headimgurl",
  3547. "description": "<p>头像地址.</p>"
  3548. },
  3549. {
  3550. "group": "Success 200",
  3551. "type": "Number",
  3552. "optional": false,
  3553. "field": "send_order_id",
  3554. "description": "<p>派单ID.</p>"
  3555. },
  3556. {
  3557. "group": "Success 200",
  3558. "type": "Number",
  3559. "allowedValues": [
  3560. "0",
  3561. "1"
  3562. ],
  3563. "optional": false,
  3564. "field": "sex",
  3565. "description": "<p>性别.</p>"
  3566. },
  3567. {
  3568. "group": "Success 200",
  3569. "type": "String",
  3570. "optional": false,
  3571. "field": "balance",
  3572. "description": "<p>书币余额.</p>"
  3573. },
  3574. {
  3575. "group": "Success 200",
  3576. "type": "Int",
  3577. "optional": false,
  3578. "field": "is_vip",
  3579. "description": "<p>是否vip</p>"
  3580. },
  3581. {
  3582. "group": "Success 200",
  3583. "type": "String",
  3584. "optional": false,
  3585. "field": "vip_days",
  3586. "description": "<p>364天.</p>"
  3587. },
  3588. {
  3589. "group": "Success 200",
  3590. "type": "String",
  3591. "optional": false,
  3592. "field": "phone",
  3593. "description": "<p>手机号.</p>"
  3594. }
  3595. ]
  3596. },
  3597. "examples": [
  3598. {
  3599. "title": "Success-Response:",
  3600. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {\n \"id\": 56,\n \"openid\": \"sdfs34ssdfdsf\",\n \"unionid\": \"SDFSD3343S\",\n \"distribution_channel_id\": 1212,\n \"province\": \"浙江省\",\n \"city\": \"杭州\",\n \"country\": \"中国\",\n \"headimgurl\": \"http://..\",\n \"send_order_id\": 323,\n \"balance\": 8956,\n \"register_time\": \"2017-12-12 12:12:12\",\n \"phone\": \"12312435\",\n }\n}",
  3601. "type": "json"
  3602. }
  3603. ]
  3604. },
  3605. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3606. "groupTitle": "用户"
  3607. },
  3608. {
  3609. "version": "1.0.0",
  3610. "description": "<p>发送验证码</p>",
  3611. "type": "GET",
  3612. "url": "sendCode",
  3613. "title": "发送验证码",
  3614. "header": {
  3615. "fields": {
  3616. "Header": [
  3617. {
  3618. "group": "Header",
  3619. "type": "String",
  3620. "optional": true,
  3621. "field": "Authorization",
  3622. "description": "<p>token</p>"
  3623. }
  3624. ]
  3625. }
  3626. },
  3627. "group": "User",
  3628. "name": "sendCode",
  3629. "success": {
  3630. "fields": {
  3631. "Success 200": [
  3632. {
  3633. "group": "Success 200",
  3634. "type": "String",
  3635. "optional": false,
  3636. "field": "phone",
  3637. "description": "<p>手机号</p>"
  3638. }
  3639. ]
  3640. },
  3641. "examples": [
  3642. {
  3643. "title": "Success-Response:",
  3644. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {}\n}",
  3645. "type": "json"
  3646. }
  3647. ]
  3648. },
  3649. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3650. "groupTitle": "用户"
  3651. },
  3652. {
  3653. "version": "1.0.0",
  3654. "description": "<p>用户签到</p>",
  3655. "type": "GET",
  3656. "url": "sign",
  3657. "title": "用户签到",
  3658. "header": {
  3659. "fields": {
  3660. "Header": [
  3661. {
  3662. "group": "Header",
  3663. "type": "String",
  3664. "optional": true,
  3665. "field": "Authorization",
  3666. "description": "<p>token</p>"
  3667. }
  3668. ]
  3669. }
  3670. },
  3671. "group": "User",
  3672. "name": "sign",
  3673. "success": {
  3674. "fields": {
  3675. "Success 200": [
  3676. {
  3677. "group": "Success 200",
  3678. "type": "Double",
  3679. "optional": false,
  3680. "field": "fee",
  3681. "description": "<p>签到奖励</p>"
  3682. },
  3683. {
  3684. "group": "Success 200",
  3685. "type": "Number",
  3686. "optional": false,
  3687. "field": "days",
  3688. "description": "<p>签到天数</p>"
  3689. }
  3690. ]
  3691. },
  3692. "examples": [
  3693. {
  3694. "title": "Success-Response:",
  3695. "content": "\n{\n \"code\": 0,\n \"msg\": \"\",\n \"data\": {\n \"fee\": 30,\n \"days\": 1\n }\n}",
  3696. "type": "json"
  3697. }
  3698. ]
  3699. },
  3700. "filename": "app/Http/Controllers/QuickApp/User/UserController.php",
  3701. "groupTitle": "用户"
  3702. },
  3703. {
  3704. "version": "1.0.0",
  3705. "description": "<p>订单查询</p>",
  3706. "type": "get",
  3707. "url": "checkOrder",
  3708. "title": "订单查询",
  3709. "group": "pay",
  3710. "name": "checkOrder",
  3711. "parameter": {
  3712. "fields": {
  3713. "Parameter": [
  3714. {
  3715. "group": "Parameter",
  3716. "type": "String",
  3717. "optional": true,
  3718. "field": "token",
  3719. "description": "<p>token</p>"
  3720. },
  3721. {
  3722. "group": "Parameter",
  3723. "type": "String",
  3724. "optional": false,
  3725. "field": "order",
  3726. "description": "<p>order</p>"
  3727. }
  3728. ]
  3729. }
  3730. },
  3731. "header": {
  3732. "fields": {
  3733. "Header": [
  3734. {
  3735. "group": "Header",
  3736. "type": "String",
  3737. "optional": true,
  3738. "field": "Authorization",
  3739. "description": "<p>token 两个token任选其一</p>"
  3740. }
  3741. ]
  3742. }
  3743. },
  3744. "success": {
  3745. "fields": {
  3746. "Success 200": [
  3747. {
  3748. "group": "Success 200",
  3749. "type": "int",
  3750. "optional": false,
  3751. "field": "code",
  3752. "description": "<p>状态码</p>"
  3753. },
  3754. {
  3755. "group": "Success 200",
  3756. "type": "String",
  3757. "optional": false,
  3758. "field": "msg",
  3759. "description": "<p>信息</p>"
  3760. },
  3761. {
  3762. "group": "Success 200",
  3763. "type": "Object",
  3764. "optional": false,
  3765. "field": "data",
  3766. "description": "<p>信息</p>"
  3767. }
  3768. ]
  3769. },
  3770. "examples": [
  3771. {
  3772. "title": "Success-Response:",
  3773. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3774. "type": "json"
  3775. }
  3776. ]
  3777. },
  3778. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  3779. "groupTitle": "pay"
  3780. },
  3781. {
  3782. "version": "1.0.0",
  3783. "description": "<p>支付</p>",
  3784. "type": "get",
  3785. "url": "goToPay",
  3786. "title": "支付",
  3787. "group": "pay",
  3788. "name": "wxindex",
  3789. "parameter": {
  3790. "fields": {
  3791. "Parameter": [
  3792. {
  3793. "group": "Parameter",
  3794. "type": "Int",
  3795. "optional": false,
  3796. "field": "product_id",
  3797. "description": "<p>product_id</p>"
  3798. },
  3799. {
  3800. "group": "Parameter",
  3801. "type": "Int",
  3802. "optional": false,
  3803. "field": "send_order_id",
  3804. "description": "<p>send_order_id</p>"
  3805. },
  3806. {
  3807. "group": "Parameter",
  3808. "type": "String",
  3809. "optional": false,
  3810. "field": "bid",
  3811. "description": "<p>bid</p>"
  3812. }
  3813. ]
  3814. }
  3815. },
  3816. "header": {
  3817. "fields": {
  3818. "Header": [
  3819. {
  3820. "group": "Header",
  3821. "type": "String",
  3822. "optional": true,
  3823. "field": "Authorization",
  3824. "description": "<p>token</p>"
  3825. }
  3826. ]
  3827. }
  3828. },
  3829. "success": {
  3830. "fields": {
  3831. "Success 200": [
  3832. {
  3833. "group": "Success 200",
  3834. "type": "int",
  3835. "optional": false,
  3836. "field": "code",
  3837. "description": "<p>状态码</p>"
  3838. },
  3839. {
  3840. "group": "Success 200",
  3841. "type": "String",
  3842. "optional": false,
  3843. "field": "msg",
  3844. "description": "<p>信息</p>"
  3845. },
  3846. {
  3847. "group": "Success 200",
  3848. "type": "Object",
  3849. "optional": false,
  3850. "field": "data",
  3851. "description": "<p>信息</p>"
  3852. },
  3853. {
  3854. "group": "Success 200",
  3855. "type": "Object",
  3856. "optional": false,
  3857. "field": "data.appId",
  3858. "description": "<p>唤起支付的appId</p>"
  3859. },
  3860. {
  3861. "group": "Success 200",
  3862. "type": "Object",
  3863. "optional": false,
  3864. "field": "data.mch_id",
  3865. "description": "<p>唤起支付的mch_id</p>"
  3866. },
  3867. {
  3868. "group": "Success 200",
  3869. "type": "Object",
  3870. "optional": false,
  3871. "field": "data.nonce_str",
  3872. "description": "<p>唤起支付的nonce_str</p>"
  3873. },
  3874. {
  3875. "group": "Success 200",
  3876. "type": "Object",
  3877. "optional": false,
  3878. "field": "data.prepay_id",
  3879. "description": "<p>唤起支付的prepay_id</p>"
  3880. },
  3881. {
  3882. "group": "Success 200",
  3883. "type": "Object",
  3884. "optional": false,
  3885. "field": "data.sign",
  3886. "description": "<p>唤起支付的sign</p>"
  3887. },
  3888. {
  3889. "group": "Success 200",
  3890. "type": "Object",
  3891. "optional": false,
  3892. "field": "data.trade_type",
  3893. "description": "<p>唤起支付trade_type</p>"
  3894. }
  3895. ]
  3896. },
  3897. "examples": [
  3898. {
  3899. "title": "Success-Response:",
  3900. "content": "HTTP/1.1 200 OK\n{\n code: 0,\n msg: \"\",\n data: {\n\n }",
  3901. "type": "json"
  3902. }
  3903. ]
  3904. },
  3905. "filename": "app/Http/Controllers/QuickApp/Order/OrdersController.php",
  3906. "groupTitle": "pay"
  3907. }
  3908. ] });