swagger.yaml 106 KB

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