swagger.json 148 KB

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