docs.go 537 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910
  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. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessKx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryChangeLog": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询变更记录",
  964. "parameters": [
  965. {
  966. "type": "string",
  967. "description": "用户ID",
  968. "name": "RelatedId",
  969. "in": "query",
  970. "required": true
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "type": "array",
  978. "items": {
  979. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  980. }
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryContract": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询合同(采购和销售)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userId",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "合同类型 1-采购, -1-销售",
  1017. "name": "contracttype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "integer",
  1023. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1024. "name": "querytype",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "type": "array",
  1034. "items": {
  1035. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1036. }
  1037. }
  1038. },
  1039. "500": {
  1040. "description": "Internal Server Error",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "/Ermcp/QueryExposureDetail": {
  1049. "get": {
  1050. "security": [
  1051. {
  1052. "ApiKeyAuth": []
  1053. }
  1054. ],
  1055. "produces": [
  1056. "application/json"
  1057. ],
  1058. "tags": [
  1059. "企业风险管理(app)"
  1060. ],
  1061. "summary": "查询敞口现货明细",
  1062. "parameters": [
  1063. {
  1064. "type": "integer",
  1065. "description": "所属机构ID",
  1066. "name": "areaUserId",
  1067. "in": "query",
  1068. "required": true
  1069. },
  1070. {
  1071. "type": "integer",
  1072. "description": "套保商品",
  1073. "name": "middleGoodsId",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureHedgePosition": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "所属机构ID",
  1115. "name": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "type": "array",
  1125. "items": {
  1126. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1127. }
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Ermcp/QueryExposureHedgePositionDetail": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "企业风险管理(app)"
  1151. ],
  1152. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "所属机构ID",
  1157. "name": "areaUserId",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": "商品id",
  1164. "name": "goodsId",
  1165. "in": "query",
  1166. "required": true
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "OK",
  1172. "schema": {
  1173. "type": "array",
  1174. "items": {
  1175. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1176. }
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Ermcp/QueryExposureSpot": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "企业风险管理(app)"
  1200. ],
  1201. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1202. "parameters": [
  1203. {
  1204. "type": "integer",
  1205. "description": "所属机构ID",
  1206. "name": "areaUserId",
  1207. "in": "query",
  1208. "required": true
  1209. }
  1210. ],
  1211. "responses": {
  1212. "200": {
  1213. "description": "OK",
  1214. "schema": {
  1215. "type": "array",
  1216. "items": {
  1217. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1218. }
  1219. }
  1220. },
  1221. "500": {
  1222. "description": "Internal Server Error",
  1223. "schema": {
  1224. "$ref": "#/definitions/app.Response"
  1225. }
  1226. }
  1227. }
  1228. }
  1229. },
  1230. "/Ermcp/QueryExposureSpotDetail": {
  1231. "get": {
  1232. "security": [
  1233. {
  1234. "ApiKeyAuth": []
  1235. }
  1236. ],
  1237. "produces": [
  1238. "application/json"
  1239. ],
  1240. "tags": [
  1241. "企业风险管理(app)"
  1242. ],
  1243. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1244. "parameters": [
  1245. {
  1246. "type": "integer",
  1247. "description": "所属机构ID",
  1248. "name": "areaUserId",
  1249. "in": "query",
  1250. "required": true
  1251. },
  1252. {
  1253. "type": "integer",
  1254. "description": "现货品种ID",
  1255. "name": "wrstandardId",
  1256. "in": "query",
  1257. "required": true
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "type": "array",
  1265. "items": {
  1266. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1267. }
  1268. }
  1269. },
  1270. "500": {
  1271. "description": "Internal Server Error",
  1272. "schema": {
  1273. "$ref": "#/definitions/app.Response"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "/Ermcp/QueryGGConvertConfig": {
  1280. "get": {
  1281. "security": [
  1282. {
  1283. "ApiKeyAuth": []
  1284. }
  1285. ],
  1286. "produces": [
  1287. "application/json"
  1288. ],
  1289. "tags": [
  1290. "企业风险管理(app)"
  1291. ],
  1292. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1293. "parameters": [
  1294. {
  1295. "type": "integer",
  1296. "description": "品种id(不填则查所有)",
  1297. "name": "goodsgroupid",
  1298. "in": "query"
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "type": "array",
  1306. "items": {
  1307. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1308. }
  1309. }
  1310. },
  1311. "500": {
  1312. "description": "Internal Server Error",
  1313. "schema": {
  1314. "$ref": "#/definitions/app.Response"
  1315. }
  1316. }
  1317. }
  1318. }
  1319. },
  1320. "/Ermcp/QueryHedgePlan": {
  1321. "get": {
  1322. "security": [
  1323. {
  1324. "ApiKeyAuth": []
  1325. }
  1326. ],
  1327. "produces": [
  1328. "application/json"
  1329. ],
  1330. "tags": [
  1331. "企业风险管理(app)"
  1332. ],
  1333. "summary": "查询套保计划",
  1334. "parameters": [
  1335. {
  1336. "type": "integer",
  1337. "description": "用户ID",
  1338. "name": "userId",
  1339. "in": "query",
  1340. "required": true
  1341. },
  1342. {
  1343. "type": "string",
  1344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1345. "name": "HedgePlanStatus",
  1346. "in": "query",
  1347. "required": true
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "OK",
  1353. "schema": {
  1354. "type": "array",
  1355. "items": {
  1356. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1357. }
  1358. }
  1359. },
  1360. "500": {
  1361. "description": "Internal Server Error",
  1362. "schema": {
  1363. "$ref": "#/definitions/app.Response"
  1364. }
  1365. }
  1366. }
  1367. }
  1368. },
  1369. "/Ermcp/QueryHisExposure": {
  1370. "get": {
  1371. "security": [
  1372. {
  1373. "ApiKeyAuth": []
  1374. }
  1375. ],
  1376. "produces": [
  1377. "application/json"
  1378. ],
  1379. "tags": [
  1380. "企业风险管理(app)"
  1381. ],
  1382. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1383. "parameters": [
  1384. {
  1385. "type": "integer",
  1386. "description": "所属机构ID",
  1387. "name": "areaUserId",
  1388. "in": "query",
  1389. "required": true
  1390. },
  1391. {
  1392. "type": "integer",
  1393. "description": "最近多少条记录, -1:为查全部",
  1394. "name": "lastNum",
  1395. "in": "query",
  1396. "required": true
  1397. }
  1398. ],
  1399. "responses": {
  1400. "200": {
  1401. "description": "OK",
  1402. "schema": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1406. }
  1407. }
  1408. },
  1409. "500": {
  1410. "description": "Internal Server Error",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. }
  1415. }
  1416. }
  1417. },
  1418. "/Ermcp/QueryMiddleGoods": {
  1419. "get": {
  1420. "security": [
  1421. {
  1422. "ApiKeyAuth": []
  1423. }
  1424. ],
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "企业风险管理(app)"
  1430. ],
  1431. "summary": "查询套保品种(菜单:套保品种)",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "所属机构ID",
  1436. "name": "userid",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "integer",
  1442. "description": "状态 0-停用 1-正常",
  1443. "name": "status",
  1444. "in": "query",
  1445. "required": true
  1446. }
  1447. ],
  1448. "responses": {
  1449. "200": {
  1450. "description": "OK",
  1451. "schema": {
  1452. "type": "array",
  1453. "items": {
  1454. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1455. }
  1456. }
  1457. },
  1458. "500": {
  1459. "description": "Internal Server Error",
  1460. "schema": {
  1461. "$ref": "#/definitions/app.Response"
  1462. }
  1463. }
  1464. }
  1465. }
  1466. },
  1467. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1468. "get": {
  1469. "security": [
  1470. {
  1471. "ApiKeyAuth": []
  1472. }
  1473. ],
  1474. "produces": [
  1475. "application/json"
  1476. ],
  1477. "tags": [
  1478. "企业风险管理(app)"
  1479. ],
  1480. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1481. "parameters": [
  1482. {
  1483. "type": "integer",
  1484. "description": "所属机构ID",
  1485. "name": "userid",
  1486. "in": "query",
  1487. "required": true
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": "套保品种id",
  1492. "name": "middlegoodsid",
  1493. "in": "query",
  1494. "required": true
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryMiddleGoodsDetail": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "所属机构ID",
  1534. "name": "userid",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "套保品种id",
  1541. "name": "middlegoodsid",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QueryRealtimeExposure": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "企业风险管理(app)"
  1577. ],
  1578. "summary": "查询实时敞口",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "所属机构ID",
  1583. "name": "AreaUserID",
  1584. "in": "query",
  1585. "required": true
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "OK",
  1591. "schema": {
  1592. "type": "array",
  1593. "items": {
  1594. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1595. }
  1596. }
  1597. },
  1598. "500": {
  1599. "description": "Internal Server Error",
  1600. "schema": {
  1601. "$ref": "#/definitions/app.Response"
  1602. }
  1603. }
  1604. }
  1605. }
  1606. },
  1607. "/Ermcp/QueryRealtimeExposurePosition": {
  1608. "get": {
  1609. "security": [
  1610. {
  1611. "ApiKeyAuth": []
  1612. }
  1613. ],
  1614. "produces": [
  1615. "application/json"
  1616. ],
  1617. "tags": [
  1618. "企业风险管理(app)"
  1619. ],
  1620. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1621. "parameters": [
  1622. {
  1623. "type": "integer",
  1624. "description": "所属机构ID",
  1625. "name": "areaUserId",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "套保商品ID",
  1632. "name": "middleGoodsId",
  1633. "in": "query",
  1634. "required": true
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QuerySpotContract": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询现货合同(对应现货合同菜单)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "用户ID",
  1674. "name": "userId",
  1675. "in": "query",
  1676. "required": true
  1677. },
  1678. {
  1679. "type": "integer",
  1680. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1681. "name": "QueryType",
  1682. "in": "query",
  1683. "required": true
  1684. }
  1685. ],
  1686. "responses": {
  1687. "200": {
  1688. "description": "OK",
  1689. "schema": {
  1690. "type": "array",
  1691. "items": {
  1692. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1693. }
  1694. }
  1695. },
  1696. "500": {
  1697. "description": "Internal Server Error",
  1698. "schema": {
  1699. "$ref": "#/definitions/app.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/Ermcp/QueryUserInfo": {
  1706. "get": {
  1707. "security": [
  1708. {
  1709. "ApiKeyAuth": []
  1710. }
  1711. ],
  1712. "produces": [
  1713. "application/json"
  1714. ],
  1715. "tags": [
  1716. "企业风险管理(app)"
  1717. ],
  1718. "summary": "查询客户资料",
  1719. "parameters": [
  1720. {
  1721. "type": "integer",
  1722. "description": "所属机构用户ID",
  1723. "name": "MemberUserID",
  1724. "in": "query",
  1725. "required": true
  1726. },
  1727. {
  1728. "type": "integer",
  1729. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1730. "name": "queryType",
  1731. "in": "query",
  1732. "required": true
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "OK",
  1738. "schema": {
  1739. "type": "array",
  1740. "items": {
  1741. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1742. }
  1743. }
  1744. },
  1745. "500": {
  1746. "description": "Internal Server Error",
  1747. "schema": {
  1748. "$ref": "#/definitions/app.Response"
  1749. }
  1750. }
  1751. }
  1752. }
  1753. },
  1754. "/Ermcp/QueryWrStandard": {
  1755. "get": {
  1756. "security": [
  1757. {
  1758. "ApiKeyAuth": []
  1759. }
  1760. ],
  1761. "produces": [
  1762. "application/json"
  1763. ],
  1764. "tags": [
  1765. "企业风险管理(app)"
  1766. ],
  1767. "summary": "查询现货商品",
  1768. "parameters": [
  1769. {
  1770. "type": "integer",
  1771. "description": "所属机构ID",
  1772. "name": "userid",
  1773. "in": "query",
  1774. "required": true
  1775. },
  1776. {
  1777. "type": "integer",
  1778. "description": "状态 0-停用 1-正常",
  1779. "name": "status",
  1780. "in": "query",
  1781. "required": true
  1782. }
  1783. ],
  1784. "responses": {
  1785. "200": {
  1786. "description": "OK",
  1787. "schema": {
  1788. "type": "array",
  1789. "items": {
  1790. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1791. }
  1792. }
  1793. },
  1794. "500": {
  1795. "description": "Internal Server Error",
  1796. "schema": {
  1797. "$ref": "#/definitions/app.Response"
  1798. }
  1799. }
  1800. }
  1801. }
  1802. },
  1803. "/Ermcp/QueryWrStandardDetail": {
  1804. "get": {
  1805. "security": [
  1806. {
  1807. "ApiKeyAuth": []
  1808. }
  1809. ],
  1810. "produces": [
  1811. "application/json"
  1812. ],
  1813. "tags": [
  1814. "企业风险管理(app)"
  1815. ],
  1816. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1817. "parameters": [
  1818. {
  1819. "type": "integer",
  1820. "description": "所属机构ID",
  1821. "name": "userid",
  1822. "in": "query",
  1823. "required": true
  1824. },
  1825. {
  1826. "type": "integer",
  1827. "description": "现货商品ID",
  1828. "name": "wrstandardid",
  1829. "in": "query",
  1830. "required": true
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "OK",
  1836. "schema": {
  1837. "type": "array",
  1838. "items": {
  1839. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1840. }
  1841. }
  1842. },
  1843. "500": {
  1844. "description": "Internal Server Error",
  1845. "schema": {
  1846. "$ref": "#/definitions/app.Response"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/Erms2/QueryArbitrageStrategy": {
  1853. "get": {
  1854. "security": [
  1855. {
  1856. "ApiKeyAuth": []
  1857. }
  1858. ],
  1859. "produces": [
  1860. "application/json"
  1861. ],
  1862. "tags": [
  1863. "风险管理"
  1864. ],
  1865. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1866. "parameters": [
  1867. {
  1868. "type": "integer",
  1869. "description": "账户ID",
  1870. "name": "userid",
  1871. "in": "query",
  1872. "required": true
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "商品组ID(品种ID)",
  1877. "name": "goodsgroupid",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Erms2/QueryInnerTradeDetail": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "风险管理"
  1909. ],
  1910. "summary": "查询内部成交单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户",
  1915. "name": "accountid",
  1916. "in": "query",
  1917. "required": true
  1918. }
  1919. ],
  1920. "responses": {
  1921. "200": {
  1922. "description": "OK",
  1923. "schema": {
  1924. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1925. }
  1926. },
  1927. "500": {
  1928. "description": "Internal Server Error",
  1929. "schema": {
  1930. "$ref": "#/definitions/app.Response"
  1931. }
  1932. }
  1933. }
  1934. }
  1935. },
  1936. "/Erms2/QuerySpotContract": {
  1937. "get": {
  1938. "security": [
  1939. {
  1940. "ApiKeyAuth": []
  1941. }
  1942. ],
  1943. "produces": [
  1944. "application/json"
  1945. ],
  1946. "tags": [
  1947. "风险管理"
  1948. ],
  1949. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1950. "parameters": [
  1951. {
  1952. "type": "integer",
  1953. "description": "策略申请ID",
  1954. "name": "asapplyid",
  1955. "in": "query",
  1956. "required": true
  1957. },
  1958. {
  1959. "type": "integer",
  1960. "description": "现货合同ID",
  1961. "name": "spotcontractid",
  1962. "in": "query"
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "OK",
  1968. "schema": {
  1969. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Erms3/AddErms2ASApply": {
  1982. "post": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "风险管理v3"
  1993. ],
  1994. "summary": "新增期现套利业务申请",
  1995. "parameters": [
  1996. {
  1997. "description": "申请参数",
  1998. "name": "jsonBody",
  1999. "in": "body",
  2000. "required": true,
  2001. "schema": {
  2002. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2003. }
  2004. }
  2005. ],
  2006. "responses": {
  2007. "200": {
  2008. "description": "OK",
  2009. "schema": {
  2010. "$ref": "#/definitions/app.Response"
  2011. }
  2012. },
  2013. "500": {
  2014. "description": "Internal Server Error",
  2015. "schema": {
  2016. "$ref": "#/definitions/app.Response"
  2017. }
  2018. }
  2019. }
  2020. }
  2021. },
  2022. "/Erms3/AddErms2SpotTradeApply": {
  2023. "post": {
  2024. "security": [
  2025. {
  2026. "ApiKeyAuth": []
  2027. }
  2028. ],
  2029. "produces": [
  2030. "application/json"
  2031. ],
  2032. "tags": [
  2033. "风险管理v3"
  2034. ],
  2035. "summary": "新增现货贸易业务申请",
  2036. "parameters": [
  2037. {
  2038. "description": "申请参数",
  2039. "name": "jsonBody",
  2040. "in": "body",
  2041. "required": true,
  2042. "schema": {
  2043. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2044. }
  2045. }
  2046. ],
  2047. "responses": {
  2048. "200": {
  2049. "description": "OK",
  2050. "schema": {
  2051. "$ref": "#/definitions/app.Response"
  2052. }
  2053. },
  2054. "500": {
  2055. "description": "Internal Server Error",
  2056. "schema": {
  2057. "$ref": "#/definitions/app.Response"
  2058. }
  2059. }
  2060. }
  2061. }
  2062. },
  2063. "/Erms3/AddSpotContractApply": {
  2064. "post": {
  2065. "security": [
  2066. {
  2067. "ApiKeyAuth": []
  2068. }
  2069. ],
  2070. "produces": [
  2071. "application/json"
  2072. ],
  2073. "tags": [
  2074. "风险管理v3"
  2075. ],
  2076. "summary": "新增现货合同申请",
  2077. "parameters": [
  2078. {
  2079. "description": "申请参数",
  2080. "name": "jsonBody",
  2081. "in": "body",
  2082. "required": true,
  2083. "schema": {
  2084. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2085. }
  2086. }
  2087. ],
  2088. "responses": {
  2089. "200": {
  2090. "description": "OK",
  2091. "schema": {
  2092. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2093. }
  2094. },
  2095. "500": {
  2096. "description": "Internal Server Error",
  2097. "schema": {
  2098. "$ref": "#/definitions/app.Response"
  2099. }
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "/Erms3/AddUserInfoApply": {
  2105. "post": {
  2106. "security": [
  2107. {
  2108. "ApiKeyAuth": []
  2109. }
  2110. ],
  2111. "produces": [
  2112. "application/json"
  2113. ],
  2114. "tags": [
  2115. "风险管理v3"
  2116. ],
  2117. "summary": "新增客户申请",
  2118. "parameters": [
  2119. {
  2120. "description": "申请参数",
  2121. "name": "jsonBody",
  2122. "in": "body",
  2123. "required": true,
  2124. "schema": {
  2125. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2126. }
  2127. }
  2128. ],
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Erms3/QueryBusinessInfo": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "风险管理v3"
  2157. ],
  2158. "summary": "查询业务表单数据",
  2159. "parameters": [
  2160. {
  2161. "type": "string",
  2162. "description": "资金账号ID列表,用逗号分隔",
  2163. "name": "accountids",
  2164. "in": "query",
  2165. "required": true
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "状态,0为未结束 1为已结束",
  2170. "name": "status",
  2171. "in": "query",
  2172. "required": true
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "type": "array",
  2180. "items": {
  2181. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2182. }
  2183. }
  2184. },
  2185. "500": {
  2186. "description": "Internal Server Error",
  2187. "schema": {
  2188. "$ref": "#/definitions/app.Response"
  2189. }
  2190. }
  2191. }
  2192. }
  2193. },
  2194. "/Erms3/QueryPendingAuditContract": {
  2195. "get": {
  2196. "security": [
  2197. {
  2198. "ApiKeyAuth": []
  2199. }
  2200. ],
  2201. "produces": [
  2202. "application/json"
  2203. ],
  2204. "tags": [
  2205. "风险管理v3"
  2206. ],
  2207. "summary": "查询待审核合同",
  2208. "parameters": [
  2209. {
  2210. "type": "string",
  2211. "description": "资金账号ID列表,逗号隔开",
  2212. "name": "accountids",
  2213. "in": "query",
  2214. "required": true
  2215. },
  2216. {
  2217. "type": "integer",
  2218. "description": "合同类型 1-采购 -1-销售",
  2219. "name": "contracttype",
  2220. "in": "query",
  2221. "required": true
  2222. },
  2223. {
  2224. "type": "integer",
  2225. "description": "合同模式 1-普通 2-回购",
  2226. "name": "contractmode",
  2227. "in": "query",
  2228. "required": true
  2229. }
  2230. ],
  2231. "responses": {
  2232. "200": {
  2233. "description": "OK",
  2234. "schema": {
  2235. "type": "array",
  2236. "items": {
  2237. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2238. }
  2239. }
  2240. },
  2241. "500": {
  2242. "description": "Internal Server Error",
  2243. "schema": {
  2244. "$ref": "#/definitions/app.Response"
  2245. }
  2246. }
  2247. }
  2248. }
  2249. },
  2250. "/Erms3/QueryPendingBusiness": {
  2251. "get": {
  2252. "security": [
  2253. {
  2254. "ApiKeyAuth": []
  2255. }
  2256. ],
  2257. "produces": [
  2258. "application/json"
  2259. ],
  2260. "tags": [
  2261. "风险管理v3"
  2262. ],
  2263. "summary": "查询待审核基差贸易业务",
  2264. "parameters": [
  2265. {
  2266. "type": "string",
  2267. "description": "资金账号ID列表,逗号隔开",
  2268. "name": "accountids",
  2269. "in": "query",
  2270. "required": true
  2271. }
  2272. ],
  2273. "responses": {
  2274. "200": {
  2275. "description": "OK",
  2276. "schema": {
  2277. "type": "array",
  2278. "items": {
  2279. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2280. }
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Erms3/QuerySpotContractAppleForm": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "风险管理v3"
  2304. ],
  2305. "summary": "查询合同申请表单数据",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "登录账号",
  2310. "name": "loginID",
  2311. "in": "query",
  2312. "required": true
  2313. }
  2314. ],
  2315. "responses": {
  2316. "200": {
  2317. "description": "OK",
  2318. "schema": {
  2319. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2320. }
  2321. },
  2322. "500": {
  2323. "description": "Internal Server Error",
  2324. "schema": {
  2325. "$ref": "#/definitions/app.Response"
  2326. }
  2327. }
  2328. }
  2329. }
  2330. },
  2331. "/Erms3/QuerySpotContractDetail": {
  2332. "get": {
  2333. "security": [
  2334. {
  2335. "ApiKeyAuth": []
  2336. }
  2337. ],
  2338. "produces": [
  2339. "application/json"
  2340. ],
  2341. "tags": [
  2342. "风险管理v3"
  2343. ],
  2344. "summary": "查询合同详细信息",
  2345. "parameters": [
  2346. {
  2347. "type": "string",
  2348. "description": "资金账号ID列表,用逗号分隔",
  2349. "name": "accountids",
  2350. "in": "query",
  2351. "required": true
  2352. },
  2353. {
  2354. "type": "integer",
  2355. "description": "合同类型,1为采购合同 -1为销售合同",
  2356. "name": "contracttype",
  2357. "in": "query",
  2358. "required": true
  2359. },
  2360. {
  2361. "type": "integer",
  2362. "description": "合同模式,1为普通合同 2为回购销售合同",
  2363. "name": "contractmode",
  2364. "in": "query",
  2365. "required": true
  2366. },
  2367. {
  2368. "type": "integer",
  2369. "description": "状态,0为履约中 1为已完成",
  2370. "name": "status",
  2371. "in": "query",
  2372. "required": true
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "type": "array",
  2380. "items": {
  2381. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2382. }
  2383. }
  2384. },
  2385. "500": {
  2386. "description": "Internal Server Error",
  2387. "schema": {
  2388. "$ref": "#/definitions/app.Response"
  2389. }
  2390. }
  2391. }
  2392. }
  2393. },
  2394. "/Erms3/QueryUserInfoApplies": {
  2395. "get": {
  2396. "security": [
  2397. {
  2398. "ApiKeyAuth": []
  2399. }
  2400. ],
  2401. "produces": [
  2402. "application/json"
  2403. ],
  2404. "tags": [
  2405. "风险管理v3"
  2406. ],
  2407. "summary": "客户申请信息查询",
  2408. "parameters": [
  2409. {
  2410. "type": "integer",
  2411. "description": "页码",
  2412. "name": "page",
  2413. "in": "query"
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "每页条数",
  2418. "name": "pagesize",
  2419. "in": "query"
  2420. },
  2421. {
  2422. "type": "string",
  2423. "description": "客户名称,支持模糊查询",
  2424. "name": "userName",
  2425. "in": "query"
  2426. }
  2427. ],
  2428. "responses": {
  2429. "200": {
  2430. "description": "OK",
  2431. "schema": {
  2432. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Erms3/QueryUserInfos": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "风险管理v3"
  2456. ],
  2457. "summary": "客户信息查询",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "页码",
  2462. "name": "page",
  2463. "in": "query"
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "每页条数",
  2468. "name": "pagesize",
  2469. "in": "query"
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "客户名称,支持模糊查询",
  2474. "name": "userName",
  2475. "in": "query"
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2483. }
  2484. },
  2485. "500": {
  2486. "description": "Internal Server Error",
  2487. "schema": {
  2488. "$ref": "#/definitions/app.Response"
  2489. }
  2490. }
  2491. }
  2492. }
  2493. },
  2494. "/HSBY/GetHsbyMyCount": {
  2495. "get": {
  2496. "security": [
  2497. {
  2498. "ApiKeyAuth": []
  2499. }
  2500. ],
  2501. "description": "说明: 不包括已完成的数量。",
  2502. "produces": [
  2503. "application/json"
  2504. ],
  2505. "tags": [
  2506. "定制【海商报业】"
  2507. ],
  2508. "summary": "获取我的订单与包裹数量",
  2509. "parameters": [
  2510. {
  2511. "type": "string",
  2512. "description": "资金账户列表,格式:1,2,3",
  2513. "name": "accountIDs",
  2514. "in": "query",
  2515. "required": true
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/HSBY/QueryClientFixedADConfigs": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "定制【海商报业】"
  2546. ],
  2547. "summary": "获取终端固定广告配置",
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "$ref": "#/definitions/models.Clientfixedadconfig"
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "定制【海商报业】"
  2576. ],
  2577. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2578. "parameters": [
  2579. {
  2580. "type": "integer",
  2581. "description": "页码",
  2582. "name": "page",
  2583. "in": "query"
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "每页条数",
  2588. "name": "pagesize",
  2589. "in": "query"
  2590. },
  2591. {
  2592. "type": "string",
  2593. "description": "资金账户列表,格式:1,2,3",
  2594. "name": "accountIDs",
  2595. "in": "query",
  2596. "required": true
  2597. }
  2598. ],
  2599. "responses": {
  2600. "200": {
  2601. "description": "OK",
  2602. "schema": {
  2603. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "description": "说明:查询结果已按委托价格和委托时间排序",
  2623. "produces": [
  2624. "application/json"
  2625. ],
  2626. "tags": [
  2627. "定制【海商报业】"
  2628. ],
  2629. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2630. "parameters": [
  2631. {
  2632. "type": "integer",
  2633. "description": "商品ID",
  2634. "name": "goodsID",
  2635. "in": "query",
  2636. "required": true
  2637. },
  2638. {
  2639. "type": "string",
  2640. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2641. "name": "accountIDs",
  2642. "in": "query"
  2643. },
  2644. {
  2645. "type": "integer",
  2646. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2647. "name": "buyOrSell",
  2648. "in": "query"
  2649. },
  2650. {
  2651. "type": "number",
  2652. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2653. "name": "price",
  2654. "in": "query"
  2655. },
  2656. {
  2657. "type": "integer",
  2658. "description": "档位,不传则默认为3档",
  2659. "name": "speed",
  2660. "in": "query"
  2661. }
  2662. ],
  2663. "responses": {
  2664. "200": {
  2665. "description": "OK",
  2666. "schema": {
  2667. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/HSBY/QueryHsbyListingGoodsDetail": {
  2680. "get": {
  2681. "security": [
  2682. {
  2683. "ApiKeyAuth": []
  2684. }
  2685. ],
  2686. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "定制【海商报业】"
  2692. ],
  2693. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "商品ID",
  2698. "name": "goodsID",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2705. "name": "accountID",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "定制【海商报业】"
  2737. ],
  2738. "summary": "查询三级市场(商城)商品信息详情",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "委托单号",
  2743. "name": "orderID",
  2744. "in": "query",
  2745. "required": true
  2746. },
  2747. {
  2748. "type": "integer",
  2749. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2750. "name": "accountID",
  2751. "in": "query"
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/HSBY/QueryHsbyMarketGoodses": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "定制【海商报业】"
  2782. ],
  2783. "summary": "查询特卖商品列表(三级商城)",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "页码",
  2788. "name": "page",
  2789. "in": "query"
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "每页条数",
  2794. "name": "pagesize",
  2795. "in": "query"
  2796. },
  2797. {
  2798. "type": "string",
  2799. "description": "市场ID列表,格式:1,2,3",
  2800. "name": "marketIDs",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "integer",
  2806. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2807. "name": "accountID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "类别ID",
  2814. "name": "categoryID",
  2815. "in": "query"
  2816. },
  2817. {
  2818. "type": "string",
  2819. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2820. "name": "goodsIDs",
  2821. "in": "query"
  2822. },
  2823. {
  2824. "type": "integer",
  2825. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2826. "name": "couponTypeID",
  2827. "in": "query"
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "$ref": "#/definitions/models.HsbyMarketGoods"
  2835. }
  2836. },
  2837. "500": {
  2838. "description": "Internal Server Error",
  2839. "schema": {
  2840. "$ref": "#/definitions/app.Response"
  2841. }
  2842. }
  2843. }
  2844. }
  2845. },
  2846. "/HSBY/QueryHsbyMarkets": {
  2847. "get": {
  2848. "security": [
  2849. {
  2850. "ApiKeyAuth": []
  2851. }
  2852. ],
  2853. "produces": [
  2854. "application/json"
  2855. ],
  2856. "tags": [
  2857. "定制【海商报业】"
  2858. ],
  2859. "summary": "查询海商报业相关市场信息",
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "$ref": "#/definitions/models.HsbyMarketInfo"
  2865. }
  2866. },
  2867. "500": {
  2868. "description": "Internal Server Error",
  2869. "schema": {
  2870. "$ref": "#/definitions/app.Response"
  2871. }
  2872. }
  2873. }
  2874. }
  2875. },
  2876. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2877. "get": {
  2878. "security": [
  2879. {
  2880. "ApiKeyAuth": []
  2881. }
  2882. ],
  2883. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2884. "produces": [
  2885. "application/json"
  2886. ],
  2887. "tags": [
  2888. "定制【海商报业】"
  2889. ],
  2890. "summary": "查询“我的订单”信息",
  2891. "parameters": [
  2892. {
  2893. "type": "string",
  2894. "description": "资金账户列表,格式:1,2,3",
  2895. "name": "accountIDs",
  2896. "in": "query",
  2897. "required": true
  2898. },
  2899. {
  2900. "type": "integer",
  2901. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2902. "name": "myBuyStatus",
  2903. "in": "query"
  2904. }
  2905. ],
  2906. "responses": {
  2907. "200": {
  2908. "description": "OK",
  2909. "schema": {
  2910. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/HSBY/QueryHsbyMyGoods": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2930. "produces": [
  2931. "application/json"
  2932. ],
  2933. "tags": [
  2934. "定制【海商报业】"
  2935. ],
  2936. "summary": "查询“我的商品”信息",
  2937. "parameters": [
  2938. {
  2939. "type": "string",
  2940. "description": "资金账户列表,格式:1,2,3",
  2941. "name": "accountIDs",
  2942. "in": "query",
  2943. "required": true
  2944. }
  2945. ],
  2946. "responses": {
  2947. "200": {
  2948. "description": "OK",
  2949. "schema": {
  2950. "$ref": "#/definitions/models.HsbyMyGoods"
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/HSBY/QueryHsbyMyPackages": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "定制【海商报业】"
  2974. ],
  2975. "summary": "查询我的包裹信息",
  2976. "parameters": [
  2977. {
  2978. "type": "string",
  2979. "description": "资金账户列表,格式:1,2,3",
  2980. "name": "accountIDs",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "integer",
  2986. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2987. "name": "takeOrderStatus",
  2988. "in": "query"
  2989. }
  2990. ],
  2991. "responses": {
  2992. "200": {
  2993. "description": "OK",
  2994. "schema": {
  2995. "$ref": "#/definitions/models.HsbyMyPackage"
  2996. }
  2997. },
  2998. "500": {
  2999. "description": "Internal Server Error",
  3000. "schema": {
  3001. "$ref": "#/definitions/app.Response"
  3002. }
  3003. }
  3004. }
  3005. }
  3006. },
  3007. "/HSBY/QueryHsbyPreGoodsDetail": {
  3008. "get": {
  3009. "security": [
  3010. {
  3011. "ApiKeyAuth": []
  3012. }
  3013. ],
  3014. "produces": [
  3015. "application/json"
  3016. ],
  3017. "tags": [
  3018. "定制【海商报业】"
  3019. ],
  3020. "summary": "查询一级市场(预售)商品信息详情",
  3021. "parameters": [
  3022. {
  3023. "type": "integer",
  3024. "description": "商品ID",
  3025. "name": "goodsID",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "integer",
  3031. "description": "资金账户,主要用于获取预售商品购买上限",
  3032. "name": "accountID",
  3033. "in": "query"
  3034. }
  3035. ],
  3036. "responses": {
  3037. "200": {
  3038. "description": "OK",
  3039. "schema": {
  3040. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3041. }
  3042. },
  3043. "500": {
  3044. "description": "Internal Server Error",
  3045. "schema": {
  3046. "$ref": "#/definitions/app.Response"
  3047. }
  3048. }
  3049. }
  3050. }
  3051. },
  3052. "/HSBY/QueryHsbyPreGoodses": {
  3053. "get": {
  3054. "security": [
  3055. {
  3056. "ApiKeyAuth": []
  3057. }
  3058. ],
  3059. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3060. "produces": [
  3061. "application/json"
  3062. ],
  3063. "tags": [
  3064. "定制【海商报业】"
  3065. ],
  3066. "summary": "查询新品上市商品列表(一级市场预售)",
  3067. "parameters": [
  3068. {
  3069. "type": "integer",
  3070. "description": "页码",
  3071. "name": "page",
  3072. "in": "query"
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "每页条数",
  3077. "name": "pagesize",
  3078. "in": "query"
  3079. },
  3080. {
  3081. "type": "string",
  3082. "description": "市场ID列表,格式:1,2,3",
  3083. "name": "marketIDs",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "integer",
  3089. "description": "目的地(省)ID",
  3090. "name": "descProvinceID",
  3091. "in": "query"
  3092. },
  3093. {
  3094. "type": "integer",
  3095. "description": "目的地(市)ID",
  3096. "name": "descCityID",
  3097. "in": "query"
  3098. }
  3099. ],
  3100. "responses": {
  3101. "200": {
  3102. "description": "OK",
  3103. "schema": {
  3104. "$ref": "#/definitions/models.HsbyPreGoods"
  3105. }
  3106. },
  3107. "500": {
  3108. "description": "Internal Server Error",
  3109. "schema": {
  3110. "$ref": "#/definitions/app.Response"
  3111. }
  3112. }
  3113. }
  3114. }
  3115. },
  3116. "/HSBY/QueryHsbySellMyDetails": {
  3117. "get": {
  3118. "security": [
  3119. {
  3120. "ApiKeyAuth": []
  3121. }
  3122. ],
  3123. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3124. "produces": [
  3125. "application/json"
  3126. ],
  3127. "tags": [
  3128. "定制【海商报业】"
  3129. ],
  3130. "summary": "查询\"我的闲置\"单据信息",
  3131. "parameters": [
  3132. {
  3133. "type": "integer",
  3134. "description": "页码",
  3135. "name": "page",
  3136. "in": "query"
  3137. },
  3138. {
  3139. "type": "integer",
  3140. "description": "每页条数",
  3141. "name": "pagesize",
  3142. "in": "query"
  3143. },
  3144. {
  3145. "type": "string",
  3146. "description": "资金账户列表,格式:1,2,3",
  3147. "name": "accountIDs",
  3148. "in": "query",
  3149. "required": true
  3150. },
  3151. {
  3152. "type": "integer",
  3153. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3154. "name": "orderType",
  3155. "in": "query"
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "$ref": "#/definitions/models.HsbySellMyDetail"
  3163. }
  3164. },
  3165. "500": {
  3166. "description": "Internal Server Error",
  3167. "schema": {
  3168. "$ref": "#/definitions/app.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/HSBY/QueryHsbyTopGoodses": {
  3175. "get": {
  3176. "security": [
  3177. {
  3178. "ApiKeyAuth": []
  3179. }
  3180. ],
  3181. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3182. "produces": [
  3183. "application/json"
  3184. ],
  3185. "tags": [
  3186. "定制【海商报业】"
  3187. ],
  3188. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3189. "parameters": [
  3190. {
  3191. "type": "integer",
  3192. "description": "页码",
  3193. "name": "page",
  3194. "in": "query"
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "每页条数",
  3199. "name": "pagesize",
  3200. "in": "query"
  3201. },
  3202. {
  3203. "type": "string",
  3204. "description": "市场ID列表,格式:1,2,3",
  3205. "name": "marketIDs",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "目的地(省)ID",
  3212. "name": "descProvinceID",
  3213. "in": "query"
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "目的地(市)ID",
  3218. "name": "descCityID",
  3219. "in": "query"
  3220. }
  3221. ],
  3222. "responses": {
  3223. "200": {
  3224. "description": "OK",
  3225. "schema": {
  3226. "$ref": "#/definitions/models.HsbyTopGoods"
  3227. }
  3228. },
  3229. "500": {
  3230. "description": "Internal Server Error",
  3231. "schema": {
  3232. "$ref": "#/definitions/app.Response"
  3233. }
  3234. }
  3235. }
  3236. }
  3237. },
  3238. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3239. "get": {
  3240. "security": [
  3241. {
  3242. "ApiKeyAuth": []
  3243. }
  3244. ],
  3245. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3246. "produces": [
  3247. "application/json"
  3248. ],
  3249. "tags": [
  3250. "定制【海商报业】"
  3251. ],
  3252. "summary": "查询游客三级市场(商城)商品信息详情",
  3253. "parameters": [
  3254. {
  3255. "type": "integer",
  3256. "description": "商品ID",
  3257. "name": "goodsID",
  3258. "in": "query",
  3259. "required": true
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3286. "produces": [
  3287. "application/json"
  3288. ],
  3289. "tags": [
  3290. "定制【海商报业】"
  3291. ],
  3292. "summary": "查询游客特卖商品列表(三级商城)",
  3293. "parameters": [
  3294. {
  3295. "type": "integer",
  3296. "description": "页码",
  3297. "name": "page",
  3298. "in": "query"
  3299. },
  3300. {
  3301. "type": "integer",
  3302. "description": "每页条数",
  3303. "name": "pagesize",
  3304. "in": "query"
  3305. },
  3306. {
  3307. "type": "string",
  3308. "description": "市场ID列表,格式:1,2,3",
  3309. "name": "marketIDs",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "integer",
  3315. "description": "类别ID",
  3316. "name": "categoryID",
  3317. "in": "query"
  3318. },
  3319. {
  3320. "type": "string",
  3321. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3322. "name": "goodsIDs",
  3323. "in": "query"
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "$ref": "#/definitions/models.HsbyMarketGoods"
  3331. }
  3332. },
  3333. "500": {
  3334. "description": "Internal Server Error",
  3335. "schema": {
  3336. "$ref": "#/definitions/app.Response"
  3337. }
  3338. }
  3339. }
  3340. }
  3341. },
  3342. "/HSBY/QueryMyCollectionOrders": {
  3343. "get": {
  3344. "security": [
  3345. {
  3346. "ApiKeyAuth": []
  3347. }
  3348. ],
  3349. "produces": [
  3350. "application/json"
  3351. ],
  3352. "tags": [
  3353. "定制【海商报业】"
  3354. ],
  3355. "summary": "我的闲置中收款信息查询",
  3356. "parameters": [
  3357. {
  3358. "type": "integer",
  3359. "description": "页码",
  3360. "name": "page",
  3361. "in": "query"
  3362. },
  3363. {
  3364. "type": "integer",
  3365. "description": "每页条数",
  3366. "name": "pagesize",
  3367. "in": "query"
  3368. },
  3369. {
  3370. "type": "string",
  3371. "description": "资金账户,格式:1,2,3",
  3372. "name": "accountIDs",
  3373. "in": "query",
  3374. "required": true
  3375. }
  3376. ],
  3377. "responses": {
  3378. "200": {
  3379. "description": "OK",
  3380. "schema": {
  3381. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3382. }
  3383. },
  3384. "500": {
  3385. "description": "Internal Server Error",
  3386. "schema": {
  3387. "$ref": "#/definitions/app.Response"
  3388. }
  3389. }
  3390. }
  3391. }
  3392. },
  3393. "/HSBY/QueryMyCouponHolds": {
  3394. "get": {
  3395. "security": [
  3396. {
  3397. "ApiKeyAuth": []
  3398. }
  3399. ],
  3400. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "定制【海商报业】"
  3406. ],
  3407. "summary": "我的优惠卷持仓查询",
  3408. "parameters": [
  3409. {
  3410. "type": "string",
  3411. "description": "资金账户列表,格式:1,2,3",
  3412. "name": "accountIDs",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "string",
  3418. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3419. "name": "holdStatus",
  3420. "in": "query"
  3421. }
  3422. ],
  3423. "responses": {
  3424. "200": {
  3425. "description": "OK",
  3426. "schema": {
  3427. "$ref": "#/definitions/models.MyCouponHold"
  3428. }
  3429. },
  3430. "500": {
  3431. "description": "Internal Server Error",
  3432. "schema": {
  3433. "$ref": "#/definitions/app.Response"
  3434. }
  3435. }
  3436. }
  3437. }
  3438. },
  3439. "/HSBY/QueryMyCoupons": {
  3440. "get": {
  3441. "security": [
  3442. {
  3443. "ApiKeyAuth": []
  3444. }
  3445. ],
  3446. "produces": [
  3447. "application/json"
  3448. ],
  3449. "tags": [
  3450. "定制【海商报业】"
  3451. ],
  3452. "summary": "我的优惠卷查询",
  3453. "parameters": [
  3454. {
  3455. "type": "string",
  3456. "description": "资金账户列表,格式:1,2,3",
  3457. "name": "accountIDs",
  3458. "in": "query",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": "商品ID, 一般与sellUserID配套传入",
  3464. "name": "goodsID",
  3465. "in": "query"
  3466. },
  3467. {
  3468. "type": "integer",
  3469. "description": "卖方UserID",
  3470. "name": "sellUserID",
  3471. "in": "query"
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "OK",
  3477. "schema": {
  3478. "$ref": "#/definitions/models.MyCoupon"
  3479. }
  3480. },
  3481. "500": {
  3482. "description": "Internal Server Error",
  3483. "schema": {
  3484. "$ref": "#/definitions/app.Response"
  3485. }
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "/HSBY/QueryMyPayOrders": {
  3491. "get": {
  3492. "security": [
  3493. {
  3494. "ApiKeyAuth": []
  3495. }
  3496. ],
  3497. "produces": [
  3498. "application/json"
  3499. ],
  3500. "tags": [
  3501. "定制【海商报业】"
  3502. ],
  3503. "summary": "获取我的订单中待付款信息",
  3504. "parameters": [
  3505. {
  3506. "type": "integer",
  3507. "description": "页码",
  3508. "name": "page",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "每页条数",
  3514. "name": "pagesize",
  3515. "in": "query"
  3516. },
  3517. {
  3518. "type": "string",
  3519. "description": "资金账户列表,格式:1,2,3",
  3520. "name": "accountIDs",
  3521. "in": "query",
  3522. "required": true
  3523. },
  3524. {
  3525. "type": "integer",
  3526. "description": "买方委托单号",
  3527. "name": "buyOrderID",
  3528. "in": "query"
  3529. },
  3530. {
  3531. "type": "integer",
  3532. "description": "卖方委托单号",
  3533. "name": "sellOrderID",
  3534. "in": "query"
  3535. }
  3536. ],
  3537. "responses": {
  3538. "200": {
  3539. "description": "OK",
  3540. "schema": {
  3541. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3542. }
  3543. },
  3544. "500": {
  3545. "description": "Internal Server Error",
  3546. "schema": {
  3547. "$ref": "#/definitions/app.Response"
  3548. }
  3549. }
  3550. }
  3551. }
  3552. },
  3553. "/HSBY/QueryMyUsedCoupon": {
  3554. "get": {
  3555. "security": [
  3556. {
  3557. "ApiKeyAuth": []
  3558. }
  3559. ],
  3560. "produces": [
  3561. "application/json"
  3562. ],
  3563. "tags": [
  3564. "定制【海商报业】"
  3565. ],
  3566. "summary": "已使用优惠卷查询",
  3567. "parameters": [
  3568. {
  3569. "type": "string",
  3570. "description": "资金账户列表,格式:1,2,3",
  3571. "name": "accountIDs",
  3572. "in": "query",
  3573. "required": true
  3574. }
  3575. ],
  3576. "responses": {
  3577. "200": {
  3578. "description": "OK",
  3579. "schema": {
  3580. "$ref": "#/definitions/models.MyUsedCoupon"
  3581. }
  3582. },
  3583. "500": {
  3584. "description": "Internal Server Error",
  3585. "schema": {
  3586. "$ref": "#/definitions/app.Response"
  3587. }
  3588. }
  3589. }
  3590. }
  3591. },
  3592. "/HSBY/QueryProvincesAndCities": {
  3593. "get": {
  3594. "security": [
  3595. {
  3596. "ApiKeyAuth": []
  3597. }
  3598. ],
  3599. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "定制【海商报业】"
  3605. ],
  3606. "summary": "查询省市信息(不包括区)",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "省ID",
  3611. "name": "provinceID",
  3612. "in": "query"
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/HSBY/SetHsbyMyPackagesStatus": {
  3632. "post": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "定制【海商报业】"
  3643. ],
  3644. "summary": "设置我的包裹已收货状态",
  3645. "parameters": [
  3646. {
  3647. "type": "string",
  3648. "description": "提货单号",
  3649. "name": "takeOrderID",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "资金账号",
  3656. "name": "accountID",
  3657. "in": "query",
  3658. "required": true
  3659. }
  3660. ],
  3661. "responses": {
  3662. "200": {
  3663. "description": "OK",
  3664. "schema": {
  3665. "$ref": "#/definitions/app.Response"
  3666. }
  3667. },
  3668. "500": {
  3669. "description": "Internal Server Error",
  3670. "schema": {
  3671. "$ref": "#/definitions/app.Response"
  3672. }
  3673. }
  3674. }
  3675. }
  3676. },
  3677. "/Market/QueryGoodsesByLoginID": {
  3678. "get": {
  3679. "security": [
  3680. {
  3681. "ApiKeyAuth": []
  3682. }
  3683. ],
  3684. "produces": [
  3685. "application/json"
  3686. ],
  3687. "tags": [
  3688. "通用市场"
  3689. ],
  3690. "summary": "获取登录账号有权限的商品信息",
  3691. "parameters": [
  3692. {
  3693. "type": "integer",
  3694. "description": "登录账号",
  3695. "name": "loginID",
  3696. "in": "query",
  3697. "required": true
  3698. },
  3699. {
  3700. "type": "string",
  3701. "description": "市场ID列表,格式:1,2,3",
  3702. "name": "marketIDs",
  3703. "in": "query"
  3704. }
  3705. ],
  3706. "responses": {
  3707. "200": {
  3708. "description": "OK",
  3709. "schema": {
  3710. "$ref": "#/definitions/models.Goods"
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Market/QueryMarketRun": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "通用市场"
  3734. ],
  3735. "summary": "查询市场运行信息",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "市场ID,不传返回所有",
  3740. "name": "marketID",
  3741. "in": "query"
  3742. }
  3743. ],
  3744. "responses": {
  3745. "200": {
  3746. "description": "OK",
  3747. "schema": {
  3748. "$ref": "#/definitions/models.Marketrun"
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/Market/QueryMarketsByLoginID": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "produces": [
  3768. "application/json"
  3769. ],
  3770. "tags": [
  3771. "通用市场"
  3772. ],
  3773. "summary": "获取登录账号有权限的市场信息",
  3774. "parameters": [
  3775. {
  3776. "type": "integer",
  3777. "description": "登录账号",
  3778. "name": "loginID",
  3779. "in": "query",
  3780. "required": true
  3781. }
  3782. ],
  3783. "responses": {
  3784. "200": {
  3785. "description": "OK",
  3786. "schema": {
  3787. "$ref": "#/definitions/models.Market"
  3788. }
  3789. },
  3790. "500": {
  3791. "description": "Internal Server Error",
  3792. "schema": {
  3793. "$ref": "#/definitions/app.Response"
  3794. }
  3795. }
  3796. }
  3797. }
  3798. },
  3799. "/Order/QueryHisTradeDetail": {
  3800. "get": {
  3801. "security": [
  3802. {
  3803. "ApiKeyAuth": []
  3804. }
  3805. ],
  3806. "produces": [
  3807. "application/json"
  3808. ],
  3809. "tags": [
  3810. "通用单据"
  3811. ],
  3812. "summary": "历史成交单查询(合约市场)",
  3813. "parameters": [
  3814. {
  3815. "type": "string",
  3816. "description": "资金账户 - 格式:1,2,3",
  3817. "name": "accountID",
  3818. "in": "query",
  3819. "required": true
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "成交单号",
  3824. "name": "tradeID",
  3825. "in": "query"
  3826. },
  3827. {
  3828. "type": "integer",
  3829. "description": "委托单号",
  3830. "name": "orderID",
  3831. "in": "query"
  3832. },
  3833. {
  3834. "type": "string",
  3835. "description": "交易模式 - 格式:1,2,3",
  3836. "name": "tradeMode",
  3837. "in": "query"
  3838. },
  3839. {
  3840. "type": "integer",
  3841. "description": "委托单据类型",
  3842. "name": "buildType",
  3843. "in": "query"
  3844. },
  3845. {
  3846. "type": "string",
  3847. "description": "成交类别 - 格式:1,2,3",
  3848. "name": "tradeType",
  3849. "in": "query"
  3850. },
  3851. {
  3852. "type": "string",
  3853. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3854. "name": "startDate",
  3855. "in": "query"
  3856. },
  3857. {
  3858. "type": "string",
  3859. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3860. "name": "endDate",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/Order/QueryHisTradeOrderDetail": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "produces": [
  3888. "application/json"
  3889. ],
  3890. "tags": [
  3891. "通用单据"
  3892. ],
  3893. "summary": "历史委托单查询请求(合约市场)",
  3894. "parameters": [
  3895. {
  3896. "type": "string",
  3897. "description": "资金账户 - 格式:1,2,3",
  3898. "name": "accountID",
  3899. "in": "query",
  3900. "required": true
  3901. },
  3902. {
  3903. "type": "string",
  3904. "description": "交易模式 - 格式:1,2,3",
  3905. "name": "tradeMode",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "string",
  3910. "description": "委托状态 - 格式:1,2,3",
  3911. "name": "orderStatus",
  3912. "in": "query"
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "委托单号",
  3917. "name": "orderID",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "string",
  3922. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3923. "name": "startDate",
  3924. "in": "query"
  3925. },
  3926. {
  3927. "type": "string",
  3928. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3929. "name": "endDate",
  3930. "in": "query"
  3931. }
  3932. ],
  3933. "responses": {
  3934. "200": {
  3935. "description": "OK",
  3936. "schema": {
  3937. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3938. }
  3939. },
  3940. "500": {
  3941. "description": "Internal Server Error",
  3942. "schema": {
  3943. "$ref": "#/definitions/app.Response"
  3944. }
  3945. }
  3946. }
  3947. }
  3948. },
  3949. "/Order/QueryTradeDetail": {
  3950. "get": {
  3951. "security": [
  3952. {
  3953. "ApiKeyAuth": []
  3954. }
  3955. ],
  3956. "produces": [
  3957. "application/json"
  3958. ],
  3959. "tags": [
  3960. "通用单据"
  3961. ],
  3962. "summary": "成交单查询(合约市场)",
  3963. "parameters": [
  3964. {
  3965. "type": "string",
  3966. "description": "资金账户 - 格式:1,2,3",
  3967. "name": "accountID",
  3968. "in": "query",
  3969. "required": true
  3970. },
  3971. {
  3972. "type": "integer",
  3973. "description": "成交单号",
  3974. "name": "tradeID",
  3975. "in": "query"
  3976. },
  3977. {
  3978. "type": "integer",
  3979. "description": "委托单号",
  3980. "name": "orderID",
  3981. "in": "query"
  3982. },
  3983. {
  3984. "type": "string",
  3985. "description": "交易模式 - 格式:1,2,3",
  3986. "name": "tradeMode",
  3987. "in": "query"
  3988. },
  3989. {
  3990. "type": "integer",
  3991. "description": "委托单据类型",
  3992. "name": "buildType",
  3993. "in": "query"
  3994. },
  3995. {
  3996. "type": "string",
  3997. "description": "成交类别 - 格式:1,2,3",
  3998. "name": "tradeType",
  3999. "in": "query"
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4007. }
  4008. },
  4009. "500": {
  4010. "description": "Internal Server Error",
  4011. "schema": {
  4012. "$ref": "#/definitions/app.Response"
  4013. }
  4014. }
  4015. }
  4016. }
  4017. },
  4018. "/Order/QueryTradeOrderDetail": {
  4019. "get": {
  4020. "security": [
  4021. {
  4022. "ApiKeyAuth": []
  4023. }
  4024. ],
  4025. "produces": [
  4026. "application/json"
  4027. ],
  4028. "tags": [
  4029. "通用单据"
  4030. ],
  4031. "summary": "委托单查询请求(合约市场)",
  4032. "parameters": [
  4033. {
  4034. "type": "string",
  4035. "description": "资金账户 - 格式:1,2,3",
  4036. "name": "accountID",
  4037. "in": "query",
  4038. "required": true
  4039. },
  4040. {
  4041. "type": "string",
  4042. "description": "交易模式 - 格式:1,2,3",
  4043. "name": "tradeMode",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "委托状态 - 格式:1,2,3",
  4049. "name": "orderStatus",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "integer",
  4054. "description": "委托单号",
  4055. "name": "orderID",
  4056. "in": "query"
  4057. }
  4058. ],
  4059. "responses": {
  4060. "200": {
  4061. "description": "OK",
  4062. "schema": {
  4063. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4064. }
  4065. },
  4066. "500": {
  4067. "description": "Internal Server Error",
  4068. "schema": {
  4069. "$ref": "#/definitions/app.Response"
  4070. }
  4071. }
  4072. }
  4073. }
  4074. },
  4075. "/Order/QueryTradePosition": {
  4076. "get": {
  4077. "security": [
  4078. {
  4079. "ApiKeyAuth": []
  4080. }
  4081. ],
  4082. "produces": [
  4083. "application/json"
  4084. ],
  4085. "tags": [
  4086. "通用单据"
  4087. ],
  4088. "summary": "持仓汇总查询(合约市场)",
  4089. "parameters": [
  4090. {
  4091. "type": "string",
  4092. "description": "资金账户 - 格式:1,2,3",
  4093. "name": "accountID",
  4094. "in": "query",
  4095. "required": true
  4096. },
  4097. {
  4098. "type": "string",
  4099. "description": "交易模式 - 格式:1,2,3",
  4100. "name": "tradeMode",
  4101. "in": "query"
  4102. }
  4103. ],
  4104. "responses": {
  4105. "200": {
  4106. "description": "OK",
  4107. "schema": {
  4108. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4109. }
  4110. },
  4111. "500": {
  4112. "description": "Internal Server Error",
  4113. "schema": {
  4114. "$ref": "#/definitions/app.Response"
  4115. }
  4116. }
  4117. }
  4118. }
  4119. },
  4120. "/Quote/QueryHistoryDatas": {
  4121. "get": {
  4122. "security": [
  4123. {
  4124. "ApiKeyAuth": []
  4125. }
  4126. ],
  4127. "produces": [
  4128. "application/json"
  4129. ],
  4130. "tags": [
  4131. "行情服务"
  4132. ],
  4133. "summary": "查询行情历史数据",
  4134. "parameters": [
  4135. {
  4136. "type": "integer",
  4137. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4138. "name": "cycleType",
  4139. "in": "query",
  4140. "required": true
  4141. },
  4142. {
  4143. "type": "string",
  4144. "description": "商品代码",
  4145. "name": "goodsCode",
  4146. "in": "query",
  4147. "required": true
  4148. },
  4149. {
  4150. "type": "string",
  4151. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4152. "name": "startTime",
  4153. "in": "query"
  4154. },
  4155. {
  4156. "type": "string",
  4157. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4158. "name": "endTime",
  4159. "in": "query"
  4160. },
  4161. {
  4162. "type": "integer",
  4163. "description": "条数",
  4164. "name": "count",
  4165. "in": "query"
  4166. },
  4167. {
  4168. "type": "boolean",
  4169. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4170. "name": "isAsc",
  4171. "in": "query"
  4172. }
  4173. ],
  4174. "responses": {
  4175. "200": {
  4176. "description": "OK",
  4177. "schema": {
  4178. "$ref": "#/definitions/quote.HistoryData"
  4179. }
  4180. },
  4181. "500": {
  4182. "description": "Internal Server Error",
  4183. "schema": {
  4184. "$ref": "#/definitions/app.Response"
  4185. }
  4186. }
  4187. }
  4188. }
  4189. },
  4190. "/Quote/QueryTSData": {
  4191. "get": {
  4192. "produces": [
  4193. "application/json"
  4194. ],
  4195. "tags": [
  4196. "行情服务"
  4197. ],
  4198. "summary": "分时图数据查询",
  4199. "parameters": [
  4200. {
  4201. "type": "string",
  4202. "description": "商品代码",
  4203. "name": "GoodsCode",
  4204. "in": "query",
  4205. "required": true
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "Internal Server Error",
  4217. "schema": {
  4218. "$ref": "#/definitions/app.Response"
  4219. }
  4220. }
  4221. }
  4222. }
  4223. },
  4224. "/SZDZ/QueryConvertConfig": {
  4225. "get": {
  4226. "security": [
  4227. {
  4228. "ApiKeyAuth": []
  4229. }
  4230. ],
  4231. "produces": [
  4232. "application/json"
  4233. ],
  4234. "tags": [
  4235. "定制【尚志大宗】"
  4236. ],
  4237. "summary": "查询交易系统转换设置",
  4238. "parameters": [
  4239. {
  4240. "type": "integer",
  4241. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4242. "name": "convertType",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "string",
  4247. "description": "外部商品代码[JD\\PD]",
  4248. "name": "outerGoodsCode",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "string",
  4253. "description": "内部商品ID列表[交易],格式:1,2,3",
  4254. "name": "innerGoodsIDs",
  4255. "in": "query"
  4256. }
  4257. ],
  4258. "responses": {
  4259. "200": {
  4260. "description": "OK",
  4261. "schema": {
  4262. "$ref": "#/definitions/models.Szdz3convertconfig"
  4263. }
  4264. },
  4265. "500": {
  4266. "description": "Internal Server Error",
  4267. "schema": {
  4268. "$ref": "#/definitions/app.Response"
  4269. }
  4270. }
  4271. }
  4272. }
  4273. },
  4274. "/SZDZ/QueryConvertLog": {
  4275. "get": {
  4276. "security": [
  4277. {
  4278. "ApiKeyAuth": []
  4279. }
  4280. ],
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "定制【尚志大宗】"
  4286. ],
  4287. "summary": "交易系统转换流水查询",
  4288. "parameters": [
  4289. {
  4290. "type": "string",
  4291. "description": "资金账户 - 格式:1,2,3",
  4292. "name": "accountID",
  4293. "in": "query",
  4294. "required": true
  4295. },
  4296. {
  4297. "type": "string",
  4298. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4299. "name": "startDate",
  4300. "in": "query"
  4301. },
  4302. {
  4303. "type": "string",
  4304. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4305. "name": "endDate",
  4306. "in": "query"
  4307. }
  4308. ],
  4309. "responses": {
  4310. "200": {
  4311. "description": "OK",
  4312. "schema": {
  4313. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4314. }
  4315. },
  4316. "500": {
  4317. "description": "Internal Server Error",
  4318. "schema": {
  4319. "$ref": "#/definitions/app.Response"
  4320. }
  4321. }
  4322. }
  4323. }
  4324. },
  4325. "/SZDZ/QueryGoodsPickup": {
  4326. "get": {
  4327. "security": [
  4328. {
  4329. "ApiKeyAuth": []
  4330. }
  4331. ],
  4332. "produces": [
  4333. "application/json"
  4334. ],
  4335. "tags": [
  4336. "定制【尚志大宗】"
  4337. ],
  4338. "summary": "商品提货单查询",
  4339. "parameters": [
  4340. {
  4341. "type": "string",
  4342. "description": "资金账户 - 格式:1,2,3",
  4343. "name": "accountID",
  4344. "in": "query",
  4345. "required": true
  4346. },
  4347. {
  4348. "type": "integer",
  4349. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4350. "name": "takeOrderStatus",
  4351. "in": "query"
  4352. }
  4353. ],
  4354. "responses": {
  4355. "200": {
  4356. "description": "OK",
  4357. "schema": {
  4358. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4359. }
  4360. },
  4361. "500": {
  4362. "description": "Internal Server Error",
  4363. "schema": {
  4364. "$ref": "#/definitions/app.Response"
  4365. }
  4366. }
  4367. }
  4368. }
  4369. },
  4370. "/SZDZ/QueryRecieptOrder": {
  4371. "get": {
  4372. "security": [
  4373. {
  4374. "ApiKeyAuth": []
  4375. }
  4376. ],
  4377. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4378. "produces": [
  4379. "application/json"
  4380. ],
  4381. "tags": [
  4382. "定制【尚志大宗】"
  4383. ],
  4384. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4385. "parameters": [
  4386. {
  4387. "type": "integer",
  4388. "description": "页码",
  4389. "name": "page",
  4390. "in": "query"
  4391. },
  4392. {
  4393. "type": "integer",
  4394. "description": "每页条数",
  4395. "name": "pagesize",
  4396. "in": "query"
  4397. },
  4398. {
  4399. "type": "integer",
  4400. "description": "商品ID",
  4401. "name": "goodsID",
  4402. "in": "query",
  4403. "required": true
  4404. },
  4405. {
  4406. "type": "string",
  4407. "description": "所属账户名称",
  4408. "name": "accountName",
  4409. "in": "query"
  4410. },
  4411. {
  4412. "type": "integer",
  4413. "description": "市场ID",
  4414. "name": "marketID",
  4415. "in": "query"
  4416. },
  4417. {
  4418. "type": "integer",
  4419. "description": "方向 - 0:买 1:卖",
  4420. "name": "buyorsell",
  4421. "in": "query",
  4422. "required": true
  4423. }
  4424. ],
  4425. "responses": {
  4426. "200": {
  4427. "description": "OK",
  4428. "schema": {
  4429. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4430. }
  4431. },
  4432. "500": {
  4433. "description": "Internal Server Error",
  4434. "schema": {
  4435. "$ref": "#/definitions/app.Response"
  4436. }
  4437. }
  4438. }
  4439. }
  4440. },
  4441. "/SZDZ/QuerySZDZTradePosition": {
  4442. "get": {
  4443. "security": [
  4444. {
  4445. "ApiKeyAuth": []
  4446. }
  4447. ],
  4448. "produces": [
  4449. "application/json"
  4450. ],
  4451. "tags": [
  4452. "定制【尚志大宗】"
  4453. ],
  4454. "summary": "持仓汇总查询(尚志大宗)",
  4455. "parameters": [
  4456. {
  4457. "type": "integer",
  4458. "description": "资金账户",
  4459. "name": "accountID",
  4460. "in": "query",
  4461. "required": true
  4462. }
  4463. ],
  4464. "responses": {
  4465. "200": {
  4466. "description": "OK",
  4467. "schema": {
  4468. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4469. }
  4470. },
  4471. "500": {
  4472. "description": "Internal Server Error",
  4473. "schema": {
  4474. "$ref": "#/definitions/app.Response"
  4475. }
  4476. }
  4477. }
  4478. }
  4479. },
  4480. "/SZDZ/SearchWhite": {
  4481. "get": {
  4482. "security": [
  4483. {
  4484. "ApiKeyAuth": []
  4485. }
  4486. ],
  4487. "produces": [
  4488. "application/json"
  4489. ],
  4490. "tags": [
  4491. "定制【尚志大宗】"
  4492. ],
  4493. "summary": "搜索白名单",
  4494. "parameters": [
  4495. {
  4496. "type": "integer",
  4497. "description": "用户ID",
  4498. "name": "userID",
  4499. "in": "query",
  4500. "required": true
  4501. }
  4502. ],
  4503. "responses": {
  4504. "200": {
  4505. "description": "OK",
  4506. "schema": {
  4507. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4508. }
  4509. },
  4510. "500": {
  4511. "description": "Internal Server Error",
  4512. "schema": {
  4513. "$ref": "#/definitions/app.Response"
  4514. }
  4515. }
  4516. }
  4517. }
  4518. },
  4519. "/Search/SearchGoodses": {
  4520. "get": {
  4521. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4522. "produces": [
  4523. "application/json"
  4524. ],
  4525. "tags": [
  4526. "检索服务"
  4527. ],
  4528. "summary": "检索商品信息",
  4529. "parameters": [
  4530. {
  4531. "type": "string",
  4532. "description": "检索内容",
  4533. "name": "content",
  4534. "in": "query",
  4535. "required": true
  4536. },
  4537. {
  4538. "type": "string",
  4539. "description": "交易模式,格式:1,2,3",
  4540. "name": "tradeModes",
  4541. "in": "query"
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "$ref": "#/definitions/models.SearchGoods"
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/TaAccount/QueryAmountLog": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "资金账户"
  4572. ],
  4573. "summary": "资金流水查询(当前)",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "页码",
  4578. "name": "page",
  4579. "in": "query"
  4580. },
  4581. {
  4582. "type": "integer",
  4583. "description": "每页条数",
  4584. "name": "pagesize",
  4585. "in": "query"
  4586. },
  4587. {
  4588. "type": "string",
  4589. "description": "资金账户 - 格式:1,2,3",
  4590. "name": "accountID",
  4591. "in": "query",
  4592. "required": true
  4593. },
  4594. {
  4595. "type": "string",
  4596. "description": "资金操作类型 - 格式:1,2,3",
  4597. "name": "OperateType",
  4598. "in": "query"
  4599. }
  4600. ],
  4601. "responses": {
  4602. "200": {
  4603. "description": "OK",
  4604. "schema": {
  4605. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4606. }
  4607. },
  4608. "500": {
  4609. "description": "Internal Server Error",
  4610. "schema": {
  4611. "$ref": "#/definitions/app.Response"
  4612. }
  4613. }
  4614. }
  4615. }
  4616. },
  4617. "/TaAccount/QueryHisAmountLog": {
  4618. "get": {
  4619. "security": [
  4620. {
  4621. "ApiKeyAuth": []
  4622. }
  4623. ],
  4624. "produces": [
  4625. "application/json"
  4626. ],
  4627. "tags": [
  4628. "资金账户"
  4629. ],
  4630. "summary": "资金流水查询(历史)",
  4631. "parameters": [
  4632. {
  4633. "type": "integer",
  4634. "description": "页码",
  4635. "name": "page",
  4636. "in": "query"
  4637. },
  4638. {
  4639. "type": "integer",
  4640. "description": "每页条数",
  4641. "name": "pagesize",
  4642. "in": "query"
  4643. },
  4644. {
  4645. "type": "string",
  4646. "description": "资金账户 - 格式:1,2,3",
  4647. "name": "accountID",
  4648. "in": "query",
  4649. "required": true
  4650. },
  4651. {
  4652. "type": "string",
  4653. "description": "资金操作类型 - 格式:1,2,3",
  4654. "name": "OperateType",
  4655. "in": "query"
  4656. },
  4657. {
  4658. "type": "string",
  4659. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4660. "name": "startDate",
  4661. "in": "query"
  4662. },
  4663. {
  4664. "type": "string",
  4665. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4666. "name": "endDate",
  4667. "in": "query"
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/Trade/QueryRecieptOrder": {
  4687. "get": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4694. "produces": [
  4695. "application/json"
  4696. ],
  4697. "tags": [
  4698. "通用交易"
  4699. ],
  4700. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4701. "parameters": [
  4702. {
  4703. "type": "integer",
  4704. "description": "页码",
  4705. "name": "page",
  4706. "in": "query"
  4707. },
  4708. {
  4709. "type": "integer",
  4710. "description": "每页条数",
  4711. "name": "pagesize",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "商品ID",
  4717. "name": "goodsID",
  4718. "in": "query",
  4719. "required": true
  4720. },
  4721. {
  4722. "type": "string",
  4723. "description": "所属账户名称",
  4724. "name": "accountName",
  4725. "in": "query"
  4726. },
  4727. {
  4728. "type": "integer",
  4729. "description": "市场ID",
  4730. "name": "marketID",
  4731. "in": "query"
  4732. },
  4733. {
  4734. "type": "integer",
  4735. "description": "方向 - 0:买 1:卖",
  4736. "name": "buyorsell",
  4737. "in": "query",
  4738. "required": true
  4739. }
  4740. ],
  4741. "responses": {
  4742. "200": {
  4743. "description": "OK",
  4744. "schema": {
  4745. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/User/AddMessageBoard": {
  4758. "post": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "用户信息"
  4769. ],
  4770. "summary": "添加用户留言板信息",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户ID",
  4775. "name": "userID",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "留言信息",
  4782. "name": "message",
  4783. "in": "query",
  4784. "required": true
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. },
  4794. "500": {
  4795. "description": "Internal Server Error",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. }
  4800. }
  4801. }
  4802. },
  4803. "/User/AddUserFavoriteGoods": {
  4804. "post": {
  4805. "security": [
  4806. {
  4807. "ApiKeyAuth": []
  4808. }
  4809. ],
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "用户信息"
  4815. ],
  4816. "summary": "添加用户商品收藏信息",
  4817. "parameters": [
  4818. {
  4819. "type": "integer",
  4820. "description": "用户ID",
  4821. "name": "userID",
  4822. "in": "query",
  4823. "required": true
  4824. },
  4825. {
  4826. "type": "integer",
  4827. "description": "商品ID",
  4828. "name": "goodsID",
  4829. "in": "query",
  4830. "required": true
  4831. }
  4832. ],
  4833. "responses": {
  4834. "200": {
  4835. "description": "OK",
  4836. "schema": {
  4837. "$ref": "#/definitions/app.Response"
  4838. }
  4839. },
  4840. "500": {
  4841. "description": "Internal Server Error",
  4842. "schema": {
  4843. "$ref": "#/definitions/app.Response"
  4844. }
  4845. }
  4846. }
  4847. }
  4848. },
  4849. "/User/GetLoginID": {
  4850. "get": {
  4851. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4852. "produces": [
  4853. "application/json"
  4854. ],
  4855. "tags": [
  4856. "用户信息"
  4857. ],
  4858. "summary": "获取登录ID",
  4859. "parameters": [
  4860. {
  4861. "type": "string",
  4862. "description": "登录代码",
  4863. "name": "username",
  4864. "in": "query",
  4865. "required": true
  4866. }
  4867. ],
  4868. "responses": {
  4869. "200": {
  4870. "description": "OK",
  4871. "schema": {
  4872. "$ref": "#/definitions/app.Response"
  4873. }
  4874. },
  4875. "500": {
  4876. "description": "Internal Server Error",
  4877. "schema": {
  4878. "$ref": "#/definitions/app.Response"
  4879. }
  4880. }
  4881. }
  4882. }
  4883. },
  4884. "/User/GetUserAccount": {
  4885. "get": {
  4886. "security": [
  4887. {
  4888. "ApiKeyAuth": []
  4889. }
  4890. ],
  4891. "produces": [
  4892. "application/json"
  4893. ],
  4894. "tags": [
  4895. "用户信息"
  4896. ],
  4897. "summary": "获取用户账号信息",
  4898. "parameters": [
  4899. {
  4900. "type": "integer",
  4901. "description": "用户ID",
  4902. "name": "userID",
  4903. "in": "query",
  4904. "required": true
  4905. }
  4906. ],
  4907. "responses": {
  4908. "200": {
  4909. "description": "OK",
  4910. "schema": {
  4911. "$ref": "#/definitions/models.Useraccount"
  4912. }
  4913. },
  4914. "500": {
  4915. "description": "Internal Server Error",
  4916. "schema": {
  4917. "$ref": "#/definitions/app.Response"
  4918. }
  4919. }
  4920. }
  4921. }
  4922. },
  4923. "/User/GetUserAuthStatus": {
  4924. "get": {
  4925. "security": [
  4926. {
  4927. "ApiKeyAuth": []
  4928. }
  4929. ],
  4930. "produces": [
  4931. "application/json"
  4932. ],
  4933. "tags": [
  4934. "用户信息"
  4935. ],
  4936. "summary": "获取用户实名认证状态",
  4937. "parameters": [
  4938. {
  4939. "type": "integer",
  4940. "description": "用户ID",
  4941. "name": "userID",
  4942. "in": "query",
  4943. "required": true
  4944. }
  4945. ],
  4946. "responses": {
  4947. "200": {
  4948. "description": "OK",
  4949. "schema": {
  4950. "$ref": "#/definitions/app.Response"
  4951. }
  4952. },
  4953. "500": {
  4954. "description": "Internal Server Error",
  4955. "schema": {
  4956. "$ref": "#/definitions/app.Response"
  4957. }
  4958. }
  4959. }
  4960. }
  4961. },
  4962. "/User/QueryMessageBoard": {
  4963. "get": {
  4964. "security": [
  4965. {
  4966. "ApiKeyAuth": []
  4967. }
  4968. ],
  4969. "produces": [
  4970. "application/json"
  4971. ],
  4972. "tags": [
  4973. "用户信息"
  4974. ],
  4975. "summary": "获取用户留言板信息",
  4976. "parameters": [
  4977. {
  4978. "type": "integer",
  4979. "description": "用户ID",
  4980. "name": "userID",
  4981. "in": "query",
  4982. "required": true
  4983. }
  4984. ],
  4985. "responses": {
  4986. "200": {
  4987. "description": "OK",
  4988. "schema": {
  4989. "$ref": "#/definitions/models.Messageboard"
  4990. }
  4991. },
  4992. "500": {
  4993. "description": "Internal Server Error",
  4994. "schema": {
  4995. "$ref": "#/definitions/app.Response"
  4996. }
  4997. }
  4998. }
  4999. }
  5000. },
  5001. "/User/QueryUserFavoriteGoodses": {
  5002. "get": {
  5003. "security": [
  5004. {
  5005. "ApiKeyAuth": []
  5006. }
  5007. ],
  5008. "produces": [
  5009. "application/json"
  5010. ],
  5011. "tags": [
  5012. "用户信息"
  5013. ],
  5014. "summary": "获取用户商品收藏信息",
  5015. "parameters": [
  5016. {
  5017. "type": "integer",
  5018. "description": "用户ID",
  5019. "name": "userID",
  5020. "in": "query",
  5021. "required": true
  5022. }
  5023. ],
  5024. "responses": {
  5025. "200": {
  5026. "description": "OK",
  5027. "schema": {
  5028. "$ref": "#/definitions/models.Userfavoritegoods"
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/User/QueryUserInfo": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "用户信息"
  5052. ],
  5053. "summary": "获取用户信息",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户ID",
  5058. "name": "userID",
  5059. "in": "query",
  5060. "required": true
  5061. }
  5062. ],
  5063. "responses": {
  5064. "200": {
  5065. "description": "OK",
  5066. "schema": {
  5067. "$ref": "#/definitions/models.Userinfo"
  5068. }
  5069. },
  5070. "500": {
  5071. "description": "Internal Server Error",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. }
  5076. }
  5077. }
  5078. },
  5079. "/User/QueryUserReferNum": {
  5080. "get": {
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "用户信息"
  5086. ],
  5087. "summary": "获取用户邀请码",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "用户ID",
  5092. "name": "userID",
  5093. "in": "query",
  5094. "required": true
  5095. }
  5096. ],
  5097. "responses": {
  5098. "200": {
  5099. "description": "OK",
  5100. "schema": {
  5101. "$ref": "#/definitions/app.Response"
  5102. }
  5103. },
  5104. "500": {
  5105. "description": "Internal Server Error",
  5106. "schema": {
  5107. "$ref": "#/definitions/app.Response"
  5108. }
  5109. }
  5110. }
  5111. }
  5112. },
  5113. "/User/RemoveUserFavoriteGoods": {
  5114. "post": {
  5115. "security": [
  5116. {
  5117. "ApiKeyAuth": []
  5118. }
  5119. ],
  5120. "produces": [
  5121. "application/json"
  5122. ],
  5123. "tags": [
  5124. "用户信息"
  5125. ],
  5126. "summary": "移除用户商品收藏信息",
  5127. "parameters": [
  5128. {
  5129. "type": "integer",
  5130. "description": "用户ID",
  5131. "name": "userID",
  5132. "in": "query",
  5133. "required": true
  5134. },
  5135. {
  5136. "type": "integer",
  5137. "description": "商品ID",
  5138. "name": "goodsID",
  5139. "in": "query",
  5140. "required": true
  5141. }
  5142. ],
  5143. "responses": {
  5144. "200": {
  5145. "description": "OK",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. },
  5150. "500": {
  5151. "description": "Internal Server Error",
  5152. "schema": {
  5153. "$ref": "#/definitions/app.Response"
  5154. }
  5155. }
  5156. }
  5157. }
  5158. },
  5159. "/WR/GetWRCategoryInfo": {
  5160. "get": {
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "仓单服务"
  5166. ],
  5167. "summary": "获取现货分类信息",
  5168. "responses": {
  5169. "200": {
  5170. "description": "OK",
  5171. "schema": {
  5172. "$ref": "#/definitions/models.WRCategoryTree"
  5173. }
  5174. },
  5175. "500": {
  5176. "description": "Internal Server Error",
  5177. "schema": {
  5178. "$ref": "#/definitions/app.Response"
  5179. }
  5180. }
  5181. }
  5182. }
  5183. },
  5184. "/WRTrade/GetAllDeliveryGoods": {
  5185. "get": {
  5186. "security": [
  5187. {
  5188. "ApiKeyAuth": []
  5189. },
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "produces": [
  5195. "application/json",
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "仓单贸易",
  5200. "仓单贸易"
  5201. ],
  5202. "summary": "获取带仓单分类的种类信息",
  5203. "responses": {
  5204. "200": {
  5205. "description": "OK",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "definitions": {
  5221. "app.Response": {
  5222. "type": "object",
  5223. "properties": {
  5224. "code": {
  5225. "type": "integer"
  5226. },
  5227. "data": {
  5228. "type": "object"
  5229. },
  5230. "msg": {
  5231. "type": "string"
  5232. },
  5233. "page": {
  5234. "description": "页码",
  5235. "type": "integer"
  5236. },
  5237. "pagesize": {
  5238. "description": "每页条数",
  5239. "type": "integer"
  5240. },
  5241. "total": {
  5242. "description": "总条数",
  5243. "type": "integer"
  5244. }
  5245. }
  5246. },
  5247. "common.QueryNoticeRsp": {
  5248. "type": "object",
  5249. "required": [
  5250. "autoid"
  5251. ],
  5252. "properties": {
  5253. "auditoruserid": {
  5254. "description": "审核人",
  5255. "type": "integer"
  5256. },
  5257. "auditremark": {
  5258. "description": "审核备注",
  5259. "type": "string"
  5260. },
  5261. "audittime": {
  5262. "description": "审核日期",
  5263. "type": "string"
  5264. },
  5265. "autoid": {
  5266. "description": "自增ID",
  5267. "type": "integer"
  5268. },
  5269. "content": {
  5270. "description": "内容",
  5271. "type": "string"
  5272. },
  5273. "createtime": {
  5274. "description": "创建时间",
  5275. "type": "string"
  5276. },
  5277. "creatorid": {
  5278. "description": "建仓人",
  5279. "type": "integer"
  5280. },
  5281. "endtime": {
  5282. "description": "结束时间",
  5283. "type": "string"
  5284. },
  5285. "istop": {
  5286. "description": "是否置顶 - 0:不置顶 1:置顶",
  5287. "type": "integer"
  5288. },
  5289. "msgiconurl": {
  5290. "description": "消息图标Url",
  5291. "type": "string"
  5292. },
  5293. "msgtype": {
  5294. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5295. "type": "integer"
  5296. },
  5297. "publisher": {
  5298. "description": "消息发布者",
  5299. "type": "string"
  5300. },
  5301. "readed": {
  5302. "description": "是否已读",
  5303. "type": "boolean"
  5304. },
  5305. "scheduletime": {
  5306. "description": "计划发送时间",
  5307. "type": "string"
  5308. },
  5309. "sendtype": {
  5310. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5311. "type": "integer"
  5312. },
  5313. "sentstatus": {
  5314. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5315. "type": "integer"
  5316. },
  5317. "title": {
  5318. "description": "标题",
  5319. "type": "string"
  5320. },
  5321. "userid": {
  5322. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5323. "type": "integer"
  5324. }
  5325. }
  5326. },
  5327. "common.QueryProvincesAndCitiesRsp": {
  5328. "type": "object",
  5329. "properties": {
  5330. "cities": {
  5331. "description": "市",
  5332. "type": "array",
  5333. "items": {
  5334. "$ref": "#/definitions/models.Division"
  5335. }
  5336. },
  5337. "province": {
  5338. "description": "省",
  5339. "type": "object",
  5340. "$ref": "#/definitions/models.Division"
  5341. }
  5342. }
  5343. },
  5344. "common.QueryTableDefineRsp": {
  5345. "type": "object",
  5346. "required": [
  5347. "tablekey"
  5348. ],
  5349. "properties": {
  5350. "columns": {
  5351. "description": "列头信息数组",
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Tablecolumnconfig"
  5355. }
  5356. },
  5357. "remark": {
  5358. "description": "Remark",
  5359. "type": "string"
  5360. },
  5361. "tabelmenu": {
  5362. "description": "列表菜单",
  5363. "type": "string"
  5364. },
  5365. "tablekey": {
  5366. "description": "列表Key",
  5367. "type": "string"
  5368. },
  5369. "tablename": {
  5370. "description": "列表名称",
  5371. "type": "string"
  5372. },
  5373. "tabletype": {
  5374. "description": "列表类型 - 1:管理端 2:终端",
  5375. "type": "integer"
  5376. }
  5377. }
  5378. },
  5379. "common.QueryTraderMenuRsp": {
  5380. "type": "object",
  5381. "properties": {
  5382. "OperationMenu": {
  5383. "description": "功能菜单",
  5384. "type": "array",
  5385. "items": {
  5386. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5387. }
  5388. },
  5389. "QuoteMenu": {
  5390. "description": "报价牌分类菜单",
  5391. "type": "array",
  5392. "items": {
  5393. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5394. }
  5395. }
  5396. }
  5397. },
  5398. "cptrade.Cptradepositioncancel": {
  5399. "type": "object",
  5400. "required": [
  5401. "cancelid"
  5402. ],
  5403. "properties": {
  5404. "accountid": {
  5405. "description": "申请人账户ID",
  5406. "type": "integer"
  5407. },
  5408. "applystatus": {
  5409. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5410. "type": "integer"
  5411. },
  5412. "applytime": {
  5413. "description": "申请时间",
  5414. "type": "string"
  5415. },
  5416. "cancelid": {
  5417. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5418. "type": "integer"
  5419. },
  5420. "cancelqty": {
  5421. "description": "注销数量",
  5422. "type": "integer"
  5423. },
  5424. "createtime": {
  5425. "description": "创建时间",
  5426. "type": "string"
  5427. },
  5428. "creatorid": {
  5429. "description": "创建人ID",
  5430. "type": "integer"
  5431. },
  5432. "creatorname": {
  5433. "description": "创建人",
  5434. "type": "string"
  5435. },
  5436. "goodscode": {
  5437. "description": "订单商品代码",
  5438. "type": "string"
  5439. },
  5440. "goodsid": {
  5441. "description": "商品ID",
  5442. "type": "integer"
  5443. },
  5444. "goodsname": {
  5445. "description": "订单商品名称",
  5446. "type": "string"
  5447. },
  5448. "goodunit": {
  5449. "description": "报价单位",
  5450. "type": "string"
  5451. },
  5452. "handlestatus": {
  5453. "description": "处理状态",
  5454. "type": "integer"
  5455. },
  5456. "marketid": {
  5457. "description": "市场ID",
  5458. "type": "integer"
  5459. },
  5460. "marketname": {
  5461. "description": "市场名称",
  5462. "type": "string"
  5463. },
  5464. "tradedate": {
  5465. "description": "交易日(yyyyMMdd)",
  5466. "type": "string"
  5467. },
  5468. "userid": {
  5469. "description": "申请人ID",
  5470. "type": "integer"
  5471. }
  5472. }
  5473. },
  5474. "cptrade.Cptradepresaleapply": {
  5475. "type": "object",
  5476. "required": [
  5477. "applyid"
  5478. ],
  5479. "properties": {
  5480. "accountid": {
  5481. "description": "申请人账户ID",
  5482. "type": "integer"
  5483. },
  5484. "applyid": {
  5485. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5486. "type": "integer"
  5487. },
  5488. "applyremark": {
  5489. "description": "申请备注",
  5490. "type": "string"
  5491. },
  5492. "applystatus": {
  5493. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5494. "type": "integer"
  5495. },
  5496. "applytime": {
  5497. "description": "申请时间",
  5498. "type": "string"
  5499. },
  5500. "attachmenturl": {
  5501. "description": "附件地址",
  5502. "type": "string"
  5503. },
  5504. "endtime": {
  5505. "description": "预售结束时间",
  5506. "type": "string"
  5507. },
  5508. "goodscode": {
  5509. "description": "商品代码",
  5510. "type": "string"
  5511. },
  5512. "goodsid": {
  5513. "description": "商品ID",
  5514. "type": "integer"
  5515. },
  5516. "goodsname": {
  5517. "description": "商品名称",
  5518. "type": "string"
  5519. },
  5520. "goodunit": {
  5521. "description": "报价单位",
  5522. "type": "string"
  5523. },
  5524. "handlestatus": {
  5525. "description": "处理状态",
  5526. "type": "integer"
  5527. },
  5528. "marketid": {
  5529. "description": "预售市场ID",
  5530. "type": "integer"
  5531. },
  5532. "marketname": {
  5533. "description": "预售市场名称",
  5534. "type": "string"
  5535. },
  5536. "presaleqty": {
  5537. "description": "预售数量",
  5538. "type": "integer"
  5539. },
  5540. "relatedgoodscode": {
  5541. "description": "关联交易合约代码",
  5542. "type": "string"
  5543. },
  5544. "relatedgoodsid": {
  5545. "description": "关联交易合约ID",
  5546. "type": "integer"
  5547. },
  5548. "relatedgoodsname": {
  5549. "description": "关联交易合约名称",
  5550. "type": "string"
  5551. },
  5552. "starttime": {
  5553. "description": "预售开始时间",
  5554. "type": "string"
  5555. },
  5556. "tradedate": {
  5557. "description": "交易日(yyyyMMdd)",
  5558. "type": "string"
  5559. },
  5560. "trademode": {
  5561. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5562. "type": "integer"
  5563. },
  5564. "userid": {
  5565. "description": "申请人ID",
  5566. "type": "integer"
  5567. }
  5568. }
  5569. },
  5570. "cptrade.Cptradeusergoodsdata": {
  5571. "type": "object",
  5572. "required": [
  5573. "accountid",
  5574. "goodsid"
  5575. ],
  5576. "properties": {
  5577. "EnabledQty": {
  5578. "description": "可用量",
  5579. "type": "integer"
  5580. },
  5581. "GoodsCode": {
  5582. "description": "订单商品代码",
  5583. "type": "string"
  5584. },
  5585. "GoodsName": {
  5586. "description": "订单商品名称",
  5587. "type": "string"
  5588. },
  5589. "WRStandardCode": {
  5590. "description": "仓单标准代码",
  5591. "type": "string"
  5592. },
  5593. "WRStandardName": {
  5594. "description": "仓单标准名称",
  5595. "type": "string"
  5596. },
  5597. "accountid": {
  5598. "description": "账户ID",
  5599. "type": "integer"
  5600. },
  5601. "cancelqty": {
  5602. "description": "注销量",
  5603. "type": "integer"
  5604. },
  5605. "curpresaleqty": {
  5606. "description": "当前预售量",
  5607. "type": "integer"
  5608. },
  5609. "deliveryqty": {
  5610. "description": "交割量",
  5611. "type": "integer"
  5612. },
  5613. "freezeamount": {
  5614. "description": "冻结金额",
  5615. "type": "number"
  5616. },
  5617. "goodsid": {
  5618. "description": "商品ID",
  5619. "type": "integer"
  5620. },
  5621. "goodunit": {
  5622. "description": "报价单位",
  5623. "type": "string"
  5624. },
  5625. "hasspotfreeze": {
  5626. "description": "是否有现货冻结 - 0:否 1:有",
  5627. "type": "integer"
  5628. },
  5629. "inqty": {
  5630. "description": "转入量(总数量)",
  5631. "type": "integer"
  5632. },
  5633. "marketid": {
  5634. "description": "市场ID",
  5635. "type": "integer"
  5636. },
  5637. "presaledamount": {
  5638. "description": "已预售总金额",
  5639. "type": "integer"
  5640. },
  5641. "presaledqty": {
  5642. "description": "已预售量",
  5643. "type": "integer"
  5644. },
  5645. "userid": {
  5646. "description": "用户ID",
  5647. "type": "integer"
  5648. },
  5649. "wrstandardid": {
  5650. "description": "仓单标准ID",
  5651. "type": "integer"
  5652. }
  5653. }
  5654. },
  5655. "cptrade.QueryCPTradeMyBidRsp": {
  5656. "type": "object",
  5657. "required": [
  5658. "accountid",
  5659. "goodsid",
  5660. "marketid",
  5661. "orderid",
  5662. "orderqty",
  5663. "ordertime",
  5664. "tradeprice",
  5665. "tradeqty"
  5666. ],
  5667. "properties": {
  5668. "accountid": {
  5669. "description": "账户ID[报价币种]",
  5670. "type": "integer"
  5671. },
  5672. "goodsid": {
  5673. "description": "商品ID",
  5674. "type": "integer"
  5675. },
  5676. "goodunit": {
  5677. "description": "报价单位",
  5678. "type": "string"
  5679. },
  5680. "marketid": {
  5681. "description": "市场ID",
  5682. "type": "integer"
  5683. },
  5684. "orderid": {
  5685. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5686. "type": "integer"
  5687. },
  5688. "orderprice": {
  5689. "description": "委托价格",
  5690. "type": "number"
  5691. },
  5692. "orderqty": {
  5693. "description": "委托数量",
  5694. "type": "integer"
  5695. },
  5696. "ordertime": {
  5697. "description": "委托时间",
  5698. "type": "string"
  5699. },
  5700. "ordertotalprice": {
  5701. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5702. "type": "number"
  5703. },
  5704. "ordertotalweight": {
  5705. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5706. "type": "integer"
  5707. },
  5708. "totaltotalprice": {
  5709. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5710. "type": "number"
  5711. },
  5712. "tradeprice": {
  5713. "description": "成交价格",
  5714. "type": "number"
  5715. },
  5716. "tradeqty": {
  5717. "description": "成交数量",
  5718. "type": "integer"
  5719. }
  5720. }
  5721. },
  5722. "cptrade.QueryCPTradeOrderDetailRsq": {
  5723. "type": "object",
  5724. "required": [
  5725. "accountid",
  5726. "buildtype",
  5727. "buyorsell",
  5728. "goodsid",
  5729. "marketid",
  5730. "memberuserid",
  5731. "operatetype",
  5732. "orderqty",
  5733. "ordertime",
  5734. "pricemode",
  5735. "strorderid",
  5736. "tradedate",
  5737. "validtype"
  5738. ],
  5739. "properties": {
  5740. "accountid": {
  5741. "description": "账户ID[报价币种]",
  5742. "type": "integer"
  5743. },
  5744. "buildtype": {
  5745. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5746. "type": "integer"
  5747. },
  5748. "buyorsell": {
  5749. "description": "买卖 - 0:买 1:卖",
  5750. "type": "integer"
  5751. },
  5752. "cancelorderid": {
  5753. "description": "撤单单号(撤单时填写)",
  5754. "type": "integer"
  5755. },
  5756. "cancelqty": {
  5757. "description": "撤单数量",
  5758. "type": "integer"
  5759. },
  5760. "clientordertime": {
  5761. "description": "客户端委托时间",
  5762. "type": "string"
  5763. },
  5764. "clientticket": {
  5765. "description": "客户端流水号",
  5766. "type": "string"
  5767. },
  5768. "clienttype": {
  5769. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5770. "type": "integer"
  5771. },
  5772. "closeexchagechargevalue": {
  5773. "description": "平仓交易所手续费设置值",
  5774. "type": "number"
  5775. },
  5776. "closefeealgorithm": {
  5777. "description": "平仓手续费收取方式 1:比率 2:固定",
  5778. "type": "integer"
  5779. },
  5780. "closefreezecharge": {
  5781. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5782. "type": "number"
  5783. },
  5784. "closememberchargevalue": {
  5785. "description": "平仓会员手续费设置值",
  5786. "type": "number"
  5787. },
  5788. "closeqty": {
  5789. "description": "平仓数量(先建后平操作 需要记录)",
  5790. "type": "integer"
  5791. },
  5792. "closetradeqty": {
  5793. "description": "平仓成交数量(先建后平操作,需要记录)",
  5794. "type": "integer"
  5795. },
  5796. "closeunfreezecharge": {
  5797. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5798. "type": "number"
  5799. },
  5800. "delistingtype": {
  5801. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5802. "type": "integer"
  5803. },
  5804. "freezecharge": {
  5805. "description": "冻结手续费",
  5806. "type": "number"
  5807. },
  5808. "freezemargin": {
  5809. "description": "冻结保证金(冻结交易金额)",
  5810. "type": "number"
  5811. },
  5812. "gcaccountid": {
  5813. "description": "账户ID[合约币种]",
  5814. "type": "integer"
  5815. },
  5816. "goodsid": {
  5817. "description": "商品ID",
  5818. "type": "integer"
  5819. },
  5820. "isconfirmexercise": {
  5821. "description": "是否确认行权- 0:否 1:是",
  5822. "type": "integer"
  5823. },
  5824. "ispreexercise": {
  5825. "description": "是否预申报- 0:否 1:是",
  5826. "type": "integer"
  5827. },
  5828. "listingselecttype": {
  5829. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5830. "type": "integer"
  5831. },
  5832. "marginalgorithm": {
  5833. "description": "保证金收取方式 1:比率 2:固定",
  5834. "type": "integer"
  5835. },
  5836. "marginvalue": {
  5837. "description": "即市保证金设置值",
  5838. "type": "number"
  5839. },
  5840. "marketid": {
  5841. "description": "市场ID",
  5842. "type": "integer"
  5843. },
  5844. "marketmaxsub": {
  5845. "description": "市价最大偏移范围",
  5846. "type": "number"
  5847. },
  5848. "memberuserid": {
  5849. "description": "所属会员UserID",
  5850. "type": "integer"
  5851. },
  5852. "openexchagechargevalue": {
  5853. "description": "建仓交易所手续费设置值",
  5854. "type": "number"
  5855. },
  5856. "openfeealgorithm": {
  5857. "description": "建仓手续费收取方式 1:比率 2:固定",
  5858. "type": "integer"
  5859. },
  5860. "openfreezecharge": {
  5861. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5862. "type": "number"
  5863. },
  5864. "openmemberchargevalue": {
  5865. "description": "建仓会员手续费设置值",
  5866. "type": "number"
  5867. },
  5868. "openqty": {
  5869. "description": "开仓数量(先建后平操作,需要记录)",
  5870. "type": "integer"
  5871. },
  5872. "opentradeqty": {
  5873. "description": "开仓成交数量(先建后平操作,需要记录)",
  5874. "type": "integer"
  5875. },
  5876. "openunfreezecharge": {
  5877. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5878. "type": "number"
  5879. },
  5880. "operatetype": {
  5881. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5882. "type": "integer"
  5883. },
  5884. "operatorid": {
  5885. "description": "登录账号(LoginID)",
  5886. "type": "integer"
  5887. },
  5888. "optiontype": {
  5889. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5890. "type": "integer"
  5891. },
  5892. "orderprice": {
  5893. "description": "委托价格",
  5894. "type": "number"
  5895. },
  5896. "orderqty": {
  5897. "description": "委托数量",
  5898. "type": "integer"
  5899. },
  5900. "ordersrc": {
  5901. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5902. "type": "integer"
  5903. },
  5904. "orderstatus": {
  5905. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5906. "type": "integer"
  5907. },
  5908. "ordertime": {
  5909. "description": "委托时间",
  5910. "type": "string"
  5911. },
  5912. "preexerciseprice": {
  5913. "description": "预申报价格",
  5914. "type": "number"
  5915. },
  5916. "premium": {
  5917. "description": "权利金",
  5918. "type": "number"
  5919. },
  5920. "preorderid": {
  5921. "description": "关联预埋单号(止盈止损单时填写)",
  5922. "type": "integer"
  5923. },
  5924. "pricemode": {
  5925. "description": "取价方式 - 1:市价 2: 限价",
  5926. "type": "integer"
  5927. },
  5928. "quoteid": {
  5929. "description": "报价单ID",
  5930. "type": "integer"
  5931. },
  5932. "relatedid": {
  5933. "description": "关联单号(交割单)",
  5934. "type": "integer"
  5935. },
  5936. "retcode": {
  5937. "description": "错误代码",
  5938. "type": "integer"
  5939. },
  5940. "sessionid": {
  5941. "description": "会话ID",
  5942. "type": "integer"
  5943. },
  5944. "strorderid": {
  5945. "description": "委托单号",
  5946. "type": "string"
  5947. },
  5948. "tradedate": {
  5949. "description": "交易日(yyyyMMdd)",
  5950. "type": "string"
  5951. },
  5952. "tradeproperty": {
  5953. "description": "交易属性",
  5954. "type": "integer"
  5955. },
  5956. "tradeqty": {
  5957. "description": "成交数量",
  5958. "type": "integer"
  5959. },
  5960. "unfreezecharge": {
  5961. "description": "解冻手续费",
  5962. "type": "number"
  5963. },
  5964. "unfreezemargin": {
  5965. "description": "解冻保证金",
  5966. "type": "number"
  5967. },
  5968. "updatetime": {
  5969. "description": "更新时间",
  5970. "type": "string"
  5971. },
  5972. "uuid": {
  5973. "description": "发起端唯一id",
  5974. "type": "string"
  5975. },
  5976. "validtime": {
  5977. "description": "有效期限",
  5978. "type": "string"
  5979. },
  5980. "validtype": {
  5981. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5982. "type": "integer"
  5983. },
  5984. "volumetype": {
  5985. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5986. "type": "integer"
  5987. }
  5988. }
  5989. },
  5990. "cptrade.QueryMyCPTradeGoodsRsp": {
  5991. "type": "object",
  5992. "required": [
  5993. "goodscode",
  5994. "goodsid",
  5995. "goodsname",
  5996. "marketid",
  5997. "relatedgoodscode",
  5998. "relatedgoodsname"
  5999. ],
  6000. "properties": {
  6001. "accountid": {
  6002. "description": "卖方账户ID",
  6003. "type": "integer"
  6004. },
  6005. "agreeunit": {
  6006. "description": "合约单位",
  6007. "type": "number"
  6008. },
  6009. "applyid": {
  6010. "description": "关联申请ID",
  6011. "type": "integer"
  6012. },
  6013. "attachmenturl": {
  6014. "description": "附件地址",
  6015. "type": "string"
  6016. },
  6017. "createtime": {
  6018. "description": "创建时间",
  6019. "type": "string"
  6020. },
  6021. "currencyid": {
  6022. "description": "报价货币ID",
  6023. "type": "integer"
  6024. },
  6025. "decimalplace": {
  6026. "description": "报价小数位",
  6027. "type": "integer"
  6028. },
  6029. "endtime": {
  6030. "description": "预售结束时间",
  6031. "type": "string"
  6032. },
  6033. "floorprice": {
  6034. "description": "底价[大宗式竞拍]",
  6035. "type": "number"
  6036. },
  6037. "goodscode": {
  6038. "description": "商品代码(预售)",
  6039. "type": "string"
  6040. },
  6041. "goodsdetail": {
  6042. "description": "详情[大宗]",
  6043. "type": "string"
  6044. },
  6045. "goodsid": {
  6046. "description": "商品ID(自增ID SEQ_GOODS)",
  6047. "type": "integer"
  6048. },
  6049. "goodsname": {
  6050. "description": "商品名称(预售)",
  6051. "type": "string"
  6052. },
  6053. "goodunit": {
  6054. "description": "报价单位",
  6055. "type": "string"
  6056. },
  6057. "goodunitid": {
  6058. "description": "报价单位ID",
  6059. "type": "integer"
  6060. },
  6061. "marketid": {
  6062. "description": "所属市场ID",
  6063. "type": "integer"
  6064. },
  6065. "marketname": {
  6066. "description": "预售市场名称",
  6067. "type": "string"
  6068. },
  6069. "presaledamount": {
  6070. "description": "已预售总金额(预售结束时更新)",
  6071. "type": "number"
  6072. },
  6073. "presaledqty": {
  6074. "description": "已预售量(预售结束时更新)",
  6075. "type": "integer"
  6076. },
  6077. "presalemode": {
  6078. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6079. "type": "integer"
  6080. },
  6081. "presaleqty": {
  6082. "description": "预售数量",
  6083. "type": "integer"
  6084. },
  6085. "refprice": {
  6086. "description": "参考价格[一口价]",
  6087. "type": "number"
  6088. },
  6089. "relatedgoodscode": {
  6090. "description": "商品代码(订单)",
  6091. "type": "string"
  6092. },
  6093. "relatedgoodsid": {
  6094. "description": "关联交易合约ID",
  6095. "type": "integer"
  6096. },
  6097. "relatedgoodsname": {
  6098. "description": "商品名称(订单)",
  6099. "type": "string"
  6100. },
  6101. "relatedmarketid": {
  6102. "description": "关联交易合约市场ID",
  6103. "type": "integer"
  6104. },
  6105. "sellstatus": {
  6106. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6107. "type": "integer"
  6108. },
  6109. "startprice": {
  6110. "description": "起拍价[大宗式竞拍]",
  6111. "type": "number"
  6112. },
  6113. "starttime": {
  6114. "description": "预售开始时间",
  6115. "type": "string"
  6116. },
  6117. "tradedate": {
  6118. "description": "交易日(yyyyMMdd)",
  6119. "type": "string"
  6120. },
  6121. "tradeprice": {
  6122. "description": "成交价[大宗]",
  6123. "type": "number"
  6124. },
  6125. "userid": {
  6126. "description": "卖方用户ID",
  6127. "type": "integer"
  6128. }
  6129. }
  6130. },
  6131. "cptrade.QueryPresaleGoodsExRsp": {
  6132. "type": "object",
  6133. "required": [
  6134. "goodsid"
  6135. ],
  6136. "properties": {
  6137. "attachmenturl": {
  6138. "description": "附件地址",
  6139. "type": "string"
  6140. },
  6141. "createtime": {
  6142. "description": "创建时间",
  6143. "type": "string"
  6144. },
  6145. "endtime": {
  6146. "description": "预售结束时间",
  6147. "type": "string"
  6148. },
  6149. "floorprice": {
  6150. "description": "底价[大宗式竞拍]",
  6151. "type": "number"
  6152. },
  6153. "goodsdetail": {
  6154. "description": "详情[大宗]",
  6155. "type": "string"
  6156. },
  6157. "goodsid": {
  6158. "description": "商品ID(预售)",
  6159. "type": "integer"
  6160. },
  6161. "goodunit": {
  6162. "description": "报价单位",
  6163. "type": "string"
  6164. },
  6165. "marketid": {
  6166. "description": "预售市场ID - 根据预售模式选择市场",
  6167. "type": "integer"
  6168. },
  6169. "presaledamount": {
  6170. "description": "已预售总金额(预售结束时更新)",
  6171. "type": "number"
  6172. },
  6173. "presaledqty": {
  6174. "description": "已预售量(预售结束时更新)",
  6175. "type": "integer"
  6176. },
  6177. "presalemode": {
  6178. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6179. "type": "integer"
  6180. },
  6181. "presaleqty": {
  6182. "description": "预售数量",
  6183. "type": "integer"
  6184. },
  6185. "refprice": {
  6186. "description": "参考价格[一口价]",
  6187. "type": "number"
  6188. },
  6189. "relatedgoodsid": {
  6190. "description": "关联交易合约ID",
  6191. "type": "integer"
  6192. },
  6193. "relatedmarketid": {
  6194. "description": "关联交易合约市场ID",
  6195. "type": "integer"
  6196. },
  6197. "sellstatus": {
  6198. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6199. "type": "integer"
  6200. },
  6201. "startprice": {
  6202. "description": "起拍价[大宗式竞拍]",
  6203. "type": "number"
  6204. },
  6205. "starttime": {
  6206. "description": "预售开始时间",
  6207. "type": "string"
  6208. },
  6209. "tradedate": {
  6210. "description": "交易日(yyyyMMdd)",
  6211. "type": "string"
  6212. },
  6213. "tradeprice": {
  6214. "description": "成交价[大宗]",
  6215. "type": "number"
  6216. }
  6217. }
  6218. },
  6219. "delivery.QueryDeliveryRelationRsp": {
  6220. "type": "object",
  6221. "required": [
  6222. "begindate",
  6223. "enddate",
  6224. "goodsid",
  6225. "mindeliveryqty",
  6226. "xdeliveryratio"
  6227. ],
  6228. "properties": {
  6229. "begindate": {
  6230. "description": "起始日期(yyyyMMdd)",
  6231. "type": "string"
  6232. },
  6233. "buytemplateid": {
  6234. "description": "买履约计划模板ID",
  6235. "type": "integer"
  6236. },
  6237. "deliverygoodscode": {
  6238. "description": "品种代码",
  6239. "type": "string"
  6240. },
  6241. "deliverygoodsid": {
  6242. "description": "交割商品",
  6243. "type": "integer"
  6244. },
  6245. "deliverygoodsname": {
  6246. "description": "品种名称",
  6247. "type": "string"
  6248. },
  6249. "deliverymode": {
  6250. "description": "交割方式 - 1:点选式 2:申报式",
  6251. "type": "integer"
  6252. },
  6253. "deliverypricerule": {
  6254. "description": "交割价规则- 1:行情价 2:建仓价",
  6255. "type": "integer"
  6256. },
  6257. "deliverytype": {
  6258. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6259. "type": "integer"
  6260. },
  6261. "enddate": {
  6262. "description": "结束日期(yyyyMMdd)",
  6263. "type": "string"
  6264. },
  6265. "goodscode": {
  6266. "description": "商品代码",
  6267. "type": "string"
  6268. },
  6269. "goodsid": {
  6270. "description": "交易合约ID",
  6271. "type": "integer"
  6272. },
  6273. "goodsname": {
  6274. "description": "商品名称",
  6275. "type": "string"
  6276. },
  6277. "marketid": {
  6278. "description": "市场ID",
  6279. "type": "integer"
  6280. },
  6281. "mindeliveryqty": {
  6282. "description": "最小交割系数(K)",
  6283. "type": "integer"
  6284. },
  6285. "p2deliveryprice": {
  6286. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6287. "type": "number"
  6288. },
  6289. "p2deliveryratio": {
  6290. "description": "P2合约系数(p)",
  6291. "type": "integer"
  6292. },
  6293. "p2goodsid": {
  6294. "description": "P2合约ID",
  6295. "type": "integer"
  6296. },
  6297. "p2pricemode": {
  6298. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6299. "type": "integer"
  6300. },
  6301. "pdeliveryprice": {
  6302. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6303. "type": "number"
  6304. },
  6305. "pdeliveryratio": {
  6306. "description": "P合约系数(n)",
  6307. "type": "integer"
  6308. },
  6309. "pgoodsid": {
  6310. "description": "P合约ID",
  6311. "type": "integer"
  6312. },
  6313. "ppricemode": {
  6314. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6315. "type": "integer"
  6316. },
  6317. "rratio": {
  6318. "description": "兑换系数(R)",
  6319. "type": "integer"
  6320. },
  6321. "rratio1": {
  6322. "description": "兑换系数(交易合约)(R1)",
  6323. "type": "integer"
  6324. },
  6325. "rratio2": {
  6326. "description": "兑换系数(仓单标准)(R2)",
  6327. "type": "integer"
  6328. },
  6329. "selltemplateid": {
  6330. "description": "卖履约计划模板ID",
  6331. "type": "integer"
  6332. },
  6333. "wrstandardid": {
  6334. "description": "仓单标准ID",
  6335. "type": "integer"
  6336. },
  6337. "xdeliveryratio": {
  6338. "description": "交易合约系数(m)",
  6339. "type": "integer"
  6340. }
  6341. }
  6342. },
  6343. "ermcp.ExposureDetailRsp": {
  6344. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6345. },
  6346. "ermcp.ExposureHedgePosDetailRsp": {
  6347. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  6348. },
  6349. "ermcp.ExposureHedgePositionRsp": {
  6350. "$ref": "#/definitions/models.ErmcpHedgePosition"
  6351. },
  6352. "ermcp.ExposureSpotDetailRsp": {
  6353. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6354. },
  6355. "ermcp.ExposureSpotRsp": {
  6356. "$ref": "#/definitions/models.AreaSpotModel"
  6357. },
  6358. "ermcp.HisExposureRsp": {
  6359. "$ref": "#/definitions/models.ErmcpHisExposure"
  6360. },
  6361. "ermcp.QryAvalidGPRsp": {
  6362. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6363. },
  6364. "ermcp.QryBusinessDjRsp": {
  6365. "type": "object",
  6366. "properties": {
  6367. "amount": {
  6368. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6369. "type": "number"
  6370. },
  6371. "applyid": {
  6372. "description": "申请人",
  6373. "type": "string"
  6374. },
  6375. "applyname": {
  6376. "description": "申请人名称",
  6377. "type": "string"
  6378. },
  6379. "applystatus": {
  6380. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6381. "type": "integer"
  6382. },
  6383. "applytime": {
  6384. "description": "申请时间",
  6385. "type": "string"
  6386. },
  6387. "auditname": {
  6388. "description": "审核人名称",
  6389. "type": "string"
  6390. },
  6391. "audittime": {
  6392. "description": "审核时间",
  6393. "type": "string"
  6394. },
  6395. "buyusername": {
  6396. "description": "采购方名称",
  6397. "type": "string"
  6398. },
  6399. "contractno": {
  6400. "description": "合同编号",
  6401. "type": "string"
  6402. },
  6403. "contractstatus": {
  6404. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6405. "type": "integer"
  6406. },
  6407. "contracttype": {
  6408. "description": "现货合同类型 - 1:采购 -1:销售",
  6409. "type": "integer"
  6410. },
  6411. "enumdicname": {
  6412. "description": "单位名称",
  6413. "type": "string"
  6414. },
  6415. "goodscode": {
  6416. "description": "点价合约",
  6417. "type": "string"
  6418. },
  6419. "goodsname": {
  6420. "description": "商品名称",
  6421. "type": "string"
  6422. },
  6423. "operateapplyid": {
  6424. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6425. "type": "string"
  6426. },
  6427. "operateapplytype": {
  6428. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6429. "type": "integer"
  6430. },
  6431. "pricedPrice": {
  6432. "description": "点价价格(非必填)",
  6433. "type": "number"
  6434. },
  6435. "pricedQty": {
  6436. "description": "点价数量(非必填)",
  6437. "type": "number"
  6438. },
  6439. "pricemove": {
  6440. "description": "升贴水",
  6441. "type": "number"
  6442. },
  6443. "pricetype": {
  6444. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6445. "type": "integer"
  6446. },
  6447. "relatedid": {
  6448. "description": "现货合同ID",
  6449. "type": "string"
  6450. },
  6451. "sellusername": {
  6452. "description": "销售方名字",
  6453. "type": "string"
  6454. },
  6455. "userid": {
  6456. "description": "用户ID",
  6457. "type": "integer"
  6458. }
  6459. }
  6460. },
  6461. "ermcp.QryBussinessFpRsp": {
  6462. "type": "object",
  6463. "properties": {
  6464. "applyid": {
  6465. "description": "申请人",
  6466. "type": "string"
  6467. },
  6468. "applyname": {
  6469. "description": "申请人名称",
  6470. "type": "string"
  6471. },
  6472. "applystatus": {
  6473. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6474. "type": "integer"
  6475. },
  6476. "applytime": {
  6477. "description": "申请时间",
  6478. "type": "string"
  6479. },
  6480. "auditname": {
  6481. "description": "审核人名称",
  6482. "type": "string"
  6483. },
  6484. "audittime": {
  6485. "description": "审核时间",
  6486. "type": "string"
  6487. },
  6488. "buyusername": {
  6489. "description": "采购方名称",
  6490. "type": "string"
  6491. },
  6492. "contractno": {
  6493. "description": "合同编号",
  6494. "type": "string"
  6495. },
  6496. "contractstatus": {
  6497. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6498. "type": "integer"
  6499. },
  6500. "contracttype": {
  6501. "description": "现货合同类型 - 1:采购 -1:销售",
  6502. "type": "integer"
  6503. },
  6504. "enumdicname": {
  6505. "description": "单位名称",
  6506. "type": "string"
  6507. },
  6508. "goodscode": {
  6509. "description": "点价合约",
  6510. "type": "string"
  6511. },
  6512. "goodsname": {
  6513. "description": "商品名称",
  6514. "type": "string"
  6515. },
  6516. "invoiceAmount": {
  6517. "description": "已开收票金额(销售为开票,采购为收票)",
  6518. "type": "number"
  6519. },
  6520. "operateapplyid": {
  6521. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6522. "type": "string"
  6523. },
  6524. "operateapplytype": {
  6525. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6526. "type": "integer"
  6527. },
  6528. "pricemove": {
  6529. "description": "升贴水",
  6530. "type": "number"
  6531. },
  6532. "pricetype": {
  6533. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6534. "type": "integer"
  6535. },
  6536. "relatedid": {
  6537. "description": "现货合同ID",
  6538. "type": "string"
  6539. },
  6540. "sellusername": {
  6541. "description": "销售方名字",
  6542. "type": "string"
  6543. },
  6544. "userid": {
  6545. "description": "用户ID",
  6546. "type": "integer"
  6547. }
  6548. }
  6549. },
  6550. "ermcp.QryBussinessJsRsp": {
  6551. "type": "object",
  6552. "properties": {
  6553. "addmargin": {
  6554. "description": "追加保证金(非必填)",
  6555. "type": "number"
  6556. },
  6557. "applyid": {
  6558. "description": "申请人",
  6559. "type": "string"
  6560. },
  6561. "applyname": {
  6562. "description": "申请人名称",
  6563. "type": "string"
  6564. },
  6565. "applystatus": {
  6566. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6567. "type": "integer"
  6568. },
  6569. "applytime": {
  6570. "description": "申请时间",
  6571. "type": "string"
  6572. },
  6573. "auditname": {
  6574. "description": "审核人名称",
  6575. "type": "string"
  6576. },
  6577. "audittime": {
  6578. "description": "审核时间",
  6579. "type": "string"
  6580. },
  6581. "buyusername": {
  6582. "description": "采购方名称",
  6583. "type": "string"
  6584. },
  6585. "contractno": {
  6586. "description": "合同编号",
  6587. "type": "string"
  6588. },
  6589. "contractstatus": {
  6590. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6591. "type": "integer"
  6592. },
  6593. "contracttype": {
  6594. "description": "现货合同类型 - 1:采购 -1:销售",
  6595. "type": "integer"
  6596. },
  6597. "decmargin": {
  6598. "description": "减少保证金(非必填)",
  6599. "type": "number"
  6600. },
  6601. "enumdicname": {
  6602. "description": "单位名称",
  6603. "type": "string"
  6604. },
  6605. "goodscode": {
  6606. "description": "点价合约",
  6607. "type": "string"
  6608. },
  6609. "goodsname": {
  6610. "description": "商品名称",
  6611. "type": "string"
  6612. },
  6613. "operateapplyid": {
  6614. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6615. "type": "string"
  6616. },
  6617. "operateapplytype": {
  6618. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6619. "type": "integer"
  6620. },
  6621. "pricemove": {
  6622. "description": "升贴水",
  6623. "type": "number"
  6624. },
  6625. "pricetype": {
  6626. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6627. "type": "integer"
  6628. },
  6629. "reckonadjustamount": {
  6630. "description": "结算调整金额(非必填)",
  6631. "type": "number"
  6632. },
  6633. "reckonosamount": {
  6634. "description": "结算溢短金额(非必填)",
  6635. "type": "number"
  6636. },
  6637. "reckonotheramount": {
  6638. "description": "结算其他费用(非必填)",
  6639. "type": "number"
  6640. },
  6641. "reckonrealqty": {
  6642. "description": "结算实际数量(非必填)",
  6643. "type": "number"
  6644. },
  6645. "relatedid": {
  6646. "description": "现货合同ID",
  6647. "type": "string"
  6648. },
  6649. "sellusername": {
  6650. "description": "销售方名字",
  6651. "type": "string"
  6652. },
  6653. "userid": {
  6654. "description": "用户ID",
  6655. "type": "integer"
  6656. }
  6657. }
  6658. },
  6659. "ermcp.QryBussinessKxRsp": {
  6660. "type": "object",
  6661. "properties": {
  6662. "applyid": {
  6663. "description": "申请人",
  6664. "type": "string"
  6665. },
  6666. "applyname": {
  6667. "description": "申请人名称",
  6668. "type": "string"
  6669. },
  6670. "applystatus": {
  6671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6672. "type": "integer"
  6673. },
  6674. "applytime": {
  6675. "description": "申请时间",
  6676. "type": "string"
  6677. },
  6678. "auditname": {
  6679. "description": "审核人名称",
  6680. "type": "string"
  6681. },
  6682. "audittime": {
  6683. "description": "审核时间",
  6684. "type": "string"
  6685. },
  6686. "buyusername": {
  6687. "description": "采购方名称",
  6688. "type": "string"
  6689. },
  6690. "contractno": {
  6691. "description": "合同编号",
  6692. "type": "string"
  6693. },
  6694. "contractstatus": {
  6695. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6696. "type": "integer"
  6697. },
  6698. "contracttype": {
  6699. "description": "现货合同类型 - 1:采购 -1:销售",
  6700. "type": "integer"
  6701. },
  6702. "deductamount": {
  6703. "description": "退款(非必填)",
  6704. "type": "number"
  6705. },
  6706. "enumdicname": {
  6707. "description": "单位名称",
  6708. "type": "string"
  6709. },
  6710. "goodscode": {
  6711. "description": "点价合约",
  6712. "type": "string"
  6713. },
  6714. "goodsname": {
  6715. "description": "商品名称",
  6716. "type": "string"
  6717. },
  6718. "kxtype": {
  6719. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6720. "type": "integer"
  6721. },
  6722. "operateapplyid": {
  6723. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6724. "type": "string"
  6725. },
  6726. "operateapplytype": {
  6727. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6728. "type": "integer"
  6729. },
  6730. "payamount": {
  6731. "description": "收付款(非必填)",
  6732. "type": "number"
  6733. },
  6734. "pricemove": {
  6735. "description": "升贴水",
  6736. "type": "number"
  6737. },
  6738. "pricetype": {
  6739. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6740. "type": "integer"
  6741. },
  6742. "relatedid": {
  6743. "description": "现货合同ID",
  6744. "type": "string"
  6745. },
  6746. "sellusername": {
  6747. "description": "销售方名字",
  6748. "type": "string"
  6749. },
  6750. "userid": {
  6751. "description": "用户ID",
  6752. "type": "integer"
  6753. }
  6754. }
  6755. },
  6756. "ermcp.QryErmcpRsp": {
  6757. "$ref": "#/definitions/models.ErmcpModel"
  6758. },
  6759. "ermcp.QryGGCovertCfgRsp": {
  6760. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6761. },
  6762. "ermcp.QryHedgePlanRsp": {
  6763. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6764. },
  6765. "ermcp.QryMGChangeLogRsp": {
  6766. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6767. },
  6768. "ermcp.QryMiddleGoodsDetailRsp": {
  6769. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6770. },
  6771. "ermcp.QryMiddleGoodsRsp": {
  6772. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6773. },
  6774. "ermcp.QryOPLogRsp": {
  6775. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6776. },
  6777. "ermcp.QrySpotContractRsp": {
  6778. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6779. },
  6780. "ermcp.QryUserInfoRsp": {
  6781. "$ref": "#/definitions/models.ErmcpUserModel"
  6782. },
  6783. "ermcp.QryWrStandardDetailRsp": {
  6784. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6785. },
  6786. "ermcp.QryWrStandardRsp": {
  6787. "$ref": "#/definitions/models.ErmcpWrstandard"
  6788. },
  6789. "ermcp.RealtimeExposurePositionRsp": {
  6790. "$ref": "#/definitions/models.ErmcpExposurePostion"
  6791. },
  6792. "ermcp.RealtimeExposureRsp": {
  6793. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6794. },
  6795. "erms2.QueryArbitrageStrategyRsp": {
  6796. "type": "object",
  6797. "required": [
  6798. "asapplyid"
  6799. ],
  6800. "properties": {
  6801. "applybasis": {
  6802. "description": "申请基差",
  6803. "type": "number"
  6804. },
  6805. "asapplyid": {
  6806. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6807. "type": "string"
  6808. },
  6809. "asname": {
  6810. "description": "策略名称",
  6811. "type": "string"
  6812. },
  6813. "asno": {
  6814. "description": "策略编号",
  6815. "type": "string"
  6816. },
  6817. "basischangepl": {
  6818. "description": "基差变动损益[结算更新]",
  6819. "type": "number"
  6820. },
  6821. "biztype": {
  6822. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6823. "type": "integer"
  6824. },
  6825. "closetradedate": {
  6826. "description": "完结交易日(yyyyMMdd)",
  6827. "type": "string"
  6828. },
  6829. "curbasis": {
  6830. "description": "当前基差[结算更新]",
  6831. "type": "number"
  6832. },
  6833. "deliverygoodsid": {
  6834. "description": "现货品种ID",
  6835. "type": "integer"
  6836. },
  6837. "futureavgprice": {
  6838. "description": "期货建仓均价",
  6839. "type": "number"
  6840. },
  6841. "futurecloseamount": {
  6842. "description": "期货平仓金额",
  6843. "type": "number"
  6844. },
  6845. "futurecloseqty": {
  6846. "description": "期货平仓数量",
  6847. "type": "number"
  6848. },
  6849. "futureopenamount": {
  6850. "description": "期货开仓金额",
  6851. "type": "number"
  6852. },
  6853. "futureopenqty": {
  6854. "description": "期货开仓数量",
  6855. "type": "number"
  6856. },
  6857. "futurepl": {
  6858. "description": "期货总盈亏[结算更新]",
  6859. "type": "number"
  6860. },
  6861. "futureqty": {
  6862. "description": "期货持仓数量",
  6863. "type": "number"
  6864. },
  6865. "futurequote": {
  6866. "description": "期货额度",
  6867. "type": "number"
  6868. },
  6869. "goodsgroupid": {
  6870. "description": "期货品种ID",
  6871. "type": "integer"
  6872. },
  6873. "marketid": {
  6874. "description": "市场ID",
  6875. "type": "integer"
  6876. },
  6877. "netexposure": {
  6878. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6879. "type": "number"
  6880. },
  6881. "netexposurepl": {
  6882. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6883. "type": "number"
  6884. },
  6885. "netexposurerate": {
  6886. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6887. "type": "number"
  6888. },
  6889. "openbasis": {
  6890. "description": "建仓基差",
  6891. "type": "number"
  6892. },
  6893. "pricedspotqty": {
  6894. "description": "已定价现货数量",
  6895. "type": "number"
  6896. },
  6897. "pricedspotqtynotax": {
  6898. "description": "已定价现货不含税数量",
  6899. "type": "number"
  6900. },
  6901. "remark": {
  6902. "description": "备注",
  6903. "type": "string"
  6904. },
  6905. "spotavgprice": {
  6906. "description": "现货均价",
  6907. "type": "number"
  6908. },
  6909. "spotbuyamount": {
  6910. "description": "现货采购金额",
  6911. "type": "number"
  6912. },
  6913. "spotbuyqty": {
  6914. "description": "现货采购数量",
  6915. "type": "number"
  6916. },
  6917. "spotpl": {
  6918. "description": "现货总盈亏[结算更新]",
  6919. "type": "number"
  6920. },
  6921. "spotquota": {
  6922. "description": "现货额度",
  6923. "type": "number"
  6924. },
  6925. "spotsellamount": {
  6926. "description": "现货销售金额",
  6927. "type": "number"
  6928. },
  6929. "spotsellqty": {
  6930. "description": "现货销售数量",
  6931. "type": "number"
  6932. },
  6933. "spotusedquota": {
  6934. "description": "现货占用资金",
  6935. "type": "number"
  6936. },
  6937. "strategystatus": {
  6938. "description": "策略状态 - 0:未结束 1:已结束",
  6939. "type": "integer"
  6940. },
  6941. "totalpl": {
  6942. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6943. "type": "number"
  6944. },
  6945. "tradedate": {
  6946. "description": "交易日(yyyyMMdd)",
  6947. "type": "string"
  6948. },
  6949. "updatetime": {
  6950. "description": "更新时间",
  6951. "type": "string"
  6952. },
  6953. "usedquota": {
  6954. "description": "已占用资金",
  6955. "type": "number"
  6956. },
  6957. "userid": {
  6958. "description": "所属机构",
  6959. "type": "integer"
  6960. }
  6961. }
  6962. },
  6963. "erms2.QueryInnerTradeDetailRsp": {
  6964. "type": "object",
  6965. "required": [
  6966. "asapplyid",
  6967. "buyorsell",
  6968. "goodscode",
  6969. "goodsgroupid",
  6970. "goodsgroupname",
  6971. "goodsname",
  6972. "tradeid"
  6973. ],
  6974. "properties": {
  6975. "accountid": {
  6976. "description": "账号ID",
  6977. "type": "integer"
  6978. },
  6979. "agreeunit": {
  6980. "description": "合约单位",
  6981. "type": "number"
  6982. },
  6983. "asapplyid": {
  6984. "description": "策略申请ID",
  6985. "type": "integer"
  6986. },
  6987. "asname": {
  6988. "description": "策略名称",
  6989. "type": "string"
  6990. },
  6991. "asno": {
  6992. "description": "策略编号",
  6993. "type": "string"
  6994. },
  6995. "buyorsell": {
  6996. "description": "方向 - 0:买 1:卖",
  6997. "type": "integer"
  6998. },
  6999. "channelbuildtype": {
  7000. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7001. "type": "integer"
  7002. },
  7003. "closetype": {
  7004. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7005. "type": "integer"
  7006. },
  7007. "decimalplace": {
  7008. "description": "报价小数位",
  7009. "type": "integer"
  7010. },
  7011. "detailtype": {
  7012. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7013. "type": "integer"
  7014. },
  7015. "exexchangecode": {
  7016. "description": "外部交易所代码",
  7017. "type": "string"
  7018. },
  7019. "exexchangename": {
  7020. "description": "外部交易所名称",
  7021. "type": "string"
  7022. },
  7023. "goodscode": {
  7024. "description": "商品代码(合约)",
  7025. "type": "string"
  7026. },
  7027. "goodsgroupid": {
  7028. "description": "商品组ID(品种ID)",
  7029. "type": "integer"
  7030. },
  7031. "goodsgroupname": {
  7032. "description": "商品组名称(品种)",
  7033. "type": "string"
  7034. },
  7035. "goodsid": {
  7036. "description": "商品ID",
  7037. "type": "integer"
  7038. },
  7039. "goodsname": {
  7040. "description": "商品名称(合约)",
  7041. "type": "string"
  7042. },
  7043. "goodunit": {
  7044. "description": "报价单位",
  7045. "type": "string"
  7046. },
  7047. "marketid": {
  7048. "description": "市场ID",
  7049. "type": "integer"
  7050. },
  7051. "orderid": {
  7052. "description": "委托单号",
  7053. "type": "string"
  7054. },
  7055. "outgoodscode": {
  7056. "description": "商品代码(外部)",
  7057. "type": "string"
  7058. },
  7059. "relatedouttradeid": {
  7060. "description": "关联外部成交单ID",
  7061. "type": "string"
  7062. },
  7063. "remark": {
  7064. "description": "备注",
  7065. "type": "string"
  7066. },
  7067. "spotcontractid": {
  7068. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7069. "type": "integer"
  7070. },
  7071. "spotcontractno": {
  7072. "description": "现货合同编号",
  7073. "type": "string"
  7074. },
  7075. "tradeid": {
  7076. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7077. "type": "string"
  7078. },
  7079. "tradeprice": {
  7080. "description": "成交价格",
  7081. "type": "number"
  7082. },
  7083. "tradeqty": {
  7084. "description": "成交数量",
  7085. "type": "integer"
  7086. },
  7087. "tradetime": {
  7088. "description": "成交时间",
  7089. "type": "string"
  7090. },
  7091. "updatetime": {
  7092. "description": "更新时间",
  7093. "type": "string"
  7094. }
  7095. }
  7096. },
  7097. "erms2.QuerySpotContractRsp": {
  7098. "type": "object",
  7099. "required": [
  7100. "spotcontractid"
  7101. ],
  7102. "properties": {
  7103. "accountid": {
  7104. "description": "资金账户ID",
  7105. "type": "integer"
  7106. },
  7107. "areauserid": {
  7108. "description": "所属机构",
  7109. "type": "integer"
  7110. },
  7111. "closedate": {
  7112. "description": "终止日期",
  7113. "type": "string"
  7114. },
  7115. "closeremark": {
  7116. "description": "结束备注",
  7117. "type": "string"
  7118. },
  7119. "closetradedate": {
  7120. "description": "完结交易日(yyyyMMdd)",
  7121. "type": "string"
  7122. },
  7123. "closetype": {
  7124. "description": "终止类型 - 1:违约 2:提前终止",
  7125. "type": "integer"
  7126. },
  7127. "contractamount": {
  7128. "description": "合同金额",
  7129. "type": "number"
  7130. },
  7131. "contractattachment": {
  7132. "description": "合同附件",
  7133. "type": "string"
  7134. },
  7135. "contractno": {
  7136. "description": "现货合同编号",
  7137. "type": "string"
  7138. },
  7139. "contractqty": {
  7140. "description": "合同数量(数值) (用于计算)",
  7141. "type": "number"
  7142. },
  7143. "contractqtychar": {
  7144. "description": "合同数量\\已订价数量 (用于显示)",
  7145. "type": "string"
  7146. },
  7147. "contractstatus": {
  7148. "description": "合同状态 - 0:未结束 1:已结束",
  7149. "type": "integer"
  7150. },
  7151. "contracttype": {
  7152. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7153. "type": "integer"
  7154. },
  7155. "customeraccountid": {
  7156. "description": "客户资金账户ID",
  7157. "type": "integer"
  7158. },
  7159. "customeruserid": {
  7160. "description": "客户ID",
  7161. "type": "integer"
  7162. },
  7163. "deliverygoodsdesc": {
  7164. "description": "品种说明",
  7165. "type": "string"
  7166. },
  7167. "deliverygoodsid": {
  7168. "description": "现货品种ID",
  7169. "type": "integer"
  7170. },
  7171. "handlestatus": {
  7172. "description": "处理状态",
  7173. "type": "integer"
  7174. },
  7175. "invoiceatt": {
  7176. "description": "发票附件",
  7177. "type": "string"
  7178. },
  7179. "invoicedatetime": {
  7180. "description": "开收票更新时间",
  7181. "type": "string"
  7182. },
  7183. "invoiceopentime": {
  7184. "description": "开票时间",
  7185. "type": "string"
  7186. },
  7187. "invoiceremark": {
  7188. "description": "发票备注",
  7189. "type": "string"
  7190. },
  7191. "invoicestatus": {
  7192. "description": "开收票状态 - 0:未开票 1:已开票",
  7193. "type": "integer"
  7194. },
  7195. "lastdate": {
  7196. "description": "交货时间",
  7197. "type": "string"
  7198. },
  7199. "marketid": {
  7200. "description": "市场ID",
  7201. "type": "integer"
  7202. },
  7203. "paydatetime": {
  7204. "description": "收付款更新时间",
  7205. "type": "string"
  7206. },
  7207. "payremark": {
  7208. "description": "收付款备注",
  7209. "type": "string"
  7210. },
  7211. "paystatus": {
  7212. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7213. "type": "integer"
  7214. },
  7215. "positionqty": {
  7216. "description": "头寸数量 - 合同数量去小数部分",
  7217. "type": "integer"
  7218. },
  7219. "producttype": {
  7220. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7221. "type": "integer"
  7222. },
  7223. "relatedqty": {
  7224. "description": "已关联数量",
  7225. "type": "number"
  7226. },
  7227. "relatedstatus": {
  7228. "description": "关联完结状态 - 0:未结束 1:已结束",
  7229. "type": "integer"
  7230. },
  7231. "remark": {
  7232. "description": "备注",
  7233. "type": "string"
  7234. },
  7235. "signdate": {
  7236. "description": "签订日期",
  7237. "type": "string"
  7238. },
  7239. "spotcontractid": {
  7240. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7241. "type": "string"
  7242. },
  7243. "spotdatetime": {
  7244. "description": "收发货更新时间",
  7245. "type": "string"
  7246. },
  7247. "spotprice": {
  7248. "description": "价格",
  7249. "type": "number"
  7250. },
  7251. "spotremark": {
  7252. "description": "收发货备注",
  7253. "type": "string"
  7254. },
  7255. "spotstatus": {
  7256. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7257. "type": "integer"
  7258. },
  7259. "tradedate": {
  7260. "description": "交易日(yyyyMMdd)",
  7261. "type": "string"
  7262. },
  7263. "userid": {
  7264. "description": "业务员用户ID",
  7265. "type": "integer"
  7266. },
  7267. "warehouseid": {
  7268. "description": "仓库ID",
  7269. "type": "integer"
  7270. },
  7271. "wrfactortypeid": {
  7272. "description": "仓单要素类型ID",
  7273. "type": "integer"
  7274. },
  7275. "wrstandardid": {
  7276. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7277. "type": "integer"
  7278. }
  7279. }
  7280. },
  7281. "erms3.AddErms2ASApplyReq": {
  7282. "type": "object",
  7283. "required": [
  7284. "asapplyid"
  7285. ],
  7286. "properties": {
  7287. "applybasis": {
  7288. "description": "申请基差",
  7289. "type": "number"
  7290. },
  7291. "applystatus": {
  7292. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7293. "type": "integer"
  7294. },
  7295. "asapplyid": {
  7296. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7297. "type": "integer"
  7298. },
  7299. "asname": {
  7300. "description": "策略名称",
  7301. "type": "string"
  7302. },
  7303. "asno": {
  7304. "description": "策略编号",
  7305. "type": "string"
  7306. },
  7307. "auditid": {
  7308. "description": "审核人",
  7309. "type": "integer"
  7310. },
  7311. "auditremark": {
  7312. "description": "审核备注",
  7313. "type": "string"
  7314. },
  7315. "audittime": {
  7316. "description": "审核时间",
  7317. "type": "string"
  7318. },
  7319. "biztype": {
  7320. "description": "业务类型 - 1:正向套利 2:反向套利",
  7321. "type": "integer"
  7322. },
  7323. "createtime": {
  7324. "description": "创建时间",
  7325. "type": "string"
  7326. },
  7327. "creatorid": {
  7328. "description": "创建人",
  7329. "type": "integer"
  7330. },
  7331. "deliverygoodsid": {
  7332. "description": "现货品种ID",
  7333. "type": "integer"
  7334. },
  7335. "futurequote": {
  7336. "description": "期货额度",
  7337. "type": "number"
  7338. },
  7339. "goodsgroupid": {
  7340. "description": "期货品种ID",
  7341. "type": "integer"
  7342. },
  7343. "marketid": {
  7344. "description": "市场ID",
  7345. "type": "integer"
  7346. },
  7347. "remark": {
  7348. "description": "备注",
  7349. "type": "string"
  7350. },
  7351. "spotquota": {
  7352. "description": "现货额度",
  7353. "type": "number"
  7354. },
  7355. "tradedate": {
  7356. "description": "交易日(yyyyMMdd)",
  7357. "type": "string"
  7358. },
  7359. "userid": {
  7360. "description": "所属机构",
  7361. "type": "integer"
  7362. }
  7363. }
  7364. },
  7365. "erms3.AddErms2SpotTradeApplyReq": {
  7366. "type": "object",
  7367. "required": [
  7368. "spottradeid"
  7369. ],
  7370. "properties": {
  7371. "applyjsondetail": {
  7372. "description": "申请明细(JSON)",
  7373. "type": "string"
  7374. },
  7375. "applystatus": {
  7376. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7377. "type": "integer"
  7378. },
  7379. "areauserid": {
  7380. "description": "所属机构",
  7381. "type": "integer"
  7382. },
  7383. "auditid": {
  7384. "description": "审核人",
  7385. "type": "integer"
  7386. },
  7387. "auditremark": {
  7388. "description": "审核备注",
  7389. "type": "string"
  7390. },
  7391. "audittime": {
  7392. "description": "审核时间",
  7393. "type": "string"
  7394. },
  7395. "createtime": {
  7396. "description": "创建时间",
  7397. "type": "string"
  7398. },
  7399. "creatorid": {
  7400. "description": "创建人",
  7401. "type": "integer"
  7402. },
  7403. "deliverygoodsid": {
  7404. "description": "现货品种ID",
  7405. "type": "integer"
  7406. },
  7407. "futureaccountid": {
  7408. "description": "期货资金账户",
  7409. "type": "integer"
  7410. },
  7411. "goodsgroupid": {
  7412. "description": "期货品种",
  7413. "type": "integer"
  7414. },
  7415. "marketid": {
  7416. "description": "市场ID",
  7417. "type": "integer"
  7418. },
  7419. "remark": {
  7420. "description": "备注",
  7421. "type": "string"
  7422. },
  7423. "spotaccountid": {
  7424. "description": "现货资金账户",
  7425. "type": "integer"
  7426. },
  7427. "spottradeid": {
  7428. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7429. "type": "integer"
  7430. },
  7431. "spottradename": {
  7432. "description": "业务名称",
  7433. "type": "string"
  7434. },
  7435. "spottradeno": {
  7436. "description": "业务编号",
  7437. "type": "string"
  7438. },
  7439. "tradedate": {
  7440. "description": "交易日(yyyyMMdd)",
  7441. "type": "string"
  7442. },
  7443. "wrstandardid": {
  7444. "description": "仓单标准ID",
  7445. "type": "integer"
  7446. }
  7447. }
  7448. },
  7449. "erms3.AddSpotContractApplyReq": {
  7450. "type": "object",
  7451. "required": [
  7452. "accountid",
  7453. "areauserid",
  7454. "contractno",
  7455. "contracttype",
  7456. "customeraccountid",
  7457. "customeruserid",
  7458. "details",
  7459. "orimargin",
  7460. "signdate"
  7461. ],
  7462. "properties": {
  7463. "accountid": {
  7464. "description": "资金账户ID",
  7465. "type": "integer"
  7466. },
  7467. "areauserid": {
  7468. "description": "所属机构",
  7469. "type": "integer"
  7470. },
  7471. "contractattachment": {
  7472. "description": "合同附件",
  7473. "type": "string"
  7474. },
  7475. "contractno": {
  7476. "description": "现货合同编号",
  7477. "type": "string"
  7478. },
  7479. "contracttype": {
  7480. "description": "现货合同类型 - 1:采购 -1:销售",
  7481. "type": "integer"
  7482. },
  7483. "creatorid": {
  7484. "description": "申请人",
  7485. "type": "integer"
  7486. },
  7487. "customeraccountid": {
  7488. "description": "客户资金账户ID",
  7489. "type": "integer"
  7490. },
  7491. "customeruserid": {
  7492. "description": "客户ID",
  7493. "type": "integer"
  7494. },
  7495. "details": {
  7496. "description": "明细",
  7497. "type": "array",
  7498. "items": {
  7499. "$ref": "#/definitions/erms3.SoptContractDetail"
  7500. }
  7501. },
  7502. "orimargin": {
  7503. "description": "初始保证金",
  7504. "type": "number"
  7505. },
  7506. "remark": {
  7507. "description": "备注",
  7508. "type": "string"
  7509. },
  7510. "signdate": {
  7511. "description": "签订日期",
  7512. "type": "string"
  7513. }
  7514. }
  7515. },
  7516. "erms3.AddSpotContractApplyRsp": {
  7517. "type": "object",
  7518. "required": [
  7519. "contractno"
  7520. ],
  7521. "properties": {
  7522. "contractno": {
  7523. "description": "现货合同编号",
  7524. "type": "string"
  7525. },
  7526. "spotcontractid": {
  7527. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7528. "type": "integer"
  7529. }
  7530. }
  7531. },
  7532. "erms3.AddUserInfoApplyReq": {
  7533. "type": "object",
  7534. "required": [
  7535. "userid"
  7536. ],
  7537. "properties": {
  7538. "accountid": {
  7539. "description": "交易系统帐号Id (加密存储)",
  7540. "type": "integer"
  7541. },
  7542. "areacode": {
  7543. "description": "机构代码",
  7544. "type": "string"
  7545. },
  7546. "areaid": {
  7547. "description": "机构Id",
  7548. "type": "integer"
  7549. },
  7550. "attachment1": {
  7551. "description": "附件1",
  7552. "type": "string"
  7553. },
  7554. "attachment2": {
  7555. "description": "附件2",
  7556. "type": "string"
  7557. },
  7558. "attachment3": {
  7559. "description": "附件3",
  7560. "type": "string"
  7561. },
  7562. "attachment4": {
  7563. "description": "附件4",
  7564. "type": "string"
  7565. },
  7566. "attachment5": {
  7567. "description": "附件5",
  7568. "type": "string"
  7569. },
  7570. "auditedby": {
  7571. "description": "审核人",
  7572. "type": "string"
  7573. },
  7574. "auditime": {
  7575. "description": "审核时间",
  7576. "type": "string"
  7577. },
  7578. "bankaccount": {
  7579. "description": "银行帐号 (加密存储)",
  7580. "type": "string"
  7581. },
  7582. "bankaccountname": {
  7583. "description": "收款人名称",
  7584. "type": "string"
  7585. },
  7586. "bankcardbackphotourl": {
  7587. "description": "银行卡背面照地址",
  7588. "type": "string"
  7589. },
  7590. "bankcardfrontphotourl": {
  7591. "description": "银行卡正面照地址",
  7592. "type": "string"
  7593. },
  7594. "bankid": {
  7595. "description": "银行编码",
  7596. "type": "string"
  7597. },
  7598. "bankname": {
  7599. "description": "银行名称",
  7600. "type": "string"
  7601. },
  7602. "bankpictureurl": {
  7603. "description": "银行卡正面地址",
  7604. "type": "string"
  7605. },
  7606. "biznature": {
  7607. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7608. "type": "integer"
  7609. },
  7610. "bizscope": {
  7611. "description": "企业经营范围(企业)",
  7612. "type": "string"
  7613. },
  7614. "biztype": {
  7615. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7616. "type": "integer"
  7617. },
  7618. "brokerid": {
  7619. "description": "经纪人ID(加密存储)",
  7620. "type": "string"
  7621. },
  7622. "cardaddress": {
  7623. "description": "证件地址 (加密存储)",
  7624. "type": "string"
  7625. },
  7626. "cardbackphotourl": {
  7627. "description": "背面证件照地址",
  7628. "type": "string"
  7629. },
  7630. "cardfrontphotourl": {
  7631. "description": "正面证件照地址",
  7632. "type": "string"
  7633. },
  7634. "cardnum": {
  7635. "description": "证件号码 (加密存储)",
  7636. "type": "string"
  7637. },
  7638. "cardtype": {
  7639. "description": "证件类型",
  7640. "type": "integer"
  7641. },
  7642. "cityid": {
  7643. "description": "市",
  7644. "type": "integer"
  7645. },
  7646. "company": {
  7647. "description": "公司(个人)",
  7648. "type": "string"
  7649. },
  7650. "contactcardbackphotourl": {
  7651. "description": "联系人证件背面图片地址",
  7652. "type": "string"
  7653. },
  7654. "contactcardfrontphotourl": {
  7655. "description": "联系人证件正面图片地址",
  7656. "type": "string"
  7657. },
  7658. "contactname": {
  7659. "description": "联系人",
  7660. "type": "string"
  7661. },
  7662. "countryid": {
  7663. "description": "国家",
  7664. "type": "integer"
  7665. },
  7666. "createtime": {
  7667. "description": "开户申请时间",
  7668. "type": "string"
  7669. },
  7670. "cusbankid": {
  7671. "description": "签约类型",
  7672. "type": "string"
  7673. },
  7674. "cusbankname": {
  7675. "description": "签约类型名称",
  7676. "type": "string"
  7677. },
  7678. "customername": {
  7679. "description": "客户名称(企业名称)",
  7680. "type": "string"
  7681. },
  7682. "districtid": {
  7683. "description": "地区",
  7684. "type": "integer"
  7685. },
  7686. "email": {
  7687. "description": "Email地址(加密存储)",
  7688. "type": "string"
  7689. },
  7690. "halfbodyphotourl": {
  7691. "description": "半身照地址",
  7692. "type": "string"
  7693. },
  7694. "headurl": {
  7695. "description": "头像地址",
  7696. "type": "string"
  7697. },
  7698. "ipaddress": {
  7699. "description": "IP地址",
  7700. "type": "string"
  7701. },
  7702. "isvalidate": {
  7703. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7704. "type": "string"
  7705. },
  7706. "legalcardbackphotourl": {
  7707. "description": "法人身份证背面照地址",
  7708. "type": "string"
  7709. },
  7710. "legalcardfrontphotourl": {
  7711. "description": "法人身份证正面照地址",
  7712. "type": "string"
  7713. },
  7714. "legalpersonname": {
  7715. "description": "法人姓名(企业)",
  7716. "type": "string"
  7717. },
  7718. "logincode": {
  7719. "description": "登录帐号 (加密存储)",
  7720. "type": "string"
  7721. },
  7722. "memberareaid": {
  7723. "description": "所属会员ID",
  7724. "type": "integer"
  7725. },
  7726. "mobile2": {
  7727. "description": "手机号码[明文-尚志]",
  7728. "type": "string"
  7729. },
  7730. "mobilephone": {
  7731. "description": "手机号码 (加密存储)",
  7732. "type": "string"
  7733. },
  7734. "modifiedby": {
  7735. "description": "修改人帐号",
  7736. "type": "integer"
  7737. },
  7738. "modifiedtime": {
  7739. "description": "修改时间",
  7740. "type": "string"
  7741. },
  7742. "nickname": {
  7743. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7744. "type": "string"
  7745. },
  7746. "openmode": {
  7747. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7748. "type": "integer"
  7749. },
  7750. "otherurl": {
  7751. "description": "其它图片地址[使用分号分隔]",
  7752. "type": "string"
  7753. },
  7754. "postalcode": {
  7755. "description": "邮政编码",
  7756. "type": "string"
  7757. },
  7758. "provinceid": {
  7759. "description": "省",
  7760. "type": "integer"
  7761. },
  7762. "proxystatementurl": {
  7763. "description": "授权委托书",
  7764. "type": "string"
  7765. },
  7766. "qq": {
  7767. "description": "QQ(加密存储",
  7768. "type": "string"
  7769. },
  7770. "referral": {
  7771. "description": "推荐人编码",
  7772. "type": "string"
  7773. },
  7774. "remark": {
  7775. "description": "备注",
  7776. "type": "string"
  7777. },
  7778. "removebeforestatus": {
  7779. "description": "REMOVEBEFORESTATUS",
  7780. "type": "integer"
  7781. },
  7782. "sex": {
  7783. "description": "性别 - 0:女 1:男",
  7784. "type": "integer"
  7785. },
  7786. "signedstatus": {
  7787. "description": "账户一号签签约状态",
  7788. "type": "integer"
  7789. },
  7790. "signpdfurl": {
  7791. "description": "签约pdf文件",
  7792. "type": "string"
  7793. },
  7794. "subbranch": {
  7795. "description": "开户支行",
  7796. "type": "string"
  7797. },
  7798. "telphone": {
  7799. "description": "联系电话(加密存储)",
  7800. "type": "string"
  7801. },
  7802. "userid": {
  7803. "description": "用户ID(自增ID)",
  7804. "type": "integer"
  7805. },
  7806. "userinfotype": {
  7807. "description": "用户信息类型 - 1:个人 2:企业",
  7808. "type": "integer"
  7809. },
  7810. "username": {
  7811. "description": "用户姓名",
  7812. "type": "string"
  7813. },
  7814. "userstate": {
  7815. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7816. "type": "integer"
  7817. },
  7818. "usertype": {
  7819. "description": "用户类型 - 1:投资者 2:机构",
  7820. "type": "integer"
  7821. },
  7822. "videourl": {
  7823. "description": "视频地址",
  7824. "type": "string"
  7825. },
  7826. "wechat": {
  7827. "description": "微信号 (加密存储)",
  7828. "type": "string"
  7829. }
  7830. }
  7831. },
  7832. "erms3.CustomerInfo": {
  7833. "type": "object",
  7834. "required": [
  7835. "userid"
  7836. ],
  7837. "properties": {
  7838. "accountids": {
  7839. "description": "资金账户ID列表",
  7840. "type": "array",
  7841. "items": {
  7842. "type": "integer"
  7843. }
  7844. },
  7845. "customername": {
  7846. "description": "名称(企业名称)",
  7847. "type": "string"
  7848. },
  7849. "mobile": {
  7850. "description": "手机号码",
  7851. "type": "string"
  7852. },
  7853. "userid": {
  7854. "description": "用户ID",
  7855. "type": "integer"
  7856. }
  7857. }
  7858. },
  7859. "erms3.QryAuditContractRsp": {
  7860. "type": "object",
  7861. "required": [
  7862. "matchcustomername",
  7863. "spotcontractid"
  7864. ],
  7865. "properties": {
  7866. "accountid": {
  7867. "description": "交易员ID",
  7868. "type": "string"
  7869. },
  7870. "applystatus": {
  7871. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7872. "type": "integer"
  7873. },
  7874. "curdeliveryqty": {
  7875. "description": "未交收量",
  7876. "type": "integer"
  7877. },
  7878. "customername": {
  7879. "description": "采购方ID",
  7880. "type": "string"
  7881. },
  7882. "deliverygoodsid": {
  7883. "description": "品种ID",
  7884. "type": "string"
  7885. },
  7886. "deliveryqty": {
  7887. "description": "交收量",
  7888. "type": "integer"
  7889. },
  7890. "enumdicname": {
  7891. "description": "单位名称",
  7892. "type": "string"
  7893. },
  7894. "matchaccountid": {
  7895. "description": "业务员ID",
  7896. "type": "string"
  7897. },
  7898. "matchcustomername": {
  7899. "description": "销售方ID",
  7900. "type": "string"
  7901. },
  7902. "pricedqty": {
  7903. "description": "定价量",
  7904. "type": "number"
  7905. },
  7906. "signdate": {
  7907. "description": "签订日期",
  7908. "type": "string"
  7909. },
  7910. "spotcontractid": {
  7911. "description": "合同ID",
  7912. "type": "string"
  7913. },
  7914. "totaldqty": {
  7915. "description": "合同量",
  7916. "type": "number"
  7917. },
  7918. "unpricedqty": {
  7919. "description": "未定价量",
  7920. "type": "number"
  7921. },
  7922. "wrstandardname": {
  7923. "description": "商品名称",
  7924. "type": "string"
  7925. }
  7926. }
  7927. },
  7928. "erms3.QryPendingBizRsp": {
  7929. "$ref": "#/definitions/models.PendingAuditBizModel"
  7930. },
  7931. "erms3.QueryBusinessInfoRsp": {
  7932. "type": "object",
  7933. "properties": {
  7934. "businessid": {
  7935. "description": "业务ID.",
  7936. "type": "integer"
  7937. },
  7938. "buyamount": {
  7939. "description": "采购额.",
  7940. "type": "number"
  7941. },
  7942. "buyqty": {
  7943. "description": "采购量.",
  7944. "type": "string"
  7945. },
  7946. "futurepl": {
  7947. "description": "期货盈亏.",
  7948. "type": "number"
  7949. },
  7950. "futureqty": {
  7951. "description": "期货敞口.",
  7952. "type": "string"
  7953. },
  7954. "goodsid": {
  7955. "description": "商品名称/商品代码.",
  7956. "type": "string"
  7957. },
  7958. "hedgingqty": {
  7959. "description": "套保量.",
  7960. "type": "string"
  7961. },
  7962. "sellamount": {
  7963. "description": "销售额.",
  7964. "type": "number"
  7965. },
  7966. "sellqty": {
  7967. "description": "销售量.",
  7968. "type": "string"
  7969. },
  7970. "spotmarketvalue": {
  7971. "description": "现货市值.",
  7972. "type": "number"
  7973. },
  7974. "spotpl": {
  7975. "description": "浮动权益.",
  7976. "type": "number"
  7977. },
  7978. "spotqty": {
  7979. "description": "现货量.",
  7980. "type": "string"
  7981. },
  7982. "statu": {
  7983. "description": "状态,0-未结束 1-已结束.",
  7984. "type": "integer"
  7985. },
  7986. "totalpl": {
  7987. "description": "总盈亏.",
  7988. "type": "number"
  7989. },
  7990. "totalqty": {
  7991. "description": "总敞口.",
  7992. "type": "string"
  7993. },
  7994. "type": {
  7995. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7996. "type": "integer"
  7997. }
  7998. }
  7999. },
  8000. "erms3.QuerySpotContractAppleFormRsp": {
  8001. "type": "object",
  8002. "properties": {
  8003. "goodses": {
  8004. "description": "合约列表",
  8005. "type": "array",
  8006. "items": {
  8007. "$ref": "#/definitions/models.GoodsIDAndName"
  8008. }
  8009. },
  8010. "oppositeusers": {
  8011. "description": "对方账号列表",
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/erms3.CustomerInfo"
  8015. }
  8016. },
  8017. "ouruser": {
  8018. "description": "我方账号",
  8019. "type": "object",
  8020. "$ref": "#/definitions/erms3.CustomerInfo"
  8021. },
  8022. "warehouseinfos": {
  8023. "description": "仓库信息列表",
  8024. "type": "array",
  8025. "items": {
  8026. "$ref": "#/definitions/models.Warehouseinfo"
  8027. }
  8028. },
  8029. "wrstandards": {
  8030. "description": "仓单标准列表",
  8031. "type": "array",
  8032. "items": {
  8033. "$ref": "#/definitions/models.WRStandardInfo"
  8034. }
  8035. }
  8036. }
  8037. },
  8038. "erms3.QuerySpotContractInfoRsp": {
  8039. "type": "object",
  8040. "properties": {
  8041. "accountid": {
  8042. "description": "表示交易员ID.",
  8043. "type": "integer"
  8044. },
  8045. "curdeliveryqty": {
  8046. "description": "表示未交收量.",
  8047. "type": "number"
  8048. },
  8049. "customername": {
  8050. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8051. "type": "string"
  8052. },
  8053. "deliverygoodsid": {
  8054. "description": "表示品种ID.",
  8055. "type": "string"
  8056. },
  8057. "deliveryqty": {
  8058. "description": "表示交收量.",
  8059. "type": "number"
  8060. },
  8061. "matchaccountid": {
  8062. "description": "表示业务员ID.",
  8063. "type": "integer"
  8064. },
  8065. "matchcustomername": {
  8066. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8067. "type": "string"
  8068. },
  8069. "priceqty": {
  8070. "description": "表示定价量.",
  8071. "type": "number"
  8072. },
  8073. "relatedbizid": {
  8074. "description": "表示业务ID.",
  8075. "type": "string"
  8076. },
  8077. "signdate": {
  8078. "description": "表示签订日期.",
  8079. "type": "string"
  8080. },
  8081. "spotcontractid": {
  8082. "description": "合同ID",
  8083. "type": "string"
  8084. },
  8085. "status": {
  8086. "description": "表示状态,0-履约中 1-已完成.",
  8087. "type": "integer"
  8088. },
  8089. "totalqty": {
  8090. "description": "表示合同量.",
  8091. "type": "number"
  8092. },
  8093. "unpricedqty": {
  8094. "description": "表示未定价量.",
  8095. "type": "number"
  8096. },
  8097. "wrstandardname": {
  8098. "description": "表示商品ID.",
  8099. "type": "string"
  8100. }
  8101. }
  8102. },
  8103. "erms3.QueryUserInfoAppliesRsp": {
  8104. "type": "object",
  8105. "required": [
  8106. "userid"
  8107. ],
  8108. "properties": {
  8109. "biznature": {
  8110. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8111. "type": "integer"
  8112. },
  8113. "contactname": {
  8114. "description": "联系人",
  8115. "type": "string"
  8116. },
  8117. "createtime": {
  8118. "description": "开户申请时间",
  8119. "type": "string"
  8120. },
  8121. "userid": {
  8122. "description": "用户ID(自增ID)",
  8123. "type": "integer"
  8124. },
  8125. "userinfotype": {
  8126. "description": "用户信息类型 - 1:个人 2:企业",
  8127. "type": "integer"
  8128. },
  8129. "username": {
  8130. "description": "用户姓名",
  8131. "type": "string"
  8132. },
  8133. "userstate": {
  8134. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8135. "type": "integer"
  8136. }
  8137. }
  8138. },
  8139. "erms3.QueryUserInfosRsp": {
  8140. "type": "object",
  8141. "required": [
  8142. "userid"
  8143. ],
  8144. "properties": {
  8145. "biznature": {
  8146. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8147. "type": "integer"
  8148. },
  8149. "contactname": {
  8150. "description": "联系人",
  8151. "type": "string"
  8152. },
  8153. "customername": {
  8154. "description": "客户名称(企业名称)",
  8155. "type": "string"
  8156. },
  8157. "userid": {
  8158. "description": "用户ID",
  8159. "type": "integer"
  8160. },
  8161. "userinfotype": {
  8162. "description": "用户信息类型 - 1:个人 2:企业",
  8163. "type": "integer"
  8164. },
  8165. "userstatus": {
  8166. "description": "用户状态 - 1:正常 2:注销",
  8167. "type": "integer"
  8168. }
  8169. }
  8170. },
  8171. "erms3.SoptContractDetail": {
  8172. "type": "object",
  8173. "required": [
  8174. "deliverygoodsid",
  8175. "producttype",
  8176. "unitname",
  8177. "warehouseid",
  8178. "wrstandardid",
  8179. "wrstandardname"
  8180. ],
  8181. "properties": {
  8182. "deliverygoodsdesc": {
  8183. "description": "现货品种说明",
  8184. "type": "string"
  8185. },
  8186. "deliverygoodsid": {
  8187. "description": "现货品种ID",
  8188. "type": "integer"
  8189. },
  8190. "deliverygoodsname": {
  8191. "description": "现货品种名称",
  8192. "type": "string"
  8193. },
  8194. "pointdesc": {
  8195. "description": "点价描述",
  8196. "type": "string"
  8197. },
  8198. "producttype": {
  8199. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8200. "type": "integer"
  8201. },
  8202. "producttypename": {
  8203. "description": "产品类型名称",
  8204. "type": "string"
  8205. },
  8206. "spotPointOrderVoList": {
  8207. "description": "点价列表",
  8208. "type": "array",
  8209. "items": {
  8210. "$ref": "#/definitions/erms3.SpotPointOrder"
  8211. }
  8212. },
  8213. "spotPriceOrderList": {
  8214. "description": "定价列表",
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8218. }
  8219. },
  8220. "unitname": {
  8221. "description": "单位名称",
  8222. "type": "string"
  8223. },
  8224. "warehouseid": {
  8225. "description": "仓库ID",
  8226. "type": "integer"
  8227. },
  8228. "warehousename": {
  8229. "description": "仓库名称",
  8230. "type": "string"
  8231. },
  8232. "wrstandardid": {
  8233. "description": "交易标的ID",
  8234. "type": "integer"
  8235. },
  8236. "wrstandardname": {
  8237. "description": "交易标的名称",
  8238. "type": "string"
  8239. }
  8240. }
  8241. },
  8242. "erms3.SpotPointOrder": {
  8243. "type": "object",
  8244. "required": [
  8245. "basic",
  8246. "goodsid",
  8247. "qty"
  8248. ],
  8249. "properties": {
  8250. "basic": {
  8251. "description": "基差",
  8252. "type": "number"
  8253. },
  8254. "deliveryenddate": {
  8255. "description": "交收结束日期",
  8256. "type": "string"
  8257. },
  8258. "deliverystartdate": {
  8259. "description": "交收开始日期",
  8260. "type": "string"
  8261. },
  8262. "enddate": {
  8263. "description": "点价结束日期",
  8264. "type": "string"
  8265. },
  8266. "goodsid": {
  8267. "description": "商品ID",
  8268. "type": "integer"
  8269. },
  8270. "goodsname": {
  8271. "description": "商品名称",
  8272. "type": "string"
  8273. },
  8274. "qty": {
  8275. "description": "数量",
  8276. "type": "number"
  8277. },
  8278. "startdate": {
  8279. "description": "点价开始日期",
  8280. "type": "string"
  8281. }
  8282. }
  8283. },
  8284. "erms3.SpotPriceOrder": {
  8285. "type": "object",
  8286. "required": [
  8287. "amount",
  8288. "price",
  8289. "qty"
  8290. ],
  8291. "properties": {
  8292. "amount": {
  8293. "description": "金额",
  8294. "type": "number"
  8295. },
  8296. "deliveryenddate": {
  8297. "description": "交收结束日期",
  8298. "type": "string"
  8299. },
  8300. "deliverystartdate": {
  8301. "description": "交收开始日期",
  8302. "type": "string"
  8303. },
  8304. "price": {
  8305. "description": "价格",
  8306. "type": "number"
  8307. },
  8308. "qty": {
  8309. "description": "数量",
  8310. "type": "number"
  8311. }
  8312. }
  8313. },
  8314. "hsby.GetHsbyMyCountRsp": {
  8315. "type": "object",
  8316. "properties": {
  8317. "myCouponCount": {
  8318. "description": "我的优惠卷数量",
  8319. "type": "integer"
  8320. },
  8321. "myOrderDetailListingCount": {
  8322. "description": "我的订单求购中数量",
  8323. "type": "integer"
  8324. },
  8325. "myOrderDetailPreCount": {
  8326. "description": "我的订单抢购中数量",
  8327. "type": "integer"
  8328. },
  8329. "myPackageUnReceiveCount": {
  8330. "description": "我的包裹待收货数量",
  8331. "type": "integer"
  8332. },
  8333. "myPackageUnSendCount": {
  8334. "description": "我的包裹待发货数量",
  8335. "type": "integer"
  8336. },
  8337. "myPayOrderCount": {
  8338. "description": "我的订单待付款数量",
  8339. "type": "integer"
  8340. }
  8341. }
  8342. },
  8343. "hsby.QueryProvincesAndCitiesRsp": {
  8344. "type": "object",
  8345. "properties": {
  8346. "cities": {
  8347. "description": "市",
  8348. "type": "array",
  8349. "items": {
  8350. "$ref": "#/definitions/models.Division"
  8351. }
  8352. },
  8353. "province": {
  8354. "description": "省",
  8355. "type": "object",
  8356. "$ref": "#/definitions/models.Division"
  8357. }
  8358. }
  8359. },
  8360. "models.AreaSpotModel": {
  8361. "type": "object",
  8362. "properties": {
  8363. "areauserid": {
  8364. "description": "所属机构",
  8365. "type": "integer"
  8366. },
  8367. "decreaseqty": {
  8368. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8369. "type": "number"
  8370. },
  8371. "increaseqty": {
  8372. "description": "增加数量=销售计划数量+采购已定价数量",
  8373. "type": "number"
  8374. },
  8375. "oritoalspotqty": {
  8376. "description": "昨日数量",
  8377. "type": "number"
  8378. },
  8379. "totalspotqty": {
  8380. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8381. "type": "number"
  8382. },
  8383. "updatetime": {
  8384. "description": "更新时间",
  8385. "type": "string"
  8386. },
  8387. "wrstandardcode": {
  8388. "description": "现货品种代码",
  8389. "type": "string"
  8390. },
  8391. "wrstandardid": {
  8392. "description": "现货商品ID",
  8393. "type": "integer"
  8394. },
  8395. "wrstandardname": {
  8396. "description": "现货品种",
  8397. "type": "string"
  8398. }
  8399. }
  8400. },
  8401. "models.Clientfixedadconfig": {
  8402. "type": "object",
  8403. "required": [
  8404. "adsort",
  8405. "adtype"
  8406. ],
  8407. "properties": {
  8408. "adsort": {
  8409. "description": "排序",
  8410. "type": "integer"
  8411. },
  8412. "adtype": {
  8413. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8414. "type": "integer"
  8415. },
  8416. "areauserid": {
  8417. "description": "所属机构ID",
  8418. "type": "integer"
  8419. },
  8420. "createdate": {
  8421. "description": "创建时间",
  8422. "type": "string"
  8423. },
  8424. "creatorid": {
  8425. "description": "创建人",
  8426. "type": "integer"
  8427. },
  8428. "imagepath": {
  8429. "description": "图片",
  8430. "type": "string"
  8431. },
  8432. "isshow": {
  8433. "description": "是否展示 - 0:不展示 1:展示",
  8434. "type": "integer"
  8435. },
  8436. "modifierid": {
  8437. "description": "操作人",
  8438. "type": "integer"
  8439. },
  8440. "recsize": {
  8441. "description": "推荐尺寸",
  8442. "type": "string"
  8443. },
  8444. "title": {
  8445. "description": "标题",
  8446. "type": "string"
  8447. },
  8448. "updatedate": {
  8449. "description": "更新时间",
  8450. "type": "string"
  8451. },
  8452. "urlcontent": {
  8453. "description": "链接(地址或商品ID)",
  8454. "type": "string"
  8455. },
  8456. "urltype": {
  8457. "description": "链接类型 - 1:直接地址 2:商品ID",
  8458. "type": "integer"
  8459. }
  8460. }
  8461. },
  8462. "models.Division": {
  8463. "type": "object",
  8464. "required": [
  8465. "autoid",
  8466. "divisioncode"
  8467. ],
  8468. "properties": {
  8469. "autoid": {
  8470. "description": "自增ID",
  8471. "type": "integer"
  8472. },
  8473. "divisioncode": {
  8474. "description": "行政代码",
  8475. "type": "string"
  8476. },
  8477. "divisionlevel": {
  8478. "description": "行政级别",
  8479. "type": "string"
  8480. },
  8481. "divisionname": {
  8482. "description": "行政名称",
  8483. "type": "string"
  8484. },
  8485. "modifierid": {
  8486. "description": "修改人",
  8487. "type": "integer"
  8488. },
  8489. "modifytime": {
  8490. "description": "修改时间",
  8491. "type": "string"
  8492. },
  8493. "parentcode": {
  8494. "description": "上级行政代码",
  8495. "type": "string"
  8496. },
  8497. "pathname": {
  8498. "description": "路径名称",
  8499. "type": "string"
  8500. },
  8501. "postcode": {
  8502. "description": "邮政编码",
  8503. "type": "string"
  8504. },
  8505. "separablename": {
  8506. "description": "可拆分的全称",
  8507. "type": "string"
  8508. },
  8509. "shortcode": {
  8510. "description": "地区简码",
  8511. "type": "string"
  8512. }
  8513. }
  8514. },
  8515. "models.Enumdicitem": {
  8516. "type": "object",
  8517. "required": [
  8518. "autoid",
  8519. "enumdiccode",
  8520. "enumdicid",
  8521. "enumitemname"
  8522. ],
  8523. "properties": {
  8524. "autoid": {
  8525. "description": "自增ID",
  8526. "type": "integer"
  8527. },
  8528. "bankmappedvalue": {
  8529. "description": "银行服务对应值",
  8530. "type": "string"
  8531. },
  8532. "enumdiccode": {
  8533. "description": "所属枚举代码",
  8534. "type": "string"
  8535. },
  8536. "enumdicid": {
  8537. "description": "所属枚举ID",
  8538. "type": "integer"
  8539. },
  8540. "enumdicname": {
  8541. "description": "枚举项名称",
  8542. "type": "string"
  8543. },
  8544. "enumitemname": {
  8545. "description": "枚举项值",
  8546. "type": "integer"
  8547. },
  8548. "enumitemstatus": {
  8549. "description": "枚举项状态 - 1.启用 2.不启用",
  8550. "type": "integer"
  8551. },
  8552. "enumitemvalue": {
  8553. "description": "通用值 - [币种通用简写]",
  8554. "type": "string"
  8555. },
  8556. "param1": {
  8557. "description": "参数1[币种:币种小数位]",
  8558. "type": "string"
  8559. },
  8560. "param2": {
  8561. "description": "参数1[币种:币种显示单位]",
  8562. "type": "string"
  8563. },
  8564. "remark": {
  8565. "description": "备注",
  8566. "type": "string"
  8567. }
  8568. }
  8569. },
  8570. "models.ErmcpAreaSpotDetailModel": {
  8571. "type": "object",
  8572. "properties": {
  8573. "contracttype": {
  8574. "description": "合同类型 1-采购 -1-销售",
  8575. "type": "integer"
  8576. },
  8577. "enumdicname": {
  8578. "description": "现货商品单位名称",
  8579. "type": "string"
  8580. },
  8581. "logtype": {
  8582. "description": "记录类型 1-套保 2-现货合同",
  8583. "type": "integer"
  8584. },
  8585. "qty": {
  8586. "description": "数量",
  8587. "type": "number"
  8588. },
  8589. "recordname": {
  8590. "description": "类型名称",
  8591. "type": "string"
  8592. },
  8593. "relatedid": {
  8594. "description": "套保计划ID/现货合同ID",
  8595. "type": "string"
  8596. },
  8597. "relatedno": {
  8598. "description": "编号",
  8599. "type": "string"
  8600. },
  8601. "strtime": {
  8602. "description": "时间",
  8603. "type": "string"
  8604. },
  8605. "wrstandardcode": {
  8606. "description": "现货商品代码",
  8607. "type": "string"
  8608. },
  8609. "wrstandardname": {
  8610. "description": "现货商品名称",
  8611. "type": "string"
  8612. }
  8613. }
  8614. },
  8615. "models.ErmcpAvalidGoodsGroupModel": {
  8616. "type": "object",
  8617. "properties": {
  8618. "goodsgroupid": {
  8619. "description": "期货品种id",
  8620. "type": "integer"
  8621. },
  8622. "goodsgroupname": {
  8623. "description": "期货品种名称",
  8624. "type": "string"
  8625. },
  8626. "goodunitid": {
  8627. "description": "品种单位id",
  8628. "type": "integer"
  8629. },
  8630. "goodunitname": {
  8631. "description": "品种单位名称",
  8632. "type": "string"
  8633. },
  8634. "outergroupcode": {
  8635. "description": "期货品种代码",
  8636. "type": "string"
  8637. }
  8638. }
  8639. },
  8640. "models.ErmcpExposureDetailModel": {
  8641. "type": "object",
  8642. "properties": {
  8643. "areauserid": {
  8644. "description": "机构ID",
  8645. "type": "integer"
  8646. },
  8647. "changeQty": {
  8648. "description": "套保变动量",
  8649. "type": "number"
  8650. },
  8651. "contracttype": {
  8652. "description": "现货合同类型 - 1:采购 -1:销售",
  8653. "type": "integer"
  8654. },
  8655. "convertfactor": {
  8656. "description": "标仓系数",
  8657. "type": "number"
  8658. },
  8659. "convertratio": {
  8660. "description": "套保系数",
  8661. "type": "number"
  8662. },
  8663. "createtime": {
  8664. "description": "时间",
  8665. "type": "string"
  8666. },
  8667. "enumdicname": {
  8668. "description": "现货商品单位名称",
  8669. "type": "string"
  8670. },
  8671. "logtype": {
  8672. "description": "类型 - 1:套保计划 2:现货合同",
  8673. "type": "integer"
  8674. },
  8675. "middlegoodsId": {
  8676. "description": "套保商品id",
  8677. "type": "integer"
  8678. },
  8679. "middlegoodscode": {
  8680. "description": "套保商品代码",
  8681. "type": "string"
  8682. },
  8683. "middlegoodsname": {
  8684. "description": "套保商品名称",
  8685. "type": "string"
  8686. },
  8687. "qty": {
  8688. "description": "数量",
  8689. "type": "number"
  8690. },
  8691. "relateNo": {
  8692. "description": "现货合同/套保计划编号",
  8693. "type": "string"
  8694. },
  8695. "wrstandardcode": {
  8696. "description": "现货商品代码",
  8697. "type": "string"
  8698. },
  8699. "wrstandardid": {
  8700. "description": "现货商品ID",
  8701. "type": "integer"
  8702. },
  8703. "wrstandardname": {
  8704. "description": "现货商品名称",
  8705. "type": "string"
  8706. }
  8707. }
  8708. },
  8709. "models.ErmcpExposurePostion": {
  8710. "type": "object",
  8711. "properties": {
  8712. "areauserid": {
  8713. "description": "所属机构id",
  8714. "type": "integer"
  8715. },
  8716. "curqty": {
  8717. "description": "当前持仓",
  8718. "type": "integer"
  8719. },
  8720. "diffhedgeqty": {
  8721. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  8722. "type": "number"
  8723. },
  8724. "diffqty": {
  8725. "description": "持仓变动量=当前持仓-昨日持仓",
  8726. "type": "integer"
  8727. },
  8728. "goodscode": {
  8729. "description": "商品代码",
  8730. "type": "string"
  8731. },
  8732. "goodsid": {
  8733. "description": "商品id",
  8734. "type": "integer"
  8735. },
  8736. "goodsname": {
  8737. "description": "商品名称",
  8738. "type": "string"
  8739. },
  8740. "middlegoodsid": {
  8741. "description": "套保商品id",
  8742. "type": "integer"
  8743. },
  8744. "ydqty": {
  8745. "description": "昨日持仓",
  8746. "type": "integer"
  8747. }
  8748. }
  8749. },
  8750. "models.ErmcpGGConvertCfg": {
  8751. "type": "object",
  8752. "properties": {
  8753. "convertratio": {
  8754. "description": "折算系数",
  8755. "type": "number"
  8756. },
  8757. "destgoodsgroupid": {
  8758. "description": "目标品种ID",
  8759. "type": "integer"
  8760. },
  8761. "dstcode": {
  8762. "description": "目录品种代码",
  8763. "type": "string"
  8764. },
  8765. "dstname": {
  8766. "description": "目标品种名称",
  8767. "type": "string"
  8768. },
  8769. "dstunitid": {
  8770. "description": "目标品种单位ID",
  8771. "type": "integer"
  8772. },
  8773. "dstunitidname": {
  8774. "description": "目标品种单位名称",
  8775. "type": "string"
  8776. },
  8777. "srccode": {
  8778. "description": "源品种代码",
  8779. "type": "string"
  8780. },
  8781. "srcgoodsgroupid": {
  8782. "description": "源品种ID",
  8783. "type": "integer"
  8784. },
  8785. "srcname": {
  8786. "description": "源品种名称",
  8787. "type": "string"
  8788. },
  8789. "srcunitid": {
  8790. "description": "源品种单位ID",
  8791. "type": "integer"
  8792. },
  8793. "srcunitidname": {
  8794. "description": "源品种单位名称",
  8795. "type": "string"
  8796. }
  8797. }
  8798. },
  8799. "models.ErmcpHedgePlan": {
  8800. "type": "object",
  8801. "properties": {
  8802. "areauserid": {
  8803. "description": "用户ID",
  8804. "type": "integer"
  8805. },
  8806. "contracttype": {
  8807. "description": "计划类型 - 1:采购 -1:销售",
  8808. "type": "integer"
  8809. },
  8810. "convertfactor": {
  8811. "description": "标仓系数",
  8812. "type": "number"
  8813. },
  8814. "deliverygoodsid": {
  8815. "description": "现货品种ID",
  8816. "type": "integer"
  8817. },
  8818. "deliverygoodsname": {
  8819. "description": "现货品种名称",
  8820. "type": "string"
  8821. },
  8822. "hedgeplanid": {
  8823. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8824. "type": "string"
  8825. },
  8826. "hedgeplanno": {
  8827. "description": "套保计划编号(名称)",
  8828. "type": "string"
  8829. },
  8830. "hedgeplanstatus": {
  8831. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8832. "type": "integer"
  8833. },
  8834. "planqty": {
  8835. "description": "计划数量",
  8836. "type": "number"
  8837. },
  8838. "plantime": {
  8839. "description": "计划时间",
  8840. "type": "string"
  8841. },
  8842. "producttype": {
  8843. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8844. "type": "integer"
  8845. },
  8846. "remark": {
  8847. "description": "备注",
  8848. "type": "string"
  8849. },
  8850. "spotgoodsdesc": {
  8851. "description": "商品型号",
  8852. "type": "string"
  8853. },
  8854. "wrstandardid": {
  8855. "description": "现货商品ID",
  8856. "type": "integer"
  8857. },
  8858. "wrstandardname": {
  8859. "description": "现货商品名称",
  8860. "type": "string"
  8861. }
  8862. }
  8863. },
  8864. "models.ErmcpHedgePosition": {
  8865. "type": "object",
  8866. "properties": {
  8867. "accountid": {
  8868. "description": "资金账号[外部母账户]",
  8869. "type": "integer"
  8870. },
  8871. "curbuyposition": {
  8872. "description": "期末买头寸",
  8873. "type": "integer"
  8874. },
  8875. "cursellposition": {
  8876. "description": "期末卖头寸",
  8877. "type": "integer"
  8878. },
  8879. "curtdbuyposition": {
  8880. "description": "期末今日买头寸",
  8881. "type": "integer"
  8882. },
  8883. "curtdsellposition": {
  8884. "description": "期末今日卖头寸",
  8885. "type": "integer"
  8886. },
  8887. "curydbuyposition": {
  8888. "description": "期末上日买头寸",
  8889. "type": "integer"
  8890. },
  8891. "curydsellposition": {
  8892. "description": "期末上日卖头寸",
  8893. "type": "integer"
  8894. },
  8895. "decreaseqty": {
  8896. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8897. "type": "integer"
  8898. },
  8899. "fretdbuyposition": {
  8900. "description": "冻结今日买头寸",
  8901. "type": "integer"
  8902. },
  8903. "fretdsellposition": {
  8904. "description": "冻结今日卖头寸",
  8905. "type": "integer"
  8906. },
  8907. "freydbuyposition": {
  8908. "description": "冻结上日买头寸",
  8909. "type": "integer"
  8910. },
  8911. "freydsellposition": {
  8912. "description": "冻结上日卖头寸",
  8913. "type": "integer"
  8914. },
  8915. "goodscode": {
  8916. "description": "商品代码",
  8917. "type": "string"
  8918. },
  8919. "goodsid": {
  8920. "description": "商品id",
  8921. "type": "integer"
  8922. },
  8923. "goodsname": {
  8924. "description": "商品名称",
  8925. "type": "string"
  8926. },
  8927. "hedgeaccountcode": {
  8928. "description": "对冲账号",
  8929. "type": "string"
  8930. },
  8931. "hedgegoodsid": {
  8932. "description": "对冲合约ID",
  8933. "type": "integer"
  8934. },
  8935. "increaseqty": {
  8936. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8937. "type": "integer"
  8938. },
  8939. "marketid": {
  8940. "description": "市场ID",
  8941. "type": "integer"
  8942. },
  8943. "relateduserid": {
  8944. "description": "关联用户id",
  8945. "type": "integer"
  8946. },
  8947. "totalcurqty": {
  8948. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8949. "type": "integer"
  8950. },
  8951. "totalydqty": {
  8952. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8953. "type": "integer"
  8954. },
  8955. "tradedate": {
  8956. "description": "交易日(yyyyMMdd)",
  8957. "type": "string"
  8958. },
  8959. "ydbuyposition": {
  8960. "description": "期初买头寸",
  8961. "type": "integer"
  8962. },
  8963. "ydsellposition": {
  8964. "description": "期初卖头寸",
  8965. "type": "integer"
  8966. }
  8967. }
  8968. },
  8969. "models.ErmcpHedgePositionDetail": {
  8970. "type": "object",
  8971. "properties": {
  8972. "buyorsell": {
  8973. "description": "买卖方向 0-买 1-卖",
  8974. "type": "integer"
  8975. },
  8976. "channelbuildtype": {
  8977. "description": "开平方向 1-建仓 2-平仓",
  8978. "type": "integer"
  8979. },
  8980. "goodscode": {
  8981. "description": "商品代码",
  8982. "type": "string"
  8983. },
  8984. "goodsname": {
  8985. "description": "商品名称",
  8986. "type": "string"
  8987. },
  8988. "hedgegoodsid": {
  8989. "description": "商品id",
  8990. "type": "integer"
  8991. },
  8992. "tradeqty": {
  8993. "description": "数量(成交数量)",
  8994. "type": "integer"
  8995. },
  8996. "tradetime": {
  8997. "description": "时间(成交时间)",
  8998. "type": "string"
  8999. }
  9000. }
  9001. },
  9002. "models.ErmcpHisExposure": {
  9003. "type": "object",
  9004. "properties": {
  9005. "areauserid": {
  9006. "description": "所属机构",
  9007. "type": "integer"
  9008. },
  9009. "middlegoodscode": {
  9010. "description": "套保品种代码",
  9011. "type": "string"
  9012. },
  9013. "middlegoodsid": {
  9014. "description": "套保品种ID",
  9015. "type": "integer"
  9016. },
  9017. "middlegoodsname": {
  9018. "description": "套保品种名称",
  9019. "type": "string"
  9020. },
  9021. "needhedgeexposourE": {
  9022. "description": "应套保敞口",
  9023. "type": "number"
  9024. },
  9025. "needhedgeratio": {
  9026. "description": "应套保敞口比例",
  9027. "type": "number"
  9028. },
  9029. "reckondate": {
  9030. "description": "日照时期(yyyyMMdd)",
  9031. "type": "string"
  9032. },
  9033. "totalexposure": {
  9034. "description": "总敞口",
  9035. "type": "number"
  9036. },
  9037. "totalfutureqty": {
  9038. "description": "期货头寸总量",
  9039. "type": "number"
  9040. },
  9041. "totalhedgeratio": {
  9042. "description": "敞口比例",
  9043. "type": "number"
  9044. },
  9045. "totalneedhedgeqty": {
  9046. "description": "应套保总量",
  9047. "type": "number"
  9048. },
  9049. "totalspotqty": {
  9050. "description": "现货头寸总量",
  9051. "type": "number"
  9052. }
  9053. }
  9054. },
  9055. "models.ErmcpMiddleGoodsChangeLog": {
  9056. "type": "object",
  9057. "properties": {
  9058. "aftervalue": {
  9059. "description": "变更后",
  9060. "type": "number"
  9061. },
  9062. "applyid": {
  9063. "description": "操作人",
  9064. "type": "integer"
  9065. },
  9066. "applyname": {
  9067. "description": "操作人名称",
  9068. "type": "string"
  9069. },
  9070. "applysrc": {
  9071. "description": "操作来源 - 1:管理端 2:终端",
  9072. "type": "integer"
  9073. },
  9074. "beforevalue": {
  9075. "description": "变更前",
  9076. "type": "number"
  9077. },
  9078. "changelogtype": {
  9079. "description": "变更流水类型 - 1:套保比率变更",
  9080. "type": "integer"
  9081. },
  9082. "handlestatus": {
  9083. "description": "处理状态",
  9084. "type": "integer"
  9085. },
  9086. "logdatetime": {
  9087. "description": "流水日期",
  9088. "type": "string"
  9089. },
  9090. "logid": {
  9091. "description": "流水ID",
  9092. "type": "integer"
  9093. },
  9094. "logremark": {
  9095. "description": "流水备注",
  9096. "type": "string"
  9097. },
  9098. "middlegoodsid": {
  9099. "description": "套保品种ID",
  9100. "type": "integer"
  9101. },
  9102. "tradedate": {
  9103. "description": "交易日(yyyyMMdd)",
  9104. "type": "string"
  9105. },
  9106. "updatetime": {
  9107. "description": "更新时间",
  9108. "type": "string"
  9109. }
  9110. }
  9111. },
  9112. "models.ErmcpMiddleGoodsDetail": {
  9113. "type": "object",
  9114. "properties": {
  9115. "cvList": {
  9116. "description": "期货品种折算列表",
  9117. "type": "array",
  9118. "items": {
  9119. "$ref": "#/definitions/models.GoodsGroupConvert"
  9120. }
  9121. },
  9122. "mg": {
  9123. "description": "套保品种基本信息",
  9124. "type": "object",
  9125. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9126. }
  9127. }
  9128. },
  9129. "models.ErmcpMiddleGoodsModel": {
  9130. "type": "object",
  9131. "properties": {
  9132. "areauserid": {
  9133. "description": "机构用户ID",
  9134. "type": "integer"
  9135. },
  9136. "enumdicname": {
  9137. "description": "单位名称",
  9138. "type": "string"
  9139. },
  9140. "evaluateratio": {
  9141. "description": "估价系数",
  9142. "type": "number"
  9143. },
  9144. "goodsgroupid": {
  9145. "description": "关联期货品种ID",
  9146. "type": "integer"
  9147. },
  9148. "isvalid": {
  9149. "description": "状态 0-无效(停用) 1-有效(正常)",
  9150. "type": "integer"
  9151. },
  9152. "middlegoodscode": {
  9153. "description": "套保品种代码",
  9154. "type": "string"
  9155. },
  9156. "middlegoodsid": {
  9157. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9158. "type": "integer"
  9159. },
  9160. "middlegoodsname": {
  9161. "description": "套保品种名称",
  9162. "type": "string"
  9163. },
  9164. "modifytime": {
  9165. "description": "修改时间",
  9166. "type": "string"
  9167. },
  9168. "needhedgeratio": {
  9169. "description": "套保比率",
  9170. "type": "number"
  9171. },
  9172. "qtydecimalplace": {
  9173. "description": "数量小数位",
  9174. "type": "integer"
  9175. },
  9176. "relatedgoodsid": {
  9177. "description": "关联交易商品ID",
  9178. "type": "integer"
  9179. },
  9180. "relatedgoodstype": {
  9181. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9182. "type": "integer"
  9183. }
  9184. }
  9185. },
  9186. "models.ErmcpModel": {
  9187. "type": "object",
  9188. "properties": {
  9189. "accountname": {
  9190. "description": "账户名称",
  9191. "type": "string"
  9192. },
  9193. "audittime": {
  9194. "description": "审核时间",
  9195. "type": "string"
  9196. },
  9197. "contracctstatus": {
  9198. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9199. "type": "integer"
  9200. },
  9201. "contractmargin": {
  9202. "description": "合同保证金",
  9203. "type": "number"
  9204. },
  9205. "contractno": {
  9206. "description": "合同编号",
  9207. "type": "string"
  9208. },
  9209. "contracttype": {
  9210. "description": "合同类型 1-采购, -1-销售",
  9211. "type": "integer"
  9212. },
  9213. "convertfactor": {
  9214. "description": "标仓系数",
  9215. "type": "number"
  9216. },
  9217. "daikaiamount": {
  9218. "description": "待开票额",
  9219. "type": "number"
  9220. },
  9221. "deliveryenddate": {
  9222. "description": "交割结束日",
  9223. "type": "string"
  9224. },
  9225. "deliverygoodscode": {
  9226. "description": "现货商品代码",
  9227. "type": "string"
  9228. },
  9229. "deliverygoodsid": {
  9230. "description": "现货商品ID",
  9231. "type": "integer"
  9232. },
  9233. "deliverygoodsname": {
  9234. "description": "现货商品名称",
  9235. "type": "string"
  9236. },
  9237. "deliverystartdate": {
  9238. "description": "交割开始日",
  9239. "type": "string"
  9240. },
  9241. "enddate": {
  9242. "description": "点价结束日",
  9243. "type": "string"
  9244. },
  9245. "enumdicname": {
  9246. "description": "单位名称",
  9247. "type": "string"
  9248. },
  9249. "goodscode": {
  9250. "description": "点价商品代码",
  9251. "type": "string"
  9252. },
  9253. "goodsid": {
  9254. "description": "点价商品ID",
  9255. "type": "integer"
  9256. },
  9257. "invoiceamount": {
  9258. "description": "已开票额",
  9259. "type": "number"
  9260. },
  9261. "loanamount": {
  9262. "description": "贷款总额=已定价额+调整金额",
  9263. "type": "number"
  9264. },
  9265. "margin": {
  9266. "description": "保证金",
  9267. "type": "number"
  9268. },
  9269. "payamount": {
  9270. "description": "已收付额(收款或付款)",
  9271. "type": "number"
  9272. },
  9273. "price": {
  9274. "description": "价格",
  9275. "type": "number"
  9276. },
  9277. "pricedamount": {
  9278. "description": "已定价额",
  9279. "type": "number"
  9280. },
  9281. "pricedavg": {
  9282. "description": "已点均价",
  9283. "type": "number"
  9284. },
  9285. "pricedqty": {
  9286. "description": "已定价量",
  9287. "type": "number"
  9288. },
  9289. "pricemove": {
  9290. "description": "升贴水",
  9291. "type": "number"
  9292. },
  9293. "pricetype": {
  9294. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9295. "type": "integer"
  9296. },
  9297. "producttype": {
  9298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9299. "type": "integer"
  9300. },
  9301. "qty": {
  9302. "description": "合同量",
  9303. "type": "number"
  9304. },
  9305. "reckonadjustamount": {
  9306. "description": "调整金额",
  9307. "type": "number"
  9308. },
  9309. "reckonedamount": {
  9310. "description": "已收付额(已确定额)",
  9311. "type": "number"
  9312. },
  9313. "reckonotheramount": {
  9314. "description": "其它费用",
  9315. "type": "number"
  9316. },
  9317. "reckonrealqty": {
  9318. "description": "已确定量",
  9319. "type": "number"
  9320. },
  9321. "remark": {
  9322. "description": "备注",
  9323. "type": "string"
  9324. },
  9325. "spotcontractid": {
  9326. "description": "合同ID",
  9327. "type": "string"
  9328. },
  9329. "spotgoodsdesc": {
  9330. "description": "商品型号(商品规格)",
  9331. "type": "string"
  9332. },
  9333. "startdate": {
  9334. "description": "点价开始日",
  9335. "type": "string"
  9336. },
  9337. "totalamount": {
  9338. "description": "合计总额",
  9339. "type": "number"
  9340. },
  9341. "unpayamount": {
  9342. "description": "待支收额(支付或收款)",
  9343. "type": "number"
  9344. },
  9345. "unpricedqty": {
  9346. "description": "未定价量",
  9347. "type": "number"
  9348. },
  9349. "unsureqty": {
  9350. "description": "未确定量",
  9351. "type": "number"
  9352. },
  9353. "userid": {
  9354. "description": "用户ID",
  9355. "type": "integer"
  9356. }
  9357. }
  9358. },
  9359. "models.ErmcpOPLogModel": {
  9360. "type": "object",
  9361. "properties": {
  9362. "aftervalue": {
  9363. "description": "变更后",
  9364. "type": "number"
  9365. },
  9366. "applyid": {
  9367. "description": "操作人ID",
  9368. "type": "string"
  9369. },
  9370. "applyname": {
  9371. "description": "操作人名称",
  9372. "type": "string"
  9373. },
  9374. "beforevalue": {
  9375. "description": "变更前",
  9376. "type": "number"
  9377. },
  9378. "biztype": {
  9379. "description": "业务类型 - 1:套保计划 2:现货合同",
  9380. "type": "integer"
  9381. },
  9382. "contracttype": {
  9383. "description": "现货合同类型 - 1:采购 -1:销售",
  9384. "type": "integer"
  9385. },
  9386. "logvalue": {
  9387. "description": "数值",
  9388. "type": "number"
  9389. },
  9390. "operatelogtype": {
  9391. "description": "操作流水类型",
  9392. "type": "integer"
  9393. },
  9394. "operatelogtypedesc": {
  9395. "description": "操作流水类型名称",
  9396. "type": "string"
  9397. },
  9398. "relatedid": {
  9399. "description": "现货合同ID\\套保计划",
  9400. "type": "string"
  9401. },
  9402. "updatetime": {
  9403. "description": "更新时间",
  9404. "type": "string"
  9405. }
  9406. }
  9407. },
  9408. "models.ErmcpRealExposureModel": {
  9409. "type": "object",
  9410. "properties": {
  9411. "areaUserID": {
  9412. "description": "所属机构",
  9413. "type": "integer"
  9414. },
  9415. "buyFutureQty": {
  9416. "description": "买入期货数量",
  9417. "type": "number"
  9418. },
  9419. "buyPlanQty": {
  9420. "description": "采购计划数量",
  9421. "type": "number"
  9422. },
  9423. "buyPricedQty": {
  9424. "description": "采购合同已定价数量",
  9425. "type": "number"
  9426. },
  9427. "diffFutuQty": {
  9428. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9429. "type": "number"
  9430. },
  9431. "diffSpotQty": {
  9432. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9433. "type": "number"
  9434. },
  9435. "middleGoodsCode": {
  9436. "description": "套保品种代码",
  9437. "type": "string"
  9438. },
  9439. "middleGoodsHedgeRatio": {
  9440. "description": "应套保比例",
  9441. "type": "number"
  9442. },
  9443. "middleGoodsID": {
  9444. "description": "套保品种",
  9445. "type": "integer"
  9446. },
  9447. "middleGoodsName": {
  9448. "description": "套保品种名称",
  9449. "type": "string"
  9450. },
  9451. "needHedgeExposoure": {
  9452. "description": "应套保敞口",
  9453. "type": "number"
  9454. },
  9455. "needHedgeRatio": {
  9456. "description": "应套保敞口比例",
  9457. "type": "number"
  9458. },
  9459. "oriBuyFutureQty": {
  9460. "description": "期初买入期货数量",
  9461. "type": "number"
  9462. },
  9463. "oriBuyPlanQty": {
  9464. "description": "期初采购计划数量",
  9465. "type": "number"
  9466. },
  9467. "oriBuyPricedQty": {
  9468. "description": "期初采购合同已定价数量",
  9469. "type": "number"
  9470. },
  9471. "oriSellFutureQty": {
  9472. "description": "期初卖出期货数量",
  9473. "type": "number"
  9474. },
  9475. "oriSellPlanQty": {
  9476. "description": "期初销售计划数量",
  9477. "type": "number"
  9478. },
  9479. "oriSellPricedQty": {
  9480. "description": "期初销售合同已定价数量",
  9481. "type": "number"
  9482. },
  9483. "oriTotalFutuQty": {
  9484. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9485. "type": "number"
  9486. },
  9487. "oriTotalSpotQty": {
  9488. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9489. "type": "number"
  9490. },
  9491. "sellFutureQty": {
  9492. "description": "卖出期货数量",
  9493. "type": "number"
  9494. },
  9495. "sellPlanQty": {
  9496. "description": "销售计划数量",
  9497. "type": "number"
  9498. },
  9499. "sellPricedQty": {
  9500. "description": "销售合同已定价数量",
  9501. "type": "number"
  9502. },
  9503. "totalExposure": {
  9504. "description": "总敞口",
  9505. "type": "number"
  9506. },
  9507. "totalFutureQty": {
  9508. "description": "期货数量",
  9509. "type": "number"
  9510. },
  9511. "totalHedgeRatio": {
  9512. "description": "敞口比例",
  9513. "type": "number"
  9514. },
  9515. "totalNeedHedgeQty": {
  9516. "description": "期货应套保量",
  9517. "type": "number"
  9518. },
  9519. "totalSpotQty": {
  9520. "description": "现货数量",
  9521. "type": "number"
  9522. }
  9523. }
  9524. },
  9525. "models.ErmcpSpotContractModel": {
  9526. "type": "object",
  9527. "properties": {
  9528. "amount": {
  9529. "description": "金额 [1:一口价、3:暂定价]",
  9530. "type": "number"
  9531. },
  9532. "audittime": {
  9533. "description": "审核时间",
  9534. "type": "string"
  9535. },
  9536. "buyuserid": {
  9537. "description": "采购方ID",
  9538. "type": "integer"
  9539. },
  9540. "buyusername": {
  9541. "description": "采购方名称",
  9542. "type": "string"
  9543. },
  9544. "contracctstatus": {
  9545. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9546. "type": "integer"
  9547. },
  9548. "contractmargin": {
  9549. "description": "合同保证金",
  9550. "type": "number"
  9551. },
  9552. "contractno": {
  9553. "description": "现货合同编号",
  9554. "type": "string"
  9555. },
  9556. "contracttype": {
  9557. "description": "现货合同类型 - 1:采购 -1:销售",
  9558. "type": "integer"
  9559. },
  9560. "convertfactor": {
  9561. "description": "标仓系数",
  9562. "type": "number"
  9563. },
  9564. "deliveryenddate": {
  9565. "description": "交收期(结束)",
  9566. "type": "string"
  9567. },
  9568. "deliverygoodscode": {
  9569. "description": "现货品种代码",
  9570. "type": "string"
  9571. },
  9572. "deliverygoodsid": {
  9573. "description": "现货品种ID",
  9574. "type": "integer"
  9575. },
  9576. "deliverygoodsname": {
  9577. "description": "现货品种名称",
  9578. "type": "string"
  9579. },
  9580. "deliverystartdate": {
  9581. "description": "交收期(开始)",
  9582. "type": "string"
  9583. },
  9584. "enddate": {
  9585. "description": "点价结束日期 [2:点价 3:暂定价]",
  9586. "type": "string"
  9587. },
  9588. "enumdicname": {
  9589. "description": "单位名称",
  9590. "type": "string"
  9591. },
  9592. "goodscode": {
  9593. "description": "点价合约代码",
  9594. "type": "string"
  9595. },
  9596. "goodsid": {
  9597. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9598. "type": "integer"
  9599. },
  9600. "margin": {
  9601. "description": "当前保证金",
  9602. "type": "number"
  9603. },
  9604. "price": {
  9605. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9606. "type": "number"
  9607. },
  9608. "pricemove": {
  9609. "description": "升贴水 [2:点价 3:暂定价]",
  9610. "type": "number"
  9611. },
  9612. "pricetype": {
  9613. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9614. "type": "integer"
  9615. },
  9616. "producttype": {
  9617. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9618. "type": "integer"
  9619. },
  9620. "qty": {
  9621. "description": "数量",
  9622. "type": "number"
  9623. },
  9624. "remark": {
  9625. "description": "备注",
  9626. "type": "string"
  9627. },
  9628. "selluserid": {
  9629. "description": "销售方ID",
  9630. "type": "integer"
  9631. },
  9632. "sellusername": {
  9633. "description": "销售方名称",
  9634. "type": "string"
  9635. },
  9636. "spotcontractid": {
  9637. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9638. "type": "string"
  9639. },
  9640. "spotgoodsbrandid": {
  9641. "description": "现货品牌ID",
  9642. "type": "integer"
  9643. },
  9644. "spotgoodsdesc": {
  9645. "description": "商品型号",
  9646. "type": "string"
  9647. },
  9648. "spotgoodsmodelid": {
  9649. "description": "现货型号ID",
  9650. "type": "integer"
  9651. },
  9652. "startdate": {
  9653. "description": "点价开始日期 [2:点价 3:暂定价]",
  9654. "type": "string"
  9655. },
  9656. "userid": {
  9657. "description": "机构ID",
  9658. "type": "integer"
  9659. }
  9660. }
  9661. },
  9662. "models.ErmcpUserModel": {
  9663. "type": "object",
  9664. "properties": {
  9665. "address": {
  9666. "description": "通讯地址",
  9667. "type": "string"
  9668. },
  9669. "attachment1": {
  9670. "description": "附件1",
  9671. "type": "string"
  9672. },
  9673. "cardfrontphotourl": {
  9674. "description": "证件正面图片地址",
  9675. "type": "string"
  9676. },
  9677. "cardnum": {
  9678. "description": "证件号码",
  9679. "type": "string"
  9680. },
  9681. "cardtype": {
  9682. "description": "证件类型",
  9683. "type": "integer"
  9684. },
  9685. "cardtypename": {
  9686. "description": "证件类型名称",
  9687. "type": "string"
  9688. },
  9689. "cityid": {
  9690. "description": "市",
  9691. "type": "integer"
  9692. },
  9693. "countryid": {
  9694. "description": "国家",
  9695. "type": "integer"
  9696. },
  9697. "customername": {
  9698. "description": "企业名称",
  9699. "type": "string"
  9700. },
  9701. "memberuserid": {
  9702. "description": "所属机构ID",
  9703. "type": "integer"
  9704. },
  9705. "mobile": {
  9706. "description": "手机号码",
  9707. "type": "string"
  9708. },
  9709. "provinceid": {
  9710. "description": "省",
  9711. "type": "integer"
  9712. },
  9713. "remark": {
  9714. "description": "备注",
  9715. "type": "string"
  9716. },
  9717. "status": {
  9718. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9719. "type": "integer"
  9720. },
  9721. "statusdesc": {
  9722. "description": "账户状态中文描述",
  9723. "type": "string"
  9724. },
  9725. "telphone": {
  9726. "description": "联系电话",
  9727. "type": "string"
  9728. },
  9729. "userid": {
  9730. "description": "用户ID",
  9731. "type": "integer"
  9732. },
  9733. "userinfotype": {
  9734. "description": "客户类型",
  9735. "type": "string"
  9736. }
  9737. }
  9738. },
  9739. "models.ErmcpWrstandDetail": {
  9740. "type": "object",
  9741. "properties": {
  9742. "gbList": {
  9743. "description": "品牌列表",
  9744. "type": "array",
  9745. "items": {
  9746. "$ref": "#/definitions/models.GoodsBrand"
  9747. }
  9748. },
  9749. "gtList": {
  9750. "description": "型号列表",
  9751. "type": "array",
  9752. "items": {
  9753. "$ref": "#/definitions/models.GoodsTypeModel"
  9754. }
  9755. },
  9756. "wrd": {
  9757. "description": "基本信息",
  9758. "type": "object",
  9759. "$ref": "#/definitions/models.ErmcpWrstandard"
  9760. },
  9761. "wrsList": {
  9762. "description": "套保信息列表",
  9763. "type": "array",
  9764. "items": {
  9765. "$ref": "#/definitions/models.WRSConverTDetail"
  9766. }
  9767. }
  9768. }
  9769. },
  9770. "models.ErmcpWrstandard": {
  9771. "type": "object",
  9772. "properties": {
  9773. "areauserid": {
  9774. "description": "所属机构",
  9775. "type": "integer"
  9776. },
  9777. "createtime": {
  9778. "description": "创建时间",
  9779. "type": "string"
  9780. },
  9781. "creatorid": {
  9782. "description": "创建人",
  9783. "type": "integer"
  9784. },
  9785. "deliverygoodsid": {
  9786. "description": "品种ID",
  9787. "type": "integer"
  9788. },
  9789. "enumdicname": {
  9790. "description": "单位名称",
  9791. "type": "string"
  9792. },
  9793. "isvalid": {
  9794. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9795. "type": "integer"
  9796. },
  9797. "minivalue": {
  9798. "description": "最小变动值",
  9799. "type": "integer"
  9800. },
  9801. "minivaluedp": {
  9802. "description": "最小变动值小数位",
  9803. "type": "integer"
  9804. },
  9805. "realminivalue": {
  9806. "description": "实际最小变动值",
  9807. "type": "integer"
  9808. },
  9809. "realminivaluedp": {
  9810. "description": "实际最小变动值小数位",
  9811. "type": "integer"
  9812. },
  9813. "remark": {
  9814. "description": "备注",
  9815. "type": "string"
  9816. },
  9817. "unitid": {
  9818. "description": "单位ID",
  9819. "type": "integer"
  9820. },
  9821. "updatetime": {
  9822. "description": "更新时间",
  9823. "type": "string"
  9824. },
  9825. "wrstandardcode": {
  9826. "description": "现货商品代码",
  9827. "type": "string"
  9828. },
  9829. "wrstandardid": {
  9830. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9831. "type": "integer"
  9832. },
  9833. "wrstandardname": {
  9834. "description": "现货商品名称",
  9835. "type": "string"
  9836. }
  9837. }
  9838. },
  9839. "models.Goods": {
  9840. "type": "object",
  9841. "required": [
  9842. "goodscode",
  9843. "goodsid",
  9844. "goodsname",
  9845. "marketid"
  9846. ],
  9847. "properties": {
  9848. "agreeunit": {
  9849. "description": "合约单位",
  9850. "type": "number"
  9851. },
  9852. "auditaccountid": {
  9853. "description": "审核操作员账号",
  9854. "type": "integer"
  9855. },
  9856. "audittime": {
  9857. "description": "审核时间",
  9858. "type": "string"
  9859. },
  9860. "cancelaccountid": {
  9861. "description": "注销操作员账号",
  9862. "type": "integer"
  9863. },
  9864. "canceltime": {
  9865. "description": "注销时间",
  9866. "type": "string"
  9867. },
  9868. "closepricemode": {
  9869. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9870. "type": "integer"
  9871. },
  9872. "closepriceparam": {
  9873. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9874. "type": "number"
  9875. },
  9876. "createtime": {
  9877. "description": "创建时间",
  9878. "type": "string"
  9879. },
  9880. "creatorid": {
  9881. "description": "创建人",
  9882. "type": "integer"
  9883. },
  9884. "currencyid": {
  9885. "description": "报价货币ID",
  9886. "type": "integer"
  9887. },
  9888. "cutmode": {
  9889. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9890. "type": "integer"
  9891. },
  9892. "decimalplace": {
  9893. "description": "报价小数位",
  9894. "type": "integer"
  9895. },
  9896. "delistingdate": {
  9897. "description": "商品退市时间(状态:退市) -- 已作废",
  9898. "type": "string"
  9899. },
  9900. "delistingmode": {
  9901. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9902. "type": "integer"
  9903. },
  9904. "deliveryflag": {
  9905. "description": "交割标志 - 0:不可交割 1:可交割",
  9906. "type": "integer"
  9907. },
  9908. "forceclosemode": {
  9909. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9910. "type": "integer"
  9911. },
  9912. "forceclosevalue": {
  9913. "description": "定期强平参数 [收益权]",
  9914. "type": "integer"
  9915. },
  9916. "goodscode": {
  9917. "description": "商品代码(内部)",
  9918. "type": "string"
  9919. },
  9920. "goodscurrencyid": {
  9921. "description": "合约货币ID",
  9922. "type": "integer"
  9923. },
  9924. "goodsgroupid": {
  9925. "description": "所属商品组ID",
  9926. "type": "integer"
  9927. },
  9928. "goodsid": {
  9929. "description": "商品ID(自增ID SEQ_GOODS)",
  9930. "type": "integer"
  9931. },
  9932. "goodsname": {
  9933. "description": "商品名称",
  9934. "type": "string"
  9935. },
  9936. "goodsquotetype": {
  9937. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9938. "type": "integer"
  9939. },
  9940. "goodsstatus": {
  9941. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9942. "type": "integer"
  9943. },
  9944. "goodstradetype": {
  9945. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9946. "type": "integer"
  9947. },
  9948. "goodunitid": {
  9949. "description": "报价单位ID",
  9950. "type": "integer"
  9951. },
  9952. "hasquoter": {
  9953. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9954. "type": "integer"
  9955. },
  9956. "hqprotecttime": {
  9957. "description": "行情保护时间(秒)",
  9958. "type": "integer"
  9959. },
  9960. "innerdealmode": {
  9961. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9962. "type": "integer"
  9963. },
  9964. "isbuylimited": {
  9965. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9966. "type": "integer"
  9967. },
  9968. "lasttradedate": {
  9969. "description": "最后交易日期(状态:待退市)",
  9970. "type": "string"
  9971. },
  9972. "listingdate": {
  9973. "description": "交易开始日期",
  9974. "type": "string"
  9975. },
  9976. "marketid": {
  9977. "description": "所属市场ID",
  9978. "type": "integer"
  9979. },
  9980. "modifierid": {
  9981. "description": "修改人",
  9982. "type": "integer"
  9983. },
  9984. "modifystatus": {
  9985. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  9986. "type": "integer"
  9987. },
  9988. "modifytime": {
  9989. "description": "修改时间",
  9990. "type": "string"
  9991. },
  9992. "outerdealmode": {
  9993. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  9994. "type": "integer"
  9995. },
  9996. "outgoodscode": {
  9997. "description": "商品代码(外部)",
  9998. "type": "string"
  9999. },
  10000. "qtydecimalplace": {
  10001. "description": "成交量小数位",
  10002. "type": "integer"
  10003. },
  10004. "quotegear": {
  10005. "description": "行情档位(1-10)",
  10006. "type": "integer"
  10007. },
  10008. "quoteminunit": {
  10009. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10010. "type": "integer"
  10011. },
  10012. "quoteshowtype": {
  10013. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  10014. "type": "integer"
  10015. },
  10016. "quoteshowtypeinterval": {
  10017. "description": "行情报价间隔时间(秒)(成交价时为0)",
  10018. "type": "integer"
  10019. },
  10020. "remark": {
  10021. "description": "备注",
  10022. "type": "string"
  10023. }
  10024. }
  10025. },
  10026. "models.GoodsBrand": {
  10027. "type": "object",
  10028. "properties": {
  10029. "brandid": {
  10030. "description": "品牌ID",
  10031. "type": "integer"
  10032. },
  10033. "brandname": {
  10034. "description": "品牌名称",
  10035. "type": "string"
  10036. },
  10037. "isvalid": {
  10038. "description": "是否有效 - 0:无效 1:有效",
  10039. "type": "integer"
  10040. }
  10041. }
  10042. },
  10043. "models.GoodsGroupConvert": {
  10044. "type": "object",
  10045. "properties": {
  10046. "convertratio": {
  10047. "description": "折算系数",
  10048. "type": "number"
  10049. },
  10050. "dstgoodsgroupid": {
  10051. "description": "目标期货品种ID",
  10052. "type": "integer"
  10053. },
  10054. "goodsgroupname": {
  10055. "description": "期货品种名称",
  10056. "type": "string"
  10057. },
  10058. "outergroupcode": {
  10059. "description": "期货品种代码",
  10060. "type": "string"
  10061. },
  10062. "srcgoodsgroupid": {
  10063. "description": "源期货品种ID",
  10064. "type": "integer"
  10065. }
  10066. }
  10067. },
  10068. "models.GoodsIDAndName": {
  10069. "type": "object",
  10070. "required": [
  10071. "goodscode",
  10072. "goodsid",
  10073. "goodsname",
  10074. "marketid"
  10075. ],
  10076. "properties": {
  10077. "goodscode": {
  10078. "description": "商品代码(内部)",
  10079. "type": "string"
  10080. },
  10081. "goodsid": {
  10082. "description": "商品ID(自增ID SEQ_GOODS)",
  10083. "type": "integer"
  10084. },
  10085. "goodsname": {
  10086. "description": "商品名称",
  10087. "type": "string"
  10088. },
  10089. "marketid": {
  10090. "description": "所属市场ID",
  10091. "type": "integer"
  10092. }
  10093. }
  10094. },
  10095. "models.GoodsTypeModel": {
  10096. "type": "object",
  10097. "properties": {
  10098. "modelid": {
  10099. "description": "型号ID",
  10100. "type": "integer"
  10101. },
  10102. "modelname": {
  10103. "description": "型号名称",
  10104. "type": "string"
  10105. },
  10106. "updatetime": {
  10107. "description": "更新时间",
  10108. "type": "string"
  10109. }
  10110. }
  10111. },
  10112. "models.HsbyBuyMyPayOrder": {
  10113. "type": "object",
  10114. "required": [
  10115. "goodscode",
  10116. "goodsname",
  10117. "tradeid",
  10118. "trademode"
  10119. ],
  10120. "properties": {
  10121. "agreeunit": {
  10122. "description": "合约单位",
  10123. "type": "number"
  10124. },
  10125. "buyaccountid": {
  10126. "description": "买方账号ID[报价币种]",
  10127. "type": "integer"
  10128. },
  10129. "buyorderid": {
  10130. "description": "买方委托单号",
  10131. "type": "string"
  10132. },
  10133. "createtime": {
  10134. "description": "创建时间",
  10135. "type": "string"
  10136. },
  10137. "currencysign": {
  10138. "description": "货币符号",
  10139. "type": "string"
  10140. },
  10141. "decimalplace": {
  10142. "description": "报价小数位",
  10143. "type": "integer"
  10144. },
  10145. "goodscode": {
  10146. "description": "商品代码(内部)",
  10147. "type": "string"
  10148. },
  10149. "goodsid": {
  10150. "description": "商品ID",
  10151. "type": "integer"
  10152. },
  10153. "goodsname": {
  10154. "description": "商品名称",
  10155. "type": "string"
  10156. },
  10157. "marketid": {
  10158. "description": "市场ID",
  10159. "type": "integer"
  10160. },
  10161. "offamount": {
  10162. "description": "优惠金额",
  10163. "type": "number"
  10164. },
  10165. "payamount": {
  10166. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  10167. "type": "number"
  10168. },
  10169. "payflag": {
  10170. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10171. "type": "integer"
  10172. },
  10173. "paylimitedtime": {
  10174. "description": "支付期限",
  10175. "type": "string"
  10176. },
  10177. "paytime": {
  10178. "description": "付款时间",
  10179. "type": "string"
  10180. },
  10181. "picurls1": {
  10182. "description": "预售商品介绍图片[多张用逗号分隔]",
  10183. "type": "string"
  10184. },
  10185. "picurls2": {
  10186. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10187. "type": "string"
  10188. },
  10189. "sellaccountid": {
  10190. "description": "卖方账号ID[报价币种]",
  10191. "type": "integer"
  10192. },
  10193. "sellorderid": {
  10194. "description": "卖方委托单号",
  10195. "type": "string"
  10196. },
  10197. "tradeamount": {
  10198. "description": "成交金额",
  10199. "type": "number"
  10200. },
  10201. "tradecharge": {
  10202. "description": "成交手续费(买方)",
  10203. "type": "number"
  10204. },
  10205. "tradedate": {
  10206. "description": "交易日(yyyyMMdd)",
  10207. "type": "string"
  10208. },
  10209. "tradeid": {
  10210. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10211. "type": "string"
  10212. },
  10213. "trademode": {
  10214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10215. "type": "integer"
  10216. },
  10217. "tradeprice": {
  10218. "description": "成交价格",
  10219. "type": "number"
  10220. },
  10221. "tradeqty": {
  10222. "description": "成交数量",
  10223. "type": "integer"
  10224. },
  10225. "vendorname1": {
  10226. "description": "预售商品供应商名称",
  10227. "type": "string"
  10228. },
  10229. "vendorname2": {
  10230. "description": "挂牌商品供应商名称",
  10231. "type": "string"
  10232. }
  10233. }
  10234. },
  10235. "models.HsbyBuyMyTradeDetail": {
  10236. "type": "object",
  10237. "required": [
  10238. "accountid",
  10239. "buyorsell",
  10240. "goodscode",
  10241. "goodsid",
  10242. "goodsname",
  10243. "marketid",
  10244. "orderid",
  10245. "qty",
  10246. "time",
  10247. "trademode"
  10248. ],
  10249. "properties": {
  10250. "accountid": {
  10251. "description": "账户ID[报价币种]",
  10252. "type": "integer"
  10253. },
  10254. "agreeunit": {
  10255. "description": "合约单位",
  10256. "type": "number"
  10257. },
  10258. "amount": {
  10259. "description": "金额 = 价格 * 数量 * 合约单位",
  10260. "type": "number"
  10261. },
  10262. "buyorsell": {
  10263. "description": "买卖 - 0:买 1:卖",
  10264. "type": "integer"
  10265. },
  10266. "currencysign": {
  10267. "description": "货币符号",
  10268. "type": "string"
  10269. },
  10270. "decimalplace": {
  10271. "description": "报价小数位",
  10272. "type": "integer"
  10273. },
  10274. "goodscode": {
  10275. "description": "商品代码(内部)",
  10276. "type": "string"
  10277. },
  10278. "goodsid": {
  10279. "description": "商品ID",
  10280. "type": "integer"
  10281. },
  10282. "goodsname": {
  10283. "description": "商品名称",
  10284. "type": "string"
  10285. },
  10286. "marketid": {
  10287. "description": "市场ID",
  10288. "type": "integer"
  10289. },
  10290. "orderid": {
  10291. "description": "单号(成交单号)",
  10292. "type": "string"
  10293. },
  10294. "picurls1": {
  10295. "description": "预售商品介绍图片[多张用逗号分隔]",
  10296. "type": "string"
  10297. },
  10298. "picurls2": {
  10299. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10300. "type": "string"
  10301. },
  10302. "price": {
  10303. "description": "价格",
  10304. "type": "number"
  10305. },
  10306. "qty": {
  10307. "description": "数量",
  10308. "type": "integer"
  10309. },
  10310. "time": {
  10311. "description": "时间",
  10312. "type": "string"
  10313. },
  10314. "trademode": {
  10315. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10316. "type": "integer"
  10317. },
  10318. "vendorname1": {
  10319. "description": "预售商品供应商名称",
  10320. "type": "string"
  10321. },
  10322. "vendorname2": {
  10323. "description": "挂牌商品供应商名称",
  10324. "type": "string"
  10325. }
  10326. }
  10327. },
  10328. "models.HsbyGoodsOrderDetail": {
  10329. "type": "object",
  10330. "required": [
  10331. "buyorsell",
  10332. "orderid",
  10333. "ordertime"
  10334. ],
  10335. "properties": {
  10336. "buyorsell": {
  10337. "description": "买卖 - 0:买 1:卖",
  10338. "type": "integer"
  10339. },
  10340. "currencysign": {
  10341. "description": "货币符号",
  10342. "type": "string"
  10343. },
  10344. "customername": {
  10345. "description": "客户名称(企业名称),已脱敏",
  10346. "type": "string"
  10347. },
  10348. "enableqty": {
  10349. "description": "可用数量",
  10350. "type": "integer"
  10351. },
  10352. "goodunit": {
  10353. "description": "报价单位",
  10354. "type": "string"
  10355. },
  10356. "orderid": {
  10357. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10358. "type": "string"
  10359. },
  10360. "orderprice": {
  10361. "description": "委托价格",
  10362. "type": "number"
  10363. },
  10364. "ordertime": {
  10365. "description": "委托时间",
  10366. "type": "string"
  10367. }
  10368. }
  10369. },
  10370. "models.HsbyListingGoodsDetail": {
  10371. "type": "object",
  10372. "required": [
  10373. "goodscode",
  10374. "goodsid",
  10375. "goodsname",
  10376. "marketid",
  10377. "trademode"
  10378. ],
  10379. "properties": {
  10380. "agreeunit": {
  10381. "description": "合约单位",
  10382. "type": "number"
  10383. },
  10384. "buymaxqty": {
  10385. "description": "购买上限 [71] - 0为不限",
  10386. "type": "integer"
  10387. },
  10388. "currency": {
  10389. "description": "货币",
  10390. "type": "string"
  10391. },
  10392. "currencysign": {
  10393. "description": "货币符号",
  10394. "type": "string"
  10395. },
  10396. "decimalplace": {
  10397. "description": "报价小数位",
  10398. "type": "integer"
  10399. },
  10400. "desccityid": {
  10401. "description": "目的地(市)ID",
  10402. "type": "integer"
  10403. },
  10404. "descprovinceid": {
  10405. "description": "目的地(省)ID",
  10406. "type": "integer"
  10407. },
  10408. "goodscode": {
  10409. "description": "商品代码(内部)",
  10410. "type": "string"
  10411. },
  10412. "goodsdesc": {
  10413. "description": "商品详情",
  10414. "type": "string"
  10415. },
  10416. "goodsid": {
  10417. "description": "商品ID(自增ID SEQ_GOODS)",
  10418. "type": "integer"
  10419. },
  10420. "goodsname": {
  10421. "description": "商品名称",
  10422. "type": "string"
  10423. },
  10424. "goodsprice": {
  10425. "description": "商品价格",
  10426. "type": "number"
  10427. },
  10428. "hotindex": {
  10429. "description": "景点热度",
  10430. "type": "integer"
  10431. },
  10432. "last": {
  10433. "description": "现价",
  10434. "type": "number"
  10435. },
  10436. "limitdown": {
  10437. "description": "跌停价",
  10438. "type": "number"
  10439. },
  10440. "limitup": {
  10441. "description": "涨停价",
  10442. "type": "number"
  10443. },
  10444. "lotsize": {
  10445. "description": "手数最小变动单位",
  10446. "type": "integer"
  10447. },
  10448. "marketid": {
  10449. "description": "所属市场ID",
  10450. "type": "integer"
  10451. },
  10452. "picurls": {
  10453. "description": "介绍图片[多张用逗号分隔]",
  10454. "type": "string"
  10455. },
  10456. "quoteminunit": {
  10457. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10458. "type": "integer"
  10459. },
  10460. "stepvalue": {
  10461. "description": "价格最小变动单位",
  10462. "type": "number"
  10463. },
  10464. "trademode": {
  10465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10466. "type": "integer"
  10467. },
  10468. "vendorattr": {
  10469. "description": "供应商附件(多张,逗号分隔)",
  10470. "type": "string"
  10471. },
  10472. "vendorname": {
  10473. "description": "供应商名称",
  10474. "type": "string"
  10475. },
  10476. "vendorphone": {
  10477. "description": "供应商客服电话",
  10478. "type": "string"
  10479. },
  10480. "videourls": {
  10481. "description": "介绍视频[多张用逗号分隔]",
  10482. "type": "string"
  10483. }
  10484. }
  10485. },
  10486. "models.HsbyMarketGoods": {
  10487. "type": "object",
  10488. "required": [
  10489. "accountid",
  10490. "buyorsell",
  10491. "goodscode",
  10492. "goodsid",
  10493. "goodsname",
  10494. "marketid",
  10495. "orderid",
  10496. "trademode"
  10497. ],
  10498. "properties": {
  10499. "accountid": {
  10500. "description": "账户ID[报价币种]",
  10501. "type": "integer"
  10502. },
  10503. "agreeunit": {
  10504. "description": "合约单位",
  10505. "type": "number"
  10506. },
  10507. "buyorsell": {
  10508. "description": "买卖 - 0:买 1:卖",
  10509. "type": "integer"
  10510. },
  10511. "categoryid": {
  10512. "description": "类别ID(WRCATEGORY)",
  10513. "type": "integer"
  10514. },
  10515. "currency": {
  10516. "description": "货币",
  10517. "type": "string"
  10518. },
  10519. "currencysign": {
  10520. "description": "货币符号",
  10521. "type": "string"
  10522. },
  10523. "customername": {
  10524. "description": "卖家名称",
  10525. "type": "string"
  10526. },
  10527. "decimalplace": {
  10528. "description": "报价小数位",
  10529. "type": "integer"
  10530. },
  10531. "goodscode": {
  10532. "description": "商品代码(内部)",
  10533. "type": "string"
  10534. },
  10535. "goodsid": {
  10536. "description": "商品ID",
  10537. "type": "integer"
  10538. },
  10539. "goodsname": {
  10540. "description": "商品名称",
  10541. "type": "string"
  10542. },
  10543. "goodsprice": {
  10544. "description": "商品价格",
  10545. "type": "number"
  10546. },
  10547. "hascoupon": {
  10548. "description": "是否可用优惠卷",
  10549. "type": "boolean"
  10550. },
  10551. "hotindex": {
  10552. "description": "景点热度",
  10553. "type": "integer"
  10554. },
  10555. "marketid": {
  10556. "description": "市场ID",
  10557. "type": "integer"
  10558. },
  10559. "orderid": {
  10560. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10561. "type": "string"
  10562. },
  10563. "orderprice": {
  10564. "description": "委托价格",
  10565. "type": "number"
  10566. },
  10567. "orderstatus": {
  10568. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10569. "type": "integer"
  10570. },
  10571. "picurls": {
  10572. "description": "介绍图片[多张用逗号分隔]",
  10573. "type": "string"
  10574. },
  10575. "quoteminunit": {
  10576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10577. "type": "integer"
  10578. },
  10579. "sellUserID": {
  10580. "description": "卖方UserID",
  10581. "type": "integer"
  10582. },
  10583. "trademode": {
  10584. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10585. "type": "integer"
  10586. },
  10587. "videourls": {
  10588. "description": "介绍视频[多张用逗号分隔]",
  10589. "type": "string"
  10590. }
  10591. }
  10592. },
  10593. "models.HsbyMarketGoodsDetail": {
  10594. "type": "object",
  10595. "required": [
  10596. "accountid",
  10597. "buyorsell",
  10598. "goodscode",
  10599. "goodsid",
  10600. "goodsname",
  10601. "marketid",
  10602. "orderid",
  10603. "orderqty",
  10604. "trademode"
  10605. ],
  10606. "properties": {
  10607. "accountid": {
  10608. "description": "账户ID[报价币种]",
  10609. "type": "integer"
  10610. },
  10611. "agreeunit": {
  10612. "description": "合约单位",
  10613. "type": "number"
  10614. },
  10615. "buymaxqty": {
  10616. "description": "购买上限 [71] - 0为不限",
  10617. "type": "integer"
  10618. },
  10619. "buyorsell": {
  10620. "description": "买卖 - 0:买 1:卖",
  10621. "type": "integer"
  10622. },
  10623. "cancelqty": {
  10624. "description": "撤单数量",
  10625. "type": "integer"
  10626. },
  10627. "categoryid": {
  10628. "description": "类别ID(WRCATEGORY)",
  10629. "type": "integer"
  10630. },
  10631. "currency": {
  10632. "description": "货币",
  10633. "type": "string"
  10634. },
  10635. "currencysign": {
  10636. "description": "货币符号",
  10637. "type": "string"
  10638. },
  10639. "customername": {
  10640. "description": "卖家名称",
  10641. "type": "string"
  10642. },
  10643. "decimalplace": {
  10644. "description": "报价小数位",
  10645. "type": "integer"
  10646. },
  10647. "goodscode": {
  10648. "description": "商品代码(内部)",
  10649. "type": "string"
  10650. },
  10651. "goodsdesc": {
  10652. "description": "商品详情",
  10653. "type": "string"
  10654. },
  10655. "goodsid": {
  10656. "description": "商品ID",
  10657. "type": "integer"
  10658. },
  10659. "goodsname": {
  10660. "description": "商品名称",
  10661. "type": "string"
  10662. },
  10663. "goodsprice": {
  10664. "description": "商品价格",
  10665. "type": "number"
  10666. },
  10667. "hotindex": {
  10668. "description": "景点热度",
  10669. "type": "integer"
  10670. },
  10671. "lotsize": {
  10672. "description": "手数最小变动单位",
  10673. "type": "integer"
  10674. },
  10675. "marketid": {
  10676. "description": "市场ID",
  10677. "type": "integer"
  10678. },
  10679. "orderid": {
  10680. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10681. "type": "string"
  10682. },
  10683. "orderprice": {
  10684. "description": "委托价格",
  10685. "type": "number"
  10686. },
  10687. "orderqty": {
  10688. "description": "委托数量",
  10689. "type": "integer"
  10690. },
  10691. "orderstatus": {
  10692. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10693. "type": "integer"
  10694. },
  10695. "picurls": {
  10696. "description": "介绍图片[多张用逗号分隔]",
  10697. "type": "string"
  10698. },
  10699. "quoteminunit": {
  10700. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10701. "type": "integer"
  10702. },
  10703. "sellUserID": {
  10704. "description": "卖方UserID",
  10705. "type": "integer"
  10706. },
  10707. "trademode": {
  10708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10709. "type": "integer"
  10710. },
  10711. "tradeqty": {
  10712. "description": "成交数量",
  10713. "type": "integer"
  10714. },
  10715. "vendorattr": {
  10716. "description": "供应商附件(多张,逗号分隔)",
  10717. "type": "string"
  10718. },
  10719. "vendorname": {
  10720. "description": "供应商名称",
  10721. "type": "string"
  10722. },
  10723. "vendorphone": {
  10724. "description": "供应商客服电话",
  10725. "type": "string"
  10726. },
  10727. "videourls": {
  10728. "description": "介绍视频[多张用逗号分隔]",
  10729. "type": "string"
  10730. }
  10731. }
  10732. },
  10733. "models.HsbyMarketInfo": {
  10734. "type": "object",
  10735. "required": [
  10736. "marketid",
  10737. "marketstatus",
  10738. "trademode"
  10739. ],
  10740. "properties": {
  10741. "marketid": {
  10742. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10743. "type": "integer"
  10744. },
  10745. "marketname": {
  10746. "description": "市场名称",
  10747. "type": "string"
  10748. },
  10749. "marketstatus": {
  10750. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10751. "type": "integer"
  10752. },
  10753. "trademode": {
  10754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10755. "type": "integer"
  10756. }
  10757. }
  10758. },
  10759. "models.HsbyMyGoods": {
  10760. "type": "object",
  10761. "required": [
  10762. "accountid",
  10763. "goodscode",
  10764. "goodsid",
  10765. "goodsname",
  10766. "marketid",
  10767. "trademode"
  10768. ],
  10769. "properties": {
  10770. "accountid": {
  10771. "description": "账号Id",
  10772. "type": "integer"
  10773. },
  10774. "agreeunit": {
  10775. "description": "合约单位",
  10776. "type": "number"
  10777. },
  10778. "buyaverageprice": {
  10779. "description": "持仓均价",
  10780. "type": "number"
  10781. },
  10782. "buycurholderamount": {
  10783. "description": "买当前持仓总金额[商品币种]",
  10784. "type": "number"
  10785. },
  10786. "buycurpositionqty": {
  10787. "description": "买当前持仓总数量",
  10788. "type": "integer"
  10789. },
  10790. "buymaxqty": {
  10791. "description": "购买上限 [71] - 0为不限",
  10792. "type": "integer"
  10793. },
  10794. "currencysign": {
  10795. "description": "货币符号",
  10796. "type": "string"
  10797. },
  10798. "decimalplace": {
  10799. "description": "报价小数位",
  10800. "type": "integer"
  10801. },
  10802. "enableqty": {
  10803. "description": "可用数量",
  10804. "type": "integer"
  10805. },
  10806. "goodscode": {
  10807. "description": "商品代码(内部)",
  10808. "type": "string"
  10809. },
  10810. "goodsid": {
  10811. "description": "商品Id",
  10812. "type": "integer"
  10813. },
  10814. "goodsname": {
  10815. "description": "商品名称",
  10816. "type": "string"
  10817. },
  10818. "goodsprice": {
  10819. "description": "商品价格",
  10820. "type": "number"
  10821. },
  10822. "goodsstatus": {
  10823. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10824. "type": "integer"
  10825. },
  10826. "last": {
  10827. "description": "现价(仅使用于挂牌点选)",
  10828. "type": "number"
  10829. },
  10830. "limitdown": {
  10831. "description": "跌停价(仅使用于挂牌点选)",
  10832. "type": "number"
  10833. },
  10834. "limitup": {
  10835. "description": "涨停价(仅使用于挂牌点选)",
  10836. "type": "number"
  10837. },
  10838. "lotsize": {
  10839. "description": "手数最小变动单位",
  10840. "type": "integer"
  10841. },
  10842. "marketid": {
  10843. "description": "所属市场ID",
  10844. "type": "integer"
  10845. },
  10846. "picurls": {
  10847. "description": "介绍图片[多张用逗号分隔]",
  10848. "type": "string"
  10849. },
  10850. "quoteminunit": {
  10851. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10852. "type": "integer"
  10853. },
  10854. "stepvalue": {
  10855. "description": "价格最小变动单位",
  10856. "type": "number"
  10857. },
  10858. "trademode": {
  10859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10860. "type": "integer"
  10861. }
  10862. }
  10863. },
  10864. "models.HsbyMyPackage": {
  10865. "type": "object",
  10866. "required": [
  10867. "goodscode",
  10868. "goodsname",
  10869. "takeorderid",
  10870. "trademode"
  10871. ],
  10872. "properties": {
  10873. "accountid": {
  10874. "description": "账户ID",
  10875. "type": "integer"
  10876. },
  10877. "address": {
  10878. "description": "提货人详细地址",
  10879. "type": "string"
  10880. },
  10881. "agreeunit": {
  10882. "description": "合约单位",
  10883. "type": "number"
  10884. },
  10885. "amount": {
  10886. "description": "提货金额",
  10887. "type": "number"
  10888. },
  10889. "auditer": {
  10890. "description": "审核人",
  10891. "type": "integer"
  10892. },
  10893. "audittime": {
  10894. "description": "审核时间",
  10895. "type": "string"
  10896. },
  10897. "averageprice": {
  10898. "description": "均价",
  10899. "type": "number"
  10900. },
  10901. "cardnum": {
  10902. "description": "提货人证件号码",
  10903. "type": "string"
  10904. },
  10905. "cardtypeid": {
  10906. "description": "提货人证件类型",
  10907. "type": "integer"
  10908. },
  10909. "checkremark": {
  10910. "description": "审核备注",
  10911. "type": "string"
  10912. },
  10913. "currencysign": {
  10914. "description": "货币符号",
  10915. "type": "string"
  10916. },
  10917. "decimalplace": {
  10918. "description": "报价小数位",
  10919. "type": "integer"
  10920. },
  10921. "goodscode": {
  10922. "description": "商品代码(内部)",
  10923. "type": "string"
  10924. },
  10925. "goodsid": {
  10926. "description": "商品ID",
  10927. "type": "integer"
  10928. },
  10929. "goodsname": {
  10930. "description": "商品名称",
  10931. "type": "string"
  10932. },
  10933. "handlestatus": {
  10934. "description": "处理状态",
  10935. "type": "integer"
  10936. },
  10937. "marketid": {
  10938. "description": "市场ID",
  10939. "type": "integer"
  10940. },
  10941. "phonenum": {
  10942. "description": "提货人联系方式",
  10943. "type": "string"
  10944. },
  10945. "picurls": {
  10946. "description": "介绍图片[多张用逗号分隔]",
  10947. "type": "string"
  10948. },
  10949. "qty": {
  10950. "description": "提货数量",
  10951. "type": "number"
  10952. },
  10953. "recivername": {
  10954. "description": "提货人姓名",
  10955. "type": "string"
  10956. },
  10957. "reqtime": {
  10958. "description": "更新时间",
  10959. "type": "string"
  10960. },
  10961. "takemode": {
  10962. "description": "提货方式 - 2:自提 3:配送",
  10963. "type": "integer"
  10964. },
  10965. "takeorderid": {
  10966. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10967. "type": "string"
  10968. },
  10969. "takeorderstatus": {
  10970. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10971. "type": "integer"
  10972. },
  10973. "takeremark": {
  10974. "description": "提货备注",
  10975. "type": "string"
  10976. },
  10977. "tradedate": {
  10978. "description": "交易日(yyyyMMdd)",
  10979. "type": "string"
  10980. },
  10981. "trademode": {
  10982. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10983. "type": "integer"
  10984. },
  10985. "userid": {
  10986. "description": "用户ID",
  10987. "type": "integer"
  10988. },
  10989. "vendorname": {
  10990. "description": "供应商名称",
  10991. "type": "string"
  10992. }
  10993. }
  10994. },
  10995. "models.HsbyPreGoods": {
  10996. "type": "object",
  10997. "required": [
  10998. "goodscode",
  10999. "goodsid",
  11000. "goodsname",
  11001. "marketid",
  11002. "trademode"
  11003. ],
  11004. "properties": {
  11005. "agreeunit": {
  11006. "description": "合约单位",
  11007. "type": "number"
  11008. },
  11009. "currency": {
  11010. "description": "货币",
  11011. "type": "string"
  11012. },
  11013. "currencysign": {
  11014. "description": "货币符号",
  11015. "type": "string"
  11016. },
  11017. "decimalplace": {
  11018. "description": "报价小数位",
  11019. "type": "integer"
  11020. },
  11021. "enableqty": {
  11022. "description": "剩余数量",
  11023. "type": "integer"
  11024. },
  11025. "goodscode": {
  11026. "description": "商品代码(内部)",
  11027. "type": "string"
  11028. },
  11029. "goodsid": {
  11030. "description": "商品ID(自增ID SEQ_GOODS)",
  11031. "type": "integer"
  11032. },
  11033. "goodsname": {
  11034. "description": "商品名称",
  11035. "type": "string"
  11036. },
  11037. "goodsstatus": {
  11038. "description": "商品状态- 2:未上市 3:上市",
  11039. "type": "integer"
  11040. },
  11041. "lasttradedate": {
  11042. "description": "最后交易日期(状态:待退市)",
  11043. "type": "string"
  11044. },
  11045. "listingdate": {
  11046. "description": "交易开始日期",
  11047. "type": "string"
  11048. },
  11049. "marketid": {
  11050. "description": "所属市场ID",
  11051. "type": "integer"
  11052. },
  11053. "picurls": {
  11054. "description": "介绍图片[多张用逗号分隔]",
  11055. "type": "string"
  11056. },
  11057. "presaledqty": {
  11058. "description": "已预售量(预售结束时更新)",
  11059. "type": "integer"
  11060. },
  11061. "presaleqty": {
  11062. "description": "预售数量",
  11063. "type": "integer"
  11064. },
  11065. "quoteminunit": {
  11066. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11067. "type": "integer"
  11068. },
  11069. "refprice": {
  11070. "description": "参考价格[一口价]",
  11071. "type": "number"
  11072. },
  11073. "relatedgoodsid": {
  11074. "description": "关联交易合约ID",
  11075. "type": "integer"
  11076. },
  11077. "trademode": {
  11078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11079. "type": "integer"
  11080. },
  11081. "videourls": {
  11082. "description": "介绍视频[多张用逗号分隔]",
  11083. "type": "string"
  11084. }
  11085. }
  11086. },
  11087. "models.HsbyPreGoodsDetail": {
  11088. "type": "object",
  11089. "required": [
  11090. "goodscode",
  11091. "goodsid",
  11092. "goodsname",
  11093. "marketid",
  11094. "trademode"
  11095. ],
  11096. "properties": {
  11097. "agreeunit": {
  11098. "description": "合约单位",
  11099. "type": "number"
  11100. },
  11101. "buymaxqty": {
  11102. "description": "购买上限 [71] - 0为不限",
  11103. "type": "integer"
  11104. },
  11105. "currency": {
  11106. "description": "货币",
  11107. "type": "string"
  11108. },
  11109. "currencysign": {
  11110. "description": "货币符号",
  11111. "type": "string"
  11112. },
  11113. "customername": {
  11114. "description": "发行单位",
  11115. "type": "string"
  11116. },
  11117. "decimalplace": {
  11118. "description": "报价小数位",
  11119. "type": "integer"
  11120. },
  11121. "desccityid": {
  11122. "description": "目的地(市)ID",
  11123. "type": "integer"
  11124. },
  11125. "descprovinceid": {
  11126. "description": "目的地(省)ID",
  11127. "type": "integer"
  11128. },
  11129. "enableqty": {
  11130. "description": "剩余数量",
  11131. "type": "integer"
  11132. },
  11133. "goodscode": {
  11134. "description": "商品代码(内部)",
  11135. "type": "string"
  11136. },
  11137. "goodsdesc": {
  11138. "description": "商品详情",
  11139. "type": "string"
  11140. },
  11141. "goodsid": {
  11142. "description": "商品ID(自增ID SEQ_GOODS)",
  11143. "type": "integer"
  11144. },
  11145. "goodsname": {
  11146. "description": "商品名称",
  11147. "type": "string"
  11148. },
  11149. "goodsstatus": {
  11150. "description": "商品状态- 2:未上市 3:上市",
  11151. "type": "integer"
  11152. },
  11153. "goodunit": {
  11154. "description": "报价单位",
  11155. "type": "string"
  11156. },
  11157. "lasttradedate": {
  11158. "description": "最后交易日期(状态:待退市)",
  11159. "type": "string"
  11160. },
  11161. "listingdate": {
  11162. "description": "交易开始日期",
  11163. "type": "string"
  11164. },
  11165. "lotsize": {
  11166. "description": "手数最小变动单位",
  11167. "type": "integer"
  11168. },
  11169. "marketid": {
  11170. "description": "所属市场ID",
  11171. "type": "integer"
  11172. },
  11173. "picurls": {
  11174. "description": "介绍图片[多张用逗号分隔]",
  11175. "type": "string"
  11176. },
  11177. "presaledqty": {
  11178. "description": "已预售量(预售结束时更新)",
  11179. "type": "integer"
  11180. },
  11181. "presaleqty": {
  11182. "description": "预售数量",
  11183. "type": "integer"
  11184. },
  11185. "quoteminunit": {
  11186. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11187. "type": "integer"
  11188. },
  11189. "refprice": {
  11190. "description": "参考价格[一口价]",
  11191. "type": "number"
  11192. },
  11193. "relatedgoodsid": {
  11194. "description": "关联交易合约ID",
  11195. "type": "integer"
  11196. },
  11197. "stepvalue": {
  11198. "description": "价格最小变动单位",
  11199. "type": "number"
  11200. },
  11201. "trademode": {
  11202. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11203. "type": "integer"
  11204. },
  11205. "vendorattr": {
  11206. "description": "供应商附件(多张,逗号分隔)",
  11207. "type": "string"
  11208. },
  11209. "vendorname": {
  11210. "description": "供应商名称",
  11211. "type": "string"
  11212. },
  11213. "vendorphone": {
  11214. "description": "供应商客服电话",
  11215. "type": "string"
  11216. },
  11217. "videourls": {
  11218. "description": "介绍视频[多张用逗号分隔]",
  11219. "type": "string"
  11220. }
  11221. }
  11222. },
  11223. "models.HsbySellCollectionOrder": {
  11224. "type": "object",
  11225. "required": [
  11226. "goodscode",
  11227. "goodsname",
  11228. "tradeid",
  11229. "trademode"
  11230. ],
  11231. "properties": {
  11232. "agreeunit": {
  11233. "description": "合约单位",
  11234. "type": "number"
  11235. },
  11236. "buyaccountid": {
  11237. "description": "买方账号ID[报价币种]",
  11238. "type": "integer"
  11239. },
  11240. "buyorderid": {
  11241. "description": "买方委托单号",
  11242. "type": "string"
  11243. },
  11244. "createtime": {
  11245. "description": "创建时间",
  11246. "type": "string"
  11247. },
  11248. "currencysign": {
  11249. "description": "货币符号",
  11250. "type": "string"
  11251. },
  11252. "decimalplace": {
  11253. "description": "报价小数位",
  11254. "type": "integer"
  11255. },
  11256. "goodscode": {
  11257. "description": "商品代码(内部)",
  11258. "type": "string"
  11259. },
  11260. "goodsid": {
  11261. "description": "商品ID",
  11262. "type": "integer"
  11263. },
  11264. "goodsname": {
  11265. "description": "商品名称",
  11266. "type": "string"
  11267. },
  11268. "marketid": {
  11269. "description": "市场ID",
  11270. "type": "integer"
  11271. },
  11272. "offamount": {
  11273. "description": "优惠金额",
  11274. "type": "number"
  11275. },
  11276. "payamount": {
  11277. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11278. "type": "number"
  11279. },
  11280. "payflag": {
  11281. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11282. "type": "integer"
  11283. },
  11284. "paylimitedtime": {
  11285. "description": "支付期限",
  11286. "type": "string"
  11287. },
  11288. "paytime": {
  11289. "description": "付款时间",
  11290. "type": "string"
  11291. },
  11292. "picurls": {
  11293. "description": "商品介绍图片[多张用逗号分隔]",
  11294. "type": "string"
  11295. },
  11296. "sellaccountid": {
  11297. "description": "卖方账号ID[报价币种]",
  11298. "type": "integer"
  11299. },
  11300. "sellorderid": {
  11301. "description": "卖方委托单号",
  11302. "type": "string"
  11303. },
  11304. "tradeamount": {
  11305. "description": "成交金额",
  11306. "type": "number"
  11307. },
  11308. "tradecharge": {
  11309. "description": "成交手续费(买方)",
  11310. "type": "number"
  11311. },
  11312. "tradedate": {
  11313. "description": "交易日(yyyyMMdd)",
  11314. "type": "string"
  11315. },
  11316. "tradeid": {
  11317. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11318. "type": "string"
  11319. },
  11320. "trademode": {
  11321. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11322. "type": "integer"
  11323. },
  11324. "tradeprice": {
  11325. "description": "成交价格",
  11326. "type": "number"
  11327. },
  11328. "tradeqty": {
  11329. "description": "成交数量",
  11330. "type": "integer"
  11331. }
  11332. }
  11333. },
  11334. "models.HsbySellMyDetail": {
  11335. "type": "object",
  11336. "required": [
  11337. "accountid",
  11338. "buyorsell",
  11339. "goodscode",
  11340. "goodsid",
  11341. "goodsname",
  11342. "marketid",
  11343. "orderid",
  11344. "time",
  11345. "trademode"
  11346. ],
  11347. "properties": {
  11348. "accountid": {
  11349. "description": "账户ID[报价币种]",
  11350. "type": "integer"
  11351. },
  11352. "agreeunit": {
  11353. "description": "合约单位",
  11354. "type": "number"
  11355. },
  11356. "buyorsell": {
  11357. "description": "买卖 - 0:买 1:卖",
  11358. "type": "integer"
  11359. },
  11360. "currencysign": {
  11361. "description": "货币符号",
  11362. "type": "string"
  11363. },
  11364. "decimalplace": {
  11365. "description": "报价小数位",
  11366. "type": "integer"
  11367. },
  11368. "goodscode": {
  11369. "description": "商品代码(内部)",
  11370. "type": "string"
  11371. },
  11372. "goodsid": {
  11373. "description": "商品ID",
  11374. "type": "integer"
  11375. },
  11376. "goodsname": {
  11377. "description": "商品名称",
  11378. "type": "string"
  11379. },
  11380. "marketid": {
  11381. "description": "市场ID",
  11382. "type": "integer"
  11383. },
  11384. "orderid": {
  11385. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11386. "type": "string"
  11387. },
  11388. "ordertype": {
  11389. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11390. "type": "integer"
  11391. },
  11392. "picurls": {
  11393. "description": "介绍图片[多张用逗号分隔]",
  11394. "type": "string"
  11395. },
  11396. "price": {
  11397. "description": "价格",
  11398. "type": "number"
  11399. },
  11400. "qty": {
  11401. "description": "数量",
  11402. "type": "integer"
  11403. },
  11404. "time": {
  11405. "description": "时间",
  11406. "type": "string"
  11407. },
  11408. "trademode": {
  11409. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11410. "type": "integer"
  11411. },
  11412. "vendorname": {
  11413. "description": "供应商名称",
  11414. "type": "string"
  11415. }
  11416. }
  11417. },
  11418. "models.HsbyTopGoods": {
  11419. "type": "object",
  11420. "required": [
  11421. "goodscode",
  11422. "goodsid",
  11423. "goodsname",
  11424. "marketid",
  11425. "trademode"
  11426. ],
  11427. "properties": {
  11428. "agreeunit": {
  11429. "description": "合约单位",
  11430. "type": "number"
  11431. },
  11432. "currency": {
  11433. "description": "货币",
  11434. "type": "string"
  11435. },
  11436. "currencysign": {
  11437. "description": "货币符号",
  11438. "type": "string"
  11439. },
  11440. "decimalplace": {
  11441. "description": "报价小数位",
  11442. "type": "integer"
  11443. },
  11444. "goodscode": {
  11445. "description": "商品代码(内部)",
  11446. "type": "string"
  11447. },
  11448. "goodsid": {
  11449. "description": "商品ID(自增ID SEQ_GOODS)",
  11450. "type": "integer"
  11451. },
  11452. "goodsname": {
  11453. "description": "商品名称",
  11454. "type": "string"
  11455. },
  11456. "hotindex": {
  11457. "description": "景点热度",
  11458. "type": "integer"
  11459. },
  11460. "last": {
  11461. "description": "现价",
  11462. "type": "number"
  11463. },
  11464. "marketid": {
  11465. "description": "所属市场ID",
  11466. "type": "integer"
  11467. },
  11468. "picurls": {
  11469. "description": "介绍图片[多张用逗号分隔]",
  11470. "type": "string"
  11471. },
  11472. "quoteminunit": {
  11473. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11474. "type": "integer"
  11475. },
  11476. "trademode": {
  11477. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11478. "type": "integer"
  11479. },
  11480. "videourls": {
  11481. "description": "介绍视频[多张用逗号分隔]",
  11482. "type": "string"
  11483. }
  11484. }
  11485. },
  11486. "models.HybsMyBuyOrderDetail": {
  11487. "type": "object",
  11488. "required": [
  11489. "accountid",
  11490. "buyorsell",
  11491. "goodscode",
  11492. "goodsid",
  11493. "goodsname",
  11494. "marketid",
  11495. "orderid",
  11496. "orderqty",
  11497. "ordertime",
  11498. "trademode"
  11499. ],
  11500. "properties": {
  11501. "accountid": {
  11502. "description": "账户ID[报价币种]",
  11503. "type": "integer"
  11504. },
  11505. "agreeunit": {
  11506. "description": "合约单位",
  11507. "type": "number"
  11508. },
  11509. "buyorsell": {
  11510. "description": "买卖 - 0:买 1:卖",
  11511. "type": "integer"
  11512. },
  11513. "cancelqty": {
  11514. "description": "撤单数量",
  11515. "type": "integer"
  11516. },
  11517. "currencysign": {
  11518. "description": "货币符号",
  11519. "type": "string"
  11520. },
  11521. "decimalplace": {
  11522. "description": "报价小数位",
  11523. "type": "integer"
  11524. },
  11525. "goodscode": {
  11526. "description": "商品代码(内部)",
  11527. "type": "string"
  11528. },
  11529. "goodsid": {
  11530. "description": "商品ID",
  11531. "type": "integer"
  11532. },
  11533. "goodsname": {
  11534. "description": "商品名称",
  11535. "type": "string"
  11536. },
  11537. "listingselecttype": {
  11538. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11539. "type": "integer"
  11540. },
  11541. "marketid": {
  11542. "description": "市场ID",
  11543. "type": "integer"
  11544. },
  11545. "mybuystatus": {
  11546. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11547. "type": "integer"
  11548. },
  11549. "orderamount": {
  11550. "description": "委托金额",
  11551. "type": "number"
  11552. },
  11553. "orderid": {
  11554. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11555. "type": "string"
  11556. },
  11557. "orderprice": {
  11558. "description": "委托价格",
  11559. "type": "number"
  11560. },
  11561. "orderqty": {
  11562. "description": "委托数量",
  11563. "type": "integer"
  11564. },
  11565. "orderstatus": {
  11566. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11567. "type": "integer"
  11568. },
  11569. "ordertime": {
  11570. "description": "委托时间",
  11571. "type": "string"
  11572. },
  11573. "picurls1": {
  11574. "description": "预售商品介绍图片[多张用逗号分隔]",
  11575. "type": "string"
  11576. },
  11577. "picurls2": {
  11578. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11579. "type": "string"
  11580. },
  11581. "trademode": {
  11582. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11583. "type": "integer"
  11584. },
  11585. "tradeqty": {
  11586. "description": "成交数量",
  11587. "type": "integer"
  11588. },
  11589. "vendorname1": {
  11590. "description": "预售商品供应商名称",
  11591. "type": "string"
  11592. },
  11593. "vendorname2": {
  11594. "description": "挂牌商品供应商名称",
  11595. "type": "string"
  11596. }
  11597. }
  11598. },
  11599. "models.Market": {
  11600. "type": "object",
  11601. "required": [
  11602. "marketid",
  11603. "marketstatus",
  11604. "openmethod",
  11605. "reckonpricealgorithm",
  11606. "trademode",
  11607. "tradeproperty"
  11608. ],
  11609. "properties": {
  11610. "auctionwrtype": {
  11611. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11612. "type": "integer"
  11613. },
  11614. "canacceptquote": {
  11615. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11616. "type": "integer"
  11617. },
  11618. "cangoodsexercise": {
  11619. "description": "[期权]是否可现货行权- 0:否 1:是",
  11620. "type": "integer"
  11621. },
  11622. "cangoodsexercisetype": {
  11623. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11624. "type": "integer"
  11625. },
  11626. "canmanualquotestrike": {
  11627. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11628. "type": "integer"
  11629. },
  11630. "canmutistage": {
  11631. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11632. "type": "integer"
  11633. },
  11634. "canpreexercise": {
  11635. "description": "[期权]是否可预申报- 0:否 1:是",
  11636. "type": "integer"
  11637. },
  11638. "clearinterval": {
  11639. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11640. "type": "integer"
  11641. },
  11642. "contracttmp": {
  11643. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11644. "type": "string"
  11645. },
  11646. "exchareaid": {
  11647. "description": "所属交易所,可以没有",
  11648. "type": "integer"
  11649. },
  11650. "goodstype": {
  11651. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11652. "type": "integer"
  11653. },
  11654. "hasrebate": {
  11655. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11656. "type": "integer"
  11657. },
  11658. "hastradecredit": {
  11659. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11660. "type": "integer"
  11661. },
  11662. "haswr": {
  11663. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11664. "type": "integer"
  11665. },
  11666. "isdeductmargin": {
  11667. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11668. "type": "integer"
  11669. },
  11670. "isrecordsource": {
  11671. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11672. "type": "integer"
  11673. },
  11674. "isreleasemargin": {
  11675. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11676. "type": "integer"
  11677. },
  11678. "marginformula": {
  11679. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11680. "type": "integer"
  11681. },
  11682. "marginformula2": {
  11683. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11684. "type": "integer"
  11685. },
  11686. "marketid": {
  11687. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11688. "type": "integer"
  11689. },
  11690. "marketname": {
  11691. "description": "市场名称",
  11692. "type": "string"
  11693. },
  11694. "marketserviceid": {
  11695. "description": "市场服务ID",
  11696. "type": "integer"
  11697. },
  11698. "marketstatus": {
  11699. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11700. "type": "integer"
  11701. },
  11702. "markettype": {
  11703. "description": "市场类型- 1:非交易服务 2:交易服务",
  11704. "type": "integer"
  11705. },
  11706. "matchermode": {
  11707. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11708. "type": "integer"
  11709. },
  11710. "openmethod": {
  11711. "description": "开盘模式 - 0 自动 1手动",
  11712. "type": "integer"
  11713. },
  11714. "otcuserid": {
  11715. "description": "场外期权做市商[场外期权]",
  11716. "type": "integer"
  11717. },
  11718. "outersynctime": {
  11719. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11720. "type": "string"
  11721. },
  11722. "pendingflag": {
  11723. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11724. "type": "integer"
  11725. },
  11726. "pendingtime": {
  11727. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11728. "type": "string"
  11729. },
  11730. "performancetempid": {
  11731. "description": "履约计划模板ID - 作废",
  11732. "type": "integer"
  11733. },
  11734. "premiumquotemode": {
  11735. "description": "权利金报价方式 - 1:自动 2:手动",
  11736. "type": "integer"
  11737. },
  11738. "rebateratio": {
  11739. "description": "返利比率[竞价式]",
  11740. "type": "number"
  11741. },
  11742. "reckonorder": {
  11743. "description": "结算顺序",
  11744. "type": "integer"
  11745. },
  11746. "reckonpricealgorithm": {
  11747. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11748. "type": "integer"
  11749. },
  11750. "reckonpriceparam": {
  11751. "description": "结算价参数",
  11752. "type": "integer"
  11753. },
  11754. "reckontime": {
  11755. "description": "结算时间[通道交易-对冲](HH:mm)",
  11756. "type": "string"
  11757. },
  11758. "roleprioritytype": {
  11759. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11760. "type": "integer"
  11761. },
  11762. "selllistingauditflag": {
  11763. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11764. "type": "integer"
  11765. },
  11766. "trademarkettype": {
  11767. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11768. "type": "integer"
  11769. },
  11770. "trademode": {
  11771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11772. "type": "integer"
  11773. },
  11774. "tradeproperty": {
  11775. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11776. "type": "integer"
  11777. },
  11778. "tradetype": {
  11779. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11780. "type": "integer"
  11781. }
  11782. }
  11783. },
  11784. "models.Marketrun": {
  11785. "type": "object",
  11786. "required": [
  11787. "marketid",
  11788. "nexttradedate",
  11789. "reckonflag",
  11790. "runstatus",
  11791. "tradedate",
  11792. "tradedate2"
  11793. ],
  11794. "properties": {
  11795. "afternexttradedate": {
  11796. "description": "下下交易日",
  11797. "type": "string"
  11798. },
  11799. "clearquoteflag": {
  11800. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11801. "type": "integer"
  11802. },
  11803. "lastreckondate": {
  11804. "description": "最新交易日(结算成功)",
  11805. "type": "string"
  11806. },
  11807. "machinedate": {
  11808. "description": "机器时间",
  11809. "type": "string"
  11810. },
  11811. "manualflag": {
  11812. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11813. "type": "integer"
  11814. },
  11815. "marketid": {
  11816. "description": "市场ID",
  11817. "type": "integer"
  11818. },
  11819. "nexttradedate": {
  11820. "description": "下一交易日",
  11821. "type": "string"
  11822. },
  11823. "pretradedate": {
  11824. "description": "上一交易日",
  11825. "type": "string"
  11826. },
  11827. "reckonflag": {
  11828. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11829. "type": "integer"
  11830. },
  11831. "runstatus": {
  11832. "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.今日免清算",
  11833. "type": "integer"
  11834. },
  11835. "sectionid": {
  11836. "description": "时间段号[多时段时用]",
  11837. "type": "integer"
  11838. },
  11839. "tradedate": {
  11840. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11841. "type": "string"
  11842. },
  11843. "tradedate2": {
  11844. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11845. "type": "string"
  11846. },
  11847. "updatetime": {
  11848. "description": "更新时间",
  11849. "type": "string"
  11850. }
  11851. }
  11852. },
  11853. "models.Messageboard": {
  11854. "type": "object",
  11855. "required": [
  11856. "messageboardid"
  11857. ],
  11858. "properties": {
  11859. "createtime": {
  11860. "description": "创建时间",
  11861. "type": "string"
  11862. },
  11863. "message": {
  11864. "description": "留言信息",
  11865. "type": "string"
  11866. },
  11867. "messageboardid": {
  11868. "description": "留言簿ID(SEQ_MessageBoard)",
  11869. "type": "integer"
  11870. },
  11871. "userid": {
  11872. "description": "用户ID",
  11873. "type": "integer"
  11874. }
  11875. }
  11876. },
  11877. "models.MyCoupon": {
  11878. "type": "object",
  11879. "required": [
  11880. "accountid",
  11881. "coupontypeid"
  11882. ],
  11883. "properties": {
  11884. "accountid": {
  11885. "description": "资金账户ID",
  11886. "type": "integer"
  11887. },
  11888. "areauserid": {
  11889. "description": "所属机构",
  11890. "type": "integer"
  11891. },
  11892. "conditionvalue": {
  11893. "description": "条件阈值(可为0)",
  11894. "type": "number"
  11895. },
  11896. "couponcategroy": {
  11897. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11898. "type": "integer"
  11899. },
  11900. "couponname": {
  11901. "description": "优惠券名称",
  11902. "type": "string"
  11903. },
  11904. "coupontypeid": {
  11905. "description": "优惠券类型ID",
  11906. "type": "string"
  11907. },
  11908. "couponvalue": {
  11909. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11910. "type": "number"
  11911. },
  11912. "curfreezeqty": {
  11913. "description": "期末冻结数量",
  11914. "type": "integer"
  11915. },
  11916. "curqty": {
  11917. "description": "期末数量",
  11918. "type": "integer"
  11919. },
  11920. "isgeneral": {
  11921. "description": "是否通用券 - 0:否 1:是",
  11922. "type": "integer"
  11923. },
  11924. "isunusable": {
  11925. "description": "是否不可用",
  11926. "type": "boolean"
  11927. },
  11928. "limitedflag": {
  11929. "description": "是否指定商品 - 0:不限 1:限制",
  11930. "type": "integer"
  11931. },
  11932. "limitedgoodsids": {
  11933. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11934. "type": "string"
  11935. },
  11936. "orifreezeqty": {
  11937. "description": "期初冻结数量",
  11938. "type": "integer"
  11939. },
  11940. "oriqty": {
  11941. "description": "期初数量",
  11942. "type": "integer"
  11943. },
  11944. "reasontype": {
  11945. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11946. "type": "integer"
  11947. },
  11948. "todaydecrease": {
  11949. "description": "今日减少",
  11950. "type": "integer"
  11951. },
  11952. "todayincrease": {
  11953. "description": "今日增加",
  11954. "type": "integer"
  11955. },
  11956. "userid": {
  11957. "description": "用户ID",
  11958. "type": "integer"
  11959. },
  11960. "userscope": {
  11961. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11962. "type": "string"
  11963. }
  11964. }
  11965. },
  11966. "models.MyCouponHold": {
  11967. "type": "object",
  11968. "required": [
  11969. "couponholdid"
  11970. ],
  11971. "properties": {
  11972. "accountid": {
  11973. "description": "资金账户ID",
  11974. "type": "integer"
  11975. },
  11976. "conditionvalue": {
  11977. "description": "条件阈值(可为0)",
  11978. "type": "number"
  11979. },
  11980. "couponcategroy": {
  11981. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11982. "type": "integer"
  11983. },
  11984. "couponholdid": {
  11985. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11986. "type": "string"
  11987. },
  11988. "couponname": {
  11989. "description": "优惠券名称",
  11990. "type": "string"
  11991. },
  11992. "coupontypeid": {
  11993. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11994. "type": "string"
  11995. },
  11996. "couponvalue": {
  11997. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11998. "type": "number"
  11999. },
  12000. "createtime": {
  12001. "description": "创建时间",
  12002. "type": "string"
  12003. },
  12004. "enddate": {
  12005. "description": "结束日期",
  12006. "type": "string"
  12007. },
  12008. "giveapplyid": {
  12009. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  12010. "type": "integer"
  12011. },
  12012. "holdstatus": {
  12013. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  12014. "type": "integer"
  12015. },
  12016. "isgeneral": {
  12017. "description": "是否通用券 - 0:否 1:是",
  12018. "type": "integer"
  12019. },
  12020. "limitedflag": {
  12021. "description": "是否指定商品 - 0:不限 1:限制",
  12022. "type": "integer"
  12023. },
  12024. "limitedgoodsids": {
  12025. "description": "指定商品IDs[逗号分隔]",
  12026. "type": "string"
  12027. },
  12028. "qty": {
  12029. "description": "数量(按1平铺)",
  12030. "type": "integer"
  12031. },
  12032. "startdate": {
  12033. "description": "开始日期",
  12034. "type": "string"
  12035. },
  12036. "userid": {
  12037. "description": "用户ID",
  12038. "type": "integer"
  12039. },
  12040. "userscope": {
  12041. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  12042. "type": "string"
  12043. }
  12044. }
  12045. },
  12046. "models.MyUsedCoupon": {
  12047. "type": "object",
  12048. "required": [
  12049. "coupontypeid",
  12050. "orderid"
  12051. ],
  12052. "properties": {
  12053. "accountid": {
  12054. "description": "资金账户ID(买方)",
  12055. "type": "integer"
  12056. },
  12057. "conditionvalue": {
  12058. "description": "条件阈值(可为0)",
  12059. "type": "number"
  12060. },
  12061. "couponcategroy": {
  12062. "description": "种类 - 1:现金券 2:折扣券",
  12063. "type": "integer"
  12064. },
  12065. "couponname": {
  12066. "description": "优惠券名称",
  12067. "type": "string"
  12068. },
  12069. "coupontypeid": {
  12070. "description": "优惠券类型ID(买方)",
  12071. "type": "string"
  12072. },
  12073. "couponvalue": {
  12074. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  12075. "type": "number"
  12076. },
  12077. "createtime": {
  12078. "description": "创建时间",
  12079. "type": "string"
  12080. },
  12081. "goodsid": {
  12082. "description": "商品ID",
  12083. "type": "integer"
  12084. },
  12085. "handlestatus": {
  12086. "description": "处理状态",
  12087. "type": "integer"
  12088. },
  12089. "marketid": {
  12090. "description": "市场ID",
  12091. "type": "integer"
  12092. },
  12093. "offamount": {
  12094. "description": "优惠金额",
  12095. "type": "number"
  12096. },
  12097. "orderid": {
  12098. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12099. "type": "string"
  12100. },
  12101. "sellaccountid": {
  12102. "description": "资金账户ID(卖方)",
  12103. "type": "integer"
  12104. },
  12105. "tradeamount": {
  12106. "description": "成交金额",
  12107. "type": "number"
  12108. },
  12109. "tradeid": {
  12110. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12111. "type": "string"
  12112. },
  12113. "usedqty": {
  12114. "description": "使用数量",
  12115. "type": "integer"
  12116. }
  12117. }
  12118. },
  12119. "models.OperationPrimaryMenu": {
  12120. "type": "object",
  12121. "properties": {
  12122. "Children": {
  12123. "description": "二级功能菜单",
  12124. "type": "array",
  12125. "items": {
  12126. "$ref": "#/definitions/models.OperationSecondaryMenu"
  12127. }
  12128. },
  12129. "Key": {
  12130. "description": "菜单KEY",
  12131. "type": "string"
  12132. },
  12133. "Label": {
  12134. "description": "菜单标题",
  12135. "type": "string"
  12136. }
  12137. }
  12138. },
  12139. "models.OperationSecondaryMenu": {
  12140. "type": "object",
  12141. "properties": {
  12142. "Key": {
  12143. "description": "菜单KEY",
  12144. "type": "string"
  12145. },
  12146. "Label": {
  12147. "description": "菜单标题",
  12148. "type": "string"
  12149. },
  12150. "TabList": {
  12151. "description": "三级功能菜单",
  12152. "type": "array",
  12153. "items": {
  12154. "$ref": "#/definitions/models.OperationTabMenu"
  12155. }
  12156. }
  12157. }
  12158. },
  12159. "models.OperationTabMenu": {
  12160. "type": "object",
  12161. "properties": {
  12162. "Key": {
  12163. "description": "菜单KEY",
  12164. "type": "string"
  12165. },
  12166. "Label": {
  12167. "description": "菜单标题",
  12168. "type": "string"
  12169. }
  12170. }
  12171. },
  12172. "models.PendingAuditBizModel": {
  12173. "type": "object",
  12174. "properties": {
  12175. "accountid": {
  12176. "description": "现货账户",
  12177. "type": "string"
  12178. },
  12179. "areaname": {
  12180. "description": "所属部门",
  12181. "type": "string"
  12182. },
  12183. "bizid": {
  12184. "description": "业务ID",
  12185. "type": "string"
  12186. },
  12187. "bizname": {
  12188. "description": "业务名称",
  12189. "type": "string"
  12190. },
  12191. "status": {
  12192. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12193. "type": "integer"
  12194. },
  12195. "type": {
  12196. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12197. "type": "integer"
  12198. }
  12199. }
  12200. },
  12201. "models.QuotePrimaryMenu": {
  12202. "type": "object",
  12203. "properties": {
  12204. "Index": {
  12205. "description": "序号",
  12206. "type": "integer"
  12207. },
  12208. "Key": {
  12209. "description": "键名",
  12210. "type": "string"
  12211. },
  12212. "Name": {
  12213. "description": "菜单名称",
  12214. "type": "string"
  12215. },
  12216. "SubMenus": {
  12217. "description": "子菜单",
  12218. "type": "array",
  12219. "items": {
  12220. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  12221. }
  12222. },
  12223. "SubTitleType": {
  12224. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  12225. "type": "integer"
  12226. },
  12227. "TradeModes": {
  12228. "description": "包含市场交易类型",
  12229. "type": "string"
  12230. }
  12231. }
  12232. },
  12233. "models.QuoteSecondaryMenu": {
  12234. "type": "object",
  12235. "properties": {
  12236. "ExExchangeCode": {
  12237. "description": "外部交易所代码",
  12238. "type": "string"
  12239. },
  12240. "ExExchangeID": {
  12241. "description": "外部交易所ID",
  12242. "type": "integer"
  12243. },
  12244. "GoodsGroupIDs": {
  12245. "description": "商品组ID列表",
  12246. "type": "array",
  12247. "items": {
  12248. "type": "integer"
  12249. }
  12250. },
  12251. "Index": {
  12252. "description": "序号",
  12253. "type": "integer"
  12254. },
  12255. "MarketID": {
  12256. "description": "市场ID",
  12257. "type": "integer"
  12258. },
  12259. "MenuTitle": {
  12260. "description": "菜单标题(市场名称或外部交易所名称)",
  12261. "type": "string"
  12262. },
  12263. "TradeMode": {
  12264. "description": "交易模式",
  12265. "type": "integer"
  12266. }
  12267. }
  12268. },
  12269. "models.SearchGoods": {
  12270. "type": "object",
  12271. "required": [
  12272. "goodscode",
  12273. "goodsid",
  12274. "goodsname",
  12275. "marketid",
  12276. "trademode"
  12277. ],
  12278. "properties": {
  12279. "goodscode": {
  12280. "description": "商品代码(内部)",
  12281. "type": "string"
  12282. },
  12283. "goodsid": {
  12284. "description": "商品ID(自增ID SEQ_GOODS)",
  12285. "type": "integer"
  12286. },
  12287. "goodsname": {
  12288. "description": "商品名称",
  12289. "type": "string"
  12290. },
  12291. "marketid": {
  12292. "description": "所属市场ID",
  12293. "type": "integer"
  12294. },
  12295. "marketname": {
  12296. "description": "市场名称",
  12297. "type": "string"
  12298. },
  12299. "trademode": {
  12300. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12301. "type": "integer"
  12302. }
  12303. }
  12304. },
  12305. "models.Szdz2imageconfig": {
  12306. "type": "object",
  12307. "required": [
  12308. "configid"
  12309. ],
  12310. "properties": {
  12311. "configid": {
  12312. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12313. "type": "integer"
  12314. },
  12315. "imagepath": {
  12316. "description": "图片",
  12317. "type": "string"
  12318. },
  12319. "imagetype": {
  12320. "description": "类型 - 1:App首页轮播 2:我的",
  12321. "type": "integer"
  12322. },
  12323. "sort": {
  12324. "description": "排序",
  12325. "type": "integer"
  12326. },
  12327. "title": {
  12328. "description": "标题",
  12329. "type": "string"
  12330. },
  12331. "url": {
  12332. "description": "链接",
  12333. "type": "string"
  12334. }
  12335. }
  12336. },
  12337. "models.Szdz3convertconfig": {
  12338. "type": "object",
  12339. "required": [
  12340. "converttype",
  12341. "innergoodsid",
  12342. "outergoodscode"
  12343. ],
  12344. "properties": {
  12345. "canin": {
  12346. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12347. "type": "integer"
  12348. },
  12349. "canout": {
  12350. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12351. "type": "integer"
  12352. },
  12353. "converttype": {
  12354. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12355. "type": "integer"
  12356. },
  12357. "createtime": {
  12358. "description": "创建时间",
  12359. "type": "string"
  12360. },
  12361. "creatorid": {
  12362. "description": "创建人",
  12363. "type": "integer"
  12364. },
  12365. "daymaxvalue": {
  12366. "description": "当日最大转入限制",
  12367. "type": "number"
  12368. },
  12369. "freezedays": {
  12370. "description": "冻结天数 [5:花生米转交易]",
  12371. "type": "integer"
  12372. },
  12373. "innergoodsid": {
  12374. "description": "内部商品ID[交易]",
  12375. "type": "integer"
  12376. },
  12377. "inratio": {
  12378. "description": "目标值",
  12379. "type": "integer"
  12380. },
  12381. "modifierid": {
  12382. "description": "修改人",
  12383. "type": "integer"
  12384. },
  12385. "modifytime": {
  12386. "description": "修改时间",
  12387. "type": "string"
  12388. },
  12389. "outergoodscode": {
  12390. "description": "外部商品代码[JD\\PD]",
  12391. "type": "string"
  12392. },
  12393. "outratio": {
  12394. "description": "源值",
  12395. "type": "integer"
  12396. },
  12397. "pddecimalplace": {
  12398. "description": "PD小数位",
  12399. "type": "integer"
  12400. },
  12401. "timemaxvalue": {
  12402. "description": "单次最大转入限制",
  12403. "type": "number"
  12404. },
  12405. "timeminvalue": {
  12406. "description": "单次最小转入限制",
  12407. "type": "number"
  12408. }
  12409. }
  12410. },
  12411. "models.Szdz3searchwhitelist": {
  12412. "type": "object",
  12413. "required": [
  12414. "userid"
  12415. ],
  12416. "properties": {
  12417. "createtime": {
  12418. "description": "创建时间",
  12419. "type": "string"
  12420. },
  12421. "creatorid": {
  12422. "description": "创建人",
  12423. "type": "integer"
  12424. },
  12425. "modifierid": {
  12426. "description": "修改人",
  12427. "type": "integer"
  12428. },
  12429. "modifytime": {
  12430. "description": "修改时间",
  12431. "type": "string"
  12432. },
  12433. "userid": {
  12434. "description": "用户ID",
  12435. "type": "integer"
  12436. }
  12437. }
  12438. },
  12439. "models.Tablecolumnconfig": {
  12440. "type": "object",
  12441. "required": [
  12442. "autoid"
  12443. ],
  12444. "properties": {
  12445. "aligntype": {
  12446. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12447. "type": "integer"
  12448. },
  12449. "autoid": {
  12450. "description": "AutoID",
  12451. "type": "integer"
  12452. },
  12453. "columnfield": {
  12454. "description": "列字段",
  12455. "type": "string"
  12456. },
  12457. "columntitle": {
  12458. "description": "列Title",
  12459. "type": "string"
  12460. },
  12461. "columnwidth": {
  12462. "description": "列宽",
  12463. "type": "string"
  12464. },
  12465. "formatterstring": {
  12466. "description": "格式化字符",
  12467. "type": "string"
  12468. },
  12469. "formattertype": {
  12470. "description": "格式化类型",
  12471. "type": "string"
  12472. },
  12473. "groupname": {
  12474. "description": "表头分组名称",
  12475. "type": "string"
  12476. },
  12477. "isshow": {
  12478. "description": "是否显示 - 0:不显示 1:显示",
  12479. "type": "integer"
  12480. },
  12481. "needsummary": {
  12482. "description": "是否需要汇总 - 0:不需要 1:需要",
  12483. "type": "integer"
  12484. },
  12485. "orderindex": {
  12486. "description": "顺序",
  12487. "type": "integer"
  12488. },
  12489. "remark": {
  12490. "description": "备注",
  12491. "type": "string"
  12492. },
  12493. "summarytype": {
  12494. "description": "汇总类型 - 1:加总 2:最后一个",
  12495. "type": "integer"
  12496. },
  12497. "tablekey": {
  12498. "description": "列表Key",
  12499. "type": "string"
  12500. }
  12501. }
  12502. },
  12503. "models.Useraccount": {
  12504. "type": "object",
  12505. "required": [
  12506. "userid"
  12507. ],
  12508. "properties": {
  12509. "accountname": {
  12510. "description": "账户名称(机构名称)",
  12511. "type": "string"
  12512. },
  12513. "accountstatus": {
  12514. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12515. "type": "integer"
  12516. },
  12517. "auditremark": {
  12518. "description": "审核备注",
  12519. "type": "string"
  12520. },
  12521. "audittime": {
  12522. "description": "审核时间",
  12523. "type": "string"
  12524. },
  12525. "audituserid": {
  12526. "description": "审核人",
  12527. "type": "integer"
  12528. },
  12529. "broker": {
  12530. "description": "所属经纪人ID",
  12531. "type": "integer"
  12532. },
  12533. "canceltime": {
  12534. "description": "销户时间",
  12535. "type": "string"
  12536. },
  12537. "canceluserid": {
  12538. "description": "销户人",
  12539. "type": "integer"
  12540. },
  12541. "createtime": {
  12542. "description": "创建时间",
  12543. "type": "string"
  12544. },
  12545. "creatorid": {
  12546. "description": "创建人",
  12547. "type": "integer"
  12548. },
  12549. "hasauth": {
  12550. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12551. "type": "integer"
  12552. },
  12553. "isanonymous": {
  12554. "description": "是否匿名下单 - 0:否 1:是",
  12555. "type": "integer"
  12556. },
  12557. "maxinvestornum": {
  12558. "description": "最大用户数(经纪会员下投资者个数)",
  12559. "type": "integer"
  12560. },
  12561. "memberuserid": {
  12562. "description": "所属会员ID",
  12563. "type": "integer"
  12564. },
  12565. "modifierid": {
  12566. "description": "修改人",
  12567. "type": "integer"
  12568. },
  12569. "modifyremark": {
  12570. "description": "变更备注",
  12571. "type": "string"
  12572. },
  12573. "modifystatus": {
  12574. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12575. "type": "integer"
  12576. },
  12577. "modifytime": {
  12578. "description": "修改时间",
  12579. "type": "string"
  12580. },
  12581. "parentuserid": {
  12582. "description": "所属机构ID",
  12583. "type": "integer"
  12584. },
  12585. "reckonaccountid": {
  12586. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12587. "type": "integer"
  12588. },
  12589. "refercount": {
  12590. "description": "推荐总人数",
  12591. "type": "integer"
  12592. },
  12593. "refereeuserid": {
  12594. "description": "推荐人ID",
  12595. "type": "integer"
  12596. },
  12597. "refernum": {
  12598. "description": "推荐码",
  12599. "type": "string"
  12600. },
  12601. "subarealevelpath": {
  12602. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12603. "type": "string"
  12604. },
  12605. "userid": {
  12606. "description": "用户ID",
  12607. "type": "integer"
  12608. },
  12609. "usertype": {
  12610. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12611. "type": "integer"
  12612. }
  12613. }
  12614. },
  12615. "models.Userfavoritegoods": {
  12616. "type": "object",
  12617. "required": [
  12618. "goodsid"
  12619. ],
  12620. "properties": {
  12621. "goodsid": {
  12622. "description": "商品ID",
  12623. "type": "integer"
  12624. }
  12625. }
  12626. },
  12627. "models.Userinfo": {
  12628. "type": "object",
  12629. "required": [
  12630. "userid"
  12631. ],
  12632. "properties": {
  12633. "address": {
  12634. "description": "地址",
  12635. "type": "string"
  12636. },
  12637. "attachment1": {
  12638. "description": "附件1",
  12639. "type": "string"
  12640. },
  12641. "attachment2": {
  12642. "description": "附件2",
  12643. "type": "string"
  12644. },
  12645. "bankaccount": {
  12646. "description": "银行帐号 (加密存储)",
  12647. "type": "string"
  12648. },
  12649. "bankaccountname": {
  12650. "description": "收款人名称",
  12651. "type": "string"
  12652. },
  12653. "bankcardfrontphotourl": {
  12654. "description": "银行卡正面照地址",
  12655. "type": "string"
  12656. },
  12657. "bankid": {
  12658. "description": "银行编码",
  12659. "type": "string"
  12660. },
  12661. "bankname": {
  12662. "description": "银行名称",
  12663. "type": "string"
  12664. },
  12665. "biznature": {
  12666. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12667. "type": "integer"
  12668. },
  12669. "bizscope": {
  12670. "description": "企业经营范围(企业)",
  12671. "type": "string"
  12672. },
  12673. "cardbackphotourl": {
  12674. "description": "证件背面图片地址",
  12675. "type": "string"
  12676. },
  12677. "cardfrontphotourl": {
  12678. "description": "证件正面图片地址",
  12679. "type": "string"
  12680. },
  12681. "cardnum": {
  12682. "description": "证件号码(加密存储)",
  12683. "type": "string"
  12684. },
  12685. "cardtypeid": {
  12686. "description": "证件类型ID",
  12687. "type": "integer"
  12688. },
  12689. "cityid": {
  12690. "description": "市",
  12691. "type": "integer"
  12692. },
  12693. "company": {
  12694. "description": "公司(个人)",
  12695. "type": "string"
  12696. },
  12697. "contactname": {
  12698. "description": "联系人",
  12699. "type": "string"
  12700. },
  12701. "countryid": {
  12702. "description": "国家",
  12703. "type": "integer"
  12704. },
  12705. "createtime": {
  12706. "description": "创建时间",
  12707. "type": "string"
  12708. },
  12709. "creatorid": {
  12710. "description": "创建人",
  12711. "type": "integer"
  12712. },
  12713. "customername": {
  12714. "description": "客户名称(企业名称)",
  12715. "type": "string"
  12716. },
  12717. "districtid": {
  12718. "description": "地区",
  12719. "type": "integer"
  12720. },
  12721. "email": {
  12722. "description": "邮件(加密存储)",
  12723. "type": "string"
  12724. },
  12725. "fax": {
  12726. "description": "传真(加密存储)",
  12727. "type": "string"
  12728. },
  12729. "halfbodyphotourl": {
  12730. "description": "半身照地址",
  12731. "type": "string"
  12732. },
  12733. "hasencrypt": {
  12734. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12735. "type": "integer"
  12736. },
  12737. "headurl": {
  12738. "description": "头像地址",
  12739. "type": "string"
  12740. },
  12741. "legalcardbackphotourl": {
  12742. "description": "法人身份证背面照地址",
  12743. "type": "string"
  12744. },
  12745. "legalcardfrontphotourl": {
  12746. "description": "法人身份证正面照地址",
  12747. "type": "string"
  12748. },
  12749. "legalpersonname": {
  12750. "description": "法人姓名(企业)",
  12751. "type": "string"
  12752. },
  12753. "mobile": {
  12754. "description": "手机号码(加密存储)",
  12755. "type": "string"
  12756. },
  12757. "mobile2": {
  12758. "description": "手机号码[明文-尚志]",
  12759. "type": "string"
  12760. },
  12761. "modifierid": {
  12762. "description": "修改人",
  12763. "type": "integer"
  12764. },
  12765. "modifiertime": {
  12766. "description": "修改时间",
  12767. "type": "string"
  12768. },
  12769. "needinvoice": {
  12770. "description": "是否需要发票 - 0:不需要 1:需要",
  12771. "type": "integer"
  12772. },
  12773. "nickname": {
  12774. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12775. "type": "string"
  12776. },
  12777. "openmode": {
  12778. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12779. "type": "integer"
  12780. },
  12781. "otherurl": {
  12782. "description": "其它图片地址[使用分号分隔]",
  12783. "type": "string"
  12784. },
  12785. "postalcode": {
  12786. "description": "邮政编码",
  12787. "type": "string"
  12788. },
  12789. "provinceid": {
  12790. "description": "省",
  12791. "type": "integer"
  12792. },
  12793. "qq": {
  12794. "description": "QQ(加密存储",
  12795. "type": "string"
  12796. },
  12797. "remark": {
  12798. "description": "备注",
  12799. "type": "string"
  12800. },
  12801. "sex": {
  12802. "description": "用户性别 0: 女 1: 男",
  12803. "type": "integer"
  12804. },
  12805. "signpdfurl": {
  12806. "description": "签约pdf文件",
  12807. "type": "string"
  12808. },
  12809. "telphone": {
  12810. "description": "联系电话(加密存储)",
  12811. "type": "string"
  12812. },
  12813. "userid": {
  12814. "description": "用户ID",
  12815. "type": "integer"
  12816. },
  12817. "userinfotype": {
  12818. "description": "用户信息类型 - 1:个人 2:企业",
  12819. "type": "integer"
  12820. },
  12821. "userstatus": {
  12822. "description": "用户状态 - 1:正常 2:注销",
  12823. "type": "integer"
  12824. },
  12825. "usertype": {
  12826. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12827. "type": "integer"
  12828. },
  12829. "wechat": {
  12830. "description": "微信(加密存储)",
  12831. "type": "string"
  12832. },
  12833. "wskhinfo": {
  12834. "description": "开户申请信息(JSON)",
  12835. "type": "string"
  12836. }
  12837. }
  12838. },
  12839. "models.WRCategoryTree": {
  12840. "type": "object",
  12841. "required": [
  12842. "categoryid"
  12843. ],
  12844. "properties": {
  12845. "areauserid": {
  12846. "description": "所属机构",
  12847. "type": "integer"
  12848. },
  12849. "categorydesc": {
  12850. "description": "类别描述",
  12851. "type": "string"
  12852. },
  12853. "categoryid": {
  12854. "description": "类别ID(SEQ_WRCATEGORY)",
  12855. "type": "integer"
  12856. },
  12857. "categoryname": {
  12858. "description": "类别名称",
  12859. "type": "string"
  12860. },
  12861. "iconurl": {
  12862. "description": "图标地址",
  12863. "type": "string"
  12864. },
  12865. "orderindex": {
  12866. "description": "顺序",
  12867. "type": "integer"
  12868. },
  12869. "parentcategoryid": {
  12870. "description": "父类别ID",
  12871. "type": "integer"
  12872. },
  12873. "subcategory": {
  12874. "description": "子分类",
  12875. "type": "array",
  12876. "items": {
  12877. "$ref": "#/definitions/models.WRCategoryTree"
  12878. }
  12879. }
  12880. }
  12881. },
  12882. "models.WRSConverTDetail": {
  12883. "type": "object",
  12884. "properties": {
  12885. "convertratio": {
  12886. "description": "套保系数",
  12887. "type": "number"
  12888. },
  12889. "deliverygoodsid": {
  12890. "description": "现货品种ID",
  12891. "type": "integer"
  12892. },
  12893. "middlegoodscode": {
  12894. "description": "套保品种代码",
  12895. "type": "string"
  12896. },
  12897. "middlegoodsid": {
  12898. "description": "套保品种ID",
  12899. "type": "integer"
  12900. },
  12901. "middlegoodsname": {
  12902. "description": "套保品种名称",
  12903. "type": "string"
  12904. },
  12905. "modifytime": {
  12906. "description": "修改时间",
  12907. "type": "string"
  12908. },
  12909. "wrstandardid": {
  12910. "description": "现货商品ID",
  12911. "type": "integer"
  12912. }
  12913. }
  12914. },
  12915. "models.WRStandardInfo": {
  12916. "type": "object",
  12917. "required": [
  12918. "wrstandardid"
  12919. ],
  12920. "properties": {
  12921. "createtime": {
  12922. "description": "创建时间",
  12923. "type": "string"
  12924. },
  12925. "creatorid": {
  12926. "description": "创建人",
  12927. "type": "integer"
  12928. },
  12929. "deliverygoodsid": {
  12930. "description": "品种ID",
  12931. "type": "integer"
  12932. },
  12933. "deliverygoodsname": {
  12934. "description": "交割商品名称",
  12935. "type": "string"
  12936. },
  12937. "factoryitemjson": {
  12938. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12939. "type": "string"
  12940. },
  12941. "isvalid": {
  12942. "description": "是否有效 - 0:无效 1:有效",
  12943. "type": "integer"
  12944. },
  12945. "minivalue": {
  12946. "description": "最小变动值",
  12947. "type": "integer"
  12948. },
  12949. "minivaluedp": {
  12950. "description": "最小变动值小数位",
  12951. "type": "integer"
  12952. },
  12953. "realminivalue": {
  12954. "description": "实际最小变动值",
  12955. "type": "integer"
  12956. },
  12957. "realminivaluedp": {
  12958. "description": "实际最小变动值小数位",
  12959. "type": "integer"
  12960. },
  12961. "unitid": {
  12962. "description": "单位ID",
  12963. "type": "integer"
  12964. },
  12965. "unitname": {
  12966. "description": "单位",
  12967. "type": "string"
  12968. },
  12969. "updatetime": {
  12970. "description": "更新时间",
  12971. "type": "string"
  12972. },
  12973. "updatorid": {
  12974. "description": "更新人",
  12975. "type": "integer"
  12976. },
  12977. "wrsstatus": {
  12978. "description": "状态 - 作废 - 0:未激活 1:正常",
  12979. "type": "integer"
  12980. },
  12981. "wrstandardcode": {
  12982. "description": "仓单标准代码",
  12983. "type": "string"
  12984. },
  12985. "wrstandardid": {
  12986. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12987. "type": "integer"
  12988. },
  12989. "wrstandardname": {
  12990. "description": "仓单标准名称",
  12991. "type": "string"
  12992. }
  12993. }
  12994. },
  12995. "models.Warehouseinfo": {
  12996. "type": "object",
  12997. "required": [
  12998. "autoid",
  12999. "warehousecode"
  13000. ],
  13001. "properties": {
  13002. "address": {
  13003. "description": "详细地址",
  13004. "type": "string"
  13005. },
  13006. "areauserid": {
  13007. "description": "所属机构",
  13008. "type": "integer"
  13009. },
  13010. "autoid": {
  13011. "description": "自增ID",
  13012. "type": "integer"
  13013. },
  13014. "cityid": {
  13015. "description": "市",
  13016. "type": "integer"
  13017. },
  13018. "contactname": {
  13019. "description": "联系人",
  13020. "type": "string"
  13021. },
  13022. "contactnum": {
  13023. "description": "联系电话",
  13024. "type": "string"
  13025. },
  13026. "countryid": {
  13027. "description": "国家",
  13028. "type": "integer"
  13029. },
  13030. "createtime": {
  13031. "description": "创建时间",
  13032. "type": "string"
  13033. },
  13034. "districtid": {
  13035. "description": "区",
  13036. "type": "integer"
  13037. },
  13038. "hasvideo": {
  13039. "description": "是否有视频 - 0:无 1:有",
  13040. "type": "integer"
  13041. },
  13042. "provinceid": {
  13043. "description": "省",
  13044. "type": "integer"
  13045. },
  13046. "remark": {
  13047. "description": "审核备注",
  13048. "type": "string"
  13049. },
  13050. "videourl": {
  13051. "description": "视频地址",
  13052. "type": "string"
  13053. },
  13054. "warehousecode": {
  13055. "description": "仓库代码",
  13056. "type": "string"
  13057. },
  13058. "warehousename": {
  13059. "description": "仓库名称",
  13060. "type": "string"
  13061. },
  13062. "warehousestatus": {
  13063. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13064. "type": "integer"
  13065. },
  13066. "warehousetype": {
  13067. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13068. "type": "integer"
  13069. }
  13070. }
  13071. },
  13072. "order.QueryHisTradeDetailRsp": {
  13073. "type": "object",
  13074. "required": [
  13075. "accountid",
  13076. "buyorsell",
  13077. "goodsid",
  13078. "histradedate",
  13079. "marketid",
  13080. "memberuserid",
  13081. "orderid",
  13082. "tradeamount",
  13083. "tradedate",
  13084. "tradeid",
  13085. "tradeprice",
  13086. "tradeqty",
  13087. "tradetime"
  13088. ],
  13089. "properties": {
  13090. "accountid": {
  13091. "description": "账户ID[报价币种]",
  13092. "type": "integer"
  13093. },
  13094. "buildtype": {
  13095. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13096. "type": "integer"
  13097. },
  13098. "buyorsell": {
  13099. "description": "方向 - 0:买 1:卖",
  13100. "type": "integer"
  13101. },
  13102. "charge": {
  13103. "description": "手续费",
  13104. "type": "number"
  13105. },
  13106. "closecharge": {
  13107. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13108. "type": "number"
  13109. },
  13110. "closeexchagechargevalue": {
  13111. "description": "平仓交易所手续费设置值",
  13112. "type": "number"
  13113. },
  13114. "closefeealgorithm": {
  13115. "description": "平仓手续费收取方式 1:比率 2:固定",
  13116. "type": "integer"
  13117. },
  13118. "closememberchargevalue": {
  13119. "description": "平仓会员手续费设置值",
  13120. "type": "number"
  13121. },
  13122. "closepl": {
  13123. "description": "平仓盈亏",
  13124. "type": "number"
  13125. },
  13126. "closepl2": {
  13127. "description": "平仓盈亏[逐笔]",
  13128. "type": "number"
  13129. },
  13130. "closeqty": {
  13131. "description": "平仓数量(先建后平操作 需要记录)",
  13132. "type": "integer"
  13133. },
  13134. "creditamount": {
  13135. "description": "授信金额",
  13136. "type": "number"
  13137. },
  13138. "gcaccountid": {
  13139. "description": "账户ID[合约币种]",
  13140. "type": "integer"
  13141. },
  13142. "goodscode": {
  13143. "description": "商品代码",
  13144. "type": "string"
  13145. },
  13146. "goodsid": {
  13147. "description": "商品ID",
  13148. "type": "integer"
  13149. },
  13150. "goodsname": {
  13151. "description": "商品名称",
  13152. "type": "string"
  13153. },
  13154. "histradedate": {
  13155. "description": "历史交易日",
  13156. "type": "string"
  13157. },
  13158. "intclosepl": {
  13159. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13160. "type": "integer"
  13161. },
  13162. "isconfirmexercise": {
  13163. "description": "是否确认行权- 0:否 1:是",
  13164. "type": "integer"
  13165. },
  13166. "ismain": {
  13167. "description": "是否主单 - 0:不是 1:是",
  13168. "type": "integer"
  13169. },
  13170. "ispreexercise": {
  13171. "description": "是否预申报- 0:否 1:是",
  13172. "type": "integer"
  13173. },
  13174. "isreckoned": {
  13175. "description": "是否结算 - 0:未结算 1:已结算",
  13176. "type": "integer"
  13177. },
  13178. "isvaliddata": {
  13179. "description": "是否有效 - 0:无效 1:有效",
  13180. "type": "integer"
  13181. },
  13182. "listingselecttype": {
  13183. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13184. "type": "integer"
  13185. },
  13186. "marketid": {
  13187. "description": "市场ID",
  13188. "type": "integer"
  13189. },
  13190. "marketname": {
  13191. "description": "市场名称",
  13192. "type": "string"
  13193. },
  13194. "matchaccountid": {
  13195. "description": "对手账号id",
  13196. "type": "integer"
  13197. },
  13198. "memberuserid": {
  13199. "description": "会员id 个人投资者 需要填写",
  13200. "type": "integer"
  13201. },
  13202. "opencharge": {
  13203. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13204. "type": "number"
  13205. },
  13206. "openexchagechargevalue": {
  13207. "description": "建仓交易所手续费设置值",
  13208. "type": "number"
  13209. },
  13210. "openfeealgorithm": {
  13211. "description": "建仓手续费收取方式 1:比率 2:固定",
  13212. "type": "integer"
  13213. },
  13214. "openmemberchargevalue": {
  13215. "description": "建仓会员手续费设置值",
  13216. "type": "number"
  13217. },
  13218. "openqty": {
  13219. "description": "开仓数量(先建后平操作 需要记录)",
  13220. "type": "integer"
  13221. },
  13222. "optiontype": {
  13223. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13224. "type": "integer"
  13225. },
  13226. "orderid": {
  13227. "description": "委托单号",
  13228. "type": "string"
  13229. },
  13230. "performanceplanid": {
  13231. "description": "履约计划ID[期权]",
  13232. "type": "integer"
  13233. },
  13234. "performancestatus": {
  13235. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13236. "type": "integer"
  13237. },
  13238. "preexerciseprice": {
  13239. "description": "预申报价格",
  13240. "type": "number"
  13241. },
  13242. "premium": {
  13243. "description": "权利金 - [持仓单的权利金]",
  13244. "type": "number"
  13245. },
  13246. "relatedouttradeid": {
  13247. "description": "关联外部成交单ID",
  13248. "type": "integer"
  13249. },
  13250. "status": {
  13251. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13252. "type": "integer"
  13253. },
  13254. "tradeamount": {
  13255. "description": "成交金额[账户币种,用于所有权]",
  13256. "type": "number"
  13257. },
  13258. "tradedate": {
  13259. "description": "交易日(yyyyMMdd)",
  13260. "type": "string"
  13261. },
  13262. "tradeid": {
  13263. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13264. "type": "string"
  13265. },
  13266. "trademode": {
  13267. "description": "交易模式",
  13268. "type": "integer"
  13269. },
  13270. "tradeprice": {
  13271. "description": "成交价格",
  13272. "type": "number"
  13273. },
  13274. "tradeproperty": {
  13275. "description": "交易属性",
  13276. "type": "integer"
  13277. },
  13278. "tradeqty": {
  13279. "description": "成交数量",
  13280. "type": "integer"
  13281. },
  13282. "tradetime": {
  13283. "description": "成交时间",
  13284. "type": "string"
  13285. },
  13286. "tradetype": {
  13287. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13288. "type": "integer"
  13289. }
  13290. }
  13291. },
  13292. "order.QueryHisTradeOrderDetailRsp": {
  13293. "type": "object",
  13294. "required": [
  13295. "accountid",
  13296. "buildtype",
  13297. "buyorsell",
  13298. "goodsid",
  13299. "histradedate",
  13300. "marketid",
  13301. "memberuserid",
  13302. "operatetype",
  13303. "orderid",
  13304. "orderqty",
  13305. "ordertime",
  13306. "pricemode",
  13307. "tradedate",
  13308. "validtype"
  13309. ],
  13310. "properties": {
  13311. "accountid": {
  13312. "description": "账户ID[报价币种]",
  13313. "type": "integer"
  13314. },
  13315. "buildtype": {
  13316. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13317. "type": "integer"
  13318. },
  13319. "buyorsell": {
  13320. "description": "买卖 - 0:买 1:卖",
  13321. "type": "integer"
  13322. },
  13323. "cancelorderid": {
  13324. "description": "撤单单号(撤单时填写)",
  13325. "type": "string"
  13326. },
  13327. "cancelqty": {
  13328. "description": "撤单数量",
  13329. "type": "integer"
  13330. },
  13331. "clientordertime": {
  13332. "description": "客户端委托时间",
  13333. "type": "string"
  13334. },
  13335. "clientticket": {
  13336. "description": "客户端流水号",
  13337. "type": "string"
  13338. },
  13339. "clienttype": {
  13340. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13341. "type": "integer"
  13342. },
  13343. "closeexchagechargevalue": {
  13344. "description": "平仓交易所手续费设置值",
  13345. "type": "number"
  13346. },
  13347. "closefeealgorithm": {
  13348. "description": "平仓手续费收取方式 1:比率 2:固定",
  13349. "type": "integer"
  13350. },
  13351. "closefreezecharge": {
  13352. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13353. "type": "number"
  13354. },
  13355. "closememberchargevalue": {
  13356. "description": "平仓会员手续费设置值",
  13357. "type": "number"
  13358. },
  13359. "closeqty": {
  13360. "description": "平仓数量(先建后平操作 需要记录)",
  13361. "type": "integer"
  13362. },
  13363. "closetradeqty": {
  13364. "description": "平仓成交数量(先建后平操作,需要记录)",
  13365. "type": "integer"
  13366. },
  13367. "closeunfreezecharge": {
  13368. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13369. "type": "number"
  13370. },
  13371. "delistingtype": {
  13372. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13373. "type": "integer"
  13374. },
  13375. "freezecharge": {
  13376. "description": "冻结手续费",
  13377. "type": "number"
  13378. },
  13379. "freezemargin": {
  13380. "description": "冻结保证金(冻结交易金额)",
  13381. "type": "number"
  13382. },
  13383. "gcaccountid": {
  13384. "description": "账户ID[合约币种]",
  13385. "type": "integer"
  13386. },
  13387. "goodscode": {
  13388. "description": "商品代码",
  13389. "type": "string"
  13390. },
  13391. "goodsid": {
  13392. "description": "商品ID",
  13393. "type": "integer"
  13394. },
  13395. "goodsname": {
  13396. "description": "商品名称",
  13397. "type": "string"
  13398. },
  13399. "histradedate": {
  13400. "description": "历史交易日",
  13401. "type": "string"
  13402. },
  13403. "isconfirmexercise": {
  13404. "description": "是否确认行权- 0:否 1:是",
  13405. "type": "integer"
  13406. },
  13407. "ispreexercise": {
  13408. "description": "是否预申报- 0:否 1:是",
  13409. "type": "integer"
  13410. },
  13411. "isvaliddata": {
  13412. "description": "是否有效 - 0:无效 1:有效",
  13413. "type": "integer"
  13414. },
  13415. "listingselecttype": {
  13416. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13417. "type": "integer"
  13418. },
  13419. "marginalgorithm": {
  13420. "description": "保证金收取方式 1:比率 2:固定",
  13421. "type": "integer"
  13422. },
  13423. "marginvalue": {
  13424. "description": "即市保证金设置值",
  13425. "type": "number"
  13426. },
  13427. "marketid": {
  13428. "description": "市场ID",
  13429. "type": "integer"
  13430. },
  13431. "marketmaxsub": {
  13432. "description": "市价最大偏移范围",
  13433. "type": "number"
  13434. },
  13435. "marketname": {
  13436. "description": "市场名称",
  13437. "type": "string"
  13438. },
  13439. "memberuserid": {
  13440. "description": "所属会员UserID",
  13441. "type": "integer"
  13442. },
  13443. "openexchagechargevalue": {
  13444. "description": "建仓交易所手续费设置值",
  13445. "type": "number"
  13446. },
  13447. "openfeealgorithm": {
  13448. "description": "建仓手续费收取方式 1:比率 2:固定",
  13449. "type": "integer"
  13450. },
  13451. "openfreezecharge": {
  13452. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13453. "type": "number"
  13454. },
  13455. "openmemberchargevalue": {
  13456. "description": "建仓会员手续费设置值",
  13457. "type": "number"
  13458. },
  13459. "openqty": {
  13460. "description": "开仓数量(先建后平操作,需要记录)",
  13461. "type": "integer"
  13462. },
  13463. "opentradeqty": {
  13464. "description": "开仓成交数量(先建后平操作,需要记录)",
  13465. "type": "integer"
  13466. },
  13467. "openunfreezecharge": {
  13468. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13469. "type": "number"
  13470. },
  13471. "operatetype": {
  13472. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13473. "type": "integer"
  13474. },
  13475. "operatorid": {
  13476. "description": "登录账号(LoginID)",
  13477. "type": "integer"
  13478. },
  13479. "optiontype": {
  13480. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13481. "type": "integer"
  13482. },
  13483. "orderid": {
  13484. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13485. "type": "string"
  13486. },
  13487. "orderprice": {
  13488. "description": "委托价格",
  13489. "type": "number"
  13490. },
  13491. "orderqty": {
  13492. "description": "委托数量",
  13493. "type": "integer"
  13494. },
  13495. "ordersrc": {
  13496. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13497. "type": "integer"
  13498. },
  13499. "orderstatus": {
  13500. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13501. "type": "integer"
  13502. },
  13503. "ordertime": {
  13504. "description": "委托时间",
  13505. "type": "string"
  13506. },
  13507. "preexerciseprice": {
  13508. "description": "预申报价格",
  13509. "type": "number"
  13510. },
  13511. "premium": {
  13512. "description": "权利金",
  13513. "type": "number"
  13514. },
  13515. "preorderid": {
  13516. "description": "关联预埋单号(止盈止损单时填写)",
  13517. "type": "string"
  13518. },
  13519. "pricemode": {
  13520. "description": "取价方式 - 1:市价 2: 限价",
  13521. "type": "integer"
  13522. },
  13523. "quoteid": {
  13524. "description": "报价单ID",
  13525. "type": "integer"
  13526. },
  13527. "relatedid": {
  13528. "description": "关联单号(交割单)",
  13529. "type": "string"
  13530. },
  13531. "retcode": {
  13532. "description": "错误代码",
  13533. "type": "integer"
  13534. },
  13535. "sessionid": {
  13536. "description": "会话ID",
  13537. "type": "integer"
  13538. },
  13539. "tradedate": {
  13540. "description": "交易日(yyyyMMdd)",
  13541. "type": "string"
  13542. },
  13543. "trademode": {
  13544. "description": "交易模式",
  13545. "type": "integer"
  13546. },
  13547. "tradeproperty": {
  13548. "description": "交易属性",
  13549. "type": "integer"
  13550. },
  13551. "tradeqty": {
  13552. "description": "成交数量",
  13553. "type": "integer"
  13554. },
  13555. "unfreezecharge": {
  13556. "description": "解冻手续费",
  13557. "type": "number"
  13558. },
  13559. "unfreezemargin": {
  13560. "description": "解冻保证金",
  13561. "type": "number"
  13562. },
  13563. "updatetime": {
  13564. "description": "更新时间",
  13565. "type": "string"
  13566. },
  13567. "uuid": {
  13568. "description": "发起端唯一id",
  13569. "type": "string"
  13570. },
  13571. "validtime": {
  13572. "description": "有效期限",
  13573. "type": "string"
  13574. },
  13575. "validtype": {
  13576. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13577. "type": "integer"
  13578. },
  13579. "volumetype": {
  13580. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13581. "type": "integer"
  13582. }
  13583. }
  13584. },
  13585. "order.QueryTradeDetailRsp": {
  13586. "type": "object",
  13587. "required": [
  13588. "accountid",
  13589. "buyorsell",
  13590. "goodsid",
  13591. "marketid",
  13592. "memberuserid",
  13593. "orderid",
  13594. "tradeamount",
  13595. "tradedate",
  13596. "tradeid",
  13597. "tradeprice",
  13598. "tradeqty",
  13599. "tradetime"
  13600. ],
  13601. "properties": {
  13602. "accountid": {
  13603. "description": "账户ID[报价币种]",
  13604. "type": "integer"
  13605. },
  13606. "buildtype": {
  13607. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13608. "type": "integer"
  13609. },
  13610. "buyorsell": {
  13611. "description": "方向 - 0:买 1:卖",
  13612. "type": "integer"
  13613. },
  13614. "charge": {
  13615. "description": "手续费",
  13616. "type": "number"
  13617. },
  13618. "closecharge": {
  13619. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13620. "type": "number"
  13621. },
  13622. "closeexchagechargevalue": {
  13623. "description": "平仓交易所手续费设置值",
  13624. "type": "number"
  13625. },
  13626. "closefeealgorithm": {
  13627. "description": "平仓手续费收取方式 1:比率 2:固定",
  13628. "type": "integer"
  13629. },
  13630. "closememberchargevalue": {
  13631. "description": "平仓会员手续费设置值",
  13632. "type": "number"
  13633. },
  13634. "closepl": {
  13635. "description": "平仓盈亏",
  13636. "type": "number"
  13637. },
  13638. "closepl2": {
  13639. "description": "平仓盈亏[逐笔]",
  13640. "type": "number"
  13641. },
  13642. "closeqty": {
  13643. "description": "平仓数量(先建后平操作 需要记录)",
  13644. "type": "integer"
  13645. },
  13646. "creditamount": {
  13647. "description": "授信金额",
  13648. "type": "number"
  13649. },
  13650. "gcaccountid": {
  13651. "description": "账户ID[合约币种]",
  13652. "type": "integer"
  13653. },
  13654. "goodscode": {
  13655. "description": "商品代码",
  13656. "type": "string"
  13657. },
  13658. "goodsid": {
  13659. "description": "商品ID",
  13660. "type": "integer"
  13661. },
  13662. "goodsname": {
  13663. "description": "商品名称",
  13664. "type": "string"
  13665. },
  13666. "intclosepl": {
  13667. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13668. "type": "integer"
  13669. },
  13670. "isconfirmexercise": {
  13671. "description": "是否确认行权- 0:否 1:是",
  13672. "type": "integer"
  13673. },
  13674. "ismain": {
  13675. "description": "是否主单 - 0:不是 1:是",
  13676. "type": "integer"
  13677. },
  13678. "ispreexercise": {
  13679. "description": "是否预申报- 0:否 1:是",
  13680. "type": "integer"
  13681. },
  13682. "isreckoned": {
  13683. "description": "是否结算 - 0:未结算 1:已结算",
  13684. "type": "integer"
  13685. },
  13686. "listingselecttype": {
  13687. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13688. "type": "integer"
  13689. },
  13690. "marketid": {
  13691. "description": "市场ID",
  13692. "type": "integer"
  13693. },
  13694. "marketname": {
  13695. "description": "市场名称",
  13696. "type": "string"
  13697. },
  13698. "matchaccountid": {
  13699. "description": "对手账号id",
  13700. "type": "integer"
  13701. },
  13702. "memberuserid": {
  13703. "description": "会员id 个人投资者 需要填写",
  13704. "type": "integer"
  13705. },
  13706. "opencharge": {
  13707. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13708. "type": "number"
  13709. },
  13710. "openexchagechargevalue": {
  13711. "description": "建仓交易所手续费设置值",
  13712. "type": "number"
  13713. },
  13714. "openfeealgorithm": {
  13715. "description": "建仓手续费收取方式 1:比率 2:固定",
  13716. "type": "integer"
  13717. },
  13718. "openmemberchargevalue": {
  13719. "description": "建仓会员手续费设置值",
  13720. "type": "number"
  13721. },
  13722. "openqty": {
  13723. "description": "开仓数量(先建后平操作 需要记录)",
  13724. "type": "integer"
  13725. },
  13726. "optiontype": {
  13727. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13728. "type": "integer"
  13729. },
  13730. "orderid": {
  13731. "description": "委托单号",
  13732. "type": "string"
  13733. },
  13734. "performanceplanid": {
  13735. "description": "履约计划ID[期权]",
  13736. "type": "integer"
  13737. },
  13738. "performancestatus": {
  13739. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13740. "type": "integer"
  13741. },
  13742. "preexerciseprice": {
  13743. "description": "预申报价格",
  13744. "type": "number"
  13745. },
  13746. "premium": {
  13747. "description": "权利金 - [持仓单的权利金]",
  13748. "type": "number"
  13749. },
  13750. "relatedouttradeid": {
  13751. "description": "关联外部成交单ID",
  13752. "type": "integer"
  13753. },
  13754. "status": {
  13755. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13756. "type": "integer"
  13757. },
  13758. "tradeamount": {
  13759. "description": "成交金额[账户币种,用于所有权]",
  13760. "type": "number"
  13761. },
  13762. "tradedate": {
  13763. "description": "交易日(yyyyMMdd)",
  13764. "type": "string"
  13765. },
  13766. "tradeid": {
  13767. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13768. "type": "string"
  13769. },
  13770. "trademode": {
  13771. "description": "交易模式",
  13772. "type": "integer"
  13773. },
  13774. "tradeprice": {
  13775. "description": "成交价格",
  13776. "type": "number"
  13777. },
  13778. "tradeproperty": {
  13779. "description": "交易属性",
  13780. "type": "integer"
  13781. },
  13782. "tradeqty": {
  13783. "description": "成交数量",
  13784. "type": "integer"
  13785. },
  13786. "tradetime": {
  13787. "description": "成交时间",
  13788. "type": "string"
  13789. },
  13790. "tradetype": {
  13791. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13792. "type": "integer"
  13793. }
  13794. }
  13795. },
  13796. "order.QueryTradeOrderDetailRsp": {
  13797. "type": "object",
  13798. "required": [
  13799. "accountid",
  13800. "buildtype",
  13801. "buyorsell",
  13802. "goodsid",
  13803. "marketid",
  13804. "operatetype",
  13805. "orderqty",
  13806. "ordertime",
  13807. "pricemode",
  13808. "tradedate",
  13809. "validtype"
  13810. ],
  13811. "properties": {
  13812. "accountid": {
  13813. "description": "账户ID[报价币种]",
  13814. "type": "integer"
  13815. },
  13816. "buildtype": {
  13817. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13818. "type": "integer"
  13819. },
  13820. "buyorsell": {
  13821. "description": "买卖 - 0:买 1:卖",
  13822. "type": "integer"
  13823. },
  13824. "cancelorderid": {
  13825. "description": "撤单单号(撤单时填写)",
  13826. "type": "string"
  13827. },
  13828. "cancelqty": {
  13829. "description": "撤单数量",
  13830. "type": "integer"
  13831. },
  13832. "clienttype": {
  13833. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13834. "type": "integer"
  13835. },
  13836. "closefreezecharge": {
  13837. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13838. "type": "number"
  13839. },
  13840. "closeqty": {
  13841. "description": "平仓数量(先建后平操作 需要记录)",
  13842. "type": "integer"
  13843. },
  13844. "closetradeqty": {
  13845. "description": "平仓成交数量(先建后平操作,需要记录)",
  13846. "type": "integer"
  13847. },
  13848. "closeunfreezecharge": {
  13849. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13850. "type": "number"
  13851. },
  13852. "delistingtype": {
  13853. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13854. "type": "integer"
  13855. },
  13856. "enableqty": {
  13857. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13858. "type": "integer"
  13859. },
  13860. "freezecharge": {
  13861. "description": "冻结手续费",
  13862. "type": "number"
  13863. },
  13864. "freezemargin": {
  13865. "description": "冻结保证金(冻结交易金额)",
  13866. "type": "number"
  13867. },
  13868. "goodscode": {
  13869. "description": "商品代码",
  13870. "type": "string"
  13871. },
  13872. "goodsid": {
  13873. "description": "商品ID",
  13874. "type": "integer"
  13875. },
  13876. "goodsname": {
  13877. "description": "商品名称",
  13878. "type": "string"
  13879. },
  13880. "listingselecttype": {
  13881. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13882. "type": "integer"
  13883. },
  13884. "marketid": {
  13885. "description": "市场ID",
  13886. "type": "integer"
  13887. },
  13888. "marketname": {
  13889. "description": "市场名称",
  13890. "type": "string"
  13891. },
  13892. "openfreezecharge": {
  13893. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13894. "type": "number"
  13895. },
  13896. "openqty": {
  13897. "description": "开仓数量(先建后平操作,需要记录)",
  13898. "type": "integer"
  13899. },
  13900. "opentradeqty": {
  13901. "description": "开仓成交数量(先建后平操作,需要记录)",
  13902. "type": "integer"
  13903. },
  13904. "openunfreezecharge": {
  13905. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13906. "type": "number"
  13907. },
  13908. "operatetype": {
  13909. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13910. "type": "integer"
  13911. },
  13912. "operatorid": {
  13913. "description": "登录账号(LoginID)",
  13914. "type": "integer"
  13915. },
  13916. "orderid": {
  13917. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13918. "type": "string"
  13919. },
  13920. "orderprice": {
  13921. "description": "委托价格",
  13922. "type": "number"
  13923. },
  13924. "orderqty": {
  13925. "description": "委托数量",
  13926. "type": "integer"
  13927. },
  13928. "ordersrc": {
  13929. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13930. "type": "integer"
  13931. },
  13932. "orderstatus": {
  13933. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13934. "type": "integer"
  13935. },
  13936. "ordertime": {
  13937. "description": "委托时间",
  13938. "type": "string"
  13939. },
  13940. "preorderid": {
  13941. "description": "关联预埋单号(止盈止损单时填写)",
  13942. "type": "string"
  13943. },
  13944. "pricemode": {
  13945. "description": "取价方式 - 1:市价 2: 限价",
  13946. "type": "integer"
  13947. },
  13948. "relatedid": {
  13949. "description": "关联单号(交割单)",
  13950. "type": "string"
  13951. },
  13952. "tradedate": {
  13953. "description": "交易日(yyyyMMdd)",
  13954. "type": "string"
  13955. },
  13956. "trademode": {
  13957. "description": "交易模式",
  13958. "type": "integer"
  13959. },
  13960. "tradeqty": {
  13961. "description": "成交数量",
  13962. "type": "integer"
  13963. },
  13964. "unfreezecharge": {
  13965. "description": "解冻手续费",
  13966. "type": "number"
  13967. },
  13968. "unfreezemargin": {
  13969. "description": "解冻保证金",
  13970. "type": "number"
  13971. },
  13972. "validtime": {
  13973. "description": "有效期限",
  13974. "type": "string"
  13975. },
  13976. "validtype": {
  13977. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13978. "type": "integer"
  13979. },
  13980. "volumetype": {
  13981. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13982. "type": "integer"
  13983. }
  13984. }
  13985. },
  13986. "order.QueryTradePositionRsp": {
  13987. "type": "object",
  13988. "required": [
  13989. "goodsid"
  13990. ],
  13991. "properties": {
  13992. "accountid": {
  13993. "description": "资金账户",
  13994. "type": "integer"
  13995. },
  13996. "agreeunit": {
  13997. "description": "合约单位",
  13998. "type": "number"
  13999. },
  14000. "averageprice": {
  14001. "description": "持仓均价",
  14002. "type": "number"
  14003. },
  14004. "buyorsell": {
  14005. "description": "方向 - 0:买 1:卖",
  14006. "type": "integer"
  14007. },
  14008. "closetotalqty": {
  14009. "description": "平仓总数量",
  14010. "type": "integer"
  14011. },
  14012. "curholderamount": {
  14013. "description": "当前持仓总金额[商品币种]",
  14014. "type": "number"
  14015. },
  14016. "curpositionqty": {
  14017. "description": "当前持仓总数量",
  14018. "type": "integer"
  14019. },
  14020. "currencyid": {
  14021. "description": "报价货币ID",
  14022. "type": "integer"
  14023. },
  14024. "curtdposition": {
  14025. "description": "期末今日头寸",
  14026. "type": "integer"
  14027. },
  14028. "decimalplace": {
  14029. "description": "报价小数位",
  14030. "type": "integer"
  14031. },
  14032. "enableqty": {
  14033. "description": "可用量",
  14034. "type": "integer"
  14035. },
  14036. "fretdposition": {
  14037. "description": "冻结今日头寸",
  14038. "type": "integer"
  14039. },
  14040. "frozenqty": {
  14041. "description": "持仓冻结数量",
  14042. "type": "integer"
  14043. },
  14044. "goodscode": {
  14045. "description": "商品代码",
  14046. "type": "string"
  14047. },
  14048. "goodsid": {
  14049. "description": "商品Id",
  14050. "type": "integer"
  14051. },
  14052. "goodsname": {
  14053. "description": "商品名称",
  14054. "type": "string"
  14055. },
  14056. "goodunit": {
  14057. "description": "报价单位",
  14058. "type": "string"
  14059. },
  14060. "goodunitid": {
  14061. "description": "报价单位ID",
  14062. "type": "integer"
  14063. },
  14064. "holderamount": {
  14065. "description": "期初持仓总金额[商品币种]",
  14066. "type": "number"
  14067. },
  14068. "marketid": {
  14069. "description": "所属市场ID",
  14070. "type": "integer"
  14071. },
  14072. "openreqqty": {
  14073. "description": "开仓申请数量(用于比较最大持仓数量)",
  14074. "type": "integer"
  14075. },
  14076. "opentotalqty": {
  14077. "description": "开仓总数量",
  14078. "type": "integer"
  14079. },
  14080. "otherfrozenqty": {
  14081. "description": "持仓其他冻结数量(交割冻结)",
  14082. "type": "integer"
  14083. },
  14084. "positionqty": {
  14085. "description": "期初持仓数量",
  14086. "type": "integer"
  14087. },
  14088. "tnqty": {
  14089. "description": "T+N冻结总量",
  14090. "type": "integer"
  14091. },
  14092. "tnusedqty": {
  14093. "description": "T+N使用量(可以使用T+N的冻结数量)",
  14094. "type": "integer"
  14095. },
  14096. "trademode": {
  14097. "description": "交易模式",
  14098. "type": "integer"
  14099. },
  14100. "usedmargin": {
  14101. "description": "占用保证金[商品币种]",
  14102. "type": "number"
  14103. }
  14104. }
  14105. },
  14106. "quote.HistoryData": {
  14107. "type": "object",
  14108. "properties": {
  14109. "c": {
  14110. "description": "收盘价",
  14111. "type": "number"
  14112. },
  14113. "h": {
  14114. "description": "最高价",
  14115. "type": "number"
  14116. },
  14117. "hv": {
  14118. "description": "持仓量",
  14119. "type": "integer"
  14120. },
  14121. "l": {
  14122. "description": "最低价",
  14123. "type": "number"
  14124. },
  14125. "o": {
  14126. "description": "开盘价",
  14127. "type": "number"
  14128. },
  14129. "s": {
  14130. "description": "结算价,日线周期(包括)以上才有",
  14131. "type": "number"
  14132. },
  14133. "ts": {
  14134. "description": "时间",
  14135. "type": "string"
  14136. },
  14137. "tt": {
  14138. "description": "总金额",
  14139. "type": "number"
  14140. },
  14141. "tv": {
  14142. "description": "总量",
  14143. "type": "integer"
  14144. }
  14145. }
  14146. },
  14147. "quote.QueryTSDataRsp": {
  14148. "type": "object",
  14149. "properties": {
  14150. "decimalPlace": {
  14151. "description": "小数位",
  14152. "type": "integer"
  14153. },
  14154. "endTime": {
  14155. "description": "结束时间",
  14156. "type": "string"
  14157. },
  14158. "goodsCode": {
  14159. "description": "商品代码",
  14160. "type": "string"
  14161. },
  14162. "historyDatas": {
  14163. "description": "历史数据",
  14164. "type": "array",
  14165. "items": {
  14166. "$ref": "#/definitions/quote.HistoryData"
  14167. }
  14168. },
  14169. "preSettle": {
  14170. "description": "昨结",
  14171. "type": "number"
  14172. },
  14173. "startTime": {
  14174. "description": "开始时间",
  14175. "type": "string"
  14176. },
  14177. "tradeDate": {
  14178. "description": "交易日",
  14179. "type": "string"
  14180. }
  14181. }
  14182. },
  14183. "szdz.QueryConvertLogRsp": {
  14184. "type": "object",
  14185. "required": [
  14186. "logid"
  14187. ],
  14188. "properties": {
  14189. "accountid": {
  14190. "description": "资金账户ID",
  14191. "type": "integer"
  14192. },
  14193. "clientticket": {
  14194. "description": "客户端流水号",
  14195. "type": "string"
  14196. },
  14197. "converttype": {
  14198. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  14199. "type": "integer"
  14200. },
  14201. "createtime": {
  14202. "description": "记账时间",
  14203. "type": "string"
  14204. },
  14205. "daymaxvalue": {
  14206. "description": "配置当日最大转入限制",
  14207. "type": "number"
  14208. },
  14209. "daymaxvalue2": {
  14210. "description": "配置当日最大转入限制(转入)",
  14211. "type": "number"
  14212. },
  14213. "goodscode": {
  14214. "description": "商品代码",
  14215. "type": "string"
  14216. },
  14217. "goodsname": {
  14218. "description": "商品名称",
  14219. "type": "string"
  14220. },
  14221. "handlestatus": {
  14222. "description": "处理状态",
  14223. "type": "integer"
  14224. },
  14225. "innergoodsid": {
  14226. "description": "内部商品ID",
  14227. "type": "integer"
  14228. },
  14229. "inratio": {
  14230. "description": "配置转入比值",
  14231. "type": "integer"
  14232. },
  14233. "invalue": {
  14234. "description": "目标值",
  14235. "type": "number"
  14236. },
  14237. "logid": {
  14238. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14239. "type": "integer"
  14240. },
  14241. "mobile": {
  14242. "description": "手机号码(加密存储)",
  14243. "type": "string"
  14244. },
  14245. "outergoodscode": {
  14246. "description": "外部商品代码[JD\\PD]",
  14247. "type": "string"
  14248. },
  14249. "outratio": {
  14250. "description": "配置转出比值",
  14251. "type": "integer"
  14252. },
  14253. "outvalue": {
  14254. "description": "源值",
  14255. "type": "number"
  14256. },
  14257. "pddecimalplace": {
  14258. "description": "PD小数位",
  14259. "type": "integer"
  14260. },
  14261. "qty": {
  14262. "description": "数量",
  14263. "type": "string"
  14264. },
  14265. "remark": {
  14266. "description": "备注",
  14267. "type": "string"
  14268. },
  14269. "sessionid": {
  14270. "description": "会话ID",
  14271. "type": "integer"
  14272. },
  14273. "timemaxvalue": {
  14274. "description": "配置单次最大转入限制",
  14275. "type": "number"
  14276. },
  14277. "timemaxvalue2": {
  14278. "description": "配置单次最大转入限制(转入)",
  14279. "type": "number"
  14280. },
  14281. "timeminvalue": {
  14282. "description": "配置单次最小数量限制",
  14283. "type": "number"
  14284. },
  14285. "timeminvalue2": {
  14286. "description": "配置单次最小数量限制(转入)",
  14287. "type": "number"
  14288. },
  14289. "tradedate": {
  14290. "description": "交易日(yyyyMMdd)",
  14291. "type": "string"
  14292. },
  14293. "userid": {
  14294. "description": "用户ID",
  14295. "type": "integer"
  14296. }
  14297. }
  14298. },
  14299. "szdz.QueryGoodsPickupRsp": {
  14300. "type": "object",
  14301. "required": [
  14302. "takeorderid"
  14303. ],
  14304. "properties": {
  14305. "accountid": {
  14306. "description": "账户ID",
  14307. "type": "integer"
  14308. },
  14309. "address": {
  14310. "description": "提货人详细地址",
  14311. "type": "string"
  14312. },
  14313. "auditer": {
  14314. "description": "审核人",
  14315. "type": "integer"
  14316. },
  14317. "audittime": {
  14318. "description": "审核时间",
  14319. "type": "string"
  14320. },
  14321. "cardnum": {
  14322. "description": "提货人证件号码",
  14323. "type": "string"
  14324. },
  14325. "cardtypeid": {
  14326. "description": "提货人证件类型",
  14327. "type": "integer"
  14328. },
  14329. "checkremark": {
  14330. "description": "审核备注",
  14331. "type": "string"
  14332. },
  14333. "goodscode": {
  14334. "description": "商品代码",
  14335. "type": "string"
  14336. },
  14337. "goodsid": {
  14338. "description": "商品ID",
  14339. "type": "integer"
  14340. },
  14341. "goodsname": {
  14342. "description": "商品名称",
  14343. "type": "string"
  14344. },
  14345. "handlestatus": {
  14346. "description": "处理状态",
  14347. "type": "integer"
  14348. },
  14349. "marketid": {
  14350. "description": "市场ID",
  14351. "type": "integer"
  14352. },
  14353. "phonenum": {
  14354. "description": "提货人联系方式",
  14355. "type": "string"
  14356. },
  14357. "qty": {
  14358. "description": "提货数量",
  14359. "type": "number"
  14360. },
  14361. "recivername": {
  14362. "description": "提货人姓名",
  14363. "type": "string"
  14364. },
  14365. "reqtime": {
  14366. "description": "更新时间",
  14367. "type": "string"
  14368. },
  14369. "takemode": {
  14370. "description": "提货方式 - 2:自提 3:配送",
  14371. "type": "integer"
  14372. },
  14373. "takeorderid": {
  14374. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14375. "type": "string"
  14376. },
  14377. "takeorderstatus": {
  14378. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14379. "type": "integer"
  14380. },
  14381. "takeremark": {
  14382. "description": "提货备注",
  14383. "type": "string"
  14384. },
  14385. "tradedate": {
  14386. "description": "交易日(yyyyMMdd)",
  14387. "type": "string"
  14388. },
  14389. "userid": {
  14390. "description": "用户ID",
  14391. "type": "integer"
  14392. }
  14393. }
  14394. },
  14395. "szdz.QueryRecieptOrderRsp": {
  14396. "type": "object",
  14397. "required": [
  14398. "ordertime"
  14399. ],
  14400. "properties": {
  14401. "accountName": {
  14402. "description": "所属账号名称(已脱敏)",
  14403. "type": "string"
  14404. },
  14405. "accountid": {
  14406. "description": "资金账号",
  14407. "type": "integer"
  14408. },
  14409. "buyorsell": {
  14410. "description": "方向 - 0:买 1:卖",
  14411. "type": "integer"
  14412. },
  14413. "enableqty": {
  14414. "description": "可摘数量",
  14415. "type": "integer"
  14416. },
  14417. "goodscode": {
  14418. "description": "商品代码",
  14419. "type": "string"
  14420. },
  14421. "goodsid": {
  14422. "description": "商品ID",
  14423. "type": "integer"
  14424. },
  14425. "goodsname": {
  14426. "description": "商品名称",
  14427. "type": "string"
  14428. },
  14429. "orderid": {
  14430. "description": "委托单号",
  14431. "type": "string"
  14432. },
  14433. "orderprice": {
  14434. "description": "委托价格",
  14435. "type": "number"
  14436. },
  14437. "ordertime": {
  14438. "description": "委托时间",
  14439. "type": "string"
  14440. },
  14441. "tradedate": {
  14442. "description": "交易日(yyyyMMdd)",
  14443. "type": "string"
  14444. }
  14445. }
  14446. },
  14447. "szdz.QuerySZDZTradePositionRsp": {
  14448. "type": "object",
  14449. "properties": {
  14450. "accountid": {
  14451. "description": "账号Id",
  14452. "type": "integer"
  14453. },
  14454. "agreeunit": {
  14455. "description": "合约单位",
  14456. "type": "number"
  14457. },
  14458. "averageprice": {
  14459. "description": "持仓均价",
  14460. "type": "number"
  14461. },
  14462. "buyorsell": {
  14463. "description": "方向 - 0:买 1:卖",
  14464. "type": "integer"
  14465. },
  14466. "closetotalqty": {
  14467. "description": "平仓总数量",
  14468. "type": "integer"
  14469. },
  14470. "curholderamount": {
  14471. "description": "当前持仓总金额",
  14472. "type": "number"
  14473. },
  14474. "curpositionqty": {
  14475. "description": "当前持仓总数量",
  14476. "type": "integer"
  14477. },
  14478. "currencyid": {
  14479. "description": "报价货币ID",
  14480. "type": "integer"
  14481. },
  14482. "curtdposition": {
  14483. "description": "期末今日头寸",
  14484. "type": "integer"
  14485. },
  14486. "decimalplace": {
  14487. "description": "报价小数位",
  14488. "type": "integer"
  14489. },
  14490. "enableqty": {
  14491. "description": "可用量",
  14492. "type": "integer"
  14493. },
  14494. "fretdposition": {
  14495. "description": "冻结今日头寸",
  14496. "type": "integer"
  14497. },
  14498. "frozenqty": {
  14499. "description": "持仓冻结数量",
  14500. "type": "integer"
  14501. },
  14502. "goodscode": {
  14503. "description": "商品代码(内部)",
  14504. "type": "string"
  14505. },
  14506. "goodsid": {
  14507. "description": "商品Id",
  14508. "type": "integer"
  14509. },
  14510. "goodsname": {
  14511. "description": "商品名称",
  14512. "type": "string"
  14513. },
  14514. "goodunit": {
  14515. "description": "报价单位",
  14516. "type": "string"
  14517. },
  14518. "goodunitid": {
  14519. "description": "报价单位ID",
  14520. "type": "integer"
  14521. },
  14522. "holderamount": {
  14523. "description": "期初持仓总金额",
  14524. "type": "number"
  14525. },
  14526. "marketid": {
  14527. "description": "市场ID",
  14528. "type": "integer"
  14529. },
  14530. "openreqqty": {
  14531. "description": "开仓申请数量",
  14532. "type": "integer"
  14533. },
  14534. "opentotalqty": {
  14535. "description": "开仓总数量",
  14536. "type": "integer"
  14537. },
  14538. "otherfrozenqty": {
  14539. "description": "持仓其他冻结数量(交割冻结)",
  14540. "type": "integer"
  14541. },
  14542. "positionqty": {
  14543. "description": "期初持仓数量",
  14544. "type": "integer"
  14545. },
  14546. "szdz3freezqty": {
  14547. "description": "尚志大宗转换冻结总数量",
  14548. "type": "integer"
  14549. },
  14550. "tnqty": {
  14551. "description": "T+N冻结总量",
  14552. "type": "integer"
  14553. },
  14554. "tnusedqty": {
  14555. "description": "T+N使用量",
  14556. "type": "integer"
  14557. },
  14558. "trademode": {
  14559. "description": "交易模式",
  14560. "type": "integer"
  14561. },
  14562. "usedmargin": {
  14563. "description": "占用保证金",
  14564. "type": "number"
  14565. }
  14566. }
  14567. },
  14568. "taaccount.QueryAmountLogRsp": {
  14569. "type": "object",
  14570. "required": [
  14571. "accountid",
  14572. "amount",
  14573. "amountadjusttype",
  14574. "autoid",
  14575. "balance",
  14576. "createtime",
  14577. "currentbalance",
  14578. "operatetype"
  14579. ],
  14580. "properties": {
  14581. "OPERATETYPENAME": {
  14582. "description": "资金操作类型名称",
  14583. "type": "string"
  14584. },
  14585. "accountid": {
  14586. "description": "资金账户ID",
  14587. "type": "integer"
  14588. },
  14589. "agoodscode": {
  14590. "description": "竞拍商品代码",
  14591. "type": "string"
  14592. },
  14593. "agoodsname": {
  14594. "description": "竞拍商品名称",
  14595. "type": "string"
  14596. },
  14597. "amount": {
  14598. "description": "资金金额",
  14599. "type": "number"
  14600. },
  14601. "amountadjusttype": {
  14602. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14603. "type": "integer"
  14604. },
  14605. "autoid": {
  14606. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14607. "type": "integer"
  14608. },
  14609. "balance": {
  14610. "description": "期初余额",
  14611. "type": "number"
  14612. },
  14613. "businesscode": {
  14614. "description": "业务编号",
  14615. "type": "integer"
  14616. },
  14617. "createtime": {
  14618. "description": "发生时间",
  14619. "type": "string"
  14620. },
  14621. "currencyid": {
  14622. "description": "币种ID",
  14623. "type": "integer"
  14624. },
  14625. "currentbalance": {
  14626. "description": "期末余额(变动后金额)",
  14627. "type": "number"
  14628. },
  14629. "dgoodscode": {
  14630. "description": "交割商品代码",
  14631. "type": "string"
  14632. },
  14633. "dgoodsname": {
  14634. "description": "交割商品名称",
  14635. "type": "string"
  14636. },
  14637. "goodscode": {
  14638. "description": "商品代码",
  14639. "type": "string"
  14640. },
  14641. "goodsid": {
  14642. "description": "商品ID",
  14643. "type": "integer"
  14644. },
  14645. "goodsname": {
  14646. "description": "商品名称",
  14647. "type": "string"
  14648. },
  14649. "marketid": {
  14650. "description": "市场ID",
  14651. "type": "integer"
  14652. },
  14653. "marketname": {
  14654. "description": "市场名称",
  14655. "type": "string"
  14656. },
  14657. "moneyticket": {
  14658. "description": "资金流水号:银行端流水号",
  14659. "type": "integer"
  14660. },
  14661. "operatetype": {
  14662. "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:营销收款",
  14663. "type": "integer"
  14664. },
  14665. "relationorderid": {
  14666. "description": "关联单号",
  14667. "type": "string"
  14668. },
  14669. "remark": {
  14670. "description": "备注",
  14671. "type": "string"
  14672. },
  14673. "trademode": {
  14674. "description": "交易模式",
  14675. "type": "integer"
  14676. }
  14677. }
  14678. },
  14679. "taaccount.QueryHisAmountLogRsp": {
  14680. "type": "object",
  14681. "required": [
  14682. "accountid",
  14683. "amount",
  14684. "amountadjusttype",
  14685. "autoid",
  14686. "balance",
  14687. "createtime",
  14688. "currentbalance",
  14689. "histradedate",
  14690. "operatetype"
  14691. ],
  14692. "properties": {
  14693. "OPERATETYPENAME": {
  14694. "description": "资金操作类型名称",
  14695. "type": "string"
  14696. },
  14697. "accountid": {
  14698. "description": "资金账户ID",
  14699. "type": "integer"
  14700. },
  14701. "agoodscode": {
  14702. "description": "竞拍商品代码",
  14703. "type": "string"
  14704. },
  14705. "agoodsname": {
  14706. "description": "竞拍商品名称",
  14707. "type": "string"
  14708. },
  14709. "amount": {
  14710. "description": "资金金额",
  14711. "type": "number"
  14712. },
  14713. "amountadjusttype": {
  14714. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14715. "type": "integer"
  14716. },
  14717. "autoid": {
  14718. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14719. "type": "integer"
  14720. },
  14721. "balance": {
  14722. "description": "期初余额",
  14723. "type": "number"
  14724. },
  14725. "businesscode": {
  14726. "description": "业务编号",
  14727. "type": "integer"
  14728. },
  14729. "createtime": {
  14730. "description": "发生时间",
  14731. "type": "string"
  14732. },
  14733. "currencyid": {
  14734. "description": "币种ID",
  14735. "type": "integer"
  14736. },
  14737. "currentbalance": {
  14738. "description": "期末余额(变动后金额)",
  14739. "type": "number"
  14740. },
  14741. "dgoodscode": {
  14742. "description": "交割商品代码",
  14743. "type": "string"
  14744. },
  14745. "dgoodsname": {
  14746. "description": "交割商品名称",
  14747. "type": "string"
  14748. },
  14749. "goodscode": {
  14750. "description": "商品代码",
  14751. "type": "string"
  14752. },
  14753. "goodsid": {
  14754. "description": "商品ID",
  14755. "type": "integer"
  14756. },
  14757. "goodsname": {
  14758. "description": "商品名称",
  14759. "type": "string"
  14760. },
  14761. "histradedate": {
  14762. "description": "历史交易日",
  14763. "type": "string"
  14764. },
  14765. "isvaliddata": {
  14766. "description": "是否有效 - 0:无效 1:有效",
  14767. "type": "integer"
  14768. },
  14769. "marketid": {
  14770. "description": "市场ID",
  14771. "type": "integer"
  14772. },
  14773. "marketname": {
  14774. "description": "市场名称",
  14775. "type": "string"
  14776. },
  14777. "moneyticket": {
  14778. "description": "资金流水号:银行端流水号",
  14779. "type": "integer"
  14780. },
  14781. "operatetype": {
  14782. "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:营销收款",
  14783. "type": "integer"
  14784. },
  14785. "relationorderid": {
  14786. "description": "关联单号",
  14787. "type": "string"
  14788. },
  14789. "remark": {
  14790. "description": "备注",
  14791. "type": "string"
  14792. },
  14793. "trademode": {
  14794. "description": "交易模式",
  14795. "type": "integer"
  14796. }
  14797. }
  14798. },
  14799. "trade.QueryRecieptOrderRsp": {
  14800. "type": "object",
  14801. "required": [
  14802. "ordertime"
  14803. ],
  14804. "properties": {
  14805. "accountName": {
  14806. "description": "所属账号名称(已脱敏)",
  14807. "type": "string"
  14808. },
  14809. "accountid": {
  14810. "description": "资金账号",
  14811. "type": "integer"
  14812. },
  14813. "buyorsell": {
  14814. "description": "方向 - 0:买 1:卖",
  14815. "type": "integer"
  14816. },
  14817. "enableqty": {
  14818. "description": "可摘数量",
  14819. "type": "integer"
  14820. },
  14821. "goodscode": {
  14822. "description": "商品代码",
  14823. "type": "string"
  14824. },
  14825. "goodsid": {
  14826. "description": "商品ID",
  14827. "type": "integer"
  14828. },
  14829. "goodsname": {
  14830. "description": "商品名称",
  14831. "type": "string"
  14832. },
  14833. "orderid": {
  14834. "description": "委托单号",
  14835. "type": "string"
  14836. },
  14837. "orderprice": {
  14838. "description": "委托价格",
  14839. "type": "number"
  14840. },
  14841. "ordertime": {
  14842. "description": "委托时间",
  14843. "type": "string"
  14844. },
  14845. "tradedate": {
  14846. "description": "交易日(yyyyMMdd)",
  14847. "type": "string"
  14848. }
  14849. }
  14850. }
  14851. },
  14852. "securityDefinitions": {
  14853. "ApiKeyAuth": {
  14854. "type": "apiKey",
  14855. "name": "Authorization",
  14856. "in": "header"
  14857. }
  14858. }
  14859. }`
  14860. type swaggerInfo struct {
  14861. Version string
  14862. Host string
  14863. BasePath string
  14864. Schemes []string
  14865. Title string
  14866. Description string
  14867. }
  14868. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14869. var SwaggerInfo = swaggerInfo{
  14870. Version: "1.0",
  14871. Host: "",
  14872. BasePath: "/api",
  14873. Schemes: []string{},
  14874. Title: "MTP2.0 查询服务 API",
  14875. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14876. }
  14877. type s struct{}
  14878. func (s *s) ReadDoc() string {
  14879. sInfo := SwaggerInfo
  14880. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14881. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14882. "marshal": func(v interface{}) string {
  14883. a, _ := json.Marshal(v)
  14884. return string(a)
  14885. },
  14886. }).Parse(doc)
  14887. if err != nil {
  14888. return doc
  14889. }
  14890. var tpl bytes.Buffer
  14891. if err := t.Execute(&tpl, sInfo); err != nil {
  14892. return doc
  14893. }
  14894. return tpl.String()
  14895. }
  14896. func init() {
  14897. swag.Register(swag.Name, &s{})
  14898. }