docs.go 415 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "TableKey",
  607. "in": "query"
  608. }
  609. ],
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/common.QueryTableDefineRsp"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/QueryTraderMenu": {
  627. "get": {
  628. "produces": [
  629. "application/json"
  630. ],
  631. "tags": [
  632. "通用服务"
  633. ],
  634. "summary": "查询交易端菜单",
  635. "parameters": [
  636. {
  637. "type": "integer",
  638. "description": "登录账号",
  639. "name": "loginid",
  640. "in": "query",
  641. "required": true
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Delivery/QueryDeliveryRelation": {
  661. "get": {
  662. "security": [
  663. {
  664. "ApiKeyAuth": []
  665. }
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "交割服务"
  672. ],
  673. "summary": "查询商品交割关系表",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "商品ID",
  678. "name": "goodsid",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "品种ID",
  684. "name": "deliverygoodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "市场ID",
  690. "name": "marketid",
  691. "in": "query"
  692. }
  693. ],
  694. "responses": {
  695. "200": {
  696. "description": "OK",
  697. "schema": {
  698. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  699. }
  700. },
  701. "500": {
  702. "description": "Internal Server Error",
  703. "schema": {
  704. "$ref": "#/definitions/app.Response"
  705. }
  706. }
  707. }
  708. }
  709. },
  710. "/Ermcp/QueryContract": {
  711. "get": {
  712. "security": [
  713. {
  714. "ApiKeyAuth": []
  715. }
  716. ],
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "企业风险管理(app)"
  722. ],
  723. "summary": "查询合同(采购和销售)",
  724. "parameters": [
  725. {
  726. "type": "integer",
  727. "description": "合同类型 1-采购, -1-销售",
  728. "name": "contracttype",
  729. "in": "query",
  730. "required": true
  731. },
  732. {
  733. "type": "integer",
  734. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  735. "name": "QueryType",
  736. "in": "query",
  737. "required": true
  738. }
  739. ],
  740. "responses": {
  741. "200": {
  742. "description": "OK",
  743. "schema": {
  744. "type": "array",
  745. "items": {
  746. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  747. }
  748. }
  749. },
  750. "500": {
  751. "description": "Internal Server Error",
  752. "schema": {
  753. "$ref": "#/definitions/app.Response"
  754. }
  755. }
  756. }
  757. }
  758. },
  759. "/Ermcp/QueryHedgePlan": {
  760. "get": {
  761. "security": [
  762. {
  763. "ApiKeyAuth": []
  764. }
  765. ],
  766. "produces": [
  767. "application/json"
  768. ],
  769. "tags": [
  770. "企业风险管理(app)"
  771. ],
  772. "summary": "查询套保计划",
  773. "parameters": [
  774. {
  775. "type": "integer",
  776. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  777. "name": "HedgePlanStatus",
  778. "in": "query",
  779. "required": true
  780. }
  781. ],
  782. "responses": {
  783. "200": {
  784. "description": "OK",
  785. "schema": {
  786. "type": "array",
  787. "items": {
  788. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  789. }
  790. }
  791. },
  792. "500": {
  793. "description": "Internal Server Error",
  794. "schema": {
  795. "$ref": "#/definitions/app.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/Ermcp/QueryUserInfo": {
  802. "get": {
  803. "security": [
  804. {
  805. "ApiKeyAuth": []
  806. }
  807. ],
  808. "produces": [
  809. "application/json"
  810. ],
  811. "tags": [
  812. "企业风险管理(app)"
  813. ],
  814. "summary": "查询客户资料",
  815. "parameters": [
  816. {
  817. "type": "string",
  818. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  819. "name": "AccountStatus",
  820. "in": "query",
  821. "required": true
  822. }
  823. ],
  824. "responses": {
  825. "200": {
  826. "description": "OK",
  827. "schema": {
  828. "type": "array",
  829. "items": {
  830. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  831. }
  832. }
  833. },
  834. "500": {
  835. "description": "Internal Server Error",
  836. "schema": {
  837. "$ref": "#/definitions/app.Response"
  838. }
  839. }
  840. }
  841. }
  842. },
  843. "/Erms2/QueryArbitrageStrategy": {
  844. "get": {
  845. "security": [
  846. {
  847. "ApiKeyAuth": []
  848. }
  849. ],
  850. "produces": [
  851. "application/json"
  852. ],
  853. "tags": [
  854. "风险管理"
  855. ],
  856. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  857. "parameters": [
  858. {
  859. "type": "integer",
  860. "description": "账户ID",
  861. "name": "userid",
  862. "in": "query",
  863. "required": true
  864. },
  865. {
  866. "type": "string",
  867. "description": "商品组ID(品种ID)",
  868. "name": "goodsgroupid",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Erms2/QueryInnerTradeDetail": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "风险管理"
  900. ],
  901. "summary": "查询内部成交单信息",
  902. "parameters": [
  903. {
  904. "type": "integer",
  905. "description": "资金账户",
  906. "name": "accountid",
  907. "in": "query",
  908. "required": true
  909. }
  910. ],
  911. "responses": {
  912. "200": {
  913. "description": "OK",
  914. "schema": {
  915. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  916. }
  917. },
  918. "500": {
  919. "description": "Internal Server Error",
  920. "schema": {
  921. "$ref": "#/definitions/app.Response"
  922. }
  923. }
  924. }
  925. }
  926. },
  927. "/Erms2/QuerySpotContract": {
  928. "get": {
  929. "security": [
  930. {
  931. "ApiKeyAuth": []
  932. }
  933. ],
  934. "produces": [
  935. "application/json"
  936. ],
  937. "tags": [
  938. "风险管理"
  939. ],
  940. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  941. "parameters": [
  942. {
  943. "type": "integer",
  944. "description": "策略申请ID",
  945. "name": "asapplyid",
  946. "in": "query",
  947. "required": true
  948. },
  949. {
  950. "type": "integer",
  951. "description": "现货合同ID",
  952. "name": "spotcontractid",
  953. "in": "query"
  954. }
  955. ],
  956. "responses": {
  957. "200": {
  958. "description": "OK",
  959. "schema": {
  960. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  961. }
  962. },
  963. "500": {
  964. "description": "Internal Server Error",
  965. "schema": {
  966. "$ref": "#/definitions/app.Response"
  967. }
  968. }
  969. }
  970. }
  971. },
  972. "/Erms3/AddErms2ASApply": {
  973. "post": {
  974. "security": [
  975. {
  976. "ApiKeyAuth": []
  977. }
  978. ],
  979. "produces": [
  980. "application/json"
  981. ],
  982. "tags": [
  983. "风险管理v3"
  984. ],
  985. "summary": "新增期现套利业务申请",
  986. "parameters": [
  987. {
  988. "description": "申请参数",
  989. "name": "jsonBody",
  990. "in": "body",
  991. "required": true,
  992. "schema": {
  993. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  994. }
  995. }
  996. ],
  997. "responses": {
  998. "200": {
  999. "description": "OK",
  1000. "schema": {
  1001. "$ref": "#/definitions/app.Response"
  1002. }
  1003. },
  1004. "500": {
  1005. "description": "Internal Server Error",
  1006. "schema": {
  1007. "$ref": "#/definitions/app.Response"
  1008. }
  1009. }
  1010. }
  1011. }
  1012. },
  1013. "/Erms3/AddErms2SpotTradeApply": {
  1014. "post": {
  1015. "security": [
  1016. {
  1017. "ApiKeyAuth": []
  1018. }
  1019. ],
  1020. "produces": [
  1021. "application/json"
  1022. ],
  1023. "tags": [
  1024. "风险管理v3"
  1025. ],
  1026. "summary": "新增现货贸易业务申请",
  1027. "parameters": [
  1028. {
  1029. "description": "申请参数",
  1030. "name": "jsonBody",
  1031. "in": "body",
  1032. "required": true,
  1033. "schema": {
  1034. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1035. }
  1036. }
  1037. ],
  1038. "responses": {
  1039. "200": {
  1040. "description": "OK",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Erms3/AddSpotContractApply": {
  1055. "post": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "风险管理v3"
  1066. ],
  1067. "summary": "新增现货合同申请",
  1068. "parameters": [
  1069. {
  1070. "description": "申请参数",
  1071. "name": "jsonBody",
  1072. "in": "body",
  1073. "required": true,
  1074. "schema": {
  1075. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1076. }
  1077. }
  1078. ],
  1079. "responses": {
  1080. "200": {
  1081. "description": "OK",
  1082. "schema": {
  1083. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Erms3/AddUserInfoApply": {
  1096. "post": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "风险管理v3"
  1107. ],
  1108. "summary": "新增客户申请",
  1109. "parameters": [
  1110. {
  1111. "description": "申请参数",
  1112. "name": "jsonBody",
  1113. "in": "body",
  1114. "required": true,
  1115. "schema": {
  1116. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1117. }
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. },
  1127. "500": {
  1128. "description": "Internal Server Error",
  1129. "schema": {
  1130. "$ref": "#/definitions/app.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/Erms3/QueryBusinessInfo": {
  1137. "get": {
  1138. "security": [
  1139. {
  1140. "ApiKeyAuth": []
  1141. }
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "风险管理v3"
  1148. ],
  1149. "summary": "查询业务表单数据",
  1150. "parameters": [
  1151. {
  1152. "type": "string",
  1153. "description": "资金账号ID列表,用逗号分隔",
  1154. "name": "accountids",
  1155. "in": "query",
  1156. "required": true
  1157. },
  1158. {
  1159. "type": "integer",
  1160. "description": "状态,0为未结束 1为已结束",
  1161. "name": "status",
  1162. "in": "query",
  1163. "required": true
  1164. }
  1165. ],
  1166. "responses": {
  1167. "200": {
  1168. "description": "OK",
  1169. "schema": {
  1170. "type": "array",
  1171. "items": {
  1172. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1173. }
  1174. }
  1175. },
  1176. "500": {
  1177. "description": "Internal Server Error",
  1178. "schema": {
  1179. "$ref": "#/definitions/app.Response"
  1180. }
  1181. }
  1182. }
  1183. }
  1184. },
  1185. "/Erms3/QueryPendingAuditContract": {
  1186. "get": {
  1187. "security": [
  1188. {
  1189. "ApiKeyAuth": []
  1190. }
  1191. ],
  1192. "produces": [
  1193. "application/json"
  1194. ],
  1195. "tags": [
  1196. "风险管理v3"
  1197. ],
  1198. "summary": "查询待审核合同",
  1199. "parameters": [
  1200. {
  1201. "type": "string",
  1202. "description": "资金账号ID列表,逗号隔开",
  1203. "name": "accountids",
  1204. "in": "query",
  1205. "required": true
  1206. },
  1207. {
  1208. "type": "integer",
  1209. "description": "合同类型 1-采购 -1-销售",
  1210. "name": "contracttype",
  1211. "in": "query",
  1212. "required": true
  1213. },
  1214. {
  1215. "type": "integer",
  1216. "description": "合同模式 1-普通 2-回购",
  1217. "name": "contractmode",
  1218. "in": "query",
  1219. "required": true
  1220. }
  1221. ],
  1222. "responses": {
  1223. "200": {
  1224. "description": "OK",
  1225. "schema": {
  1226. "type": "array",
  1227. "items": {
  1228. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1229. }
  1230. }
  1231. },
  1232. "500": {
  1233. "description": "Internal Server Error",
  1234. "schema": {
  1235. "$ref": "#/definitions/app.Response"
  1236. }
  1237. }
  1238. }
  1239. }
  1240. },
  1241. "/Erms3/QueryPendingBusiness": {
  1242. "get": {
  1243. "security": [
  1244. {
  1245. "ApiKeyAuth": []
  1246. }
  1247. ],
  1248. "produces": [
  1249. "application/json"
  1250. ],
  1251. "tags": [
  1252. "风险管理v3"
  1253. ],
  1254. "summary": "查询待审核基差贸易业务",
  1255. "parameters": [
  1256. {
  1257. "type": "string",
  1258. "description": "资金账号ID列表,逗号隔开",
  1259. "name": "accountids",
  1260. "in": "query",
  1261. "required": true
  1262. }
  1263. ],
  1264. "responses": {
  1265. "200": {
  1266. "description": "OK",
  1267. "schema": {
  1268. "type": "array",
  1269. "items": {
  1270. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1271. }
  1272. }
  1273. },
  1274. "500": {
  1275. "description": "Internal Server Error",
  1276. "schema": {
  1277. "$ref": "#/definitions/app.Response"
  1278. }
  1279. }
  1280. }
  1281. }
  1282. },
  1283. "/Erms3/QuerySpotContractAppleForm": {
  1284. "get": {
  1285. "security": [
  1286. {
  1287. "ApiKeyAuth": []
  1288. }
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "风险管理v3"
  1295. ],
  1296. "summary": "查询合同申请表单数据",
  1297. "parameters": [
  1298. {
  1299. "type": "integer",
  1300. "description": "登录账号",
  1301. "name": "loginID",
  1302. "in": "query",
  1303. "required": true
  1304. }
  1305. ],
  1306. "responses": {
  1307. "200": {
  1308. "description": "OK",
  1309. "schema": {
  1310. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Erms3/QuerySpotContractDetail": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "风险管理v3"
  1334. ],
  1335. "summary": "查询合同详细信息",
  1336. "parameters": [
  1337. {
  1338. "type": "string",
  1339. "description": "资金账号ID列表,用逗号分隔",
  1340. "name": "accountids",
  1341. "in": "query",
  1342. "required": true
  1343. },
  1344. {
  1345. "type": "integer",
  1346. "description": "合同类型,1为采购合同 -1为销售合同",
  1347. "name": "contracttype",
  1348. "in": "query",
  1349. "required": true
  1350. },
  1351. {
  1352. "type": "integer",
  1353. "description": "合同模式,1为普通合同 2为回购销售合同",
  1354. "name": "contractmode",
  1355. "in": "query",
  1356. "required": true
  1357. },
  1358. {
  1359. "type": "integer",
  1360. "description": "状态,0为履约中 1为已完成",
  1361. "name": "status",
  1362. "in": "query",
  1363. "required": true
  1364. }
  1365. ],
  1366. "responses": {
  1367. "200": {
  1368. "description": "OK",
  1369. "schema": {
  1370. "type": "array",
  1371. "items": {
  1372. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1373. }
  1374. }
  1375. },
  1376. "500": {
  1377. "description": "Internal Server Error",
  1378. "schema": {
  1379. "$ref": "#/definitions/app.Response"
  1380. }
  1381. }
  1382. }
  1383. }
  1384. },
  1385. "/Erms3/QueryUserInfoApplies": {
  1386. "get": {
  1387. "security": [
  1388. {
  1389. "ApiKeyAuth": []
  1390. }
  1391. ],
  1392. "produces": [
  1393. "application/json"
  1394. ],
  1395. "tags": [
  1396. "风险管理v3"
  1397. ],
  1398. "summary": "客户申请信息查询",
  1399. "parameters": [
  1400. {
  1401. "type": "integer",
  1402. "description": "页码",
  1403. "name": "page",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "integer",
  1408. "description": "每页条数",
  1409. "name": "pagesize",
  1410. "in": "query"
  1411. },
  1412. {
  1413. "type": "string",
  1414. "description": "客户名称,支持模糊查询",
  1415. "name": "userName",
  1416. "in": "query"
  1417. }
  1418. ],
  1419. "responses": {
  1420. "200": {
  1421. "description": "OK",
  1422. "schema": {
  1423. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Erms3/QueryUserInfos": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "风险管理v3"
  1447. ],
  1448. "summary": "客户信息查询",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "页码",
  1453. "name": "page",
  1454. "in": "query"
  1455. },
  1456. {
  1457. "type": "integer",
  1458. "description": "每页条数",
  1459. "name": "pagesize",
  1460. "in": "query"
  1461. },
  1462. {
  1463. "type": "string",
  1464. "description": "客户名称,支持模糊查询",
  1465. "name": "userName",
  1466. "in": "query"
  1467. }
  1468. ],
  1469. "responses": {
  1470. "200": {
  1471. "description": "OK",
  1472. "schema": {
  1473. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1474. }
  1475. },
  1476. "500": {
  1477. "description": "Internal Server Error",
  1478. "schema": {
  1479. "$ref": "#/definitions/app.Response"
  1480. }
  1481. }
  1482. }
  1483. }
  1484. },
  1485. "/HSBY/GetHsbyMyCount": {
  1486. "get": {
  1487. "security": [
  1488. {
  1489. "ApiKeyAuth": []
  1490. }
  1491. ],
  1492. "description": "说明: 不包括已完成的数量。",
  1493. "produces": [
  1494. "application/json"
  1495. ],
  1496. "tags": [
  1497. "定制【海商报业】"
  1498. ],
  1499. "summary": "获取我的订单与包裹数量",
  1500. "parameters": [
  1501. {
  1502. "type": "string",
  1503. "description": "资金账户列表,格式:1,2,3",
  1504. "name": "accountIDs",
  1505. "in": "query",
  1506. "required": true
  1507. }
  1508. ],
  1509. "responses": {
  1510. "200": {
  1511. "description": "OK",
  1512. "schema": {
  1513. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1514. }
  1515. },
  1516. "500": {
  1517. "description": "Internal Server Error",
  1518. "schema": {
  1519. "$ref": "#/definitions/app.Response"
  1520. }
  1521. }
  1522. }
  1523. }
  1524. },
  1525. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1526. "get": {
  1527. "security": [
  1528. {
  1529. "ApiKeyAuth": []
  1530. }
  1531. ],
  1532. "produces": [
  1533. "application/json"
  1534. ],
  1535. "tags": [
  1536. "定制【海商报业】"
  1537. ],
  1538. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1539. "parameters": [
  1540. {
  1541. "type": "integer",
  1542. "description": "页码",
  1543. "name": "page",
  1544. "in": "query"
  1545. },
  1546. {
  1547. "type": "integer",
  1548. "description": "每页条数",
  1549. "name": "pagesize",
  1550. "in": "query"
  1551. },
  1552. {
  1553. "type": "string",
  1554. "description": "资金账户列表,格式:1,2,3",
  1555. "name": "accountIDs",
  1556. "in": "query",
  1557. "required": true
  1558. }
  1559. ],
  1560. "responses": {
  1561. "200": {
  1562. "description": "OK",
  1563. "schema": {
  1564. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1565. }
  1566. },
  1567. "500": {
  1568. "description": "Internal Server Error",
  1569. "schema": {
  1570. "$ref": "#/definitions/app.Response"
  1571. }
  1572. }
  1573. }
  1574. }
  1575. },
  1576. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1577. "get": {
  1578. "security": [
  1579. {
  1580. "ApiKeyAuth": []
  1581. }
  1582. ],
  1583. "description": "说明:查询结果已按委托价格和委托时间排序",
  1584. "produces": [
  1585. "application/json"
  1586. ],
  1587. "tags": [
  1588. "定制【海商报业】"
  1589. ],
  1590. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1591. "parameters": [
  1592. {
  1593. "type": "integer",
  1594. "description": "商品ID",
  1595. "name": "goodsID",
  1596. "in": "query",
  1597. "required": true
  1598. },
  1599. {
  1600. "type": "string",
  1601. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1602. "name": "accountIDs",
  1603. "in": "query"
  1604. },
  1605. {
  1606. "type": "integer",
  1607. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1608. "name": "buyOrSell",
  1609. "in": "query"
  1610. },
  1611. {
  1612. "type": "number",
  1613. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1614. "name": "price",
  1615. "in": "query"
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "档位,不传则默认为3档",
  1620. "name": "speed",
  1621. "in": "query"
  1622. }
  1623. ],
  1624. "responses": {
  1625. "200": {
  1626. "description": "OK",
  1627. "schema": {
  1628. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1629. }
  1630. },
  1631. "500": {
  1632. "description": "Internal Server Error",
  1633. "schema": {
  1634. "$ref": "#/definitions/app.Response"
  1635. }
  1636. }
  1637. }
  1638. }
  1639. },
  1640. "/HSBY/QueryHsbyListingGoodsDetail": {
  1641. "get": {
  1642. "security": [
  1643. {
  1644. "ApiKeyAuth": []
  1645. }
  1646. ],
  1647. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1648. "produces": [
  1649. "application/json"
  1650. ],
  1651. "tags": [
  1652. "定制【海商报业】"
  1653. ],
  1654. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1655. "parameters": [
  1656. {
  1657. "type": "integer",
  1658. "description": "商品ID",
  1659. "name": "goodsID",
  1660. "in": "query",
  1661. "required": true
  1662. },
  1663. {
  1664. "type": "integer",
  1665. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1666. "name": "AccountID",
  1667. "in": "query"
  1668. }
  1669. ],
  1670. "responses": {
  1671. "200": {
  1672. "description": "OK",
  1673. "schema": {
  1674. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1675. }
  1676. },
  1677. "500": {
  1678. "description": "Internal Server Error",
  1679. "schema": {
  1680. "$ref": "#/definitions/app.Response"
  1681. }
  1682. }
  1683. }
  1684. }
  1685. },
  1686. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1687. "get": {
  1688. "security": [
  1689. {
  1690. "ApiKeyAuth": []
  1691. }
  1692. ],
  1693. "produces": [
  1694. "application/json"
  1695. ],
  1696. "tags": [
  1697. "定制【海商报业】"
  1698. ],
  1699. "summary": "查询三级市场(商城)商品信息详情",
  1700. "parameters": [
  1701. {
  1702. "type": "integer",
  1703. "description": "委托单号",
  1704. "name": "orderID",
  1705. "in": "query",
  1706. "required": true
  1707. }
  1708. ],
  1709. "responses": {
  1710. "200": {
  1711. "description": "OK",
  1712. "schema": {
  1713. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/HSBY/QueryHsbyMarketGoodses": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "定制【海商报业】"
  1737. ],
  1738. "summary": "查询特卖商品列表(三级商城)",
  1739. "parameters": [
  1740. {
  1741. "type": "integer",
  1742. "description": "页码",
  1743. "name": "page",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "integer",
  1748. "description": "每页条数",
  1749. "name": "pagesize",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "市场ID列表,格式:1,2,3",
  1755. "name": "marketIDs",
  1756. "in": "query",
  1757. "required": true
  1758. },
  1759. {
  1760. "type": "integer",
  1761. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1762. "name": "accountID",
  1763. "in": "query"
  1764. },
  1765. {
  1766. "type": "integer",
  1767. "description": "类别ID",
  1768. "name": "categoryID",
  1769. "in": "query"
  1770. },
  1771. {
  1772. "type": "string",
  1773. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1774. "name": "goodsIDs",
  1775. "in": "query"
  1776. },
  1777. {
  1778. "type": "integer",
  1779. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1780. "name": "couponTypeID",
  1781. "in": "query"
  1782. }
  1783. ],
  1784. "responses": {
  1785. "200": {
  1786. "description": "OK",
  1787. "schema": {
  1788. "$ref": "#/definitions/models.HsbyMarketGoods"
  1789. }
  1790. },
  1791. "500": {
  1792. "description": "Internal Server Error",
  1793. "schema": {
  1794. "$ref": "#/definitions/app.Response"
  1795. }
  1796. }
  1797. }
  1798. }
  1799. },
  1800. "/HSBY/QueryHsbyMarkets": {
  1801. "get": {
  1802. "security": [
  1803. {
  1804. "ApiKeyAuth": []
  1805. }
  1806. ],
  1807. "produces": [
  1808. "application/json"
  1809. ],
  1810. "tags": [
  1811. "定制【海商报业】"
  1812. ],
  1813. "summary": "查询海商报业相关市场信息",
  1814. "responses": {
  1815. "200": {
  1816. "description": "OK",
  1817. "schema": {
  1818. "$ref": "#/definitions/models.HsbyMarketInfo"
  1819. }
  1820. },
  1821. "500": {
  1822. "description": "Internal Server Error",
  1823. "schema": {
  1824. "$ref": "#/definitions/app.Response"
  1825. }
  1826. }
  1827. }
  1828. }
  1829. },
  1830. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1831. "get": {
  1832. "security": [
  1833. {
  1834. "ApiKeyAuth": []
  1835. }
  1836. ],
  1837. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "定制【海商报业】"
  1843. ],
  1844. "summary": "查询“我的订单”信息",
  1845. "parameters": [
  1846. {
  1847. "type": "string",
  1848. "description": "资金账户列表,格式:1,2,3",
  1849. "name": "accountIDs",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "integer",
  1855. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1856. "name": "myBuyStatus",
  1857. "in": "query"
  1858. }
  1859. ],
  1860. "responses": {
  1861. "200": {
  1862. "description": "OK",
  1863. "schema": {
  1864. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1865. }
  1866. },
  1867. "500": {
  1868. "description": "Internal Server Error",
  1869. "schema": {
  1870. "$ref": "#/definitions/app.Response"
  1871. }
  1872. }
  1873. }
  1874. }
  1875. },
  1876. "/HSBY/QueryHsbyMyGoods": {
  1877. "get": {
  1878. "security": [
  1879. {
  1880. "ApiKeyAuth": []
  1881. }
  1882. ],
  1883. "produces": [
  1884. "application/json"
  1885. ],
  1886. "tags": [
  1887. "定制【海商报业】"
  1888. ],
  1889. "summary": "查询“我的商品”信息",
  1890. "parameters": [
  1891. {
  1892. "type": "string",
  1893. "description": "资金账户列表,格式:1,2,3",
  1894. "name": "accountIDs",
  1895. "in": "query",
  1896. "required": true
  1897. }
  1898. ],
  1899. "responses": {
  1900. "200": {
  1901. "description": "OK",
  1902. "schema": {
  1903. "$ref": "#/definitions/models.HsbyMyGoods"
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/HSBY/QueryHsbyMyPackages": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "定制【海商报业】"
  1927. ],
  1928. "summary": "查询我的包裹信息",
  1929. "parameters": [
  1930. {
  1931. "type": "string",
  1932. "description": "资金账户列表,格式:1,2,3",
  1933. "name": "accountIDs",
  1934. "in": "query",
  1935. "required": true
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1940. "name": "takeOrderStatus",
  1941. "in": "query"
  1942. }
  1943. ],
  1944. "responses": {
  1945. "200": {
  1946. "description": "OK",
  1947. "schema": {
  1948. "$ref": "#/definitions/models.HsbyMyPackage"
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/HSBY/QueryHsbyPreGoodsDetail": {
  1961. "get": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "定制【海商报业】"
  1972. ],
  1973. "summary": "查询一级市场(预售)商品信息详情",
  1974. "parameters": [
  1975. {
  1976. "type": "integer",
  1977. "description": "商品ID",
  1978. "name": "goodsID",
  1979. "in": "query",
  1980. "required": true
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "资金账户,主要用于获取预售商品购买上限",
  1985. "name": "accountID",
  1986. "in": "query"
  1987. }
  1988. ],
  1989. "responses": {
  1990. "200": {
  1991. "description": "OK",
  1992. "schema": {
  1993. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1994. }
  1995. },
  1996. "500": {
  1997. "description": "Internal Server Error",
  1998. "schema": {
  1999. "$ref": "#/definitions/app.Response"
  2000. }
  2001. }
  2002. }
  2003. }
  2004. },
  2005. "/HSBY/QueryHsbyPreGoodses": {
  2006. "get": {
  2007. "security": [
  2008. {
  2009. "ApiKeyAuth": []
  2010. }
  2011. ],
  2012. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2013. "produces": [
  2014. "application/json"
  2015. ],
  2016. "tags": [
  2017. "定制【海商报业】"
  2018. ],
  2019. "summary": "查询新品上市商品列表(一级市场预售)",
  2020. "parameters": [
  2021. {
  2022. "type": "integer",
  2023. "description": "页码",
  2024. "name": "page",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "每页条数",
  2030. "name": "pagesize",
  2031. "in": "query"
  2032. },
  2033. {
  2034. "type": "string",
  2035. "description": "市场ID列表,格式:1,2,3",
  2036. "name": "marketIDs",
  2037. "in": "query",
  2038. "required": true
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "目的地(省)ID",
  2043. "name": "descProvinceID",
  2044. "in": "query"
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "目的地(市)ID",
  2049. "name": "descCityID",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "$ref": "#/definitions/models.HsbyPreGoods"
  2058. }
  2059. },
  2060. "500": {
  2061. "description": "Internal Server Error",
  2062. "schema": {
  2063. "$ref": "#/definitions/app.Response"
  2064. }
  2065. }
  2066. }
  2067. }
  2068. },
  2069. "/HSBY/QueryHsbySellMyDetails": {
  2070. "get": {
  2071. "security": [
  2072. {
  2073. "ApiKeyAuth": []
  2074. }
  2075. ],
  2076. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "定制【海商报业】"
  2082. ],
  2083. "summary": "查询\"我的闲置\"单据信息",
  2084. "parameters": [
  2085. {
  2086. "type": "integer",
  2087. "description": "页码",
  2088. "name": "page",
  2089. "in": "query"
  2090. },
  2091. {
  2092. "type": "integer",
  2093. "description": "每页条数",
  2094. "name": "pagesize",
  2095. "in": "query"
  2096. },
  2097. {
  2098. "type": "string",
  2099. "description": "资金账户列表,格式:1,2,3",
  2100. "name": "accountIDs",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "integer",
  2106. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2107. "name": "orderType",
  2108. "in": "query"
  2109. }
  2110. ],
  2111. "responses": {
  2112. "200": {
  2113. "description": "OK",
  2114. "schema": {
  2115. "$ref": "#/definitions/models.HsbySellMyDetail"
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/HSBY/QueryHsbyTopGoodses": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "定制【海商报业】"
  2140. ],
  2141. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "页码",
  2146. "name": "page",
  2147. "in": "query"
  2148. },
  2149. {
  2150. "type": "integer",
  2151. "description": "每页条数",
  2152. "name": "pagesize",
  2153. "in": "query"
  2154. },
  2155. {
  2156. "type": "string",
  2157. "description": "市场ID列表,格式:1,2,3",
  2158. "name": "marketIDs",
  2159. "in": "query",
  2160. "required": true
  2161. },
  2162. {
  2163. "type": "integer",
  2164. "description": "目的地(省)ID",
  2165. "name": "descProvinceID",
  2166. "in": "query"
  2167. },
  2168. {
  2169. "type": "integer",
  2170. "description": "目的地(市)ID",
  2171. "name": "descCityID",
  2172. "in": "query"
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "$ref": "#/definitions/models.HsbyTopGoods"
  2180. }
  2181. },
  2182. "500": {
  2183. "description": "Internal Server Error",
  2184. "schema": {
  2185. "$ref": "#/definitions/app.Response"
  2186. }
  2187. }
  2188. }
  2189. }
  2190. },
  2191. "/HSBY/QueryMyCollectionOrders": {
  2192. "get": {
  2193. "security": [
  2194. {
  2195. "ApiKeyAuth": []
  2196. }
  2197. ],
  2198. "produces": [
  2199. "application/json"
  2200. ],
  2201. "tags": [
  2202. "定制【海商报业】"
  2203. ],
  2204. "summary": "我的闲置中收款信息查询",
  2205. "parameters": [
  2206. {
  2207. "type": "integer",
  2208. "description": "页码",
  2209. "name": "page",
  2210. "in": "query"
  2211. },
  2212. {
  2213. "type": "integer",
  2214. "description": "每页条数",
  2215. "name": "pagesize",
  2216. "in": "query"
  2217. },
  2218. {
  2219. "type": "string",
  2220. "description": "资金账户,格式:1,2,3",
  2221. "name": "accountIDs",
  2222. "in": "query",
  2223. "required": true
  2224. }
  2225. ],
  2226. "responses": {
  2227. "200": {
  2228. "description": "OK",
  2229. "schema": {
  2230. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/app.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/HSBY/QueryMyCouponHolds": {
  2243. "get": {
  2244. "security": [
  2245. {
  2246. "ApiKeyAuth": []
  2247. }
  2248. ],
  2249. "produces": [
  2250. "application/json"
  2251. ],
  2252. "tags": [
  2253. "定制【海商报业】"
  2254. ],
  2255. "summary": "我的优惠卷持仓查询",
  2256. "parameters": [
  2257. {
  2258. "type": "string",
  2259. "description": "资金账户列表,格式:1,2,3",
  2260. "name": "accountIDs",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "string",
  2266. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2267. "name": "holdStatus",
  2268. "in": "query"
  2269. }
  2270. ],
  2271. "responses": {
  2272. "200": {
  2273. "description": "OK",
  2274. "schema": {
  2275. "$ref": "#/definitions/models.MyCouponHold"
  2276. }
  2277. },
  2278. "500": {
  2279. "description": "Internal Server Error",
  2280. "schema": {
  2281. "$ref": "#/definitions/app.Response"
  2282. }
  2283. }
  2284. }
  2285. }
  2286. },
  2287. "/HSBY/QueryMyCoupons": {
  2288. "get": {
  2289. "security": [
  2290. {
  2291. "ApiKeyAuth": []
  2292. }
  2293. ],
  2294. "produces": [
  2295. "application/json"
  2296. ],
  2297. "tags": [
  2298. "定制【海商报业】"
  2299. ],
  2300. "summary": "我的优惠卷查询",
  2301. "parameters": [
  2302. {
  2303. "type": "string",
  2304. "description": "资金账户列表,格式:1,2,3",
  2305. "name": "accountIDs",
  2306. "in": "query",
  2307. "required": true
  2308. },
  2309. {
  2310. "type": "integer",
  2311. "description": "商品ID, 一般与sellUserID配套传入",
  2312. "name": "goodsID",
  2313. "in": "query"
  2314. },
  2315. {
  2316. "type": "integer",
  2317. "description": "卖方UserID",
  2318. "name": "sellUserID",
  2319. "in": "query"
  2320. }
  2321. ],
  2322. "responses": {
  2323. "200": {
  2324. "description": "OK",
  2325. "schema": {
  2326. "$ref": "#/definitions/models.MyCoupon"
  2327. }
  2328. },
  2329. "500": {
  2330. "description": "Internal Server Error",
  2331. "schema": {
  2332. "$ref": "#/definitions/app.Response"
  2333. }
  2334. }
  2335. }
  2336. }
  2337. },
  2338. "/HSBY/QueryMyPayOrders": {
  2339. "get": {
  2340. "security": [
  2341. {
  2342. "ApiKeyAuth": []
  2343. }
  2344. ],
  2345. "produces": [
  2346. "application/json"
  2347. ],
  2348. "tags": [
  2349. "定制【海商报业】"
  2350. ],
  2351. "summary": "获取我的订单中待付款信息",
  2352. "parameters": [
  2353. {
  2354. "type": "integer",
  2355. "description": "页码",
  2356. "name": "page",
  2357. "in": "query"
  2358. },
  2359. {
  2360. "type": "integer",
  2361. "description": "每页条数",
  2362. "name": "pagesize",
  2363. "in": "query"
  2364. },
  2365. {
  2366. "type": "string",
  2367. "description": "资金账户列表,格式:1,2,3",
  2368. "name": "accountIDs",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "买方委托单号",
  2375. "name": "buyOrderID",
  2376. "in": "query"
  2377. },
  2378. {
  2379. "type": "integer",
  2380. "description": "卖方委托单号",
  2381. "name": "sellOrderID",
  2382. "in": "query"
  2383. }
  2384. ],
  2385. "responses": {
  2386. "200": {
  2387. "description": "OK",
  2388. "schema": {
  2389. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/app.Response"
  2396. }
  2397. }
  2398. }
  2399. }
  2400. },
  2401. "/HSBY/QueryMyUsedCoupon": {
  2402. "get": {
  2403. "security": [
  2404. {
  2405. "ApiKeyAuth": []
  2406. }
  2407. ],
  2408. "produces": [
  2409. "application/json"
  2410. ],
  2411. "tags": [
  2412. "定制【海商报业】"
  2413. ],
  2414. "summary": "已使用优惠卷查询",
  2415. "parameters": [
  2416. {
  2417. "type": "string",
  2418. "description": "资金账户列表,格式:1,2,3",
  2419. "name": "accountIDs",
  2420. "in": "query",
  2421. "required": true
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "$ref": "#/definitions/models.MyUsedCoupon"
  2429. }
  2430. },
  2431. "500": {
  2432. "description": "Internal Server Error",
  2433. "schema": {
  2434. "$ref": "#/definitions/app.Response"
  2435. }
  2436. }
  2437. }
  2438. }
  2439. },
  2440. "/HSBY/QueryProvincesAndCities": {
  2441. "get": {
  2442. "security": [
  2443. {
  2444. "ApiKeyAuth": []
  2445. }
  2446. ],
  2447. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2448. "produces": [
  2449. "application/json"
  2450. ],
  2451. "tags": [
  2452. "定制【海商报业】"
  2453. ],
  2454. "summary": "查询省市信息(不包括区)",
  2455. "parameters": [
  2456. {
  2457. "type": "integer",
  2458. "description": "省ID",
  2459. "name": "provinceID",
  2460. "in": "query"
  2461. }
  2462. ],
  2463. "responses": {
  2464. "200": {
  2465. "description": "OK",
  2466. "schema": {
  2467. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/HSBY/SetHsbyMyPackagesStatus": {
  2480. "post": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "定制【海商报业】"
  2491. ],
  2492. "summary": "设置我的包裹已收货状态",
  2493. "parameters": [
  2494. {
  2495. "type": "string",
  2496. "description": "提货单号",
  2497. "name": "takeOrderID",
  2498. "in": "query",
  2499. "required": true
  2500. },
  2501. {
  2502. "type": "integer",
  2503. "description": "资金账号",
  2504. "name": "accountID",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "$ref": "#/definitions/app.Response"
  2514. }
  2515. },
  2516. "500": {
  2517. "description": "Internal Server Error",
  2518. "schema": {
  2519. "$ref": "#/definitions/app.Response"
  2520. }
  2521. }
  2522. }
  2523. }
  2524. },
  2525. "/Market/QueryMarketRun": {
  2526. "get": {
  2527. "security": [
  2528. {
  2529. "ApiKeyAuth": []
  2530. }
  2531. ],
  2532. "produces": [
  2533. "application/json"
  2534. ],
  2535. "tags": [
  2536. "通用市场"
  2537. ],
  2538. "summary": "查询市场运行信息",
  2539. "parameters": [
  2540. {
  2541. "type": "integer",
  2542. "description": "市场ID,不传返回所有",
  2543. "name": "marketID",
  2544. "in": "query"
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "$ref": "#/definitions/models.Marketrun"
  2552. }
  2553. },
  2554. "500": {
  2555. "description": "Internal Server Error",
  2556. "schema": {
  2557. "$ref": "#/definitions/app.Response"
  2558. }
  2559. }
  2560. }
  2561. }
  2562. },
  2563. "/Order/QueryHisTradeDetail": {
  2564. "get": {
  2565. "security": [
  2566. {
  2567. "ApiKeyAuth": []
  2568. }
  2569. ],
  2570. "produces": [
  2571. "application/json"
  2572. ],
  2573. "tags": [
  2574. "通用单据"
  2575. ],
  2576. "summary": "历史成交单查询(合约市场)",
  2577. "parameters": [
  2578. {
  2579. "type": "string",
  2580. "description": "资金账户 - 格式:1,2,3",
  2581. "name": "accountID",
  2582. "in": "query",
  2583. "required": true
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "成交单号",
  2588. "name": "tradeID",
  2589. "in": "query"
  2590. },
  2591. {
  2592. "type": "integer",
  2593. "description": "委托单号",
  2594. "name": "orderID",
  2595. "in": "query"
  2596. },
  2597. {
  2598. "type": "string",
  2599. "description": "交易模式 - 格式:1,2,3",
  2600. "name": "tradeMode",
  2601. "in": "query"
  2602. },
  2603. {
  2604. "type": "integer",
  2605. "description": "委托单据类型",
  2606. "name": "buildType",
  2607. "in": "query"
  2608. },
  2609. {
  2610. "type": "string",
  2611. "description": "成交类别 - 格式:1,2,3",
  2612. "name": "tradeType",
  2613. "in": "query"
  2614. },
  2615. {
  2616. "type": "string",
  2617. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2618. "name": "startDate",
  2619. "in": "query"
  2620. },
  2621. {
  2622. "type": "string",
  2623. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2624. "name": "endDate",
  2625. "in": "query"
  2626. }
  2627. ],
  2628. "responses": {
  2629. "200": {
  2630. "description": "OK",
  2631. "schema": {
  2632. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/Order/QueryHisTradeOrderDetail": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "通用单据"
  2656. ],
  2657. "summary": "历史委托单查询请求(合约市场)",
  2658. "parameters": [
  2659. {
  2660. "type": "string",
  2661. "description": "资金账户 - 格式:1,2,3",
  2662. "name": "accountID",
  2663. "in": "query",
  2664. "required": true
  2665. },
  2666. {
  2667. "type": "string",
  2668. "description": "交易模式 - 格式:1,2,3",
  2669. "name": "tradeMode",
  2670. "in": "query"
  2671. },
  2672. {
  2673. "type": "string",
  2674. "description": "委托状态 - 格式:1,2,3",
  2675. "name": "orderStatus",
  2676. "in": "query"
  2677. },
  2678. {
  2679. "type": "integer",
  2680. "description": "委托单号",
  2681. "name": "orderID",
  2682. "in": "query"
  2683. },
  2684. {
  2685. "type": "string",
  2686. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2687. "name": "startDate",
  2688. "in": "query"
  2689. },
  2690. {
  2691. "type": "string",
  2692. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2693. "name": "endDate",
  2694. "in": "query"
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2702. }
  2703. },
  2704. "500": {
  2705. "description": "Internal Server Error",
  2706. "schema": {
  2707. "$ref": "#/definitions/app.Response"
  2708. }
  2709. }
  2710. }
  2711. }
  2712. },
  2713. "/Order/QueryTradeDetail": {
  2714. "get": {
  2715. "security": [
  2716. {
  2717. "ApiKeyAuth": []
  2718. }
  2719. ],
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "通用单据"
  2725. ],
  2726. "summary": "成交单查询(合约市场)",
  2727. "parameters": [
  2728. {
  2729. "type": "string",
  2730. "description": "资金账户 - 格式:1,2,3",
  2731. "name": "accountID",
  2732. "in": "query",
  2733. "required": true
  2734. },
  2735. {
  2736. "type": "integer",
  2737. "description": "成交单号",
  2738. "name": "tradeID",
  2739. "in": "query"
  2740. },
  2741. {
  2742. "type": "integer",
  2743. "description": "委托单号",
  2744. "name": "orderID",
  2745. "in": "query"
  2746. },
  2747. {
  2748. "type": "string",
  2749. "description": "交易模式 - 格式:1,2,3",
  2750. "name": "tradeMode",
  2751. "in": "query"
  2752. },
  2753. {
  2754. "type": "integer",
  2755. "description": "委托单据类型",
  2756. "name": "buildType",
  2757. "in": "query"
  2758. },
  2759. {
  2760. "type": "string",
  2761. "description": "成交类别 - 格式:1,2,3",
  2762. "name": "tradeType",
  2763. "in": "query"
  2764. }
  2765. ],
  2766. "responses": {
  2767. "200": {
  2768. "description": "OK",
  2769. "schema": {
  2770. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2771. }
  2772. },
  2773. "500": {
  2774. "description": "Internal Server Error",
  2775. "schema": {
  2776. "$ref": "#/definitions/app.Response"
  2777. }
  2778. }
  2779. }
  2780. }
  2781. },
  2782. "/Order/QueryTradeOrderDetail": {
  2783. "get": {
  2784. "security": [
  2785. {
  2786. "ApiKeyAuth": []
  2787. }
  2788. ],
  2789. "produces": [
  2790. "application/json"
  2791. ],
  2792. "tags": [
  2793. "通用单据"
  2794. ],
  2795. "summary": "委托单查询请求(合约市场)",
  2796. "parameters": [
  2797. {
  2798. "type": "string",
  2799. "description": "资金账户 - 格式:1,2,3",
  2800. "name": "accountID",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "string",
  2806. "description": "交易模式 - 格式:1,2,3",
  2807. "name": "tradeMode",
  2808. "in": "query"
  2809. },
  2810. {
  2811. "type": "string",
  2812. "description": "委托状态 - 格式:1,2,3",
  2813. "name": "orderStatus",
  2814. "in": "query"
  2815. },
  2816. {
  2817. "type": "integer",
  2818. "description": "委托单号",
  2819. "name": "orderID",
  2820. "in": "query"
  2821. }
  2822. ],
  2823. "responses": {
  2824. "200": {
  2825. "description": "OK",
  2826. "schema": {
  2827. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2828. }
  2829. },
  2830. "500": {
  2831. "description": "Internal Server Error",
  2832. "schema": {
  2833. "$ref": "#/definitions/app.Response"
  2834. }
  2835. }
  2836. }
  2837. }
  2838. },
  2839. "/Order/QueryTradePosition": {
  2840. "get": {
  2841. "security": [
  2842. {
  2843. "ApiKeyAuth": []
  2844. }
  2845. ],
  2846. "produces": [
  2847. "application/json"
  2848. ],
  2849. "tags": [
  2850. "通用单据"
  2851. ],
  2852. "summary": "持仓汇总查询(合约市场)",
  2853. "parameters": [
  2854. {
  2855. "type": "string",
  2856. "description": "资金账户 - 格式:1,2,3",
  2857. "name": "accountID",
  2858. "in": "query",
  2859. "required": true
  2860. },
  2861. {
  2862. "type": "string",
  2863. "description": "交易模式 - 格式:1,2,3",
  2864. "name": "tradeMode",
  2865. "in": "query"
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2873. }
  2874. },
  2875. "500": {
  2876. "description": "Internal Server Error",
  2877. "schema": {
  2878. "$ref": "#/definitions/app.Response"
  2879. }
  2880. }
  2881. }
  2882. }
  2883. },
  2884. "/Quote/QueryHistoryDatas": {
  2885. "get": {
  2886. "security": [
  2887. {
  2888. "ApiKeyAuth": []
  2889. }
  2890. ],
  2891. "produces": [
  2892. "application/json"
  2893. ],
  2894. "tags": [
  2895. "行情服务"
  2896. ],
  2897. "summary": "查询行情历史数据",
  2898. "parameters": [
  2899. {
  2900. "type": "integer",
  2901. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2902. "name": "cycleType",
  2903. "in": "query",
  2904. "required": true
  2905. },
  2906. {
  2907. "type": "string",
  2908. "description": "商品代码",
  2909. "name": "goodsCode",
  2910. "in": "query",
  2911. "required": true
  2912. },
  2913. {
  2914. "type": "string",
  2915. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2916. "name": "startTime",
  2917. "in": "query"
  2918. },
  2919. {
  2920. "type": "string",
  2921. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2922. "name": "endTime",
  2923. "in": "query"
  2924. },
  2925. {
  2926. "type": "integer",
  2927. "description": "条数",
  2928. "name": "count",
  2929. "in": "query"
  2930. },
  2931. {
  2932. "type": "boolean",
  2933. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2934. "name": "isAsc",
  2935. "in": "query"
  2936. }
  2937. ],
  2938. "responses": {
  2939. "200": {
  2940. "description": "OK",
  2941. "schema": {
  2942. "$ref": "#/definitions/quote.HistoryData"
  2943. }
  2944. },
  2945. "500": {
  2946. "description": "Internal Server Error",
  2947. "schema": {
  2948. "$ref": "#/definitions/app.Response"
  2949. }
  2950. }
  2951. }
  2952. }
  2953. },
  2954. "/Quote/QueryTSData": {
  2955. "get": {
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "行情服务"
  2961. ],
  2962. "summary": "分时图数据查询",
  2963. "parameters": [
  2964. {
  2965. "type": "string",
  2966. "description": "商品代码",
  2967. "name": "GoodsCode",
  2968. "in": "query",
  2969. "required": true
  2970. }
  2971. ],
  2972. "responses": {
  2973. "200": {
  2974. "description": "OK",
  2975. "schema": {
  2976. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/SZDZ/QueryConvertConfig": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "定制【尚志大宗】"
  3000. ],
  3001. "summary": "查询交易系统转换设置",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3006. "name": "convertType",
  3007. "in": "query"
  3008. },
  3009. {
  3010. "type": "string",
  3011. "description": "外部商品代码[JD\\PD]",
  3012. "name": "outerGoodsCode",
  3013. "in": "query"
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "内部商品ID列表[交易],格式:1,2,3",
  3018. "name": "innerGoodsIDs",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "$ref": "#/definitions/models.Szdz3convertconfig"
  3027. }
  3028. },
  3029. "500": {
  3030. "description": "Internal Server Error",
  3031. "schema": {
  3032. "$ref": "#/definitions/app.Response"
  3033. }
  3034. }
  3035. }
  3036. }
  3037. },
  3038. "/SZDZ/QueryConvertLog": {
  3039. "get": {
  3040. "security": [
  3041. {
  3042. "ApiKeyAuth": []
  3043. }
  3044. ],
  3045. "produces": [
  3046. "application/json"
  3047. ],
  3048. "tags": [
  3049. "定制【尚志大宗】"
  3050. ],
  3051. "summary": "交易系统转换流水查询",
  3052. "parameters": [
  3053. {
  3054. "type": "string",
  3055. "description": "资金账户 - 格式:1,2,3",
  3056. "name": "accountID",
  3057. "in": "query",
  3058. "required": true
  3059. },
  3060. {
  3061. "type": "string",
  3062. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3063. "name": "startDate",
  3064. "in": "query"
  3065. },
  3066. {
  3067. "type": "string",
  3068. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3069. "name": "endDate",
  3070. "in": "query"
  3071. }
  3072. ],
  3073. "responses": {
  3074. "200": {
  3075. "description": "OK",
  3076. "schema": {
  3077. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3078. }
  3079. },
  3080. "500": {
  3081. "description": "Internal Server Error",
  3082. "schema": {
  3083. "$ref": "#/definitions/app.Response"
  3084. }
  3085. }
  3086. }
  3087. }
  3088. },
  3089. "/SZDZ/QueryGoodsPickup": {
  3090. "get": {
  3091. "security": [
  3092. {
  3093. "ApiKeyAuth": []
  3094. }
  3095. ],
  3096. "produces": [
  3097. "application/json"
  3098. ],
  3099. "tags": [
  3100. "定制【尚志大宗】"
  3101. ],
  3102. "summary": "商品提货单查询",
  3103. "parameters": [
  3104. {
  3105. "type": "string",
  3106. "description": "资金账户 - 格式:1,2,3",
  3107. "name": "accountID",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "integer",
  3113. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3114. "name": "takeOrderStatus",
  3115. "in": "query"
  3116. }
  3117. ],
  3118. "responses": {
  3119. "200": {
  3120. "description": "OK",
  3121. "schema": {
  3122. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3123. }
  3124. },
  3125. "500": {
  3126. "description": "Internal Server Error",
  3127. "schema": {
  3128. "$ref": "#/definitions/app.Response"
  3129. }
  3130. }
  3131. }
  3132. }
  3133. },
  3134. "/SZDZ/QueryRecieptOrder": {
  3135. "get": {
  3136. "security": [
  3137. {
  3138. "ApiKeyAuth": []
  3139. }
  3140. ],
  3141. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3142. "produces": [
  3143. "application/json"
  3144. ],
  3145. "tags": [
  3146. "定制【尚志大宗】"
  3147. ],
  3148. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3149. "parameters": [
  3150. {
  3151. "type": "integer",
  3152. "description": "页码",
  3153. "name": "page",
  3154. "in": "query"
  3155. },
  3156. {
  3157. "type": "integer",
  3158. "description": "每页条数",
  3159. "name": "pagesize",
  3160. "in": "query"
  3161. },
  3162. {
  3163. "type": "integer",
  3164. "description": "商品ID",
  3165. "name": "goodsID",
  3166. "in": "query",
  3167. "required": true
  3168. },
  3169. {
  3170. "type": "string",
  3171. "description": "所属账户名称",
  3172. "name": "accountName",
  3173. "in": "query"
  3174. },
  3175. {
  3176. "type": "integer",
  3177. "description": "市场ID",
  3178. "name": "marketID",
  3179. "in": "query"
  3180. },
  3181. {
  3182. "type": "integer",
  3183. "description": "方向 - 0:买 1:卖",
  3184. "name": "buyorsell",
  3185. "in": "query",
  3186. "required": true
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3194. }
  3195. },
  3196. "500": {
  3197. "description": "Internal Server Error",
  3198. "schema": {
  3199. "$ref": "#/definitions/app.Response"
  3200. }
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "/SZDZ/QuerySZDZTradePosition": {
  3206. "get": {
  3207. "security": [
  3208. {
  3209. "ApiKeyAuth": []
  3210. }
  3211. ],
  3212. "produces": [
  3213. "application/json"
  3214. ],
  3215. "tags": [
  3216. "定制【尚志大宗】"
  3217. ],
  3218. "summary": "持仓汇总查询(尚志大宗)",
  3219. "parameters": [
  3220. {
  3221. "type": "integer",
  3222. "description": "资金账户",
  3223. "name": "accountID",
  3224. "in": "query",
  3225. "required": true
  3226. }
  3227. ],
  3228. "responses": {
  3229. "200": {
  3230. "description": "OK",
  3231. "schema": {
  3232. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3233. }
  3234. },
  3235. "500": {
  3236. "description": "Internal Server Error",
  3237. "schema": {
  3238. "$ref": "#/definitions/app.Response"
  3239. }
  3240. }
  3241. }
  3242. }
  3243. },
  3244. "/SZDZ/SearchWhite": {
  3245. "get": {
  3246. "security": [
  3247. {
  3248. "ApiKeyAuth": []
  3249. }
  3250. ],
  3251. "produces": [
  3252. "application/json"
  3253. ],
  3254. "tags": [
  3255. "定制【尚志大宗】"
  3256. ],
  3257. "summary": "搜索白名单",
  3258. "parameters": [
  3259. {
  3260. "type": "integer",
  3261. "description": "用户ID",
  3262. "name": "userID",
  3263. "in": "query",
  3264. "required": true
  3265. }
  3266. ],
  3267. "responses": {
  3268. "200": {
  3269. "description": "OK",
  3270. "schema": {
  3271. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3272. }
  3273. },
  3274. "500": {
  3275. "description": "Internal Server Error",
  3276. "schema": {
  3277. "$ref": "#/definitions/app.Response"
  3278. }
  3279. }
  3280. }
  3281. }
  3282. },
  3283. "/Search/SearchGoodses": {
  3284. "get": {
  3285. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3286. "produces": [
  3287. "application/json"
  3288. ],
  3289. "tags": [
  3290. "检索服务"
  3291. ],
  3292. "summary": "检索商品信息",
  3293. "parameters": [
  3294. {
  3295. "type": "string",
  3296. "description": "检索内容",
  3297. "name": "content",
  3298. "in": "query",
  3299. "required": true
  3300. },
  3301. {
  3302. "type": "string",
  3303. "description": "交易模式,格式:1,2,3",
  3304. "name": "tradeModes",
  3305. "in": "query"
  3306. }
  3307. ],
  3308. "responses": {
  3309. "200": {
  3310. "description": "OK",
  3311. "schema": {
  3312. "$ref": "#/definitions/models.SearchGoods"
  3313. }
  3314. },
  3315. "500": {
  3316. "description": "Internal Server Error",
  3317. "schema": {
  3318. "$ref": "#/definitions/app.Response"
  3319. }
  3320. }
  3321. }
  3322. }
  3323. },
  3324. "/TaAccount/QueryAmountLog": {
  3325. "get": {
  3326. "security": [
  3327. {
  3328. "ApiKeyAuth": []
  3329. }
  3330. ],
  3331. "produces": [
  3332. "application/json"
  3333. ],
  3334. "tags": [
  3335. "资金账户"
  3336. ],
  3337. "summary": "资金流水查询(当前)",
  3338. "parameters": [
  3339. {
  3340. "type": "integer",
  3341. "description": "页码",
  3342. "name": "page",
  3343. "in": "query"
  3344. },
  3345. {
  3346. "type": "integer",
  3347. "description": "每页条数",
  3348. "name": "pagesize",
  3349. "in": "query"
  3350. },
  3351. {
  3352. "type": "string",
  3353. "description": "资金账户 - 格式:1,2,3",
  3354. "name": "accountID",
  3355. "in": "query",
  3356. "required": true
  3357. },
  3358. {
  3359. "type": "string",
  3360. "description": "资金操作类型 - 格式:1,2,3",
  3361. "name": "OperateType",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3370. }
  3371. },
  3372. "500": {
  3373. "description": "Internal Server Error",
  3374. "schema": {
  3375. "$ref": "#/definitions/app.Response"
  3376. }
  3377. }
  3378. }
  3379. }
  3380. },
  3381. "/TaAccount/QueryHisAmountLog": {
  3382. "get": {
  3383. "security": [
  3384. {
  3385. "ApiKeyAuth": []
  3386. }
  3387. ],
  3388. "produces": [
  3389. "application/json"
  3390. ],
  3391. "tags": [
  3392. "资金账户"
  3393. ],
  3394. "summary": "资金流水查询(历史)",
  3395. "parameters": [
  3396. {
  3397. "type": "integer",
  3398. "description": "页码",
  3399. "name": "page",
  3400. "in": "query"
  3401. },
  3402. {
  3403. "type": "integer",
  3404. "description": "每页条数",
  3405. "name": "pagesize",
  3406. "in": "query"
  3407. },
  3408. {
  3409. "type": "string",
  3410. "description": "资金账户 - 格式:1,2,3",
  3411. "name": "accountID",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "资金操作类型 - 格式:1,2,3",
  3418. "name": "OperateType",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "string",
  3423. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3424. "name": "startDate",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3430. "name": "endDate",
  3431. "in": "query"
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3439. }
  3440. },
  3441. "500": {
  3442. "description": "Internal Server Error",
  3443. "schema": {
  3444. "$ref": "#/definitions/app.Response"
  3445. }
  3446. }
  3447. }
  3448. }
  3449. },
  3450. "/Trade/QueryRecieptOrder": {
  3451. "get": {
  3452. "security": [
  3453. {
  3454. "ApiKeyAuth": []
  3455. }
  3456. ],
  3457. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3458. "produces": [
  3459. "application/json"
  3460. ],
  3461. "tags": [
  3462. "通用交易"
  3463. ],
  3464. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3465. "parameters": [
  3466. {
  3467. "type": "integer",
  3468. "description": "页码",
  3469. "name": "page",
  3470. "in": "query"
  3471. },
  3472. {
  3473. "type": "integer",
  3474. "description": "每页条数",
  3475. "name": "pagesize",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "商品ID",
  3481. "name": "goodsID",
  3482. "in": "query",
  3483. "required": true
  3484. },
  3485. {
  3486. "type": "string",
  3487. "description": "所属账户名称",
  3488. "name": "accountName",
  3489. "in": "query"
  3490. },
  3491. {
  3492. "type": "integer",
  3493. "description": "市场ID",
  3494. "name": "marketID",
  3495. "in": "query"
  3496. },
  3497. {
  3498. "type": "integer",
  3499. "description": "方向 - 0:买 1:卖",
  3500. "name": "buyorsell",
  3501. "in": "query",
  3502. "required": true
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3510. }
  3511. },
  3512. "500": {
  3513. "description": "Internal Server Error",
  3514. "schema": {
  3515. "$ref": "#/definitions/app.Response"
  3516. }
  3517. }
  3518. }
  3519. }
  3520. },
  3521. "/User/AddMessageBoard": {
  3522. "post": {
  3523. "security": [
  3524. {
  3525. "ApiKeyAuth": []
  3526. }
  3527. ],
  3528. "produces": [
  3529. "application/json"
  3530. ],
  3531. "tags": [
  3532. "用户信息"
  3533. ],
  3534. "summary": "添加用户留言板信息",
  3535. "parameters": [
  3536. {
  3537. "type": "integer",
  3538. "description": "用户ID",
  3539. "name": "userID",
  3540. "in": "query",
  3541. "required": true
  3542. },
  3543. {
  3544. "type": "string",
  3545. "description": "留言信息",
  3546. "name": "message",
  3547. "in": "query",
  3548. "required": true
  3549. }
  3550. ],
  3551. "responses": {
  3552. "200": {
  3553. "description": "OK",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. },
  3558. "500": {
  3559. "description": "Internal Server Error",
  3560. "schema": {
  3561. "$ref": "#/definitions/app.Response"
  3562. }
  3563. }
  3564. }
  3565. }
  3566. },
  3567. "/User/AddUserFavoriteGoods": {
  3568. "post": {
  3569. "security": [
  3570. {
  3571. "ApiKeyAuth": []
  3572. }
  3573. ],
  3574. "produces": [
  3575. "application/json"
  3576. ],
  3577. "tags": [
  3578. "用户信息"
  3579. ],
  3580. "summary": "添加用户商品收藏信息",
  3581. "parameters": [
  3582. {
  3583. "type": "integer",
  3584. "description": "用户ID",
  3585. "name": "userID",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "商品ID",
  3592. "name": "goodsID",
  3593. "in": "query",
  3594. "required": true
  3595. }
  3596. ],
  3597. "responses": {
  3598. "200": {
  3599. "description": "OK",
  3600. "schema": {
  3601. "$ref": "#/definitions/app.Response"
  3602. }
  3603. },
  3604. "500": {
  3605. "description": "Internal Server Error",
  3606. "schema": {
  3607. "$ref": "#/definitions/app.Response"
  3608. }
  3609. }
  3610. }
  3611. }
  3612. },
  3613. "/User/GetLoginID": {
  3614. "get": {
  3615. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3616. "produces": [
  3617. "application/json"
  3618. ],
  3619. "tags": [
  3620. "用户信息"
  3621. ],
  3622. "summary": "获取登录ID",
  3623. "parameters": [
  3624. {
  3625. "type": "string",
  3626. "description": "登录代码",
  3627. "name": "username",
  3628. "in": "query",
  3629. "required": true
  3630. }
  3631. ],
  3632. "responses": {
  3633. "200": {
  3634. "description": "OK",
  3635. "schema": {
  3636. "$ref": "#/definitions/app.Response"
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/User/GetUserAccount": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "用户信息"
  3660. ],
  3661. "summary": "获取用户账号信息",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userID",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "$ref": "#/definitions/models.Useraccount"
  3676. }
  3677. },
  3678. "500": {
  3679. "description": "Internal Server Error",
  3680. "schema": {
  3681. "$ref": "#/definitions/app.Response"
  3682. }
  3683. }
  3684. }
  3685. }
  3686. },
  3687. "/User/GetUserAuthStatus": {
  3688. "get": {
  3689. "security": [
  3690. {
  3691. "ApiKeyAuth": []
  3692. }
  3693. ],
  3694. "produces": [
  3695. "application/json"
  3696. ],
  3697. "tags": [
  3698. "用户信息"
  3699. ],
  3700. "summary": "获取用户实名认证状态",
  3701. "parameters": [
  3702. {
  3703. "type": "integer",
  3704. "description": "用户ID",
  3705. "name": "userID",
  3706. "in": "query",
  3707. "required": true
  3708. }
  3709. ],
  3710. "responses": {
  3711. "200": {
  3712. "description": "OK",
  3713. "schema": {
  3714. "$ref": "#/definitions/app.Response"
  3715. }
  3716. },
  3717. "500": {
  3718. "description": "Internal Server Error",
  3719. "schema": {
  3720. "$ref": "#/definitions/app.Response"
  3721. }
  3722. }
  3723. }
  3724. }
  3725. },
  3726. "/User/QueryMessageBoard": {
  3727. "get": {
  3728. "security": [
  3729. {
  3730. "ApiKeyAuth": []
  3731. }
  3732. ],
  3733. "produces": [
  3734. "application/json"
  3735. ],
  3736. "tags": [
  3737. "用户信息"
  3738. ],
  3739. "summary": "获取用户留言板信息",
  3740. "parameters": [
  3741. {
  3742. "type": "integer",
  3743. "description": "用户ID",
  3744. "name": "userID",
  3745. "in": "query",
  3746. "required": true
  3747. }
  3748. ],
  3749. "responses": {
  3750. "200": {
  3751. "description": "OK",
  3752. "schema": {
  3753. "$ref": "#/definitions/models.Messageboard"
  3754. }
  3755. },
  3756. "500": {
  3757. "description": "Internal Server Error",
  3758. "schema": {
  3759. "$ref": "#/definitions/app.Response"
  3760. }
  3761. }
  3762. }
  3763. }
  3764. },
  3765. "/User/QueryUserFavoriteGoodses": {
  3766. "get": {
  3767. "security": [
  3768. {
  3769. "ApiKeyAuth": []
  3770. }
  3771. ],
  3772. "produces": [
  3773. "application/json"
  3774. ],
  3775. "tags": [
  3776. "用户信息"
  3777. ],
  3778. "summary": "获取用户商品收藏信息",
  3779. "parameters": [
  3780. {
  3781. "type": "integer",
  3782. "description": "用户ID",
  3783. "name": "userID",
  3784. "in": "query",
  3785. "required": true
  3786. }
  3787. ],
  3788. "responses": {
  3789. "200": {
  3790. "description": "OK",
  3791. "schema": {
  3792. "$ref": "#/definitions/models.Userfavoritegoods"
  3793. }
  3794. },
  3795. "500": {
  3796. "description": "Internal Server Error",
  3797. "schema": {
  3798. "$ref": "#/definitions/app.Response"
  3799. }
  3800. }
  3801. }
  3802. }
  3803. },
  3804. "/User/QueryUserInfo": {
  3805. "get": {
  3806. "security": [
  3807. {
  3808. "ApiKeyAuth": []
  3809. }
  3810. ],
  3811. "produces": [
  3812. "application/json"
  3813. ],
  3814. "tags": [
  3815. "用户信息"
  3816. ],
  3817. "summary": "获取用户信息",
  3818. "parameters": [
  3819. {
  3820. "type": "integer",
  3821. "description": "用户ID",
  3822. "name": "userID",
  3823. "in": "query",
  3824. "required": true
  3825. }
  3826. ],
  3827. "responses": {
  3828. "200": {
  3829. "description": "OK",
  3830. "schema": {
  3831. "$ref": "#/definitions/models.Userinfo"
  3832. }
  3833. },
  3834. "500": {
  3835. "description": "Internal Server Error",
  3836. "schema": {
  3837. "$ref": "#/definitions/app.Response"
  3838. }
  3839. }
  3840. }
  3841. }
  3842. },
  3843. "/User/QueryUserReferNum": {
  3844. "get": {
  3845. "produces": [
  3846. "application/json"
  3847. ],
  3848. "tags": [
  3849. "用户信息"
  3850. ],
  3851. "summary": "获取用户邀请码",
  3852. "parameters": [
  3853. {
  3854. "type": "integer",
  3855. "description": "用户ID",
  3856. "name": "userID",
  3857. "in": "query",
  3858. "required": true
  3859. }
  3860. ],
  3861. "responses": {
  3862. "200": {
  3863. "description": "OK",
  3864. "schema": {
  3865. "$ref": "#/definitions/app.Response"
  3866. }
  3867. },
  3868. "500": {
  3869. "description": "Internal Server Error",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. }
  3874. }
  3875. }
  3876. },
  3877. "/User/RemoveUserFavoriteGoods": {
  3878. "post": {
  3879. "security": [
  3880. {
  3881. "ApiKeyAuth": []
  3882. }
  3883. ],
  3884. "produces": [
  3885. "application/json"
  3886. ],
  3887. "tags": [
  3888. "用户信息"
  3889. ],
  3890. "summary": "移除用户商品收藏信息",
  3891. "parameters": [
  3892. {
  3893. "type": "integer",
  3894. "description": "用户ID",
  3895. "name": "userID",
  3896. "in": "query",
  3897. "required": true
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "商品ID",
  3902. "name": "goodsID",
  3903. "in": "query",
  3904. "required": true
  3905. }
  3906. ],
  3907. "responses": {
  3908. "200": {
  3909. "description": "OK",
  3910. "schema": {
  3911. "$ref": "#/definitions/app.Response"
  3912. }
  3913. },
  3914. "500": {
  3915. "description": "Internal Server Error",
  3916. "schema": {
  3917. "$ref": "#/definitions/app.Response"
  3918. }
  3919. }
  3920. }
  3921. }
  3922. },
  3923. "/WR/GetWRCategoryInfo": {
  3924. "get": {
  3925. "produces": [
  3926. "application/json"
  3927. ],
  3928. "tags": [
  3929. "仓单服务"
  3930. ],
  3931. "summary": "获取现货分类信息",
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "$ref": "#/definitions/models.WRCategoryTree"
  3937. }
  3938. },
  3939. "500": {
  3940. "description": "Internal Server Error",
  3941. "schema": {
  3942. "$ref": "#/definitions/app.Response"
  3943. }
  3944. }
  3945. }
  3946. }
  3947. },
  3948. "/WRTrade/GetAllDeliveryGoods": {
  3949. "get": {
  3950. "security": [
  3951. {
  3952. "ApiKeyAuth": []
  3953. },
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json",
  3960. "application/json"
  3961. ],
  3962. "tags": [
  3963. "仓单贸易",
  3964. "仓单贸易"
  3965. ],
  3966. "summary": "获取带仓单分类的种类信息",
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "$ref": "#/definitions/app.Response"
  3972. }
  3973. },
  3974. "500": {
  3975. "description": "Internal Server Error",
  3976. "schema": {
  3977. "$ref": "#/definitions/app.Response"
  3978. }
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "definitions": {
  3985. "app.Response": {
  3986. "type": "object",
  3987. "properties": {
  3988. "code": {
  3989. "type": "integer"
  3990. },
  3991. "data": {
  3992. "type": "object"
  3993. },
  3994. "msg": {
  3995. "type": "string"
  3996. },
  3997. "page": {
  3998. "description": "页码",
  3999. "type": "integer"
  4000. },
  4001. "pagesize": {
  4002. "description": "每页条数",
  4003. "type": "integer"
  4004. },
  4005. "total": {
  4006. "description": "总条数",
  4007. "type": "integer"
  4008. }
  4009. }
  4010. },
  4011. "common.QueryNoticeRsp": {
  4012. "type": "object",
  4013. "required": [
  4014. "autoid"
  4015. ],
  4016. "properties": {
  4017. "auditoruserid": {
  4018. "description": "审核人",
  4019. "type": "integer"
  4020. },
  4021. "auditremark": {
  4022. "description": "审核备注",
  4023. "type": "string"
  4024. },
  4025. "audittime": {
  4026. "description": "审核日期",
  4027. "type": "string"
  4028. },
  4029. "autoid": {
  4030. "description": "自增ID",
  4031. "type": "integer"
  4032. },
  4033. "content": {
  4034. "description": "内容",
  4035. "type": "string"
  4036. },
  4037. "createtime": {
  4038. "description": "创建时间",
  4039. "type": "string"
  4040. },
  4041. "creatorid": {
  4042. "description": "建仓人",
  4043. "type": "integer"
  4044. },
  4045. "endtime": {
  4046. "description": "结束时间",
  4047. "type": "string"
  4048. },
  4049. "istop": {
  4050. "description": "是否置顶 - 0:不置顶 1:置顶",
  4051. "type": "integer"
  4052. },
  4053. "msgiconurl": {
  4054. "description": "消息图标Url",
  4055. "type": "string"
  4056. },
  4057. "msgtype": {
  4058. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4059. "type": "integer"
  4060. },
  4061. "publisher": {
  4062. "description": "消息发布者",
  4063. "type": "string"
  4064. },
  4065. "readed": {
  4066. "description": "是否已读",
  4067. "type": "boolean"
  4068. },
  4069. "scheduletime": {
  4070. "description": "计划发送时间",
  4071. "type": "string"
  4072. },
  4073. "sendtype": {
  4074. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4075. "type": "integer"
  4076. },
  4077. "sentstatus": {
  4078. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4079. "type": "integer"
  4080. },
  4081. "title": {
  4082. "description": "标题",
  4083. "type": "string"
  4084. },
  4085. "userid": {
  4086. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4087. "type": "integer"
  4088. }
  4089. }
  4090. },
  4091. "common.QueryProvincesAndCitiesRsp": {
  4092. "type": "object",
  4093. "properties": {
  4094. "cities": {
  4095. "description": "市",
  4096. "type": "array",
  4097. "items": {
  4098. "$ref": "#/definitions/models.Division"
  4099. }
  4100. },
  4101. "province": {
  4102. "description": "省",
  4103. "type": "object",
  4104. "$ref": "#/definitions/models.Division"
  4105. }
  4106. }
  4107. },
  4108. "common.QueryTableDefineRsp": {
  4109. "type": "object",
  4110. "required": [
  4111. "tablekey"
  4112. ],
  4113. "properties": {
  4114. "columns": {
  4115. "description": "列头信息数组",
  4116. "type": "array",
  4117. "items": {
  4118. "$ref": "#/definitions/models.Tablecolumnconfig"
  4119. }
  4120. },
  4121. "remark": {
  4122. "description": "Remark",
  4123. "type": "string"
  4124. },
  4125. "tabelmenu": {
  4126. "description": "列表菜单",
  4127. "type": "string"
  4128. },
  4129. "tablekey": {
  4130. "description": "列表Key",
  4131. "type": "string"
  4132. },
  4133. "tablename": {
  4134. "description": "列表名称",
  4135. "type": "string"
  4136. },
  4137. "tabletype": {
  4138. "description": "列表类型 - 1:管理端 2:终端",
  4139. "type": "integer"
  4140. }
  4141. }
  4142. },
  4143. "common.QueryTraderMenuRsp": {
  4144. "type": "object",
  4145. "properties": {
  4146. "OperationMenu": {
  4147. "description": "功能菜单",
  4148. "type": "array",
  4149. "items": {
  4150. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4151. }
  4152. },
  4153. "QuoteMenu": {
  4154. "description": "报价牌分类菜单",
  4155. "type": "array",
  4156. "items": {
  4157. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "cptrade.Cptradepositioncancel": {
  4163. "type": "object",
  4164. "required": [
  4165. "cancelid"
  4166. ],
  4167. "properties": {
  4168. "accountid": {
  4169. "description": "申请人账户ID",
  4170. "type": "integer"
  4171. },
  4172. "applystatus": {
  4173. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4174. "type": "integer"
  4175. },
  4176. "applytime": {
  4177. "description": "申请时间",
  4178. "type": "string"
  4179. },
  4180. "cancelid": {
  4181. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4182. "type": "integer"
  4183. },
  4184. "cancelqty": {
  4185. "description": "注销数量",
  4186. "type": "integer"
  4187. },
  4188. "createtime": {
  4189. "description": "创建时间",
  4190. "type": "string"
  4191. },
  4192. "creatorid": {
  4193. "description": "创建人ID",
  4194. "type": "integer"
  4195. },
  4196. "creatorname": {
  4197. "description": "创建人",
  4198. "type": "string"
  4199. },
  4200. "goodscode": {
  4201. "description": "订单商品代码",
  4202. "type": "string"
  4203. },
  4204. "goodsid": {
  4205. "description": "商品ID",
  4206. "type": "integer"
  4207. },
  4208. "goodsname": {
  4209. "description": "订单商品名称",
  4210. "type": "string"
  4211. },
  4212. "goodunit": {
  4213. "description": "报价单位",
  4214. "type": "string"
  4215. },
  4216. "handlestatus": {
  4217. "description": "处理状态",
  4218. "type": "integer"
  4219. },
  4220. "marketid": {
  4221. "description": "市场ID",
  4222. "type": "integer"
  4223. },
  4224. "marketname": {
  4225. "description": "市场名称",
  4226. "type": "string"
  4227. },
  4228. "tradedate": {
  4229. "description": "交易日(yyyyMMdd)",
  4230. "type": "string"
  4231. },
  4232. "userid": {
  4233. "description": "申请人ID",
  4234. "type": "integer"
  4235. }
  4236. }
  4237. },
  4238. "cptrade.Cptradepresaleapply": {
  4239. "type": "object",
  4240. "required": [
  4241. "applyid"
  4242. ],
  4243. "properties": {
  4244. "accountid": {
  4245. "description": "申请人账户ID",
  4246. "type": "integer"
  4247. },
  4248. "applyid": {
  4249. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4250. "type": "integer"
  4251. },
  4252. "applyremark": {
  4253. "description": "申请备注",
  4254. "type": "string"
  4255. },
  4256. "applystatus": {
  4257. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4258. "type": "integer"
  4259. },
  4260. "applytime": {
  4261. "description": "申请时间",
  4262. "type": "string"
  4263. },
  4264. "attachmenturl": {
  4265. "description": "附件地址",
  4266. "type": "string"
  4267. },
  4268. "endtime": {
  4269. "description": "预售结束时间",
  4270. "type": "string"
  4271. },
  4272. "goodscode": {
  4273. "description": "商品代码",
  4274. "type": "string"
  4275. },
  4276. "goodsid": {
  4277. "description": "商品ID",
  4278. "type": "integer"
  4279. },
  4280. "goodsname": {
  4281. "description": "商品名称",
  4282. "type": "string"
  4283. },
  4284. "goodunit": {
  4285. "description": "报价单位",
  4286. "type": "string"
  4287. },
  4288. "handlestatus": {
  4289. "description": "处理状态",
  4290. "type": "integer"
  4291. },
  4292. "marketid": {
  4293. "description": "预售市场ID",
  4294. "type": "integer"
  4295. },
  4296. "marketname": {
  4297. "description": "预售市场名称",
  4298. "type": "string"
  4299. },
  4300. "presaleqty": {
  4301. "description": "预售数量",
  4302. "type": "integer"
  4303. },
  4304. "relatedgoodscode": {
  4305. "description": "关联交易合约代码",
  4306. "type": "string"
  4307. },
  4308. "relatedgoodsid": {
  4309. "description": "关联交易合约ID",
  4310. "type": "integer"
  4311. },
  4312. "relatedgoodsname": {
  4313. "description": "关联交易合约名称",
  4314. "type": "string"
  4315. },
  4316. "starttime": {
  4317. "description": "预售开始时间",
  4318. "type": "string"
  4319. },
  4320. "tradedate": {
  4321. "description": "交易日(yyyyMMdd)",
  4322. "type": "string"
  4323. },
  4324. "trademode": {
  4325. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4326. "type": "integer"
  4327. },
  4328. "userid": {
  4329. "description": "申请人ID",
  4330. "type": "integer"
  4331. }
  4332. }
  4333. },
  4334. "cptrade.Cptradeusergoodsdata": {
  4335. "type": "object",
  4336. "required": [
  4337. "accountid",
  4338. "goodsid"
  4339. ],
  4340. "properties": {
  4341. "EnabledQty": {
  4342. "description": "可用量",
  4343. "type": "integer"
  4344. },
  4345. "GoodsCode": {
  4346. "description": "订单商品代码",
  4347. "type": "string"
  4348. },
  4349. "GoodsName": {
  4350. "description": "订单商品名称",
  4351. "type": "string"
  4352. },
  4353. "WRStandardCode": {
  4354. "description": "仓单标准代码",
  4355. "type": "string"
  4356. },
  4357. "WRStandardName": {
  4358. "description": "仓单标准名称",
  4359. "type": "string"
  4360. },
  4361. "accountid": {
  4362. "description": "账户ID",
  4363. "type": "integer"
  4364. },
  4365. "cancelqty": {
  4366. "description": "注销量",
  4367. "type": "integer"
  4368. },
  4369. "curpresaleqty": {
  4370. "description": "当前预售量",
  4371. "type": "integer"
  4372. },
  4373. "deliveryqty": {
  4374. "description": "交割量",
  4375. "type": "integer"
  4376. },
  4377. "freezeamount": {
  4378. "description": "冻结金额",
  4379. "type": "number"
  4380. },
  4381. "goodsid": {
  4382. "description": "商品ID",
  4383. "type": "integer"
  4384. },
  4385. "goodunit": {
  4386. "description": "报价单位",
  4387. "type": "string"
  4388. },
  4389. "hasspotfreeze": {
  4390. "description": "是否有现货冻结 - 0:否 1:有",
  4391. "type": "integer"
  4392. },
  4393. "inqty": {
  4394. "description": "转入量(总数量)",
  4395. "type": "integer"
  4396. },
  4397. "marketid": {
  4398. "description": "市场ID",
  4399. "type": "integer"
  4400. },
  4401. "presaledamount": {
  4402. "description": "已预售总金额",
  4403. "type": "integer"
  4404. },
  4405. "presaledqty": {
  4406. "description": "已预售量",
  4407. "type": "integer"
  4408. },
  4409. "userid": {
  4410. "description": "用户ID",
  4411. "type": "integer"
  4412. },
  4413. "wrstandardid": {
  4414. "description": "仓单标准ID",
  4415. "type": "integer"
  4416. }
  4417. }
  4418. },
  4419. "cptrade.QueryCPTradeMyBidRsp": {
  4420. "type": "object",
  4421. "required": [
  4422. "accountid",
  4423. "goodsid",
  4424. "marketid",
  4425. "orderid",
  4426. "orderqty",
  4427. "ordertime",
  4428. "tradeprice",
  4429. "tradeqty"
  4430. ],
  4431. "properties": {
  4432. "accountid": {
  4433. "description": "账户ID[报价币种]",
  4434. "type": "integer"
  4435. },
  4436. "goodsid": {
  4437. "description": "商品ID",
  4438. "type": "integer"
  4439. },
  4440. "goodunit": {
  4441. "description": "报价单位",
  4442. "type": "string"
  4443. },
  4444. "marketid": {
  4445. "description": "市场ID",
  4446. "type": "integer"
  4447. },
  4448. "orderid": {
  4449. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4450. "type": "integer"
  4451. },
  4452. "orderprice": {
  4453. "description": "委托价格",
  4454. "type": "number"
  4455. },
  4456. "orderqty": {
  4457. "description": "委托数量",
  4458. "type": "integer"
  4459. },
  4460. "ordertime": {
  4461. "description": "委托时间",
  4462. "type": "string"
  4463. },
  4464. "ordertotalprice": {
  4465. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4466. "type": "number"
  4467. },
  4468. "ordertotalweight": {
  4469. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4470. "type": "integer"
  4471. },
  4472. "totaltotalprice": {
  4473. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4474. "type": "number"
  4475. },
  4476. "tradeprice": {
  4477. "description": "成交价格",
  4478. "type": "number"
  4479. },
  4480. "tradeqty": {
  4481. "description": "成交数量",
  4482. "type": "integer"
  4483. }
  4484. }
  4485. },
  4486. "cptrade.QueryCPTradeOrderDetailRsq": {
  4487. "type": "object",
  4488. "required": [
  4489. "accountid",
  4490. "buildtype",
  4491. "buyorsell",
  4492. "goodsid",
  4493. "marketid",
  4494. "memberuserid",
  4495. "operatetype",
  4496. "orderqty",
  4497. "ordertime",
  4498. "pricemode",
  4499. "strorderid",
  4500. "tradedate",
  4501. "validtype"
  4502. ],
  4503. "properties": {
  4504. "accountid": {
  4505. "description": "账户ID[报价币种]",
  4506. "type": "integer"
  4507. },
  4508. "buildtype": {
  4509. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4510. "type": "integer"
  4511. },
  4512. "buyorsell": {
  4513. "description": "买卖 - 0:买 1:卖",
  4514. "type": "integer"
  4515. },
  4516. "cancelorderid": {
  4517. "description": "撤单单号(撤单时填写)",
  4518. "type": "integer"
  4519. },
  4520. "cancelqty": {
  4521. "description": "撤单数量",
  4522. "type": "integer"
  4523. },
  4524. "clientordertime": {
  4525. "description": "客户端委托时间",
  4526. "type": "string"
  4527. },
  4528. "clientticket": {
  4529. "description": "客户端流水号",
  4530. "type": "string"
  4531. },
  4532. "clienttype": {
  4533. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4534. "type": "integer"
  4535. },
  4536. "closeexchagechargevalue": {
  4537. "description": "平仓交易所手续费设置值",
  4538. "type": "number"
  4539. },
  4540. "closefeealgorithm": {
  4541. "description": "平仓手续费收取方式 1:比率 2:固定",
  4542. "type": "integer"
  4543. },
  4544. "closefreezecharge": {
  4545. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4546. "type": "number"
  4547. },
  4548. "closememberchargevalue": {
  4549. "description": "平仓会员手续费设置值",
  4550. "type": "number"
  4551. },
  4552. "closeqty": {
  4553. "description": "平仓数量(先建后平操作 需要记录)",
  4554. "type": "integer"
  4555. },
  4556. "closetradeqty": {
  4557. "description": "平仓成交数量(先建后平操作,需要记录)",
  4558. "type": "integer"
  4559. },
  4560. "closeunfreezecharge": {
  4561. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4562. "type": "number"
  4563. },
  4564. "delistingtype": {
  4565. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4566. "type": "integer"
  4567. },
  4568. "freezecharge": {
  4569. "description": "冻结手续费",
  4570. "type": "number"
  4571. },
  4572. "freezemargin": {
  4573. "description": "冻结保证金(冻结交易金额)",
  4574. "type": "number"
  4575. },
  4576. "gcaccountid": {
  4577. "description": "账户ID[合约币种]",
  4578. "type": "integer"
  4579. },
  4580. "goodsid": {
  4581. "description": "商品ID",
  4582. "type": "integer"
  4583. },
  4584. "isconfirmexercise": {
  4585. "description": "是否确认行权- 0:否 1:是",
  4586. "type": "integer"
  4587. },
  4588. "ispreexercise": {
  4589. "description": "是否预申报- 0:否 1:是",
  4590. "type": "integer"
  4591. },
  4592. "listingselecttype": {
  4593. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4594. "type": "integer"
  4595. },
  4596. "marginalgorithm": {
  4597. "description": "保证金收取方式 1:比率 2:固定",
  4598. "type": "integer"
  4599. },
  4600. "marginvalue": {
  4601. "description": "即市保证金设置值",
  4602. "type": "number"
  4603. },
  4604. "marketid": {
  4605. "description": "市场ID",
  4606. "type": "integer"
  4607. },
  4608. "marketmaxsub": {
  4609. "description": "市价最大偏移范围",
  4610. "type": "number"
  4611. },
  4612. "memberuserid": {
  4613. "description": "所属会员UserID",
  4614. "type": "integer"
  4615. },
  4616. "openexchagechargevalue": {
  4617. "description": "建仓交易所手续费设置值",
  4618. "type": "number"
  4619. },
  4620. "openfeealgorithm": {
  4621. "description": "建仓手续费收取方式 1:比率 2:固定",
  4622. "type": "integer"
  4623. },
  4624. "openfreezecharge": {
  4625. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4626. "type": "number"
  4627. },
  4628. "openmemberchargevalue": {
  4629. "description": "建仓会员手续费设置值",
  4630. "type": "number"
  4631. },
  4632. "openqty": {
  4633. "description": "开仓数量(先建后平操作,需要记录)",
  4634. "type": "integer"
  4635. },
  4636. "opentradeqty": {
  4637. "description": "开仓成交数量(先建后平操作,需要记录)",
  4638. "type": "integer"
  4639. },
  4640. "openunfreezecharge": {
  4641. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4642. "type": "number"
  4643. },
  4644. "operatetype": {
  4645. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4646. "type": "integer"
  4647. },
  4648. "operatorid": {
  4649. "description": "登录账号(LoginID)",
  4650. "type": "integer"
  4651. },
  4652. "optiontype": {
  4653. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4654. "type": "integer"
  4655. },
  4656. "orderprice": {
  4657. "description": "委托价格",
  4658. "type": "number"
  4659. },
  4660. "orderqty": {
  4661. "description": "委托数量",
  4662. "type": "integer"
  4663. },
  4664. "ordersrc": {
  4665. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4666. "type": "integer"
  4667. },
  4668. "orderstatus": {
  4669. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4670. "type": "integer"
  4671. },
  4672. "ordertime": {
  4673. "description": "委托时间",
  4674. "type": "string"
  4675. },
  4676. "preexerciseprice": {
  4677. "description": "预申报价格",
  4678. "type": "number"
  4679. },
  4680. "premium": {
  4681. "description": "权利金",
  4682. "type": "number"
  4683. },
  4684. "preorderid": {
  4685. "description": "关联预埋单号(止盈止损单时填写)",
  4686. "type": "integer"
  4687. },
  4688. "pricemode": {
  4689. "description": "取价方式 - 1:市价 2: 限价",
  4690. "type": "integer"
  4691. },
  4692. "quoteid": {
  4693. "description": "报价单ID",
  4694. "type": "integer"
  4695. },
  4696. "relatedid": {
  4697. "description": "关联单号(交割单)",
  4698. "type": "integer"
  4699. },
  4700. "retcode": {
  4701. "description": "错误代码",
  4702. "type": "integer"
  4703. },
  4704. "sessionid": {
  4705. "description": "会话ID",
  4706. "type": "integer"
  4707. },
  4708. "strorderid": {
  4709. "description": "委托单号",
  4710. "type": "string"
  4711. },
  4712. "tradedate": {
  4713. "description": "交易日(yyyyMMdd)",
  4714. "type": "string"
  4715. },
  4716. "tradeproperty": {
  4717. "description": "交易属性",
  4718. "type": "integer"
  4719. },
  4720. "tradeqty": {
  4721. "description": "成交数量",
  4722. "type": "integer"
  4723. },
  4724. "unfreezecharge": {
  4725. "description": "解冻手续费",
  4726. "type": "number"
  4727. },
  4728. "unfreezemargin": {
  4729. "description": "解冻保证金",
  4730. "type": "number"
  4731. },
  4732. "updatetime": {
  4733. "description": "更新时间",
  4734. "type": "string"
  4735. },
  4736. "uuid": {
  4737. "description": "发起端唯一id",
  4738. "type": "string"
  4739. },
  4740. "validtime": {
  4741. "description": "有效期限",
  4742. "type": "string"
  4743. },
  4744. "validtype": {
  4745. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4746. "type": "integer"
  4747. },
  4748. "volumetype": {
  4749. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4750. "type": "integer"
  4751. }
  4752. }
  4753. },
  4754. "cptrade.QueryMyCPTradeGoodsRsp": {
  4755. "type": "object",
  4756. "required": [
  4757. "goodscode",
  4758. "goodsid",
  4759. "goodsname",
  4760. "marketid",
  4761. "relatedgoodscode",
  4762. "relatedgoodsname"
  4763. ],
  4764. "properties": {
  4765. "accountid": {
  4766. "description": "卖方账户ID",
  4767. "type": "integer"
  4768. },
  4769. "agreeunit": {
  4770. "description": "合约单位",
  4771. "type": "number"
  4772. },
  4773. "applyid": {
  4774. "description": "关联申请ID",
  4775. "type": "integer"
  4776. },
  4777. "attachmenturl": {
  4778. "description": "附件地址",
  4779. "type": "string"
  4780. },
  4781. "createtime": {
  4782. "description": "创建时间",
  4783. "type": "string"
  4784. },
  4785. "currencyid": {
  4786. "description": "报价货币ID",
  4787. "type": "integer"
  4788. },
  4789. "decimalplace": {
  4790. "description": "报价小数位",
  4791. "type": "integer"
  4792. },
  4793. "endtime": {
  4794. "description": "预售结束时间",
  4795. "type": "string"
  4796. },
  4797. "floorprice": {
  4798. "description": "底价[大宗式竞拍]",
  4799. "type": "number"
  4800. },
  4801. "goodscode": {
  4802. "description": "商品代码(预售)",
  4803. "type": "string"
  4804. },
  4805. "goodsdetail": {
  4806. "description": "详情[大宗]",
  4807. "type": "string"
  4808. },
  4809. "goodsid": {
  4810. "description": "商品ID(自增ID SEQ_GOODS)",
  4811. "type": "integer"
  4812. },
  4813. "goodsname": {
  4814. "description": "商品名称(预售)",
  4815. "type": "string"
  4816. },
  4817. "goodunit": {
  4818. "description": "报价单位",
  4819. "type": "string"
  4820. },
  4821. "goodunitid": {
  4822. "description": "报价单位ID",
  4823. "type": "integer"
  4824. },
  4825. "marketid": {
  4826. "description": "所属市场ID",
  4827. "type": "integer"
  4828. },
  4829. "marketname": {
  4830. "description": "预售市场名称",
  4831. "type": "string"
  4832. },
  4833. "presaledamount": {
  4834. "description": "已预售总金额(预售结束时更新)",
  4835. "type": "number"
  4836. },
  4837. "presaledqty": {
  4838. "description": "已预售量(预售结束时更新)",
  4839. "type": "integer"
  4840. },
  4841. "presalemode": {
  4842. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4843. "type": "integer"
  4844. },
  4845. "presaleqty": {
  4846. "description": "预售数量",
  4847. "type": "integer"
  4848. },
  4849. "refprice": {
  4850. "description": "参考价格[一口价]",
  4851. "type": "number"
  4852. },
  4853. "relatedgoodscode": {
  4854. "description": "商品代码(订单)",
  4855. "type": "string"
  4856. },
  4857. "relatedgoodsid": {
  4858. "description": "关联交易合约ID",
  4859. "type": "integer"
  4860. },
  4861. "relatedgoodsname": {
  4862. "description": "商品名称(订单)",
  4863. "type": "string"
  4864. },
  4865. "relatedmarketid": {
  4866. "description": "关联交易合约市场ID",
  4867. "type": "integer"
  4868. },
  4869. "sellstatus": {
  4870. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4871. "type": "integer"
  4872. },
  4873. "startprice": {
  4874. "description": "起拍价[大宗式竞拍]",
  4875. "type": "number"
  4876. },
  4877. "starttime": {
  4878. "description": "预售开始时间",
  4879. "type": "string"
  4880. },
  4881. "tradedate": {
  4882. "description": "交易日(yyyyMMdd)",
  4883. "type": "string"
  4884. },
  4885. "tradeprice": {
  4886. "description": "成交价[大宗]",
  4887. "type": "number"
  4888. },
  4889. "userid": {
  4890. "description": "卖方用户ID",
  4891. "type": "integer"
  4892. }
  4893. }
  4894. },
  4895. "cptrade.QueryPresaleGoodsExRsp": {
  4896. "type": "object",
  4897. "required": [
  4898. "goodsid"
  4899. ],
  4900. "properties": {
  4901. "attachmenturl": {
  4902. "description": "附件地址",
  4903. "type": "string"
  4904. },
  4905. "createtime": {
  4906. "description": "创建时间",
  4907. "type": "string"
  4908. },
  4909. "endtime": {
  4910. "description": "预售结束时间",
  4911. "type": "string"
  4912. },
  4913. "floorprice": {
  4914. "description": "底价[大宗式竞拍]",
  4915. "type": "number"
  4916. },
  4917. "goodsdetail": {
  4918. "description": "详情[大宗]",
  4919. "type": "string"
  4920. },
  4921. "goodsid": {
  4922. "description": "商品ID(预售)",
  4923. "type": "integer"
  4924. },
  4925. "goodunit": {
  4926. "description": "报价单位",
  4927. "type": "string"
  4928. },
  4929. "marketid": {
  4930. "description": "预售市场ID - 根据预售模式选择市场",
  4931. "type": "integer"
  4932. },
  4933. "presaledamount": {
  4934. "description": "已预售总金额(预售结束时更新)",
  4935. "type": "number"
  4936. },
  4937. "presaledqty": {
  4938. "description": "已预售量(预售结束时更新)",
  4939. "type": "integer"
  4940. },
  4941. "presalemode": {
  4942. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4943. "type": "integer"
  4944. },
  4945. "presaleqty": {
  4946. "description": "预售数量",
  4947. "type": "integer"
  4948. },
  4949. "refprice": {
  4950. "description": "参考价格[一口价]",
  4951. "type": "number"
  4952. },
  4953. "relatedgoodsid": {
  4954. "description": "关联交易合约ID",
  4955. "type": "integer"
  4956. },
  4957. "relatedmarketid": {
  4958. "description": "关联交易合约市场ID",
  4959. "type": "integer"
  4960. },
  4961. "sellstatus": {
  4962. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4963. "type": "integer"
  4964. },
  4965. "startprice": {
  4966. "description": "起拍价[大宗式竞拍]",
  4967. "type": "number"
  4968. },
  4969. "starttime": {
  4970. "description": "预售开始时间",
  4971. "type": "string"
  4972. },
  4973. "tradedate": {
  4974. "description": "交易日(yyyyMMdd)",
  4975. "type": "string"
  4976. },
  4977. "tradeprice": {
  4978. "description": "成交价[大宗]",
  4979. "type": "number"
  4980. }
  4981. }
  4982. },
  4983. "delivery.QueryDeliveryRelationRsp": {
  4984. "type": "object",
  4985. "required": [
  4986. "begindate",
  4987. "enddate",
  4988. "goodsid",
  4989. "mindeliveryqty",
  4990. "xdeliveryratio"
  4991. ],
  4992. "properties": {
  4993. "begindate": {
  4994. "description": "起始日期(yyyyMMdd)",
  4995. "type": "string"
  4996. },
  4997. "buytemplateid": {
  4998. "description": "买履约计划模板ID",
  4999. "type": "integer"
  5000. },
  5001. "deliverygoodscode": {
  5002. "description": "品种代码",
  5003. "type": "string"
  5004. },
  5005. "deliverygoodsid": {
  5006. "description": "交割商品",
  5007. "type": "integer"
  5008. },
  5009. "deliverygoodsname": {
  5010. "description": "品种名称",
  5011. "type": "string"
  5012. },
  5013. "deliverymode": {
  5014. "description": "交割方式 - 1:点选式 2:申报式",
  5015. "type": "integer"
  5016. },
  5017. "deliverypricerule": {
  5018. "description": "交割价规则- 1:行情价 2:建仓价",
  5019. "type": "integer"
  5020. },
  5021. "deliverytype": {
  5022. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5023. "type": "integer"
  5024. },
  5025. "enddate": {
  5026. "description": "结束日期(yyyyMMdd)",
  5027. "type": "string"
  5028. },
  5029. "goodscode": {
  5030. "description": "商品代码",
  5031. "type": "string"
  5032. },
  5033. "goodsid": {
  5034. "description": "交易合约ID",
  5035. "type": "integer"
  5036. },
  5037. "goodsname": {
  5038. "description": "商品名称",
  5039. "type": "string"
  5040. },
  5041. "marketid": {
  5042. "description": "市场ID",
  5043. "type": "integer"
  5044. },
  5045. "mindeliveryqty": {
  5046. "description": "最小交割系数(K)",
  5047. "type": "integer"
  5048. },
  5049. "p2deliveryprice": {
  5050. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5051. "type": "number"
  5052. },
  5053. "p2deliveryratio": {
  5054. "description": "P2合约系数(p)",
  5055. "type": "integer"
  5056. },
  5057. "p2goodsid": {
  5058. "description": "P2合约ID",
  5059. "type": "integer"
  5060. },
  5061. "p2pricemode": {
  5062. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5063. "type": "integer"
  5064. },
  5065. "pdeliveryprice": {
  5066. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5067. "type": "number"
  5068. },
  5069. "pdeliveryratio": {
  5070. "description": "P合约系数(n)",
  5071. "type": "integer"
  5072. },
  5073. "pgoodsid": {
  5074. "description": "P合约ID",
  5075. "type": "integer"
  5076. },
  5077. "ppricemode": {
  5078. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5079. "type": "integer"
  5080. },
  5081. "rratio": {
  5082. "description": "兑换系数(R)",
  5083. "type": "integer"
  5084. },
  5085. "rratio1": {
  5086. "description": "兑换系数(交易合约)(R1)",
  5087. "type": "integer"
  5088. },
  5089. "rratio2": {
  5090. "description": "兑换系数(仓单标准)(R2)",
  5091. "type": "integer"
  5092. },
  5093. "selltemplateid": {
  5094. "description": "卖履约计划模板ID",
  5095. "type": "integer"
  5096. },
  5097. "wrstandardid": {
  5098. "description": "仓单标准ID",
  5099. "type": "integer"
  5100. },
  5101. "xdeliveryratio": {
  5102. "description": "交易合约系数(m)",
  5103. "type": "integer"
  5104. }
  5105. }
  5106. },
  5107. "ermcp.QryErmcpRsp": {
  5108. "$ref": "#/definitions/models.ErmcpModel"
  5109. },
  5110. "ermcp.QryHedgePlanRsp": {
  5111. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5112. },
  5113. "ermcp.QryUserInfoRsp": {
  5114. "$ref": "#/definitions/models.ErmcpUserModel"
  5115. },
  5116. "erms2.QueryArbitrageStrategyRsp": {
  5117. "type": "object",
  5118. "required": [
  5119. "asapplyid"
  5120. ],
  5121. "properties": {
  5122. "applybasis": {
  5123. "description": "申请基差",
  5124. "type": "number"
  5125. },
  5126. "asapplyid": {
  5127. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5128. "type": "string"
  5129. },
  5130. "asname": {
  5131. "description": "策略名称",
  5132. "type": "string"
  5133. },
  5134. "asno": {
  5135. "description": "策略编号",
  5136. "type": "string"
  5137. },
  5138. "basischangepl": {
  5139. "description": "基差变动损益[结算更新]",
  5140. "type": "number"
  5141. },
  5142. "biztype": {
  5143. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5144. "type": "integer"
  5145. },
  5146. "closetradedate": {
  5147. "description": "完结交易日(yyyyMMdd)",
  5148. "type": "string"
  5149. },
  5150. "curbasis": {
  5151. "description": "当前基差[结算更新]",
  5152. "type": "number"
  5153. },
  5154. "deliverygoodsid": {
  5155. "description": "现货品种ID",
  5156. "type": "integer"
  5157. },
  5158. "futureavgprice": {
  5159. "description": "期货建仓均价",
  5160. "type": "number"
  5161. },
  5162. "futurecloseamount": {
  5163. "description": "期货平仓金额",
  5164. "type": "number"
  5165. },
  5166. "futurecloseqty": {
  5167. "description": "期货平仓数量",
  5168. "type": "number"
  5169. },
  5170. "futureopenamount": {
  5171. "description": "期货开仓金额",
  5172. "type": "number"
  5173. },
  5174. "futureopenqty": {
  5175. "description": "期货开仓数量",
  5176. "type": "number"
  5177. },
  5178. "futurepl": {
  5179. "description": "期货总盈亏[结算更新]",
  5180. "type": "number"
  5181. },
  5182. "futureqty": {
  5183. "description": "期货持仓数量",
  5184. "type": "number"
  5185. },
  5186. "futurequote": {
  5187. "description": "期货额度",
  5188. "type": "number"
  5189. },
  5190. "goodsgroupid": {
  5191. "description": "期货品种ID",
  5192. "type": "integer"
  5193. },
  5194. "marketid": {
  5195. "description": "市场ID",
  5196. "type": "integer"
  5197. },
  5198. "netexposure": {
  5199. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5200. "type": "number"
  5201. },
  5202. "netexposurepl": {
  5203. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5204. "type": "number"
  5205. },
  5206. "netexposurerate": {
  5207. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5208. "type": "number"
  5209. },
  5210. "openbasis": {
  5211. "description": "建仓基差",
  5212. "type": "number"
  5213. },
  5214. "pricedspotqty": {
  5215. "description": "已定价现货数量",
  5216. "type": "number"
  5217. },
  5218. "pricedspotqtynotax": {
  5219. "description": "已定价现货不含税数量",
  5220. "type": "number"
  5221. },
  5222. "remark": {
  5223. "description": "备注",
  5224. "type": "string"
  5225. },
  5226. "spotavgprice": {
  5227. "description": "现货均价",
  5228. "type": "number"
  5229. },
  5230. "spotbuyamount": {
  5231. "description": "现货采购金额",
  5232. "type": "number"
  5233. },
  5234. "spotbuyqty": {
  5235. "description": "现货采购数量",
  5236. "type": "number"
  5237. },
  5238. "spotpl": {
  5239. "description": "现货总盈亏[结算更新]",
  5240. "type": "number"
  5241. },
  5242. "spotquota": {
  5243. "description": "现货额度",
  5244. "type": "number"
  5245. },
  5246. "spotsellamount": {
  5247. "description": "现货销售金额",
  5248. "type": "number"
  5249. },
  5250. "spotsellqty": {
  5251. "description": "现货销售数量",
  5252. "type": "number"
  5253. },
  5254. "spotusedquota": {
  5255. "description": "现货占用资金",
  5256. "type": "number"
  5257. },
  5258. "strategystatus": {
  5259. "description": "策略状态 - 0:未结束 1:已结束",
  5260. "type": "integer"
  5261. },
  5262. "totalpl": {
  5263. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5264. "type": "number"
  5265. },
  5266. "tradedate": {
  5267. "description": "交易日(yyyyMMdd)",
  5268. "type": "string"
  5269. },
  5270. "updatetime": {
  5271. "description": "更新时间",
  5272. "type": "string"
  5273. },
  5274. "usedquota": {
  5275. "description": "已占用资金",
  5276. "type": "number"
  5277. },
  5278. "userid": {
  5279. "description": "所属机构",
  5280. "type": "integer"
  5281. }
  5282. }
  5283. },
  5284. "erms2.QueryInnerTradeDetailRsp": {
  5285. "type": "object",
  5286. "required": [
  5287. "asapplyid",
  5288. "buyorsell",
  5289. "goodscode",
  5290. "goodsgroupid",
  5291. "goodsgroupname",
  5292. "goodsname",
  5293. "tradeid"
  5294. ],
  5295. "properties": {
  5296. "accountid": {
  5297. "description": "账号ID",
  5298. "type": "integer"
  5299. },
  5300. "agreeunit": {
  5301. "description": "合约单位",
  5302. "type": "number"
  5303. },
  5304. "asapplyid": {
  5305. "description": "策略申请ID",
  5306. "type": "integer"
  5307. },
  5308. "asname": {
  5309. "description": "策略名称",
  5310. "type": "string"
  5311. },
  5312. "asno": {
  5313. "description": "策略编号",
  5314. "type": "string"
  5315. },
  5316. "buyorsell": {
  5317. "description": "方向 - 0:买 1:卖",
  5318. "type": "integer"
  5319. },
  5320. "channelbuildtype": {
  5321. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5322. "type": "integer"
  5323. },
  5324. "closetype": {
  5325. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5326. "type": "integer"
  5327. },
  5328. "decimalplace": {
  5329. "description": "报价小数位",
  5330. "type": "integer"
  5331. },
  5332. "detailtype": {
  5333. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5334. "type": "integer"
  5335. },
  5336. "exexchangecode": {
  5337. "description": "外部交易所代码",
  5338. "type": "string"
  5339. },
  5340. "exexchangename": {
  5341. "description": "外部交易所名称",
  5342. "type": "string"
  5343. },
  5344. "goodscode": {
  5345. "description": "商品代码(合约)",
  5346. "type": "string"
  5347. },
  5348. "goodsgroupid": {
  5349. "description": "商品组ID(品种ID)",
  5350. "type": "integer"
  5351. },
  5352. "goodsgroupname": {
  5353. "description": "商品组名称(品种)",
  5354. "type": "string"
  5355. },
  5356. "goodsid": {
  5357. "description": "商品ID",
  5358. "type": "integer"
  5359. },
  5360. "goodsname": {
  5361. "description": "商品名称(合约)",
  5362. "type": "string"
  5363. },
  5364. "goodunit": {
  5365. "description": "报价单位",
  5366. "type": "string"
  5367. },
  5368. "marketid": {
  5369. "description": "市场ID",
  5370. "type": "integer"
  5371. },
  5372. "orderid": {
  5373. "description": "委托单号",
  5374. "type": "string"
  5375. },
  5376. "outgoodscode": {
  5377. "description": "商品代码(外部)",
  5378. "type": "string"
  5379. },
  5380. "relatedouttradeid": {
  5381. "description": "关联外部成交单ID",
  5382. "type": "string"
  5383. },
  5384. "remark": {
  5385. "description": "备注",
  5386. "type": "string"
  5387. },
  5388. "spotcontractid": {
  5389. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5390. "type": "integer"
  5391. },
  5392. "spotcontractno": {
  5393. "description": "现货合同编号",
  5394. "type": "string"
  5395. },
  5396. "tradeid": {
  5397. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5398. "type": "string"
  5399. },
  5400. "tradeprice": {
  5401. "description": "成交价格",
  5402. "type": "number"
  5403. },
  5404. "tradeqty": {
  5405. "description": "成交数量",
  5406. "type": "integer"
  5407. },
  5408. "tradetime": {
  5409. "description": "成交时间",
  5410. "type": "string"
  5411. },
  5412. "updatetime": {
  5413. "description": "更新时间",
  5414. "type": "string"
  5415. }
  5416. }
  5417. },
  5418. "erms2.QuerySpotContractRsp": {
  5419. "type": "object",
  5420. "required": [
  5421. "spotcontractid"
  5422. ],
  5423. "properties": {
  5424. "accountid": {
  5425. "description": "资金账户ID",
  5426. "type": "integer"
  5427. },
  5428. "areauserid": {
  5429. "description": "所属机构",
  5430. "type": "integer"
  5431. },
  5432. "closedate": {
  5433. "description": "终止日期",
  5434. "type": "string"
  5435. },
  5436. "closeremark": {
  5437. "description": "结束备注",
  5438. "type": "string"
  5439. },
  5440. "closetradedate": {
  5441. "description": "完结交易日(yyyyMMdd)",
  5442. "type": "string"
  5443. },
  5444. "closetype": {
  5445. "description": "终止类型 - 1:违约 2:提前终止",
  5446. "type": "integer"
  5447. },
  5448. "contractamount": {
  5449. "description": "合同金额",
  5450. "type": "number"
  5451. },
  5452. "contractattachment": {
  5453. "description": "合同附件",
  5454. "type": "string"
  5455. },
  5456. "contractno": {
  5457. "description": "现货合同编号",
  5458. "type": "string"
  5459. },
  5460. "contractqty": {
  5461. "description": "合同数量(数值) (用于计算)",
  5462. "type": "number"
  5463. },
  5464. "contractqtychar": {
  5465. "description": "合同数量\\已订价数量 (用于显示)",
  5466. "type": "string"
  5467. },
  5468. "contractstatus": {
  5469. "description": "合同状态 - 0:未结束 1:已结束",
  5470. "type": "integer"
  5471. },
  5472. "contracttype": {
  5473. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5474. "type": "integer"
  5475. },
  5476. "customeraccountid": {
  5477. "description": "客户资金账户ID",
  5478. "type": "integer"
  5479. },
  5480. "customeruserid": {
  5481. "description": "客户ID",
  5482. "type": "integer"
  5483. },
  5484. "deliverygoodsdesc": {
  5485. "description": "品种说明",
  5486. "type": "string"
  5487. },
  5488. "deliverygoodsid": {
  5489. "description": "现货品种ID",
  5490. "type": "integer"
  5491. },
  5492. "handlestatus": {
  5493. "description": "处理状态",
  5494. "type": "integer"
  5495. },
  5496. "invoiceatt": {
  5497. "description": "发票附件",
  5498. "type": "string"
  5499. },
  5500. "invoicedatetime": {
  5501. "description": "开收票更新时间",
  5502. "type": "string"
  5503. },
  5504. "invoiceopentime": {
  5505. "description": "开票时间",
  5506. "type": "string"
  5507. },
  5508. "invoiceremark": {
  5509. "description": "发票备注",
  5510. "type": "string"
  5511. },
  5512. "invoicestatus": {
  5513. "description": "开收票状态 - 0:未开票 1:已开票",
  5514. "type": "integer"
  5515. },
  5516. "lastdate": {
  5517. "description": "交货时间",
  5518. "type": "string"
  5519. },
  5520. "marketid": {
  5521. "description": "市场ID",
  5522. "type": "integer"
  5523. },
  5524. "paydatetime": {
  5525. "description": "收付款更新时间",
  5526. "type": "string"
  5527. },
  5528. "payremark": {
  5529. "description": "收付款备注",
  5530. "type": "string"
  5531. },
  5532. "paystatus": {
  5533. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5534. "type": "integer"
  5535. },
  5536. "positionqty": {
  5537. "description": "头寸数量 - 合同数量去小数部分",
  5538. "type": "integer"
  5539. },
  5540. "producttype": {
  5541. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5542. "type": "integer"
  5543. },
  5544. "relatedqty": {
  5545. "description": "已关联数量",
  5546. "type": "number"
  5547. },
  5548. "relatedstatus": {
  5549. "description": "关联完结状态 - 0:未结束 1:已结束",
  5550. "type": "integer"
  5551. },
  5552. "remark": {
  5553. "description": "备注",
  5554. "type": "string"
  5555. },
  5556. "signdate": {
  5557. "description": "签订日期",
  5558. "type": "string"
  5559. },
  5560. "spotcontractid": {
  5561. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5562. "type": "string"
  5563. },
  5564. "spotdatetime": {
  5565. "description": "收发货更新时间",
  5566. "type": "string"
  5567. },
  5568. "spotprice": {
  5569. "description": "价格",
  5570. "type": "number"
  5571. },
  5572. "spotremark": {
  5573. "description": "收发货备注",
  5574. "type": "string"
  5575. },
  5576. "spotstatus": {
  5577. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5578. "type": "integer"
  5579. },
  5580. "tradedate": {
  5581. "description": "交易日(yyyyMMdd)",
  5582. "type": "string"
  5583. },
  5584. "userid": {
  5585. "description": "业务员用户ID",
  5586. "type": "integer"
  5587. },
  5588. "warehouseid": {
  5589. "description": "仓库ID",
  5590. "type": "integer"
  5591. },
  5592. "wrfactortypeid": {
  5593. "description": "仓单要素类型ID",
  5594. "type": "integer"
  5595. },
  5596. "wrstandardid": {
  5597. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5598. "type": "integer"
  5599. }
  5600. }
  5601. },
  5602. "erms3.AddErms2ASApplyReq": {
  5603. "type": "object",
  5604. "required": [
  5605. "asapplyid"
  5606. ],
  5607. "properties": {
  5608. "applybasis": {
  5609. "description": "申请基差",
  5610. "type": "number"
  5611. },
  5612. "applystatus": {
  5613. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5614. "type": "integer"
  5615. },
  5616. "asapplyid": {
  5617. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5618. "type": "integer"
  5619. },
  5620. "asname": {
  5621. "description": "策略名称",
  5622. "type": "string"
  5623. },
  5624. "asno": {
  5625. "description": "策略编号",
  5626. "type": "string"
  5627. },
  5628. "auditid": {
  5629. "description": "审核人",
  5630. "type": "integer"
  5631. },
  5632. "auditremark": {
  5633. "description": "审核备注",
  5634. "type": "string"
  5635. },
  5636. "audittime": {
  5637. "description": "审核时间",
  5638. "type": "string"
  5639. },
  5640. "biztype": {
  5641. "description": "业务类型 - 1:正向套利 2:反向套利",
  5642. "type": "integer"
  5643. },
  5644. "createtime": {
  5645. "description": "创建时间",
  5646. "type": "string"
  5647. },
  5648. "creatorid": {
  5649. "description": "创建人",
  5650. "type": "integer"
  5651. },
  5652. "deliverygoodsid": {
  5653. "description": "现货品种ID",
  5654. "type": "integer"
  5655. },
  5656. "futurequote": {
  5657. "description": "期货额度",
  5658. "type": "number"
  5659. },
  5660. "goodsgroupid": {
  5661. "description": "期货品种ID",
  5662. "type": "integer"
  5663. },
  5664. "marketid": {
  5665. "description": "市场ID",
  5666. "type": "integer"
  5667. },
  5668. "remark": {
  5669. "description": "备注",
  5670. "type": "string"
  5671. },
  5672. "spotquota": {
  5673. "description": "现货额度",
  5674. "type": "number"
  5675. },
  5676. "tradedate": {
  5677. "description": "交易日(yyyyMMdd)",
  5678. "type": "string"
  5679. },
  5680. "userid": {
  5681. "description": "所属机构",
  5682. "type": "integer"
  5683. }
  5684. }
  5685. },
  5686. "erms3.AddErms2SpotTradeApplyReq": {
  5687. "type": "object",
  5688. "required": [
  5689. "spottradeid"
  5690. ],
  5691. "properties": {
  5692. "applyjsondetail": {
  5693. "description": "申请明细(JSON)",
  5694. "type": "string"
  5695. },
  5696. "applystatus": {
  5697. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5698. "type": "integer"
  5699. },
  5700. "areauserid": {
  5701. "description": "所属机构",
  5702. "type": "integer"
  5703. },
  5704. "auditid": {
  5705. "description": "审核人",
  5706. "type": "integer"
  5707. },
  5708. "auditremark": {
  5709. "description": "审核备注",
  5710. "type": "string"
  5711. },
  5712. "audittime": {
  5713. "description": "审核时间",
  5714. "type": "string"
  5715. },
  5716. "createtime": {
  5717. "description": "创建时间",
  5718. "type": "string"
  5719. },
  5720. "creatorid": {
  5721. "description": "创建人",
  5722. "type": "integer"
  5723. },
  5724. "deliverygoodsid": {
  5725. "description": "现货品种ID",
  5726. "type": "integer"
  5727. },
  5728. "futureaccountid": {
  5729. "description": "期货资金账户",
  5730. "type": "integer"
  5731. },
  5732. "goodsgroupid": {
  5733. "description": "期货品种",
  5734. "type": "integer"
  5735. },
  5736. "marketid": {
  5737. "description": "市场ID",
  5738. "type": "integer"
  5739. },
  5740. "remark": {
  5741. "description": "备注",
  5742. "type": "string"
  5743. },
  5744. "spotaccountid": {
  5745. "description": "现货资金账户",
  5746. "type": "integer"
  5747. },
  5748. "spottradeid": {
  5749. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5750. "type": "integer"
  5751. },
  5752. "spottradename": {
  5753. "description": "业务名称",
  5754. "type": "string"
  5755. },
  5756. "spottradeno": {
  5757. "description": "业务编号",
  5758. "type": "string"
  5759. },
  5760. "tradedate": {
  5761. "description": "交易日(yyyyMMdd)",
  5762. "type": "string"
  5763. },
  5764. "wrstandardid": {
  5765. "description": "仓单标准ID",
  5766. "type": "integer"
  5767. }
  5768. }
  5769. },
  5770. "erms3.AddSpotContractApplyReq": {
  5771. "type": "object",
  5772. "required": [
  5773. "accountid",
  5774. "areauserid",
  5775. "contractno",
  5776. "contracttype",
  5777. "customeraccountid",
  5778. "customeruserid",
  5779. "details",
  5780. "orimargin",
  5781. "signdate"
  5782. ],
  5783. "properties": {
  5784. "accountid": {
  5785. "description": "资金账户ID",
  5786. "type": "integer"
  5787. },
  5788. "areauserid": {
  5789. "description": "所属机构",
  5790. "type": "integer"
  5791. },
  5792. "contractattachment": {
  5793. "description": "合同附件",
  5794. "type": "string"
  5795. },
  5796. "contractno": {
  5797. "description": "现货合同编号",
  5798. "type": "string"
  5799. },
  5800. "contracttype": {
  5801. "description": "现货合同类型 - 1:采购 -1:销售",
  5802. "type": "integer"
  5803. },
  5804. "creatorid": {
  5805. "description": "申请人",
  5806. "type": "integer"
  5807. },
  5808. "customeraccountid": {
  5809. "description": "客户资金账户ID",
  5810. "type": "integer"
  5811. },
  5812. "customeruserid": {
  5813. "description": "客户ID",
  5814. "type": "integer"
  5815. },
  5816. "details": {
  5817. "description": "明细",
  5818. "type": "array",
  5819. "items": {
  5820. "$ref": "#/definitions/erms3.SoptContractDetail"
  5821. }
  5822. },
  5823. "orimargin": {
  5824. "description": "初始保证金",
  5825. "type": "number"
  5826. },
  5827. "remark": {
  5828. "description": "备注",
  5829. "type": "string"
  5830. },
  5831. "signdate": {
  5832. "description": "签订日期",
  5833. "type": "string"
  5834. }
  5835. }
  5836. },
  5837. "erms3.AddSpotContractApplyRsp": {
  5838. "type": "object",
  5839. "required": [
  5840. "contractno"
  5841. ],
  5842. "properties": {
  5843. "contractno": {
  5844. "description": "现货合同编号",
  5845. "type": "string"
  5846. },
  5847. "spotcontractid": {
  5848. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5849. "type": "integer"
  5850. }
  5851. }
  5852. },
  5853. "erms3.AddUserInfoApplyReq": {
  5854. "type": "object",
  5855. "required": [
  5856. "userid"
  5857. ],
  5858. "properties": {
  5859. "accountid": {
  5860. "description": "交易系统帐号Id (加密存储)",
  5861. "type": "integer"
  5862. },
  5863. "areacode": {
  5864. "description": "机构代码",
  5865. "type": "string"
  5866. },
  5867. "areaid": {
  5868. "description": "机构Id",
  5869. "type": "integer"
  5870. },
  5871. "attachment1": {
  5872. "description": "附件1",
  5873. "type": "string"
  5874. },
  5875. "attachment2": {
  5876. "description": "附件2",
  5877. "type": "string"
  5878. },
  5879. "attachment3": {
  5880. "description": "附件3",
  5881. "type": "string"
  5882. },
  5883. "attachment4": {
  5884. "description": "附件4",
  5885. "type": "string"
  5886. },
  5887. "attachment5": {
  5888. "description": "附件5",
  5889. "type": "string"
  5890. },
  5891. "auditedby": {
  5892. "description": "审核人",
  5893. "type": "string"
  5894. },
  5895. "auditime": {
  5896. "description": "审核时间",
  5897. "type": "string"
  5898. },
  5899. "bankaccount": {
  5900. "description": "银行帐号 (加密存储)",
  5901. "type": "string"
  5902. },
  5903. "bankaccountname": {
  5904. "description": "收款人名称",
  5905. "type": "string"
  5906. },
  5907. "bankcardbackphotourl": {
  5908. "description": "银行卡背面照地址",
  5909. "type": "string"
  5910. },
  5911. "bankcardfrontphotourl": {
  5912. "description": "银行卡正面照地址",
  5913. "type": "string"
  5914. },
  5915. "bankid": {
  5916. "description": "银行编码",
  5917. "type": "string"
  5918. },
  5919. "bankname": {
  5920. "description": "银行名称",
  5921. "type": "string"
  5922. },
  5923. "bankpictureurl": {
  5924. "description": "银行卡正面地址",
  5925. "type": "string"
  5926. },
  5927. "biznature": {
  5928. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5929. "type": "integer"
  5930. },
  5931. "bizscope": {
  5932. "description": "企业经营范围(企业)",
  5933. "type": "string"
  5934. },
  5935. "biztype": {
  5936. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5937. "type": "integer"
  5938. },
  5939. "brokerid": {
  5940. "description": "经纪人ID(加密存储)",
  5941. "type": "string"
  5942. },
  5943. "cardaddress": {
  5944. "description": "证件地址 (加密存储)",
  5945. "type": "string"
  5946. },
  5947. "cardbackphotourl": {
  5948. "description": "背面证件照地址",
  5949. "type": "string"
  5950. },
  5951. "cardfrontphotourl": {
  5952. "description": "正面证件照地址",
  5953. "type": "string"
  5954. },
  5955. "cardnum": {
  5956. "description": "证件号码 (加密存储)",
  5957. "type": "string"
  5958. },
  5959. "cardtype": {
  5960. "description": "证件类型",
  5961. "type": "integer"
  5962. },
  5963. "cityid": {
  5964. "description": "市",
  5965. "type": "integer"
  5966. },
  5967. "company": {
  5968. "description": "公司(个人)",
  5969. "type": "string"
  5970. },
  5971. "contactcardbackphotourl": {
  5972. "description": "联系人证件背面图片地址",
  5973. "type": "string"
  5974. },
  5975. "contactcardfrontphotourl": {
  5976. "description": "联系人证件正面图片地址",
  5977. "type": "string"
  5978. },
  5979. "contactname": {
  5980. "description": "联系人",
  5981. "type": "string"
  5982. },
  5983. "countryid": {
  5984. "description": "国家",
  5985. "type": "integer"
  5986. },
  5987. "createtime": {
  5988. "description": "开户申请时间",
  5989. "type": "string"
  5990. },
  5991. "cusbankid": {
  5992. "description": "签约类型",
  5993. "type": "string"
  5994. },
  5995. "cusbankname": {
  5996. "description": "签约类型名称",
  5997. "type": "string"
  5998. },
  5999. "customername": {
  6000. "description": "客户名称(企业名称)",
  6001. "type": "string"
  6002. },
  6003. "districtid": {
  6004. "description": "地区",
  6005. "type": "integer"
  6006. },
  6007. "email": {
  6008. "description": "Email地址(加密存储)",
  6009. "type": "string"
  6010. },
  6011. "halfbodyphotourl": {
  6012. "description": "半身照地址",
  6013. "type": "string"
  6014. },
  6015. "headurl": {
  6016. "description": "头像地址",
  6017. "type": "string"
  6018. },
  6019. "ipaddress": {
  6020. "description": "IP地址",
  6021. "type": "string"
  6022. },
  6023. "isvalidate": {
  6024. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6025. "type": "string"
  6026. },
  6027. "legalcardbackphotourl": {
  6028. "description": "法人身份证背面照地址",
  6029. "type": "string"
  6030. },
  6031. "legalcardfrontphotourl": {
  6032. "description": "法人身份证正面照地址",
  6033. "type": "string"
  6034. },
  6035. "legalpersonname": {
  6036. "description": "法人姓名(企业)",
  6037. "type": "string"
  6038. },
  6039. "logincode": {
  6040. "description": "登录帐号 (加密存储)",
  6041. "type": "string"
  6042. },
  6043. "memberareaid": {
  6044. "description": "所属会员ID",
  6045. "type": "integer"
  6046. },
  6047. "mobile2": {
  6048. "description": "手机号码[明文-尚志]",
  6049. "type": "string"
  6050. },
  6051. "mobilephone": {
  6052. "description": "手机号码 (加密存储)",
  6053. "type": "string"
  6054. },
  6055. "modifiedby": {
  6056. "description": "修改人帐号",
  6057. "type": "integer"
  6058. },
  6059. "modifiedtime": {
  6060. "description": "修改时间",
  6061. "type": "string"
  6062. },
  6063. "nickname": {
  6064. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6065. "type": "string"
  6066. },
  6067. "openmode": {
  6068. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6069. "type": "integer"
  6070. },
  6071. "otherurl": {
  6072. "description": "其它图片地址[使用分号分隔]",
  6073. "type": "string"
  6074. },
  6075. "postalcode": {
  6076. "description": "邮政编码",
  6077. "type": "string"
  6078. },
  6079. "provinceid": {
  6080. "description": "省",
  6081. "type": "integer"
  6082. },
  6083. "proxystatementurl": {
  6084. "description": "授权委托书",
  6085. "type": "string"
  6086. },
  6087. "qq": {
  6088. "description": "QQ(加密存储",
  6089. "type": "string"
  6090. },
  6091. "referral": {
  6092. "description": "推荐人编码",
  6093. "type": "string"
  6094. },
  6095. "remark": {
  6096. "description": "备注",
  6097. "type": "string"
  6098. },
  6099. "removebeforestatus": {
  6100. "description": "REMOVEBEFORESTATUS",
  6101. "type": "integer"
  6102. },
  6103. "sex": {
  6104. "description": "性别 - 0:女 1:男",
  6105. "type": "integer"
  6106. },
  6107. "signedstatus": {
  6108. "description": "账户一号签签约状态",
  6109. "type": "integer"
  6110. },
  6111. "signpdfurl": {
  6112. "description": "签约pdf文件",
  6113. "type": "string"
  6114. },
  6115. "subbranch": {
  6116. "description": "开户支行",
  6117. "type": "string"
  6118. },
  6119. "telphone": {
  6120. "description": "联系电话(加密存储)",
  6121. "type": "string"
  6122. },
  6123. "userid": {
  6124. "description": "用户ID(自增ID)",
  6125. "type": "integer"
  6126. },
  6127. "userinfotype": {
  6128. "description": "用户信息类型 - 1:个人 2:企业",
  6129. "type": "integer"
  6130. },
  6131. "username": {
  6132. "description": "用户姓名",
  6133. "type": "string"
  6134. },
  6135. "userstate": {
  6136. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6137. "type": "integer"
  6138. },
  6139. "usertype": {
  6140. "description": "用户类型 - 1:投资者 2:机构",
  6141. "type": "integer"
  6142. },
  6143. "videourl": {
  6144. "description": "视频地址",
  6145. "type": "string"
  6146. },
  6147. "wechat": {
  6148. "description": "微信号 (加密存储)",
  6149. "type": "string"
  6150. }
  6151. }
  6152. },
  6153. "erms3.CustomerInfo": {
  6154. "type": "object",
  6155. "required": [
  6156. "userid"
  6157. ],
  6158. "properties": {
  6159. "accountids": {
  6160. "description": "资金账户ID列表",
  6161. "type": "array",
  6162. "items": {
  6163. "type": "integer"
  6164. }
  6165. },
  6166. "customername": {
  6167. "description": "名称(企业名称)",
  6168. "type": "string"
  6169. },
  6170. "mobile": {
  6171. "description": "手机号码",
  6172. "type": "string"
  6173. },
  6174. "userid": {
  6175. "description": "用户ID",
  6176. "type": "integer"
  6177. }
  6178. }
  6179. },
  6180. "erms3.QryAuditContractRsp": {
  6181. "type": "object",
  6182. "required": [
  6183. "matchcustomername",
  6184. "spotcontractid"
  6185. ],
  6186. "properties": {
  6187. "accountid": {
  6188. "description": "交易员ID",
  6189. "type": "string"
  6190. },
  6191. "applystatus": {
  6192. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6193. "type": "integer"
  6194. },
  6195. "curdeliveryqty": {
  6196. "description": "未交收量",
  6197. "type": "integer"
  6198. },
  6199. "customername": {
  6200. "description": "采购方ID",
  6201. "type": "string"
  6202. },
  6203. "deliverygoodsid": {
  6204. "description": "品种ID",
  6205. "type": "string"
  6206. },
  6207. "deliveryqty": {
  6208. "description": "交收量",
  6209. "type": "integer"
  6210. },
  6211. "enumdicname": {
  6212. "description": "单位名称",
  6213. "type": "string"
  6214. },
  6215. "matchaccountid": {
  6216. "description": "业务员ID",
  6217. "type": "string"
  6218. },
  6219. "matchcustomername": {
  6220. "description": "销售方ID",
  6221. "type": "string"
  6222. },
  6223. "pricedqty": {
  6224. "description": "定价量",
  6225. "type": "number"
  6226. },
  6227. "signdate": {
  6228. "description": "签订日期",
  6229. "type": "string"
  6230. },
  6231. "spotcontractid": {
  6232. "description": "合同ID",
  6233. "type": "string"
  6234. },
  6235. "totaldqty": {
  6236. "description": "合同量",
  6237. "type": "number"
  6238. },
  6239. "unpricedqty": {
  6240. "description": "未定价量",
  6241. "type": "number"
  6242. },
  6243. "wrstandardname": {
  6244. "description": "商品名称",
  6245. "type": "string"
  6246. }
  6247. }
  6248. },
  6249. "erms3.QryPendingBizRsp": {
  6250. "$ref": "#/definitions/models.PendingAuditBizModel"
  6251. },
  6252. "erms3.QueryBusinessInfoRsp": {
  6253. "type": "object",
  6254. "properties": {
  6255. "businessid": {
  6256. "description": "业务ID.",
  6257. "type": "integer"
  6258. },
  6259. "buyamount": {
  6260. "description": "采购额.",
  6261. "type": "number"
  6262. },
  6263. "buyqty": {
  6264. "description": "采购量.",
  6265. "type": "string"
  6266. },
  6267. "futurepl": {
  6268. "description": "期货盈亏.",
  6269. "type": "number"
  6270. },
  6271. "futureqty": {
  6272. "description": "期货敞口.",
  6273. "type": "string"
  6274. },
  6275. "goodsid": {
  6276. "description": "商品名称/商品代码.",
  6277. "type": "string"
  6278. },
  6279. "hedgingqty": {
  6280. "description": "套保量.",
  6281. "type": "string"
  6282. },
  6283. "sellamount": {
  6284. "description": "销售额.",
  6285. "type": "number"
  6286. },
  6287. "sellqty": {
  6288. "description": "销售量.",
  6289. "type": "string"
  6290. },
  6291. "spotmarketvalue": {
  6292. "description": "现货市值.",
  6293. "type": "number"
  6294. },
  6295. "spotpl": {
  6296. "description": "浮动权益.",
  6297. "type": "number"
  6298. },
  6299. "spotqty": {
  6300. "description": "现货量.",
  6301. "type": "string"
  6302. },
  6303. "statu": {
  6304. "description": "状态,0-未结束 1-已结束.",
  6305. "type": "integer"
  6306. },
  6307. "totalpl": {
  6308. "description": "总盈亏.",
  6309. "type": "number"
  6310. },
  6311. "totalqty": {
  6312. "description": "总敞口.",
  6313. "type": "string"
  6314. },
  6315. "type": {
  6316. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6317. "type": "integer"
  6318. }
  6319. }
  6320. },
  6321. "erms3.QuerySpotContractAppleFormRsp": {
  6322. "type": "object",
  6323. "properties": {
  6324. "goodses": {
  6325. "description": "合约列表",
  6326. "type": "array",
  6327. "items": {
  6328. "$ref": "#/definitions/models.GoodsIDAndName"
  6329. }
  6330. },
  6331. "oppositeusers": {
  6332. "description": "对方账号列表",
  6333. "type": "array",
  6334. "items": {
  6335. "$ref": "#/definitions/erms3.CustomerInfo"
  6336. }
  6337. },
  6338. "ouruser": {
  6339. "description": "我方账号",
  6340. "type": "object",
  6341. "$ref": "#/definitions/erms3.CustomerInfo"
  6342. },
  6343. "warehouseinfos": {
  6344. "description": "仓库信息列表",
  6345. "type": "array",
  6346. "items": {
  6347. "$ref": "#/definitions/models.Warehouseinfo"
  6348. }
  6349. },
  6350. "wrstandards": {
  6351. "description": "仓单标准列表",
  6352. "type": "array",
  6353. "items": {
  6354. "$ref": "#/definitions/models.WRStandardInfo"
  6355. }
  6356. }
  6357. }
  6358. },
  6359. "erms3.QuerySpotContractInfoRsp": {
  6360. "type": "object",
  6361. "properties": {
  6362. "accountid": {
  6363. "description": "表示交易员ID.",
  6364. "type": "integer"
  6365. },
  6366. "curdeliveryqty": {
  6367. "description": "表示未交收量.",
  6368. "type": "number"
  6369. },
  6370. "customername": {
  6371. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6372. "type": "string"
  6373. },
  6374. "deliverygoodsid": {
  6375. "description": "表示品种ID.",
  6376. "type": "string"
  6377. },
  6378. "deliveryqty": {
  6379. "description": "表示交收量.",
  6380. "type": "number"
  6381. },
  6382. "matchaccountid": {
  6383. "description": "表示业务员ID.",
  6384. "type": "integer"
  6385. },
  6386. "matchcustomername": {
  6387. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6388. "type": "string"
  6389. },
  6390. "priceqty": {
  6391. "description": "表示定价量.",
  6392. "type": "number"
  6393. },
  6394. "relatedbizid": {
  6395. "description": "表示业务ID.",
  6396. "type": "string"
  6397. },
  6398. "signdate": {
  6399. "description": "表示签订日期.",
  6400. "type": "string"
  6401. },
  6402. "spotcontractid": {
  6403. "description": "合同ID",
  6404. "type": "string"
  6405. },
  6406. "status": {
  6407. "description": "表示状态,0-履约中 1-已完成.",
  6408. "type": "integer"
  6409. },
  6410. "totalqty": {
  6411. "description": "表示合同量.",
  6412. "type": "number"
  6413. },
  6414. "unpricedqty": {
  6415. "description": "表示未定价量.",
  6416. "type": "number"
  6417. },
  6418. "wrstandardname": {
  6419. "description": "表示商品ID.",
  6420. "type": "string"
  6421. }
  6422. }
  6423. },
  6424. "erms3.QueryUserInfoAppliesRsp": {
  6425. "type": "object",
  6426. "required": [
  6427. "userid"
  6428. ],
  6429. "properties": {
  6430. "biznature": {
  6431. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6432. "type": "integer"
  6433. },
  6434. "contactname": {
  6435. "description": "联系人",
  6436. "type": "string"
  6437. },
  6438. "createtime": {
  6439. "description": "开户申请时间",
  6440. "type": "string"
  6441. },
  6442. "userid": {
  6443. "description": "用户ID(自增ID)",
  6444. "type": "integer"
  6445. },
  6446. "userinfotype": {
  6447. "description": "用户信息类型 - 1:个人 2:企业",
  6448. "type": "integer"
  6449. },
  6450. "username": {
  6451. "description": "用户姓名",
  6452. "type": "string"
  6453. },
  6454. "userstate": {
  6455. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6456. "type": "integer"
  6457. }
  6458. }
  6459. },
  6460. "erms3.QueryUserInfosRsp": {
  6461. "type": "object",
  6462. "required": [
  6463. "userid"
  6464. ],
  6465. "properties": {
  6466. "biznature": {
  6467. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6468. "type": "integer"
  6469. },
  6470. "contactname": {
  6471. "description": "联系人",
  6472. "type": "string"
  6473. },
  6474. "customername": {
  6475. "description": "客户名称(企业名称)",
  6476. "type": "string"
  6477. },
  6478. "userid": {
  6479. "description": "用户ID",
  6480. "type": "integer"
  6481. },
  6482. "userinfotype": {
  6483. "description": "用户信息类型 - 1:个人 2:企业",
  6484. "type": "integer"
  6485. },
  6486. "userstatus": {
  6487. "description": "用户状态 - 1:正常 2:注销",
  6488. "type": "integer"
  6489. }
  6490. }
  6491. },
  6492. "erms3.SoptContractDetail": {
  6493. "type": "object",
  6494. "required": [
  6495. "deliverygoodsid",
  6496. "producttype",
  6497. "unitname",
  6498. "warehouseid",
  6499. "wrstandardid",
  6500. "wrstandardname"
  6501. ],
  6502. "properties": {
  6503. "deliverygoodsdesc": {
  6504. "description": "现货品种说明",
  6505. "type": "string"
  6506. },
  6507. "deliverygoodsid": {
  6508. "description": "现货品种ID",
  6509. "type": "integer"
  6510. },
  6511. "deliverygoodsname": {
  6512. "description": "现货品种名称",
  6513. "type": "string"
  6514. },
  6515. "pointdesc": {
  6516. "description": "点价描述",
  6517. "type": "string"
  6518. },
  6519. "producttype": {
  6520. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6521. "type": "integer"
  6522. },
  6523. "producttypename": {
  6524. "description": "产品类型名称",
  6525. "type": "string"
  6526. },
  6527. "spotPointOrderVoList": {
  6528. "description": "点价列表",
  6529. "type": "array",
  6530. "items": {
  6531. "$ref": "#/definitions/erms3.SpotPointOrder"
  6532. }
  6533. },
  6534. "spotPriceOrderList": {
  6535. "description": "定价列表",
  6536. "type": "array",
  6537. "items": {
  6538. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6539. }
  6540. },
  6541. "unitname": {
  6542. "description": "单位名称",
  6543. "type": "string"
  6544. },
  6545. "warehouseid": {
  6546. "description": "仓库ID",
  6547. "type": "integer"
  6548. },
  6549. "warehousename": {
  6550. "description": "仓库名称",
  6551. "type": "string"
  6552. },
  6553. "wrstandardid": {
  6554. "description": "交易标的ID",
  6555. "type": "integer"
  6556. },
  6557. "wrstandardname": {
  6558. "description": "交易标的名称",
  6559. "type": "string"
  6560. }
  6561. }
  6562. },
  6563. "erms3.SpotPointOrder": {
  6564. "type": "object",
  6565. "required": [
  6566. "basic",
  6567. "goodsid",
  6568. "qty"
  6569. ],
  6570. "properties": {
  6571. "basic": {
  6572. "description": "基差",
  6573. "type": "number"
  6574. },
  6575. "deliveryenddate": {
  6576. "description": "交收结束日期",
  6577. "type": "string"
  6578. },
  6579. "deliverystartdate": {
  6580. "description": "交收开始日期",
  6581. "type": "string"
  6582. },
  6583. "enddate": {
  6584. "description": "点价结束日期",
  6585. "type": "string"
  6586. },
  6587. "goodsid": {
  6588. "description": "商品ID",
  6589. "type": "integer"
  6590. },
  6591. "goodsname": {
  6592. "description": "商品名称",
  6593. "type": "string"
  6594. },
  6595. "qty": {
  6596. "description": "数量",
  6597. "type": "number"
  6598. },
  6599. "startdate": {
  6600. "description": "点价开始日期",
  6601. "type": "string"
  6602. }
  6603. }
  6604. },
  6605. "erms3.SpotPriceOrder": {
  6606. "type": "object",
  6607. "required": [
  6608. "amount",
  6609. "price",
  6610. "qty"
  6611. ],
  6612. "properties": {
  6613. "amount": {
  6614. "description": "金额",
  6615. "type": "number"
  6616. },
  6617. "deliveryenddate": {
  6618. "description": "交收结束日期",
  6619. "type": "string"
  6620. },
  6621. "deliverystartdate": {
  6622. "description": "交收开始日期",
  6623. "type": "string"
  6624. },
  6625. "price": {
  6626. "description": "价格",
  6627. "type": "number"
  6628. },
  6629. "qty": {
  6630. "description": "数量",
  6631. "type": "number"
  6632. }
  6633. }
  6634. },
  6635. "hsby.GetHsbyMyCountRsp": {
  6636. "type": "object",
  6637. "properties": {
  6638. "myCouponCount": {
  6639. "description": "我的优惠卷数量",
  6640. "type": "integer"
  6641. },
  6642. "myOrderDetailListingCount": {
  6643. "description": "我的订单求购中数量",
  6644. "type": "integer"
  6645. },
  6646. "myOrderDetailPreCount": {
  6647. "description": "我的订单抢购中数量",
  6648. "type": "integer"
  6649. },
  6650. "myPackageUnReceiveCount": {
  6651. "description": "我的包裹待收货数量",
  6652. "type": "integer"
  6653. },
  6654. "myPackageUnSendCount": {
  6655. "description": "我的包裹待发货数量",
  6656. "type": "integer"
  6657. },
  6658. "myPayOrderCount": {
  6659. "description": "我的订单待付款数量",
  6660. "type": "integer"
  6661. }
  6662. }
  6663. },
  6664. "hsby.QueryProvincesAndCitiesRsp": {
  6665. "type": "object",
  6666. "properties": {
  6667. "cities": {
  6668. "description": "市",
  6669. "type": "array",
  6670. "items": {
  6671. "$ref": "#/definitions/models.Division"
  6672. }
  6673. },
  6674. "province": {
  6675. "description": "省",
  6676. "type": "object",
  6677. "$ref": "#/definitions/models.Division"
  6678. }
  6679. }
  6680. },
  6681. "models.Division": {
  6682. "type": "object",
  6683. "required": [
  6684. "autoid",
  6685. "divisioncode"
  6686. ],
  6687. "properties": {
  6688. "autoid": {
  6689. "description": "自增ID",
  6690. "type": "integer"
  6691. },
  6692. "divisioncode": {
  6693. "description": "行政代码",
  6694. "type": "string"
  6695. },
  6696. "divisionlevel": {
  6697. "description": "行政级别",
  6698. "type": "string"
  6699. },
  6700. "divisionname": {
  6701. "description": "行政名称",
  6702. "type": "string"
  6703. },
  6704. "modifierid": {
  6705. "description": "修改人",
  6706. "type": "integer"
  6707. },
  6708. "modifytime": {
  6709. "description": "修改时间",
  6710. "type": "string"
  6711. },
  6712. "parentcode": {
  6713. "description": "上级行政代码",
  6714. "type": "string"
  6715. },
  6716. "pathname": {
  6717. "description": "路径名称",
  6718. "type": "string"
  6719. },
  6720. "postcode": {
  6721. "description": "邮政编码",
  6722. "type": "string"
  6723. },
  6724. "separablename": {
  6725. "description": "可拆分的全称",
  6726. "type": "string"
  6727. },
  6728. "shortcode": {
  6729. "description": "地区简码",
  6730. "type": "string"
  6731. }
  6732. }
  6733. },
  6734. "models.Enumdicitem": {
  6735. "type": "object",
  6736. "required": [
  6737. "autoid",
  6738. "enumdiccode",
  6739. "enumdicid",
  6740. "enumitemname"
  6741. ],
  6742. "properties": {
  6743. "autoid": {
  6744. "description": "自增ID",
  6745. "type": "integer"
  6746. },
  6747. "bankmappedvalue": {
  6748. "description": "银行服务对应值",
  6749. "type": "string"
  6750. },
  6751. "enumdiccode": {
  6752. "description": "所属枚举代码",
  6753. "type": "string"
  6754. },
  6755. "enumdicid": {
  6756. "description": "所属枚举ID",
  6757. "type": "integer"
  6758. },
  6759. "enumdicname": {
  6760. "description": "枚举项名称",
  6761. "type": "string"
  6762. },
  6763. "enumitemname": {
  6764. "description": "枚举项值",
  6765. "type": "integer"
  6766. },
  6767. "enumitemstatus": {
  6768. "description": "枚举项状态 - 1.启用 2.不启用",
  6769. "type": "integer"
  6770. },
  6771. "enumitemvalue": {
  6772. "description": "通用值 - [币种通用简写]",
  6773. "type": "string"
  6774. },
  6775. "param1": {
  6776. "description": "参数1[币种:币种小数位]",
  6777. "type": "string"
  6778. },
  6779. "param2": {
  6780. "description": "参数1[币种:币种显示单位]",
  6781. "type": "string"
  6782. },
  6783. "remark": {
  6784. "description": "备注",
  6785. "type": "string"
  6786. }
  6787. }
  6788. },
  6789. "models.ErmcpHedgePlan": {
  6790. "type": "object",
  6791. "properties": {
  6792. "contracttype": {
  6793. "description": "计划类型 - 1:采购 -1:销售",
  6794. "type": "integer"
  6795. },
  6796. "convertfactor": {
  6797. "description": "标仓系数",
  6798. "type": "number"
  6799. },
  6800. "deliverygoodsid": {
  6801. "description": "现货品种ID",
  6802. "type": "integer"
  6803. },
  6804. "deliverygoodsname": {
  6805. "description": "现货品种名称",
  6806. "type": "string"
  6807. },
  6808. "hedgeplanid": {
  6809. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6810. "type": "string"
  6811. },
  6812. "hedgeplanno": {
  6813. "description": "套保计划编号",
  6814. "type": "string"
  6815. },
  6816. "hedgeplanstatus": {
  6817. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6818. "type": "integer"
  6819. },
  6820. "planqty": {
  6821. "description": "计划数量",
  6822. "type": "number"
  6823. },
  6824. "plantime": {
  6825. "description": "计划时间",
  6826. "type": "string"
  6827. },
  6828. "producttype": {
  6829. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6830. "type": "integer"
  6831. },
  6832. "remark": {
  6833. "description": "备注",
  6834. "type": "string"
  6835. },
  6836. "spotgoodsdesc": {
  6837. "description": "商品型号",
  6838. "type": "string"
  6839. },
  6840. "wrstandardid": {
  6841. "description": "现货商品ID",
  6842. "type": "integer"
  6843. },
  6844. "wrstandardname": {
  6845. "description": "现货商品名称",
  6846. "type": "string"
  6847. }
  6848. }
  6849. },
  6850. "models.ErmcpModel": {
  6851. "type": "object",
  6852. "properties": {
  6853. "accountid": {
  6854. "description": "账户ID",
  6855. "type": "string"
  6856. },
  6857. "accountname": {
  6858. "description": "账户名称",
  6859. "type": "string"
  6860. },
  6861. "contracctstatus": {
  6862. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6863. "type": "integer"
  6864. },
  6865. "convertfactor": {
  6866. "description": "标仓系数",
  6867. "type": "number"
  6868. },
  6869. "daikaiAmount": {
  6870. "description": "待开票额",
  6871. "type": "number"
  6872. },
  6873. "deliveryenddate": {
  6874. "description": "交割结束日",
  6875. "type": "string"
  6876. },
  6877. "deliverygoodscode": {
  6878. "description": "现货商品代码",
  6879. "type": "string"
  6880. },
  6881. "deliverygoodsid": {
  6882. "description": "现货商品ID",
  6883. "type": "integer"
  6884. },
  6885. "deliverygoodsname": {
  6886. "description": "现货商品名称",
  6887. "type": "string"
  6888. },
  6889. "deliverystartdate": {
  6890. "description": "交割开始日",
  6891. "type": "string"
  6892. },
  6893. "enddate": {
  6894. "description": "点价结束日",
  6895. "type": "string"
  6896. },
  6897. "enumdicname": {
  6898. "description": "单位名称",
  6899. "type": "string"
  6900. },
  6901. "goodscode": {
  6902. "description": "点价商品代码",
  6903. "type": "string"
  6904. },
  6905. "goodsid": {
  6906. "description": "点价商品ID",
  6907. "type": "integer"
  6908. },
  6909. "invoiceamount": {
  6910. "description": "已开票额",
  6911. "type": "number"
  6912. },
  6913. "payamount": {
  6914. "description": "已收付额(收款或付款)",
  6915. "type": "number"
  6916. },
  6917. "pricedqty": {
  6918. "description": "已定价量",
  6919. "type": "number"
  6920. },
  6921. "pricemove": {
  6922. "description": "升贴水",
  6923. "type": "number"
  6924. },
  6925. "pricetype": {
  6926. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6927. "type": "integer"
  6928. },
  6929. "producttype": {
  6930. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6931. "type": "integer"
  6932. },
  6933. "qty": {
  6934. "description": "合同量",
  6935. "type": "number"
  6936. },
  6937. "spotcontractid": {
  6938. "description": "合同ID",
  6939. "type": "integer"
  6940. },
  6941. "spotgoodsdesc": {
  6942. "description": "商品型号(商品规格)",
  6943. "type": "string"
  6944. },
  6945. "startdate": {
  6946. "description": "点价开始日",
  6947. "type": "string"
  6948. },
  6949. "unpayAmount": {
  6950. "description": "待支收额(支付或收款)",
  6951. "type": "number"
  6952. },
  6953. "unpricedqty": {
  6954. "description": "未定价量",
  6955. "type": "number"
  6956. },
  6957. "unsureqty": {
  6958. "description": "未确定量",
  6959. "type": "number"
  6960. }
  6961. }
  6962. },
  6963. "models.ErmcpUserModel": {
  6964. "type": "object",
  6965. "properties": {
  6966. "address": {
  6967. "description": "通讯地址",
  6968. "type": "string"
  6969. },
  6970. "cardnum": {
  6971. "description": "证件号码",
  6972. "type": "string"
  6973. },
  6974. "cardtype": {
  6975. "description": "证件类型",
  6976. "type": "string"
  6977. },
  6978. "customername": {
  6979. "description": "企业名称",
  6980. "type": "string"
  6981. },
  6982. "mobile": {
  6983. "description": "手机号码",
  6984. "type": "string"
  6985. },
  6986. "remark": {
  6987. "description": "备注",
  6988. "type": "string"
  6989. },
  6990. "status": {
  6991. "description": "账户状态",
  6992. "type": "string"
  6993. },
  6994. "telphone": {
  6995. "description": "联系电话",
  6996. "type": "string"
  6997. },
  6998. "userinfotype": {
  6999. "description": "客户类型",
  7000. "type": "string"
  7001. }
  7002. }
  7003. },
  7004. "models.GoodsIDAndName": {
  7005. "type": "object",
  7006. "required": [
  7007. "goodscode",
  7008. "goodsid",
  7009. "goodsname",
  7010. "marketid"
  7011. ],
  7012. "properties": {
  7013. "goodscode": {
  7014. "description": "商品代码(内部)",
  7015. "type": "string"
  7016. },
  7017. "goodsid": {
  7018. "description": "商品ID(自增ID SEQ_GOODS)",
  7019. "type": "integer"
  7020. },
  7021. "goodsname": {
  7022. "description": "商品名称",
  7023. "type": "string"
  7024. },
  7025. "marketid": {
  7026. "description": "所属市场ID",
  7027. "type": "integer"
  7028. }
  7029. }
  7030. },
  7031. "models.HsbyBuyMyPayOrder": {
  7032. "type": "object",
  7033. "required": [
  7034. "goodscode",
  7035. "goodsname",
  7036. "tradeid",
  7037. "trademode"
  7038. ],
  7039. "properties": {
  7040. "agreeunit": {
  7041. "description": "合约单位",
  7042. "type": "number"
  7043. },
  7044. "buyaccountid": {
  7045. "description": "买方账号ID[报价币种]",
  7046. "type": "integer"
  7047. },
  7048. "buyorderid": {
  7049. "description": "买方委托单号",
  7050. "type": "string"
  7051. },
  7052. "createtime": {
  7053. "description": "创建时间",
  7054. "type": "string"
  7055. },
  7056. "currencysign": {
  7057. "description": "货币符号",
  7058. "type": "string"
  7059. },
  7060. "decimalplace": {
  7061. "description": "报价小数位",
  7062. "type": "integer"
  7063. },
  7064. "goodscode": {
  7065. "description": "商品代码(内部)",
  7066. "type": "string"
  7067. },
  7068. "goodsid": {
  7069. "description": "商品ID",
  7070. "type": "integer"
  7071. },
  7072. "goodsname": {
  7073. "description": "商品名称",
  7074. "type": "string"
  7075. },
  7076. "marketid": {
  7077. "description": "市场ID",
  7078. "type": "integer"
  7079. },
  7080. "offamount": {
  7081. "description": "优惠金额",
  7082. "type": "number"
  7083. },
  7084. "payamount": {
  7085. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7086. "type": "number"
  7087. },
  7088. "payflag": {
  7089. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7090. "type": "integer"
  7091. },
  7092. "paylimitedtime": {
  7093. "description": "支付期限",
  7094. "type": "string"
  7095. },
  7096. "paytime": {
  7097. "description": "付款时间",
  7098. "type": "string"
  7099. },
  7100. "picurls1": {
  7101. "description": "预售商品介绍图片[多张用逗号分隔]",
  7102. "type": "string"
  7103. },
  7104. "picurls2": {
  7105. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7106. "type": "string"
  7107. },
  7108. "sellaccountid": {
  7109. "description": "卖方账号ID[报价币种]",
  7110. "type": "integer"
  7111. },
  7112. "sellorderid": {
  7113. "description": "卖方委托单号",
  7114. "type": "string"
  7115. },
  7116. "tradeamount": {
  7117. "description": "成交金额",
  7118. "type": "number"
  7119. },
  7120. "tradecharge": {
  7121. "description": "成交手续费(买方)",
  7122. "type": "number"
  7123. },
  7124. "tradedate": {
  7125. "description": "交易日(yyyyMMdd)",
  7126. "type": "string"
  7127. },
  7128. "tradeid": {
  7129. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7130. "type": "string"
  7131. },
  7132. "trademode": {
  7133. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7134. "type": "integer"
  7135. },
  7136. "tradeprice": {
  7137. "description": "成交价格",
  7138. "type": "number"
  7139. },
  7140. "tradeqty": {
  7141. "description": "成交数量",
  7142. "type": "integer"
  7143. },
  7144. "vendorname1": {
  7145. "description": "预售商品供应商名称",
  7146. "type": "string"
  7147. },
  7148. "vendorname2": {
  7149. "description": "挂牌商品供应商名称",
  7150. "type": "string"
  7151. }
  7152. }
  7153. },
  7154. "models.HsbyBuyMyTradeDetail": {
  7155. "type": "object",
  7156. "required": [
  7157. "accountid",
  7158. "buyorsell",
  7159. "goodscode",
  7160. "goodsid",
  7161. "goodsname",
  7162. "marketid",
  7163. "orderid",
  7164. "qty",
  7165. "time",
  7166. "trademode"
  7167. ],
  7168. "properties": {
  7169. "accountid": {
  7170. "description": "账户ID[报价币种]",
  7171. "type": "integer"
  7172. },
  7173. "agreeunit": {
  7174. "description": "合约单位",
  7175. "type": "number"
  7176. },
  7177. "amount": {
  7178. "description": "金额 = 价格 * 数量 * 合约单位",
  7179. "type": "number"
  7180. },
  7181. "buyorsell": {
  7182. "description": "买卖 - 0:买 1:卖",
  7183. "type": "integer"
  7184. },
  7185. "currencysign": {
  7186. "description": "货币符号",
  7187. "type": "string"
  7188. },
  7189. "decimalplace": {
  7190. "description": "报价小数位",
  7191. "type": "integer"
  7192. },
  7193. "goodscode": {
  7194. "description": "商品代码(内部)",
  7195. "type": "string"
  7196. },
  7197. "goodsid": {
  7198. "description": "商品ID",
  7199. "type": "integer"
  7200. },
  7201. "goodsname": {
  7202. "description": "商品名称",
  7203. "type": "string"
  7204. },
  7205. "marketid": {
  7206. "description": "市场ID",
  7207. "type": "integer"
  7208. },
  7209. "orderid": {
  7210. "description": "单号(成交单号)",
  7211. "type": "string"
  7212. },
  7213. "picurls1": {
  7214. "description": "预售商品介绍图片[多张用逗号分隔]",
  7215. "type": "string"
  7216. },
  7217. "picurls2": {
  7218. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7219. "type": "string"
  7220. },
  7221. "price": {
  7222. "description": "价格",
  7223. "type": "number"
  7224. },
  7225. "qty": {
  7226. "description": "数量",
  7227. "type": "integer"
  7228. },
  7229. "time": {
  7230. "description": "时间",
  7231. "type": "string"
  7232. },
  7233. "trademode": {
  7234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7235. "type": "integer"
  7236. },
  7237. "vendorname1": {
  7238. "description": "预售商品供应商名称",
  7239. "type": "string"
  7240. },
  7241. "vendorname2": {
  7242. "description": "挂牌商品供应商名称",
  7243. "type": "string"
  7244. }
  7245. }
  7246. },
  7247. "models.HsbyGoodsOrderDetail": {
  7248. "type": "object",
  7249. "required": [
  7250. "buyorsell",
  7251. "orderid",
  7252. "ordertime"
  7253. ],
  7254. "properties": {
  7255. "buyorsell": {
  7256. "description": "买卖 - 0:买 1:卖",
  7257. "type": "integer"
  7258. },
  7259. "currencysign": {
  7260. "description": "货币符号",
  7261. "type": "string"
  7262. },
  7263. "customername": {
  7264. "description": "客户名称(企业名称),已脱敏",
  7265. "type": "string"
  7266. },
  7267. "enableqty": {
  7268. "description": "可用数量",
  7269. "type": "integer"
  7270. },
  7271. "goodunit": {
  7272. "description": "报价单位",
  7273. "type": "string"
  7274. },
  7275. "orderid": {
  7276. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7277. "type": "string"
  7278. },
  7279. "orderprice": {
  7280. "description": "委托价格",
  7281. "type": "number"
  7282. },
  7283. "ordertime": {
  7284. "description": "委托时间",
  7285. "type": "string"
  7286. }
  7287. }
  7288. },
  7289. "models.HsbyListingGoodsDetail": {
  7290. "type": "object",
  7291. "required": [
  7292. "goodscode",
  7293. "goodsid",
  7294. "goodsname",
  7295. "marketid",
  7296. "trademode"
  7297. ],
  7298. "properties": {
  7299. "agreeunit": {
  7300. "description": "合约单位",
  7301. "type": "number"
  7302. },
  7303. "currency": {
  7304. "description": "货币",
  7305. "type": "string"
  7306. },
  7307. "currencysign": {
  7308. "description": "货币符号",
  7309. "type": "string"
  7310. },
  7311. "decimalplace": {
  7312. "description": "报价小数位",
  7313. "type": "integer"
  7314. },
  7315. "desccityid": {
  7316. "description": "目的地(市)ID",
  7317. "type": "integer"
  7318. },
  7319. "descprovinceid": {
  7320. "description": "目的地(省)ID",
  7321. "type": "integer"
  7322. },
  7323. "goodscode": {
  7324. "description": "商品代码(内部)",
  7325. "type": "string"
  7326. },
  7327. "goodsdesc": {
  7328. "description": "商品详情",
  7329. "type": "string"
  7330. },
  7331. "goodsid": {
  7332. "description": "商品ID(自增ID SEQ_GOODS)",
  7333. "type": "integer"
  7334. },
  7335. "goodsname": {
  7336. "description": "商品名称",
  7337. "type": "string"
  7338. },
  7339. "goodsprice": {
  7340. "description": "商品价格",
  7341. "type": "number"
  7342. },
  7343. "hotindex": {
  7344. "description": "景点热度",
  7345. "type": "integer"
  7346. },
  7347. "last": {
  7348. "description": "现价",
  7349. "type": "number"
  7350. },
  7351. "limitdown": {
  7352. "description": "跌停价",
  7353. "type": "number"
  7354. },
  7355. "limitup": {
  7356. "description": "涨停价",
  7357. "type": "number"
  7358. },
  7359. "lotsize": {
  7360. "description": "手数最小变动单位",
  7361. "type": "integer"
  7362. },
  7363. "marketid": {
  7364. "description": "所属市场ID",
  7365. "type": "integer"
  7366. },
  7367. "picurls": {
  7368. "description": "介绍图片[多张用逗号分隔]",
  7369. "type": "string"
  7370. },
  7371. "quoteminunit": {
  7372. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7373. "type": "integer"
  7374. },
  7375. "stepvalue": {
  7376. "description": "价格最小变动单位",
  7377. "type": "number"
  7378. },
  7379. "trademode": {
  7380. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7381. "type": "integer"
  7382. },
  7383. "vendorattr": {
  7384. "description": "供应商附件(多张,逗号分隔)",
  7385. "type": "string"
  7386. },
  7387. "vendorname": {
  7388. "description": "供应商名称",
  7389. "type": "string"
  7390. },
  7391. "vendorphone": {
  7392. "description": "供应商客服电话",
  7393. "type": "string"
  7394. },
  7395. "videourls": {
  7396. "description": "介绍视频[多张用逗号分隔]",
  7397. "type": "string"
  7398. }
  7399. }
  7400. },
  7401. "models.HsbyMarketGoods": {
  7402. "type": "object",
  7403. "required": [
  7404. "accountid",
  7405. "buyorsell",
  7406. "goodscode",
  7407. "goodsid",
  7408. "goodsname",
  7409. "marketid",
  7410. "orderid",
  7411. "trademode"
  7412. ],
  7413. "properties": {
  7414. "accountid": {
  7415. "description": "账户ID[报价币种]",
  7416. "type": "integer"
  7417. },
  7418. "agreeunit": {
  7419. "description": "合约单位",
  7420. "type": "number"
  7421. },
  7422. "buyorsell": {
  7423. "description": "买卖 - 0:买 1:卖",
  7424. "type": "integer"
  7425. },
  7426. "categoryid": {
  7427. "description": "类别ID(WRCATEGORY)",
  7428. "type": "integer"
  7429. },
  7430. "currency": {
  7431. "description": "货币",
  7432. "type": "string"
  7433. },
  7434. "currencysign": {
  7435. "description": "货币符号",
  7436. "type": "string"
  7437. },
  7438. "customername": {
  7439. "description": "卖家名称",
  7440. "type": "string"
  7441. },
  7442. "decimalplace": {
  7443. "description": "报价小数位",
  7444. "type": "integer"
  7445. },
  7446. "goodscode": {
  7447. "description": "商品代码(内部)",
  7448. "type": "string"
  7449. },
  7450. "goodsid": {
  7451. "description": "商品ID",
  7452. "type": "integer"
  7453. },
  7454. "goodsname": {
  7455. "description": "商品名称",
  7456. "type": "string"
  7457. },
  7458. "hascoupon": {
  7459. "description": "是否可用优惠卷",
  7460. "type": "boolean"
  7461. },
  7462. "hotindex": {
  7463. "description": "景点热度",
  7464. "type": "integer"
  7465. },
  7466. "marketid": {
  7467. "description": "市场ID",
  7468. "type": "integer"
  7469. },
  7470. "orderid": {
  7471. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7472. "type": "string"
  7473. },
  7474. "orderprice": {
  7475. "description": "委托价格",
  7476. "type": "number"
  7477. },
  7478. "orderstatus": {
  7479. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7480. "type": "integer"
  7481. },
  7482. "picurls": {
  7483. "description": "介绍图片[多张用逗号分隔]",
  7484. "type": "string"
  7485. },
  7486. "quoteminunit": {
  7487. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7488. "type": "integer"
  7489. },
  7490. "sellUserID": {
  7491. "description": "卖方UserID",
  7492. "type": "integer"
  7493. },
  7494. "trademode": {
  7495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7496. "type": "integer"
  7497. },
  7498. "videourls": {
  7499. "description": "介绍视频[多张用逗号分隔]",
  7500. "type": "string"
  7501. }
  7502. }
  7503. },
  7504. "models.HsbyMarketGoodsDetail": {
  7505. "type": "object",
  7506. "required": [
  7507. "accountid",
  7508. "buyorsell",
  7509. "goodscode",
  7510. "goodsid",
  7511. "goodsname",
  7512. "marketid",
  7513. "orderid",
  7514. "orderqty",
  7515. "trademode"
  7516. ],
  7517. "properties": {
  7518. "accountid": {
  7519. "description": "账户ID[报价币种]",
  7520. "type": "integer"
  7521. },
  7522. "agreeunit": {
  7523. "description": "合约单位",
  7524. "type": "number"
  7525. },
  7526. "buyorsell": {
  7527. "description": "买卖 - 0:买 1:卖",
  7528. "type": "integer"
  7529. },
  7530. "cancelqty": {
  7531. "description": "撤单数量",
  7532. "type": "integer"
  7533. },
  7534. "categoryid": {
  7535. "description": "类别ID(WRCATEGORY)",
  7536. "type": "integer"
  7537. },
  7538. "currency": {
  7539. "description": "货币",
  7540. "type": "string"
  7541. },
  7542. "currencysign": {
  7543. "description": "货币符号",
  7544. "type": "string"
  7545. },
  7546. "customername": {
  7547. "description": "卖家名称",
  7548. "type": "string"
  7549. },
  7550. "decimalplace": {
  7551. "description": "报价小数位",
  7552. "type": "integer"
  7553. },
  7554. "goodscode": {
  7555. "description": "商品代码(内部)",
  7556. "type": "string"
  7557. },
  7558. "goodsdesc": {
  7559. "description": "商品详情",
  7560. "type": "string"
  7561. },
  7562. "goodsid": {
  7563. "description": "商品ID",
  7564. "type": "integer"
  7565. },
  7566. "goodsname": {
  7567. "description": "商品名称",
  7568. "type": "string"
  7569. },
  7570. "hotindex": {
  7571. "description": "景点热度",
  7572. "type": "integer"
  7573. },
  7574. "marketid": {
  7575. "description": "市场ID",
  7576. "type": "integer"
  7577. },
  7578. "orderid": {
  7579. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7580. "type": "string"
  7581. },
  7582. "orderprice": {
  7583. "description": "委托价格",
  7584. "type": "number"
  7585. },
  7586. "orderqty": {
  7587. "description": "委托数量",
  7588. "type": "integer"
  7589. },
  7590. "orderstatus": {
  7591. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7592. "type": "integer"
  7593. },
  7594. "picurls": {
  7595. "description": "介绍图片[多张用逗号分隔]",
  7596. "type": "string"
  7597. },
  7598. "quoteminunit": {
  7599. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7600. "type": "integer"
  7601. },
  7602. "sellUserID": {
  7603. "description": "卖方UserID",
  7604. "type": "integer"
  7605. },
  7606. "trademode": {
  7607. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7608. "type": "integer"
  7609. },
  7610. "tradeqty": {
  7611. "description": "成交数量",
  7612. "type": "integer"
  7613. },
  7614. "vendorname": {
  7615. "description": "供应商名称",
  7616. "type": "string"
  7617. },
  7618. "videourls": {
  7619. "description": "介绍视频[多张用逗号分隔]",
  7620. "type": "string"
  7621. }
  7622. }
  7623. },
  7624. "models.HsbyMarketInfo": {
  7625. "type": "object",
  7626. "required": [
  7627. "marketid",
  7628. "marketstatus",
  7629. "trademode"
  7630. ],
  7631. "properties": {
  7632. "marketid": {
  7633. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7634. "type": "integer"
  7635. },
  7636. "marketname": {
  7637. "description": "市场名称",
  7638. "type": "string"
  7639. },
  7640. "marketstatus": {
  7641. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7642. "type": "integer"
  7643. },
  7644. "trademode": {
  7645. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7646. "type": "integer"
  7647. }
  7648. }
  7649. },
  7650. "models.HsbyMyGoods": {
  7651. "type": "object",
  7652. "required": [
  7653. "accountid",
  7654. "goodscode",
  7655. "goodsid",
  7656. "goodsname",
  7657. "trademode"
  7658. ],
  7659. "properties": {
  7660. "accountid": {
  7661. "description": "账号Id",
  7662. "type": "integer"
  7663. },
  7664. "agreeunit": {
  7665. "description": "合约单位",
  7666. "type": "number"
  7667. },
  7668. "buyaverageprice": {
  7669. "description": "持仓均价",
  7670. "type": "number"
  7671. },
  7672. "buycurholderamount": {
  7673. "description": "买当前持仓总金额[商品币种]",
  7674. "type": "number"
  7675. },
  7676. "buycurpositionqty": {
  7677. "description": "买当前持仓总数量",
  7678. "type": "integer"
  7679. },
  7680. "currencysign": {
  7681. "description": "货币符号",
  7682. "type": "string"
  7683. },
  7684. "decimalplace": {
  7685. "description": "报价小数位",
  7686. "type": "integer"
  7687. },
  7688. "enableqty": {
  7689. "description": "可用数量",
  7690. "type": "integer"
  7691. },
  7692. "goodscode": {
  7693. "description": "商品代码(内部)",
  7694. "type": "string"
  7695. },
  7696. "goodsid": {
  7697. "description": "商品Id",
  7698. "type": "integer"
  7699. },
  7700. "goodsname": {
  7701. "description": "商品名称",
  7702. "type": "string"
  7703. },
  7704. "goodsstatus": {
  7705. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7706. "type": "integer"
  7707. },
  7708. "picurls": {
  7709. "description": "介绍图片[多张用逗号分隔]",
  7710. "type": "string"
  7711. },
  7712. "trademode": {
  7713. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7714. "type": "integer"
  7715. }
  7716. }
  7717. },
  7718. "models.HsbyMyPackage": {
  7719. "type": "object",
  7720. "required": [
  7721. "goodscode",
  7722. "goodsname",
  7723. "takeorderid"
  7724. ],
  7725. "properties": {
  7726. "accountid": {
  7727. "description": "账户ID",
  7728. "type": "integer"
  7729. },
  7730. "address": {
  7731. "description": "提货人详细地址",
  7732. "type": "string"
  7733. },
  7734. "agreeunit": {
  7735. "description": "合约单位",
  7736. "type": "number"
  7737. },
  7738. "amount": {
  7739. "description": "提货金额",
  7740. "type": "number"
  7741. },
  7742. "auditer": {
  7743. "description": "审核人",
  7744. "type": "integer"
  7745. },
  7746. "audittime": {
  7747. "description": "审核时间",
  7748. "type": "string"
  7749. },
  7750. "averageprice": {
  7751. "description": "均价",
  7752. "type": "number"
  7753. },
  7754. "cardnum": {
  7755. "description": "提货人证件号码",
  7756. "type": "string"
  7757. },
  7758. "cardtypeid": {
  7759. "description": "提货人证件类型",
  7760. "type": "integer"
  7761. },
  7762. "checkremark": {
  7763. "description": "审核备注",
  7764. "type": "string"
  7765. },
  7766. "currencysign": {
  7767. "description": "货币符号",
  7768. "type": "string"
  7769. },
  7770. "decimalplace": {
  7771. "description": "报价小数位",
  7772. "type": "integer"
  7773. },
  7774. "goodscode": {
  7775. "description": "商品代码(内部)",
  7776. "type": "string"
  7777. },
  7778. "goodsid": {
  7779. "description": "商品ID",
  7780. "type": "integer"
  7781. },
  7782. "goodsname": {
  7783. "description": "商品名称",
  7784. "type": "string"
  7785. },
  7786. "handlestatus": {
  7787. "description": "处理状态",
  7788. "type": "integer"
  7789. },
  7790. "marketid": {
  7791. "description": "市场ID",
  7792. "type": "integer"
  7793. },
  7794. "phonenum": {
  7795. "description": "提货人联系方式",
  7796. "type": "string"
  7797. },
  7798. "picurls": {
  7799. "description": "介绍图片[多张用逗号分隔]",
  7800. "type": "string"
  7801. },
  7802. "qty": {
  7803. "description": "提货数量",
  7804. "type": "number"
  7805. },
  7806. "recivername": {
  7807. "description": "提货人姓名",
  7808. "type": "string"
  7809. },
  7810. "reqtime": {
  7811. "description": "更新时间",
  7812. "type": "string"
  7813. },
  7814. "takemode": {
  7815. "description": "提货方式 - 2:自提 3:配送",
  7816. "type": "integer"
  7817. },
  7818. "takeorderid": {
  7819. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7820. "type": "string"
  7821. },
  7822. "takeorderstatus": {
  7823. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7824. "type": "integer"
  7825. },
  7826. "takeremark": {
  7827. "description": "提货备注",
  7828. "type": "string"
  7829. },
  7830. "tradedate": {
  7831. "description": "交易日(yyyyMMdd)",
  7832. "type": "string"
  7833. },
  7834. "userid": {
  7835. "description": "用户ID",
  7836. "type": "integer"
  7837. },
  7838. "vendorname": {
  7839. "description": "供应商名称",
  7840. "type": "string"
  7841. }
  7842. }
  7843. },
  7844. "models.HsbyPreGoods": {
  7845. "type": "object",
  7846. "required": [
  7847. "goodscode",
  7848. "goodsid",
  7849. "goodsname",
  7850. "marketid",
  7851. "trademode"
  7852. ],
  7853. "properties": {
  7854. "agreeunit": {
  7855. "description": "合约单位",
  7856. "type": "number"
  7857. },
  7858. "currency": {
  7859. "description": "货币",
  7860. "type": "string"
  7861. },
  7862. "currencysign": {
  7863. "description": "货币符号",
  7864. "type": "string"
  7865. },
  7866. "decimalplace": {
  7867. "description": "报价小数位",
  7868. "type": "integer"
  7869. },
  7870. "enableqty": {
  7871. "description": "剩余数量",
  7872. "type": "integer"
  7873. },
  7874. "goodscode": {
  7875. "description": "商品代码(内部)",
  7876. "type": "string"
  7877. },
  7878. "goodsid": {
  7879. "description": "商品ID(自增ID SEQ_GOODS)",
  7880. "type": "integer"
  7881. },
  7882. "goodsname": {
  7883. "description": "商品名称",
  7884. "type": "string"
  7885. },
  7886. "goodsstatus": {
  7887. "description": "商品状态- 2:未上市 3:上市",
  7888. "type": "integer"
  7889. },
  7890. "lasttradedate": {
  7891. "description": "最后交易日期(状态:待退市)",
  7892. "type": "string"
  7893. },
  7894. "listingdate": {
  7895. "description": "交易开始日期",
  7896. "type": "string"
  7897. },
  7898. "marketid": {
  7899. "description": "所属市场ID",
  7900. "type": "integer"
  7901. },
  7902. "picurls": {
  7903. "description": "介绍图片[多张用逗号分隔]",
  7904. "type": "string"
  7905. },
  7906. "presaledqty": {
  7907. "description": "已预售量(预售结束时更新)",
  7908. "type": "integer"
  7909. },
  7910. "presaleqty": {
  7911. "description": "预售数量",
  7912. "type": "integer"
  7913. },
  7914. "quoteminunit": {
  7915. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7916. "type": "integer"
  7917. },
  7918. "refprice": {
  7919. "description": "参考价格[一口价]",
  7920. "type": "number"
  7921. },
  7922. "relatedgoodsid": {
  7923. "description": "关联交易合约ID",
  7924. "type": "integer"
  7925. },
  7926. "trademode": {
  7927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7928. "type": "integer"
  7929. },
  7930. "videourls": {
  7931. "description": "介绍视频[多张用逗号分隔]",
  7932. "type": "string"
  7933. }
  7934. }
  7935. },
  7936. "models.HsbyPreGoodsDetail": {
  7937. "type": "object",
  7938. "required": [
  7939. "goodscode",
  7940. "goodsid",
  7941. "goodsname",
  7942. "marketid",
  7943. "trademode"
  7944. ],
  7945. "properties": {
  7946. "agreeunit": {
  7947. "description": "合约单位",
  7948. "type": "number"
  7949. },
  7950. "buymaxqty": {
  7951. "description": "购买上限 [71] - 0为不限",
  7952. "type": "integer"
  7953. },
  7954. "currency": {
  7955. "description": "货币",
  7956. "type": "string"
  7957. },
  7958. "currencysign": {
  7959. "description": "货币符号",
  7960. "type": "string"
  7961. },
  7962. "customername": {
  7963. "description": "发行单位",
  7964. "type": "string"
  7965. },
  7966. "decimalplace": {
  7967. "description": "报价小数位",
  7968. "type": "integer"
  7969. },
  7970. "desccityid": {
  7971. "description": "目的地(市)ID",
  7972. "type": "integer"
  7973. },
  7974. "descprovinceid": {
  7975. "description": "目的地(省)ID",
  7976. "type": "integer"
  7977. },
  7978. "enableqty": {
  7979. "description": "剩余数量",
  7980. "type": "integer"
  7981. },
  7982. "goodscode": {
  7983. "description": "商品代码(内部)",
  7984. "type": "string"
  7985. },
  7986. "goodsdesc": {
  7987. "description": "商品详情",
  7988. "type": "string"
  7989. },
  7990. "goodsid": {
  7991. "description": "商品ID(自增ID SEQ_GOODS)",
  7992. "type": "integer"
  7993. },
  7994. "goodsname": {
  7995. "description": "商品名称",
  7996. "type": "string"
  7997. },
  7998. "goodsstatus": {
  7999. "description": "商品状态- 2:未上市 3:上市",
  8000. "type": "integer"
  8001. },
  8002. "goodunit": {
  8003. "description": "报价单位",
  8004. "type": "string"
  8005. },
  8006. "lasttradedate": {
  8007. "description": "最后交易日期(状态:待退市)",
  8008. "type": "string"
  8009. },
  8010. "listingdate": {
  8011. "description": "交易开始日期",
  8012. "type": "string"
  8013. },
  8014. "lotsize": {
  8015. "description": "手数最小变动单位",
  8016. "type": "integer"
  8017. },
  8018. "marketid": {
  8019. "description": "所属市场ID",
  8020. "type": "integer"
  8021. },
  8022. "picurls": {
  8023. "description": "介绍图片[多张用逗号分隔]",
  8024. "type": "string"
  8025. },
  8026. "presaledqty": {
  8027. "description": "已预售量(预售结束时更新)",
  8028. "type": "integer"
  8029. },
  8030. "presaleqty": {
  8031. "description": "预售数量",
  8032. "type": "integer"
  8033. },
  8034. "quoteminunit": {
  8035. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8036. "type": "integer"
  8037. },
  8038. "refprice": {
  8039. "description": "参考价格[一口价]",
  8040. "type": "number"
  8041. },
  8042. "relatedgoodsid": {
  8043. "description": "关联交易合约ID",
  8044. "type": "integer"
  8045. },
  8046. "stepvalue": {
  8047. "description": "价格最小变动单位",
  8048. "type": "number"
  8049. },
  8050. "trademode": {
  8051. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8052. "type": "integer"
  8053. },
  8054. "vendorattr": {
  8055. "description": "供应商附件(多张,逗号分隔)",
  8056. "type": "string"
  8057. },
  8058. "vendorname": {
  8059. "description": "供应商名称",
  8060. "type": "string"
  8061. },
  8062. "vendorphone": {
  8063. "description": "供应商客服电话",
  8064. "type": "string"
  8065. },
  8066. "videourls": {
  8067. "description": "介绍视频[多张用逗号分隔]",
  8068. "type": "string"
  8069. }
  8070. }
  8071. },
  8072. "models.HsbySellCollectionOrder": {
  8073. "type": "object",
  8074. "required": [
  8075. "goodscode",
  8076. "goodsname",
  8077. "tradeid",
  8078. "trademode"
  8079. ],
  8080. "properties": {
  8081. "agreeunit": {
  8082. "description": "合约单位",
  8083. "type": "number"
  8084. },
  8085. "buyaccountid": {
  8086. "description": "买方账号ID[报价币种]",
  8087. "type": "integer"
  8088. },
  8089. "buyorderid": {
  8090. "description": "买方委托单号",
  8091. "type": "string"
  8092. },
  8093. "createtime": {
  8094. "description": "创建时间",
  8095. "type": "string"
  8096. },
  8097. "currencysign": {
  8098. "description": "货币符号",
  8099. "type": "string"
  8100. },
  8101. "decimalplace": {
  8102. "description": "报价小数位",
  8103. "type": "integer"
  8104. },
  8105. "goodscode": {
  8106. "description": "商品代码(内部)",
  8107. "type": "string"
  8108. },
  8109. "goodsid": {
  8110. "description": "商品ID",
  8111. "type": "integer"
  8112. },
  8113. "goodsname": {
  8114. "description": "商品名称",
  8115. "type": "string"
  8116. },
  8117. "marketid": {
  8118. "description": "市场ID",
  8119. "type": "integer"
  8120. },
  8121. "offamount": {
  8122. "description": "优惠金额",
  8123. "type": "number"
  8124. },
  8125. "payamount": {
  8126. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8127. "type": "number"
  8128. },
  8129. "payflag": {
  8130. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8131. "type": "integer"
  8132. },
  8133. "paylimitedtime": {
  8134. "description": "支付期限",
  8135. "type": "string"
  8136. },
  8137. "paytime": {
  8138. "description": "付款时间",
  8139. "type": "string"
  8140. },
  8141. "picurls": {
  8142. "description": "商品介绍图片[多张用逗号分隔]",
  8143. "type": "string"
  8144. },
  8145. "sellaccountid": {
  8146. "description": "卖方账号ID[报价币种]",
  8147. "type": "integer"
  8148. },
  8149. "sellorderid": {
  8150. "description": "卖方委托单号",
  8151. "type": "string"
  8152. },
  8153. "tradeamount": {
  8154. "description": "成交金额",
  8155. "type": "number"
  8156. },
  8157. "tradecharge": {
  8158. "description": "成交手续费(买方)",
  8159. "type": "number"
  8160. },
  8161. "tradedate": {
  8162. "description": "交易日(yyyyMMdd)",
  8163. "type": "string"
  8164. },
  8165. "tradeid": {
  8166. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8167. "type": "string"
  8168. },
  8169. "trademode": {
  8170. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8171. "type": "integer"
  8172. },
  8173. "tradeprice": {
  8174. "description": "成交价格",
  8175. "type": "number"
  8176. },
  8177. "tradeqty": {
  8178. "description": "成交数量",
  8179. "type": "integer"
  8180. }
  8181. }
  8182. },
  8183. "models.HsbySellMyDetail": {
  8184. "type": "object",
  8185. "required": [
  8186. "accountid",
  8187. "buyorsell",
  8188. "goodscode",
  8189. "goodsid",
  8190. "goodsname",
  8191. "marketid",
  8192. "orderid",
  8193. "time",
  8194. "trademode"
  8195. ],
  8196. "properties": {
  8197. "accountid": {
  8198. "description": "账户ID[报价币种]",
  8199. "type": "integer"
  8200. },
  8201. "agreeunit": {
  8202. "description": "合约单位",
  8203. "type": "number"
  8204. },
  8205. "buyorsell": {
  8206. "description": "买卖 - 0:买 1:卖",
  8207. "type": "integer"
  8208. },
  8209. "currencysign": {
  8210. "description": "货币符号",
  8211. "type": "string"
  8212. },
  8213. "decimalplace": {
  8214. "description": "报价小数位",
  8215. "type": "integer"
  8216. },
  8217. "goodscode": {
  8218. "description": "商品代码(内部)",
  8219. "type": "string"
  8220. },
  8221. "goodsid": {
  8222. "description": "商品ID",
  8223. "type": "integer"
  8224. },
  8225. "goodsname": {
  8226. "description": "商品名称",
  8227. "type": "string"
  8228. },
  8229. "marketid": {
  8230. "description": "市场ID",
  8231. "type": "integer"
  8232. },
  8233. "orderid": {
  8234. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8235. "type": "string"
  8236. },
  8237. "ordertype": {
  8238. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8239. "type": "integer"
  8240. },
  8241. "picurls": {
  8242. "description": "介绍图片[多张用逗号分隔]",
  8243. "type": "string"
  8244. },
  8245. "price": {
  8246. "description": "价格",
  8247. "type": "number"
  8248. },
  8249. "qty": {
  8250. "description": "数量",
  8251. "type": "integer"
  8252. },
  8253. "time": {
  8254. "description": "时间",
  8255. "type": "string"
  8256. },
  8257. "trademode": {
  8258. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8259. "type": "integer"
  8260. },
  8261. "vendorname": {
  8262. "description": "供应商名称",
  8263. "type": "string"
  8264. }
  8265. }
  8266. },
  8267. "models.HsbyTopGoods": {
  8268. "type": "object",
  8269. "required": [
  8270. "goodscode",
  8271. "goodsid",
  8272. "goodsname",
  8273. "marketid",
  8274. "trademode"
  8275. ],
  8276. "properties": {
  8277. "agreeunit": {
  8278. "description": "合约单位",
  8279. "type": "number"
  8280. },
  8281. "currency": {
  8282. "description": "货币",
  8283. "type": "string"
  8284. },
  8285. "currencysign": {
  8286. "description": "货币符号",
  8287. "type": "string"
  8288. },
  8289. "decimalplace": {
  8290. "description": "报价小数位",
  8291. "type": "integer"
  8292. },
  8293. "goodscode": {
  8294. "description": "商品代码(内部)",
  8295. "type": "string"
  8296. },
  8297. "goodsid": {
  8298. "description": "商品ID(自增ID SEQ_GOODS)",
  8299. "type": "integer"
  8300. },
  8301. "goodsname": {
  8302. "description": "商品名称",
  8303. "type": "string"
  8304. },
  8305. "hotindex": {
  8306. "description": "景点热度",
  8307. "type": "integer"
  8308. },
  8309. "last": {
  8310. "description": "现价",
  8311. "type": "number"
  8312. },
  8313. "marketid": {
  8314. "description": "所属市场ID",
  8315. "type": "integer"
  8316. },
  8317. "picurls": {
  8318. "description": "介绍图片[多张用逗号分隔]",
  8319. "type": "string"
  8320. },
  8321. "quoteminunit": {
  8322. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8323. "type": "integer"
  8324. },
  8325. "trademode": {
  8326. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8327. "type": "integer"
  8328. },
  8329. "videourls": {
  8330. "description": "介绍视频[多张用逗号分隔]",
  8331. "type": "string"
  8332. }
  8333. }
  8334. },
  8335. "models.HybsMyBuyOrderDetail": {
  8336. "type": "object",
  8337. "required": [
  8338. "accountid",
  8339. "buyorsell",
  8340. "goodscode",
  8341. "goodsid",
  8342. "goodsname",
  8343. "marketid",
  8344. "orderid",
  8345. "orderqty",
  8346. "ordertime",
  8347. "trademode"
  8348. ],
  8349. "properties": {
  8350. "accountid": {
  8351. "description": "账户ID[报价币种]",
  8352. "type": "integer"
  8353. },
  8354. "agreeunit": {
  8355. "description": "合约单位",
  8356. "type": "number"
  8357. },
  8358. "buyorsell": {
  8359. "description": "买卖 - 0:买 1:卖",
  8360. "type": "integer"
  8361. },
  8362. "cancelqty": {
  8363. "description": "撤单数量",
  8364. "type": "integer"
  8365. },
  8366. "currencysign": {
  8367. "description": "货币符号",
  8368. "type": "string"
  8369. },
  8370. "decimalplace": {
  8371. "description": "报价小数位",
  8372. "type": "integer"
  8373. },
  8374. "goodscode": {
  8375. "description": "商品代码(内部)",
  8376. "type": "string"
  8377. },
  8378. "goodsid": {
  8379. "description": "商品ID",
  8380. "type": "integer"
  8381. },
  8382. "goodsname": {
  8383. "description": "商品名称",
  8384. "type": "string"
  8385. },
  8386. "listingselecttype": {
  8387. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8388. "type": "integer"
  8389. },
  8390. "marketid": {
  8391. "description": "市场ID",
  8392. "type": "integer"
  8393. },
  8394. "mybuystatus": {
  8395. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  8396. "type": "integer"
  8397. },
  8398. "orderamount": {
  8399. "description": "委托金额",
  8400. "type": "number"
  8401. },
  8402. "orderid": {
  8403. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8404. "type": "string"
  8405. },
  8406. "orderprice": {
  8407. "description": "委托价格",
  8408. "type": "number"
  8409. },
  8410. "orderqty": {
  8411. "description": "委托数量",
  8412. "type": "integer"
  8413. },
  8414. "orderstatus": {
  8415. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8416. "type": "integer"
  8417. },
  8418. "ordertime": {
  8419. "description": "委托时间",
  8420. "type": "string"
  8421. },
  8422. "picurls1": {
  8423. "description": "预售商品介绍图片[多张用逗号分隔]",
  8424. "type": "string"
  8425. },
  8426. "picurls2": {
  8427. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8428. "type": "string"
  8429. },
  8430. "trademode": {
  8431. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8432. "type": "integer"
  8433. },
  8434. "tradeqty": {
  8435. "description": "成交数量",
  8436. "type": "integer"
  8437. },
  8438. "vendorname1": {
  8439. "description": "预售商品供应商名称",
  8440. "type": "string"
  8441. },
  8442. "vendorname2": {
  8443. "description": "挂牌商品供应商名称",
  8444. "type": "string"
  8445. }
  8446. }
  8447. },
  8448. "models.Marketrun": {
  8449. "type": "object",
  8450. "required": [
  8451. "marketid",
  8452. "nexttradedate",
  8453. "reckonflag",
  8454. "runstatus",
  8455. "tradedate",
  8456. "tradedate2"
  8457. ],
  8458. "properties": {
  8459. "afternexttradedate": {
  8460. "description": "下下交易日",
  8461. "type": "string"
  8462. },
  8463. "clearquoteflag": {
  8464. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  8465. "type": "integer"
  8466. },
  8467. "lastreckondate": {
  8468. "description": "最新交易日(结算成功)",
  8469. "type": "string"
  8470. },
  8471. "machinedate": {
  8472. "description": "机器时间",
  8473. "type": "string"
  8474. },
  8475. "manualflag": {
  8476. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  8477. "type": "integer"
  8478. },
  8479. "marketid": {
  8480. "description": "市场ID",
  8481. "type": "integer"
  8482. },
  8483. "nexttradedate": {
  8484. "description": "下一交易日",
  8485. "type": "string"
  8486. },
  8487. "pretradedate": {
  8488. "description": "上一交易日",
  8489. "type": "string"
  8490. },
  8491. "reckonflag": {
  8492. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  8493. "type": "integer"
  8494. },
  8495. "runstatus": {
  8496. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  8497. "type": "integer"
  8498. },
  8499. "sectionid": {
  8500. "description": "时间段号[多时段时用]",
  8501. "type": "integer"
  8502. },
  8503. "tradedate": {
  8504. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  8505. "type": "string"
  8506. },
  8507. "tradedate2": {
  8508. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  8509. "type": "string"
  8510. },
  8511. "updatetime": {
  8512. "description": "更新时间",
  8513. "type": "string"
  8514. }
  8515. }
  8516. },
  8517. "models.Messageboard": {
  8518. "type": "object",
  8519. "required": [
  8520. "messageboardid"
  8521. ],
  8522. "properties": {
  8523. "createtime": {
  8524. "description": "创建时间",
  8525. "type": "string"
  8526. },
  8527. "message": {
  8528. "description": "留言信息",
  8529. "type": "string"
  8530. },
  8531. "messageboardid": {
  8532. "description": "留言簿ID(SEQ_MessageBoard)",
  8533. "type": "integer"
  8534. },
  8535. "userid": {
  8536. "description": "用户ID",
  8537. "type": "integer"
  8538. }
  8539. }
  8540. },
  8541. "models.MyCoupon": {
  8542. "type": "object",
  8543. "required": [
  8544. "accountid",
  8545. "coupontypeid"
  8546. ],
  8547. "properties": {
  8548. "accountid": {
  8549. "description": "资金账户ID",
  8550. "type": "integer"
  8551. },
  8552. "areauserid": {
  8553. "description": "所属机构",
  8554. "type": "integer"
  8555. },
  8556. "conditionvalue": {
  8557. "description": "条件阈值(可为0)",
  8558. "type": "number"
  8559. },
  8560. "couponcategroy": {
  8561. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  8562. "type": "integer"
  8563. },
  8564. "couponname": {
  8565. "description": "优惠券名称",
  8566. "type": "string"
  8567. },
  8568. "coupontypeid": {
  8569. "description": "优惠券类型ID",
  8570. "type": "string"
  8571. },
  8572. "couponvalue": {
  8573. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8574. "type": "number"
  8575. },
  8576. "curfreezeqty": {
  8577. "description": "期末冻结数量",
  8578. "type": "integer"
  8579. },
  8580. "curqty": {
  8581. "description": "期末数量",
  8582. "type": "integer"
  8583. },
  8584. "isgeneral": {
  8585. "description": "是否通用券 - 0:否 1:是",
  8586. "type": "integer"
  8587. },
  8588. "isunusable": {
  8589. "description": "是否不可用",
  8590. "type": "boolean"
  8591. },
  8592. "limitedflag": {
  8593. "description": "是否指定商品 - 0:不限 1:限制",
  8594. "type": "integer"
  8595. },
  8596. "limitedgoodsids": {
  8597. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  8598. "type": "string"
  8599. },
  8600. "orifreezeqty": {
  8601. "description": "期初冻结数量",
  8602. "type": "integer"
  8603. },
  8604. "oriqty": {
  8605. "description": "期初数量",
  8606. "type": "integer"
  8607. },
  8608. "reasontype": {
  8609. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  8610. "type": "integer"
  8611. },
  8612. "todaydecrease": {
  8613. "description": "今日减少",
  8614. "type": "integer"
  8615. },
  8616. "todayincrease": {
  8617. "description": "今日增加",
  8618. "type": "integer"
  8619. },
  8620. "userid": {
  8621. "description": "用户ID",
  8622. "type": "integer"
  8623. },
  8624. "userscope": {
  8625. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  8626. "type": "string"
  8627. }
  8628. }
  8629. },
  8630. "models.MyCouponHold": {
  8631. "type": "object",
  8632. "required": [
  8633. "couponholdid"
  8634. ],
  8635. "properties": {
  8636. "accountid": {
  8637. "description": "资金账户ID",
  8638. "type": "integer"
  8639. },
  8640. "conditionvalue": {
  8641. "description": "条件阈值(可为0)",
  8642. "type": "number"
  8643. },
  8644. "couponcategroy": {
  8645. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  8646. "type": "integer"
  8647. },
  8648. "couponholdid": {
  8649. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  8650. "type": "string"
  8651. },
  8652. "couponname": {
  8653. "description": "优惠券名称",
  8654. "type": "string"
  8655. },
  8656. "coupontypeid": {
  8657. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  8658. "type": "string"
  8659. },
  8660. "couponvalue": {
  8661. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8662. "type": "number"
  8663. },
  8664. "createtime": {
  8665. "description": "创建时间",
  8666. "type": "string"
  8667. },
  8668. "enddate": {
  8669. "description": "结束日期",
  8670. "type": "string"
  8671. },
  8672. "giveapplyid": {
  8673. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  8674. "type": "integer"
  8675. },
  8676. "holdstatus": {
  8677. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  8678. "type": "integer"
  8679. },
  8680. "isgeneral": {
  8681. "description": "是否通用券 - 0:否 1:是",
  8682. "type": "integer"
  8683. },
  8684. "limitedflag": {
  8685. "description": "是否指定商品 - 0:不限 1:限制",
  8686. "type": "integer"
  8687. },
  8688. "limitedgoodsids": {
  8689. "description": "指定商品IDs[逗号分隔]",
  8690. "type": "string"
  8691. },
  8692. "qty": {
  8693. "description": "数量(按1平铺)",
  8694. "type": "integer"
  8695. },
  8696. "startdate": {
  8697. "description": "开始日期",
  8698. "type": "string"
  8699. },
  8700. "userid": {
  8701. "description": "用户ID",
  8702. "type": "integer"
  8703. },
  8704. "userscope": {
  8705. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  8706. "type": "string"
  8707. }
  8708. }
  8709. },
  8710. "models.MyUsedCoupon": {
  8711. "type": "object",
  8712. "required": [
  8713. "coupontypeid",
  8714. "orderid"
  8715. ],
  8716. "properties": {
  8717. "accountid": {
  8718. "description": "资金账户ID(买方)",
  8719. "type": "integer"
  8720. },
  8721. "conditionvalue": {
  8722. "description": "条件阈值(可为0)",
  8723. "type": "number"
  8724. },
  8725. "couponcategroy": {
  8726. "description": "种类 - 1:现金券 2:折扣券",
  8727. "type": "integer"
  8728. },
  8729. "couponname": {
  8730. "description": "优惠券名称",
  8731. "type": "string"
  8732. },
  8733. "coupontypeid": {
  8734. "description": "优惠券类型ID(买方)",
  8735. "type": "string"
  8736. },
  8737. "couponvalue": {
  8738. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  8739. "type": "number"
  8740. },
  8741. "createtime": {
  8742. "description": "创建时间",
  8743. "type": "string"
  8744. },
  8745. "goodsid": {
  8746. "description": "商品ID",
  8747. "type": "integer"
  8748. },
  8749. "handlestatus": {
  8750. "description": "处理状态",
  8751. "type": "integer"
  8752. },
  8753. "marketid": {
  8754. "description": "市场ID",
  8755. "type": "integer"
  8756. },
  8757. "offamount": {
  8758. "description": "优惠金额",
  8759. "type": "number"
  8760. },
  8761. "orderid": {
  8762. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8763. "type": "string"
  8764. },
  8765. "sellaccountid": {
  8766. "description": "资金账户ID(卖方)",
  8767. "type": "integer"
  8768. },
  8769. "tradeamount": {
  8770. "description": "成交金额",
  8771. "type": "number"
  8772. },
  8773. "tradeid": {
  8774. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8775. "type": "string"
  8776. },
  8777. "usedqty": {
  8778. "description": "使用数量",
  8779. "type": "integer"
  8780. }
  8781. }
  8782. },
  8783. "models.OperationPrimaryMenu": {
  8784. "type": "object",
  8785. "properties": {
  8786. "Children": {
  8787. "description": "二级功能菜单",
  8788. "type": "array",
  8789. "items": {
  8790. "$ref": "#/definitions/models.OperationSecondaryMenu"
  8791. }
  8792. },
  8793. "Key": {
  8794. "description": "菜单KEY",
  8795. "type": "string"
  8796. },
  8797. "Label": {
  8798. "description": "菜单标题",
  8799. "type": "string"
  8800. }
  8801. }
  8802. },
  8803. "models.OperationSecondaryMenu": {
  8804. "type": "object",
  8805. "properties": {
  8806. "Key": {
  8807. "description": "菜单KEY",
  8808. "type": "string"
  8809. },
  8810. "Label": {
  8811. "description": "菜单标题",
  8812. "type": "string"
  8813. },
  8814. "TabList": {
  8815. "description": "三级功能菜单",
  8816. "type": "array",
  8817. "items": {
  8818. "$ref": "#/definitions/models.OperationTabMenu"
  8819. }
  8820. }
  8821. }
  8822. },
  8823. "models.OperationTabMenu": {
  8824. "type": "object",
  8825. "properties": {
  8826. "Key": {
  8827. "description": "菜单KEY",
  8828. "type": "string"
  8829. },
  8830. "Label": {
  8831. "description": "菜单标题",
  8832. "type": "string"
  8833. }
  8834. }
  8835. },
  8836. "models.PendingAuditBizModel": {
  8837. "type": "object",
  8838. "properties": {
  8839. "accountid": {
  8840. "description": "现货账户",
  8841. "type": "string"
  8842. },
  8843. "areaname": {
  8844. "description": "所属部门",
  8845. "type": "string"
  8846. },
  8847. "bizid": {
  8848. "description": "业务ID",
  8849. "type": "string"
  8850. },
  8851. "bizname": {
  8852. "description": "业务名称",
  8853. "type": "string"
  8854. },
  8855. "status": {
  8856. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8857. "type": "integer"
  8858. },
  8859. "type": {
  8860. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  8861. "type": "integer"
  8862. }
  8863. }
  8864. },
  8865. "models.QuotePrimaryMenu": {
  8866. "type": "object",
  8867. "properties": {
  8868. "Index": {
  8869. "description": "序号",
  8870. "type": "integer"
  8871. },
  8872. "Key": {
  8873. "description": "键名",
  8874. "type": "string"
  8875. },
  8876. "Name": {
  8877. "description": "菜单名称",
  8878. "type": "string"
  8879. },
  8880. "SubMenus": {
  8881. "description": "子菜单",
  8882. "type": "array",
  8883. "items": {
  8884. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8885. }
  8886. },
  8887. "SubTitleType": {
  8888. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8889. "type": "integer"
  8890. },
  8891. "TradeModes": {
  8892. "description": "包含市场交易类型",
  8893. "type": "string"
  8894. }
  8895. }
  8896. },
  8897. "models.QuoteSecondaryMenu": {
  8898. "type": "object",
  8899. "properties": {
  8900. "ExExchangeCode": {
  8901. "description": "外部交易所代码",
  8902. "type": "string"
  8903. },
  8904. "ExExchangeID": {
  8905. "description": "外部交易所ID",
  8906. "type": "integer"
  8907. },
  8908. "GoodsGroupIDs": {
  8909. "description": "商品组ID列表",
  8910. "type": "array",
  8911. "items": {
  8912. "type": "integer"
  8913. }
  8914. },
  8915. "Index": {
  8916. "description": "序号",
  8917. "type": "integer"
  8918. },
  8919. "MarketID": {
  8920. "description": "市场ID",
  8921. "type": "integer"
  8922. },
  8923. "MenuTitle": {
  8924. "description": "菜单标题(市场名称或外部交易所名称)",
  8925. "type": "string"
  8926. },
  8927. "TradeMode": {
  8928. "description": "交易模式",
  8929. "type": "integer"
  8930. }
  8931. }
  8932. },
  8933. "models.SearchGoods": {
  8934. "type": "object",
  8935. "required": [
  8936. "goodscode",
  8937. "goodsid",
  8938. "goodsname",
  8939. "marketid",
  8940. "trademode"
  8941. ],
  8942. "properties": {
  8943. "goodscode": {
  8944. "description": "商品代码(内部)",
  8945. "type": "string"
  8946. },
  8947. "goodsid": {
  8948. "description": "商品ID(自增ID SEQ_GOODS)",
  8949. "type": "integer"
  8950. },
  8951. "goodsname": {
  8952. "description": "商品名称",
  8953. "type": "string"
  8954. },
  8955. "marketid": {
  8956. "description": "所属市场ID",
  8957. "type": "integer"
  8958. },
  8959. "marketname": {
  8960. "description": "市场名称",
  8961. "type": "string"
  8962. },
  8963. "trademode": {
  8964. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8965. "type": "integer"
  8966. }
  8967. }
  8968. },
  8969. "models.Szdz2imageconfig": {
  8970. "type": "object",
  8971. "required": [
  8972. "configid"
  8973. ],
  8974. "properties": {
  8975. "configid": {
  8976. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8977. "type": "integer"
  8978. },
  8979. "imagepath": {
  8980. "description": "图片",
  8981. "type": "string"
  8982. },
  8983. "imagetype": {
  8984. "description": "类型 - 1:App首页轮播 2:我的",
  8985. "type": "integer"
  8986. },
  8987. "sort": {
  8988. "description": "排序",
  8989. "type": "integer"
  8990. },
  8991. "title": {
  8992. "description": "标题",
  8993. "type": "string"
  8994. },
  8995. "url": {
  8996. "description": "链接",
  8997. "type": "string"
  8998. }
  8999. }
  9000. },
  9001. "models.Szdz3convertconfig": {
  9002. "type": "object",
  9003. "required": [
  9004. "converttype",
  9005. "innergoodsid",
  9006. "outergoodscode"
  9007. ],
  9008. "properties": {
  9009. "canin": {
  9010. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9011. "type": "integer"
  9012. },
  9013. "canout": {
  9014. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9015. "type": "integer"
  9016. },
  9017. "converttype": {
  9018. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9019. "type": "integer"
  9020. },
  9021. "createtime": {
  9022. "description": "创建时间",
  9023. "type": "string"
  9024. },
  9025. "creatorid": {
  9026. "description": "创建人",
  9027. "type": "integer"
  9028. },
  9029. "daymaxvalue": {
  9030. "description": "当日最大转入限制",
  9031. "type": "number"
  9032. },
  9033. "freezedays": {
  9034. "description": "冻结天数 [5:花生米转交易]",
  9035. "type": "integer"
  9036. },
  9037. "innergoodsid": {
  9038. "description": "内部商品ID[交易]",
  9039. "type": "integer"
  9040. },
  9041. "inratio": {
  9042. "description": "目标值",
  9043. "type": "integer"
  9044. },
  9045. "modifierid": {
  9046. "description": "修改人",
  9047. "type": "integer"
  9048. },
  9049. "modifytime": {
  9050. "description": "修改时间",
  9051. "type": "string"
  9052. },
  9053. "outergoodscode": {
  9054. "description": "外部商品代码[JD\\PD]",
  9055. "type": "string"
  9056. },
  9057. "outratio": {
  9058. "description": "源值",
  9059. "type": "integer"
  9060. },
  9061. "pddecimalplace": {
  9062. "description": "PD小数位",
  9063. "type": "integer"
  9064. },
  9065. "timemaxvalue": {
  9066. "description": "单次最大转入限制",
  9067. "type": "number"
  9068. },
  9069. "timeminvalue": {
  9070. "description": "单次最小转入限制",
  9071. "type": "number"
  9072. }
  9073. }
  9074. },
  9075. "models.Szdz3searchwhitelist": {
  9076. "type": "object",
  9077. "required": [
  9078. "userid"
  9079. ],
  9080. "properties": {
  9081. "createtime": {
  9082. "description": "创建时间",
  9083. "type": "string"
  9084. },
  9085. "creatorid": {
  9086. "description": "创建人",
  9087. "type": "integer"
  9088. },
  9089. "modifierid": {
  9090. "description": "修改人",
  9091. "type": "integer"
  9092. },
  9093. "modifytime": {
  9094. "description": "修改时间",
  9095. "type": "string"
  9096. },
  9097. "userid": {
  9098. "description": "用户ID",
  9099. "type": "integer"
  9100. }
  9101. }
  9102. },
  9103. "models.Tablecolumnconfig": {
  9104. "type": "object",
  9105. "required": [
  9106. "autoid"
  9107. ],
  9108. "properties": {
  9109. "aligntype": {
  9110. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9111. "type": "integer"
  9112. },
  9113. "autoid": {
  9114. "description": "AutoID",
  9115. "type": "integer"
  9116. },
  9117. "columnfield": {
  9118. "description": "列字段",
  9119. "type": "string"
  9120. },
  9121. "columntitle": {
  9122. "description": "列Title",
  9123. "type": "string"
  9124. },
  9125. "columnwidth": {
  9126. "description": "列宽",
  9127. "type": "string"
  9128. },
  9129. "formatterstring": {
  9130. "description": "格式化字符",
  9131. "type": "string"
  9132. },
  9133. "formattertype": {
  9134. "description": "格式化类型",
  9135. "type": "string"
  9136. },
  9137. "groupname": {
  9138. "description": "表头分组名称",
  9139. "type": "string"
  9140. },
  9141. "isshow": {
  9142. "description": "是否显示 - 0:不显示 1:显示",
  9143. "type": "integer"
  9144. },
  9145. "needsummary": {
  9146. "description": "是否需要汇总 - 0:不需要 1:需要",
  9147. "type": "integer"
  9148. },
  9149. "orderindex": {
  9150. "description": "顺序",
  9151. "type": "integer"
  9152. },
  9153. "remark": {
  9154. "description": "备注",
  9155. "type": "string"
  9156. },
  9157. "summarytype": {
  9158. "description": "汇总类型 - 1:加总 2:最后一个",
  9159. "type": "integer"
  9160. },
  9161. "tablekey": {
  9162. "description": "列表Key",
  9163. "type": "string"
  9164. }
  9165. }
  9166. },
  9167. "models.Useraccount": {
  9168. "type": "object",
  9169. "required": [
  9170. "userid"
  9171. ],
  9172. "properties": {
  9173. "accountname": {
  9174. "description": "账户名称(机构名称)",
  9175. "type": "string"
  9176. },
  9177. "accountstatus": {
  9178. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9179. "type": "integer"
  9180. },
  9181. "auditremark": {
  9182. "description": "审核备注",
  9183. "type": "string"
  9184. },
  9185. "audittime": {
  9186. "description": "审核时间",
  9187. "type": "string"
  9188. },
  9189. "audituserid": {
  9190. "description": "审核人",
  9191. "type": "integer"
  9192. },
  9193. "broker": {
  9194. "description": "所属经纪人ID",
  9195. "type": "integer"
  9196. },
  9197. "canceltime": {
  9198. "description": "销户时间",
  9199. "type": "string"
  9200. },
  9201. "canceluserid": {
  9202. "description": "销户人",
  9203. "type": "integer"
  9204. },
  9205. "createtime": {
  9206. "description": "创建时间",
  9207. "type": "string"
  9208. },
  9209. "creatorid": {
  9210. "description": "创建人",
  9211. "type": "integer"
  9212. },
  9213. "hasauth": {
  9214. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9215. "type": "integer"
  9216. },
  9217. "isanonymous": {
  9218. "description": "是否匿名下单 - 0:否 1:是",
  9219. "type": "integer"
  9220. },
  9221. "maxinvestornum": {
  9222. "description": "最大用户数(经纪会员下投资者个数)",
  9223. "type": "integer"
  9224. },
  9225. "memberuserid": {
  9226. "description": "所属会员ID",
  9227. "type": "integer"
  9228. },
  9229. "modifierid": {
  9230. "description": "修改人",
  9231. "type": "integer"
  9232. },
  9233. "modifyremark": {
  9234. "description": "变更备注",
  9235. "type": "string"
  9236. },
  9237. "modifystatus": {
  9238. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9239. "type": "integer"
  9240. },
  9241. "modifytime": {
  9242. "description": "修改时间",
  9243. "type": "string"
  9244. },
  9245. "parentuserid": {
  9246. "description": "所属机构ID",
  9247. "type": "integer"
  9248. },
  9249. "reckonaccountid": {
  9250. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9251. "type": "integer"
  9252. },
  9253. "refercount": {
  9254. "description": "推荐总人数",
  9255. "type": "integer"
  9256. },
  9257. "refereeuserid": {
  9258. "description": "推荐人ID",
  9259. "type": "integer"
  9260. },
  9261. "refernum": {
  9262. "description": "推荐码",
  9263. "type": "string"
  9264. },
  9265. "subarealevelpath": {
  9266. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9267. "type": "string"
  9268. },
  9269. "userid": {
  9270. "description": "用户ID",
  9271. "type": "integer"
  9272. },
  9273. "usertype": {
  9274. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9275. "type": "integer"
  9276. }
  9277. }
  9278. },
  9279. "models.Userfavoritegoods": {
  9280. "type": "object",
  9281. "required": [
  9282. "goodsid"
  9283. ],
  9284. "properties": {
  9285. "goodsid": {
  9286. "description": "商品ID",
  9287. "type": "integer"
  9288. }
  9289. }
  9290. },
  9291. "models.Userinfo": {
  9292. "type": "object",
  9293. "required": [
  9294. "userid"
  9295. ],
  9296. "properties": {
  9297. "address": {
  9298. "description": "地址",
  9299. "type": "string"
  9300. },
  9301. "attachment1": {
  9302. "description": "附件1",
  9303. "type": "string"
  9304. },
  9305. "attachment2": {
  9306. "description": "附件2",
  9307. "type": "string"
  9308. },
  9309. "bankaccount": {
  9310. "description": "银行帐号 (加密存储)",
  9311. "type": "string"
  9312. },
  9313. "bankaccountname": {
  9314. "description": "收款人名称",
  9315. "type": "string"
  9316. },
  9317. "bankcardfrontphotourl": {
  9318. "description": "银行卡正面照地址",
  9319. "type": "string"
  9320. },
  9321. "bankid": {
  9322. "description": "银行编码",
  9323. "type": "string"
  9324. },
  9325. "bankname": {
  9326. "description": "银行名称",
  9327. "type": "string"
  9328. },
  9329. "biznature": {
  9330. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9331. "type": "integer"
  9332. },
  9333. "bizscope": {
  9334. "description": "企业经营范围(企业)",
  9335. "type": "string"
  9336. },
  9337. "cardbackphotourl": {
  9338. "description": "证件背面图片地址",
  9339. "type": "string"
  9340. },
  9341. "cardfrontphotourl": {
  9342. "description": "证件正面图片地址",
  9343. "type": "string"
  9344. },
  9345. "cardnum": {
  9346. "description": "证件号码(加密存储)",
  9347. "type": "string"
  9348. },
  9349. "cardtypeid": {
  9350. "description": "证件类型ID",
  9351. "type": "integer"
  9352. },
  9353. "cityid": {
  9354. "description": "市",
  9355. "type": "integer"
  9356. },
  9357. "company": {
  9358. "description": "公司(个人)",
  9359. "type": "string"
  9360. },
  9361. "contactname": {
  9362. "description": "联系人",
  9363. "type": "string"
  9364. },
  9365. "countryid": {
  9366. "description": "国家",
  9367. "type": "integer"
  9368. },
  9369. "createtime": {
  9370. "description": "创建时间",
  9371. "type": "string"
  9372. },
  9373. "creatorid": {
  9374. "description": "创建人",
  9375. "type": "integer"
  9376. },
  9377. "customername": {
  9378. "description": "客户名称(企业名称)",
  9379. "type": "string"
  9380. },
  9381. "districtid": {
  9382. "description": "地区",
  9383. "type": "integer"
  9384. },
  9385. "email": {
  9386. "description": "邮件(加密存储)",
  9387. "type": "string"
  9388. },
  9389. "fax": {
  9390. "description": "传真(加密存储)",
  9391. "type": "string"
  9392. },
  9393. "halfbodyphotourl": {
  9394. "description": "半身照地址",
  9395. "type": "string"
  9396. },
  9397. "hasencrypt": {
  9398. "description": "数据是否已加密 - 0:未加密 1:已加密",
  9399. "type": "integer"
  9400. },
  9401. "headurl": {
  9402. "description": "头像地址",
  9403. "type": "string"
  9404. },
  9405. "legalcardbackphotourl": {
  9406. "description": "法人身份证背面照地址",
  9407. "type": "string"
  9408. },
  9409. "legalcardfrontphotourl": {
  9410. "description": "法人身份证正面照地址",
  9411. "type": "string"
  9412. },
  9413. "legalpersonname": {
  9414. "description": "法人姓名(企业)",
  9415. "type": "string"
  9416. },
  9417. "mobile": {
  9418. "description": "手机号码(加密存储)",
  9419. "type": "string"
  9420. },
  9421. "mobile2": {
  9422. "description": "手机号码[明文-尚志]",
  9423. "type": "string"
  9424. },
  9425. "modifierid": {
  9426. "description": "修改人",
  9427. "type": "integer"
  9428. },
  9429. "modifiertime": {
  9430. "description": "修改时间",
  9431. "type": "string"
  9432. },
  9433. "needinvoice": {
  9434. "description": "是否需要发票 - 0:不需要 1:需要",
  9435. "type": "integer"
  9436. },
  9437. "nickname": {
  9438. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  9439. "type": "string"
  9440. },
  9441. "openmode": {
  9442. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  9443. "type": "integer"
  9444. },
  9445. "otherurl": {
  9446. "description": "其它图片地址[使用分号分隔]",
  9447. "type": "string"
  9448. },
  9449. "postalcode": {
  9450. "description": "邮政编码",
  9451. "type": "string"
  9452. },
  9453. "provinceid": {
  9454. "description": "省",
  9455. "type": "integer"
  9456. },
  9457. "qq": {
  9458. "description": "QQ(加密存储",
  9459. "type": "string"
  9460. },
  9461. "remark": {
  9462. "description": "备注",
  9463. "type": "string"
  9464. },
  9465. "sex": {
  9466. "description": "用户性别 0: 女 1: 男",
  9467. "type": "integer"
  9468. },
  9469. "signpdfurl": {
  9470. "description": "签约pdf文件",
  9471. "type": "string"
  9472. },
  9473. "telphone": {
  9474. "description": "联系电话(加密存储)",
  9475. "type": "string"
  9476. },
  9477. "userid": {
  9478. "description": "用户ID",
  9479. "type": "integer"
  9480. },
  9481. "userinfotype": {
  9482. "description": "用户信息类型 - 1:个人 2:企业",
  9483. "type": "integer"
  9484. },
  9485. "userstatus": {
  9486. "description": "用户状态 - 1:正常 2:注销",
  9487. "type": "integer"
  9488. },
  9489. "usertype": {
  9490. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9491. "type": "integer"
  9492. },
  9493. "wechat": {
  9494. "description": "微信(加密存储)",
  9495. "type": "string"
  9496. },
  9497. "wskhinfo": {
  9498. "description": "开户申请信息(JSON)",
  9499. "type": "string"
  9500. }
  9501. }
  9502. },
  9503. "models.WRCategoryTree": {
  9504. "type": "object",
  9505. "required": [
  9506. "categoryid"
  9507. ],
  9508. "properties": {
  9509. "areauserid": {
  9510. "description": "所属机构",
  9511. "type": "integer"
  9512. },
  9513. "categorydesc": {
  9514. "description": "类别描述",
  9515. "type": "string"
  9516. },
  9517. "categoryid": {
  9518. "description": "类别ID(SEQ_WRCATEGORY)",
  9519. "type": "integer"
  9520. },
  9521. "categoryname": {
  9522. "description": "类别名称",
  9523. "type": "string"
  9524. },
  9525. "iconurl": {
  9526. "description": "图标地址",
  9527. "type": "string"
  9528. },
  9529. "orderindex": {
  9530. "description": "顺序",
  9531. "type": "integer"
  9532. },
  9533. "parentcategoryid": {
  9534. "description": "父类别ID",
  9535. "type": "integer"
  9536. },
  9537. "subcategory": {
  9538. "description": "子分类",
  9539. "type": "array",
  9540. "items": {
  9541. "$ref": "#/definitions/models.WRCategoryTree"
  9542. }
  9543. }
  9544. }
  9545. },
  9546. "models.WRStandardInfo": {
  9547. "type": "object",
  9548. "required": [
  9549. "wrstandardid"
  9550. ],
  9551. "properties": {
  9552. "createtime": {
  9553. "description": "创建时间",
  9554. "type": "string"
  9555. },
  9556. "creatorid": {
  9557. "description": "创建人",
  9558. "type": "integer"
  9559. },
  9560. "deliverygoodsid": {
  9561. "description": "品种ID",
  9562. "type": "integer"
  9563. },
  9564. "deliverygoodsname": {
  9565. "description": "交割商品名称",
  9566. "type": "string"
  9567. },
  9568. "factoryitemjson": {
  9569. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  9570. "type": "string"
  9571. },
  9572. "isvalid": {
  9573. "description": "是否有效 - 0:无效 1:有效",
  9574. "type": "integer"
  9575. },
  9576. "minivalue": {
  9577. "description": "最小变动值",
  9578. "type": "integer"
  9579. },
  9580. "minivaluedp": {
  9581. "description": "最小变动值小数位",
  9582. "type": "integer"
  9583. },
  9584. "realminivalue": {
  9585. "description": "实际最小变动值",
  9586. "type": "integer"
  9587. },
  9588. "realminivaluedp": {
  9589. "description": "实际最小变动值小数位",
  9590. "type": "integer"
  9591. },
  9592. "unitid": {
  9593. "description": "单位ID",
  9594. "type": "integer"
  9595. },
  9596. "unitname": {
  9597. "description": "单位",
  9598. "type": "string"
  9599. },
  9600. "updatetime": {
  9601. "description": "更新时间",
  9602. "type": "string"
  9603. },
  9604. "updatorid": {
  9605. "description": "更新人",
  9606. "type": "integer"
  9607. },
  9608. "wrsstatus": {
  9609. "description": "状态 - 作废 - 0:未激活 1:正常",
  9610. "type": "integer"
  9611. },
  9612. "wrstandardcode": {
  9613. "description": "仓单标准代码",
  9614. "type": "string"
  9615. },
  9616. "wrstandardid": {
  9617. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9618. "type": "integer"
  9619. },
  9620. "wrstandardname": {
  9621. "description": "仓单标准名称",
  9622. "type": "string"
  9623. }
  9624. }
  9625. },
  9626. "models.Warehouseinfo": {
  9627. "type": "object",
  9628. "required": [
  9629. "autoid",
  9630. "warehousecode"
  9631. ],
  9632. "properties": {
  9633. "address": {
  9634. "description": "详细地址",
  9635. "type": "string"
  9636. },
  9637. "areauserid": {
  9638. "description": "所属机构",
  9639. "type": "integer"
  9640. },
  9641. "autoid": {
  9642. "description": "自增ID",
  9643. "type": "integer"
  9644. },
  9645. "cityid": {
  9646. "description": "市",
  9647. "type": "integer"
  9648. },
  9649. "contactname": {
  9650. "description": "联系人",
  9651. "type": "string"
  9652. },
  9653. "contactnum": {
  9654. "description": "联系电话",
  9655. "type": "string"
  9656. },
  9657. "countryid": {
  9658. "description": "国家",
  9659. "type": "integer"
  9660. },
  9661. "createtime": {
  9662. "description": "创建时间",
  9663. "type": "string"
  9664. },
  9665. "districtid": {
  9666. "description": "区",
  9667. "type": "integer"
  9668. },
  9669. "hasvideo": {
  9670. "description": "是否有视频 - 0:无 1:有",
  9671. "type": "integer"
  9672. },
  9673. "provinceid": {
  9674. "description": "省",
  9675. "type": "integer"
  9676. },
  9677. "remark": {
  9678. "description": "审核备注",
  9679. "type": "string"
  9680. },
  9681. "videourl": {
  9682. "description": "视频地址",
  9683. "type": "string"
  9684. },
  9685. "warehousecode": {
  9686. "description": "仓库代码",
  9687. "type": "string"
  9688. },
  9689. "warehousename": {
  9690. "description": "仓库名称",
  9691. "type": "string"
  9692. },
  9693. "warehousestatus": {
  9694. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  9695. "type": "integer"
  9696. },
  9697. "warehousetype": {
  9698. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  9699. "type": "integer"
  9700. }
  9701. }
  9702. },
  9703. "order.QueryHisTradeDetailRsp": {
  9704. "type": "object",
  9705. "required": [
  9706. "accountid",
  9707. "buyorsell",
  9708. "goodsid",
  9709. "histradedate",
  9710. "marketid",
  9711. "memberuserid",
  9712. "orderid",
  9713. "tradeamount",
  9714. "tradedate",
  9715. "tradeid",
  9716. "tradeprice",
  9717. "tradeqty",
  9718. "tradetime"
  9719. ],
  9720. "properties": {
  9721. "accountid": {
  9722. "description": "账户ID[报价币种]",
  9723. "type": "integer"
  9724. },
  9725. "buildtype": {
  9726. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9727. "type": "integer"
  9728. },
  9729. "buyorsell": {
  9730. "description": "方向 - 0:买 1:卖",
  9731. "type": "integer"
  9732. },
  9733. "charge": {
  9734. "description": "手续费",
  9735. "type": "number"
  9736. },
  9737. "closecharge": {
  9738. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9739. "type": "number"
  9740. },
  9741. "closeexchagechargevalue": {
  9742. "description": "平仓交易所手续费设置值",
  9743. "type": "number"
  9744. },
  9745. "closefeealgorithm": {
  9746. "description": "平仓手续费收取方式 1:比率 2:固定",
  9747. "type": "integer"
  9748. },
  9749. "closememberchargevalue": {
  9750. "description": "平仓会员手续费设置值",
  9751. "type": "number"
  9752. },
  9753. "closepl": {
  9754. "description": "平仓盈亏",
  9755. "type": "number"
  9756. },
  9757. "closepl2": {
  9758. "description": "平仓盈亏[逐笔]",
  9759. "type": "number"
  9760. },
  9761. "closeqty": {
  9762. "description": "平仓数量(先建后平操作 需要记录)",
  9763. "type": "integer"
  9764. },
  9765. "creditamount": {
  9766. "description": "授信金额",
  9767. "type": "number"
  9768. },
  9769. "gcaccountid": {
  9770. "description": "账户ID[合约币种]",
  9771. "type": "integer"
  9772. },
  9773. "goodscode": {
  9774. "description": "商品代码",
  9775. "type": "string"
  9776. },
  9777. "goodsid": {
  9778. "description": "商品ID",
  9779. "type": "integer"
  9780. },
  9781. "goodsname": {
  9782. "description": "商品名称",
  9783. "type": "string"
  9784. },
  9785. "histradedate": {
  9786. "description": "历史交易日",
  9787. "type": "string"
  9788. },
  9789. "intclosepl": {
  9790. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9791. "type": "integer"
  9792. },
  9793. "isconfirmexercise": {
  9794. "description": "是否确认行权- 0:否 1:是",
  9795. "type": "integer"
  9796. },
  9797. "ismain": {
  9798. "description": "是否主单 - 0:不是 1:是",
  9799. "type": "integer"
  9800. },
  9801. "ispreexercise": {
  9802. "description": "是否预申报- 0:否 1:是",
  9803. "type": "integer"
  9804. },
  9805. "isreckoned": {
  9806. "description": "是否结算 - 0:未结算 1:已结算",
  9807. "type": "integer"
  9808. },
  9809. "isvaliddata": {
  9810. "description": "是否有效 - 0:无效 1:有效",
  9811. "type": "integer"
  9812. },
  9813. "listingselecttype": {
  9814. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9815. "type": "integer"
  9816. },
  9817. "marketid": {
  9818. "description": "市场ID",
  9819. "type": "integer"
  9820. },
  9821. "marketname": {
  9822. "description": "市场名称",
  9823. "type": "string"
  9824. },
  9825. "matchaccountid": {
  9826. "description": "对手账号id",
  9827. "type": "integer"
  9828. },
  9829. "memberuserid": {
  9830. "description": "会员id 个人投资者 需要填写",
  9831. "type": "integer"
  9832. },
  9833. "opencharge": {
  9834. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9835. "type": "number"
  9836. },
  9837. "openexchagechargevalue": {
  9838. "description": "建仓交易所手续费设置值",
  9839. "type": "number"
  9840. },
  9841. "openfeealgorithm": {
  9842. "description": "建仓手续费收取方式 1:比率 2:固定",
  9843. "type": "integer"
  9844. },
  9845. "openmemberchargevalue": {
  9846. "description": "建仓会员手续费设置值",
  9847. "type": "number"
  9848. },
  9849. "openqty": {
  9850. "description": "开仓数量(先建后平操作 需要记录)",
  9851. "type": "integer"
  9852. },
  9853. "optiontype": {
  9854. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9855. "type": "integer"
  9856. },
  9857. "orderid": {
  9858. "description": "委托单号",
  9859. "type": "string"
  9860. },
  9861. "performanceplanid": {
  9862. "description": "履约计划ID[期权]",
  9863. "type": "integer"
  9864. },
  9865. "performancestatus": {
  9866. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9867. "type": "integer"
  9868. },
  9869. "preexerciseprice": {
  9870. "description": "预申报价格",
  9871. "type": "number"
  9872. },
  9873. "premium": {
  9874. "description": "权利金 - [持仓单的权利金]",
  9875. "type": "number"
  9876. },
  9877. "relatedouttradeid": {
  9878. "description": "关联外部成交单ID",
  9879. "type": "integer"
  9880. },
  9881. "status": {
  9882. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9883. "type": "integer"
  9884. },
  9885. "tradeamount": {
  9886. "description": "成交金额[账户币种,用于所有权]",
  9887. "type": "number"
  9888. },
  9889. "tradedate": {
  9890. "description": "交易日(yyyyMMdd)",
  9891. "type": "string"
  9892. },
  9893. "tradeid": {
  9894. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9895. "type": "string"
  9896. },
  9897. "trademode": {
  9898. "description": "交易模式",
  9899. "type": "integer"
  9900. },
  9901. "tradeprice": {
  9902. "description": "成交价格",
  9903. "type": "number"
  9904. },
  9905. "tradeproperty": {
  9906. "description": "交易属性",
  9907. "type": "integer"
  9908. },
  9909. "tradeqty": {
  9910. "description": "成交数量",
  9911. "type": "integer"
  9912. },
  9913. "tradetime": {
  9914. "description": "成交时间",
  9915. "type": "string"
  9916. },
  9917. "tradetype": {
  9918. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9919. "type": "integer"
  9920. }
  9921. }
  9922. },
  9923. "order.QueryHisTradeOrderDetailRsp": {
  9924. "type": "object",
  9925. "required": [
  9926. "accountid",
  9927. "buildtype",
  9928. "buyorsell",
  9929. "goodsid",
  9930. "histradedate",
  9931. "marketid",
  9932. "memberuserid",
  9933. "operatetype",
  9934. "orderid",
  9935. "orderqty",
  9936. "ordertime",
  9937. "pricemode",
  9938. "tradedate",
  9939. "validtype"
  9940. ],
  9941. "properties": {
  9942. "accountid": {
  9943. "description": "账户ID[报价币种]",
  9944. "type": "integer"
  9945. },
  9946. "buildtype": {
  9947. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9948. "type": "integer"
  9949. },
  9950. "buyorsell": {
  9951. "description": "买卖 - 0:买 1:卖",
  9952. "type": "integer"
  9953. },
  9954. "cancelorderid": {
  9955. "description": "撤单单号(撤单时填写)",
  9956. "type": "string"
  9957. },
  9958. "cancelqty": {
  9959. "description": "撤单数量",
  9960. "type": "integer"
  9961. },
  9962. "clientordertime": {
  9963. "description": "客户端委托时间",
  9964. "type": "string"
  9965. },
  9966. "clientticket": {
  9967. "description": "客户端流水号",
  9968. "type": "string"
  9969. },
  9970. "clienttype": {
  9971. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9972. "type": "integer"
  9973. },
  9974. "closeexchagechargevalue": {
  9975. "description": "平仓交易所手续费设置值",
  9976. "type": "number"
  9977. },
  9978. "closefeealgorithm": {
  9979. "description": "平仓手续费收取方式 1:比率 2:固定",
  9980. "type": "integer"
  9981. },
  9982. "closefreezecharge": {
  9983. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9984. "type": "number"
  9985. },
  9986. "closememberchargevalue": {
  9987. "description": "平仓会员手续费设置值",
  9988. "type": "number"
  9989. },
  9990. "closeqty": {
  9991. "description": "平仓数量(先建后平操作 需要记录)",
  9992. "type": "integer"
  9993. },
  9994. "closetradeqty": {
  9995. "description": "平仓成交数量(先建后平操作,需要记录)",
  9996. "type": "integer"
  9997. },
  9998. "closeunfreezecharge": {
  9999. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10000. "type": "number"
  10001. },
  10002. "delistingtype": {
  10003. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10004. "type": "integer"
  10005. },
  10006. "freezecharge": {
  10007. "description": "冻结手续费",
  10008. "type": "number"
  10009. },
  10010. "freezemargin": {
  10011. "description": "冻结保证金(冻结交易金额)",
  10012. "type": "number"
  10013. },
  10014. "gcaccountid": {
  10015. "description": "账户ID[合约币种]",
  10016. "type": "integer"
  10017. },
  10018. "goodscode": {
  10019. "description": "商品代码",
  10020. "type": "string"
  10021. },
  10022. "goodsid": {
  10023. "description": "商品ID",
  10024. "type": "integer"
  10025. },
  10026. "goodsname": {
  10027. "description": "商品名称",
  10028. "type": "string"
  10029. },
  10030. "histradedate": {
  10031. "description": "历史交易日",
  10032. "type": "string"
  10033. },
  10034. "isconfirmexercise": {
  10035. "description": "是否确认行权- 0:否 1:是",
  10036. "type": "integer"
  10037. },
  10038. "ispreexercise": {
  10039. "description": "是否预申报- 0:否 1:是",
  10040. "type": "integer"
  10041. },
  10042. "isvaliddata": {
  10043. "description": "是否有效 - 0:无效 1:有效",
  10044. "type": "integer"
  10045. },
  10046. "listingselecttype": {
  10047. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10048. "type": "integer"
  10049. },
  10050. "marginalgorithm": {
  10051. "description": "保证金收取方式 1:比率 2:固定",
  10052. "type": "integer"
  10053. },
  10054. "marginvalue": {
  10055. "description": "即市保证金设置值",
  10056. "type": "number"
  10057. },
  10058. "marketid": {
  10059. "description": "市场ID",
  10060. "type": "integer"
  10061. },
  10062. "marketmaxsub": {
  10063. "description": "市价最大偏移范围",
  10064. "type": "number"
  10065. },
  10066. "marketname": {
  10067. "description": "市场名称",
  10068. "type": "string"
  10069. },
  10070. "memberuserid": {
  10071. "description": "所属会员UserID",
  10072. "type": "integer"
  10073. },
  10074. "openexchagechargevalue": {
  10075. "description": "建仓交易所手续费设置值",
  10076. "type": "number"
  10077. },
  10078. "openfeealgorithm": {
  10079. "description": "建仓手续费收取方式 1:比率 2:固定",
  10080. "type": "integer"
  10081. },
  10082. "openfreezecharge": {
  10083. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10084. "type": "number"
  10085. },
  10086. "openmemberchargevalue": {
  10087. "description": "建仓会员手续费设置值",
  10088. "type": "number"
  10089. },
  10090. "openqty": {
  10091. "description": "开仓数量(先建后平操作,需要记录)",
  10092. "type": "integer"
  10093. },
  10094. "opentradeqty": {
  10095. "description": "开仓成交数量(先建后平操作,需要记录)",
  10096. "type": "integer"
  10097. },
  10098. "openunfreezecharge": {
  10099. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10100. "type": "number"
  10101. },
  10102. "operatetype": {
  10103. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10104. "type": "integer"
  10105. },
  10106. "operatorid": {
  10107. "description": "登录账号(LoginID)",
  10108. "type": "integer"
  10109. },
  10110. "optiontype": {
  10111. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10112. "type": "integer"
  10113. },
  10114. "orderid": {
  10115. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10116. "type": "string"
  10117. },
  10118. "orderprice": {
  10119. "description": "委托价格",
  10120. "type": "number"
  10121. },
  10122. "orderqty": {
  10123. "description": "委托数量",
  10124. "type": "integer"
  10125. },
  10126. "ordersrc": {
  10127. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10128. "type": "integer"
  10129. },
  10130. "orderstatus": {
  10131. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10132. "type": "integer"
  10133. },
  10134. "ordertime": {
  10135. "description": "委托时间",
  10136. "type": "string"
  10137. },
  10138. "preexerciseprice": {
  10139. "description": "预申报价格",
  10140. "type": "number"
  10141. },
  10142. "premium": {
  10143. "description": "权利金",
  10144. "type": "number"
  10145. },
  10146. "preorderid": {
  10147. "description": "关联预埋单号(止盈止损单时填写)",
  10148. "type": "string"
  10149. },
  10150. "pricemode": {
  10151. "description": "取价方式 - 1:市价 2: 限价",
  10152. "type": "integer"
  10153. },
  10154. "quoteid": {
  10155. "description": "报价单ID",
  10156. "type": "integer"
  10157. },
  10158. "relatedid": {
  10159. "description": "关联单号(交割单)",
  10160. "type": "string"
  10161. },
  10162. "retcode": {
  10163. "description": "错误代码",
  10164. "type": "integer"
  10165. },
  10166. "sessionid": {
  10167. "description": "会话ID",
  10168. "type": "integer"
  10169. },
  10170. "tradedate": {
  10171. "description": "交易日(yyyyMMdd)",
  10172. "type": "string"
  10173. },
  10174. "trademode": {
  10175. "description": "交易模式",
  10176. "type": "integer"
  10177. },
  10178. "tradeproperty": {
  10179. "description": "交易属性",
  10180. "type": "integer"
  10181. },
  10182. "tradeqty": {
  10183. "description": "成交数量",
  10184. "type": "integer"
  10185. },
  10186. "unfreezecharge": {
  10187. "description": "解冻手续费",
  10188. "type": "number"
  10189. },
  10190. "unfreezemargin": {
  10191. "description": "解冻保证金",
  10192. "type": "number"
  10193. },
  10194. "updatetime": {
  10195. "description": "更新时间",
  10196. "type": "string"
  10197. },
  10198. "uuid": {
  10199. "description": "发起端唯一id",
  10200. "type": "string"
  10201. },
  10202. "validtime": {
  10203. "description": "有效期限",
  10204. "type": "string"
  10205. },
  10206. "validtype": {
  10207. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10208. "type": "integer"
  10209. },
  10210. "volumetype": {
  10211. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10212. "type": "integer"
  10213. }
  10214. }
  10215. },
  10216. "order.QueryTradeDetailRsp": {
  10217. "type": "object",
  10218. "required": [
  10219. "accountid",
  10220. "buyorsell",
  10221. "goodsid",
  10222. "marketid",
  10223. "memberuserid",
  10224. "orderid",
  10225. "tradeamount",
  10226. "tradedate",
  10227. "tradeid",
  10228. "tradeprice",
  10229. "tradeqty",
  10230. "tradetime"
  10231. ],
  10232. "properties": {
  10233. "accountid": {
  10234. "description": "账户ID[报价币种]",
  10235. "type": "integer"
  10236. },
  10237. "buildtype": {
  10238. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10239. "type": "integer"
  10240. },
  10241. "buyorsell": {
  10242. "description": "方向 - 0:买 1:卖",
  10243. "type": "integer"
  10244. },
  10245. "charge": {
  10246. "description": "手续费",
  10247. "type": "number"
  10248. },
  10249. "closecharge": {
  10250. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10251. "type": "number"
  10252. },
  10253. "closeexchagechargevalue": {
  10254. "description": "平仓交易所手续费设置值",
  10255. "type": "number"
  10256. },
  10257. "closefeealgorithm": {
  10258. "description": "平仓手续费收取方式 1:比率 2:固定",
  10259. "type": "integer"
  10260. },
  10261. "closememberchargevalue": {
  10262. "description": "平仓会员手续费设置值",
  10263. "type": "number"
  10264. },
  10265. "closepl": {
  10266. "description": "平仓盈亏",
  10267. "type": "number"
  10268. },
  10269. "closepl2": {
  10270. "description": "平仓盈亏[逐笔]",
  10271. "type": "number"
  10272. },
  10273. "closeqty": {
  10274. "description": "平仓数量(先建后平操作 需要记录)",
  10275. "type": "integer"
  10276. },
  10277. "creditamount": {
  10278. "description": "授信金额",
  10279. "type": "number"
  10280. },
  10281. "gcaccountid": {
  10282. "description": "账户ID[合约币种]",
  10283. "type": "integer"
  10284. },
  10285. "goodscode": {
  10286. "description": "商品代码",
  10287. "type": "string"
  10288. },
  10289. "goodsid": {
  10290. "description": "商品ID",
  10291. "type": "integer"
  10292. },
  10293. "goodsname": {
  10294. "description": "商品名称",
  10295. "type": "string"
  10296. },
  10297. "intclosepl": {
  10298. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10299. "type": "integer"
  10300. },
  10301. "isconfirmexercise": {
  10302. "description": "是否确认行权- 0:否 1:是",
  10303. "type": "integer"
  10304. },
  10305. "ismain": {
  10306. "description": "是否主单 - 0:不是 1:是",
  10307. "type": "integer"
  10308. },
  10309. "ispreexercise": {
  10310. "description": "是否预申报- 0:否 1:是",
  10311. "type": "integer"
  10312. },
  10313. "isreckoned": {
  10314. "description": "是否结算 - 0:未结算 1:已结算",
  10315. "type": "integer"
  10316. },
  10317. "listingselecttype": {
  10318. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10319. "type": "integer"
  10320. },
  10321. "marketid": {
  10322. "description": "市场ID",
  10323. "type": "integer"
  10324. },
  10325. "marketname": {
  10326. "description": "市场名称",
  10327. "type": "string"
  10328. },
  10329. "matchaccountid": {
  10330. "description": "对手账号id",
  10331. "type": "integer"
  10332. },
  10333. "memberuserid": {
  10334. "description": "会员id 个人投资者 需要填写",
  10335. "type": "integer"
  10336. },
  10337. "opencharge": {
  10338. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10339. "type": "number"
  10340. },
  10341. "openexchagechargevalue": {
  10342. "description": "建仓交易所手续费设置值",
  10343. "type": "number"
  10344. },
  10345. "openfeealgorithm": {
  10346. "description": "建仓手续费收取方式 1:比率 2:固定",
  10347. "type": "integer"
  10348. },
  10349. "openmemberchargevalue": {
  10350. "description": "建仓会员手续费设置值",
  10351. "type": "number"
  10352. },
  10353. "openqty": {
  10354. "description": "开仓数量(先建后平操作 需要记录)",
  10355. "type": "integer"
  10356. },
  10357. "optiontype": {
  10358. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10359. "type": "integer"
  10360. },
  10361. "orderid": {
  10362. "description": "委托单号",
  10363. "type": "string"
  10364. },
  10365. "performanceplanid": {
  10366. "description": "履约计划ID[期权]",
  10367. "type": "integer"
  10368. },
  10369. "performancestatus": {
  10370. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10371. "type": "integer"
  10372. },
  10373. "preexerciseprice": {
  10374. "description": "预申报价格",
  10375. "type": "number"
  10376. },
  10377. "premium": {
  10378. "description": "权利金 - [持仓单的权利金]",
  10379. "type": "number"
  10380. },
  10381. "relatedouttradeid": {
  10382. "description": "关联外部成交单ID",
  10383. "type": "integer"
  10384. },
  10385. "status": {
  10386. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10387. "type": "integer"
  10388. },
  10389. "tradeamount": {
  10390. "description": "成交金额[账户币种,用于所有权]",
  10391. "type": "number"
  10392. },
  10393. "tradedate": {
  10394. "description": "交易日(yyyyMMdd)",
  10395. "type": "string"
  10396. },
  10397. "tradeid": {
  10398. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10399. "type": "string"
  10400. },
  10401. "trademode": {
  10402. "description": "交易模式",
  10403. "type": "integer"
  10404. },
  10405. "tradeprice": {
  10406. "description": "成交价格",
  10407. "type": "number"
  10408. },
  10409. "tradeproperty": {
  10410. "description": "交易属性",
  10411. "type": "integer"
  10412. },
  10413. "tradeqty": {
  10414. "description": "成交数量",
  10415. "type": "integer"
  10416. },
  10417. "tradetime": {
  10418. "description": "成交时间",
  10419. "type": "string"
  10420. },
  10421. "tradetype": {
  10422. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10423. "type": "integer"
  10424. }
  10425. }
  10426. },
  10427. "order.QueryTradeOrderDetailRsp": {
  10428. "type": "object",
  10429. "required": [
  10430. "accountid",
  10431. "buildtype",
  10432. "buyorsell",
  10433. "goodsid",
  10434. "marketid",
  10435. "operatetype",
  10436. "orderqty",
  10437. "ordertime",
  10438. "pricemode",
  10439. "tradedate",
  10440. "validtype"
  10441. ],
  10442. "properties": {
  10443. "accountid": {
  10444. "description": "账户ID[报价币种]",
  10445. "type": "integer"
  10446. },
  10447. "buildtype": {
  10448. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10449. "type": "integer"
  10450. },
  10451. "buyorsell": {
  10452. "description": "买卖 - 0:买 1:卖",
  10453. "type": "integer"
  10454. },
  10455. "cancelorderid": {
  10456. "description": "撤单单号(撤单时填写)",
  10457. "type": "string"
  10458. },
  10459. "cancelqty": {
  10460. "description": "撤单数量",
  10461. "type": "integer"
  10462. },
  10463. "clienttype": {
  10464. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10465. "type": "integer"
  10466. },
  10467. "closefreezecharge": {
  10468. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10469. "type": "number"
  10470. },
  10471. "closeqty": {
  10472. "description": "平仓数量(先建后平操作 需要记录)",
  10473. "type": "integer"
  10474. },
  10475. "closetradeqty": {
  10476. "description": "平仓成交数量(先建后平操作,需要记录)",
  10477. "type": "integer"
  10478. },
  10479. "closeunfreezecharge": {
  10480. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10481. "type": "number"
  10482. },
  10483. "delistingtype": {
  10484. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10485. "type": "integer"
  10486. },
  10487. "enableqty": {
  10488. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  10489. "type": "integer"
  10490. },
  10491. "freezecharge": {
  10492. "description": "冻结手续费",
  10493. "type": "number"
  10494. },
  10495. "freezemargin": {
  10496. "description": "冻结保证金(冻结交易金额)",
  10497. "type": "number"
  10498. },
  10499. "goodscode": {
  10500. "description": "商品代码",
  10501. "type": "string"
  10502. },
  10503. "goodsid": {
  10504. "description": "商品ID",
  10505. "type": "integer"
  10506. },
  10507. "goodsname": {
  10508. "description": "商品名称",
  10509. "type": "string"
  10510. },
  10511. "listingselecttype": {
  10512. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10513. "type": "integer"
  10514. },
  10515. "marketid": {
  10516. "description": "市场ID",
  10517. "type": "integer"
  10518. },
  10519. "marketname": {
  10520. "description": "市场名称",
  10521. "type": "string"
  10522. },
  10523. "openfreezecharge": {
  10524. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10525. "type": "number"
  10526. },
  10527. "openqty": {
  10528. "description": "开仓数量(先建后平操作,需要记录)",
  10529. "type": "integer"
  10530. },
  10531. "opentradeqty": {
  10532. "description": "开仓成交数量(先建后平操作,需要记录)",
  10533. "type": "integer"
  10534. },
  10535. "openunfreezecharge": {
  10536. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10537. "type": "number"
  10538. },
  10539. "operatetype": {
  10540. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10541. "type": "integer"
  10542. },
  10543. "operatorid": {
  10544. "description": "登录账号(LoginID)",
  10545. "type": "integer"
  10546. },
  10547. "orderid": {
  10548. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10549. "type": "string"
  10550. },
  10551. "orderprice": {
  10552. "description": "委托价格",
  10553. "type": "number"
  10554. },
  10555. "orderqty": {
  10556. "description": "委托数量",
  10557. "type": "integer"
  10558. },
  10559. "ordersrc": {
  10560. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10561. "type": "integer"
  10562. },
  10563. "orderstatus": {
  10564. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10565. "type": "integer"
  10566. },
  10567. "ordertime": {
  10568. "description": "委托时间",
  10569. "type": "string"
  10570. },
  10571. "preorderid": {
  10572. "description": "关联预埋单号(止盈止损单时填写)",
  10573. "type": "string"
  10574. },
  10575. "pricemode": {
  10576. "description": "取价方式 - 1:市价 2: 限价",
  10577. "type": "integer"
  10578. },
  10579. "relatedid": {
  10580. "description": "关联单号(交割单)",
  10581. "type": "string"
  10582. },
  10583. "tradedate": {
  10584. "description": "交易日(yyyyMMdd)",
  10585. "type": "string"
  10586. },
  10587. "trademode": {
  10588. "description": "交易模式",
  10589. "type": "integer"
  10590. },
  10591. "tradeqty": {
  10592. "description": "成交数量",
  10593. "type": "integer"
  10594. },
  10595. "unfreezecharge": {
  10596. "description": "解冻手续费",
  10597. "type": "number"
  10598. },
  10599. "unfreezemargin": {
  10600. "description": "解冻保证金",
  10601. "type": "number"
  10602. },
  10603. "validtime": {
  10604. "description": "有效期限",
  10605. "type": "string"
  10606. },
  10607. "validtype": {
  10608. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10609. "type": "integer"
  10610. },
  10611. "volumetype": {
  10612. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10613. "type": "integer"
  10614. }
  10615. }
  10616. },
  10617. "order.QueryTradePositionRsp": {
  10618. "type": "object",
  10619. "required": [
  10620. "goodsid"
  10621. ],
  10622. "properties": {
  10623. "accountid": {
  10624. "description": "资金账户",
  10625. "type": "integer"
  10626. },
  10627. "agreeunit": {
  10628. "description": "合约单位",
  10629. "type": "number"
  10630. },
  10631. "averageprice": {
  10632. "description": "持仓均价",
  10633. "type": "number"
  10634. },
  10635. "buyorsell": {
  10636. "description": "方向 - 0:买 1:卖",
  10637. "type": "integer"
  10638. },
  10639. "closetotalqty": {
  10640. "description": "平仓总数量",
  10641. "type": "integer"
  10642. },
  10643. "curholderamount": {
  10644. "description": "当前持仓总金额[商品币种]",
  10645. "type": "number"
  10646. },
  10647. "curpositionqty": {
  10648. "description": "当前持仓总数量",
  10649. "type": "integer"
  10650. },
  10651. "currencyid": {
  10652. "description": "报价货币ID",
  10653. "type": "integer"
  10654. },
  10655. "curtdposition": {
  10656. "description": "期末今日头寸",
  10657. "type": "integer"
  10658. },
  10659. "decimalplace": {
  10660. "description": "报价小数位",
  10661. "type": "integer"
  10662. },
  10663. "enableqty": {
  10664. "description": "可用量",
  10665. "type": "integer"
  10666. },
  10667. "fretdposition": {
  10668. "description": "冻结今日头寸",
  10669. "type": "integer"
  10670. },
  10671. "frozenqty": {
  10672. "description": "持仓冻结数量",
  10673. "type": "integer"
  10674. },
  10675. "goodscode": {
  10676. "description": "商品代码",
  10677. "type": "string"
  10678. },
  10679. "goodsid": {
  10680. "description": "商品Id",
  10681. "type": "integer"
  10682. },
  10683. "goodsname": {
  10684. "description": "商品名称",
  10685. "type": "string"
  10686. },
  10687. "goodunit": {
  10688. "description": "报价单位",
  10689. "type": "string"
  10690. },
  10691. "goodunitid": {
  10692. "description": "报价单位ID",
  10693. "type": "integer"
  10694. },
  10695. "holderamount": {
  10696. "description": "期初持仓总金额[商品币种]",
  10697. "type": "number"
  10698. },
  10699. "marketid": {
  10700. "description": "所属市场ID",
  10701. "type": "integer"
  10702. },
  10703. "openreqqty": {
  10704. "description": "开仓申请数量(用于比较最大持仓数量)",
  10705. "type": "integer"
  10706. },
  10707. "opentotalqty": {
  10708. "description": "开仓总数量",
  10709. "type": "integer"
  10710. },
  10711. "otherfrozenqty": {
  10712. "description": "持仓其他冻结数量(交割冻结)",
  10713. "type": "integer"
  10714. },
  10715. "positionqty": {
  10716. "description": "期初持仓数量",
  10717. "type": "integer"
  10718. },
  10719. "tnqty": {
  10720. "description": "T+N冻结总量",
  10721. "type": "integer"
  10722. },
  10723. "tnusedqty": {
  10724. "description": "T+N使用量(可以使用T+N的冻结数量)",
  10725. "type": "integer"
  10726. },
  10727. "trademode": {
  10728. "description": "交易模式",
  10729. "type": "integer"
  10730. },
  10731. "usedmargin": {
  10732. "description": "占用保证金[商品币种]",
  10733. "type": "number"
  10734. }
  10735. }
  10736. },
  10737. "quote.HistoryData": {
  10738. "type": "object",
  10739. "properties": {
  10740. "c": {
  10741. "description": "收盘价",
  10742. "type": "number"
  10743. },
  10744. "h": {
  10745. "description": "最高价",
  10746. "type": "number"
  10747. },
  10748. "hv": {
  10749. "description": "持仓量",
  10750. "type": "integer"
  10751. },
  10752. "l": {
  10753. "description": "最低价",
  10754. "type": "number"
  10755. },
  10756. "o": {
  10757. "description": "开盘价",
  10758. "type": "number"
  10759. },
  10760. "s": {
  10761. "description": "结算价,日线周期(包括)以上才有",
  10762. "type": "number"
  10763. },
  10764. "ts": {
  10765. "description": "时间",
  10766. "type": "string"
  10767. },
  10768. "tt": {
  10769. "description": "总金额",
  10770. "type": "number"
  10771. },
  10772. "tv": {
  10773. "description": "总量",
  10774. "type": "integer"
  10775. }
  10776. }
  10777. },
  10778. "quote.QueryTSDataRsp": {
  10779. "type": "object",
  10780. "properties": {
  10781. "decimalPlace": {
  10782. "description": "小数位",
  10783. "type": "integer"
  10784. },
  10785. "endTime": {
  10786. "description": "结束时间",
  10787. "type": "string"
  10788. },
  10789. "goodsCode": {
  10790. "description": "商品代码",
  10791. "type": "string"
  10792. },
  10793. "historyDatas": {
  10794. "description": "历史数据",
  10795. "type": "array",
  10796. "items": {
  10797. "$ref": "#/definitions/quote.HistoryData"
  10798. }
  10799. },
  10800. "preSettle": {
  10801. "description": "昨结",
  10802. "type": "number"
  10803. },
  10804. "startTime": {
  10805. "description": "开始时间",
  10806. "type": "string"
  10807. },
  10808. "tradeDate": {
  10809. "description": "交易日",
  10810. "type": "string"
  10811. }
  10812. }
  10813. },
  10814. "szdz.QueryConvertLogRsp": {
  10815. "type": "object",
  10816. "required": [
  10817. "logid"
  10818. ],
  10819. "properties": {
  10820. "accountid": {
  10821. "description": "资金账户ID",
  10822. "type": "integer"
  10823. },
  10824. "clientticket": {
  10825. "description": "客户端流水号",
  10826. "type": "string"
  10827. },
  10828. "converttype": {
  10829. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  10830. "type": "integer"
  10831. },
  10832. "createtime": {
  10833. "description": "记账时间",
  10834. "type": "string"
  10835. },
  10836. "daymaxvalue": {
  10837. "description": "配置当日最大转入限制",
  10838. "type": "number"
  10839. },
  10840. "daymaxvalue2": {
  10841. "description": "配置当日最大转入限制(转入)",
  10842. "type": "number"
  10843. },
  10844. "goodscode": {
  10845. "description": "商品代码",
  10846. "type": "string"
  10847. },
  10848. "goodsname": {
  10849. "description": "商品名称",
  10850. "type": "string"
  10851. },
  10852. "handlestatus": {
  10853. "description": "处理状态",
  10854. "type": "integer"
  10855. },
  10856. "innergoodsid": {
  10857. "description": "内部商品ID",
  10858. "type": "integer"
  10859. },
  10860. "inratio": {
  10861. "description": "配置转入比值",
  10862. "type": "integer"
  10863. },
  10864. "invalue": {
  10865. "description": "目标值",
  10866. "type": "number"
  10867. },
  10868. "logid": {
  10869. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10870. "type": "integer"
  10871. },
  10872. "mobile": {
  10873. "description": "手机号码(加密存储)",
  10874. "type": "string"
  10875. },
  10876. "outergoodscode": {
  10877. "description": "外部商品代码[JD\\PD]",
  10878. "type": "string"
  10879. },
  10880. "outratio": {
  10881. "description": "配置转出比值",
  10882. "type": "integer"
  10883. },
  10884. "outvalue": {
  10885. "description": "源值",
  10886. "type": "number"
  10887. },
  10888. "pddecimalplace": {
  10889. "description": "PD小数位",
  10890. "type": "integer"
  10891. },
  10892. "qty": {
  10893. "description": "数量",
  10894. "type": "string"
  10895. },
  10896. "remark": {
  10897. "description": "备注",
  10898. "type": "string"
  10899. },
  10900. "sessionid": {
  10901. "description": "会话ID",
  10902. "type": "integer"
  10903. },
  10904. "timemaxvalue": {
  10905. "description": "配置单次最大转入限制",
  10906. "type": "number"
  10907. },
  10908. "timemaxvalue2": {
  10909. "description": "配置单次最大转入限制(转入)",
  10910. "type": "number"
  10911. },
  10912. "timeminvalue": {
  10913. "description": "配置单次最小数量限制",
  10914. "type": "number"
  10915. },
  10916. "timeminvalue2": {
  10917. "description": "配置单次最小数量限制(转入)",
  10918. "type": "number"
  10919. },
  10920. "tradedate": {
  10921. "description": "交易日(yyyyMMdd)",
  10922. "type": "string"
  10923. },
  10924. "userid": {
  10925. "description": "用户ID",
  10926. "type": "integer"
  10927. }
  10928. }
  10929. },
  10930. "szdz.QueryGoodsPickupRsp": {
  10931. "type": "object",
  10932. "required": [
  10933. "takeorderid"
  10934. ],
  10935. "properties": {
  10936. "accountid": {
  10937. "description": "账户ID",
  10938. "type": "integer"
  10939. },
  10940. "address": {
  10941. "description": "提货人详细地址",
  10942. "type": "string"
  10943. },
  10944. "auditer": {
  10945. "description": "审核人",
  10946. "type": "integer"
  10947. },
  10948. "audittime": {
  10949. "description": "审核时间",
  10950. "type": "string"
  10951. },
  10952. "cardnum": {
  10953. "description": "提货人证件号码",
  10954. "type": "string"
  10955. },
  10956. "cardtypeid": {
  10957. "description": "提货人证件类型",
  10958. "type": "integer"
  10959. },
  10960. "checkremark": {
  10961. "description": "审核备注",
  10962. "type": "string"
  10963. },
  10964. "goodscode": {
  10965. "description": "商品代码",
  10966. "type": "string"
  10967. },
  10968. "goodsid": {
  10969. "description": "商品ID",
  10970. "type": "integer"
  10971. },
  10972. "goodsname": {
  10973. "description": "商品名称",
  10974. "type": "string"
  10975. },
  10976. "handlestatus": {
  10977. "description": "处理状态",
  10978. "type": "integer"
  10979. },
  10980. "marketid": {
  10981. "description": "市场ID",
  10982. "type": "integer"
  10983. },
  10984. "phonenum": {
  10985. "description": "提货人联系方式",
  10986. "type": "string"
  10987. },
  10988. "qty": {
  10989. "description": "提货数量",
  10990. "type": "number"
  10991. },
  10992. "recivername": {
  10993. "description": "提货人姓名",
  10994. "type": "string"
  10995. },
  10996. "reqtime": {
  10997. "description": "更新时间",
  10998. "type": "string"
  10999. },
  11000. "takemode": {
  11001. "description": "提货方式 - 2:自提 3:配送",
  11002. "type": "integer"
  11003. },
  11004. "takeorderid": {
  11005. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11006. "type": "string"
  11007. },
  11008. "takeorderstatus": {
  11009. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11010. "type": "integer"
  11011. },
  11012. "takeremark": {
  11013. "description": "提货备注",
  11014. "type": "string"
  11015. },
  11016. "tradedate": {
  11017. "description": "交易日(yyyyMMdd)",
  11018. "type": "string"
  11019. },
  11020. "userid": {
  11021. "description": "用户ID",
  11022. "type": "integer"
  11023. }
  11024. }
  11025. },
  11026. "szdz.QueryRecieptOrderRsp": {
  11027. "type": "object",
  11028. "required": [
  11029. "ordertime"
  11030. ],
  11031. "properties": {
  11032. "accountName": {
  11033. "description": "所属账号名称(已脱敏)",
  11034. "type": "string"
  11035. },
  11036. "accountid": {
  11037. "description": "资金账号",
  11038. "type": "integer"
  11039. },
  11040. "buyorsell": {
  11041. "description": "方向 - 0:买 1:卖",
  11042. "type": "integer"
  11043. },
  11044. "enableqty": {
  11045. "description": "可摘数量",
  11046. "type": "integer"
  11047. },
  11048. "goodscode": {
  11049. "description": "商品代码",
  11050. "type": "string"
  11051. },
  11052. "goodsid": {
  11053. "description": "商品ID",
  11054. "type": "integer"
  11055. },
  11056. "goodsname": {
  11057. "description": "商品名称",
  11058. "type": "string"
  11059. },
  11060. "orderid": {
  11061. "description": "委托单号",
  11062. "type": "string"
  11063. },
  11064. "orderprice": {
  11065. "description": "委托价格",
  11066. "type": "number"
  11067. },
  11068. "ordertime": {
  11069. "description": "委托时间",
  11070. "type": "string"
  11071. },
  11072. "tradedate": {
  11073. "description": "交易日(yyyyMMdd)",
  11074. "type": "string"
  11075. }
  11076. }
  11077. },
  11078. "szdz.QuerySZDZTradePositionRsp": {
  11079. "type": "object",
  11080. "properties": {
  11081. "accountid": {
  11082. "description": "账号Id",
  11083. "type": "integer"
  11084. },
  11085. "agreeunit": {
  11086. "description": "合约单位",
  11087. "type": "number"
  11088. },
  11089. "averageprice": {
  11090. "description": "持仓均价",
  11091. "type": "number"
  11092. },
  11093. "buyorsell": {
  11094. "description": "方向 - 0:买 1:卖",
  11095. "type": "integer"
  11096. },
  11097. "closetotalqty": {
  11098. "description": "平仓总数量",
  11099. "type": "integer"
  11100. },
  11101. "curholderamount": {
  11102. "description": "当前持仓总金额",
  11103. "type": "number"
  11104. },
  11105. "curpositionqty": {
  11106. "description": "当前持仓总数量",
  11107. "type": "integer"
  11108. },
  11109. "currencyid": {
  11110. "description": "报价货币ID",
  11111. "type": "integer"
  11112. },
  11113. "curtdposition": {
  11114. "description": "期末今日头寸",
  11115. "type": "integer"
  11116. },
  11117. "decimalplace": {
  11118. "description": "报价小数位",
  11119. "type": "integer"
  11120. },
  11121. "enableqty": {
  11122. "description": "可用量",
  11123. "type": "integer"
  11124. },
  11125. "fretdposition": {
  11126. "description": "冻结今日头寸",
  11127. "type": "integer"
  11128. },
  11129. "frozenqty": {
  11130. "description": "持仓冻结数量",
  11131. "type": "integer"
  11132. },
  11133. "goodscode": {
  11134. "description": "商品代码(内部)",
  11135. "type": "string"
  11136. },
  11137. "goodsid": {
  11138. "description": "商品Id",
  11139. "type": "integer"
  11140. },
  11141. "goodsname": {
  11142. "description": "商品名称",
  11143. "type": "string"
  11144. },
  11145. "goodunit": {
  11146. "description": "报价单位",
  11147. "type": "string"
  11148. },
  11149. "goodunitid": {
  11150. "description": "报价单位ID",
  11151. "type": "integer"
  11152. },
  11153. "holderamount": {
  11154. "description": "期初持仓总金额",
  11155. "type": "number"
  11156. },
  11157. "marketid": {
  11158. "description": "市场ID",
  11159. "type": "integer"
  11160. },
  11161. "openreqqty": {
  11162. "description": "开仓申请数量",
  11163. "type": "integer"
  11164. },
  11165. "opentotalqty": {
  11166. "description": "开仓总数量",
  11167. "type": "integer"
  11168. },
  11169. "otherfrozenqty": {
  11170. "description": "持仓其他冻结数量(交割冻结)",
  11171. "type": "integer"
  11172. },
  11173. "positionqty": {
  11174. "description": "期初持仓数量",
  11175. "type": "integer"
  11176. },
  11177. "szdz3freezqty": {
  11178. "description": "尚志大宗转换冻结总数量",
  11179. "type": "integer"
  11180. },
  11181. "tnqty": {
  11182. "description": "T+N冻结总量",
  11183. "type": "integer"
  11184. },
  11185. "tnusedqty": {
  11186. "description": "T+N使用量",
  11187. "type": "integer"
  11188. },
  11189. "trademode": {
  11190. "description": "交易模式",
  11191. "type": "integer"
  11192. },
  11193. "usedmargin": {
  11194. "description": "占用保证金",
  11195. "type": "number"
  11196. }
  11197. }
  11198. },
  11199. "taaccount.QueryAmountLogRsp": {
  11200. "type": "object",
  11201. "required": [
  11202. "accountid",
  11203. "amount",
  11204. "amountadjusttype",
  11205. "autoid",
  11206. "balance",
  11207. "createtime",
  11208. "currentbalance",
  11209. "operatetype"
  11210. ],
  11211. "properties": {
  11212. "OPERATETYPENAME": {
  11213. "description": "资金操作类型名称",
  11214. "type": "string"
  11215. },
  11216. "accountid": {
  11217. "description": "资金账户ID",
  11218. "type": "integer"
  11219. },
  11220. "agoodscode": {
  11221. "description": "竞拍商品代码",
  11222. "type": "string"
  11223. },
  11224. "agoodsname": {
  11225. "description": "竞拍商品名称",
  11226. "type": "string"
  11227. },
  11228. "amount": {
  11229. "description": "资金金额",
  11230. "type": "number"
  11231. },
  11232. "amountadjusttype": {
  11233. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11234. "type": "integer"
  11235. },
  11236. "autoid": {
  11237. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11238. "type": "integer"
  11239. },
  11240. "balance": {
  11241. "description": "期初余额",
  11242. "type": "number"
  11243. },
  11244. "businesscode": {
  11245. "description": "业务编号",
  11246. "type": "integer"
  11247. },
  11248. "createtime": {
  11249. "description": "发生时间",
  11250. "type": "string"
  11251. },
  11252. "currencyid": {
  11253. "description": "币种ID",
  11254. "type": "integer"
  11255. },
  11256. "currentbalance": {
  11257. "description": "期末余额(变动后金额)",
  11258. "type": "number"
  11259. },
  11260. "dgoodscode": {
  11261. "description": "交割商品代码",
  11262. "type": "string"
  11263. },
  11264. "dgoodsname": {
  11265. "description": "交割商品名称",
  11266. "type": "string"
  11267. },
  11268. "goodscode": {
  11269. "description": "商品代码",
  11270. "type": "string"
  11271. },
  11272. "goodsid": {
  11273. "description": "商品ID",
  11274. "type": "integer"
  11275. },
  11276. "goodsname": {
  11277. "description": "商品名称",
  11278. "type": "string"
  11279. },
  11280. "marketid": {
  11281. "description": "市场ID",
  11282. "type": "integer"
  11283. },
  11284. "marketname": {
  11285. "description": "市场名称",
  11286. "type": "string"
  11287. },
  11288. "moneyticket": {
  11289. "description": "资金流水号:银行端流水号",
  11290. "type": "integer"
  11291. },
  11292. "operatetype": {
  11293. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  11294. "type": "integer"
  11295. },
  11296. "relationorderid": {
  11297. "description": "关联单号",
  11298. "type": "string"
  11299. },
  11300. "remark": {
  11301. "description": "备注",
  11302. "type": "string"
  11303. },
  11304. "trademode": {
  11305. "description": "交易模式",
  11306. "type": "integer"
  11307. }
  11308. }
  11309. },
  11310. "taaccount.QueryHisAmountLogRsp": {
  11311. "type": "object",
  11312. "required": [
  11313. "accountid",
  11314. "amount",
  11315. "amountadjusttype",
  11316. "autoid",
  11317. "balance",
  11318. "createtime",
  11319. "currentbalance",
  11320. "histradedate",
  11321. "operatetype"
  11322. ],
  11323. "properties": {
  11324. "OPERATETYPENAME": {
  11325. "description": "资金操作类型名称",
  11326. "type": "string"
  11327. },
  11328. "accountid": {
  11329. "description": "资金账户ID",
  11330. "type": "integer"
  11331. },
  11332. "agoodscode": {
  11333. "description": "竞拍商品代码",
  11334. "type": "string"
  11335. },
  11336. "agoodsname": {
  11337. "description": "竞拍商品名称",
  11338. "type": "string"
  11339. },
  11340. "amount": {
  11341. "description": "资金金额",
  11342. "type": "number"
  11343. },
  11344. "amountadjusttype": {
  11345. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11346. "type": "integer"
  11347. },
  11348. "autoid": {
  11349. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11350. "type": "integer"
  11351. },
  11352. "balance": {
  11353. "description": "期初余额",
  11354. "type": "number"
  11355. },
  11356. "businesscode": {
  11357. "description": "业务编号",
  11358. "type": "integer"
  11359. },
  11360. "createtime": {
  11361. "description": "发生时间",
  11362. "type": "string"
  11363. },
  11364. "currencyid": {
  11365. "description": "币种ID",
  11366. "type": "integer"
  11367. },
  11368. "currentbalance": {
  11369. "description": "期末余额(变动后金额)",
  11370. "type": "number"
  11371. },
  11372. "dgoodscode": {
  11373. "description": "交割商品代码",
  11374. "type": "string"
  11375. },
  11376. "dgoodsname": {
  11377. "description": "交割商品名称",
  11378. "type": "string"
  11379. },
  11380. "goodscode": {
  11381. "description": "商品代码",
  11382. "type": "string"
  11383. },
  11384. "goodsid": {
  11385. "description": "商品ID",
  11386. "type": "integer"
  11387. },
  11388. "goodsname": {
  11389. "description": "商品名称",
  11390. "type": "string"
  11391. },
  11392. "histradedate": {
  11393. "description": "历史交易日",
  11394. "type": "string"
  11395. },
  11396. "isvaliddata": {
  11397. "description": "是否有效 - 0:无效 1:有效",
  11398. "type": "integer"
  11399. },
  11400. "marketid": {
  11401. "description": "市场ID",
  11402. "type": "integer"
  11403. },
  11404. "marketname": {
  11405. "description": "市场名称",
  11406. "type": "string"
  11407. },
  11408. "moneyticket": {
  11409. "description": "资金流水号:银行端流水号",
  11410. "type": "integer"
  11411. },
  11412. "operatetype": {
  11413. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  11414. "type": "integer"
  11415. },
  11416. "relationorderid": {
  11417. "description": "关联单号",
  11418. "type": "string"
  11419. },
  11420. "remark": {
  11421. "description": "备注",
  11422. "type": "string"
  11423. },
  11424. "trademode": {
  11425. "description": "交易模式",
  11426. "type": "integer"
  11427. }
  11428. }
  11429. },
  11430. "trade.QueryRecieptOrderRsp": {
  11431. "type": "object",
  11432. "required": [
  11433. "ordertime"
  11434. ],
  11435. "properties": {
  11436. "accountName": {
  11437. "description": "所属账号名称(已脱敏)",
  11438. "type": "string"
  11439. },
  11440. "accountid": {
  11441. "description": "资金账号",
  11442. "type": "integer"
  11443. },
  11444. "buyorsell": {
  11445. "description": "方向 - 0:买 1:卖",
  11446. "type": "integer"
  11447. },
  11448. "enableqty": {
  11449. "description": "可摘数量",
  11450. "type": "integer"
  11451. },
  11452. "goodscode": {
  11453. "description": "商品代码",
  11454. "type": "string"
  11455. },
  11456. "goodsid": {
  11457. "description": "商品ID",
  11458. "type": "integer"
  11459. },
  11460. "goodsname": {
  11461. "description": "商品名称",
  11462. "type": "string"
  11463. },
  11464. "orderid": {
  11465. "description": "委托单号",
  11466. "type": "string"
  11467. },
  11468. "orderprice": {
  11469. "description": "委托价格",
  11470. "type": "number"
  11471. },
  11472. "ordertime": {
  11473. "description": "委托时间",
  11474. "type": "string"
  11475. },
  11476. "tradedate": {
  11477. "description": "交易日(yyyyMMdd)",
  11478. "type": "string"
  11479. }
  11480. }
  11481. }
  11482. },
  11483. "securityDefinitions": {
  11484. "ApiKeyAuth": {
  11485. "type": "apiKey",
  11486. "name": "Authorization",
  11487. "in": "header"
  11488. }
  11489. }
  11490. }`
  11491. type swaggerInfo struct {
  11492. Version string
  11493. Host string
  11494. BasePath string
  11495. Schemes []string
  11496. Title string
  11497. Description string
  11498. }
  11499. // SwaggerInfo holds exported Swagger Info so clients can modify it
  11500. var SwaggerInfo = swaggerInfo{
  11501. Version: "1.0",
  11502. Host: "",
  11503. BasePath: "/api",
  11504. Schemes: []string{},
  11505. Title: "MTP2.0 查询服务 API",
  11506. Description: "新的查询服务,替代原通用查询服务。",
  11507. }
  11508. type s struct{}
  11509. func (s *s) ReadDoc() string {
  11510. sInfo := SwaggerInfo
  11511. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  11512. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  11513. "marshal": func(v interface{}) string {
  11514. a, _ := json.Marshal(v)
  11515. return string(a)
  11516. },
  11517. }).Parse(doc)
  11518. if err != nil {
  11519. return doc
  11520. }
  11521. var tpl bytes.Buffer
  11522. if err := t.Execute(&tpl, sInfo); err != nil {
  11523. return doc
  11524. }
  11525. return tpl.String()
  11526. }
  11527. func init() {
  11528. swag.Register(swag.Name, &s{})
  11529. }