docs.go 149 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "contact": {},
  18. "license": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/api/v1/application": {
  25. "get": {
  26. "description": "所有应用列表",
  27. "consumes": [
  28. "application/json"
  29. ],
  30. "produces": [
  31. "application/json"
  32. ],
  33. "tags": [
  34. "应用"
  35. ],
  36. "summary": "所有应用列表",
  37. "parameters": [
  38. {
  39. "type": "string",
  40. "description": " ",
  41. "name": "token",
  42. "in": "header",
  43. "required": true
  44. },
  45. {
  46. "type": "integer",
  47. "description": "第几页,1为起始页, -1 不分页返回所有",
  48. "name": "page",
  49. "in": "query",
  50. "required": true
  51. },
  52. {
  53. "type": "integer",
  54. "description": "每页条数,-1 不分页返回所有",
  55. "name": "page_size",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/v1.ApplicationListResponse"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/base.HTTPError"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/api/v1/area/province_city_area": {
  76. "get": {
  77. "description": "省市区列表",
  78. "consumes": [
  79. "application/json"
  80. ],
  81. "produces": [
  82. "application/json"
  83. ],
  84. "tags": [
  85. "区域"
  86. ],
  87. "summary": "省市区列表",
  88. "parameters": [
  89. {
  90. "type": "string",
  91. "description": " ",
  92. "name": "token",
  93. "in": "header",
  94. "required": true
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/v1.ProvinceCityAreaResponse"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/base.HTTPError"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/api/v1/area/street_committee": {
  114. "get": {
  115. "description": "街道社区列表",
  116. "consumes": [
  117. "application/json"
  118. ],
  119. "produces": [
  120. "application/json"
  121. ],
  122. "tags": [
  123. "区域"
  124. ],
  125. "summary": "街道社区列表",
  126. "parameters": [
  127. {
  128. "type": "string",
  129. "description": " ",
  130. "name": "token",
  131. "in": "header",
  132. "required": true
  133. },
  134. {
  135. "type": "string",
  136. "description": "区域代码",
  137. "name": "area_code",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/v1.StreetCommitteeResponse"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/base.HTTPError"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/api/v1/company": {
  159. "get": {
  160. "description": "获取公司信息",
  161. "consumes": [
  162. "application/json"
  163. ],
  164. "produces": [
  165. "application/json"
  166. ],
  167. "tags": [
  168. "公司"
  169. ],
  170. "summary": "获取公司信息",
  171. "parameters": [
  172. {
  173. "type": "string",
  174. "description": " ",
  175. "name": "token",
  176. "in": "header",
  177. "required": true
  178. }
  179. ],
  180. "responses": {
  181. "200": {
  182. "description": "OK",
  183. "schema": {
  184. "$ref": "#/definitions/v1.CompanyInfoResponse"
  185. }
  186. },
  187. "500": {
  188. "description": "Internal Server Error",
  189. "schema": {
  190. "$ref": "#/definitions/base.HTTPError"
  191. }
  192. }
  193. }
  194. },
  195. "put": {
  196. "description": "更改公司信息",
  197. "consumes": [
  198. "application/json"
  199. ],
  200. "produces": [
  201. "application/json"
  202. ],
  203. "tags": [
  204. "公司"
  205. ],
  206. "summary": "更改公司信息",
  207. "parameters": [
  208. {
  209. "type": "string",
  210. "description": " ",
  211. "name": "token",
  212. "in": "header",
  213. "required": true
  214. },
  215. {
  216. "description": "注册信息",
  217. "name": "body",
  218. "in": "body",
  219. "required": true,
  220. "schema": {
  221. "$ref": "#/definitions/v1.CompanyUpdateBody"
  222. }
  223. }
  224. ],
  225. "responses": {
  226. "200": {
  227. "description": "OK",
  228. "schema": {
  229. "$ref": "#/definitions/v1.CompanyUpdateResponse"
  230. }
  231. },
  232. "500": {
  233. "description": "Internal Server Error",
  234. "schema": {
  235. "$ref": "#/definitions/base.HTTPError"
  236. }
  237. }
  238. }
  239. },
  240. "post": {
  241. "description": "注册公司",
  242. "consumes": [
  243. "application/json"
  244. ],
  245. "produces": [
  246. "application/json"
  247. ],
  248. "tags": [
  249. "公司"
  250. ],
  251. "summary": "注册公司",
  252. "parameters": [
  253. {
  254. "description": "注册信息",
  255. "name": "body",
  256. "in": "body",
  257. "required": true,
  258. "schema": {
  259. "$ref": "#/definitions/v1.CompanyRegisterBody"
  260. }
  261. }
  262. ],
  263. "responses": {
  264. "200": {
  265. "description": "OK",
  266. "schema": {
  267. "$ref": "#/definitions/v1.CompanyRegisterResponse"
  268. }
  269. },
  270. "500": {
  271. "description": "Internal Server Error",
  272. "schema": {
  273. "$ref": "#/definitions/base.HTTPError"
  274. }
  275. }
  276. }
  277. }
  278. },
  279. "/api/v1/company/garden_mch": {
  280. "get": {
  281. "description": "获取小区支付商户号和支付类型信息",
  282. "consumes": [
  283. "application/json"
  284. ],
  285. "produces": [
  286. "application/json"
  287. ],
  288. "tags": [
  289. "公司"
  290. ],
  291. "summary": "获取小区支付商户号和支付类型信息",
  292. "parameters": [
  293. {
  294. "type": "string",
  295. "description": " ",
  296. "name": "token",
  297. "in": "header",
  298. "required": true
  299. },
  300. {
  301. "type": "string",
  302. "description": "商户号 非必填",
  303. "name": "mch_id",
  304. "in": "query"
  305. }
  306. ],
  307. "responses": {
  308. "200": {
  309. "description": "OK",
  310. "schema": {
  311. "$ref": "#/definitions/v1.CompanyMchGardenListResponse"
  312. }
  313. },
  314. "500": {
  315. "description": "Internal Server Error",
  316. "schema": {
  317. "$ref": "#/definitions/base.HTTPError"
  318. }
  319. }
  320. }
  321. },
  322. "put": {
  323. "description": "设置小区支付商户号",
  324. "consumes": [
  325. "application/json"
  326. ],
  327. "produces": [
  328. "application/json"
  329. ],
  330. "tags": [
  331. "公司"
  332. ],
  333. "summary": "设置小区支付商户号",
  334. "parameters": [
  335. {
  336. "type": "string",
  337. "description": " ",
  338. "name": "token",
  339. "in": "header",
  340. "required": true
  341. },
  342. {
  343. "description": "信息",
  344. "name": "body",
  345. "in": "body",
  346. "required": true,
  347. "schema": {
  348. "$ref": "#/definitions/v1.GardenSetMchBody"
  349. }
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/v1.GardenSetMchResponse"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/base.HTTPError"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/api/v1/company/garden_paymode": {
  369. "put": {
  370. "description": "设置小区线上支付类型",
  371. "consumes": [
  372. "application/json"
  373. ],
  374. "produces": [
  375. "application/json"
  376. ],
  377. "tags": [
  378. "公司"
  379. ],
  380. "summary": "设置小区线上支付类型",
  381. "parameters": [
  382. {
  383. "type": "string",
  384. "description": " ",
  385. "name": "token",
  386. "in": "header",
  387. "required": true
  388. },
  389. {
  390. "description": "信息",
  391. "name": "body",
  392. "in": "body",
  393. "required": true,
  394. "schema": {
  395. "$ref": "#/definitions/v1.GardenSetMchPayModeBody"
  396. }
  397. }
  398. ],
  399. "responses": {
  400. "200": {
  401. "description": "OK",
  402. "schema": {
  403. "$ref": "#/definitions/v1.GardenSetMchPayModeResponse"
  404. }
  405. },
  406. "500": {
  407. "description": "Internal Server Error",
  408. "schema": {
  409. "$ref": "#/definitions/base.HTTPError"
  410. }
  411. }
  412. }
  413. }
  414. },
  415. "/api/v1/company/template": {
  416. "get": {
  417. "description": "获取静态文件url",
  418. "consumes": [
  419. "application/json"
  420. ],
  421. "produces": [
  422. "application/json"
  423. ],
  424. "tags": [
  425. "公司"
  426. ],
  427. "summary": "获取静态文件url",
  428. "parameters": [
  429. {
  430. "type": "string",
  431. "description": "token",
  432. "name": "token",
  433. "in": "header",
  434. "required": true
  435. },
  436. {
  437. "type": "integer",
  438. "description": "1 业务办理授权函 2 银行对照表 3 省市区编码对照表",
  439. "name": "template_type",
  440. "in": "query",
  441. "required": true
  442. }
  443. ],
  444. "responses": {
  445. "200": {
  446. "description": "OK",
  447. "schema": {
  448. "$ref": "#/definitions/v1.TemplateResponse"
  449. }
  450. },
  451. "500": {
  452. "description": "Internal Server Error",
  453. "schema": {
  454. "$ref": "#/definitions/base.HTTPError"
  455. }
  456. }
  457. }
  458. }
  459. },
  460. "/api/v1/company/wx_account": {
  461. "get": {
  462. "description": "微信商户申请记录",
  463. "consumes": [
  464. "application/json"
  465. ],
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "公司"
  471. ],
  472. "summary": "微信商户申请记录",
  473. "parameters": [
  474. {
  475. "type": "string",
  476. "description": " ",
  477. "name": "token",
  478. "in": "header",
  479. "required": true
  480. },
  481. {
  482. "type": "integer",
  483. "description": " ",
  484. "name": "page",
  485. "in": "query",
  486. "required": true
  487. },
  488. {
  489. "type": "integer",
  490. "description": " ",
  491. "name": "page_size",
  492. "in": "query",
  493. "required": true
  494. }
  495. ],
  496. "responses": {
  497. "200": {
  498. "description": "OK",
  499. "schema": {
  500. "$ref": "#/definitions/v1.CompanyWxAccountListResponse"
  501. }
  502. },
  503. "500": {
  504. "description": "Internal Server Error",
  505. "schema": {
  506. "$ref": "#/definitions/base.HTTPError"
  507. }
  508. }
  509. }
  510. },
  511. "post": {
  512. "description": "微信商户资料提交",
  513. "consumes": [
  514. "application/json"
  515. ],
  516. "produces": [
  517. "application/json"
  518. ],
  519. "tags": [
  520. "公司"
  521. ],
  522. "summary": "微信商户资料提交",
  523. "parameters": [
  524. {
  525. "type": "string",
  526. "description": " ",
  527. "name": "token",
  528. "in": "header",
  529. "required": true
  530. },
  531. {
  532. "description": "信息",
  533. "name": "body",
  534. "in": "body",
  535. "required": true,
  536. "schema": {
  537. "$ref": "#/definitions/v1.CompanyWxAccountApplyBody"
  538. }
  539. }
  540. ],
  541. "responses": {
  542. "200": {
  543. "description": "OK",
  544. "schema": {
  545. "$ref": "#/definitions/v1.CompanyWxAccountApplyResponse"
  546. }
  547. },
  548. "500": {
  549. "description": "Internal Server Error",
  550. "schema": {
  551. "$ref": "#/definitions/base.HTTPError"
  552. }
  553. }
  554. }
  555. }
  556. },
  557. "/api/v1/company/wx_account_info": {
  558. "get": {
  559. "description": "微信商户申请资料详情",
  560. "consumes": [
  561. "application/json"
  562. ],
  563. "produces": [
  564. "application/json"
  565. ],
  566. "tags": [
  567. "公司"
  568. ],
  569. "summary": "微信商户申请资料详情",
  570. "parameters": [
  571. {
  572. "type": "string",
  573. "description": " ",
  574. "name": "token",
  575. "in": "header",
  576. "required": true
  577. },
  578. {
  579. "type": "integer",
  580. "description": "申请记录id",
  581. "name": "id",
  582. "in": "query",
  583. "required": true
  584. }
  585. ],
  586. "responses": {
  587. "200": {
  588. "description": "OK",
  589. "schema": {
  590. "$ref": "#/definitions/v1.CompanyWxAccountApplyInfoResponse"
  591. }
  592. },
  593. "500": {
  594. "description": "Internal Server Error",
  595. "schema": {
  596. "$ref": "#/definitions/base.HTTPError"
  597. }
  598. }
  599. }
  600. }
  601. },
  602. "/api/v1/company_user": {
  603. "get": {
  604. "description": "用户列表",
  605. "consumes": [
  606. "application/json"
  607. ],
  608. "produces": [
  609. "application/json"
  610. ],
  611. "tags": [
  612. "用户管理"
  613. ],
  614. "summary": "用户列表",
  615. "parameters": [
  616. {
  617. "type": "string",
  618. "description": "token",
  619. "name": "token",
  620. "in": "header",
  621. "required": true
  622. },
  623. {
  624. "type": "integer",
  625. "description": " ",
  626. "name": "page",
  627. "in": "query",
  628. "required": true
  629. },
  630. {
  631. "type": "integer",
  632. "description": " ",
  633. "name": "page_size",
  634. "in": "query"
  635. }
  636. ],
  637. "responses": {
  638. "200": {
  639. "description": "OK",
  640. "schema": {
  641. "$ref": "#/definitions/v1.CompanyUserListResponse"
  642. }
  643. },
  644. "500": {
  645. "description": "Internal Server Error",
  646. "schema": {
  647. "$ref": "#/definitions/base.HTTPError"
  648. }
  649. }
  650. }
  651. },
  652. "put": {
  653. "description": "更改用户",
  654. "consumes": [
  655. "application/json"
  656. ],
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "用户管理"
  662. ],
  663. "summary": "更改用户",
  664. "parameters": [
  665. {
  666. "type": "string",
  667. "description": "token",
  668. "name": "token",
  669. "in": "header",
  670. "required": true
  671. },
  672. {
  673. "description": "用户信息",
  674. "name": "body",
  675. "in": "body",
  676. "required": true,
  677. "schema": {
  678. "$ref": "#/definitions/v1.CompanyUserUpdateBody"
  679. }
  680. }
  681. ],
  682. "responses": {
  683. "200": {
  684. "description": "OK",
  685. "schema": {
  686. "$ref": "#/definitions/v1.CompanyUserUpdateResponse"
  687. }
  688. },
  689. "500": {
  690. "description": "Internal Server Error",
  691. "schema": {
  692. "$ref": "#/definitions/base.HTTPError"
  693. }
  694. }
  695. }
  696. },
  697. "post": {
  698. "description": "添加用户",
  699. "consumes": [
  700. "application/json"
  701. ],
  702. "produces": [
  703. "application/json"
  704. ],
  705. "tags": [
  706. "用户管理"
  707. ],
  708. "summary": "添加用户",
  709. "parameters": [
  710. {
  711. "type": "string",
  712. "description": "token",
  713. "name": "token",
  714. "in": "header",
  715. "required": true
  716. },
  717. {
  718. "description": "用户信息",
  719. "name": "body",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/v1.CompanyUserAddBody"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/v1.CompanyUserAddResponse"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/base.HTTPError"
  738. }
  739. }
  740. }
  741. },
  742. "delete": {
  743. "description": "删除用户",
  744. "consumes": [
  745. "application/json"
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "用户管理"
  752. ],
  753. "summary": "删除用户",
  754. "parameters": [
  755. {
  756. "type": "string",
  757. "description": "token",
  758. "name": "token",
  759. "in": "header",
  760. "required": true
  761. },
  762. {
  763. "type": "integer",
  764. "description": " ",
  765. "name": "id",
  766. "in": "query",
  767. "required": true
  768. }
  769. ],
  770. "responses": {
  771. "200": {
  772. "description": "OK",
  773. "schema": {
  774. "$ref": "#/definitions/v1.CompanyUserDelResponse"
  775. }
  776. },
  777. "500": {
  778. "description": "Internal Server Error",
  779. "schema": {
  780. "$ref": "#/definitions/base.HTTPError"
  781. }
  782. }
  783. }
  784. }
  785. },
  786. "/api/v1/garden": {
  787. "get": {
  788. "description": "小区列表",
  789. "consumes": [
  790. "application/json"
  791. ],
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "小区"
  797. ],
  798. "summary": "小区列表",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": " ",
  803. "name": "token",
  804. "in": "header",
  805. "required": true
  806. },
  807. {
  808. "type": "integer",
  809. "description": " ",
  810. "name": "page",
  811. "in": "query",
  812. "required": true
  813. },
  814. {
  815. "type": "integer",
  816. "description": " ",
  817. "name": "page_size",
  818. "in": "query"
  819. },
  820. {
  821. "type": "boolean",
  822. "description": "true 待审批或审批未通过的数据 false 审批通过的数据 ",
  823. "name": "not_approved",
  824. "in": "query"
  825. }
  826. ],
  827. "responses": {
  828. "200": {
  829. "description": "OK",
  830. "schema": {
  831. "$ref": "#/definitions/v1.CompanyGardenListResponse"
  832. }
  833. },
  834. "500": {
  835. "description": "Internal Server Error",
  836. "schema": {
  837. "$ref": "#/definitions/base.HTTPError"
  838. }
  839. }
  840. }
  841. },
  842. "put": {
  843. "description": "修改小区",
  844. "consumes": [
  845. "application/json"
  846. ],
  847. "produces": [
  848. "application/json"
  849. ],
  850. "tags": [
  851. "小区"
  852. ],
  853. "summary": "修改小区",
  854. "parameters": [
  855. {
  856. "type": "string",
  857. "description": " ",
  858. "name": "token",
  859. "in": "header",
  860. "required": true
  861. },
  862. {
  863. "description": "小区信息",
  864. "name": "body",
  865. "in": "body",
  866. "required": true,
  867. "schema": {
  868. "$ref": "#/definitions/v1.CompanyGardenUpdateBody"
  869. }
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/v1.CompanyGardenUpdateResponse"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/base.HTTPError"
  883. }
  884. }
  885. }
  886. },
  887. "post": {
  888. "description": "新增小区",
  889. "consumes": [
  890. "application/json"
  891. ],
  892. "produces": [
  893. "application/json"
  894. ],
  895. "tags": [
  896. "小区"
  897. ],
  898. "summary": "新增小区",
  899. "parameters": [
  900. {
  901. "type": "string",
  902. "description": " ",
  903. "name": "token",
  904. "in": "header",
  905. "required": true
  906. },
  907. {
  908. "description": "小区信息",
  909. "name": "body",
  910. "in": "body",
  911. "required": true,
  912. "schema": {
  913. "$ref": "#/definitions/v1.CompanyAddGardenBody"
  914. }
  915. }
  916. ],
  917. "responses": {
  918. "200": {
  919. "description": "OK",
  920. "schema": {
  921. "$ref": "#/definitions/v1.CompanyAddGardenResponse"
  922. }
  923. },
  924. "500": {
  925. "description": "Internal Server Error",
  926. "schema": {
  927. "$ref": "#/definitions/base.HTTPError"
  928. }
  929. }
  930. }
  931. },
  932. "delete": {
  933. "description": "删除小区",
  934. "consumes": [
  935. "application/json"
  936. ],
  937. "produces": [
  938. "application/json"
  939. ],
  940. "tags": [
  941. "小区"
  942. ],
  943. "summary": "删除小区",
  944. "parameters": [
  945. {
  946. "type": "string",
  947. "description": " ",
  948. "name": "token",
  949. "in": "header",
  950. "required": true
  951. },
  952. {
  953. "type": "integer",
  954. "description": "小区id",
  955. "name": "id",
  956. "in": "query",
  957. "required": true
  958. }
  959. ],
  960. "responses": {
  961. "200": {
  962. "description": "OK",
  963. "schema": {
  964. "$ref": "#/definitions/v1.CompanyGardenDelResponse"
  965. }
  966. },
  967. "500": {
  968. "description": "Internal Server Error",
  969. "schema": {
  970. "$ref": "#/definitions/base.HTTPError"
  971. }
  972. }
  973. }
  974. }
  975. },
  976. "/api/v1/garden/check": {
  977. "get": {
  978. "description": "判断是否可以添加小区",
  979. "consumes": [
  980. "application/json"
  981. ],
  982. "produces": [
  983. "application/json"
  984. ],
  985. "tags": [
  986. "小区"
  987. ],
  988. "summary": "判断是否可以添加小区",
  989. "parameters": [
  990. {
  991. "type": "string",
  992. "description": " ",
  993. "name": "token",
  994. "in": "header",
  995. "required": true
  996. }
  997. ],
  998. "responses": {
  999. "200": {
  1000. "description": "OK",
  1001. "schema": {
  1002. "$ref": "#/definitions/v1.CompanyCanAddGardenResponse"
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/base.HTTPError"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/api/v1/garden/entry": {
  1015. "get": {
  1016. "description": "小区入口",
  1017. "consumes": [
  1018. "application/json"
  1019. ],
  1020. "produces": [
  1021. "application/json"
  1022. ],
  1023. "tags": [
  1024. "小区"
  1025. ],
  1026. "summary": "小区入口",
  1027. "parameters": [
  1028. {
  1029. "type": "string",
  1030. "description": " ",
  1031. "name": "token",
  1032. "in": "header",
  1033. "required": true
  1034. },
  1035. {
  1036. "type": "integer",
  1037. "description": " ",
  1038. "name": "garden_id",
  1039. "in": "query",
  1040. "required": true
  1041. }
  1042. ],
  1043. "responses": {
  1044. "200": {
  1045. "description": "OK",
  1046. "schema": {
  1047. "$ref": "#/definitions/v1.CompanyEnterGardenResponse"
  1048. }
  1049. },
  1050. "500": {
  1051. "description": "Internal Server Error",
  1052. "schema": {
  1053. "$ref": "#/definitions/base.HTTPError"
  1054. }
  1055. }
  1056. }
  1057. }
  1058. },
  1059. "/api/v1/garden/key_info": {
  1060. "get": {
  1061. "description": "小区关键信息申请列表",
  1062. "consumes": [
  1063. "application/json"
  1064. ],
  1065. "produces": [
  1066. "application/json"
  1067. ],
  1068. "tags": [
  1069. "小区"
  1070. ],
  1071. "summary": "小区关键信息申请列表",
  1072. "parameters": [
  1073. {
  1074. "type": "string",
  1075. "description": " ",
  1076. "name": "token",
  1077. "in": "header",
  1078. "required": true
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": " ",
  1083. "name": "page",
  1084. "in": "query"
  1085. },
  1086. {
  1087. "type": "integer",
  1088. "description": " ",
  1089. "name": "page_size",
  1090. "in": "query"
  1091. },
  1092. {
  1093. "type": "integer",
  1094. "description": "0不过率 1 待审核 2 审核通过 3 未通过 ",
  1095. "name": "status",
  1096. "in": "query"
  1097. }
  1098. ],
  1099. "responses": {
  1100. "200": {
  1101. "description": "OK",
  1102. "schema": {
  1103. "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse"
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/base.HTTPError"
  1110. }
  1111. }
  1112. }
  1113. },
  1114. "put": {
  1115. "description": "申请修改小区关键信息",
  1116. "consumes": [
  1117. "application/json"
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "小区"
  1124. ],
  1125. "summary": "申请修改小区关键信息",
  1126. "parameters": [
  1127. {
  1128. "type": "string",
  1129. "description": " ",
  1130. "name": "token",
  1131. "in": "header",
  1132. "required": true
  1133. },
  1134. {
  1135. "description": "小区信息",
  1136. "name": "body",
  1137. "in": "body",
  1138. "required": true,
  1139. "schema": {
  1140. "$ref": "#/definitions/v1.GardenKeyInfoChangeBody"
  1141. }
  1142. }
  1143. ],
  1144. "responses": {
  1145. "200": {
  1146. "description": "OK",
  1147. "schema": {
  1148. "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse"
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/base.HTTPError"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/api/v1/order/package": {
  1161. "get": {
  1162. "description": "公司已购套餐订单列表",
  1163. "consumes": [
  1164. "application/json"
  1165. ],
  1166. "produces": [
  1167. "application/json"
  1168. ],
  1169. "tags": [
  1170. "已购套餐"
  1171. ],
  1172. "summary": "公司已购套餐订单列表",
  1173. "parameters": [
  1174. {
  1175. "type": "string",
  1176. "description": " ",
  1177. "name": "token",
  1178. "in": "header",
  1179. "required": true
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "第几页,1为起始页, -1 不分页返回所有",
  1184. "name": "page",
  1185. "in": "query",
  1186. "required": true
  1187. },
  1188. {
  1189. "type": "integer",
  1190. "description": "每页条数,-1 不分页返回所有",
  1191. "name": "page_size",
  1192. "in": "query"
  1193. },
  1194. {
  1195. "type": "integer",
  1196. "description": "0不过滤,1待认证 2 已通过 3 未通过",
  1197. "name": "status",
  1198. "in": "query"
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "$ref": "#/definitions/v1.CompanyPackageListResponse"
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/base.HTTPError"
  1212. }
  1213. }
  1214. }
  1215. },
  1216. "post": {
  1217. "description": "新增套餐",
  1218. "consumes": [
  1219. "application/json"
  1220. ],
  1221. "produces": [
  1222. "application/json"
  1223. ],
  1224. "tags": [
  1225. "公司套餐"
  1226. ],
  1227. "summary": "新增套餐",
  1228. "parameters": [
  1229. {
  1230. "type": "string",
  1231. "description": " ",
  1232. "name": "token",
  1233. "in": "header",
  1234. "required": true
  1235. },
  1236. {
  1237. "description": "信息",
  1238. "name": "body",
  1239. "in": "body",
  1240. "required": true,
  1241. "schema": {
  1242. "$ref": "#/definitions/v1.PackageOrderAddBody"
  1243. }
  1244. }
  1245. ],
  1246. "responses": {
  1247. "200": {
  1248. "description": "OK",
  1249. "schema": {
  1250. "$ref": "#/definitions/v1.PackageOrderAddResponse"
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/base.HTTPError"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/api/v1/order/package_for_garden": {
  1263. "get": {
  1264. "description": "创建小区时获取可用的套餐",
  1265. "consumes": [
  1266. "application/json"
  1267. ],
  1268. "produces": [
  1269. "application/json"
  1270. ],
  1271. "tags": [
  1272. "已购套餐"
  1273. ],
  1274. "summary": "创建小区时获取可用的套餐",
  1275. "parameters": [
  1276. {
  1277. "type": "string",
  1278. "description": " ",
  1279. "name": "token",
  1280. "in": "header",
  1281. "required": true
  1282. },
  1283. {
  1284. "type": "integer",
  1285. "description": "第几页,1为起始页, -1 不分页返回所有",
  1286. "name": "page",
  1287. "in": "query",
  1288. "required": true
  1289. },
  1290. {
  1291. "type": "integer",
  1292. "description": "每页条数,-1 不分页返回所有",
  1293. "name": "page_size",
  1294. "in": "query"
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "$ref": "#/definitions/v1.CompanyPackageListResponse"
  1302. }
  1303. },
  1304. "500": {
  1305. "description": "Internal Server Error",
  1306. "schema": {
  1307. "$ref": "#/definitions/base.HTTPError"
  1308. }
  1309. }
  1310. }
  1311. }
  1312. },
  1313. "/api/v1/order/renew": {
  1314. "post": {
  1315. "description": "套餐续费",
  1316. "consumes": [
  1317. "application/json"
  1318. ],
  1319. "produces": [
  1320. "application/json"
  1321. ],
  1322. "tags": [
  1323. "公司套餐"
  1324. ],
  1325. "summary": "套餐续费",
  1326. "parameters": [
  1327. {
  1328. "type": "string",
  1329. "description": " ",
  1330. "name": "token",
  1331. "in": "header",
  1332. "required": true
  1333. },
  1334. {
  1335. "description": "信息",
  1336. "name": "body",
  1337. "in": "body",
  1338. "required": true,
  1339. "schema": {
  1340. "$ref": "#/definitions/v1.PackageOrderAddRenewBody"
  1341. }
  1342. }
  1343. ],
  1344. "responses": {
  1345. "200": {
  1346. "description": "OK",
  1347. "schema": {
  1348. "$ref": "#/definitions/v1.PackageOrderAddRenewResponse"
  1349. }
  1350. },
  1351. "500": {
  1352. "description": "Internal Server Error",
  1353. "schema": {
  1354. "$ref": "#/definitions/base.HTTPError"
  1355. }
  1356. }
  1357. }
  1358. }
  1359. },
  1360. "/api/v1/package": {
  1361. "get": {
  1362. "description": "套餐列表",
  1363. "consumes": [
  1364. "application/json"
  1365. ],
  1366. "produces": [
  1367. "application/json"
  1368. ],
  1369. "tags": [
  1370. "套餐"
  1371. ],
  1372. "summary": "套餐列表",
  1373. "parameters": [
  1374. {
  1375. "type": "string",
  1376. "description": " ",
  1377. "name": "token",
  1378. "in": "header",
  1379. "required": true
  1380. },
  1381. {
  1382. "type": "integer",
  1383. "description": "第几页,1为起始页, -1 不分页返回所有",
  1384. "name": "page",
  1385. "in": "query",
  1386. "required": true
  1387. },
  1388. {
  1389. "type": "integer",
  1390. "description": "每页条数,-1 不分页返回所有",
  1391. "name": "page_size",
  1392. "in": "query"
  1393. },
  1394. {
  1395. "type": "integer",
  1396. "description": "0不过滤,1已发布的 2 未发布的",
  1397. "name": "enable",
  1398. "in": "query"
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "$ref": "#/definitions/v1.PackageListResponse"
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/base.HTTPError"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/api/v1/statistic": {
  1418. "get": {
  1419. "description": "统计",
  1420. "consumes": [
  1421. "application/json"
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "首页"
  1428. ],
  1429. "summary": "统计",
  1430. "parameters": [
  1431. {
  1432. "type": "string",
  1433. "description": "token",
  1434. "name": "token",
  1435. "in": "header",
  1436. "required": true
  1437. }
  1438. ],
  1439. "responses": {
  1440. "200": {
  1441. "description": "OK",
  1442. "schema": {
  1443. "$ref": "#/definitions/v1.CompanyStatisticResponse"
  1444. }
  1445. },
  1446. "500": {
  1447. "description": "Internal Server Error",
  1448. "schema": {
  1449. "$ref": "#/definitions/base.HTTPError"
  1450. }
  1451. }
  1452. }
  1453. }
  1454. },
  1455. "/api/v1/token_refresh": {
  1456. "put": {
  1457. "description": "刷新token",
  1458. "consumes": [
  1459. "application/json"
  1460. ],
  1461. "produces": [
  1462. "application/json"
  1463. ],
  1464. "tags": [
  1465. "用户"
  1466. ],
  1467. "summary": "刷新token",
  1468. "parameters": [
  1469. {
  1470. "type": "string",
  1471. "description": "token",
  1472. "name": "token",
  1473. "in": "header",
  1474. "required": true
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "$ref": "#/definitions/v1.TokenResponse"
  1482. }
  1483. },
  1484. "500": {
  1485. "description": "Internal Server Error",
  1486. "schema": {
  1487. "$ref": "#/definitions/base.HTTPError"
  1488. }
  1489. }
  1490. }
  1491. }
  1492. },
  1493. "/api/v1/upload": {
  1494. "post": {
  1495. "description": "上传文件",
  1496. "consumes": [
  1497. "application/json"
  1498. ],
  1499. "produces": [
  1500. "application/json"
  1501. ],
  1502. "tags": [
  1503. "upload"
  1504. ],
  1505. "summary": "上传文件",
  1506. "parameters": [
  1507. {
  1508. "type": "string",
  1509. "description": "jwt token",
  1510. "name": "token",
  1511. "in": "header",
  1512. "required": true
  1513. },
  1514. {
  1515. "type": "file",
  1516. "description": "file",
  1517. "name": "file",
  1518. "in": "formData"
  1519. }
  1520. ],
  1521. "responses": {
  1522. "200": {
  1523. "description": "OK",
  1524. "schema": {
  1525. "$ref": "#/definitions/v1.UploadResponse"
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/base.HTTPError"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/api/v1/upload_wx": {
  1538. "post": {
  1539. "description": "上传文件",
  1540. "consumes": [
  1541. "application/json"
  1542. ],
  1543. "produces": [
  1544. "application/json"
  1545. ],
  1546. "tags": [
  1547. "upload"
  1548. ],
  1549. "summary": "上传文件",
  1550. "parameters": [
  1551. {
  1552. "type": "string",
  1553. "description": "jwt token",
  1554. "name": "token",
  1555. "in": "header",
  1556. "required": true
  1557. },
  1558. {
  1559. "type": "file",
  1560. "description": "file",
  1561. "name": "file",
  1562. "in": "formData"
  1563. }
  1564. ],
  1565. "responses": {
  1566. "200": {
  1567. "description": "OK",
  1568. "schema": {
  1569. "$ref": "#/definitions/v1.UploadWxResponse"
  1570. }
  1571. },
  1572. "500": {
  1573. "description": "Internal Server Error",
  1574. "schema": {
  1575. "$ref": "#/definitions/base.HTTPError"
  1576. }
  1577. }
  1578. }
  1579. }
  1580. },
  1581. "/api/v1/user/change_password": {
  1582. "put": {
  1583. "description": "修改密码",
  1584. "consumes": [
  1585. "application/json"
  1586. ],
  1587. "produces": [
  1588. "application/json"
  1589. ],
  1590. "tags": [
  1591. "用户"
  1592. ],
  1593. "summary": "修改密码",
  1594. "parameters": [
  1595. {
  1596. "type": "string",
  1597. "description": " ",
  1598. "name": "token",
  1599. "in": "header",
  1600. "required": true
  1601. },
  1602. {
  1603. "description": "信息",
  1604. "name": "body",
  1605. "in": "body",
  1606. "required": true,
  1607. "schema": {
  1608. "$ref": "#/definitions/v1.ChangePasswordBody"
  1609. }
  1610. }
  1611. ],
  1612. "responses": {
  1613. "200": {
  1614. "description": "OK",
  1615. "schema": {
  1616. "$ref": "#/definitions/v1.ChangePasswordResponse"
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/base.HTTPError"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/api/v1/user/login": {
  1629. "post": {
  1630. "description": "登录",
  1631. "consumes": [
  1632. "application/json"
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "用户"
  1639. ],
  1640. "summary": "登录",
  1641. "parameters": [
  1642. {
  1643. "description": "登录信息",
  1644. "name": "body",
  1645. "in": "body",
  1646. "required": true,
  1647. "schema": {
  1648. "$ref": "#/definitions/v1.LoginBody"
  1649. }
  1650. }
  1651. ],
  1652. "responses": {
  1653. "200": {
  1654. "description": "OK",
  1655. "schema": {
  1656. "$ref": "#/definitions/v1.LoginResponse"
  1657. }
  1658. },
  1659. "500": {
  1660. "description": "Internal Server Error",
  1661. "schema": {
  1662. "$ref": "#/definitions/base.HTTPError"
  1663. }
  1664. }
  1665. }
  1666. }
  1667. },
  1668. "/api/v1/user/login_by_phone": {
  1669. "post": {
  1670. "description": "手机号登录",
  1671. "consumes": [
  1672. "application/json"
  1673. ],
  1674. "produces": [
  1675. "application/json"
  1676. ],
  1677. "tags": [
  1678. "用户"
  1679. ],
  1680. "summary": "手机号登录",
  1681. "parameters": [
  1682. {
  1683. "description": " ",
  1684. "name": "body",
  1685. "in": "body",
  1686. "required": true,
  1687. "schema": {
  1688. "$ref": "#/definitions/v1.LoginByPhoneBody"
  1689. }
  1690. }
  1691. ],
  1692. "responses": {
  1693. "200": {
  1694. "description": "OK",
  1695. "schema": {
  1696. "$ref": "#/definitions/v1.LoginByPhoneResponse"
  1697. }
  1698. },
  1699. "500": {
  1700. "description": "Internal Server Error",
  1701. "schema": {
  1702. "$ref": "#/definitions/base.HTTPError"
  1703. }
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "/api/v1/user/reset_password": {
  1709. "put": {
  1710. "description": "忘记密码重置密码",
  1711. "consumes": [
  1712. "application/json"
  1713. ],
  1714. "produces": [
  1715. "application/json"
  1716. ],
  1717. "tags": [
  1718. "用户"
  1719. ],
  1720. "summary": "忘记密码重置密码",
  1721. "parameters": [
  1722. {
  1723. "description": "信息",
  1724. "name": "body",
  1725. "in": "body",
  1726. "required": true,
  1727. "schema": {
  1728. "$ref": "#/definitions/v1.ResetPasswordBody"
  1729. }
  1730. }
  1731. ],
  1732. "responses": {
  1733. "200": {
  1734. "description": "OK",
  1735. "schema": {
  1736. "$ref": "#/definitions/v1.ResetPasswordResponse"
  1737. }
  1738. },
  1739. "500": {
  1740. "description": "Internal Server Error",
  1741. "schema": {
  1742. "$ref": "#/definitions/base.HTTPError"
  1743. }
  1744. }
  1745. }
  1746. }
  1747. },
  1748. "/api/v1/user/vcode": {
  1749. "get": {
  1750. "description": "获取短信验证码",
  1751. "consumes": [
  1752. "application/json"
  1753. ],
  1754. "produces": [
  1755. "application/json"
  1756. ],
  1757. "tags": [
  1758. "用户"
  1759. ],
  1760. "summary": "获取短信验证码",
  1761. "parameters": [
  1762. {
  1763. "type": "string",
  1764. "description": " ",
  1765. "name": "phone",
  1766. "in": "query",
  1767. "required": true
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "$ref": "#/definitions/v1.GetVcodeResponse"
  1775. }
  1776. },
  1777. "500": {
  1778. "description": "Internal Server Error",
  1779. "schema": {
  1780. "$ref": "#/definitions/base.HTTPError"
  1781. }
  1782. }
  1783. }
  1784. }
  1785. }
  1786. },
  1787. "definitions": {
  1788. "base.HTTPError": {
  1789. "type": "object",
  1790. "properties": {
  1791. "code": {
  1792. "type": "integer",
  1793. "format": "int",
  1794. "example": 500
  1795. },
  1796. "message": {
  1797. "type": "string",
  1798. "example": "status bad request"
  1799. }
  1800. }
  1801. },
  1802. "v1.ApplicationItem": {
  1803. "type": "object",
  1804. "properties": {
  1805. "content": {
  1806. "type": "string"
  1807. },
  1808. "desc": {
  1809. "type": "string"
  1810. },
  1811. "enable": {
  1812. "type": "boolean"
  1813. },
  1814. "icon": {
  1815. "type": "string"
  1816. },
  1817. "id": {
  1818. "type": "integer"
  1819. },
  1820. "name": {
  1821. "type": "string"
  1822. },
  1823. "price": {
  1824. "type": "integer"
  1825. }
  1826. }
  1827. },
  1828. "v1.ApplicationListReply": {
  1829. "type": "object",
  1830. "properties": {
  1831. "list": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/v1.ApplicationItem"
  1835. }
  1836. },
  1837. "page": {
  1838. "type": "integer"
  1839. },
  1840. "total": {
  1841. "type": "integer"
  1842. }
  1843. }
  1844. },
  1845. "v1.ApplicationListResponse": {
  1846. "type": "object",
  1847. "properties": {
  1848. "code": {
  1849. "description": "返回码",
  1850. "type": "integer",
  1851. "format": "int",
  1852. "default": 0
  1853. },
  1854. "data": {
  1855. "type": "object",
  1856. "$ref": "#/definitions/v1.ApplicationListReply"
  1857. },
  1858. "message": {
  1859. "description": "消息",
  1860. "type": "string",
  1861. "default": "success"
  1862. }
  1863. }
  1864. },
  1865. "v1.AreaData": {
  1866. "type": "object",
  1867. "properties": {
  1868. "city_code": {
  1869. "type": "string"
  1870. },
  1871. "code": {
  1872. "type": "string"
  1873. },
  1874. "name": {
  1875. "type": "string"
  1876. },
  1877. "province_code": {
  1878. "type": "string"
  1879. }
  1880. }
  1881. },
  1882. "v1.ChangePasswordBody": {
  1883. "type": "object",
  1884. "properties": {
  1885. "new_password": {
  1886. "type": "string"
  1887. },
  1888. "old_password": {
  1889. "type": "string"
  1890. }
  1891. }
  1892. },
  1893. "v1.ChangePasswordResponse": {
  1894. "type": "object",
  1895. "properties": {
  1896. "code": {
  1897. "description": "返回码",
  1898. "type": "integer",
  1899. "format": "int",
  1900. "default": 0
  1901. },
  1902. "message": {
  1903. "description": "消息",
  1904. "type": "string",
  1905. "default": "success"
  1906. }
  1907. }
  1908. },
  1909. "v1.CityData": {
  1910. "type": "object",
  1911. "properties": {
  1912. "code": {
  1913. "type": "string"
  1914. },
  1915. "name": {
  1916. "type": "string"
  1917. },
  1918. "province_code": {
  1919. "type": "string"
  1920. }
  1921. }
  1922. },
  1923. "v1.CommitteeData": {
  1924. "type": "object",
  1925. "properties": {
  1926. "code": {
  1927. "type": "string"
  1928. },
  1929. "name": {
  1930. "type": "string"
  1931. },
  1932. "street_code": {
  1933. "type": "string"
  1934. }
  1935. }
  1936. },
  1937. "v1.CompanyAddGardenBody": {
  1938. "type": "object",
  1939. "properties": {
  1940. "appendix": {
  1941. "description": "证明材料",
  1942. "type": "array",
  1943. "items": {
  1944. "type": "string"
  1945. }
  1946. },
  1947. "area": {
  1948. "description": "区",
  1949. "type": "string"
  1950. },
  1951. "area_code": {
  1952. "type": "string"
  1953. },
  1954. "area_percent": {
  1955. "description": "容积率",
  1956. "type": "number"
  1957. },
  1958. "avg_price": {
  1959. "type": "integer"
  1960. },
  1961. "building_area": {
  1962. "description": "建筑面积",
  1963. "type": "number"
  1964. },
  1965. "building_company": {
  1966. "description": "开发企业",
  1967. "type": "string"
  1968. },
  1969. "building_end": {
  1970. "description": "建成年份结束时间戳",
  1971. "type": "integer"
  1972. },
  1973. "building_start": {
  1974. "description": "建成年份开始时间戳",
  1975. "type": "integer"
  1976. },
  1977. "building_type": {
  1978. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  1979. "type": "integer"
  1980. },
  1981. "city": {
  1982. "description": "市",
  1983. "type": "string"
  1984. },
  1985. "city_code": {
  1986. "type": "string"
  1987. },
  1988. "committee": {
  1989. "description": "社区",
  1990. "type": "string"
  1991. },
  1992. "committee_code": {
  1993. "type": "string"
  1994. },
  1995. "covered_area": {
  1996. "description": "占地面积",
  1997. "type": "number"
  1998. },
  1999. "electric_type": {
  2000. "description": "电费类型多选 1 民用 2 商用",
  2001. "type": "array",
  2002. "items": {
  2003. "type": "integer"
  2004. }
  2005. },
  2006. "garden_addr": {
  2007. "description": "小区地址",
  2008. "type": "string"
  2009. },
  2010. "garden_desc": {
  2011. "description": "小区描述",
  2012. "type": "string"
  2013. },
  2014. "garden_name": {
  2015. "description": "小区名字",
  2016. "type": "string"
  2017. },
  2018. "garden_pic": {
  2019. "description": "小区形象图片",
  2020. "type": "string"
  2021. },
  2022. "garden_pics": {
  2023. "description": "小区图片",
  2024. "type": "array",
  2025. "items": {
  2026. "type": "string"
  2027. }
  2028. },
  2029. "gas_fee_end": {
  2030. "description": "燃气费开始,单位分",
  2031. "type": "integer"
  2032. },
  2033. "gas_fee_start": {
  2034. "description": "燃气费开始,单位分",
  2035. "type": "integer"
  2036. },
  2037. "green_percent": {
  2038. "description": "绿化率",
  2039. "type": "number"
  2040. },
  2041. "house_total": {
  2042. "description": "总户数",
  2043. "type": "integer"
  2044. },
  2045. "lat": {
  2046. "description": "纬度",
  2047. "type": "number"
  2048. },
  2049. "lnt": {
  2050. "description": "经度",
  2051. "type": "number"
  2052. },
  2053. "order_id": {
  2054. "description": "套餐订单id",
  2055. "type": "integer"
  2056. },
  2057. "property_fee_end": {
  2058. "description": "物业费结束, 单位分",
  2059. "type": "integer"
  2060. },
  2061. "property_fee_start": {
  2062. "description": "物业费开始,单位分",
  2063. "type": "integer"
  2064. },
  2065. "property_person": {
  2066. "description": "物业联系人",
  2067. "type": "string"
  2068. },
  2069. "property_phone": {
  2070. "description": "物业联系人手机号",
  2071. "type": "string"
  2072. },
  2073. "province": {
  2074. "description": "省",
  2075. "type": "string"
  2076. },
  2077. "province_code": {
  2078. "type": "string"
  2079. },
  2080. "space_info": {
  2081. "description": "车位配比",
  2082. "type": "string"
  2083. },
  2084. "space_total": {
  2085. "description": "固定车位数",
  2086. "type": "integer"
  2087. },
  2088. "street": {
  2089. "description": "街道",
  2090. "type": "string"
  2091. },
  2092. "street_code": {
  2093. "type": "string"
  2094. },
  2095. "water_type": {
  2096. "description": "水费类型多选 1 民用 2 商用",
  2097. "type": "array",
  2098. "items": {
  2099. "type": "integer"
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "v1.CompanyAddGardenReply": {
  2105. "type": "object",
  2106. "properties": {
  2107. "id": {
  2108. "type": "integer"
  2109. }
  2110. }
  2111. },
  2112. "v1.CompanyAddGardenResponse": {
  2113. "type": "object",
  2114. "properties": {
  2115. "code": {
  2116. "description": "返回码",
  2117. "type": "integer",
  2118. "format": "int",
  2119. "default": 0
  2120. },
  2121. "data": {
  2122. "type": "object",
  2123. "$ref": "#/definitions/v1.CompanyAddGardenReply"
  2124. },
  2125. "message": {
  2126. "description": "消息",
  2127. "type": "string",
  2128. "default": "success"
  2129. }
  2130. }
  2131. },
  2132. "v1.CompanyCanAddGardenReply": {
  2133. "type": "object",
  2134. "properties": {
  2135. "can_add": {
  2136. "type": "boolean"
  2137. }
  2138. }
  2139. },
  2140. "v1.CompanyCanAddGardenResponse": {
  2141. "type": "object",
  2142. "properties": {
  2143. "code": {
  2144. "description": "返回码",
  2145. "type": "integer",
  2146. "format": "int",
  2147. "default": 0
  2148. },
  2149. "data": {
  2150. "type": "object",
  2151. "$ref": "#/definitions/v1.CompanyCanAddGardenReply"
  2152. },
  2153. "message": {
  2154. "description": "消息",
  2155. "type": "string",
  2156. "default": "success"
  2157. }
  2158. }
  2159. },
  2160. "v1.CompanyEnterGardenData": {
  2161. "type": "object",
  2162. "properties": {
  2163. "token": {
  2164. "type": "string"
  2165. }
  2166. }
  2167. },
  2168. "v1.CompanyEnterGardenResponse": {
  2169. "type": "object",
  2170. "properties": {
  2171. "code": {
  2172. "description": "返回码",
  2173. "type": "integer",
  2174. "format": "int",
  2175. "default": 0
  2176. },
  2177. "data": {
  2178. "type": "object",
  2179. "$ref": "#/definitions/v1.CompanyEnterGardenData"
  2180. },
  2181. "message": {
  2182. "description": "消息",
  2183. "type": "string",
  2184. "default": "success"
  2185. }
  2186. }
  2187. },
  2188. "v1.CompanyGardenDelResponse": {
  2189. "type": "object",
  2190. "properties": {
  2191. "code": {
  2192. "description": "返回码",
  2193. "type": "integer",
  2194. "format": "int",
  2195. "default": 0
  2196. },
  2197. "message": {
  2198. "description": "消息",
  2199. "type": "string",
  2200. "default": "success"
  2201. }
  2202. }
  2203. },
  2204. "v1.CompanyGardenListResponse": {
  2205. "type": "object",
  2206. "properties": {
  2207. "code": {
  2208. "description": "返回码",
  2209. "type": "integer",
  2210. "format": "int",
  2211. "default": 0
  2212. },
  2213. "data": {
  2214. "type": "object",
  2215. "$ref": "#/definitions/v1.GardenListReply"
  2216. },
  2217. "message": {
  2218. "description": "消息",
  2219. "type": "string",
  2220. "default": "success"
  2221. }
  2222. }
  2223. },
  2224. "v1.CompanyGardenUpdateBody": {
  2225. "type": "object",
  2226. "properties": {
  2227. "area_percent": {
  2228. "description": "容积率",
  2229. "type": "number"
  2230. },
  2231. "avg_price": {
  2232. "type": "integer"
  2233. },
  2234. "building_area": {
  2235. "description": "建筑面积",
  2236. "type": "number"
  2237. },
  2238. "building_company": {
  2239. "description": "开发企业",
  2240. "type": "string"
  2241. },
  2242. "building_end": {
  2243. "description": "建成年份结束时间戳",
  2244. "type": "integer"
  2245. },
  2246. "building_start": {
  2247. "description": "建成年份开始时间戳",
  2248. "type": "integer"
  2249. },
  2250. "building_type": {
  2251. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  2252. "type": "integer"
  2253. },
  2254. "covered_area": {
  2255. "description": "占地面积",
  2256. "type": "number"
  2257. },
  2258. "electric_type": {
  2259. "description": "电费类型多选 1 民用 2 商用",
  2260. "type": "array",
  2261. "items": {
  2262. "type": "integer"
  2263. }
  2264. },
  2265. "garden_addr": {
  2266. "description": "省\nProvince string ` + "`" + `form:\"province\" json:\"province\"` + "`" + `\nProvinceCode string ` + "`" + `form:\"province_code\" json:\"province_code\"` + "`" + `\n市\nCity string ` + "`" + `form:\"city\" json:\"city\"` + "`" + `\nCityCode string ` + "`" + `form:\"city_code\" json:\"city_code\"` + "`" + `\n区\nArea string ` + "`" + `form:\"area\" json:\"area\"` + "`" + `\nAreaCode string ` + "`" + `form:\"area_code\" json:\"area_code\"` + "`" + `\n街道\nStreet string ` + "`" + `form:\"street\" json:\"street\"` + "`" + `\nStreetCode string ` + "`" + `form:\"street_code\" json:\"street_code\"` + "`" + `\n社区\nCommittee string ` + "`" + `form:\"committee\" json:\"committee\"` + "`" + `\nCommitteeCode string ` + "`" + `form:\"committee_code\" json:\"committee_code\"` + "`" + `\n小区名字\nGardenName string ` + "`" + `form:\"garden_name\" json:\"garden_name\"` + "`" + `\n小区地址",
  2267. "type": "string"
  2268. },
  2269. "garden_desc": {
  2270. "description": "小区描述",
  2271. "type": "string"
  2272. },
  2273. "garden_pic": {
  2274. "description": "小区形象图片",
  2275. "type": "string"
  2276. },
  2277. "garden_pics": {
  2278. "description": "小区图片",
  2279. "type": "array",
  2280. "items": {
  2281. "type": "string"
  2282. }
  2283. },
  2284. "gas_fee_end": {
  2285. "description": "燃气费开始,单位分",
  2286. "type": "integer"
  2287. },
  2288. "gas_fee_start": {
  2289. "description": "燃气费开始,单位分",
  2290. "type": "integer"
  2291. },
  2292. "green_percent": {
  2293. "description": "绿化率",
  2294. "type": "number"
  2295. },
  2296. "house_total": {
  2297. "description": "总户数",
  2298. "type": "integer"
  2299. },
  2300. "id": {
  2301. "type": "integer"
  2302. },
  2303. "lat": {
  2304. "description": "纬度",
  2305. "type": "number"
  2306. },
  2307. "lnt": {
  2308. "description": "经度",
  2309. "type": "number"
  2310. },
  2311. "property_fee_end": {
  2312. "description": "物业费结束, 单位分",
  2313. "type": "integer"
  2314. },
  2315. "property_fee_start": {
  2316. "description": "物业费开始,单位分",
  2317. "type": "integer"
  2318. },
  2319. "property_person": {
  2320. "description": "物业联系人",
  2321. "type": "string"
  2322. },
  2323. "property_phone": {
  2324. "description": "物业联系人手机号",
  2325. "type": "string"
  2326. },
  2327. "space_info": {
  2328. "description": "车位配比",
  2329. "type": "string"
  2330. },
  2331. "space_total": {
  2332. "description": "固定车位数",
  2333. "type": "integer"
  2334. },
  2335. "water_type": {
  2336. "description": "水费类型多选 1 民用 2 商用",
  2337. "type": "array",
  2338. "items": {
  2339. "type": "integer"
  2340. }
  2341. }
  2342. }
  2343. },
  2344. "v1.CompanyGardenUpdateResponse": {
  2345. "type": "object",
  2346. "properties": {
  2347. "code": {
  2348. "description": "返回码",
  2349. "type": "integer",
  2350. "format": "int",
  2351. "default": 0
  2352. },
  2353. "message": {
  2354. "description": "消息",
  2355. "type": "string",
  2356. "default": "success"
  2357. }
  2358. }
  2359. },
  2360. "v1.CompanyInfoReply": {
  2361. "type": "object",
  2362. "properties": {
  2363. "applicant": {
  2364. "description": "申请人",
  2365. "type": "string"
  2366. },
  2367. "applicant_duty": {
  2368. "description": "申请人职位",
  2369. "type": "string"
  2370. },
  2371. "applicant_identification": {
  2372. "description": "申请人身份",
  2373. "type": "string"
  2374. },
  2375. "applicant_phone": {
  2376. "description": "申请人电话",
  2377. "type": "string"
  2378. },
  2379. "approve_status": {
  2380. "description": "审核状态",
  2381. "type": "integer"
  2382. },
  2383. "approved_at": {
  2384. "description": "审批时间",
  2385. "type": "string"
  2386. },
  2387. "business_license": {
  2388. "description": "营业执照",
  2389. "type": "string"
  2390. },
  2391. "company_addr": {
  2392. "description": "公司地址",
  2393. "type": "string"
  2394. },
  2395. "company_name": {
  2396. "description": "公司名称",
  2397. "type": "string"
  2398. },
  2399. "company_phone": {
  2400. "description": "公司电话",
  2401. "type": "string"
  2402. },
  2403. "created_at": {
  2404. "description": "申请时间",
  2405. "type": "string"
  2406. },
  2407. "desc": {
  2408. "description": "简介",
  2409. "type": "string"
  2410. },
  2411. "expire": {
  2412. "description": "小区有效天数",
  2413. "type": "integer"
  2414. },
  2415. "free_garden_count": {
  2416. "description": "免费小区个数",
  2417. "type": "integer"
  2418. },
  2419. "garden_count": {
  2420. "description": "已有小区个数",
  2421. "type": "integer"
  2422. },
  2423. "legal_person": {
  2424. "description": "法人",
  2425. "type": "string"
  2426. },
  2427. "license_type": {
  2428. "description": "营业执照类型",
  2429. "type": "integer"
  2430. },
  2431. "logo": {
  2432. "description": "公司logo",
  2433. "type": "string"
  2434. },
  2435. "password": {
  2436. "description": "密码",
  2437. "type": "string"
  2438. },
  2439. "site": {
  2440. "description": "网址",
  2441. "type": "string"
  2442. },
  2443. "social_code": {
  2444. "description": "社会信用码",
  2445. "type": "string"
  2446. },
  2447. "username": {
  2448. "description": "账户名",
  2449. "type": "string"
  2450. }
  2451. }
  2452. },
  2453. "v1.CompanyInfoResponse": {
  2454. "type": "object",
  2455. "properties": {
  2456. "code": {
  2457. "description": "返回码",
  2458. "type": "integer",
  2459. "format": "int",
  2460. "default": 0
  2461. },
  2462. "data": {
  2463. "type": "object",
  2464. "$ref": "#/definitions/v1.CompanyInfoReply"
  2465. },
  2466. "message": {
  2467. "description": "消息",
  2468. "type": "string",
  2469. "default": "success"
  2470. }
  2471. }
  2472. },
  2473. "v1.CompanyMchGardenItem": {
  2474. "type": "object",
  2475. "properties": {
  2476. "garden_id": {
  2477. "type": "integer"
  2478. },
  2479. "garden_name": {
  2480. "type": "string"
  2481. },
  2482. "mch_id": {
  2483. "type": "string"
  2484. },
  2485. "pay_mode": {
  2486. "type": "integer"
  2487. }
  2488. }
  2489. },
  2490. "v1.CompanyMchGardenListReply": {
  2491. "type": "object",
  2492. "properties": {
  2493. "list": {
  2494. "type": "array",
  2495. "items": {
  2496. "$ref": "#/definitions/v1.CompanyMchGardenItem"
  2497. }
  2498. }
  2499. }
  2500. },
  2501. "v1.CompanyMchGardenListResponse": {
  2502. "type": "object",
  2503. "properties": {
  2504. "code": {
  2505. "description": "返回码",
  2506. "type": "integer",
  2507. "format": "int",
  2508. "default": 0
  2509. },
  2510. "data": {
  2511. "type": "object",
  2512. "$ref": "#/definitions/v1.CompanyMchGardenListReply"
  2513. },
  2514. "message": {
  2515. "description": "消息",
  2516. "type": "string",
  2517. "default": "success"
  2518. }
  2519. }
  2520. },
  2521. "v1.CompanyPackageApplicationItem": {
  2522. "type": "object",
  2523. "properties": {
  2524. "content": {
  2525. "type": "string"
  2526. },
  2527. "desc": {
  2528. "type": "string"
  2529. },
  2530. "enable": {
  2531. "type": "boolean"
  2532. },
  2533. "icon": {
  2534. "type": "string"
  2535. },
  2536. "id": {
  2537. "type": "integer"
  2538. },
  2539. "name": {
  2540. "type": "string"
  2541. },
  2542. "price": {
  2543. "type": "integer"
  2544. }
  2545. }
  2546. },
  2547. "v1.CompanyPackageItem": {
  2548. "type": "object",
  2549. "properties": {
  2550. "amount": {
  2551. "description": "总价",
  2552. "type": "integer"
  2553. },
  2554. "application_list": {
  2555. "type": "array",
  2556. "items": {
  2557. "$ref": "#/definitions/v1.CompanyPackageApplicationItem"
  2558. }
  2559. },
  2560. "cid": {
  2561. "type": "integer"
  2562. },
  2563. "company_name": {
  2564. "type": "string"
  2565. },
  2566. "created_at": {
  2567. "type": "integer"
  2568. },
  2569. "desc": {
  2570. "type": "string"
  2571. },
  2572. "enable": {
  2573. "type": "boolean"
  2574. },
  2575. "expire_at": {
  2576. "type": "integer"
  2577. },
  2578. "feedback": {
  2579. "type": "string"
  2580. },
  2581. "garden_id": {
  2582. "type": "integer"
  2583. },
  2584. "garden_name": {
  2585. "type": "string"
  2586. },
  2587. "name": {
  2588. "type": "string"
  2589. },
  2590. "order_id": {
  2591. "type": "integer"
  2592. },
  2593. "package_id": {
  2594. "type": "integer"
  2595. },
  2596. "pay_type": {
  2597. "description": "1 对公转帐",
  2598. "type": "integer"
  2599. },
  2600. "period": {
  2601. "description": "周期",
  2602. "type": "integer"
  2603. },
  2604. "price": {
  2605. "description": "套餐价格",
  2606. "type": "integer"
  2607. },
  2608. "status": {
  2609. "description": "1 待审批 2 通过 3 未通过",
  2610. "type": "integer"
  2611. }
  2612. }
  2613. },
  2614. "v1.CompanyPackageListReply": {
  2615. "type": "object",
  2616. "properties": {
  2617. "list": {
  2618. "type": "array",
  2619. "items": {
  2620. "$ref": "#/definitions/v1.CompanyPackageItem"
  2621. }
  2622. },
  2623. "page": {
  2624. "type": "integer"
  2625. },
  2626. "total": {
  2627. "type": "integer"
  2628. }
  2629. }
  2630. },
  2631. "v1.CompanyPackageListResponse": {
  2632. "type": "object",
  2633. "properties": {
  2634. "code": {
  2635. "description": "返回码",
  2636. "type": "integer",
  2637. "format": "int",
  2638. "default": 0
  2639. },
  2640. "data": {
  2641. "type": "object",
  2642. "$ref": "#/definitions/v1.CompanyPackageListReply"
  2643. },
  2644. "message": {
  2645. "description": "消息",
  2646. "type": "string",
  2647. "default": "success"
  2648. }
  2649. }
  2650. },
  2651. "v1.CompanyRegisterBody": {
  2652. "type": "object",
  2653. "properties": {
  2654. "applicant": {
  2655. "description": "申请人",
  2656. "type": "string"
  2657. },
  2658. "applicant_duty": {
  2659. "description": "申请人职位",
  2660. "type": "string"
  2661. },
  2662. "applicant_identification": {
  2663. "description": "申请人身份",
  2664. "type": "string"
  2665. },
  2666. "applicant_phone": {
  2667. "description": "申请人电话",
  2668. "type": "string"
  2669. },
  2670. "business_license": {
  2671. "description": "营业执照",
  2672. "type": "string"
  2673. },
  2674. "company_addr": {
  2675. "description": "公司地址",
  2676. "type": "string"
  2677. },
  2678. "company_name": {
  2679. "description": "公司名称",
  2680. "type": "string"
  2681. },
  2682. "company_phone": {
  2683. "description": "公司电话",
  2684. "type": "string"
  2685. },
  2686. "desc": {
  2687. "description": "简介",
  2688. "type": "string"
  2689. },
  2690. "free_garden_count": {
  2691. "description": "免费小区个数",
  2692. "type": "integer"
  2693. },
  2694. "legal_person": {
  2695. "description": "法人",
  2696. "type": "string"
  2697. },
  2698. "license_type": {
  2699. "description": "营业执照类型",
  2700. "type": "integer"
  2701. },
  2702. "logo": {
  2703. "description": "公司logo",
  2704. "type": "string"
  2705. },
  2706. "password": {
  2707. "description": "密码",
  2708. "type": "string"
  2709. },
  2710. "site": {
  2711. "description": "网址",
  2712. "type": "string"
  2713. },
  2714. "social_code": {
  2715. "description": "社会信用码",
  2716. "type": "string"
  2717. },
  2718. "username": {
  2719. "description": "账户名",
  2720. "type": "string"
  2721. }
  2722. }
  2723. },
  2724. "v1.CompanyRegisterResponse": {
  2725. "type": "object",
  2726. "properties": {
  2727. "code": {
  2728. "description": "返回码",
  2729. "type": "integer",
  2730. "format": "int",
  2731. "default": 0
  2732. },
  2733. "data": {
  2734. "type": "object",
  2735. "$ref": "#/definitions/v1.RegisterReply"
  2736. },
  2737. "message": {
  2738. "description": "消息",
  2739. "type": "string",
  2740. "default": "success"
  2741. }
  2742. }
  2743. },
  2744. "v1.CompanyStatisticReply": {
  2745. "type": "object",
  2746. "properties": {
  2747. "deal_list": {
  2748. "type": "array",
  2749. "items": {
  2750. "$ref": "#/definitions/v1.DealItem"
  2751. }
  2752. },
  2753. "garden_count": {
  2754. "description": "小区数",
  2755. "type": "integer"
  2756. },
  2757. "house_count": {
  2758. "description": "房屋数",
  2759. "type": "integer"
  2760. },
  2761. "space_count": {
  2762. "description": "车位数",
  2763. "type": "integer"
  2764. },
  2765. "user_count": {
  2766. "description": "住户数",
  2767. "type": "integer"
  2768. }
  2769. }
  2770. },
  2771. "v1.CompanyStatisticResponse": {
  2772. "type": "object",
  2773. "properties": {
  2774. "code": {
  2775. "description": "返回码",
  2776. "type": "integer",
  2777. "format": "int",
  2778. "default": 0
  2779. },
  2780. "data": {
  2781. "type": "object",
  2782. "$ref": "#/definitions/v1.CompanyStatisticReply"
  2783. },
  2784. "message": {
  2785. "description": "消息",
  2786. "type": "string",
  2787. "default": "success"
  2788. }
  2789. }
  2790. },
  2791. "v1.CompanyUpdateBody": {
  2792. "type": "object",
  2793. "properties": {
  2794. "business_license": {
  2795. "description": "营业执照",
  2796. "type": "string"
  2797. },
  2798. "company_addr": {
  2799. "description": "公司地址",
  2800. "type": "string"
  2801. },
  2802. "company_name": {
  2803. "description": "公司名称",
  2804. "type": "string"
  2805. },
  2806. "company_phone": {
  2807. "description": "公司电话",
  2808. "type": "string"
  2809. },
  2810. "desc": {
  2811. "description": "简介",
  2812. "type": "string"
  2813. },
  2814. "license_type": {
  2815. "description": "营业执照类型",
  2816. "type": "integer"
  2817. },
  2818. "logo": {
  2819. "description": "公司logo",
  2820. "type": "string"
  2821. },
  2822. "site": {
  2823. "description": "网址",
  2824. "type": "string"
  2825. },
  2826. "social_code": {
  2827. "description": "社会信用码",
  2828. "type": "string"
  2829. }
  2830. }
  2831. },
  2832. "v1.CompanyUpdateResponse": {
  2833. "type": "object",
  2834. "properties": {
  2835. "code": {
  2836. "description": "返回码",
  2837. "type": "integer",
  2838. "format": "int",
  2839. "default": 0
  2840. },
  2841. "message": {
  2842. "description": "消息",
  2843. "type": "string",
  2844. "default": "success"
  2845. }
  2846. }
  2847. },
  2848. "v1.CompanyUserAddBody": {
  2849. "type": "object",
  2850. "properties": {
  2851. "email": {
  2852. "type": "string"
  2853. },
  2854. "password": {
  2855. "type": "string"
  2856. },
  2857. "phone": {
  2858. "type": "string"
  2859. },
  2860. "real_name": {
  2861. "type": "string"
  2862. },
  2863. "user_name": {
  2864. "type": "string"
  2865. }
  2866. }
  2867. },
  2868. "v1.CompanyUserAddReply": {
  2869. "type": "object",
  2870. "properties": {
  2871. "id": {
  2872. "type": "integer"
  2873. }
  2874. }
  2875. },
  2876. "v1.CompanyUserAddResponse": {
  2877. "type": "object",
  2878. "properties": {
  2879. "code": {
  2880. "description": "返回码",
  2881. "type": "integer",
  2882. "format": "int",
  2883. "default": 0
  2884. },
  2885. "data": {
  2886. "type": "object",
  2887. "$ref": "#/definitions/v1.CompanyUserAddReply"
  2888. },
  2889. "message": {
  2890. "description": "消息",
  2891. "type": "string",
  2892. "default": "success"
  2893. }
  2894. }
  2895. },
  2896. "v1.CompanyUserDelResponse": {
  2897. "type": "object",
  2898. "properties": {
  2899. "code": {
  2900. "description": "返回码",
  2901. "type": "integer",
  2902. "format": "int",
  2903. "default": 0
  2904. },
  2905. "message": {
  2906. "description": "消息",
  2907. "type": "string",
  2908. "default": "success"
  2909. }
  2910. }
  2911. },
  2912. "v1.CompanyUserItem": {
  2913. "type": "object",
  2914. "properties": {
  2915. "created_at": {
  2916. "type": "integer"
  2917. },
  2918. "email": {
  2919. "type": "string"
  2920. },
  2921. "id": {
  2922. "type": "integer"
  2923. },
  2924. "password": {
  2925. "type": "string"
  2926. },
  2927. "phone": {
  2928. "type": "string"
  2929. },
  2930. "real_name": {
  2931. "type": "string"
  2932. },
  2933. "super": {
  2934. "type": "boolean"
  2935. },
  2936. "user_name": {
  2937. "type": "string"
  2938. }
  2939. }
  2940. },
  2941. "v1.CompanyUserListReply": {
  2942. "type": "object",
  2943. "properties": {
  2944. "list": {
  2945. "type": "array",
  2946. "items": {
  2947. "$ref": "#/definitions/v1.CompanyUserItem"
  2948. }
  2949. },
  2950. "page": {
  2951. "type": "integer"
  2952. },
  2953. "total": {
  2954. "type": "integer"
  2955. }
  2956. }
  2957. },
  2958. "v1.CompanyUserListResponse": {
  2959. "type": "object",
  2960. "properties": {
  2961. "code": {
  2962. "description": "返回码",
  2963. "type": "integer",
  2964. "format": "int",
  2965. "default": 0
  2966. },
  2967. "data": {
  2968. "type": "object",
  2969. "$ref": "#/definitions/v1.CompanyUserListReply"
  2970. },
  2971. "message": {
  2972. "description": "消息",
  2973. "type": "string",
  2974. "default": "success"
  2975. }
  2976. }
  2977. },
  2978. "v1.CompanyUserUpdateBody": {
  2979. "type": "object",
  2980. "properties": {
  2981. "email": {
  2982. "type": "string"
  2983. },
  2984. "id": {
  2985. "type": "integer"
  2986. },
  2987. "password": {
  2988. "type": "string"
  2989. },
  2990. "phone": {
  2991. "type": "string"
  2992. },
  2993. "real_name": {
  2994. "type": "string"
  2995. },
  2996. "user_name": {
  2997. "type": "string"
  2998. }
  2999. }
  3000. },
  3001. "v1.CompanyUserUpdateResponse": {
  3002. "type": "object",
  3003. "properties": {
  3004. "code": {
  3005. "description": "返回码",
  3006. "type": "integer",
  3007. "format": "int",
  3008. "default": 0
  3009. },
  3010. "message": {
  3011. "description": "消息",
  3012. "type": "string",
  3013. "default": "success"
  3014. }
  3015. }
  3016. },
  3017. "v1.CompanyWxAccountApplyBody": {
  3018. "type": "object",
  3019. "properties": {
  3020. "bank_account_info": {
  3021. "description": "银行账号资料 必填",
  3022. "type": "object",
  3023. "$ref": "#/definitions/v1.CompanyWxBankAccountInfo"
  3024. },
  3025. "business_info": {
  3026. "description": "经营资料 必填",
  3027. "type": "object",
  3028. "$ref": "#/definitions/v1.CompanyWxBusinessInfo"
  3029. },
  3030. "contact_info": {
  3031. "description": "超管员资料 必填",
  3032. "type": "object",
  3033. "$ref": "#/definitions/v1.CompanyWxContactInfo"
  3034. },
  3035. "subject_info": {
  3036. "description": "主体资料 必填",
  3037. "type": "object",
  3038. "$ref": "#/definitions/v1.CompanyWxSubjectInfo"
  3039. }
  3040. }
  3041. },
  3042. "v1.CompanyWxAccountApplyInfoReply": {
  3043. "type": "object",
  3044. "properties": {
  3045. "bank_account_info": {
  3046. "description": "银行账号资料",
  3047. "type": "object",
  3048. "$ref": "#/definitions/v1.CompanyWxBankAccountInfo"
  3049. },
  3050. "business_info": {
  3051. "description": "经营资料",
  3052. "type": "object",
  3053. "$ref": "#/definitions/v1.CompanyWxBusinessInfo"
  3054. },
  3055. "contact_info": {
  3056. "description": "超管员资料",
  3057. "type": "object",
  3058. "$ref": "#/definitions/v1.CompanyWxContactInfo"
  3059. },
  3060. "id": {
  3061. "type": "integer"
  3062. },
  3063. "subject_info": {
  3064. "description": "主体资料",
  3065. "type": "object",
  3066. "$ref": "#/definitions/v1.CompanyWxSubjectInfo"
  3067. }
  3068. }
  3069. },
  3070. "v1.CompanyWxAccountApplyInfoResponse": {
  3071. "type": "object",
  3072. "properties": {
  3073. "code": {
  3074. "description": "返回码",
  3075. "type": "integer",
  3076. "format": "int",
  3077. "default": 0
  3078. },
  3079. "data": {
  3080. "type": "object",
  3081. "$ref": "#/definitions/v1.CompanyWxAccountApplyInfoReply"
  3082. },
  3083. "message": {
  3084. "description": "消息",
  3085. "type": "string",
  3086. "default": "success"
  3087. }
  3088. }
  3089. },
  3090. "v1.CompanyWxAccountApplyListItem": {
  3091. "type": "object",
  3092. "properties": {
  3093. "business_code": {
  3094. "description": "单号",
  3095. "type": "string"
  3096. },
  3097. "id": {
  3098. "type": "integer"
  3099. },
  3100. "mch_id": {
  3101. "description": "商户号(申请审批成功才会有)",
  3102. "type": "string"
  3103. },
  3104. "merchant_name": {
  3105. "description": "申请的商户名称",
  3106. "type": "string"
  3107. },
  3108. "reason": {
  3109. "description": "驳回原因",
  3110. "type": "string"
  3111. },
  3112. "sign_url": {
  3113. "description": "二维码",
  3114. "type": "string"
  3115. },
  3116. "state": {
  3117. "description": "1、APPLYMENT_STATE_EDITTING(编辑中):提交申请发生错误导致,请尝试重新提交。\n2、APPLYMENT_STATE_AUDITING(审核中):申请单正在审核中,超级管理员用微信打开“签约链接”,完成绑定微信号后,申请单进度将通过微信公众号通知超级管理员,引导完成后续步骤。\n3、APPLYMENT_STATE_REJECTED(已驳回):请按照驳回原因修改申请资料,超级管理员用微信打开“签约链接”,完成绑定微信号,后续申请单进度将通过微信公众号通知超级管理员。\n4、APPLYMENT_STATE_TO_BE_CONFIRMED(待账户验证):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成账户验证。\n5、APPLYMENT_STATE_TO_BE_SIGNED(待签约):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成签约。\n6、APPLYMENT_STATE_SIGNING(开通权限中):系统开通相关权限中,请耐心等待。\n7、APPLYMENT_STATE_FINISHED(已完成):商户入驻申请已完成。\n8、APPLYMENT_STATE_CANCELED(已作废):申请单已被撤销。",
  3118. "type": "string"
  3119. },
  3120. "state_msg": {
  3121. "description": "状态描述",
  3122. "type": "string"
  3123. }
  3124. }
  3125. },
  3126. "v1.CompanyWxAccountApplyListReply": {
  3127. "type": "object",
  3128. "properties": {
  3129. "list": {
  3130. "type": "array",
  3131. "items": {
  3132. "$ref": "#/definitions/v1.CompanyWxAccountApplyListItem"
  3133. }
  3134. },
  3135. "page": {
  3136. "type": "integer"
  3137. },
  3138. "total": {
  3139. "type": "integer"
  3140. }
  3141. }
  3142. },
  3143. "v1.CompanyWxAccountApplyResponse": {
  3144. "type": "object",
  3145. "properties": {
  3146. "code": {
  3147. "description": "返回码",
  3148. "type": "integer",
  3149. "format": "int",
  3150. "default": 0
  3151. },
  3152. "message": {
  3153. "description": "消息",
  3154. "type": "string",
  3155. "default": "success"
  3156. }
  3157. }
  3158. },
  3159. "v1.CompanyWxAccountListResponse": {
  3160. "type": "object",
  3161. "properties": {
  3162. "code": {
  3163. "description": "返回码",
  3164. "type": "integer",
  3165. "format": "int",
  3166. "default": 0
  3167. },
  3168. "data": {
  3169. "type": "object",
  3170. "$ref": "#/definitions/v1.CompanyWxAccountApplyListReply"
  3171. },
  3172. "message": {
  3173. "description": "消息",
  3174. "type": "string",
  3175. "default": "success"
  3176. }
  3177. }
  3178. },
  3179. "v1.CompanyWxBankAccountInfo": {
  3180. "type": "object",
  3181. "properties": {
  3182. "account_bank": {
  3183. "description": "开户行",
  3184. "type": "string"
  3185. },
  3186. "account_name": {
  3187. "description": "开户姓名, 开户名称必须与营业执照/登记证书的“商户名称”一致",
  3188. "type": "string"
  3189. },
  3190. "account_number": {
  3191. "description": "银行账号",
  3192. "type": "string"
  3193. },
  3194. "bank_account_type": {
  3195. "type": "string"
  3196. },
  3197. "bank_address_code": {
  3198. "description": "开户银行省市编码",
  3199. "type": "string"
  3200. },
  3201. "bank_branch_id": {
  3202. "description": "开户银行联行号\n1、17家直连银行无需填写,如为其他银行,则开户银行全称(含支行)和开户银行联行号二选一。\n2、详细参见开户银行全称(含支行)对照表。\n示例值:402713354941",
  3203. "type": "string"
  3204. },
  3205. "bank_name": {
  3206. "description": "开户银行全称(含支行)\n1、17家直连银行无需填写,如为其他银行,则开户银行全称(含支行)和 开户银行联行号二选一。\n2、需填写银行全称,如\"深圳农村商业银行XXX支行\",详细参见开户银行全称(含支行)对照表。\n示例值:施秉县农村信用合作联社城关信用社",
  3207. "type": "string"
  3208. }
  3209. }
  3210. },
  3211. "v1.CompanyWxBusinessInfo": {
  3212. "type": "object",
  3213. "properties": {
  3214. "merchant_shortname": {
  3215. "description": "1、请输入2-30个字符,支持中文/字母/数字/特殊符号\n2、在支付完成页向买家展示,需与微信经营类目相关;\n3、简称要求\n (1)不支持单纯以人名来命名,若为个体户经营,可用“个体户+经营者名称”或“经营者名称+业务”命名,如“个体户张三”或“张三餐饮店”;\n(2)不支持无实际意义的文案,如“XX特约商户”、“800”、“XX客服电话XXX”",
  3216. "type": "string"
  3217. },
  3218. "service_phone": {
  3219. "description": "客服电话",
  3220. "type": "string"
  3221. }
  3222. }
  3223. },
  3224. "v1.CompanyWxBusinessLicenseInfo": {
  3225. "type": "object",
  3226. "properties": {
  3227. "legal_person": {
  3228. "description": "法人姓名",
  3229. "type": "string"
  3230. },
  3231. "license_address": {
  3232. "type": "string"
  3233. },
  3234. "license_copy": {
  3235. "description": "营业执照图片",
  3236. "type": "string"
  3237. },
  3238. "license_copy_url": {
  3239. "description": "营业执照图片",
  3240. "type": "string"
  3241. },
  3242. "license_number": {
  3243. "description": "统一社会信用码",
  3244. "type": "string"
  3245. },
  3246. "merchant_name": {
  3247. "description": "营业执照上的商户名称",
  3248. "type": "string"
  3249. },
  3250. "period_begin": {
  3251. "type": "string"
  3252. },
  3253. "period_end": {
  3254. "type": "string"
  3255. }
  3256. }
  3257. },
  3258. "v1.CompanyWxCertificateInfo": {
  3259. "type": "object",
  3260. "properties": {
  3261. "cert_copy": {
  3262. "description": "证书图片id",
  3263. "type": "string"
  3264. },
  3265. "cert_number": {
  3266. "description": "证书号",
  3267. "type": "string"
  3268. },
  3269. "cert_type": {
  3270. "description": "当主体为事业单位时,选择此枚举值:\nCERTIFICATE_TYPE_2388:事业单位法人证书\n\n当主体为政府机关,选择此枚举值:\nCERTIFICATE_TYPE_2389:统一社会信用代码证书\n\n当主体为社会组织,选择以下枚举值之一:\nCERTIFICATE_TYPE_2389:统一社会信用代码证书\nCERTIFICATE_TYPE_2394:社会团体法人登记证书\nCERTIFICATE_TYPE_2395:民办非企业单位登记证书\nCERTIFICATE_TYPE_2396:基金会法人登记证书\nCERTIFICATE_TYPE_2397:慈善组织公开募捐资格证书(已废弃)\nCERTIFICATE_TYPE_2398:农民专业合作社法人营业执照(已废弃)\nCERTIFICATE_TYPE_2520:执业许可证/执业证\nCERTIFICATE_TYPE_2521:基层群众性自治组织特别法人统一社会信用代码证\nCERTIFICATE_TYPE_2522:农村集体经济组织登记证\nCERTIFICATE_TYPE_2399:宗教活动场所登记证\nCERTIFICATE_TYPE_2400:政府部门下发的其他有效证明文件",
  3271. "type": "string"
  3272. },
  3273. "company_address": {
  3274. "description": "证书上的注册地址",
  3275. "type": "string"
  3276. },
  3277. "legal_person": {
  3278. "description": "证书上的法人",
  3279. "type": "string"
  3280. },
  3281. "merchant_name": {
  3282. "description": "商户名称",
  3283. "type": "string"
  3284. },
  3285. "period_begin": {
  3286. "description": "证书开始时间 2006-01-02",
  3287. "type": "string"
  3288. },
  3289. "period_end": {
  3290. "description": "证书结束时间2006-01-02,若为长期则填长期",
  3291. "type": "string"
  3292. }
  3293. }
  3294. },
  3295. "v1.CompanyWxContactInfo": {
  3296. "type": "object",
  3297. "properties": {
  3298. "business_authorization_letter": {
  3299. "description": "授权函(当为经办人时才填)",
  3300. "type": "string"
  3301. },
  3302. "business_authorization_letter_url": {
  3303. "description": "授权函(当为经办人时才填)",
  3304. "type": "string"
  3305. },
  3306. "contact_email": {
  3307. "description": "联系人邮箱(当为经办人时才填)",
  3308. "type": "string"
  3309. },
  3310. "contact_id_doc_copy": {
  3311. "description": "证件正面图片id(当为经办人时才填)",
  3312. "type": "string"
  3313. },
  3314. "contact_id_doc_copy_back": {
  3315. "description": "证件背面图片id(当为经办人时才填)",
  3316. "type": "string"
  3317. },
  3318. "contact_id_doc_copy_back_url": {
  3319. "description": "证件背面图片id(当为经办人时才填)",
  3320. "type": "string"
  3321. },
  3322. "contact_id_doc_copy_url": {
  3323. "description": "证件正面图片id(当为经办人时才填)",
  3324. "type": "string"
  3325. },
  3326. "contact_id_doc_type": {
  3327. "description": "联系人证件类型(当为经办人时才填)",
  3328. "type": "string"
  3329. },
  3330. "contact_id_number": {
  3331. "description": "证件号(当为经办人时才填)",
  3332. "type": "string"
  3333. },
  3334. "contact_name": {
  3335. "description": "联系人姓名",
  3336. "type": "string"
  3337. },
  3338. "contact_period_begin": {
  3339. "description": "证件开始时间(当为经办人时才填)",
  3340. "type": "string"
  3341. },
  3342. "contact_period_end": {
  3343. "description": "证件结束时间(当为经办人时才填)",
  3344. "type": "string"
  3345. },
  3346. "contact_type": {
  3347. "description": "LEGAL:经营者/法人,SUPER:经办人 。",
  3348. "type": "string"
  3349. },
  3350. "mobile_phone": {
  3351. "description": "联系人电话(当为经办人时才填)",
  3352. "type": "string"
  3353. },
  3354. "openid": {
  3355. "type": "string"
  3356. }
  3357. }
  3358. },
  3359. "v1.CompanyWxIdDocInfo": {
  3360. "type": "object",
  3361. "properties": {
  3362. "doc_period_begin": {
  3363. "description": "开始时间",
  3364. "type": "string"
  3365. },
  3366. "doc_period_end": {
  3367. "description": "结束时间",
  3368. "type": "string"
  3369. },
  3370. "id_doc_address": {
  3371. "type": "string"
  3372. },
  3373. "id_doc_copy": {
  3374. "description": "证件图片",
  3375. "type": "string"
  3376. },
  3377. "id_doc_copy_back": {
  3378. "type": "string"
  3379. },
  3380. "id_doc_copy_back_url": {
  3381. "type": "string"
  3382. },
  3383. "id_doc_copy_url": {
  3384. "description": "证件图片url",
  3385. "type": "string"
  3386. },
  3387. "id_doc_name": {
  3388. "description": "证件姓名",
  3389. "type": "string"
  3390. },
  3391. "id_doc_number": {
  3392. "description": "证件号",
  3393. "type": "string"
  3394. },
  3395. "id_doc_type": {
  3396. "description": "IDENTIFICATION_TYPE_IDCARD:中国大陆居民-身份证\nIDENTIFICATION_TYPE_OVERSEA_PASSPORT:其他国家或地区居民-护照\nIDENTIFICATION_TYPE_HONGKONG_PASSPORT:中国香港居民-来往内地通行证\nIDENTIFICATION_TYPE_MACAO_PASSPORT:中国澳门居民-来往内地通行证\nIDENTIFICATION_TYPE_TAIWAN_PASSPORT:中国台湾居民-来往大陆通行证",
  3397. "type": "string"
  3398. }
  3399. }
  3400. },
  3401. "v1.CompanyWxIdentityInfo": {
  3402. "type": "object",
  3403. "properties": {
  3404. "authorize_letter_copy": {
  3405. "description": "法定代表人说明函图片id\n1、当证件持有人类型为经办人时,必须上传。其他情况,无需上传。\n2、若因特殊情况,无法提供法定代表人证件时,请参照示例图打印法定代表人说明函,全部信息需打印,不支持手写商户信息,并加盖公章。\n3、可上传1张图片,请填写通过图片上传APIAPI预先上传图片生成好的MediaID。",
  3406. "type": "string"
  3407. },
  3408. "authorize_letter_copy_url": {
  3409. "type": "string"
  3410. },
  3411. "id_doc_info": {
  3412. "description": "证件信息",
  3413. "type": "object",
  3414. "$ref": "#/definitions/v1.CompanyWxIdDocInfo"
  3415. },
  3416. "id_holder_type": {
  3417. "description": "1. 主体类型为政府机关、事业单位时选传:\n(1)若上传的是法人证件,则不需要上传该字段\n(2)若因特殊情况,无法提供法人证件时,可上传经办人。 (经办人:经商户授权办理微信支付业务的人员,授权范围包括但不限于签约,入驻过程需完成账户验证)。",
  3418. "type": "string"
  3419. },
  3420. "owner": {
  3421. "description": "法人是否为最终受益人",
  3422. "type": "boolean"
  3423. }
  3424. }
  3425. },
  3426. "v1.CompanyWxSubjectInfo": {
  3427. "type": "object",
  3428. "properties": {
  3429. "business_license_info": {
  3430. "description": "营业执照信息",
  3431. "type": "object",
  3432. "$ref": "#/definitions/v1.CompanyWxBusinessLicenseInfo"
  3433. },
  3434. "cert_info": {
  3435. "description": "主体为政府机关/事业单位/其他组织时,必填。",
  3436. "type": "object",
  3437. "$ref": "#/definitions/v1.CompanyWxCertificateInfo"
  3438. },
  3439. "identity_info": {
  3440. "description": "法人身份信息",
  3441. "type": "object",
  3442. "$ref": "#/definitions/v1.CompanyWxIdentityInfo"
  3443. },
  3444. "subject_type": {
  3445. "description": "主体类型需与营业执照/登记证书上一致,可参考选择主体指引\nSUBJECT_TYPE_INDIVIDUAL(个体户):营业执照上的主体类型一般为个体户、个体工商户、个体经营;\nSUBJECT_TYPE_ENTERPRISE(企业):营业执照上的主体类型一般为有限公司、有限责任公司;\nSUBJECT_TYPE_INSTITUTIONS(党政、机关及事业单位):包括国内各级、各类政府机构、事业单位等(如:公安、党团、司法、交通、旅游、工商税务、市政、医疗、教育、学校等机构);\nSUBJECT_TYPE_OTHERS(其他组织):不属于企业、政府/事业单位的组织机构(如社会团体、民办非企业、基金会),要求机构已办理组织机构代码证。",
  3446. "type": "string"
  3447. },
  3448. "ubo_infos": {
  3449. "description": "受益人身份信息,若法人不是最终受益人,该字段必填\n若经营者/法人不是最终受益所有人,则需提填写受益所有人信息。\n根据国家相关法律法规,需要提供公司受益所有人信息,受益所有人需符合至少以下条件之一:\n1、直接或者间接拥有超过25%公司股权或者表决权的自然人。\n2、通过人事、财务等其他方式对公司进行控制的自然人。\n3、公司的高级管理人员,包括公司的经理、副经理、财务负责人、上市公司董事会秘书和公司章程规定的其他人员。",
  3450. "type": "array",
  3451. "items": {
  3452. "$ref": "#/definitions/v1.CompanyWxIdDocInfo"
  3453. }
  3454. }
  3455. }
  3456. },
  3457. "v1.DealItem": {
  3458. "type": "object",
  3459. "properties": {
  3460. "date_timestamp": {
  3461. "type": "integer"
  3462. },
  3463. "deal_amount": {
  3464. "description": "成交额",
  3465. "type": "integer"
  3466. },
  3467. "deal_count": {
  3468. "description": "成交量",
  3469. "type": "integer"
  3470. }
  3471. }
  3472. },
  3473. "v1.GardenItem": {
  3474. "type": "object",
  3475. "properties": {
  3476. "appendix": {
  3477. "type": "array",
  3478. "items": {
  3479. "type": "string"
  3480. }
  3481. },
  3482. "area": {
  3483. "description": "区",
  3484. "type": "string"
  3485. },
  3486. "area_code": {
  3487. "type": "string"
  3488. },
  3489. "area_percent": {
  3490. "description": "容积率",
  3491. "type": "number"
  3492. },
  3493. "avg_price": {
  3494. "type": "integer"
  3495. },
  3496. "building_area": {
  3497. "description": "建筑面积",
  3498. "type": "number"
  3499. },
  3500. "building_company": {
  3501. "description": "开发企业",
  3502. "type": "string"
  3503. },
  3504. "building_end": {
  3505. "description": "建成年份结束时间戳",
  3506. "type": "integer"
  3507. },
  3508. "building_start": {
  3509. "description": "建成年份开始时间戳",
  3510. "type": "integer"
  3511. },
  3512. "building_type": {
  3513. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  3514. "type": "integer"
  3515. },
  3516. "cid": {
  3517. "description": "物业公司id",
  3518. "type": "integer"
  3519. },
  3520. "city": {
  3521. "description": "市",
  3522. "type": "string"
  3523. },
  3524. "city_code": {
  3525. "type": "string"
  3526. },
  3527. "committee": {
  3528. "description": "社区",
  3529. "type": "string"
  3530. },
  3531. "committee_code": {
  3532. "type": "string"
  3533. },
  3534. "covered_area": {
  3535. "description": "占地面积",
  3536. "type": "number"
  3537. },
  3538. "electric_type": {
  3539. "description": "电费类型多选 1 民用 2 商用",
  3540. "type": "array",
  3541. "items": {
  3542. "type": "integer"
  3543. }
  3544. },
  3545. "feedback": {
  3546. "type": "string"
  3547. },
  3548. "garden_addr": {
  3549. "description": "小区地址",
  3550. "type": "string"
  3551. },
  3552. "garden_desc": {
  3553. "type": "string"
  3554. },
  3555. "garden_name": {
  3556. "description": "小区名字",
  3557. "type": "string"
  3558. },
  3559. "garden_pic": {
  3560. "type": "string"
  3561. },
  3562. "garden_pics": {
  3563. "description": "小区图片",
  3564. "type": "array",
  3565. "items": {
  3566. "type": "string"
  3567. }
  3568. },
  3569. "gas_fee_end": {
  3570. "description": "燃气费开始,单位分",
  3571. "type": "integer"
  3572. },
  3573. "gas_fee_start": {
  3574. "description": "燃气费开始,单位分",
  3575. "type": "integer"
  3576. },
  3577. "green_percent": {
  3578. "description": "绿化率",
  3579. "type": "number"
  3580. },
  3581. "house_total": {
  3582. "description": "总户数",
  3583. "type": "integer"
  3584. },
  3585. "id": {
  3586. "type": "integer"
  3587. },
  3588. "in_use": {
  3589. "type": "boolean"
  3590. },
  3591. "lat": {
  3592. "description": "纬度",
  3593. "type": "number"
  3594. },
  3595. "lnt": {
  3596. "description": "经度",
  3597. "type": "number"
  3598. },
  3599. "property_fee_end": {
  3600. "description": "物业费结束, 单位分",
  3601. "type": "integer"
  3602. },
  3603. "property_fee_start": {
  3604. "description": "物业费开始,单位分",
  3605. "type": "integer"
  3606. },
  3607. "property_person": {
  3608. "description": "物业联系人",
  3609. "type": "string"
  3610. },
  3611. "property_phone": {
  3612. "description": "物业联系人手机号",
  3613. "type": "string"
  3614. },
  3615. "province": {
  3616. "description": "省",
  3617. "type": "string"
  3618. },
  3619. "province_code": {
  3620. "type": "string"
  3621. },
  3622. "space_info": {
  3623. "description": "车位配比",
  3624. "type": "string"
  3625. },
  3626. "space_total": {
  3627. "description": "固定车位数",
  3628. "type": "integer"
  3629. },
  3630. "status": {
  3631. "type": "integer"
  3632. },
  3633. "street": {
  3634. "description": "街道",
  3635. "type": "string"
  3636. },
  3637. "street_code": {
  3638. "type": "string"
  3639. },
  3640. "water_type": {
  3641. "description": "水费类型多选 1 民用 2 商用",
  3642. "type": "array",
  3643. "items": {
  3644. "type": "integer"
  3645. }
  3646. }
  3647. }
  3648. },
  3649. "v1.GardenKeyInfoChangeBody": {
  3650. "type": "object",
  3651. "properties": {
  3652. "area": {
  3653. "description": "区",
  3654. "type": "string"
  3655. },
  3656. "area_code": {
  3657. "type": "string"
  3658. },
  3659. "city": {
  3660. "description": "市",
  3661. "type": "string"
  3662. },
  3663. "city_code": {
  3664. "type": "string"
  3665. },
  3666. "committee": {
  3667. "description": "社区",
  3668. "type": "string"
  3669. },
  3670. "committee_code": {
  3671. "type": "string"
  3672. },
  3673. "garden_id": {
  3674. "type": "integer"
  3675. },
  3676. "garden_name": {
  3677. "description": "小区名字",
  3678. "type": "string"
  3679. },
  3680. "province": {
  3681. "description": "省",
  3682. "type": "string"
  3683. },
  3684. "province_code": {
  3685. "type": "string"
  3686. },
  3687. "street": {
  3688. "description": "街道",
  3689. "type": "string"
  3690. },
  3691. "street_code": {
  3692. "type": "string"
  3693. }
  3694. }
  3695. },
  3696. "v1.GardenKeyInfoChangeListReply": {
  3697. "type": "object",
  3698. "properties": {
  3699. "list": {
  3700. "type": "array",
  3701. "items": {
  3702. "$ref": "#/definitions/v1.GardenKeyInfoData"
  3703. }
  3704. },
  3705. "page": {
  3706. "type": "integer"
  3707. },
  3708. "total": {
  3709. "type": "integer"
  3710. }
  3711. }
  3712. },
  3713. "v1.GardenKeyInfoChangeListResponse": {
  3714. "type": "object",
  3715. "properties": {
  3716. "code": {
  3717. "description": "返回码",
  3718. "type": "integer",
  3719. "format": "int",
  3720. "default": 0
  3721. },
  3722. "data": {
  3723. "type": "object",
  3724. "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply"
  3725. },
  3726. "message": {
  3727. "description": "消息",
  3728. "type": "string",
  3729. "default": "success"
  3730. }
  3731. }
  3732. },
  3733. "v1.GardenKeyInfoChangeResponse": {
  3734. "type": "object",
  3735. "properties": {
  3736. "code": {
  3737. "description": "返回码",
  3738. "type": "integer",
  3739. "format": "int",
  3740. "default": 0
  3741. },
  3742. "message": {
  3743. "description": "消息",
  3744. "type": "string",
  3745. "default": "success"
  3746. }
  3747. }
  3748. },
  3749. "v1.GardenKeyInfoData": {
  3750. "type": "object",
  3751. "properties": {
  3752. "cid": {
  3753. "type": "integer"
  3754. },
  3755. "feedback": {
  3756. "type": "string"
  3757. },
  3758. "garden_detail": {
  3759. "type": "string"
  3760. },
  3761. "garden_id": {
  3762. "type": "integer"
  3763. },
  3764. "garden_name": {
  3765. "type": "string"
  3766. },
  3767. "id": {
  3768. "type": "integer"
  3769. },
  3770. "list": {
  3771. "type": "array",
  3772. "items": {
  3773. "$ref": "#/definitions/v1.GardenKeyInfoItem"
  3774. }
  3775. },
  3776. "status": {
  3777. "type": "integer"
  3778. }
  3779. }
  3780. },
  3781. "v1.GardenKeyInfoItem": {
  3782. "type": "object",
  3783. "properties": {
  3784. "field_name": {
  3785. "type": "string"
  3786. },
  3787. "field_value_dst": {
  3788. "type": "string"
  3789. },
  3790. "field_value_src": {
  3791. "type": "string"
  3792. }
  3793. }
  3794. },
  3795. "v1.GardenListReply": {
  3796. "type": "object",
  3797. "properties": {
  3798. "list": {
  3799. "type": "array",
  3800. "items": {
  3801. "$ref": "#/definitions/v1.GardenItem"
  3802. }
  3803. },
  3804. "page": {
  3805. "type": "integer"
  3806. },
  3807. "total": {
  3808. "type": "integer"
  3809. }
  3810. }
  3811. },
  3812. "v1.GardenSetMchBody": {
  3813. "type": "object",
  3814. "properties": {
  3815. "garden_id": {
  3816. "type": "integer"
  3817. },
  3818. "mch_id": {
  3819. "type": "string"
  3820. }
  3821. }
  3822. },
  3823. "v1.GardenSetMchPayModeBody": {
  3824. "type": "object",
  3825. "properties": {
  3826. "garden_id": {
  3827. "type": "integer"
  3828. },
  3829. "pay_mode": {
  3830. "description": "1 不支持线上支付 2 支付到物业公司账户 3 支付到软件提供商账户",
  3831. "type": "integer"
  3832. }
  3833. }
  3834. },
  3835. "v1.GardenSetMchPayModeResponse": {
  3836. "type": "object",
  3837. "properties": {
  3838. "code": {
  3839. "description": "返回码",
  3840. "type": "integer",
  3841. "format": "int",
  3842. "default": 0
  3843. },
  3844. "message": {
  3845. "description": "消息",
  3846. "type": "string",
  3847. "default": "success"
  3848. }
  3849. }
  3850. },
  3851. "v1.GardenSetMchResponse": {
  3852. "type": "object",
  3853. "properties": {
  3854. "code": {
  3855. "description": "返回码",
  3856. "type": "integer",
  3857. "format": "int",
  3858. "default": 0
  3859. },
  3860. "message": {
  3861. "description": "消息",
  3862. "type": "string",
  3863. "default": "success"
  3864. }
  3865. }
  3866. },
  3867. "v1.GetVcodeReply": {
  3868. "type": "object",
  3869. "properties": {
  3870. "vcode": {
  3871. "type": "integer"
  3872. }
  3873. }
  3874. },
  3875. "v1.GetVcodeResponse": {
  3876. "type": "object",
  3877. "properties": {
  3878. "code": {
  3879. "description": "返回码",
  3880. "type": "integer",
  3881. "format": "int",
  3882. "default": 0
  3883. },
  3884. "data": {
  3885. "type": "object",
  3886. "$ref": "#/definitions/v1.GetVcodeReply"
  3887. },
  3888. "message": {
  3889. "description": "消息",
  3890. "type": "string",
  3891. "default": "success"
  3892. }
  3893. }
  3894. },
  3895. "v1.LoginBody": {
  3896. "type": "object",
  3897. "properties": {
  3898. "password": {
  3899. "type": "string"
  3900. },
  3901. "user": {
  3902. "type": "string"
  3903. }
  3904. }
  3905. },
  3906. "v1.LoginByPhoneBody": {
  3907. "type": "object",
  3908. "properties": {
  3909. "phone": {
  3910. "type": "string"
  3911. },
  3912. "vcode": {
  3913. "description": "短信验证码",
  3914. "type": "integer"
  3915. }
  3916. }
  3917. },
  3918. "v1.LoginByPhoneResponse": {
  3919. "type": "object",
  3920. "properties": {
  3921. "code": {
  3922. "description": "返回码",
  3923. "type": "integer",
  3924. "format": "int",
  3925. "default": 0
  3926. },
  3927. "data": {
  3928. "type": "object",
  3929. "$ref": "#/definitions/v1.LoginData"
  3930. },
  3931. "message": {
  3932. "description": "消息",
  3933. "type": "string",
  3934. "default": "success"
  3935. }
  3936. }
  3937. },
  3938. "v1.LoginData": {
  3939. "type": "object",
  3940. "properties": {
  3941. "token": {
  3942. "type": "string"
  3943. },
  3944. "uid": {
  3945. "type": "integer"
  3946. },
  3947. "user": {
  3948. "type": "string"
  3949. }
  3950. }
  3951. },
  3952. "v1.LoginResponse": {
  3953. "type": "object",
  3954. "properties": {
  3955. "code": {
  3956. "description": "返回码",
  3957. "type": "integer",
  3958. "format": "int",
  3959. "default": 0
  3960. },
  3961. "data": {
  3962. "type": "object",
  3963. "$ref": "#/definitions/v1.LoginData"
  3964. },
  3965. "message": {
  3966. "description": "消息",
  3967. "type": "string",
  3968. "default": "success"
  3969. }
  3970. }
  3971. },
  3972. "v1.PackageItem": {
  3973. "type": "object",
  3974. "properties": {
  3975. "application_names": {
  3976. "description": "应用名称",
  3977. "type": "array",
  3978. "items": {
  3979. "type": "string"
  3980. }
  3981. },
  3982. "desc": {
  3983. "type": "string"
  3984. },
  3985. "enable": {
  3986. "type": "boolean"
  3987. },
  3988. "house_count": {
  3989. "type": "integer"
  3990. },
  3991. "id": {
  3992. "type": "integer"
  3993. },
  3994. "name": {
  3995. "type": "string"
  3996. },
  3997. "price": {
  3998. "description": "单价",
  3999. "type": "integer"
  4000. }
  4001. }
  4002. },
  4003. "v1.PackageListReply": {
  4004. "type": "object",
  4005. "properties": {
  4006. "list": {
  4007. "type": "array",
  4008. "items": {
  4009. "$ref": "#/definitions/v1.PackageItem"
  4010. }
  4011. },
  4012. "page": {
  4013. "type": "integer"
  4014. },
  4015. "total": {
  4016. "type": "integer"
  4017. }
  4018. }
  4019. },
  4020. "v1.PackageListResponse": {
  4021. "type": "object",
  4022. "properties": {
  4023. "code": {
  4024. "description": "返回码",
  4025. "type": "integer",
  4026. "format": "int",
  4027. "default": 0
  4028. },
  4029. "data": {
  4030. "type": "object",
  4031. "$ref": "#/definitions/v1.PackageListReply"
  4032. },
  4033. "message": {
  4034. "description": "消息",
  4035. "type": "string",
  4036. "default": "success"
  4037. }
  4038. }
  4039. },
  4040. "v1.PackageOrderAddBody": {
  4041. "type": "object",
  4042. "properties": {
  4043. "amount": {
  4044. "description": "单价*周期得出的总价",
  4045. "type": "integer"
  4046. },
  4047. "package_id": {
  4048. "type": "integer"
  4049. },
  4050. "period": {
  4051. "description": "周期年",
  4052. "type": "integer"
  4053. }
  4054. }
  4055. },
  4056. "v1.PackageOrderAddRenewBody": {
  4057. "type": "object",
  4058. "properties": {
  4059. "amount": {
  4060. "type": "integer"
  4061. },
  4062. "garden_id": {
  4063. "type": "integer"
  4064. },
  4065. "package_id": {
  4066. "type": "integer"
  4067. },
  4068. "period": {
  4069. "type": "integer"
  4070. }
  4071. }
  4072. },
  4073. "v1.PackageOrderAddRenewResponse": {
  4074. "type": "object",
  4075. "properties": {
  4076. "code": {
  4077. "description": "返回码",
  4078. "type": "integer",
  4079. "format": "int",
  4080. "default": 0
  4081. },
  4082. "data": {
  4083. "type": "object",
  4084. "$ref": "#/definitions/v1.PackageOrderAddReply"
  4085. },
  4086. "message": {
  4087. "description": "消息",
  4088. "type": "string",
  4089. "default": "success"
  4090. }
  4091. }
  4092. },
  4093. "v1.PackageOrderAddReply": {
  4094. "type": "object",
  4095. "properties": {
  4096. "amount": {
  4097. "description": "订单金额",
  4098. "type": "integer"
  4099. },
  4100. "bank_account": {
  4101. "description": "银行账号",
  4102. "type": "string"
  4103. },
  4104. "bank_name": {
  4105. "description": "开户行",
  4106. "type": "string"
  4107. },
  4108. "bank_user_name": {
  4109. "description": "户名",
  4110. "type": "string"
  4111. },
  4112. "garden_count": {
  4113. "type": "integer"
  4114. },
  4115. "order_id": {
  4116. "type": "integer"
  4117. },
  4118. "package_name": {
  4119. "type": "string"
  4120. },
  4121. "pay_type": {
  4122. "description": "支付方式 1 对公转账",
  4123. "type": "integer"
  4124. },
  4125. "period": {
  4126. "type": "integer"
  4127. }
  4128. }
  4129. },
  4130. "v1.PackageOrderAddResponse": {
  4131. "type": "object",
  4132. "properties": {
  4133. "code": {
  4134. "description": "返回码",
  4135. "type": "integer",
  4136. "format": "int",
  4137. "default": 0
  4138. },
  4139. "data": {
  4140. "type": "object",
  4141. "$ref": "#/definitions/v1.PackageOrderAddReply"
  4142. },
  4143. "message": {
  4144. "description": "消息",
  4145. "type": "string",
  4146. "default": "success"
  4147. }
  4148. }
  4149. },
  4150. "v1.ProvinceCityAreaReply": {
  4151. "type": "object",
  4152. "properties": {
  4153. "area_list": {
  4154. "type": "array",
  4155. "items": {
  4156. "$ref": "#/definitions/v1.AreaData"
  4157. }
  4158. },
  4159. "city_list": {
  4160. "type": "array",
  4161. "items": {
  4162. "$ref": "#/definitions/v1.CityData"
  4163. }
  4164. },
  4165. "province_list": {
  4166. "type": "array",
  4167. "items": {
  4168. "$ref": "#/definitions/v1.ProvinceData"
  4169. }
  4170. }
  4171. }
  4172. },
  4173. "v1.ProvinceCityAreaResponse": {
  4174. "type": "object",
  4175. "properties": {
  4176. "code": {
  4177. "description": "返回码",
  4178. "type": "integer",
  4179. "format": "int",
  4180. "default": 0
  4181. },
  4182. "data": {
  4183. "type": "object",
  4184. "$ref": "#/definitions/v1.ProvinceCityAreaReply"
  4185. },
  4186. "message": {
  4187. "description": "消息",
  4188. "type": "string",
  4189. "default": "success"
  4190. }
  4191. }
  4192. },
  4193. "v1.ProvinceData": {
  4194. "type": "object",
  4195. "properties": {
  4196. "code": {
  4197. "type": "string"
  4198. },
  4199. "name": {
  4200. "type": "string"
  4201. }
  4202. }
  4203. },
  4204. "v1.RegisterReply": {
  4205. "type": "object",
  4206. "properties": {
  4207. "id": {
  4208. "type": "integer"
  4209. }
  4210. }
  4211. },
  4212. "v1.ResetPasswordBody": {
  4213. "type": "object",
  4214. "properties": {
  4215. "password": {
  4216. "type": "string"
  4217. },
  4218. "phone": {
  4219. "type": "string"
  4220. },
  4221. "vcode": {
  4222. "description": "短信验证码",
  4223. "type": "integer"
  4224. }
  4225. }
  4226. },
  4227. "v1.ResetPasswordResponse": {
  4228. "type": "object",
  4229. "properties": {
  4230. "code": {
  4231. "description": "返回码",
  4232. "type": "integer",
  4233. "format": "int",
  4234. "default": 0
  4235. },
  4236. "message": {
  4237. "description": "消息",
  4238. "type": "string",
  4239. "default": "success"
  4240. }
  4241. }
  4242. },
  4243. "v1.StreetCommitteeReply": {
  4244. "type": "object",
  4245. "properties": {
  4246. "committee_list": {
  4247. "type": "array",
  4248. "items": {
  4249. "$ref": "#/definitions/v1.CommitteeData"
  4250. }
  4251. },
  4252. "street_list": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/v1.StreetData"
  4256. }
  4257. }
  4258. }
  4259. },
  4260. "v1.StreetCommitteeResponse": {
  4261. "type": "object",
  4262. "properties": {
  4263. "code": {
  4264. "description": "返回码",
  4265. "type": "integer",
  4266. "format": "int",
  4267. "default": 0
  4268. },
  4269. "data": {
  4270. "type": "object",
  4271. "$ref": "#/definitions/v1.StreetCommitteeReply"
  4272. },
  4273. "message": {
  4274. "description": "消息",
  4275. "type": "string",
  4276. "default": "success"
  4277. }
  4278. }
  4279. },
  4280. "v1.StreetData": {
  4281. "type": "object",
  4282. "properties": {
  4283. "code": {
  4284. "type": "string"
  4285. },
  4286. "name": {
  4287. "type": "string"
  4288. }
  4289. }
  4290. },
  4291. "v1.TemplateData": {
  4292. "type": "object",
  4293. "properties": {
  4294. "url": {
  4295. "type": "string"
  4296. }
  4297. }
  4298. },
  4299. "v1.TemplateResponse": {
  4300. "type": "object",
  4301. "properties": {
  4302. "code": {
  4303. "description": "返回码",
  4304. "type": "integer",
  4305. "format": "int",
  4306. "default": 0
  4307. },
  4308. "data": {
  4309. "type": "object",
  4310. "$ref": "#/definitions/v1.TemplateData"
  4311. },
  4312. "message": {
  4313. "description": "消息",
  4314. "type": "string",
  4315. "default": "success"
  4316. }
  4317. }
  4318. },
  4319. "v1.TokenResponse": {
  4320. "type": "object",
  4321. "properties": {
  4322. "code": {
  4323. "description": "返回码",
  4324. "type": "integer",
  4325. "format": "int",
  4326. "default": 0
  4327. },
  4328. "data": {
  4329. "type": "string"
  4330. },
  4331. "message": {
  4332. "description": "消息",
  4333. "type": "string",
  4334. "default": "success"
  4335. },
  4336. "refresh_token": {
  4337. "type": "string"
  4338. }
  4339. }
  4340. },
  4341. "v1.UploadResponse": {
  4342. "type": "object",
  4343. "properties": {
  4344. "code": {
  4345. "description": "返回码",
  4346. "type": "integer",
  4347. "format": "int",
  4348. "default": 0
  4349. },
  4350. "data": {
  4351. "type": "string"
  4352. },
  4353. "message": {
  4354. "description": "消息",
  4355. "type": "string",
  4356. "default": "success"
  4357. }
  4358. }
  4359. },
  4360. "v1.UploadWxData": {
  4361. "type": "object",
  4362. "properties": {
  4363. "mediaId": {
  4364. "type": "string"
  4365. },
  4366. "url": {
  4367. "type": "string"
  4368. }
  4369. }
  4370. },
  4371. "v1.UploadWxResponse": {
  4372. "type": "object",
  4373. "properties": {
  4374. "code": {
  4375. "description": "返回码",
  4376. "type": "integer",
  4377. "format": "int",
  4378. "default": 0
  4379. },
  4380. "data": {
  4381. "type": "object",
  4382. "$ref": "#/definitions/v1.UploadWxData"
  4383. },
  4384. "message": {
  4385. "description": "消息",
  4386. "type": "string",
  4387. "default": "success"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. }`
  4393. type swaggerInfo struct {
  4394. Version string
  4395. Host string
  4396. BasePath string
  4397. Schemes []string
  4398. Title string
  4399. Description string
  4400. }
  4401. // SwaggerInfo holds exported Swagger Info so clients can modify it
  4402. var SwaggerInfo = swaggerInfo{
  4403. Version: "1.1",
  4404. Host: "",
  4405. BasePath: "",
  4406. Schemes: []string{},
  4407. Title: "Project property-company-gateway's APIs",
  4408. Description: "This is a gateway server. On the page, you can go to do testing for every API.",
  4409. }
  4410. type s struct{}
  4411. func (s *s) ReadDoc() string {
  4412. sInfo := SwaggerInfo
  4413. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  4414. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  4415. "marshal": func(v interface{}) string {
  4416. a, _ := json.Marshal(v)
  4417. return string(a)
  4418. },
  4419. }).Parse(doc)
  4420. if err != nil {
  4421. return doc
  4422. }
  4423. var tpl bytes.Buffer
  4424. if err := t.Execute(&tpl, sInfo); err != nil {
  4425. return doc
  4426. }
  4427. return tpl.String()
  4428. }
  4429. func init() {
  4430. swag.Register(swag.Name, &s{})
  4431. }