docs.go 668 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569
  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. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "integer",
  807. "description": "已存末尾商品编号",
  808. "name": "lastID",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/QryReportDayExposure": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "用户ID",
  846. "name": "userid",
  847. "in": "query",
  848. "required": true
  849. },
  850. {
  851. "type": "string",
  852. "description": "交易日(格式:yyyyMMdd)",
  853. "name": "tradedate",
  854. "in": "query",
  855. "required": true
  856. }
  857. ],
  858. "responses": {
  859. "200": {
  860. "description": "OK",
  861. "schema": {
  862. "type": "array",
  863. "items": {
  864. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  865. }
  866. }
  867. },
  868. "500": {
  869. "description": "Internal Server Error",
  870. "schema": {
  871. "$ref": "#/definitions/app.Response"
  872. }
  873. }
  874. }
  875. }
  876. },
  877. "/Ermcp/QryReportDayFinance": {
  878. "get": {
  879. "security": [
  880. {
  881. "ApiKeyAuth": []
  882. }
  883. ],
  884. "produces": [
  885. "application/json"
  886. ],
  887. "tags": [
  888. "企业风险管理(app)"
  889. ],
  890. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  891. "parameters": [
  892. {
  893. "type": "integer",
  894. "description": "用户ID",
  895. "name": "userid",
  896. "in": "query",
  897. "required": true
  898. },
  899. {
  900. "type": "string",
  901. "description": "交易日(格式:yyyyMMdd)",
  902. "name": "tradedate",
  903. "in": "query",
  904. "required": true
  905. }
  906. ],
  907. "responses": {
  908. "200": {
  909. "description": "OK",
  910. "schema": {
  911. "type": "array",
  912. "items": {
  913. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  914. }
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/QryReportDayFinanceFp": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "用户ID",
  944. "name": "userid",
  945. "in": "query",
  946. "required": true
  947. },
  948. {
  949. "type": "string",
  950. "description": "交易日(格式:yyyyMMdd)",
  951. "name": "tradedate",
  952. "in": "query",
  953. "required": true
  954. }
  955. ],
  956. "responses": {
  957. "200": {
  958. "description": "OK",
  959. "schema": {
  960. "type": "array",
  961. "items": {
  962. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  963. }
  964. }
  965. },
  966. "500": {
  967. "description": "Internal Server Error",
  968. "schema": {
  969. "$ref": "#/definitions/app.Response"
  970. }
  971. }
  972. }
  973. }
  974. },
  975. "/Ermcp/QryReportDayFinanceKx": {
  976. "get": {
  977. "security": [
  978. {
  979. "ApiKeyAuth": []
  980. }
  981. ],
  982. "produces": [
  983. "application/json"
  984. ],
  985. "tags": [
  986. "企业风险管理(app)"
  987. ],
  988. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  989. "parameters": [
  990. {
  991. "type": "integer",
  992. "description": "用户ID",
  993. "name": "userid",
  994. "in": "query",
  995. "required": true
  996. },
  997. {
  998. "type": "string",
  999. "description": "交易日(格式:yyyyMMdd)",
  1000. "name": "tradedate",
  1001. "in": "query",
  1002. "required": true
  1003. }
  1004. ],
  1005. "responses": {
  1006. "200": {
  1007. "description": "OK",
  1008. "schema": {
  1009. "type": "array",
  1010. "items": {
  1011. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1012. }
  1013. }
  1014. },
  1015. "500": {
  1016. "description": "Internal Server Error",
  1017. "schema": {
  1018. "$ref": "#/definitions/app.Response"
  1019. }
  1020. }
  1021. }
  1022. }
  1023. },
  1024. "/Ermcp/QryReportDaySpot": {
  1025. "get": {
  1026. "security": [
  1027. {
  1028. "ApiKeyAuth": []
  1029. }
  1030. ],
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "企业风险管理(app)"
  1036. ],
  1037. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1038. "parameters": [
  1039. {
  1040. "type": "integer",
  1041. "description": "用户ID",
  1042. "name": "userid",
  1043. "in": "query",
  1044. "required": true
  1045. },
  1046. {
  1047. "type": "string",
  1048. "description": "交易日(格式:yyyyMMdd)",
  1049. "name": "tradedate",
  1050. "in": "query",
  1051. "required": true
  1052. }
  1053. ],
  1054. "responses": {
  1055. "200": {
  1056. "description": "OK",
  1057. "schema": {
  1058. "type": "array",
  1059. "items": {
  1060. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1061. }
  1062. }
  1063. },
  1064. "500": {
  1065. "description": "Internal Server Error",
  1066. "schema": {
  1067. "$ref": "#/definitions/app.Response"
  1068. }
  1069. }
  1070. }
  1071. }
  1072. },
  1073. "/Ermcp/QryReportDaySpotDetail": {
  1074. "get": {
  1075. "security": [
  1076. {
  1077. "ApiKeyAuth": []
  1078. }
  1079. ],
  1080. "produces": [
  1081. "application/json"
  1082. ],
  1083. "tags": [
  1084. "企业风险管理(app)"
  1085. ],
  1086. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1087. "parameters": [
  1088. {
  1089. "type": "integer",
  1090. "description": "用户ID",
  1091. "name": "userid",
  1092. "in": "query",
  1093. "required": true
  1094. },
  1095. {
  1096. "type": "integer",
  1097. "description": "现货商品id",
  1098. "name": "wrstandardid",
  1099. "in": "query",
  1100. "required": true
  1101. },
  1102. {
  1103. "type": "string",
  1104. "description": "交易日(格式:yyyyMMdd)",
  1105. "name": "tradedate",
  1106. "in": "query",
  1107. "required": true
  1108. }
  1109. ],
  1110. "responses": {
  1111. "200": {
  1112. "description": "OK",
  1113. "schema": {
  1114. "type": "array",
  1115. "items": {
  1116. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1117. }
  1118. }
  1119. },
  1120. "500": {
  1121. "description": "Internal Server Error",
  1122. "schema": {
  1123. "$ref": "#/definitions/app.Response"
  1124. }
  1125. }
  1126. }
  1127. }
  1128. },
  1129. "/Ermcp/QryReportMonthFinance": {
  1130. "get": {
  1131. "security": [
  1132. {
  1133. "ApiKeyAuth": []
  1134. }
  1135. ],
  1136. "produces": [
  1137. "application/json"
  1138. ],
  1139. "tags": [
  1140. "企业风险管理(app)"
  1141. ],
  1142. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1143. "parameters": [
  1144. {
  1145. "type": "integer",
  1146. "description": "用户ID",
  1147. "name": "userid",
  1148. "in": "query",
  1149. "required": true
  1150. },
  1151. {
  1152. "type": "string",
  1153. "description": "周期时间:月(格式:yyyyMM)",
  1154. "name": "cycletime",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "type": "array",
  1164. "items": {
  1165. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1166. }
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/Ermcp/QryReportMonthSpot": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "企业风险管理(app)"
  1190. ],
  1191. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1192. "parameters": [
  1193. {
  1194. "type": "integer",
  1195. "description": "用户ID",
  1196. "name": "userid",
  1197. "in": "query",
  1198. "required": true
  1199. },
  1200. {
  1201. "type": "string",
  1202. "description": "周期时间:月(格式:yyyyMM)",
  1203. "name": "cycletime",
  1204. "in": "query",
  1205. "required": true
  1206. }
  1207. ],
  1208. "responses": {
  1209. "200": {
  1210. "description": "OK",
  1211. "schema": {
  1212. "type": "array",
  1213. "items": {
  1214. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1215. }
  1216. }
  1217. },
  1218. "500": {
  1219. "description": "Internal Server Error",
  1220. "schema": {
  1221. "$ref": "#/definitions/app.Response"
  1222. }
  1223. }
  1224. }
  1225. }
  1226. },
  1227. "/Ermcp/QryReportMonthSpotDetail": {
  1228. "get": {
  1229. "security": [
  1230. {
  1231. "ApiKeyAuth": []
  1232. }
  1233. ],
  1234. "produces": [
  1235. "application/json"
  1236. ],
  1237. "tags": [
  1238. "企业风险管理(app)"
  1239. ],
  1240. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1241. "parameters": [
  1242. {
  1243. "type": "integer",
  1244. "description": "用户ID",
  1245. "name": "userid",
  1246. "in": "query",
  1247. "required": true
  1248. },
  1249. {
  1250. "type": "integer",
  1251. "description": "现货商品id",
  1252. "name": "wrstandardid",
  1253. "in": "query",
  1254. "required": true
  1255. },
  1256. {
  1257. "type": "string",
  1258. "description": "周期时间:月(格式:yyyyMM)",
  1259. "name": "cycletime",
  1260. "in": "query",
  1261. "required": true
  1262. }
  1263. ],
  1264. "responses": {
  1265. "200": {
  1266. "description": "OK",
  1267. "schema": {
  1268. "type": "array",
  1269. "items": {
  1270. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1271. }
  1272. }
  1273. },
  1274. "500": {
  1275. "description": "Internal Server Error",
  1276. "schema": {
  1277. "$ref": "#/definitions/app.Response"
  1278. }
  1279. }
  1280. }
  1281. }
  1282. },
  1283. "/Ermcp/QueryAvaildGoodsGroup": {
  1284. "get": {
  1285. "security": [
  1286. {
  1287. "ApiKeyAuth": []
  1288. }
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "企业风险管理(app)"
  1295. ],
  1296. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1297. "parameters": [
  1298. {
  1299. "type": "integer",
  1300. "description": "所属机构ID",
  1301. "name": "userid",
  1302. "in": "query",
  1303. "required": true
  1304. }
  1305. ],
  1306. "responses": {
  1307. "200": {
  1308. "description": "OK",
  1309. "schema": {
  1310. "type": "array",
  1311. "items": {
  1312. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1313. }
  1314. }
  1315. },
  1316. "500": {
  1317. "description": "Internal Server Error",
  1318. "schema": {
  1319. "$ref": "#/definitions/app.Response"
  1320. }
  1321. }
  1322. }
  1323. }
  1324. },
  1325. "/Ermcp/QueryBusinessDj": {
  1326. "get": {
  1327. "security": [
  1328. {
  1329. "ApiKeyAuth": []
  1330. }
  1331. ],
  1332. "produces": [
  1333. "application/json"
  1334. ],
  1335. "tags": [
  1336. "企业风险管理(app)"
  1337. ],
  1338. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1339. "parameters": [
  1340. {
  1341. "type": "integer",
  1342. "description": "用户ID",
  1343. "name": "UserId",
  1344. "in": "query",
  1345. "required": true
  1346. },
  1347. {
  1348. "type": "string",
  1349. "description": "现货合同ID, 不填则查所有",
  1350. "name": "relatedid",
  1351. "in": "query"
  1352. }
  1353. ],
  1354. "responses": {
  1355. "200": {
  1356. "description": "OK",
  1357. "schema": {
  1358. "type": "array",
  1359. "items": {
  1360. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1361. }
  1362. }
  1363. },
  1364. "500": {
  1365. "description": "Internal Server Error",
  1366. "schema": {
  1367. "$ref": "#/definitions/app.Response"
  1368. }
  1369. }
  1370. }
  1371. }
  1372. },
  1373. "/Ermcp/QueryBusinessFp": {
  1374. "get": {
  1375. "security": [
  1376. {
  1377. "ApiKeyAuth": []
  1378. }
  1379. ],
  1380. "produces": [
  1381. "application/json"
  1382. ],
  1383. "tags": [
  1384. "企业风险管理(app)"
  1385. ],
  1386. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1387. "parameters": [
  1388. {
  1389. "type": "integer",
  1390. "description": "用户ID",
  1391. "name": "UserId",
  1392. "in": "query",
  1393. "required": true
  1394. },
  1395. {
  1396. "type": "string",
  1397. "description": "现货合同ID, 不填则查所有",
  1398. "name": "relatedid",
  1399. "in": "query"
  1400. }
  1401. ],
  1402. "responses": {
  1403. "200": {
  1404. "description": "OK",
  1405. "schema": {
  1406. "type": "array",
  1407. "items": {
  1408. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1409. }
  1410. }
  1411. },
  1412. "500": {
  1413. "description": "Internal Server Error",
  1414. "schema": {
  1415. "$ref": "#/definitions/app.Response"
  1416. }
  1417. }
  1418. }
  1419. }
  1420. },
  1421. "/Ermcp/QueryBusinessJs": {
  1422. "get": {
  1423. "security": [
  1424. {
  1425. "ApiKeyAuth": []
  1426. }
  1427. ],
  1428. "produces": [
  1429. "application/json"
  1430. ],
  1431. "tags": [
  1432. "企业风险管理(app)"
  1433. ],
  1434. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1435. "parameters": [
  1436. {
  1437. "type": "integer",
  1438. "description": "用户ID",
  1439. "name": "UserId",
  1440. "in": "query",
  1441. "required": true
  1442. },
  1443. {
  1444. "type": "string",
  1445. "description": "现货合同ID, 不填则查所有",
  1446. "name": "relatedid",
  1447. "in": "query"
  1448. }
  1449. ],
  1450. "responses": {
  1451. "200": {
  1452. "description": "OK",
  1453. "schema": {
  1454. "type": "array",
  1455. "items": {
  1456. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1457. }
  1458. }
  1459. },
  1460. "500": {
  1461. "description": "Internal Server Error",
  1462. "schema": {
  1463. "$ref": "#/definitions/app.Response"
  1464. }
  1465. }
  1466. }
  1467. }
  1468. },
  1469. "/Ermcp/QueryBusinessJsEx": {
  1470. "get": {
  1471. "security": [
  1472. {
  1473. "ApiKeyAuth": []
  1474. }
  1475. ],
  1476. "produces": [
  1477. "application/json"
  1478. ],
  1479. "tags": [
  1480. "企业风险管理(app)"
  1481. ],
  1482. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1483. "parameters": [
  1484. {
  1485. "type": "integer",
  1486. "description": "用户ID",
  1487. "name": "UserId",
  1488. "in": "query",
  1489. "required": true
  1490. },
  1491. {
  1492. "type": "string",
  1493. "description": "现货合同ID, 不填则查所有",
  1494. "name": "relatedid",
  1495. "in": "query"
  1496. }
  1497. ],
  1498. "responses": {
  1499. "200": {
  1500. "description": "OK",
  1501. "schema": {
  1502. "type": "array",
  1503. "items": {
  1504. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1505. }
  1506. }
  1507. },
  1508. "500": {
  1509. "description": "Internal Server Error",
  1510. "schema": {
  1511. "$ref": "#/definitions/app.Response"
  1512. }
  1513. }
  1514. }
  1515. }
  1516. },
  1517. "/Ermcp/QueryBusinessKx": {
  1518. "get": {
  1519. "security": [
  1520. {
  1521. "ApiKeyAuth": []
  1522. }
  1523. ],
  1524. "produces": [
  1525. "application/json"
  1526. ],
  1527. "tags": [
  1528. "企业风险管理(app)"
  1529. ],
  1530. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1531. "parameters": [
  1532. {
  1533. "type": "integer",
  1534. "description": "用户ID",
  1535. "name": "UserId",
  1536. "in": "query",
  1537. "required": true
  1538. },
  1539. {
  1540. "type": "string",
  1541. "description": "现货合同ID, 不填则查所有",
  1542. "name": "relatedid",
  1543. "in": "query"
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QueryChangeLog": {
  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": "string",
  1582. "description": "合同ID",
  1583. "name": "RelatedId",
  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.QryOPLogRsp"
  1595. }
  1596. }
  1597. },
  1598. "500": {
  1599. "description": "Internal Server Error",
  1600. "schema": {
  1601. "$ref": "#/definitions/app.Response"
  1602. }
  1603. }
  1604. }
  1605. }
  1606. },
  1607. "/Ermcp/QueryContract": {
  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": "userId",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "合同类型 1-采购, -1-销售",
  1632. "name": "contracttype",
  1633. "in": "query",
  1634. "required": true
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1639. "name": "querytype",
  1640. "in": "query",
  1641. "required": true
  1642. }
  1643. ],
  1644. "responses": {
  1645. "200": {
  1646. "description": "OK",
  1647. "schema": {
  1648. "type": "array",
  1649. "items": {
  1650. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1651. }
  1652. }
  1653. },
  1654. "500": {
  1655. "description": "Internal Server Error",
  1656. "schema": {
  1657. "$ref": "#/definitions/app.Response"
  1658. }
  1659. }
  1660. }
  1661. }
  1662. },
  1663. "/Ermcp/QueryErmcpHisOrderDetails": {
  1664. "get": {
  1665. "security": [
  1666. {
  1667. "ApiKeyAuth": []
  1668. }
  1669. ],
  1670. "produces": [
  1671. "application/json"
  1672. ],
  1673. "tags": [
  1674. "企业风险管理(app)"
  1675. ],
  1676. "summary": "获取企业风管期货历史委托单信息",
  1677. "parameters": [
  1678. {
  1679. "type": "integer",
  1680. "description": "资金账户ID",
  1681. "name": "accountID",
  1682. "in": "query",
  1683. "required": true
  1684. },
  1685. {
  1686. "type": "string",
  1687. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1688. "name": "startDate",
  1689. "in": "query"
  1690. },
  1691. {
  1692. "type": "string",
  1693. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1694. "name": "endDate",
  1695. "in": "query"
  1696. }
  1697. ],
  1698. "responses": {
  1699. "200": {
  1700. "description": "OK",
  1701. "schema": {
  1702. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1703. }
  1704. },
  1705. "500": {
  1706. "description": "Internal Server Error",
  1707. "schema": {
  1708. "$ref": "#/definitions/app.Response"
  1709. }
  1710. }
  1711. }
  1712. }
  1713. },
  1714. "/Ermcp/QueryErmcpHisTradeDetails": {
  1715. "get": {
  1716. "security": [
  1717. {
  1718. "ApiKeyAuth": []
  1719. }
  1720. ],
  1721. "produces": [
  1722. "application/json"
  1723. ],
  1724. "tags": [
  1725. "企业风险管理(app)"
  1726. ],
  1727. "summary": "获取企业风管期货历史成交单信息",
  1728. "parameters": [
  1729. {
  1730. "type": "integer",
  1731. "description": "资金账户ID",
  1732. "name": "accountID",
  1733. "in": "query",
  1734. "required": true
  1735. },
  1736. {
  1737. "type": "integer",
  1738. "description": "商品ID",
  1739. "name": "goodsID",
  1740. "in": "query"
  1741. },
  1742. {
  1743. "type": "integer",
  1744. "description": "买卖方向,0:买 1:卖",
  1745. "name": "buyOrSell",
  1746. "in": "query"
  1747. },
  1748. {
  1749. "type": "string",
  1750. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1751. "name": "startDate",
  1752. "in": "query"
  1753. },
  1754. {
  1755. "type": "string",
  1756. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1757. "name": "endDate",
  1758. "in": "query"
  1759. }
  1760. ],
  1761. "responses": {
  1762. "200": {
  1763. "description": "OK",
  1764. "schema": {
  1765. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. }
  1799. ],
  1800. "responses": {
  1801. "200": {
  1802. "description": "OK",
  1803. "schema": {
  1804. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1805. }
  1806. },
  1807. "500": {
  1808. "description": "Internal Server Error",
  1809. "schema": {
  1810. "$ref": "#/definitions/app.Response"
  1811. }
  1812. }
  1813. }
  1814. }
  1815. },
  1816. "/Ermcp/QueryErmcpTradeDetails": {
  1817. "get": {
  1818. "security": [
  1819. {
  1820. "ApiKeyAuth": []
  1821. }
  1822. ],
  1823. "produces": [
  1824. "application/json"
  1825. ],
  1826. "tags": [
  1827. "企业风险管理(app)"
  1828. ],
  1829. "summary": "获取企业风管期货成交单信息",
  1830. "parameters": [
  1831. {
  1832. "type": "integer",
  1833. "description": "资金账户ID",
  1834. "name": "accountID",
  1835. "in": "query",
  1836. "required": true
  1837. },
  1838. {
  1839. "type": "integer",
  1840. "description": "商品ID",
  1841. "name": "goodsID",
  1842. "in": "query"
  1843. },
  1844. {
  1845. "type": "integer",
  1846. "description": "买卖方向,0:买 1:卖",
  1847. "name": "buyOrSell",
  1848. "in": "query"
  1849. }
  1850. ],
  1851. "responses": {
  1852. "200": {
  1853. "description": "OK",
  1854. "schema": {
  1855. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1856. }
  1857. },
  1858. "500": {
  1859. "description": "Internal Server Error",
  1860. "schema": {
  1861. "$ref": "#/definitions/app.Response"
  1862. }
  1863. }
  1864. }
  1865. }
  1866. },
  1867. "/Ermcp/QueryErmcpTradePosition": {
  1868. "get": {
  1869. "security": [
  1870. {
  1871. "ApiKeyAuth": []
  1872. }
  1873. ],
  1874. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1875. "produces": [
  1876. "application/json"
  1877. ],
  1878. "tags": [
  1879. "企业风险管理(app)"
  1880. ],
  1881. "summary": "获取企业风管期货持仓头寸信息",
  1882. "parameters": [
  1883. {
  1884. "type": "integer",
  1885. "description": "资金账户ID",
  1886. "name": "accountID",
  1887. "in": "query",
  1888. "required": true
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "所属市场ID",
  1893. "name": "marketID",
  1894. "in": "query"
  1895. }
  1896. ],
  1897. "responses": {
  1898. "200": {
  1899. "description": "OK",
  1900. "schema": {
  1901. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1902. }
  1903. },
  1904. "500": {
  1905. "description": "Internal Server Error",
  1906. "schema": {
  1907. "$ref": "#/definitions/app.Response"
  1908. }
  1909. }
  1910. }
  1911. }
  1912. },
  1913. "/Ermcp/QueryExposureDetail": {
  1914. "get": {
  1915. "security": [
  1916. {
  1917. "ApiKeyAuth": []
  1918. }
  1919. ],
  1920. "produces": [
  1921. "application/json"
  1922. ],
  1923. "tags": [
  1924. "企业风险管理(app)"
  1925. ],
  1926. "summary": "查询敞口现货明细",
  1927. "parameters": [
  1928. {
  1929. "type": "integer",
  1930. "description": "所属机构ID",
  1931. "name": "areaUserId",
  1932. "in": "query",
  1933. "required": true
  1934. },
  1935. {
  1936. "type": "integer",
  1937. "description": "套保商品",
  1938. "name": "middleGoodsId",
  1939. "in": "query",
  1940. "required": true
  1941. }
  1942. ],
  1943. "responses": {
  1944. "200": {
  1945. "description": "OK",
  1946. "schema": {
  1947. "type": "array",
  1948. "items": {
  1949. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1950. }
  1951. }
  1952. },
  1953. "500": {
  1954. "description": "Internal Server Error",
  1955. "schema": {
  1956. "$ref": "#/definitions/app.Response"
  1957. }
  1958. }
  1959. }
  1960. }
  1961. },
  1962. "/Ermcp/QueryExposureHedgePosition": {
  1963. "get": {
  1964. "security": [
  1965. {
  1966. "ApiKeyAuth": []
  1967. }
  1968. ],
  1969. "produces": [
  1970. "application/json"
  1971. ],
  1972. "tags": [
  1973. "企业风险管理(app)"
  1974. ],
  1975. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1976. "parameters": [
  1977. {
  1978. "type": "integer",
  1979. "description": "所属机构ID",
  1980. "name": "areaUserId",
  1981. "in": "query",
  1982. "required": true
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "OK",
  1988. "schema": {
  1989. "type": "array",
  1990. "items": {
  1991. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1992. }
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/app.Response"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/Ermcp/QueryExposureHedgePositionDetail": {
  2005. "get": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "produces": [
  2012. "application/json"
  2013. ],
  2014. "tags": [
  2015. "企业风险管理(app)"
  2016. ],
  2017. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2018. "parameters": [
  2019. {
  2020. "type": "integer",
  2021. "description": "所属机构ID",
  2022. "name": "areaUserId",
  2023. "in": "query",
  2024. "required": true
  2025. },
  2026. {
  2027. "type": "integer",
  2028. "description": "商品id",
  2029. "name": "goodsId",
  2030. "in": "query",
  2031. "required": true
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "type": "array",
  2039. "items": {
  2040. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2041. }
  2042. }
  2043. },
  2044. "500": {
  2045. "description": "Internal Server Error",
  2046. "schema": {
  2047. "$ref": "#/definitions/app.Response"
  2048. }
  2049. }
  2050. }
  2051. }
  2052. },
  2053. "/Ermcp/QueryExposureSpot": {
  2054. "get": {
  2055. "security": [
  2056. {
  2057. "ApiKeyAuth": []
  2058. }
  2059. ],
  2060. "produces": [
  2061. "application/json"
  2062. ],
  2063. "tags": [
  2064. "企业风险管理(app)"
  2065. ],
  2066. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2067. "parameters": [
  2068. {
  2069. "type": "integer",
  2070. "description": "所属机构ID",
  2071. "name": "areaUserId",
  2072. "in": "query",
  2073. "required": true
  2074. }
  2075. ],
  2076. "responses": {
  2077. "200": {
  2078. "description": "OK",
  2079. "schema": {
  2080. "type": "array",
  2081. "items": {
  2082. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2083. }
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/Ermcp/QueryExposureSpotDetail": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "企业风险管理(app)"
  2107. ],
  2108. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2109. "parameters": [
  2110. {
  2111. "type": "integer",
  2112. "description": "所属机构ID",
  2113. "name": "areaUserId",
  2114. "in": "query",
  2115. "required": true
  2116. },
  2117. {
  2118. "type": "integer",
  2119. "description": "现货品种ID",
  2120. "name": "wrstandardId",
  2121. "in": "query",
  2122. "required": true
  2123. }
  2124. ],
  2125. "responses": {
  2126. "200": {
  2127. "description": "OK",
  2128. "schema": {
  2129. "type": "array",
  2130. "items": {
  2131. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2132. }
  2133. }
  2134. },
  2135. "500": {
  2136. "description": "Internal Server Error",
  2137. "schema": {
  2138. "$ref": "#/definitions/app.Response"
  2139. }
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "/Ermcp/QueryGGConvertConfig": {
  2145. "get": {
  2146. "security": [
  2147. {
  2148. "ApiKeyAuth": []
  2149. }
  2150. ],
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "企业风险管理(app)"
  2156. ],
  2157. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2158. "parameters": [
  2159. {
  2160. "type": "integer",
  2161. "description": "品种id(不填则查所有)",
  2162. "name": "goodsgroupid",
  2163. "in": "query"
  2164. }
  2165. ],
  2166. "responses": {
  2167. "200": {
  2168. "description": "OK",
  2169. "schema": {
  2170. "type": "array",
  2171. "items": {
  2172. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2173. }
  2174. }
  2175. },
  2176. "500": {
  2177. "description": "Internal Server Error",
  2178. "schema": {
  2179. "$ref": "#/definitions/app.Response"
  2180. }
  2181. }
  2182. }
  2183. }
  2184. },
  2185. "/Ermcp/QueryHedgePlan": {
  2186. "get": {
  2187. "security": [
  2188. {
  2189. "ApiKeyAuth": []
  2190. }
  2191. ],
  2192. "produces": [
  2193. "application/json"
  2194. ],
  2195. "tags": [
  2196. "企业风险管理(app)"
  2197. ],
  2198. "summary": "查询套保计划",
  2199. "parameters": [
  2200. {
  2201. "type": "integer",
  2202. "description": "用户ID",
  2203. "name": "userId",
  2204. "in": "query",
  2205. "required": true
  2206. },
  2207. {
  2208. "type": "string",
  2209. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2210. "name": "HedgePlanStatus",
  2211. "in": "query",
  2212. "required": true
  2213. }
  2214. ],
  2215. "responses": {
  2216. "200": {
  2217. "description": "OK",
  2218. "schema": {
  2219. "type": "array",
  2220. "items": {
  2221. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2222. }
  2223. }
  2224. },
  2225. "500": {
  2226. "description": "Internal Server Error",
  2227. "schema": {
  2228. "$ref": "#/definitions/app.Response"
  2229. }
  2230. }
  2231. }
  2232. }
  2233. },
  2234. "/Ermcp/QueryHisExposure": {
  2235. "get": {
  2236. "security": [
  2237. {
  2238. "ApiKeyAuth": []
  2239. }
  2240. ],
  2241. "produces": [
  2242. "application/json"
  2243. ],
  2244. "tags": [
  2245. "企业风险管理(app)"
  2246. ],
  2247. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2248. "parameters": [
  2249. {
  2250. "type": "integer",
  2251. "description": "所属机构ID",
  2252. "name": "areaUserId",
  2253. "in": "query",
  2254. "required": true
  2255. },
  2256. {
  2257. "type": "integer",
  2258. "description": "每个品种记录数",
  2259. "name": "lastNum",
  2260. "in": "query",
  2261. "required": true
  2262. }
  2263. ],
  2264. "responses": {
  2265. "200": {
  2266. "description": "OK",
  2267. "schema": {
  2268. "type": "array",
  2269. "items": {
  2270. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2271. }
  2272. }
  2273. },
  2274. "500": {
  2275. "description": "Internal Server Error",
  2276. "schema": {
  2277. "$ref": "#/definitions/app.Response"
  2278. }
  2279. }
  2280. }
  2281. }
  2282. },
  2283. "/Ermcp/QueryMiddleGoods": {
  2284. "get": {
  2285. "security": [
  2286. {
  2287. "ApiKeyAuth": []
  2288. }
  2289. ],
  2290. "produces": [
  2291. "application/json"
  2292. ],
  2293. "tags": [
  2294. "企业风险管理(app)"
  2295. ],
  2296. "summary": "查询套保品种(菜单:套保品种)",
  2297. "parameters": [
  2298. {
  2299. "type": "integer",
  2300. "description": "所属机构ID",
  2301. "name": "userid",
  2302. "in": "query",
  2303. "required": true
  2304. },
  2305. {
  2306. "type": "integer",
  2307. "description": "状态 0-停用 1-正常",
  2308. "name": "status",
  2309. "in": "query",
  2310. "required": true
  2311. }
  2312. ],
  2313. "responses": {
  2314. "200": {
  2315. "description": "OK",
  2316. "schema": {
  2317. "type": "array",
  2318. "items": {
  2319. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2320. }
  2321. }
  2322. },
  2323. "500": {
  2324. "description": "Internal Server Error",
  2325. "schema": {
  2326. "$ref": "#/definitions/app.Response"
  2327. }
  2328. }
  2329. }
  2330. }
  2331. },
  2332. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2333. "get": {
  2334. "security": [
  2335. {
  2336. "ApiKeyAuth": []
  2337. }
  2338. ],
  2339. "produces": [
  2340. "application/json"
  2341. ],
  2342. "tags": [
  2343. "企业风险管理(app)"
  2344. ],
  2345. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2346. "parameters": [
  2347. {
  2348. "type": "integer",
  2349. "description": "所属机构ID",
  2350. "name": "userid",
  2351. "in": "query",
  2352. "required": true
  2353. },
  2354. {
  2355. "type": "integer",
  2356. "description": "套保品种id",
  2357. "name": "middlegoodsid",
  2358. "in": "query",
  2359. "required": true
  2360. }
  2361. ],
  2362. "responses": {
  2363. "200": {
  2364. "description": "OK",
  2365. "schema": {
  2366. "type": "array",
  2367. "items": {
  2368. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2369. }
  2370. }
  2371. },
  2372. "500": {
  2373. "description": "Internal Server Error",
  2374. "schema": {
  2375. "$ref": "#/definitions/app.Response"
  2376. }
  2377. }
  2378. }
  2379. }
  2380. },
  2381. "/Ermcp/QueryMiddleGoodsDetail": {
  2382. "get": {
  2383. "security": [
  2384. {
  2385. "ApiKeyAuth": []
  2386. }
  2387. ],
  2388. "produces": [
  2389. "application/json"
  2390. ],
  2391. "tags": [
  2392. "企业风险管理(app)"
  2393. ],
  2394. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2395. "parameters": [
  2396. {
  2397. "type": "integer",
  2398. "description": "所属机构ID",
  2399. "name": "userid",
  2400. "in": "query",
  2401. "required": true
  2402. },
  2403. {
  2404. "type": "integer",
  2405. "description": "套保品种id",
  2406. "name": "middlegoodsid",
  2407. "in": "query",
  2408. "required": true
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryPendingAuditInfo": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "用户ID",
  2448. "name": "UserId",
  2449. "in": "query",
  2450. "required": true
  2451. }
  2452. ],
  2453. "responses": {
  2454. "200": {
  2455. "description": "OK",
  2456. "schema": {
  2457. "type": "array",
  2458. "items": {
  2459. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2460. }
  2461. }
  2462. },
  2463. "500": {
  2464. "description": "Internal Server Error",
  2465. "schema": {
  2466. "$ref": "#/definitions/app.Response"
  2467. }
  2468. }
  2469. }
  2470. }
  2471. },
  2472. "/Ermcp/QueryRealtimeExposure": {
  2473. "get": {
  2474. "security": [
  2475. {
  2476. "ApiKeyAuth": []
  2477. }
  2478. ],
  2479. "produces": [
  2480. "application/json"
  2481. ],
  2482. "tags": [
  2483. "企业风险管理(app)"
  2484. ],
  2485. "summary": "查询实时敞口",
  2486. "parameters": [
  2487. {
  2488. "type": "integer",
  2489. "description": "所属机构ID",
  2490. "name": "AreaUserID",
  2491. "in": "query",
  2492. "required": true
  2493. }
  2494. ],
  2495. "responses": {
  2496. "200": {
  2497. "description": "OK",
  2498. "schema": {
  2499. "type": "array",
  2500. "items": {
  2501. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2502. }
  2503. }
  2504. },
  2505. "500": {
  2506. "description": "Internal Server Error",
  2507. "schema": {
  2508. "$ref": "#/definitions/app.Response"
  2509. }
  2510. }
  2511. }
  2512. }
  2513. },
  2514. "/Ermcp/QueryRealtimeExposurePosition": {
  2515. "get": {
  2516. "security": [
  2517. {
  2518. "ApiKeyAuth": []
  2519. }
  2520. ],
  2521. "produces": [
  2522. "application/json"
  2523. ],
  2524. "tags": [
  2525. "企业风险管理(app)"
  2526. ],
  2527. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2528. "parameters": [
  2529. {
  2530. "type": "integer",
  2531. "description": "所属机构ID",
  2532. "name": "areaUserId",
  2533. "in": "query",
  2534. "required": true
  2535. },
  2536. {
  2537. "type": "integer",
  2538. "description": "套保商品ID",
  2539. "name": "middleGoodsId",
  2540. "in": "query",
  2541. "required": true
  2542. }
  2543. ],
  2544. "responses": {
  2545. "200": {
  2546. "description": "OK",
  2547. "schema": {
  2548. "type": "array",
  2549. "items": {
  2550. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2551. }
  2552. }
  2553. },
  2554. "500": {
  2555. "description": "Internal Server Error",
  2556. "schema": {
  2557. "$ref": "#/definitions/app.Response"
  2558. }
  2559. }
  2560. }
  2561. }
  2562. },
  2563. "/Ermcp/QuerySpotContract": {
  2564. "get": {
  2565. "security": [
  2566. {
  2567. "ApiKeyAuth": []
  2568. }
  2569. ],
  2570. "produces": [
  2571. "application/json"
  2572. ],
  2573. "tags": [
  2574. "企业风险管理(app)"
  2575. ],
  2576. "summary": "查询现货合同(对应现货合同菜单)",
  2577. "parameters": [
  2578. {
  2579. "type": "integer",
  2580. "description": "用户ID",
  2581. "name": "userId",
  2582. "in": "query",
  2583. "required": true
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2588. "name": "QueryType",
  2589. "in": "query",
  2590. "required": true
  2591. }
  2592. ],
  2593. "responses": {
  2594. "200": {
  2595. "description": "OK",
  2596. "schema": {
  2597. "type": "array",
  2598. "items": {
  2599. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2600. }
  2601. }
  2602. },
  2603. "500": {
  2604. "description": "Internal Server Error",
  2605. "schema": {
  2606. "$ref": "#/definitions/app.Response"
  2607. }
  2608. }
  2609. }
  2610. }
  2611. },
  2612. "/Ermcp/QueryUserInfo": {
  2613. "get": {
  2614. "security": [
  2615. {
  2616. "ApiKeyAuth": []
  2617. }
  2618. ],
  2619. "produces": [
  2620. "application/json"
  2621. ],
  2622. "tags": [
  2623. "企业风险管理(app)"
  2624. ],
  2625. "summary": "查询客户资料",
  2626. "parameters": [
  2627. {
  2628. "type": "integer",
  2629. "description": "所属机构用户ID",
  2630. "name": "MemberUserID",
  2631. "in": "query",
  2632. "required": true
  2633. },
  2634. {
  2635. "type": "integer",
  2636. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2637. "name": "queryType",
  2638. "in": "query",
  2639. "required": true
  2640. }
  2641. ],
  2642. "responses": {
  2643. "200": {
  2644. "description": "OK",
  2645. "schema": {
  2646. "type": "array",
  2647. "items": {
  2648. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2649. }
  2650. }
  2651. },
  2652. "500": {
  2653. "description": "Internal Server Error",
  2654. "schema": {
  2655. "$ref": "#/definitions/app.Response"
  2656. }
  2657. }
  2658. }
  2659. }
  2660. },
  2661. "/Ermcp/QueryWrStandard": {
  2662. "get": {
  2663. "security": [
  2664. {
  2665. "ApiKeyAuth": []
  2666. }
  2667. ],
  2668. "produces": [
  2669. "application/json"
  2670. ],
  2671. "tags": [
  2672. "企业风险管理(app)"
  2673. ],
  2674. "summary": "查询现货商品",
  2675. "parameters": [
  2676. {
  2677. "type": "integer",
  2678. "description": "所属机构ID",
  2679. "name": "userid",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "状态 0-停用 1-正常",
  2686. "name": "status",
  2687. "in": "query",
  2688. "required": true
  2689. }
  2690. ],
  2691. "responses": {
  2692. "200": {
  2693. "description": "OK",
  2694. "schema": {
  2695. "type": "array",
  2696. "items": {
  2697. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2698. }
  2699. }
  2700. },
  2701. "500": {
  2702. "description": "Internal Server Error",
  2703. "schema": {
  2704. "$ref": "#/definitions/app.Response"
  2705. }
  2706. }
  2707. }
  2708. }
  2709. },
  2710. "/Ermcp/QueryWrStandardDetail": {
  2711. "get": {
  2712. "security": [
  2713. {
  2714. "ApiKeyAuth": []
  2715. }
  2716. ],
  2717. "produces": [
  2718. "application/json"
  2719. ],
  2720. "tags": [
  2721. "企业风险管理(app)"
  2722. ],
  2723. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2724. "parameters": [
  2725. {
  2726. "type": "integer",
  2727. "description": "所属机构ID",
  2728. "name": "userid",
  2729. "in": "query",
  2730. "required": true
  2731. },
  2732. {
  2733. "type": "integer",
  2734. "description": "现货商品ID",
  2735. "name": "wrstandardid",
  2736. "in": "query",
  2737. "required": true
  2738. },
  2739. {
  2740. "type": "integer",
  2741. "description": "可不填, 1-查询关联交易商品",
  2742. "name": "goods",
  2743. "in": "query"
  2744. }
  2745. ],
  2746. "responses": {
  2747. "200": {
  2748. "description": "OK",
  2749. "schema": {
  2750. "type": "array",
  2751. "items": {
  2752. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2753. }
  2754. }
  2755. },
  2756. "500": {
  2757. "description": "Internal Server Error",
  2758. "schema": {
  2759. "$ref": "#/definitions/app.Response"
  2760. }
  2761. }
  2762. }
  2763. }
  2764. },
  2765. "/Erms2/QueryArbitrageStrategy": {
  2766. "get": {
  2767. "security": [
  2768. {
  2769. "ApiKeyAuth": []
  2770. }
  2771. ],
  2772. "produces": [
  2773. "application/json"
  2774. ],
  2775. "tags": [
  2776. "风险管理"
  2777. ],
  2778. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2779. "parameters": [
  2780. {
  2781. "type": "integer",
  2782. "description": "账户ID",
  2783. "name": "userid",
  2784. "in": "query",
  2785. "required": true
  2786. },
  2787. {
  2788. "type": "string",
  2789. "description": "商品组ID(品种ID)",
  2790. "name": "goodsgroupid",
  2791. "in": "query"
  2792. }
  2793. ],
  2794. "responses": {
  2795. "200": {
  2796. "description": "OK",
  2797. "schema": {
  2798. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2799. }
  2800. },
  2801. "500": {
  2802. "description": "Internal Server Error",
  2803. "schema": {
  2804. "$ref": "#/definitions/app.Response"
  2805. }
  2806. }
  2807. }
  2808. }
  2809. },
  2810. "/Erms2/QueryInnerTradeDetail": {
  2811. "get": {
  2812. "security": [
  2813. {
  2814. "ApiKeyAuth": []
  2815. }
  2816. ],
  2817. "produces": [
  2818. "application/json"
  2819. ],
  2820. "tags": [
  2821. "风险管理"
  2822. ],
  2823. "summary": "查询内部成交单信息",
  2824. "parameters": [
  2825. {
  2826. "type": "integer",
  2827. "description": "资金账户",
  2828. "name": "accountid",
  2829. "in": "query",
  2830. "required": true
  2831. }
  2832. ],
  2833. "responses": {
  2834. "200": {
  2835. "description": "OK",
  2836. "schema": {
  2837. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Erms2/QuerySpotContract": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "风险管理"
  2861. ],
  2862. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2863. "parameters": [
  2864. {
  2865. "type": "integer",
  2866. "description": "策略申请ID",
  2867. "name": "asapplyid",
  2868. "in": "query",
  2869. "required": true
  2870. },
  2871. {
  2872. "type": "integer",
  2873. "description": "现货合同ID",
  2874. "name": "spotcontractid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2883. }
  2884. },
  2885. "500": {
  2886. "description": "Internal Server Error",
  2887. "schema": {
  2888. "$ref": "#/definitions/app.Response"
  2889. }
  2890. }
  2891. }
  2892. }
  2893. },
  2894. "/Erms3/AddErms2ASApply": {
  2895. "post": {
  2896. "security": [
  2897. {
  2898. "ApiKeyAuth": []
  2899. }
  2900. ],
  2901. "produces": [
  2902. "application/json"
  2903. ],
  2904. "tags": [
  2905. "风险管理v3"
  2906. ],
  2907. "summary": "新增期现套利业务申请",
  2908. "parameters": [
  2909. {
  2910. "description": "申请参数",
  2911. "name": "jsonBody",
  2912. "in": "body",
  2913. "required": true,
  2914. "schema": {
  2915. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2916. }
  2917. }
  2918. ],
  2919. "responses": {
  2920. "200": {
  2921. "description": "OK",
  2922. "schema": {
  2923. "$ref": "#/definitions/app.Response"
  2924. }
  2925. },
  2926. "500": {
  2927. "description": "Internal Server Error",
  2928. "schema": {
  2929. "$ref": "#/definitions/app.Response"
  2930. }
  2931. }
  2932. }
  2933. }
  2934. },
  2935. "/Erms3/AddErms2SpotTradeApply": {
  2936. "post": {
  2937. "security": [
  2938. {
  2939. "ApiKeyAuth": []
  2940. }
  2941. ],
  2942. "produces": [
  2943. "application/json"
  2944. ],
  2945. "tags": [
  2946. "风险管理v3"
  2947. ],
  2948. "summary": "新增现货贸易业务申请",
  2949. "parameters": [
  2950. {
  2951. "description": "申请参数",
  2952. "name": "jsonBody",
  2953. "in": "body",
  2954. "required": true,
  2955. "schema": {
  2956. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2957. }
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "$ref": "#/definitions/app.Response"
  2965. }
  2966. },
  2967. "500": {
  2968. "description": "Internal Server Error",
  2969. "schema": {
  2970. "$ref": "#/definitions/app.Response"
  2971. }
  2972. }
  2973. }
  2974. }
  2975. },
  2976. "/Erms3/AddSpotContractApply": {
  2977. "post": {
  2978. "security": [
  2979. {
  2980. "ApiKeyAuth": []
  2981. }
  2982. ],
  2983. "produces": [
  2984. "application/json"
  2985. ],
  2986. "tags": [
  2987. "风险管理v3"
  2988. ],
  2989. "summary": "新增现货合同申请",
  2990. "parameters": [
  2991. {
  2992. "description": "申请参数",
  2993. "name": "jsonBody",
  2994. "in": "body",
  2995. "required": true,
  2996. "schema": {
  2997. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2998. }
  2999. }
  3000. ],
  3001. "responses": {
  3002. "200": {
  3003. "description": "OK",
  3004. "schema": {
  3005. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3006. }
  3007. },
  3008. "500": {
  3009. "description": "Internal Server Error",
  3010. "schema": {
  3011. "$ref": "#/definitions/app.Response"
  3012. }
  3013. }
  3014. }
  3015. }
  3016. },
  3017. "/Erms3/AddUserInfoApply": {
  3018. "post": {
  3019. "security": [
  3020. {
  3021. "ApiKeyAuth": []
  3022. }
  3023. ],
  3024. "produces": [
  3025. "application/json"
  3026. ],
  3027. "tags": [
  3028. "风险管理v3"
  3029. ],
  3030. "summary": "新增客户申请",
  3031. "parameters": [
  3032. {
  3033. "description": "用户信息",
  3034. "name": "jsonBody",
  3035. "in": "body",
  3036. "required": true,
  3037. "schema": {
  3038. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3039. }
  3040. }
  3041. ],
  3042. "responses": {
  3043. "200": {
  3044. "description": "OK",
  3045. "schema": {
  3046. "$ref": "#/definitions/app.Response"
  3047. }
  3048. },
  3049. "500": {
  3050. "description": "Internal Server Error",
  3051. "schema": {
  3052. "$ref": "#/definitions/app.Response"
  3053. }
  3054. }
  3055. }
  3056. }
  3057. },
  3058. "/Erms3/ModifyUserInfoApply": {
  3059. "post": {
  3060. "security": [
  3061. {
  3062. "ApiKeyAuth": []
  3063. }
  3064. ],
  3065. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3066. "produces": [
  3067. "application/json"
  3068. ],
  3069. "tags": [
  3070. "风险管理v3"
  3071. ],
  3072. "summary": "修改客户申请",
  3073. "parameters": [
  3074. {
  3075. "description": "用户信息",
  3076. "name": "jsonBody",
  3077. "in": "body",
  3078. "required": true,
  3079. "schema": {
  3080. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3081. }
  3082. }
  3083. ],
  3084. "responses": {
  3085. "200": {
  3086. "description": "OK",
  3087. "schema": {
  3088. "$ref": "#/definitions/app.Response"
  3089. }
  3090. },
  3091. "500": {
  3092. "description": "Internal Server Error",
  3093. "schema": {
  3094. "$ref": "#/definitions/app.Response"
  3095. }
  3096. }
  3097. }
  3098. }
  3099. },
  3100. "/Erms3/QueryBusinessInfo": {
  3101. "get": {
  3102. "security": [
  3103. {
  3104. "ApiKeyAuth": []
  3105. }
  3106. ],
  3107. "produces": [
  3108. "application/json"
  3109. ],
  3110. "tags": [
  3111. "风险管理v3"
  3112. ],
  3113. "summary": "查询业务表单数据",
  3114. "parameters": [
  3115. {
  3116. "type": "string",
  3117. "description": "资金账号ID列表,用逗号分隔",
  3118. "name": "accountids",
  3119. "in": "query",
  3120. "required": true
  3121. },
  3122. {
  3123. "type": "integer",
  3124. "description": "状态,0为未结束 1为已结束",
  3125. "name": "status",
  3126. "in": "query",
  3127. "required": true
  3128. }
  3129. ],
  3130. "responses": {
  3131. "200": {
  3132. "description": "OK",
  3133. "schema": {
  3134. "type": "array",
  3135. "items": {
  3136. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3137. }
  3138. }
  3139. },
  3140. "500": {
  3141. "description": "Internal Server Error",
  3142. "schema": {
  3143. "$ref": "#/definitions/app.Response"
  3144. }
  3145. }
  3146. }
  3147. }
  3148. },
  3149. "/Erms3/QueryPendingAuditContract": {
  3150. "get": {
  3151. "security": [
  3152. {
  3153. "ApiKeyAuth": []
  3154. }
  3155. ],
  3156. "produces": [
  3157. "application/json"
  3158. ],
  3159. "tags": [
  3160. "风险管理v3"
  3161. ],
  3162. "summary": "查询待审核合同",
  3163. "parameters": [
  3164. {
  3165. "type": "string",
  3166. "description": "资金账号ID列表,逗号隔开",
  3167. "name": "accountids",
  3168. "in": "query",
  3169. "required": true
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "合同类型 1-采购 -1-销售",
  3174. "name": "contracttype",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "合同模式 1-普通 2-回购",
  3181. "name": "contractmode",
  3182. "in": "query",
  3183. "required": true
  3184. }
  3185. ],
  3186. "responses": {
  3187. "200": {
  3188. "description": "OK",
  3189. "schema": {
  3190. "type": "array",
  3191. "items": {
  3192. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3193. }
  3194. }
  3195. },
  3196. "500": {
  3197. "description": "Internal Server Error",
  3198. "schema": {
  3199. "$ref": "#/definitions/app.Response"
  3200. }
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "/Erms3/QueryPendingBusiness": {
  3206. "get": {
  3207. "security": [
  3208. {
  3209. "ApiKeyAuth": []
  3210. }
  3211. ],
  3212. "produces": [
  3213. "application/json"
  3214. ],
  3215. "tags": [
  3216. "风险管理v3"
  3217. ],
  3218. "summary": "查询待审核基差贸易业务",
  3219. "parameters": [
  3220. {
  3221. "type": "string",
  3222. "description": "资金账号ID列表,逗号隔开",
  3223. "name": "accountids",
  3224. "in": "query",
  3225. "required": true
  3226. }
  3227. ],
  3228. "responses": {
  3229. "200": {
  3230. "description": "OK",
  3231. "schema": {
  3232. "type": "array",
  3233. "items": {
  3234. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3235. }
  3236. }
  3237. },
  3238. "500": {
  3239. "description": "Internal Server Error",
  3240. "schema": {
  3241. "$ref": "#/definitions/app.Response"
  3242. }
  3243. }
  3244. }
  3245. }
  3246. },
  3247. "/Erms3/QuerySpotContractAppleForm": {
  3248. "get": {
  3249. "security": [
  3250. {
  3251. "ApiKeyAuth": []
  3252. }
  3253. ],
  3254. "produces": [
  3255. "application/json"
  3256. ],
  3257. "tags": [
  3258. "风险管理v3"
  3259. ],
  3260. "summary": "查询合同申请表单数据",
  3261. "parameters": [
  3262. {
  3263. "type": "integer",
  3264. "description": "登录账号",
  3265. "name": "loginID",
  3266. "in": "query",
  3267. "required": true
  3268. }
  3269. ],
  3270. "responses": {
  3271. "200": {
  3272. "description": "OK",
  3273. "schema": {
  3274. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3275. }
  3276. },
  3277. "500": {
  3278. "description": "Internal Server Error",
  3279. "schema": {
  3280. "$ref": "#/definitions/app.Response"
  3281. }
  3282. }
  3283. }
  3284. }
  3285. },
  3286. "/Erms3/QuerySpotContractDetail": {
  3287. "get": {
  3288. "security": [
  3289. {
  3290. "ApiKeyAuth": []
  3291. }
  3292. ],
  3293. "produces": [
  3294. "application/json"
  3295. ],
  3296. "tags": [
  3297. "风险管理v3"
  3298. ],
  3299. "summary": "查询合同详细信息",
  3300. "parameters": [
  3301. {
  3302. "type": "string",
  3303. "description": "资金账号ID列表,用逗号分隔",
  3304. "name": "accountids",
  3305. "in": "query",
  3306. "required": true
  3307. },
  3308. {
  3309. "type": "integer",
  3310. "description": "合同类型,1为采购合同 -1为销售合同",
  3311. "name": "contracttype",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "合同模式,1为普通合同 2为回购销售合同",
  3318. "name": "contractmode",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "状态,0为履约中 1为已完成",
  3325. "name": "status",
  3326. "in": "query",
  3327. "required": true
  3328. }
  3329. ],
  3330. "responses": {
  3331. "200": {
  3332. "description": "OK",
  3333. "schema": {
  3334. "type": "array",
  3335. "items": {
  3336. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3337. }
  3338. }
  3339. },
  3340. "500": {
  3341. "description": "Internal Server Error",
  3342. "schema": {
  3343. "$ref": "#/definitions/app.Response"
  3344. }
  3345. }
  3346. }
  3347. }
  3348. },
  3349. "/Erms3/QueryUserInfoApplies": {
  3350. "get": {
  3351. "security": [
  3352. {
  3353. "ApiKeyAuth": []
  3354. }
  3355. ],
  3356. "produces": [
  3357. "application/json"
  3358. ],
  3359. "tags": [
  3360. "风险管理v3"
  3361. ],
  3362. "summary": "客户申请信息查询",
  3363. "parameters": [
  3364. {
  3365. "type": "integer",
  3366. "description": "页码",
  3367. "name": "page",
  3368. "in": "query"
  3369. },
  3370. {
  3371. "type": "integer",
  3372. "description": "每页条数",
  3373. "name": "pagesize",
  3374. "in": "query"
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "客户名称,支持模糊查询",
  3379. "name": "userName",
  3380. "in": "query"
  3381. }
  3382. ],
  3383. "responses": {
  3384. "200": {
  3385. "description": "OK",
  3386. "schema": {
  3387. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3388. }
  3389. },
  3390. "500": {
  3391. "description": "Internal Server Error",
  3392. "schema": {
  3393. "$ref": "#/definitions/app.Response"
  3394. }
  3395. }
  3396. }
  3397. }
  3398. },
  3399. "/Erms3/QueryUserInfos": {
  3400. "get": {
  3401. "security": [
  3402. {
  3403. "ApiKeyAuth": []
  3404. }
  3405. ],
  3406. "produces": [
  3407. "application/json"
  3408. ],
  3409. "tags": [
  3410. "风险管理v3"
  3411. ],
  3412. "summary": "客户信息查询",
  3413. "parameters": [
  3414. {
  3415. "type": "integer",
  3416. "description": "页码",
  3417. "name": "page",
  3418. "in": "query"
  3419. },
  3420. {
  3421. "type": "integer",
  3422. "description": "每页条数",
  3423. "name": "pagesize",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "客户名称,支持模糊查询",
  3429. "name": "userName",
  3430. "in": "query"
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/HSBY/GetHsbyMyCount": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "description": "说明: 不包括已完成的数量。",
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "定制【海商报业】"
  3462. ],
  3463. "summary": "获取我的订单与包裹数量",
  3464. "parameters": [
  3465. {
  3466. "type": "string",
  3467. "description": "资金账户列表,格式:1,2,3",
  3468. "name": "accountIDs",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3478. }
  3479. },
  3480. "500": {
  3481. "description": "Internal Server Error",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. }
  3486. }
  3487. }
  3488. },
  3489. "/HSBY/QueryClientFixedADConfigs": {
  3490. "get": {
  3491. "security": [
  3492. {
  3493. "ApiKeyAuth": []
  3494. }
  3495. ],
  3496. "produces": [
  3497. "application/json"
  3498. ],
  3499. "tags": [
  3500. "定制【海商报业】"
  3501. ],
  3502. "summary": "获取终端固定广告配置",
  3503. "responses": {
  3504. "200": {
  3505. "description": "OK",
  3506. "schema": {
  3507. "$ref": "#/definitions/models.Clientfixedadconfig"
  3508. }
  3509. },
  3510. "500": {
  3511. "description": "Internal Server Error",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. }
  3516. }
  3517. }
  3518. },
  3519. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3520. "get": {
  3521. "security": [
  3522. {
  3523. "ApiKeyAuth": []
  3524. }
  3525. ],
  3526. "produces": [
  3527. "application/json"
  3528. ],
  3529. "tags": [
  3530. "定制【海商报业】"
  3531. ],
  3532. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3533. "parameters": [
  3534. {
  3535. "type": "integer",
  3536. "description": "页码",
  3537. "name": "page",
  3538. "in": "query"
  3539. },
  3540. {
  3541. "type": "integer",
  3542. "description": "每页条数",
  3543. "name": "pagesize",
  3544. "in": "query"
  3545. },
  3546. {
  3547. "type": "string",
  3548. "description": "资金账户列表,格式:1,2,3",
  3549. "name": "accountIDs",
  3550. "in": "query",
  3551. "required": true
  3552. }
  3553. ],
  3554. "responses": {
  3555. "200": {
  3556. "description": "OK",
  3557. "schema": {
  3558. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3559. }
  3560. },
  3561. "500": {
  3562. "description": "Internal Server Error",
  3563. "schema": {
  3564. "$ref": "#/definitions/app.Response"
  3565. }
  3566. }
  3567. }
  3568. }
  3569. },
  3570. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3571. "get": {
  3572. "security": [
  3573. {
  3574. "ApiKeyAuth": []
  3575. }
  3576. ],
  3577. "description": "说明:查询结果已按委托价格和委托时间排序",
  3578. "produces": [
  3579. "application/json"
  3580. ],
  3581. "tags": [
  3582. "定制【海商报业】"
  3583. ],
  3584. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3585. "parameters": [
  3586. {
  3587. "type": "integer",
  3588. "description": "商品ID",
  3589. "name": "goodsID",
  3590. "in": "query",
  3591. "required": true
  3592. },
  3593. {
  3594. "type": "string",
  3595. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3596. "name": "accountIDs",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3602. "name": "buyOrSell",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "number",
  3607. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3608. "name": "price",
  3609. "in": "query"
  3610. },
  3611. {
  3612. "type": "integer",
  3613. "description": "档位,不传则默认为3档",
  3614. "name": "speed",
  3615. "in": "query"
  3616. }
  3617. ],
  3618. "responses": {
  3619. "200": {
  3620. "description": "OK",
  3621. "schema": {
  3622. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3623. }
  3624. },
  3625. "500": {
  3626. "description": "Internal Server Error",
  3627. "schema": {
  3628. "$ref": "#/definitions/app.Response"
  3629. }
  3630. }
  3631. }
  3632. }
  3633. },
  3634. "/HSBY/QueryHsbyListingGoodsDetail": {
  3635. "get": {
  3636. "security": [
  3637. {
  3638. "ApiKeyAuth": []
  3639. }
  3640. ],
  3641. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3642. "produces": [
  3643. "application/json"
  3644. ],
  3645. "tags": [
  3646. "定制【海商报业】"
  3647. ],
  3648. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3649. "parameters": [
  3650. {
  3651. "type": "integer",
  3652. "description": "商品ID",
  3653. "name": "goodsID",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3660. "name": "accountID",
  3661. "in": "query"
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3669. }
  3670. },
  3671. "500": {
  3672. "description": "Internal Server Error",
  3673. "schema": {
  3674. "$ref": "#/definitions/app.Response"
  3675. }
  3676. }
  3677. }
  3678. }
  3679. },
  3680. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3681. "get": {
  3682. "security": [
  3683. {
  3684. "ApiKeyAuth": []
  3685. }
  3686. ],
  3687. "produces": [
  3688. "application/json"
  3689. ],
  3690. "tags": [
  3691. "定制【海商报业】"
  3692. ],
  3693. "summary": "查询三级市场(商城)商品信息详情",
  3694. "parameters": [
  3695. {
  3696. "type": "integer",
  3697. "description": "委托单号",
  3698. "name": "orderID",
  3699. "in": "query",
  3700. "required": true
  3701. },
  3702. {
  3703. "type": "integer",
  3704. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3705. "name": "accountID",
  3706. "in": "query"
  3707. }
  3708. ],
  3709. "responses": {
  3710. "200": {
  3711. "description": "OK",
  3712. "schema": {
  3713. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3714. }
  3715. },
  3716. "500": {
  3717. "description": "Internal Server Error",
  3718. "schema": {
  3719. "$ref": "#/definitions/app.Response"
  3720. }
  3721. }
  3722. }
  3723. }
  3724. },
  3725. "/HSBY/QueryHsbyMarketGoodses": {
  3726. "get": {
  3727. "security": [
  3728. {
  3729. "ApiKeyAuth": []
  3730. }
  3731. ],
  3732. "produces": [
  3733. "application/json"
  3734. ],
  3735. "tags": [
  3736. "定制【海商报业】"
  3737. ],
  3738. "summary": "查询特卖商品列表(三级商城)",
  3739. "parameters": [
  3740. {
  3741. "type": "integer",
  3742. "description": "页码",
  3743. "name": "page",
  3744. "in": "query"
  3745. },
  3746. {
  3747. "type": "integer",
  3748. "description": "每页条数",
  3749. "name": "pagesize",
  3750. "in": "query"
  3751. },
  3752. {
  3753. "type": "string",
  3754. "description": "市场ID列表,格式:1,2,3",
  3755. "name": "marketIDs",
  3756. "in": "query",
  3757. "required": true
  3758. },
  3759. {
  3760. "type": "integer",
  3761. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3762. "name": "accountID",
  3763. "in": "query",
  3764. "required": true
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "类别ID",
  3769. "name": "categoryID",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "string",
  3774. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3775. "name": "goodsIDs",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3781. "name": "couponTypeID",
  3782. "in": "query"
  3783. }
  3784. ],
  3785. "responses": {
  3786. "200": {
  3787. "description": "OK",
  3788. "schema": {
  3789. "$ref": "#/definitions/models.HsbyMarketGoods"
  3790. }
  3791. },
  3792. "500": {
  3793. "description": "Internal Server Error",
  3794. "schema": {
  3795. "$ref": "#/definitions/app.Response"
  3796. }
  3797. }
  3798. }
  3799. }
  3800. },
  3801. "/HSBY/QueryHsbyMarkets": {
  3802. "get": {
  3803. "security": [
  3804. {
  3805. "ApiKeyAuth": []
  3806. }
  3807. ],
  3808. "produces": [
  3809. "application/json"
  3810. ],
  3811. "tags": [
  3812. "定制【海商报业】"
  3813. ],
  3814. "summary": "查询海商报业相关市场信息",
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "$ref": "#/definitions/models.HsbyMarketInfo"
  3820. }
  3821. },
  3822. "500": {
  3823. "description": "Internal Server Error",
  3824. "schema": {
  3825. "$ref": "#/definitions/app.Response"
  3826. }
  3827. }
  3828. }
  3829. }
  3830. },
  3831. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3832. "get": {
  3833. "security": [
  3834. {
  3835. "ApiKeyAuth": []
  3836. }
  3837. ],
  3838. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3839. "produces": [
  3840. "application/json"
  3841. ],
  3842. "tags": [
  3843. "定制【海商报业】"
  3844. ],
  3845. "summary": "查询“我的订单”信息",
  3846. "parameters": [
  3847. {
  3848. "type": "string",
  3849. "description": "资金账户列表,格式:1,2,3",
  3850. "name": "accountIDs",
  3851. "in": "query",
  3852. "required": true
  3853. }
  3854. ],
  3855. "responses": {
  3856. "200": {
  3857. "description": "OK",
  3858. "schema": {
  3859. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3860. }
  3861. },
  3862. "500": {
  3863. "description": "Internal Server Error",
  3864. "schema": {
  3865. "$ref": "#/definitions/app.Response"
  3866. }
  3867. }
  3868. }
  3869. }
  3870. },
  3871. "/HSBY/QueryHsbyMyGoods": {
  3872. "get": {
  3873. "security": [
  3874. {
  3875. "ApiKeyAuth": []
  3876. }
  3877. ],
  3878. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3879. "produces": [
  3880. "application/json"
  3881. ],
  3882. "tags": [
  3883. "定制【海商报业】"
  3884. ],
  3885. "summary": "查询“我的商品”信息",
  3886. "parameters": [
  3887. {
  3888. "type": "string",
  3889. "description": "资金账户列表,格式:1,2,3",
  3890. "name": "accountIDs",
  3891. "in": "query",
  3892. "required": true
  3893. }
  3894. ],
  3895. "responses": {
  3896. "200": {
  3897. "description": "OK",
  3898. "schema": {
  3899. "$ref": "#/definitions/models.HsbyMyGoods"
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/HSBY/QueryHsbyMyPackages": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "定制【海商报业】"
  3923. ],
  3924. "summary": "查询我的包裹信息",
  3925. "parameters": [
  3926. {
  3927. "type": "string",
  3928. "description": "资金账户列表,格式:1,2,3",
  3929. "name": "accountIDs",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3936. "name": "takeOrderStatus",
  3937. "in": "query"
  3938. }
  3939. ],
  3940. "responses": {
  3941. "200": {
  3942. "description": "OK",
  3943. "schema": {
  3944. "$ref": "#/definitions/models.HsbyMyPackage"
  3945. }
  3946. },
  3947. "500": {
  3948. "description": "Internal Server Error",
  3949. "schema": {
  3950. "$ref": "#/definitions/app.Response"
  3951. }
  3952. }
  3953. }
  3954. }
  3955. },
  3956. "/HSBY/QueryHsbyPreGoodsDetail": {
  3957. "get": {
  3958. "security": [
  3959. {
  3960. "ApiKeyAuth": []
  3961. }
  3962. ],
  3963. "produces": [
  3964. "application/json"
  3965. ],
  3966. "tags": [
  3967. "定制【海商报业】"
  3968. ],
  3969. "summary": "查询一级市场(预售)商品信息详情",
  3970. "parameters": [
  3971. {
  3972. "type": "integer",
  3973. "description": "商品ID",
  3974. "name": "goodsID",
  3975. "in": "query",
  3976. "required": true
  3977. },
  3978. {
  3979. "type": "integer",
  3980. "description": "资金账户,主要用于获取预售商品购买上限",
  3981. "name": "accountID",
  3982. "in": "query"
  3983. }
  3984. ],
  3985. "responses": {
  3986. "200": {
  3987. "description": "OK",
  3988. "schema": {
  3989. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/HSBY/QueryHsbyPreGoodses": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4009. "produces": [
  4010. "application/json"
  4011. ],
  4012. "tags": [
  4013. "定制【海商报业】"
  4014. ],
  4015. "summary": "查询新品上市商品列表(一级市场预售)",
  4016. "parameters": [
  4017. {
  4018. "type": "integer",
  4019. "description": "页码",
  4020. "name": "page",
  4021. "in": "query"
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "每页条数",
  4026. "name": "pagesize",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "string",
  4031. "description": "市场ID列表,格式:1,2,3",
  4032. "name": "marketIDs",
  4033. "in": "query",
  4034. "required": true
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "目的地(省)ID",
  4039. "name": "descProvinceID",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "目的地(市)ID",
  4045. "name": "descCityID",
  4046. "in": "query"
  4047. }
  4048. ],
  4049. "responses": {
  4050. "200": {
  4051. "description": "OK",
  4052. "schema": {
  4053. "$ref": "#/definitions/models.HsbyPreGoods"
  4054. }
  4055. },
  4056. "500": {
  4057. "description": "Internal Server Error",
  4058. "schema": {
  4059. "$ref": "#/definitions/app.Response"
  4060. }
  4061. }
  4062. }
  4063. }
  4064. },
  4065. "/HSBY/QueryHsbySellMyDetails": {
  4066. "get": {
  4067. "security": [
  4068. {
  4069. "ApiKeyAuth": []
  4070. }
  4071. ],
  4072. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4073. "produces": [
  4074. "application/json"
  4075. ],
  4076. "tags": [
  4077. "定制【海商报业】"
  4078. ],
  4079. "summary": "查询\"我的闲置\"单据信息",
  4080. "parameters": [
  4081. {
  4082. "type": "integer",
  4083. "description": "页码",
  4084. "name": "page",
  4085. "in": "query"
  4086. },
  4087. {
  4088. "type": "integer",
  4089. "description": "每页条数",
  4090. "name": "pagesize",
  4091. "in": "query"
  4092. },
  4093. {
  4094. "type": "string",
  4095. "description": "资金账户列表,格式:1,2,3",
  4096. "name": "accountIDs",
  4097. "in": "query",
  4098. "required": true
  4099. },
  4100. {
  4101. "type": "integer",
  4102. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4103. "name": "orderType",
  4104. "in": "query"
  4105. }
  4106. ],
  4107. "responses": {
  4108. "200": {
  4109. "description": "OK",
  4110. "schema": {
  4111. "$ref": "#/definitions/models.HsbySellMyDetail"
  4112. }
  4113. },
  4114. "500": {
  4115. "description": "Internal Server Error",
  4116. "schema": {
  4117. "$ref": "#/definitions/app.Response"
  4118. }
  4119. }
  4120. }
  4121. }
  4122. },
  4123. "/HSBY/QueryHsbyTopGoodses": {
  4124. "get": {
  4125. "security": [
  4126. {
  4127. "ApiKeyAuth": []
  4128. }
  4129. ],
  4130. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4131. "produces": [
  4132. "application/json"
  4133. ],
  4134. "tags": [
  4135. "定制【海商报业】"
  4136. ],
  4137. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4138. "parameters": [
  4139. {
  4140. "type": "integer",
  4141. "description": "页码",
  4142. "name": "page",
  4143. "in": "query"
  4144. },
  4145. {
  4146. "type": "integer",
  4147. "description": "每页条数",
  4148. "name": "pagesize",
  4149. "in": "query"
  4150. },
  4151. {
  4152. "type": "string",
  4153. "description": "市场ID列表,格式:1,2,3",
  4154. "name": "marketIDs",
  4155. "in": "query",
  4156. "required": true
  4157. },
  4158. {
  4159. "type": "integer",
  4160. "description": "目的地(省)ID",
  4161. "name": "descProvinceID",
  4162. "in": "query"
  4163. },
  4164. {
  4165. "type": "integer",
  4166. "description": "目的地(市)ID",
  4167. "name": "descCityID",
  4168. "in": "query"
  4169. }
  4170. ],
  4171. "responses": {
  4172. "200": {
  4173. "description": "OK",
  4174. "schema": {
  4175. "$ref": "#/definitions/models.HsbyTopGoods"
  4176. }
  4177. },
  4178. "500": {
  4179. "description": "Internal Server Error",
  4180. "schema": {
  4181. "$ref": "#/definitions/app.Response"
  4182. }
  4183. }
  4184. }
  4185. }
  4186. },
  4187. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4188. "get": {
  4189. "security": [
  4190. {
  4191. "ApiKeyAuth": []
  4192. }
  4193. ],
  4194. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4195. "produces": [
  4196. "application/json"
  4197. ],
  4198. "tags": [
  4199. "定制【海商报业】"
  4200. ],
  4201. "summary": "查询游客三级市场(商城)商品信息详情",
  4202. "parameters": [
  4203. {
  4204. "type": "integer",
  4205. "description": "商品ID",
  4206. "name": "goodsID",
  4207. "in": "query",
  4208. "required": true
  4209. }
  4210. ],
  4211. "responses": {
  4212. "200": {
  4213. "description": "OK",
  4214. "schema": {
  4215. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4216. }
  4217. },
  4218. "500": {
  4219. "description": "Internal Server Error",
  4220. "schema": {
  4221. "$ref": "#/definitions/app.Response"
  4222. }
  4223. }
  4224. }
  4225. }
  4226. },
  4227. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4228. "get": {
  4229. "security": [
  4230. {
  4231. "ApiKeyAuth": []
  4232. }
  4233. ],
  4234. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4235. "produces": [
  4236. "application/json"
  4237. ],
  4238. "tags": [
  4239. "定制【海商报业】"
  4240. ],
  4241. "summary": "查询游客特卖商品列表(三级商城)",
  4242. "parameters": [
  4243. {
  4244. "type": "integer",
  4245. "description": "页码",
  4246. "name": "page",
  4247. "in": "query"
  4248. },
  4249. {
  4250. "type": "integer",
  4251. "description": "每页条数",
  4252. "name": "pagesize",
  4253. "in": "query"
  4254. },
  4255. {
  4256. "type": "string",
  4257. "description": "市场ID列表,格式:1,2,3",
  4258. "name": "marketIDs",
  4259. "in": "query",
  4260. "required": true
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": "类别ID",
  4265. "name": "categoryID",
  4266. "in": "query"
  4267. },
  4268. {
  4269. "type": "string",
  4270. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4271. "name": "goodsIDs",
  4272. "in": "query"
  4273. }
  4274. ],
  4275. "responses": {
  4276. "200": {
  4277. "description": "OK",
  4278. "schema": {
  4279. "$ref": "#/definitions/models.HsbyMarketGoods"
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/HSBY/QueryMyCollectionOrders": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "定制【海商报业】"
  4303. ],
  4304. "summary": "我的闲置中收款信息查询",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "页码",
  4309. "name": "page",
  4310. "in": "query"
  4311. },
  4312. {
  4313. "type": "integer",
  4314. "description": "每页条数",
  4315. "name": "pagesize",
  4316. "in": "query"
  4317. },
  4318. {
  4319. "type": "string",
  4320. "description": "资金账户,格式:1,2,3",
  4321. "name": "accountIDs",
  4322. "in": "query",
  4323. "required": true
  4324. }
  4325. ],
  4326. "responses": {
  4327. "200": {
  4328. "description": "OK",
  4329. "schema": {
  4330. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4331. }
  4332. },
  4333. "500": {
  4334. "description": "Internal Server Error",
  4335. "schema": {
  4336. "$ref": "#/definitions/app.Response"
  4337. }
  4338. }
  4339. }
  4340. }
  4341. },
  4342. "/HSBY/QueryMyCouponHolds": {
  4343. "get": {
  4344. "security": [
  4345. {
  4346. "ApiKeyAuth": []
  4347. }
  4348. ],
  4349. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4350. "produces": [
  4351. "application/json"
  4352. ],
  4353. "tags": [
  4354. "定制【海商报业】"
  4355. ],
  4356. "summary": "我的优惠卷持仓查询",
  4357. "parameters": [
  4358. {
  4359. "type": "string",
  4360. "description": "资金账户列表,格式:1,2,3",
  4361. "name": "accountIDs",
  4362. "in": "query",
  4363. "required": true
  4364. },
  4365. {
  4366. "type": "string",
  4367. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4368. "name": "holdStatus",
  4369. "in": "query"
  4370. }
  4371. ],
  4372. "responses": {
  4373. "200": {
  4374. "description": "OK",
  4375. "schema": {
  4376. "$ref": "#/definitions/models.MyCouponHold"
  4377. }
  4378. },
  4379. "500": {
  4380. "description": "Internal Server Error",
  4381. "schema": {
  4382. "$ref": "#/definitions/app.Response"
  4383. }
  4384. }
  4385. }
  4386. }
  4387. },
  4388. "/HSBY/QueryMyCoupons": {
  4389. "get": {
  4390. "security": [
  4391. {
  4392. "ApiKeyAuth": []
  4393. }
  4394. ],
  4395. "produces": [
  4396. "application/json"
  4397. ],
  4398. "tags": [
  4399. "定制【海商报业】"
  4400. ],
  4401. "summary": "我的优惠卷查询",
  4402. "parameters": [
  4403. {
  4404. "type": "string",
  4405. "description": "资金账户列表,格式:1,2,3",
  4406. "name": "accountIDs",
  4407. "in": "query",
  4408. "required": true
  4409. },
  4410. {
  4411. "type": "integer",
  4412. "description": "商品ID, 一般与sellUserID配套传入",
  4413. "name": "goodsID",
  4414. "in": "query"
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "卖方UserID",
  4419. "name": "sellUserID",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/models.MyCoupon"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/HSBY/QueryMyPayOrders": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "produces": [
  4447. "application/json"
  4448. ],
  4449. "tags": [
  4450. "定制【海商报业】"
  4451. ],
  4452. "summary": "获取我的订单中待付款信息",
  4453. "parameters": [
  4454. {
  4455. "type": "integer",
  4456. "description": "页码",
  4457. "name": "page",
  4458. "in": "query"
  4459. },
  4460. {
  4461. "type": "integer",
  4462. "description": "每页条数",
  4463. "name": "pagesize",
  4464. "in": "query"
  4465. },
  4466. {
  4467. "type": "string",
  4468. "description": "资金账户列表,格式:1,2,3",
  4469. "name": "accountIDs",
  4470. "in": "query",
  4471. "required": true
  4472. },
  4473. {
  4474. "type": "integer",
  4475. "description": "买方委托单号",
  4476. "name": "buyOrderID",
  4477. "in": "query"
  4478. },
  4479. {
  4480. "type": "integer",
  4481. "description": "卖方委托单号",
  4482. "name": "sellOrderID",
  4483. "in": "query"
  4484. }
  4485. ],
  4486. "responses": {
  4487. "200": {
  4488. "description": "OK",
  4489. "schema": {
  4490. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4491. }
  4492. },
  4493. "500": {
  4494. "description": "Internal Server Error",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. }
  4499. }
  4500. }
  4501. },
  4502. "/HSBY/QueryMyUsedCoupon": {
  4503. "get": {
  4504. "security": [
  4505. {
  4506. "ApiKeyAuth": []
  4507. }
  4508. ],
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "定制【海商报业】"
  4514. ],
  4515. "summary": "已使用优惠卷查询",
  4516. "parameters": [
  4517. {
  4518. "type": "string",
  4519. "description": "资金账户列表,格式:1,2,3",
  4520. "name": "accountIDs",
  4521. "in": "query",
  4522. "required": true
  4523. }
  4524. ],
  4525. "responses": {
  4526. "200": {
  4527. "description": "OK",
  4528. "schema": {
  4529. "$ref": "#/definitions/models.MyUsedCoupon"
  4530. }
  4531. },
  4532. "500": {
  4533. "description": "Internal Server Error",
  4534. "schema": {
  4535. "$ref": "#/definitions/app.Response"
  4536. }
  4537. }
  4538. }
  4539. }
  4540. },
  4541. "/HSBY/QueryProvincesAndCities": {
  4542. "get": {
  4543. "security": [
  4544. {
  4545. "ApiKeyAuth": []
  4546. }
  4547. ],
  4548. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4549. "produces": [
  4550. "application/json"
  4551. ],
  4552. "tags": [
  4553. "定制【海商报业】"
  4554. ],
  4555. "summary": "查询省市信息(不包括区)",
  4556. "parameters": [
  4557. {
  4558. "type": "integer",
  4559. "description": "省ID",
  4560. "name": "provinceID",
  4561. "in": "query"
  4562. }
  4563. ],
  4564. "responses": {
  4565. "200": {
  4566. "description": "OK",
  4567. "schema": {
  4568. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4569. }
  4570. },
  4571. "500": {
  4572. "description": "Internal Server Error",
  4573. "schema": {
  4574. "$ref": "#/definitions/app.Response"
  4575. }
  4576. }
  4577. }
  4578. }
  4579. },
  4580. "/HSBY/SetHsbyMyPackagesStatus": {
  4581. "post": {
  4582. "security": [
  4583. {
  4584. "ApiKeyAuth": []
  4585. }
  4586. ],
  4587. "produces": [
  4588. "application/json"
  4589. ],
  4590. "tags": [
  4591. "定制【海商报业】"
  4592. ],
  4593. "summary": "设置我的包裹已收货状态",
  4594. "parameters": [
  4595. {
  4596. "type": "string",
  4597. "description": "提货单号",
  4598. "name": "takeOrderID",
  4599. "in": "query",
  4600. "required": true
  4601. },
  4602. {
  4603. "type": "integer",
  4604. "description": "资金账号",
  4605. "name": "accountID",
  4606. "in": "query",
  4607. "required": true
  4608. }
  4609. ],
  4610. "responses": {
  4611. "200": {
  4612. "description": "OK",
  4613. "schema": {
  4614. "$ref": "#/definitions/app.Response"
  4615. }
  4616. },
  4617. "500": {
  4618. "description": "Internal Server Error",
  4619. "schema": {
  4620. "$ref": "#/definitions/app.Response"
  4621. }
  4622. }
  4623. }
  4624. }
  4625. },
  4626. "/Market/QueryGoodsesByLoginID": {
  4627. "get": {
  4628. "security": [
  4629. {
  4630. "ApiKeyAuth": []
  4631. }
  4632. ],
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "通用市场"
  4638. ],
  4639. "summary": "获取登录账号有权限的商品信息",
  4640. "parameters": [
  4641. {
  4642. "type": "integer",
  4643. "description": "登录账号",
  4644. "name": "loginID",
  4645. "in": "query",
  4646. "required": true
  4647. },
  4648. {
  4649. "type": "string",
  4650. "description": "市场ID列表,格式:1,2,3",
  4651. "name": "marketIDs",
  4652. "in": "query"
  4653. }
  4654. ],
  4655. "responses": {
  4656. "200": {
  4657. "description": "OK",
  4658. "schema": {
  4659. "$ref": "#/definitions/models.Goods"
  4660. }
  4661. },
  4662. "500": {
  4663. "description": "Internal Server Error",
  4664. "schema": {
  4665. "$ref": "#/definitions/app.Response"
  4666. }
  4667. }
  4668. }
  4669. }
  4670. },
  4671. "/Market/QueryMarketRun": {
  4672. "get": {
  4673. "security": [
  4674. {
  4675. "ApiKeyAuth": []
  4676. }
  4677. ],
  4678. "produces": [
  4679. "application/json"
  4680. ],
  4681. "tags": [
  4682. "通用市场"
  4683. ],
  4684. "summary": "查询市场运行信息",
  4685. "parameters": [
  4686. {
  4687. "type": "integer",
  4688. "description": "市场ID,不传返回所有",
  4689. "name": "marketID",
  4690. "in": "query"
  4691. }
  4692. ],
  4693. "responses": {
  4694. "200": {
  4695. "description": "OK",
  4696. "schema": {
  4697. "$ref": "#/definitions/models.Marketrun"
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/Market/QueryMarketsByLoginID": {
  4710. "get": {
  4711. "security": [
  4712. {
  4713. "ApiKeyAuth": []
  4714. }
  4715. ],
  4716. "produces": [
  4717. "application/json"
  4718. ],
  4719. "tags": [
  4720. "通用市场"
  4721. ],
  4722. "summary": "获取登录账号有权限的市场信息",
  4723. "parameters": [
  4724. {
  4725. "type": "integer",
  4726. "description": "登录账号",
  4727. "name": "loginID",
  4728. "in": "query",
  4729. "required": true
  4730. }
  4731. ],
  4732. "responses": {
  4733. "200": {
  4734. "description": "OK",
  4735. "schema": {
  4736. "$ref": "#/definitions/models.Market"
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/Order/QueryHisTradeDetail": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "通用单据"
  4760. ],
  4761. "summary": "历史成交单查询(合约市场)",
  4762. "parameters": [
  4763. {
  4764. "type": "string",
  4765. "description": "资金账户 - 格式:1,2,3",
  4766. "name": "accountID",
  4767. "in": "query",
  4768. "required": true
  4769. },
  4770. {
  4771. "type": "integer",
  4772. "description": "成交单号",
  4773. "name": "tradeID",
  4774. "in": "query"
  4775. },
  4776. {
  4777. "type": "integer",
  4778. "description": "委托单号",
  4779. "name": "orderID",
  4780. "in": "query"
  4781. },
  4782. {
  4783. "type": "string",
  4784. "description": "交易模式 - 格式:1,2,3",
  4785. "name": "tradeMode",
  4786. "in": "query"
  4787. },
  4788. {
  4789. "type": "integer",
  4790. "description": "委托单据类型",
  4791. "name": "buildType",
  4792. "in": "query"
  4793. },
  4794. {
  4795. "type": "string",
  4796. "description": "成交类别 - 格式:1,2,3",
  4797. "name": "tradeType",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "string",
  4802. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4803. "name": "startDate",
  4804. "in": "query"
  4805. },
  4806. {
  4807. "type": "string",
  4808. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4809. "name": "endDate",
  4810. "in": "query"
  4811. }
  4812. ],
  4813. "responses": {
  4814. "200": {
  4815. "description": "OK",
  4816. "schema": {
  4817. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4818. }
  4819. },
  4820. "500": {
  4821. "description": "Internal Server Error",
  4822. "schema": {
  4823. "$ref": "#/definitions/app.Response"
  4824. }
  4825. }
  4826. }
  4827. }
  4828. },
  4829. "/Order/QueryHisTradeOrderDetail": {
  4830. "get": {
  4831. "security": [
  4832. {
  4833. "ApiKeyAuth": []
  4834. }
  4835. ],
  4836. "produces": [
  4837. "application/json"
  4838. ],
  4839. "tags": [
  4840. "通用单据"
  4841. ],
  4842. "summary": "历史委托单查询请求(合约市场)",
  4843. "parameters": [
  4844. {
  4845. "type": "string",
  4846. "description": "资金账户 - 格式:1,2,3",
  4847. "name": "accountID",
  4848. "in": "query",
  4849. "required": true
  4850. },
  4851. {
  4852. "type": "string",
  4853. "description": "交易模式 - 格式:1,2,3",
  4854. "name": "tradeMode",
  4855. "in": "query"
  4856. },
  4857. {
  4858. "type": "string",
  4859. "description": "委托状态 - 格式:1,2,3",
  4860. "name": "orderStatus",
  4861. "in": "query"
  4862. },
  4863. {
  4864. "type": "integer",
  4865. "description": "委托单号",
  4866. "name": "orderID",
  4867. "in": "query"
  4868. },
  4869. {
  4870. "type": "string",
  4871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4872. "name": "startDate",
  4873. "in": "query"
  4874. },
  4875. {
  4876. "type": "string",
  4877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4878. "name": "endDate",
  4879. "in": "query"
  4880. }
  4881. ],
  4882. "responses": {
  4883. "200": {
  4884. "description": "OK",
  4885. "schema": {
  4886. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4887. }
  4888. },
  4889. "500": {
  4890. "description": "Internal Server Error",
  4891. "schema": {
  4892. "$ref": "#/definitions/app.Response"
  4893. }
  4894. }
  4895. }
  4896. }
  4897. },
  4898. "/Order/QueryTradeDetail": {
  4899. "get": {
  4900. "security": [
  4901. {
  4902. "ApiKeyAuth": []
  4903. }
  4904. ],
  4905. "produces": [
  4906. "application/json"
  4907. ],
  4908. "tags": [
  4909. "通用单据"
  4910. ],
  4911. "summary": "成交单查询(合约市场)",
  4912. "parameters": [
  4913. {
  4914. "type": "string",
  4915. "description": "资金账户 - 格式:1,2,3",
  4916. "name": "accountID",
  4917. "in": "query",
  4918. "required": true
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "成交单号",
  4923. "name": "tradeID",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "委托单号",
  4929. "name": "orderID",
  4930. "in": "query"
  4931. },
  4932. {
  4933. "type": "string",
  4934. "description": "交易模式 - 格式:1,2,3",
  4935. "name": "tradeMode",
  4936. "in": "query"
  4937. },
  4938. {
  4939. "type": "integer",
  4940. "description": "委托单据类型",
  4941. "name": "buildType",
  4942. "in": "query"
  4943. },
  4944. {
  4945. "type": "string",
  4946. "description": "成交类别 - 格式:1,2,3",
  4947. "name": "tradeType",
  4948. "in": "query"
  4949. }
  4950. ],
  4951. "responses": {
  4952. "200": {
  4953. "description": "OK",
  4954. "schema": {
  4955. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4956. }
  4957. },
  4958. "500": {
  4959. "description": "Internal Server Error",
  4960. "schema": {
  4961. "$ref": "#/definitions/app.Response"
  4962. }
  4963. }
  4964. }
  4965. }
  4966. },
  4967. "/Order/QueryTradeOrderDetail": {
  4968. "get": {
  4969. "security": [
  4970. {
  4971. "ApiKeyAuth": []
  4972. }
  4973. ],
  4974. "produces": [
  4975. "application/json"
  4976. ],
  4977. "tags": [
  4978. "通用单据"
  4979. ],
  4980. "summary": "委托单查询请求(合约市场)",
  4981. "parameters": [
  4982. {
  4983. "type": "string",
  4984. "description": "资金账户 - 格式:1,2,3",
  4985. "name": "accountID",
  4986. "in": "query",
  4987. "required": true
  4988. },
  4989. {
  4990. "type": "string",
  4991. "description": "交易模式 - 格式:1,2,3",
  4992. "name": "tradeMode",
  4993. "in": "query"
  4994. },
  4995. {
  4996. "type": "string",
  4997. "description": "委托状态 - 格式:1,2,3",
  4998. "name": "orderStatus",
  4999. "in": "query"
  5000. },
  5001. {
  5002. "type": "integer",
  5003. "description": "委托单号",
  5004. "name": "orderID",
  5005. "in": "query"
  5006. }
  5007. ],
  5008. "responses": {
  5009. "200": {
  5010. "description": "OK",
  5011. "schema": {
  5012. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Order/QueryTradePosition": {
  5025. "get": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "通用单据"
  5036. ],
  5037. "summary": "持仓汇总查询(合约市场)",
  5038. "parameters": [
  5039. {
  5040. "type": "string",
  5041. "description": "资金账户 - 格式:1,2,3",
  5042. "name": "accountID",
  5043. "in": "query",
  5044. "required": true
  5045. },
  5046. {
  5047. "type": "string",
  5048. "description": "交易模式 - 格式:1,2,3",
  5049. "name": "tradeMode",
  5050. "in": "query"
  5051. }
  5052. ],
  5053. "responses": {
  5054. "200": {
  5055. "description": "OK",
  5056. "schema": {
  5057. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5058. }
  5059. },
  5060. "500": {
  5061. "description": "Internal Server Error",
  5062. "schema": {
  5063. "$ref": "#/definitions/app.Response"
  5064. }
  5065. }
  5066. }
  5067. }
  5068. },
  5069. "/Quote/QueryHistoryDatas": {
  5070. "get": {
  5071. "security": [
  5072. {
  5073. "ApiKeyAuth": []
  5074. }
  5075. ],
  5076. "produces": [
  5077. "application/json"
  5078. ],
  5079. "tags": [
  5080. "行情服务"
  5081. ],
  5082. "summary": "查询行情历史数据",
  5083. "parameters": [
  5084. {
  5085. "type": "integer",
  5086. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5087. "name": "cycleType",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "商品代码",
  5094. "name": "goodsCode",
  5095. "in": "query",
  5096. "required": true
  5097. },
  5098. {
  5099. "type": "string",
  5100. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5101. "name": "startTime",
  5102. "in": "query"
  5103. },
  5104. {
  5105. "type": "string",
  5106. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5107. "name": "endTime",
  5108. "in": "query"
  5109. },
  5110. {
  5111. "type": "integer",
  5112. "description": "条数",
  5113. "name": "count",
  5114. "in": "query"
  5115. },
  5116. {
  5117. "type": "boolean",
  5118. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5119. "name": "isAsc",
  5120. "in": "query"
  5121. }
  5122. ],
  5123. "responses": {
  5124. "200": {
  5125. "description": "OK",
  5126. "schema": {
  5127. "$ref": "#/definitions/quote.HistoryData"
  5128. }
  5129. },
  5130. "500": {
  5131. "description": "Internal Server Error",
  5132. "schema": {
  5133. "$ref": "#/definitions/app.Response"
  5134. }
  5135. }
  5136. }
  5137. }
  5138. },
  5139. "/Quote/QueryHistoryTikDatas": {
  5140. "get": {
  5141. "security": [
  5142. {
  5143. "ApiKeyAuth": []
  5144. }
  5145. ],
  5146. "produces": [
  5147. "application/json"
  5148. ],
  5149. "tags": [
  5150. "行情服务"
  5151. ],
  5152. "summary": "查询行情Tik数据",
  5153. "parameters": [
  5154. {
  5155. "type": "string",
  5156. "description": "商品代码",
  5157. "name": "goodsCode",
  5158. "in": "query",
  5159. "required": true
  5160. },
  5161. {
  5162. "type": "string",
  5163. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5164. "name": "startTime",
  5165. "in": "query"
  5166. },
  5167. {
  5168. "type": "string",
  5169. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5170. "name": "endTime",
  5171. "in": "query"
  5172. },
  5173. {
  5174. "type": "integer",
  5175. "description": "条数",
  5176. "name": "count",
  5177. "in": "query"
  5178. },
  5179. {
  5180. "type": "boolean",
  5181. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5182. "name": "isAsc",
  5183. "in": "query"
  5184. }
  5185. ],
  5186. "responses": {
  5187. "200": {
  5188. "description": "OK",
  5189. "schema": {
  5190. "$ref": "#/definitions/quote.HistoryTikData"
  5191. }
  5192. },
  5193. "500": {
  5194. "description": "Internal Server Error",
  5195. "schema": {
  5196. "$ref": "#/definitions/app.Response"
  5197. }
  5198. }
  5199. }
  5200. }
  5201. },
  5202. "/Quote/QueryQuoteDay": {
  5203. "get": {
  5204. "security": [
  5205. {
  5206. "ApiKeyAuth": []
  5207. }
  5208. ],
  5209. "produces": [
  5210. "application/json"
  5211. ],
  5212. "tags": [
  5213. "行情服务"
  5214. ],
  5215. "summary": "获取商品盘面信息",
  5216. "parameters": [
  5217. {
  5218. "type": "string",
  5219. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5220. "name": "goodsCodes",
  5221. "in": "query",
  5222. "required": true
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5230. }
  5231. },
  5232. "500": {
  5233. "description": "Internal Server Error",
  5234. "schema": {
  5235. "$ref": "#/definitions/app.Response"
  5236. }
  5237. }
  5238. }
  5239. }
  5240. },
  5241. "/Quote/QueryTSData": {
  5242. "get": {
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "行情服务"
  5248. ],
  5249. "summary": "分时图数据查询",
  5250. "parameters": [
  5251. {
  5252. "type": "string",
  5253. "description": "商品代码",
  5254. "name": "goodsCode",
  5255. "in": "query",
  5256. "required": true
  5257. }
  5258. ],
  5259. "responses": {
  5260. "200": {
  5261. "description": "OK",
  5262. "schema": {
  5263. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5264. }
  5265. },
  5266. "500": {
  5267. "description": "Internal Server Error",
  5268. "schema": {
  5269. "$ref": "#/definitions/app.Response"
  5270. }
  5271. }
  5272. }
  5273. }
  5274. },
  5275. "/SZDZ/QueryConvertConfig": {
  5276. "get": {
  5277. "security": [
  5278. {
  5279. "ApiKeyAuth": []
  5280. }
  5281. ],
  5282. "produces": [
  5283. "application/json"
  5284. ],
  5285. "tags": [
  5286. "定制【尚志大宗】"
  5287. ],
  5288. "summary": "查询交易系统转换设置",
  5289. "parameters": [
  5290. {
  5291. "type": "integer",
  5292. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5293. "name": "convertType",
  5294. "in": "query"
  5295. },
  5296. {
  5297. "type": "string",
  5298. "description": "外部商品代码[JD\\PD]",
  5299. "name": "outerGoodsCode",
  5300. "in": "query"
  5301. },
  5302. {
  5303. "type": "string",
  5304. "description": "内部商品ID列表[交易],格式:1,2,3",
  5305. "name": "innerGoodsIDs",
  5306. "in": "query"
  5307. }
  5308. ],
  5309. "responses": {
  5310. "200": {
  5311. "description": "OK",
  5312. "schema": {
  5313. "$ref": "#/definitions/models.Szdz3convertconfig"
  5314. }
  5315. },
  5316. "500": {
  5317. "description": "Internal Server Error",
  5318. "schema": {
  5319. "$ref": "#/definitions/app.Response"
  5320. }
  5321. }
  5322. }
  5323. }
  5324. },
  5325. "/SZDZ/QueryConvertLog": {
  5326. "get": {
  5327. "security": [
  5328. {
  5329. "ApiKeyAuth": []
  5330. }
  5331. ],
  5332. "produces": [
  5333. "application/json"
  5334. ],
  5335. "tags": [
  5336. "定制【尚志大宗】"
  5337. ],
  5338. "summary": "交易系统转换流水查询",
  5339. "parameters": [
  5340. {
  5341. "type": "string",
  5342. "description": "资金账户 - 格式:1,2,3",
  5343. "name": "accountID",
  5344. "in": "query",
  5345. "required": true
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5350. "name": "startDate",
  5351. "in": "query"
  5352. },
  5353. {
  5354. "type": "string",
  5355. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5356. "name": "endDate",
  5357. "in": "query"
  5358. }
  5359. ],
  5360. "responses": {
  5361. "200": {
  5362. "description": "OK",
  5363. "schema": {
  5364. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/SZDZ/QueryGoodsPickup": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "定制【尚志大宗】"
  5388. ],
  5389. "summary": "商品提货单查询",
  5390. "parameters": [
  5391. {
  5392. "type": "string",
  5393. "description": "资金账户 - 格式:1,2,3",
  5394. "name": "accountID",
  5395. "in": "query",
  5396. "required": true
  5397. },
  5398. {
  5399. "type": "integer",
  5400. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5401. "name": "takeOrderStatus",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/SZDZ/QueryRecieptOrder": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5429. "produces": [
  5430. "application/json"
  5431. ],
  5432. "tags": [
  5433. "定制【尚志大宗】"
  5434. ],
  5435. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5436. "parameters": [
  5437. {
  5438. "type": "integer",
  5439. "description": "页码",
  5440. "name": "page",
  5441. "in": "query"
  5442. },
  5443. {
  5444. "type": "integer",
  5445. "description": "每页条数",
  5446. "name": "pagesize",
  5447. "in": "query"
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "商品ID",
  5452. "name": "goodsID",
  5453. "in": "query",
  5454. "required": true
  5455. },
  5456. {
  5457. "type": "string",
  5458. "description": "所属账户名称",
  5459. "name": "accountName",
  5460. "in": "query"
  5461. },
  5462. {
  5463. "type": "integer",
  5464. "description": "市场ID",
  5465. "name": "marketID",
  5466. "in": "query"
  5467. },
  5468. {
  5469. "type": "integer",
  5470. "description": "方向 - 0:买 1:卖",
  5471. "name": "buyorsell",
  5472. "in": "query",
  5473. "required": true
  5474. }
  5475. ],
  5476. "responses": {
  5477. "200": {
  5478. "description": "OK",
  5479. "schema": {
  5480. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5481. }
  5482. },
  5483. "500": {
  5484. "description": "Internal Server Error",
  5485. "schema": {
  5486. "$ref": "#/definitions/app.Response"
  5487. }
  5488. }
  5489. }
  5490. }
  5491. },
  5492. "/SZDZ/QuerySZDZTradePosition": {
  5493. "get": {
  5494. "security": [
  5495. {
  5496. "ApiKeyAuth": []
  5497. }
  5498. ],
  5499. "produces": [
  5500. "application/json"
  5501. ],
  5502. "tags": [
  5503. "定制【尚志大宗】"
  5504. ],
  5505. "summary": "持仓汇总查询(尚志大宗)",
  5506. "parameters": [
  5507. {
  5508. "type": "integer",
  5509. "description": "资金账户",
  5510. "name": "accountID",
  5511. "in": "query",
  5512. "required": true
  5513. }
  5514. ],
  5515. "responses": {
  5516. "200": {
  5517. "description": "OK",
  5518. "schema": {
  5519. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5520. }
  5521. },
  5522. "500": {
  5523. "description": "Internal Server Error",
  5524. "schema": {
  5525. "$ref": "#/definitions/app.Response"
  5526. }
  5527. }
  5528. }
  5529. }
  5530. },
  5531. "/SZDZ/SearchWhite": {
  5532. "get": {
  5533. "security": [
  5534. {
  5535. "ApiKeyAuth": []
  5536. }
  5537. ],
  5538. "produces": [
  5539. "application/json"
  5540. ],
  5541. "tags": [
  5542. "定制【尚志大宗】"
  5543. ],
  5544. "summary": "搜索白名单",
  5545. "parameters": [
  5546. {
  5547. "type": "integer",
  5548. "description": "用户ID",
  5549. "name": "userID",
  5550. "in": "query",
  5551. "required": true
  5552. }
  5553. ],
  5554. "responses": {
  5555. "200": {
  5556. "description": "OK",
  5557. "schema": {
  5558. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5559. }
  5560. },
  5561. "500": {
  5562. "description": "Internal Server Error",
  5563. "schema": {
  5564. "$ref": "#/definitions/app.Response"
  5565. }
  5566. }
  5567. }
  5568. }
  5569. },
  5570. "/Search/SearchGoodses": {
  5571. "get": {
  5572. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5573. "produces": [
  5574. "application/json"
  5575. ],
  5576. "tags": [
  5577. "检索服务"
  5578. ],
  5579. "summary": "检索商品信息",
  5580. "parameters": [
  5581. {
  5582. "type": "string",
  5583. "description": "检索内容",
  5584. "name": "content",
  5585. "in": "query",
  5586. "required": true
  5587. },
  5588. {
  5589. "type": "string",
  5590. "description": "交易模式,格式:1,2,3",
  5591. "name": "tradeModes",
  5592. "in": "query"
  5593. }
  5594. ],
  5595. "responses": {
  5596. "200": {
  5597. "description": "OK",
  5598. "schema": {
  5599. "$ref": "#/definitions/models.SearchGoods"
  5600. }
  5601. },
  5602. "500": {
  5603. "description": "Internal Server Error",
  5604. "schema": {
  5605. "$ref": "#/definitions/app.Response"
  5606. }
  5607. }
  5608. }
  5609. }
  5610. },
  5611. "/TaAccount/GetTaAccounts": {
  5612. "get": {
  5613. "security": [
  5614. {
  5615. "ApiKeyAuth": []
  5616. }
  5617. ],
  5618. "produces": [
  5619. "application/json"
  5620. ],
  5621. "tags": [
  5622. "资金账户"
  5623. ],
  5624. "summary": "获取资金账户信息",
  5625. "parameters": [
  5626. {
  5627. "type": "integer",
  5628. "description": "登录账户",
  5629. "name": "loginID",
  5630. "in": "query",
  5631. "required": true
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5636. "name": "taAccountType",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "$ref": "#/definitions/models.Taaccount"
  5645. }
  5646. },
  5647. "500": {
  5648. "description": "Internal Server Error",
  5649. "schema": {
  5650. "$ref": "#/definitions/app.Response"
  5651. }
  5652. }
  5653. }
  5654. }
  5655. },
  5656. "/TaAccount/QueryAmountLog": {
  5657. "get": {
  5658. "security": [
  5659. {
  5660. "ApiKeyAuth": []
  5661. }
  5662. ],
  5663. "produces": [
  5664. "application/json"
  5665. ],
  5666. "tags": [
  5667. "资金账户"
  5668. ],
  5669. "summary": "资金流水查询(当前)",
  5670. "parameters": [
  5671. {
  5672. "type": "integer",
  5673. "description": "页码",
  5674. "name": "page",
  5675. "in": "query"
  5676. },
  5677. {
  5678. "type": "integer",
  5679. "description": "每页条数",
  5680. "name": "pagesize",
  5681. "in": "query"
  5682. },
  5683. {
  5684. "type": "string",
  5685. "description": "资金账户 - 格式:1,2,3",
  5686. "name": "accountID",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "string",
  5692. "description": "资金操作类型 - 格式:1,2,3",
  5693. "name": "OperateType",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/TaAccount/QueryHisAmountLog": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "资金账户"
  5725. ],
  5726. "summary": "资金流水查询(历史)",
  5727. "parameters": [
  5728. {
  5729. "type": "integer",
  5730. "description": "页码",
  5731. "name": "page",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "每页条数",
  5737. "name": "pagesize",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "string",
  5742. "description": "资金账户 - 格式:1,2,3",
  5743. "name": "accountID",
  5744. "in": "query",
  5745. "required": true
  5746. },
  5747. {
  5748. "type": "string",
  5749. "description": "资金操作类型 - 格式:1,2,3",
  5750. "name": "OperateType",
  5751. "in": "query"
  5752. },
  5753. {
  5754. "type": "string",
  5755. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5756. "name": "startDate",
  5757. "in": "query"
  5758. },
  5759. {
  5760. "type": "string",
  5761. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5762. "name": "endDate",
  5763. "in": "query"
  5764. }
  5765. ],
  5766. "responses": {
  5767. "200": {
  5768. "description": "OK",
  5769. "schema": {
  5770. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5771. }
  5772. },
  5773. "500": {
  5774. "description": "Internal Server Error",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. }
  5779. }
  5780. }
  5781. },
  5782. "/Trade/QueryRecieptOrder": {
  5783. "get": {
  5784. "security": [
  5785. {
  5786. "ApiKeyAuth": []
  5787. }
  5788. ],
  5789. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5790. "produces": [
  5791. "application/json"
  5792. ],
  5793. "tags": [
  5794. "通用交易"
  5795. ],
  5796. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5797. "parameters": [
  5798. {
  5799. "type": "integer",
  5800. "description": "页码",
  5801. "name": "page",
  5802. "in": "query"
  5803. },
  5804. {
  5805. "type": "integer",
  5806. "description": "每页条数",
  5807. "name": "pagesize",
  5808. "in": "query"
  5809. },
  5810. {
  5811. "type": "integer",
  5812. "description": "商品ID",
  5813. "name": "goodsID",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "string",
  5819. "description": "所属账户名称",
  5820. "name": "accountName",
  5821. "in": "query"
  5822. },
  5823. {
  5824. "type": "integer",
  5825. "description": "市场ID",
  5826. "name": "marketID",
  5827. "in": "query"
  5828. },
  5829. {
  5830. "type": "integer",
  5831. "description": "方向 - 0:买 1:卖",
  5832. "name": "buyorsell",
  5833. "in": "query",
  5834. "required": true
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5842. }
  5843. },
  5844. "500": {
  5845. "description": "Internal Server Error",
  5846. "schema": {
  5847. "$ref": "#/definitions/app.Response"
  5848. }
  5849. }
  5850. }
  5851. }
  5852. },
  5853. "/User/AddMessageBoard": {
  5854. "post": {
  5855. "security": [
  5856. {
  5857. "ApiKeyAuth": []
  5858. }
  5859. ],
  5860. "produces": [
  5861. "application/json"
  5862. ],
  5863. "tags": [
  5864. "用户信息"
  5865. ],
  5866. "summary": "添加用户留言板信息",
  5867. "parameters": [
  5868. {
  5869. "type": "integer",
  5870. "description": "用户ID",
  5871. "name": "userID",
  5872. "in": "query",
  5873. "required": true
  5874. },
  5875. {
  5876. "type": "string",
  5877. "description": "留言信息",
  5878. "name": "message",
  5879. "in": "query",
  5880. "required": true
  5881. },
  5882. {
  5883. "type": "string",
  5884. "description": "联系电话",
  5885. "name": "contactNum",
  5886. "in": "query",
  5887. "required": true
  5888. }
  5889. ],
  5890. "responses": {
  5891. "200": {
  5892. "description": "OK",
  5893. "schema": {
  5894. "$ref": "#/definitions/app.Response"
  5895. }
  5896. },
  5897. "500": {
  5898. "description": "Internal Server Error",
  5899. "schema": {
  5900. "$ref": "#/definitions/app.Response"
  5901. }
  5902. }
  5903. }
  5904. }
  5905. },
  5906. "/User/AddUserFavoriteGoods": {
  5907. "post": {
  5908. "security": [
  5909. {
  5910. "ApiKeyAuth": []
  5911. }
  5912. ],
  5913. "produces": [
  5914. "application/json"
  5915. ],
  5916. "tags": [
  5917. "用户信息"
  5918. ],
  5919. "summary": "添加用户商品收藏信息",
  5920. "parameters": [
  5921. {
  5922. "type": "integer",
  5923. "description": "用户ID",
  5924. "name": "userID",
  5925. "in": "query",
  5926. "required": true
  5927. },
  5928. {
  5929. "type": "integer",
  5930. "description": "商品ID",
  5931. "name": "goodsID",
  5932. "in": "query",
  5933. "required": true
  5934. }
  5935. ],
  5936. "responses": {
  5937. "200": {
  5938. "description": "OK",
  5939. "schema": {
  5940. "$ref": "#/definitions/app.Response"
  5941. }
  5942. },
  5943. "500": {
  5944. "description": "Internal Server Error",
  5945. "schema": {
  5946. "$ref": "#/definitions/app.Response"
  5947. }
  5948. }
  5949. }
  5950. }
  5951. },
  5952. "/User/GetLoginID": {
  5953. "get": {
  5954. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5955. "produces": [
  5956. "application/json"
  5957. ],
  5958. "tags": [
  5959. "用户信息"
  5960. ],
  5961. "summary": "获取登录ID",
  5962. "parameters": [
  5963. {
  5964. "type": "string",
  5965. "description": "登录代码",
  5966. "name": "username",
  5967. "in": "query",
  5968. "required": true
  5969. }
  5970. ],
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "$ref": "#/definitions/app.Response"
  5976. }
  5977. },
  5978. "500": {
  5979. "description": "Internal Server Error",
  5980. "schema": {
  5981. "$ref": "#/definitions/app.Response"
  5982. }
  5983. }
  5984. }
  5985. }
  5986. },
  5987. "/User/GetUserAccount": {
  5988. "get": {
  5989. "security": [
  5990. {
  5991. "ApiKeyAuth": []
  5992. }
  5993. ],
  5994. "produces": [
  5995. "application/json"
  5996. ],
  5997. "tags": [
  5998. "用户信息"
  5999. ],
  6000. "summary": "获取用户账号信息",
  6001. "parameters": [
  6002. {
  6003. "type": "integer",
  6004. "description": "用户ID",
  6005. "name": "userID",
  6006. "in": "query",
  6007. "required": true
  6008. }
  6009. ],
  6010. "responses": {
  6011. "200": {
  6012. "description": "OK",
  6013. "schema": {
  6014. "$ref": "#/definitions/models.Useraccount"
  6015. }
  6016. },
  6017. "500": {
  6018. "description": "Internal Server Error",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. }
  6023. }
  6024. }
  6025. },
  6026. "/User/GetUserAuthStatus": {
  6027. "get": {
  6028. "security": [
  6029. {
  6030. "ApiKeyAuth": []
  6031. }
  6032. ],
  6033. "produces": [
  6034. "application/json"
  6035. ],
  6036. "tags": [
  6037. "用户信息"
  6038. ],
  6039. "summary": "获取用户实名认证状态",
  6040. "parameters": [
  6041. {
  6042. "type": "integer",
  6043. "description": "用户ID",
  6044. "name": "userID",
  6045. "in": "query",
  6046. "required": true
  6047. }
  6048. ],
  6049. "responses": {
  6050. "200": {
  6051. "description": "OK",
  6052. "schema": {
  6053. "$ref": "#/definitions/app.Response"
  6054. }
  6055. },
  6056. "500": {
  6057. "description": "Internal Server Error",
  6058. "schema": {
  6059. "$ref": "#/definitions/app.Response"
  6060. }
  6061. }
  6062. }
  6063. }
  6064. },
  6065. "/User/LoginQuery": {
  6066. "get": {
  6067. "security": [
  6068. {
  6069. "ApiKeyAuth": []
  6070. }
  6071. ],
  6072. "produces": [
  6073. "application/json"
  6074. ],
  6075. "tags": [
  6076. "用户信息"
  6077. ],
  6078. "summary": "账户登录后信息查询",
  6079. "parameters": [
  6080. {
  6081. "type": "integer",
  6082. "description": "登录账号",
  6083. "name": "loginID",
  6084. "in": "query",
  6085. "required": true
  6086. }
  6087. ],
  6088. "responses": {
  6089. "200": {
  6090. "description": "OK",
  6091. "schema": {
  6092. "$ref": "#/definitions/user.LoginQueryRsp"
  6093. }
  6094. },
  6095. "500": {
  6096. "description": "Internal Server Error",
  6097. "schema": {
  6098. "$ref": "#/definitions/app.Response"
  6099. }
  6100. }
  6101. }
  6102. }
  6103. },
  6104. "/User/QueryMessageBoard": {
  6105. "get": {
  6106. "security": [
  6107. {
  6108. "ApiKeyAuth": []
  6109. }
  6110. ],
  6111. "produces": [
  6112. "application/json"
  6113. ],
  6114. "tags": [
  6115. "用户信息"
  6116. ],
  6117. "summary": "获取用户留言板信息",
  6118. "parameters": [
  6119. {
  6120. "type": "integer",
  6121. "description": "用户ID",
  6122. "name": "userID",
  6123. "in": "query",
  6124. "required": true
  6125. }
  6126. ],
  6127. "responses": {
  6128. "200": {
  6129. "description": "OK",
  6130. "schema": {
  6131. "$ref": "#/definitions/models.Messageboard"
  6132. }
  6133. },
  6134. "500": {
  6135. "description": "Internal Server Error",
  6136. "schema": {
  6137. "$ref": "#/definitions/app.Response"
  6138. }
  6139. }
  6140. }
  6141. }
  6142. },
  6143. "/User/QueryUserFavoriteGoodses": {
  6144. "get": {
  6145. "security": [
  6146. {
  6147. "ApiKeyAuth": []
  6148. }
  6149. ],
  6150. "produces": [
  6151. "application/json"
  6152. ],
  6153. "tags": [
  6154. "用户信息"
  6155. ],
  6156. "summary": "获取用户商品收藏信息",
  6157. "parameters": [
  6158. {
  6159. "type": "integer",
  6160. "description": "用户ID",
  6161. "name": "userID",
  6162. "in": "query",
  6163. "required": true
  6164. }
  6165. ],
  6166. "responses": {
  6167. "200": {
  6168. "description": "OK",
  6169. "schema": {
  6170. "$ref": "#/definitions/models.Userfavoritegoods"
  6171. }
  6172. },
  6173. "500": {
  6174. "description": "Internal Server Error",
  6175. "schema": {
  6176. "$ref": "#/definitions/app.Response"
  6177. }
  6178. }
  6179. }
  6180. }
  6181. },
  6182. "/User/QueryUserInfo": {
  6183. "get": {
  6184. "security": [
  6185. {
  6186. "ApiKeyAuth": []
  6187. }
  6188. ],
  6189. "produces": [
  6190. "application/json"
  6191. ],
  6192. "tags": [
  6193. "用户信息"
  6194. ],
  6195. "summary": "获取用户信息",
  6196. "parameters": [
  6197. {
  6198. "type": "integer",
  6199. "description": "用户ID",
  6200. "name": "userID",
  6201. "in": "query",
  6202. "required": true
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/models.Userinfo"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/User/QueryUserReferNum": {
  6222. "get": {
  6223. "produces": [
  6224. "application/json"
  6225. ],
  6226. "tags": [
  6227. "用户信息"
  6228. ],
  6229. "summary": "获取用户邀请码",
  6230. "parameters": [
  6231. {
  6232. "type": "integer",
  6233. "description": "用户ID",
  6234. "name": "userID",
  6235. "in": "query",
  6236. "required": true
  6237. }
  6238. ],
  6239. "responses": {
  6240. "200": {
  6241. "description": "OK",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. },
  6246. "500": {
  6247. "description": "Internal Server Error",
  6248. "schema": {
  6249. "$ref": "#/definitions/app.Response"
  6250. }
  6251. }
  6252. }
  6253. }
  6254. },
  6255. "/User/RemoveUserFavoriteGoods": {
  6256. "post": {
  6257. "security": [
  6258. {
  6259. "ApiKeyAuth": []
  6260. }
  6261. ],
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "用户信息"
  6267. ],
  6268. "summary": "移除用户商品收藏信息",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "用户ID",
  6273. "name": "userID",
  6274. "in": "query",
  6275. "required": true
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "商品ID",
  6280. "name": "goodsID",
  6281. "in": "query",
  6282. "required": true
  6283. }
  6284. ],
  6285. "responses": {
  6286. "200": {
  6287. "description": "OK",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. },
  6292. "500": {
  6293. "description": "Internal Server Error",
  6294. "schema": {
  6295. "$ref": "#/definitions/app.Response"
  6296. }
  6297. }
  6298. }
  6299. }
  6300. },
  6301. "/User/UpdateUserAccountStatus": {
  6302. "post": {
  6303. "security": [
  6304. {
  6305. "ApiKeyAuth": []
  6306. }
  6307. ],
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "用户信息"
  6313. ],
  6314. "summary": "更新用户状态",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "用户ID",
  6319. "name": "userID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "账户状态 - 4:正常 6:注销(停用)",
  6326. "name": "accountStatus",
  6327. "in": "query",
  6328. "required": true
  6329. }
  6330. ],
  6331. "responses": {
  6332. "200": {
  6333. "description": "OK",
  6334. "schema": {
  6335. "$ref": "#/definitions/app.Response"
  6336. }
  6337. },
  6338. "500": {
  6339. "description": "Internal Server Error",
  6340. "schema": {
  6341. "$ref": "#/definitions/app.Response"
  6342. }
  6343. }
  6344. }
  6345. }
  6346. },
  6347. "/WR/GetWRCategoryInfo": {
  6348. "get": {
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "仓单服务"
  6354. ],
  6355. "summary": "获取现货分类信息",
  6356. "responses": {
  6357. "200": {
  6358. "description": "OK",
  6359. "schema": {
  6360. "$ref": "#/definitions/models.WRCategoryTree"
  6361. }
  6362. },
  6363. "500": {
  6364. "description": "Internal Server Error",
  6365. "schema": {
  6366. "$ref": "#/definitions/app.Response"
  6367. }
  6368. }
  6369. }
  6370. }
  6371. },
  6372. "/WRTrade/GetAllDeliveryGoods": {
  6373. "get": {
  6374. "security": [
  6375. {
  6376. "ApiKeyAuth": []
  6377. },
  6378. {
  6379. "ApiKeyAuth": []
  6380. }
  6381. ],
  6382. "produces": [
  6383. "application/json",
  6384. "application/json"
  6385. ],
  6386. "tags": [
  6387. "仓单贸易",
  6388. "仓单贸易"
  6389. ],
  6390. "summary": "获取带仓单分类的种类信息",
  6391. "responses": {
  6392. "200": {
  6393. "description": "OK",
  6394. "schema": {
  6395. "$ref": "#/definitions/app.Response"
  6396. }
  6397. },
  6398. "500": {
  6399. "description": "Internal Server Error",
  6400. "schema": {
  6401. "$ref": "#/definitions/app.Response"
  6402. }
  6403. }
  6404. }
  6405. }
  6406. }
  6407. },
  6408. "definitions": {
  6409. "app.Response": {
  6410. "type": "object",
  6411. "properties": {
  6412. "code": {
  6413. "type": "integer"
  6414. },
  6415. "data": {
  6416. "type": "object"
  6417. },
  6418. "msg": {
  6419. "type": "string"
  6420. },
  6421. "page": {
  6422. "description": "页码",
  6423. "type": "integer"
  6424. },
  6425. "pagesize": {
  6426. "description": "每页条数",
  6427. "type": "integer"
  6428. },
  6429. "total": {
  6430. "description": "总条数",
  6431. "type": "integer"
  6432. }
  6433. }
  6434. },
  6435. "common.QueryImageConfigsRsp": {
  6436. "type": "object",
  6437. "required": [
  6438. "configid"
  6439. ],
  6440. "properties": {
  6441. "areauserid": {
  6442. "description": "所属机构ID",
  6443. "type": "integer"
  6444. },
  6445. "configid": {
  6446. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6447. "type": "integer"
  6448. },
  6449. "createdate": {
  6450. "description": "创建时间",
  6451. "type": "string"
  6452. },
  6453. "creatorid": {
  6454. "description": "创建人",
  6455. "type": "integer"
  6456. },
  6457. "imagepath": {
  6458. "description": "图片",
  6459. "type": "string"
  6460. },
  6461. "imagetype": {
  6462. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6463. "type": "integer"
  6464. },
  6465. "isshow": {
  6466. "description": "是否展示 - 0:不展示 1:展示",
  6467. "type": "integer"
  6468. },
  6469. "marketid": {
  6470. "description": "市场ID",
  6471. "type": "integer"
  6472. },
  6473. "modifierid": {
  6474. "description": "操作人",
  6475. "type": "integer"
  6476. },
  6477. "sort": {
  6478. "description": "排序",
  6479. "type": "integer"
  6480. },
  6481. "title": {
  6482. "description": "标题",
  6483. "type": "string"
  6484. },
  6485. "trademode": {
  6486. "description": "交易模式",
  6487. "type": "integer"
  6488. },
  6489. "updatedate": {
  6490. "description": "修改时间",
  6491. "type": "string"
  6492. },
  6493. "url": {
  6494. "description": "链接(地址或商品ID)",
  6495. "type": "string"
  6496. },
  6497. "urltype": {
  6498. "description": "链接类型 - 1:直接地址 2:商品ID",
  6499. "type": "integer"
  6500. }
  6501. }
  6502. },
  6503. "common.QueryNoticeRsp": {
  6504. "type": "object",
  6505. "required": [
  6506. "autoid"
  6507. ],
  6508. "properties": {
  6509. "auditoruserid": {
  6510. "description": "审核人",
  6511. "type": "integer"
  6512. },
  6513. "auditremark": {
  6514. "description": "审核备注",
  6515. "type": "string"
  6516. },
  6517. "audittime": {
  6518. "description": "审核日期",
  6519. "type": "string"
  6520. },
  6521. "autoid": {
  6522. "description": "自增ID",
  6523. "type": "integer"
  6524. },
  6525. "content": {
  6526. "description": "内容",
  6527. "type": "string"
  6528. },
  6529. "createtime": {
  6530. "description": "创建时间",
  6531. "type": "string"
  6532. },
  6533. "creatorid": {
  6534. "description": "建仓人",
  6535. "type": "integer"
  6536. },
  6537. "endtime": {
  6538. "description": "结束时间",
  6539. "type": "string"
  6540. },
  6541. "istop": {
  6542. "description": "是否置顶 - 0:不置顶 1:置顶",
  6543. "type": "integer"
  6544. },
  6545. "msgiconurl": {
  6546. "description": "消息图标Url",
  6547. "type": "string"
  6548. },
  6549. "msgtype": {
  6550. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6551. "type": "integer"
  6552. },
  6553. "publisher": {
  6554. "description": "消息发布者",
  6555. "type": "string"
  6556. },
  6557. "readed": {
  6558. "description": "是否已读",
  6559. "type": "boolean"
  6560. },
  6561. "scheduletime": {
  6562. "description": "计划发送时间",
  6563. "type": "string"
  6564. },
  6565. "sendtype": {
  6566. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6567. "type": "integer"
  6568. },
  6569. "sentstatus": {
  6570. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6571. "type": "integer"
  6572. },
  6573. "title": {
  6574. "description": "标题",
  6575. "type": "string"
  6576. },
  6577. "userid": {
  6578. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6579. "type": "integer"
  6580. }
  6581. }
  6582. },
  6583. "common.QueryProvincesAndCitiesRsp": {
  6584. "type": "object",
  6585. "properties": {
  6586. "cities": {
  6587. "description": "市",
  6588. "type": "array",
  6589. "items": {
  6590. "$ref": "#/definitions/models.Division"
  6591. }
  6592. },
  6593. "province": {
  6594. "description": "省",
  6595. "type": "object",
  6596. "$ref": "#/definitions/models.Division"
  6597. }
  6598. }
  6599. },
  6600. "common.QueryTableDefineRsp": {
  6601. "type": "object",
  6602. "required": [
  6603. "tablekey"
  6604. ],
  6605. "properties": {
  6606. "columns": {
  6607. "description": "列头信息数组",
  6608. "type": "array",
  6609. "items": {
  6610. "$ref": "#/definitions/models.Tablecolumnconfig"
  6611. }
  6612. },
  6613. "remark": {
  6614. "description": "Remark",
  6615. "type": "string"
  6616. },
  6617. "tabelmenu": {
  6618. "description": "列表菜单",
  6619. "type": "string"
  6620. },
  6621. "tablekey": {
  6622. "description": "列表Key",
  6623. "type": "string"
  6624. },
  6625. "tablename": {
  6626. "description": "列表名称",
  6627. "type": "string"
  6628. },
  6629. "tabletype": {
  6630. "description": "列表类型 - 1:管理端 2:终端",
  6631. "type": "integer"
  6632. }
  6633. }
  6634. },
  6635. "common.QueryTraderMenuRsp": {
  6636. "type": "object",
  6637. "properties": {
  6638. "OperationMenu": {
  6639. "description": "功能菜单",
  6640. "type": "array",
  6641. "items": {
  6642. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6643. }
  6644. },
  6645. "QuoteMenu": {
  6646. "description": "报价牌分类菜单",
  6647. "type": "array",
  6648. "items": {
  6649. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6650. }
  6651. }
  6652. }
  6653. },
  6654. "cptrade.Cptradepositioncancel": {
  6655. "type": "object",
  6656. "required": [
  6657. "cancelid"
  6658. ],
  6659. "properties": {
  6660. "accountid": {
  6661. "description": "申请人账户ID",
  6662. "type": "integer"
  6663. },
  6664. "applystatus": {
  6665. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6666. "type": "integer"
  6667. },
  6668. "applytime": {
  6669. "description": "申请时间",
  6670. "type": "string"
  6671. },
  6672. "cancelid": {
  6673. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6674. "type": "integer"
  6675. },
  6676. "cancelqty": {
  6677. "description": "注销数量",
  6678. "type": "integer"
  6679. },
  6680. "createtime": {
  6681. "description": "创建时间",
  6682. "type": "string"
  6683. },
  6684. "creatorid": {
  6685. "description": "创建人ID",
  6686. "type": "integer"
  6687. },
  6688. "creatorname": {
  6689. "description": "创建人",
  6690. "type": "string"
  6691. },
  6692. "goodscode": {
  6693. "description": "订单商品代码",
  6694. "type": "string"
  6695. },
  6696. "goodsid": {
  6697. "description": "商品ID",
  6698. "type": "integer"
  6699. },
  6700. "goodsname": {
  6701. "description": "订单商品名称",
  6702. "type": "string"
  6703. },
  6704. "goodunit": {
  6705. "description": "报价单位",
  6706. "type": "string"
  6707. },
  6708. "handlestatus": {
  6709. "description": "处理状态",
  6710. "type": "integer"
  6711. },
  6712. "marketid": {
  6713. "description": "市场ID",
  6714. "type": "integer"
  6715. },
  6716. "marketname": {
  6717. "description": "市场名称",
  6718. "type": "string"
  6719. },
  6720. "tradedate": {
  6721. "description": "交易日(yyyyMMdd)",
  6722. "type": "string"
  6723. },
  6724. "userid": {
  6725. "description": "申请人ID",
  6726. "type": "integer"
  6727. }
  6728. }
  6729. },
  6730. "cptrade.Cptradepresaleapply": {
  6731. "type": "object",
  6732. "required": [
  6733. "applyid"
  6734. ],
  6735. "properties": {
  6736. "accountid": {
  6737. "description": "申请人账户ID",
  6738. "type": "integer"
  6739. },
  6740. "applyid": {
  6741. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6742. "type": "integer"
  6743. },
  6744. "applyremark": {
  6745. "description": "申请备注",
  6746. "type": "string"
  6747. },
  6748. "applystatus": {
  6749. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6750. "type": "integer"
  6751. },
  6752. "applytime": {
  6753. "description": "申请时间",
  6754. "type": "string"
  6755. },
  6756. "attachmenturl": {
  6757. "description": "附件地址",
  6758. "type": "string"
  6759. },
  6760. "endtime": {
  6761. "description": "预售结束时间",
  6762. "type": "string"
  6763. },
  6764. "goodscode": {
  6765. "description": "商品代码",
  6766. "type": "string"
  6767. },
  6768. "goodsid": {
  6769. "description": "商品ID",
  6770. "type": "integer"
  6771. },
  6772. "goodsname": {
  6773. "description": "商品名称",
  6774. "type": "string"
  6775. },
  6776. "goodunit": {
  6777. "description": "报价单位",
  6778. "type": "string"
  6779. },
  6780. "handlestatus": {
  6781. "description": "处理状态",
  6782. "type": "integer"
  6783. },
  6784. "marketid": {
  6785. "description": "预售市场ID",
  6786. "type": "integer"
  6787. },
  6788. "marketname": {
  6789. "description": "预售市场名称",
  6790. "type": "string"
  6791. },
  6792. "presaleqty": {
  6793. "description": "预售数量",
  6794. "type": "integer"
  6795. },
  6796. "relatedgoodscode": {
  6797. "description": "关联交易合约代码",
  6798. "type": "string"
  6799. },
  6800. "relatedgoodsid": {
  6801. "description": "关联交易合约ID",
  6802. "type": "integer"
  6803. },
  6804. "relatedgoodsname": {
  6805. "description": "关联交易合约名称",
  6806. "type": "string"
  6807. },
  6808. "starttime": {
  6809. "description": "预售开始时间",
  6810. "type": "string"
  6811. },
  6812. "tradedate": {
  6813. "description": "交易日(yyyyMMdd)",
  6814. "type": "string"
  6815. },
  6816. "trademode": {
  6817. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6818. "type": "integer"
  6819. },
  6820. "userid": {
  6821. "description": "申请人ID",
  6822. "type": "integer"
  6823. }
  6824. }
  6825. },
  6826. "cptrade.Cptradeusergoodsdata": {
  6827. "type": "object",
  6828. "required": [
  6829. "accountid",
  6830. "goodsid"
  6831. ],
  6832. "properties": {
  6833. "EnabledQty": {
  6834. "description": "可用量",
  6835. "type": "integer"
  6836. },
  6837. "GoodsCode": {
  6838. "description": "订单商品代码",
  6839. "type": "string"
  6840. },
  6841. "GoodsName": {
  6842. "description": "订单商品名称",
  6843. "type": "string"
  6844. },
  6845. "WRStandardCode": {
  6846. "description": "仓单标准代码",
  6847. "type": "string"
  6848. },
  6849. "WRStandardName": {
  6850. "description": "仓单标准名称",
  6851. "type": "string"
  6852. },
  6853. "accountid": {
  6854. "description": "账户ID",
  6855. "type": "integer"
  6856. },
  6857. "cancelqty": {
  6858. "description": "注销量",
  6859. "type": "integer"
  6860. },
  6861. "curpresaleqty": {
  6862. "description": "当前预售量",
  6863. "type": "integer"
  6864. },
  6865. "deliveryqty": {
  6866. "description": "交割量",
  6867. "type": "integer"
  6868. },
  6869. "freezeamount": {
  6870. "description": "冻结金额",
  6871. "type": "number"
  6872. },
  6873. "goodsid": {
  6874. "description": "商品ID",
  6875. "type": "integer"
  6876. },
  6877. "goodunit": {
  6878. "description": "报价单位",
  6879. "type": "string"
  6880. },
  6881. "hasspotfreeze": {
  6882. "description": "是否有现货冻结 - 0:否 1:有",
  6883. "type": "integer"
  6884. },
  6885. "inqty": {
  6886. "description": "转入量(总数量)",
  6887. "type": "integer"
  6888. },
  6889. "marketid": {
  6890. "description": "市场ID",
  6891. "type": "integer"
  6892. },
  6893. "presaledamount": {
  6894. "description": "已预售总金额",
  6895. "type": "integer"
  6896. },
  6897. "presaledqty": {
  6898. "description": "已预售量",
  6899. "type": "integer"
  6900. },
  6901. "userid": {
  6902. "description": "用户ID",
  6903. "type": "integer"
  6904. },
  6905. "wrstandardid": {
  6906. "description": "仓单标准ID",
  6907. "type": "integer"
  6908. }
  6909. }
  6910. },
  6911. "cptrade.QueryCPTradeMyBidRsp": {
  6912. "type": "object",
  6913. "required": [
  6914. "accountid",
  6915. "goodsid",
  6916. "marketid",
  6917. "orderid",
  6918. "orderqty",
  6919. "ordertime",
  6920. "tradeprice",
  6921. "tradeqty"
  6922. ],
  6923. "properties": {
  6924. "accountid": {
  6925. "description": "账户ID[报价币种]",
  6926. "type": "integer"
  6927. },
  6928. "goodsid": {
  6929. "description": "商品ID",
  6930. "type": "integer"
  6931. },
  6932. "goodunit": {
  6933. "description": "报价单位",
  6934. "type": "string"
  6935. },
  6936. "marketid": {
  6937. "description": "市场ID",
  6938. "type": "integer"
  6939. },
  6940. "orderid": {
  6941. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6942. "type": "integer"
  6943. },
  6944. "orderprice": {
  6945. "description": "委托价格",
  6946. "type": "number"
  6947. },
  6948. "orderqty": {
  6949. "description": "委托数量",
  6950. "type": "integer"
  6951. },
  6952. "ordertime": {
  6953. "description": "委托时间",
  6954. "type": "string"
  6955. },
  6956. "ordertotalprice": {
  6957. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6958. "type": "number"
  6959. },
  6960. "ordertotalweight": {
  6961. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6962. "type": "integer"
  6963. },
  6964. "totaltotalprice": {
  6965. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6966. "type": "number"
  6967. },
  6968. "tradeprice": {
  6969. "description": "成交价格",
  6970. "type": "number"
  6971. },
  6972. "tradeqty": {
  6973. "description": "成交数量",
  6974. "type": "integer"
  6975. }
  6976. }
  6977. },
  6978. "cptrade.QueryCPTradeOrderDetailRsq": {
  6979. "type": "object",
  6980. "required": [
  6981. "accountid",
  6982. "buildtype",
  6983. "buyorsell",
  6984. "goodsid",
  6985. "marketid",
  6986. "memberuserid",
  6987. "operatetype",
  6988. "orderqty",
  6989. "ordertime",
  6990. "pricemode",
  6991. "strorderid",
  6992. "tradedate",
  6993. "validtype"
  6994. ],
  6995. "properties": {
  6996. "accountid": {
  6997. "description": "账户ID[报价币种]",
  6998. "type": "integer"
  6999. },
  7000. "buildtype": {
  7001. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7002. "type": "integer"
  7003. },
  7004. "buyorsell": {
  7005. "description": "买卖 - 0:买 1:卖",
  7006. "type": "integer"
  7007. },
  7008. "cancelorderid": {
  7009. "description": "撤单单号(撤单时填写)",
  7010. "type": "integer"
  7011. },
  7012. "cancelqty": {
  7013. "description": "撤单数量",
  7014. "type": "integer"
  7015. },
  7016. "clientordertime": {
  7017. "description": "客户端委托时间",
  7018. "type": "string"
  7019. },
  7020. "clientticket": {
  7021. "description": "客户端流水号",
  7022. "type": "string"
  7023. },
  7024. "clienttype": {
  7025. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7026. "type": "integer"
  7027. },
  7028. "closeexchagechargevalue": {
  7029. "description": "平仓交易所手续费设置值",
  7030. "type": "number"
  7031. },
  7032. "closefeealgorithm": {
  7033. "description": "平仓手续费收取方式 1:比率 2:固定",
  7034. "type": "integer"
  7035. },
  7036. "closefreezecharge": {
  7037. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7038. "type": "number"
  7039. },
  7040. "closememberchargevalue": {
  7041. "description": "平仓会员手续费设置值",
  7042. "type": "number"
  7043. },
  7044. "closeqty": {
  7045. "description": "平仓数量(先建后平操作 需要记录)",
  7046. "type": "integer"
  7047. },
  7048. "closetradeqty": {
  7049. "description": "平仓成交数量(先建后平操作,需要记录)",
  7050. "type": "integer"
  7051. },
  7052. "closeunfreezecharge": {
  7053. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7054. "type": "number"
  7055. },
  7056. "delistingtype": {
  7057. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7058. "type": "integer"
  7059. },
  7060. "freezecharge": {
  7061. "description": "冻结手续费",
  7062. "type": "number"
  7063. },
  7064. "freezemargin": {
  7065. "description": "冻结保证金(冻结交易金额)",
  7066. "type": "number"
  7067. },
  7068. "gcaccountid": {
  7069. "description": "账户ID[合约币种]",
  7070. "type": "integer"
  7071. },
  7072. "goodsid": {
  7073. "description": "商品ID",
  7074. "type": "integer"
  7075. },
  7076. "isconfirmexercise": {
  7077. "description": "是否确认行权- 0:否 1:是",
  7078. "type": "integer"
  7079. },
  7080. "ispreexercise": {
  7081. "description": "是否预申报- 0:否 1:是",
  7082. "type": "integer"
  7083. },
  7084. "listingselecttype": {
  7085. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7086. "type": "integer"
  7087. },
  7088. "marginalgorithm": {
  7089. "description": "保证金收取方式 1:比率 2:固定",
  7090. "type": "integer"
  7091. },
  7092. "marginvalue": {
  7093. "description": "即市保证金设置值",
  7094. "type": "number"
  7095. },
  7096. "marketid": {
  7097. "description": "市场ID",
  7098. "type": "integer"
  7099. },
  7100. "marketmaxsub": {
  7101. "description": "市价最大偏移范围",
  7102. "type": "number"
  7103. },
  7104. "memberuserid": {
  7105. "description": "所属会员UserID",
  7106. "type": "integer"
  7107. },
  7108. "openexchagechargevalue": {
  7109. "description": "建仓交易所手续费设置值",
  7110. "type": "number"
  7111. },
  7112. "openfeealgorithm": {
  7113. "description": "建仓手续费收取方式 1:比率 2:固定",
  7114. "type": "integer"
  7115. },
  7116. "openfreezecharge": {
  7117. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7118. "type": "number"
  7119. },
  7120. "openmemberchargevalue": {
  7121. "description": "建仓会员手续费设置值",
  7122. "type": "number"
  7123. },
  7124. "openqty": {
  7125. "description": "开仓数量(先建后平操作,需要记录)",
  7126. "type": "integer"
  7127. },
  7128. "opentradeqty": {
  7129. "description": "开仓成交数量(先建后平操作,需要记录)",
  7130. "type": "integer"
  7131. },
  7132. "openunfreezecharge": {
  7133. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7134. "type": "number"
  7135. },
  7136. "operatetype": {
  7137. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7138. "type": "integer"
  7139. },
  7140. "operatorid": {
  7141. "description": "登录账号(LoginID)",
  7142. "type": "integer"
  7143. },
  7144. "optiontype": {
  7145. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7146. "type": "integer"
  7147. },
  7148. "orderprice": {
  7149. "description": "委托价格",
  7150. "type": "number"
  7151. },
  7152. "orderqty": {
  7153. "description": "委托数量",
  7154. "type": "integer"
  7155. },
  7156. "ordersrc": {
  7157. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7158. "type": "integer"
  7159. },
  7160. "orderstatus": {
  7161. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7162. "type": "integer"
  7163. },
  7164. "ordertime": {
  7165. "description": "委托时间",
  7166. "type": "string"
  7167. },
  7168. "preexerciseprice": {
  7169. "description": "预申报价格",
  7170. "type": "number"
  7171. },
  7172. "premium": {
  7173. "description": "权利金",
  7174. "type": "number"
  7175. },
  7176. "preorderid": {
  7177. "description": "关联预埋单号(止盈止损单时填写)",
  7178. "type": "integer"
  7179. },
  7180. "pricemode": {
  7181. "description": "取价方式 - 1:市价 2: 限价",
  7182. "type": "integer"
  7183. },
  7184. "quoteid": {
  7185. "description": "报价单ID",
  7186. "type": "integer"
  7187. },
  7188. "relatedid": {
  7189. "description": "关联单号(交割单)",
  7190. "type": "integer"
  7191. },
  7192. "retcode": {
  7193. "description": "错误代码",
  7194. "type": "integer"
  7195. },
  7196. "sessionid": {
  7197. "description": "会话ID",
  7198. "type": "integer"
  7199. },
  7200. "strorderid": {
  7201. "description": "委托单号",
  7202. "type": "string"
  7203. },
  7204. "tradedate": {
  7205. "description": "交易日(yyyyMMdd)",
  7206. "type": "string"
  7207. },
  7208. "tradeproperty": {
  7209. "description": "交易属性",
  7210. "type": "integer"
  7211. },
  7212. "tradeqty": {
  7213. "description": "成交数量",
  7214. "type": "integer"
  7215. },
  7216. "unfreezecharge": {
  7217. "description": "解冻手续费",
  7218. "type": "number"
  7219. },
  7220. "unfreezemargin": {
  7221. "description": "解冻保证金",
  7222. "type": "number"
  7223. },
  7224. "updatetime": {
  7225. "description": "更新时间",
  7226. "type": "string"
  7227. },
  7228. "uuid": {
  7229. "description": "发起端唯一id",
  7230. "type": "string"
  7231. },
  7232. "validtime": {
  7233. "description": "有效期限",
  7234. "type": "string"
  7235. },
  7236. "validtype": {
  7237. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7238. "type": "integer"
  7239. },
  7240. "volumetype": {
  7241. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7242. "type": "integer"
  7243. }
  7244. }
  7245. },
  7246. "cptrade.QueryMyCPTradeGoodsRsp": {
  7247. "type": "object",
  7248. "required": [
  7249. "goodscode",
  7250. "goodsid",
  7251. "goodsname",
  7252. "marketid",
  7253. "relatedgoodscode",
  7254. "relatedgoodsname"
  7255. ],
  7256. "properties": {
  7257. "accountid": {
  7258. "description": "卖方账户ID",
  7259. "type": "integer"
  7260. },
  7261. "agreeunit": {
  7262. "description": "合约单位",
  7263. "type": "number"
  7264. },
  7265. "applyid": {
  7266. "description": "关联申请ID",
  7267. "type": "integer"
  7268. },
  7269. "attachmenturl": {
  7270. "description": "附件地址",
  7271. "type": "string"
  7272. },
  7273. "createtime": {
  7274. "description": "创建时间",
  7275. "type": "string"
  7276. },
  7277. "currencyid": {
  7278. "description": "报价货币ID",
  7279. "type": "integer"
  7280. },
  7281. "decimalplace": {
  7282. "description": "报价小数位",
  7283. "type": "integer"
  7284. },
  7285. "endtime": {
  7286. "description": "预售结束时间",
  7287. "type": "string"
  7288. },
  7289. "floorprice": {
  7290. "description": "底价[大宗式竞拍]",
  7291. "type": "number"
  7292. },
  7293. "goodscode": {
  7294. "description": "商品代码(预售)",
  7295. "type": "string"
  7296. },
  7297. "goodsdetail": {
  7298. "description": "详情[大宗]",
  7299. "type": "string"
  7300. },
  7301. "goodsid": {
  7302. "description": "商品ID(自增ID SEQ_GOODS)",
  7303. "type": "integer"
  7304. },
  7305. "goodsname": {
  7306. "description": "商品名称(预售)",
  7307. "type": "string"
  7308. },
  7309. "goodunit": {
  7310. "description": "报价单位",
  7311. "type": "string"
  7312. },
  7313. "goodunitid": {
  7314. "description": "报价单位ID",
  7315. "type": "integer"
  7316. },
  7317. "marketid": {
  7318. "description": "所属市场ID",
  7319. "type": "integer"
  7320. },
  7321. "marketname": {
  7322. "description": "预售市场名称",
  7323. "type": "string"
  7324. },
  7325. "presaledamount": {
  7326. "description": "已预售总金额(预售结束时更新)",
  7327. "type": "number"
  7328. },
  7329. "presaledqty": {
  7330. "description": "已预售量(预售结束时更新)",
  7331. "type": "integer"
  7332. },
  7333. "presalemode": {
  7334. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7335. "type": "integer"
  7336. },
  7337. "presaleqty": {
  7338. "description": "预售数量",
  7339. "type": "integer"
  7340. },
  7341. "refprice": {
  7342. "description": "参考价格[一口价]",
  7343. "type": "number"
  7344. },
  7345. "relatedgoodscode": {
  7346. "description": "商品代码(订单)",
  7347. "type": "string"
  7348. },
  7349. "relatedgoodsid": {
  7350. "description": "关联交易合约ID",
  7351. "type": "integer"
  7352. },
  7353. "relatedgoodsname": {
  7354. "description": "商品名称(订单)",
  7355. "type": "string"
  7356. },
  7357. "relatedmarketid": {
  7358. "description": "关联交易合约市场ID",
  7359. "type": "integer"
  7360. },
  7361. "sellstatus": {
  7362. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7363. "type": "integer"
  7364. },
  7365. "startprice": {
  7366. "description": "起拍价[大宗式竞拍]",
  7367. "type": "number"
  7368. },
  7369. "starttime": {
  7370. "description": "预售开始时间",
  7371. "type": "string"
  7372. },
  7373. "tradedate": {
  7374. "description": "交易日(yyyyMMdd)",
  7375. "type": "string"
  7376. },
  7377. "tradeprice": {
  7378. "description": "成交价[大宗]",
  7379. "type": "number"
  7380. },
  7381. "userid": {
  7382. "description": "卖方用户ID",
  7383. "type": "integer"
  7384. }
  7385. }
  7386. },
  7387. "cptrade.QueryPresaleGoodsExRsp": {
  7388. "type": "object",
  7389. "required": [
  7390. "goodsid"
  7391. ],
  7392. "properties": {
  7393. "attachmenturl": {
  7394. "description": "附件地址",
  7395. "type": "string"
  7396. },
  7397. "createtime": {
  7398. "description": "创建时间",
  7399. "type": "string"
  7400. },
  7401. "endtime": {
  7402. "description": "预售结束时间",
  7403. "type": "string"
  7404. },
  7405. "floorprice": {
  7406. "description": "底价[大宗式竞拍]",
  7407. "type": "number"
  7408. },
  7409. "goodsdetail": {
  7410. "description": "详情[大宗]",
  7411. "type": "string"
  7412. },
  7413. "goodsid": {
  7414. "description": "商品ID(预售)",
  7415. "type": "integer"
  7416. },
  7417. "goodunit": {
  7418. "description": "报价单位",
  7419. "type": "string"
  7420. },
  7421. "marketid": {
  7422. "description": "预售市场ID - 根据预售模式选择市场",
  7423. "type": "integer"
  7424. },
  7425. "presaledamount": {
  7426. "description": "已预售总金额(预售结束时更新)",
  7427. "type": "number"
  7428. },
  7429. "presaledqty": {
  7430. "description": "已预售量(预售结束时更新)",
  7431. "type": "integer"
  7432. },
  7433. "presalemode": {
  7434. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7435. "type": "integer"
  7436. },
  7437. "presaleqty": {
  7438. "description": "预售数量",
  7439. "type": "integer"
  7440. },
  7441. "refprice": {
  7442. "description": "参考价格[一口价]",
  7443. "type": "number"
  7444. },
  7445. "relatedgoodsid": {
  7446. "description": "关联交易合约ID",
  7447. "type": "integer"
  7448. },
  7449. "relatedmarketid": {
  7450. "description": "关联交易合约市场ID",
  7451. "type": "integer"
  7452. },
  7453. "sellstatus": {
  7454. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7455. "type": "integer"
  7456. },
  7457. "startprice": {
  7458. "description": "起拍价[大宗式竞拍]",
  7459. "type": "number"
  7460. },
  7461. "starttime": {
  7462. "description": "预售开始时间",
  7463. "type": "string"
  7464. },
  7465. "tradedate": {
  7466. "description": "交易日(yyyyMMdd)",
  7467. "type": "string"
  7468. },
  7469. "tradeprice": {
  7470. "description": "成交价[大宗]",
  7471. "type": "number"
  7472. }
  7473. }
  7474. },
  7475. "delivery.QueryDeliveryRelationRsp": {
  7476. "type": "object",
  7477. "required": [
  7478. "begindate",
  7479. "enddate",
  7480. "goodsid",
  7481. "mindeliveryqty",
  7482. "xdeliveryratio"
  7483. ],
  7484. "properties": {
  7485. "begindate": {
  7486. "description": "起始日期(yyyyMMdd)",
  7487. "type": "string"
  7488. },
  7489. "buytemplateid": {
  7490. "description": "买履约计划模板ID",
  7491. "type": "integer"
  7492. },
  7493. "deliverygoodscode": {
  7494. "description": "品种代码",
  7495. "type": "string"
  7496. },
  7497. "deliverygoodsid": {
  7498. "description": "交割商品",
  7499. "type": "integer"
  7500. },
  7501. "deliverygoodsname": {
  7502. "description": "品种名称",
  7503. "type": "string"
  7504. },
  7505. "deliverymode": {
  7506. "description": "交割方式 - 1:点选式 2:申报式",
  7507. "type": "integer"
  7508. },
  7509. "deliverypricerule": {
  7510. "description": "交割价规则- 1:行情价 2:建仓价",
  7511. "type": "integer"
  7512. },
  7513. "deliverytype": {
  7514. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7515. "type": "integer"
  7516. },
  7517. "enddate": {
  7518. "description": "结束日期(yyyyMMdd)",
  7519. "type": "string"
  7520. },
  7521. "goodscode": {
  7522. "description": "商品代码",
  7523. "type": "string"
  7524. },
  7525. "goodsid": {
  7526. "description": "交易合约ID",
  7527. "type": "integer"
  7528. },
  7529. "goodsname": {
  7530. "description": "商品名称",
  7531. "type": "string"
  7532. },
  7533. "marketid": {
  7534. "description": "市场ID",
  7535. "type": "integer"
  7536. },
  7537. "mindeliveryqty": {
  7538. "description": "最小交割系数(K)",
  7539. "type": "integer"
  7540. },
  7541. "p2deliveryprice": {
  7542. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7543. "type": "number"
  7544. },
  7545. "p2deliveryratio": {
  7546. "description": "P2合约系数(p)",
  7547. "type": "integer"
  7548. },
  7549. "p2goodsid": {
  7550. "description": "P2合约ID",
  7551. "type": "integer"
  7552. },
  7553. "p2pricemode": {
  7554. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7555. "type": "integer"
  7556. },
  7557. "pdeliveryprice": {
  7558. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7559. "type": "number"
  7560. },
  7561. "pdeliveryratio": {
  7562. "description": "P合约系数(n)",
  7563. "type": "integer"
  7564. },
  7565. "pgoodsid": {
  7566. "description": "P合约ID",
  7567. "type": "integer"
  7568. },
  7569. "ppricemode": {
  7570. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7571. "type": "integer"
  7572. },
  7573. "rratio": {
  7574. "description": "兑换系数(R)",
  7575. "type": "integer"
  7576. },
  7577. "rratio1": {
  7578. "description": "兑换系数(交易合约)(R1)",
  7579. "type": "integer"
  7580. },
  7581. "rratio2": {
  7582. "description": "兑换系数(仓单标准)(R2)",
  7583. "type": "integer"
  7584. },
  7585. "selltemplateid": {
  7586. "description": "卖履约计划模板ID",
  7587. "type": "integer"
  7588. },
  7589. "wrstandardid": {
  7590. "description": "仓单标准ID",
  7591. "type": "integer"
  7592. },
  7593. "xdeliveryratio": {
  7594. "description": "交易合约系数(m)",
  7595. "type": "integer"
  7596. }
  7597. }
  7598. },
  7599. "ermcp.ExposureDetailRsp": {
  7600. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  7601. },
  7602. "ermcp.ExposureHedgePosDetailRsp": {
  7603. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  7604. },
  7605. "ermcp.ExposureHedgePositionRsp": {
  7606. "$ref": "#/definitions/models.ErmcpHedgePosition"
  7607. },
  7608. "ermcp.ExposureSpotDetailRsp": {
  7609. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  7610. },
  7611. "ermcp.ExposureSpotRsp": {
  7612. "$ref": "#/definitions/models.AreaSpotModel"
  7613. },
  7614. "ermcp.HisExposureRsp": {
  7615. "$ref": "#/definitions/models.ErmcpHisExposureS"
  7616. },
  7617. "ermcp.PendingAuditCntRsp": {
  7618. "$ref": "#/definitions/models.ErmcpPendingAudit"
  7619. },
  7620. "ermcp.QryAvalidGPRsp": {
  7621. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  7622. },
  7623. "ermcp.QryBusinessDjRsp": {
  7624. "type": "object",
  7625. "properties": {
  7626. "amount": {
  7627. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7628. "type": "number"
  7629. },
  7630. "applyid": {
  7631. "description": "申请人",
  7632. "type": "string"
  7633. },
  7634. "applyname": {
  7635. "description": "申请人名称",
  7636. "type": "string"
  7637. },
  7638. "applystatus": {
  7639. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7640. "type": "integer"
  7641. },
  7642. "applytime": {
  7643. "description": "申请时间",
  7644. "type": "string"
  7645. },
  7646. "attachurl": {
  7647. "description": "附件",
  7648. "type": "string"
  7649. },
  7650. "auditname": {
  7651. "description": "审核人名称",
  7652. "type": "string"
  7653. },
  7654. "audittime": {
  7655. "description": "审核时间",
  7656. "type": "string"
  7657. },
  7658. "buyusername": {
  7659. "description": "采购方名称",
  7660. "type": "string"
  7661. },
  7662. "contractno": {
  7663. "description": "合同编号",
  7664. "type": "string"
  7665. },
  7666. "contractstatus": {
  7667. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7668. "type": "integer"
  7669. },
  7670. "contracttype": {
  7671. "description": "现货合同类型 - 1:采购 -1:销售",
  7672. "type": "integer"
  7673. },
  7674. "enumdicname": {
  7675. "description": "单位名称",
  7676. "type": "string"
  7677. },
  7678. "goodscode": {
  7679. "description": "点价合约",
  7680. "type": "string"
  7681. },
  7682. "goodsname": {
  7683. "description": "商品名称",
  7684. "type": "string"
  7685. },
  7686. "operateapplyid": {
  7687. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7688. "type": "string"
  7689. },
  7690. "operateapplytype": {
  7691. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7692. "type": "integer"
  7693. },
  7694. "pricedPrice": {
  7695. "description": "点价价格(非必填)",
  7696. "type": "number"
  7697. },
  7698. "pricedQty": {
  7699. "description": "点价数量(非必填)",
  7700. "type": "number"
  7701. },
  7702. "pricemove": {
  7703. "description": "升贴水",
  7704. "type": "number"
  7705. },
  7706. "pricetype": {
  7707. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7708. "type": "integer"
  7709. },
  7710. "relatedid": {
  7711. "description": "现货合同ID",
  7712. "type": "string"
  7713. },
  7714. "sellusername": {
  7715. "description": "销售方名字",
  7716. "type": "string"
  7717. },
  7718. "userid": {
  7719. "description": "用户ID",
  7720. "type": "integer"
  7721. }
  7722. }
  7723. },
  7724. "ermcp.QryBussinessFpRsp": {
  7725. "type": "object",
  7726. "properties": {
  7727. "applyid": {
  7728. "description": "申请人",
  7729. "type": "string"
  7730. },
  7731. "applyname": {
  7732. "description": "申请人名称",
  7733. "type": "string"
  7734. },
  7735. "applystatus": {
  7736. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7737. "type": "integer"
  7738. },
  7739. "applytime": {
  7740. "description": "申请时间",
  7741. "type": "string"
  7742. },
  7743. "attachurl": {
  7744. "description": "附件",
  7745. "type": "string"
  7746. },
  7747. "auditname": {
  7748. "description": "审核人名称",
  7749. "type": "string"
  7750. },
  7751. "audittime": {
  7752. "description": "审核时间",
  7753. "type": "string"
  7754. },
  7755. "buyusername": {
  7756. "description": "采购方名称",
  7757. "type": "string"
  7758. },
  7759. "contractno": {
  7760. "description": "合同编号",
  7761. "type": "string"
  7762. },
  7763. "contractstatus": {
  7764. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7765. "type": "integer"
  7766. },
  7767. "contracttype": {
  7768. "description": "现货合同类型 - 1:采购 -1:销售",
  7769. "type": "integer"
  7770. },
  7771. "enumdicname": {
  7772. "description": "单位名称",
  7773. "type": "string"
  7774. },
  7775. "goodscode": {
  7776. "description": "点价合约",
  7777. "type": "string"
  7778. },
  7779. "goodsname": {
  7780. "description": "商品名称",
  7781. "type": "string"
  7782. },
  7783. "invoiceAmount": {
  7784. "description": "已开收票金额(销售为开票,采购为收票)",
  7785. "type": "number"
  7786. },
  7787. "operateapplyid": {
  7788. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7789. "type": "string"
  7790. },
  7791. "operateapplytype": {
  7792. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7793. "type": "integer"
  7794. },
  7795. "pricemove": {
  7796. "description": "升贴水",
  7797. "type": "number"
  7798. },
  7799. "pricetype": {
  7800. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7801. "type": "integer"
  7802. },
  7803. "relatedid": {
  7804. "description": "现货合同ID",
  7805. "type": "string"
  7806. },
  7807. "sellusername": {
  7808. "description": "销售方名字",
  7809. "type": "string"
  7810. },
  7811. "userid": {
  7812. "description": "用户ID",
  7813. "type": "integer"
  7814. }
  7815. }
  7816. },
  7817. "ermcp.QryBussinessJsExRsp": {
  7818. "type": "object",
  7819. "properties": {
  7820. "applyid": {
  7821. "description": "申请人",
  7822. "type": "string"
  7823. },
  7824. "applyname": {
  7825. "description": "申请人名称",
  7826. "type": "string"
  7827. },
  7828. "applystatus": {
  7829. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7830. "type": "integer"
  7831. },
  7832. "applytime": {
  7833. "description": "申请时间",
  7834. "type": "string"
  7835. },
  7836. "attachurl": {
  7837. "description": "附件",
  7838. "type": "string"
  7839. },
  7840. "auditname": {
  7841. "description": "审核人名称",
  7842. "type": "string"
  7843. },
  7844. "audittime": {
  7845. "description": "审核时间",
  7846. "type": "string"
  7847. },
  7848. "buyusername": {
  7849. "description": "采购方名称",
  7850. "type": "string"
  7851. },
  7852. "contractno": {
  7853. "description": "合同编号",
  7854. "type": "string"
  7855. },
  7856. "contractstatus": {
  7857. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7858. "type": "integer"
  7859. },
  7860. "contracttype": {
  7861. "description": "现货合同类型 - 1:采购 -1:销售",
  7862. "type": "integer"
  7863. },
  7864. "enumdicname": {
  7865. "description": "单位名称",
  7866. "type": "string"
  7867. },
  7868. "goodscode": {
  7869. "description": "点价合约",
  7870. "type": "string"
  7871. },
  7872. "goodsname": {
  7873. "description": "商品名称",
  7874. "type": "string"
  7875. },
  7876. "operateapplyid": {
  7877. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7878. "type": "string"
  7879. },
  7880. "operateapplytype": {
  7881. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7882. "type": "integer"
  7883. },
  7884. "pricemove": {
  7885. "description": "升贴水",
  7886. "type": "number"
  7887. },
  7888. "pricetype": {
  7889. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7890. "type": "integer"
  7891. },
  7892. "reckontype": {
  7893. "description": "结算类型",
  7894. "type": "string"
  7895. },
  7896. "reckonvalue": {
  7897. "description": "值",
  7898. "type": "number"
  7899. },
  7900. "relatedid": {
  7901. "description": "现货合同ID",
  7902. "type": "string"
  7903. },
  7904. "sellusername": {
  7905. "description": "销售方名字",
  7906. "type": "string"
  7907. },
  7908. "userid": {
  7909. "description": "用户ID",
  7910. "type": "integer"
  7911. }
  7912. }
  7913. },
  7914. "ermcp.QryBussinessJsRsp": {
  7915. "type": "object",
  7916. "properties": {
  7917. "addmargin": {
  7918. "description": "追加保证金(非必填)",
  7919. "type": "number"
  7920. },
  7921. "applyid": {
  7922. "description": "申请人",
  7923. "type": "string"
  7924. },
  7925. "applyname": {
  7926. "description": "申请人名称",
  7927. "type": "string"
  7928. },
  7929. "applystatus": {
  7930. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7931. "type": "integer"
  7932. },
  7933. "applytime": {
  7934. "description": "申请时间",
  7935. "type": "string"
  7936. },
  7937. "attachurl": {
  7938. "description": "附件",
  7939. "type": "string"
  7940. },
  7941. "auditname": {
  7942. "description": "审核人名称",
  7943. "type": "string"
  7944. },
  7945. "audittime": {
  7946. "description": "审核时间",
  7947. "type": "string"
  7948. },
  7949. "buyusername": {
  7950. "description": "采购方名称",
  7951. "type": "string"
  7952. },
  7953. "contractno": {
  7954. "description": "合同编号",
  7955. "type": "string"
  7956. },
  7957. "contractstatus": {
  7958. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7959. "type": "integer"
  7960. },
  7961. "contracttype": {
  7962. "description": "现货合同类型 - 1:采购 -1:销售",
  7963. "type": "integer"
  7964. },
  7965. "decmargin": {
  7966. "description": "减少保证金(非必填)",
  7967. "type": "number"
  7968. },
  7969. "enumdicname": {
  7970. "description": "单位名称",
  7971. "type": "string"
  7972. },
  7973. "goodscode": {
  7974. "description": "点价合约",
  7975. "type": "string"
  7976. },
  7977. "goodsname": {
  7978. "description": "商品名称",
  7979. "type": "string"
  7980. },
  7981. "operateapplyid": {
  7982. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7983. "type": "string"
  7984. },
  7985. "operateapplytype": {
  7986. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7987. "type": "integer"
  7988. },
  7989. "pricemove": {
  7990. "description": "升贴水",
  7991. "type": "number"
  7992. },
  7993. "pricetype": {
  7994. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7995. "type": "integer"
  7996. },
  7997. "reckonadjustamount": {
  7998. "description": "结算调整金额(非必填)",
  7999. "type": "number"
  8000. },
  8001. "reckonosamount": {
  8002. "description": "结算溢短金额(非必填)",
  8003. "type": "number"
  8004. },
  8005. "reckonotheramount": {
  8006. "description": "结算其他费用(非必填)",
  8007. "type": "number"
  8008. },
  8009. "reckonrealqty": {
  8010. "description": "结算实际数量(非必填)",
  8011. "type": "number"
  8012. },
  8013. "relatedid": {
  8014. "description": "现货合同ID",
  8015. "type": "string"
  8016. },
  8017. "sellusername": {
  8018. "description": "销售方名字",
  8019. "type": "string"
  8020. },
  8021. "userid": {
  8022. "description": "用户ID",
  8023. "type": "integer"
  8024. }
  8025. }
  8026. },
  8027. "ermcp.QryBussinessKxRsp": {
  8028. "type": "object",
  8029. "properties": {
  8030. "applyid": {
  8031. "description": "申请人",
  8032. "type": "string"
  8033. },
  8034. "applyname": {
  8035. "description": "申请人名称",
  8036. "type": "string"
  8037. },
  8038. "applystatus": {
  8039. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8040. "type": "integer"
  8041. },
  8042. "applytime": {
  8043. "description": "申请时间",
  8044. "type": "string"
  8045. },
  8046. "attachurl": {
  8047. "description": "附件",
  8048. "type": "string"
  8049. },
  8050. "auditname": {
  8051. "description": "审核人名称",
  8052. "type": "string"
  8053. },
  8054. "audittime": {
  8055. "description": "审核时间",
  8056. "type": "string"
  8057. },
  8058. "buyusername": {
  8059. "description": "采购方名称",
  8060. "type": "string"
  8061. },
  8062. "contractno": {
  8063. "description": "合同编号",
  8064. "type": "string"
  8065. },
  8066. "contractstatus": {
  8067. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8068. "type": "integer"
  8069. },
  8070. "contracttype": {
  8071. "description": "现货合同类型 - 1:采购 -1:销售",
  8072. "type": "integer"
  8073. },
  8074. "deductamount": {
  8075. "description": "退款(非必填)",
  8076. "type": "number"
  8077. },
  8078. "enumdicname": {
  8079. "description": "单位名称",
  8080. "type": "string"
  8081. },
  8082. "goodscode": {
  8083. "description": "点价合约",
  8084. "type": "string"
  8085. },
  8086. "goodsname": {
  8087. "description": "商品名称",
  8088. "type": "string"
  8089. },
  8090. "kxtype": {
  8091. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8092. "type": "integer"
  8093. },
  8094. "operateapplyid": {
  8095. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8096. "type": "string"
  8097. },
  8098. "operateapplytype": {
  8099. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8100. "type": "integer"
  8101. },
  8102. "payamount": {
  8103. "description": "收付款(非必填)",
  8104. "type": "number"
  8105. },
  8106. "pricemove": {
  8107. "description": "升贴水",
  8108. "type": "number"
  8109. },
  8110. "pricetype": {
  8111. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8112. "type": "integer"
  8113. },
  8114. "relatedid": {
  8115. "description": "现货合同ID",
  8116. "type": "string"
  8117. },
  8118. "sellusername": {
  8119. "description": "销售方名字",
  8120. "type": "string"
  8121. },
  8122. "userid": {
  8123. "description": "用户ID",
  8124. "type": "integer"
  8125. }
  8126. }
  8127. },
  8128. "ermcp.QryErmcpRsp": {
  8129. "$ref": "#/definitions/models.ErmcpModel"
  8130. },
  8131. "ermcp.QryGGCovertCfgRsp": {
  8132. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8133. },
  8134. "ermcp.QryHedgePlanRsp": {
  8135. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8136. },
  8137. "ermcp.QryMGChangeLogRsp": {
  8138. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8139. },
  8140. "ermcp.QryMiddleGoodsDetailRsp": {
  8141. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8142. },
  8143. "ermcp.QryMiddleGoodsRsp": {
  8144. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8145. },
  8146. "ermcp.QryOPLogRsp": {
  8147. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8148. },
  8149. "ermcp.QryReportDaySpotDetailRsp": {
  8150. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8151. },
  8152. "ermcp.QryReportExposureDayRsp": {
  8153. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8154. },
  8155. "ermcp.QryReportFinanceDayRsp": {
  8156. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8157. },
  8158. "ermcp.QryReportFinanceKxRsp": {
  8159. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8160. },
  8161. "ermcp.QryReportFinanceMonRsp": {
  8162. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8163. },
  8164. "ermcp.QryReportSpotDayRsp": {
  8165. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8166. },
  8167. "ermcp.QryReportSpotMonRsp": {
  8168. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8169. },
  8170. "ermcp.QryReportSpotMonthDetailRsp": {
  8171. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8172. },
  8173. "ermcp.QrySpotContractRsp": {
  8174. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8175. },
  8176. "ermcp.QryUserInfoRsp": {
  8177. "$ref": "#/definitions/models.ErmcpUserModel"
  8178. },
  8179. "ermcp.QryWrStandardDetailRsp": {
  8180. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8181. },
  8182. "ermcp.QryWrStandardRsp": {
  8183. "$ref": "#/definitions/models.ErmcpWrstandard"
  8184. },
  8185. "ermcp.QueryErmcpTradePositionRsp": {
  8186. "type": "object",
  8187. "properties": {
  8188. "agreeunit": {
  8189. "description": "合约单位",
  8190. "type": "number"
  8191. },
  8192. "buyorsell": {
  8193. "description": "方向 - 0:买 1:卖",
  8194. "type": "integer"
  8195. },
  8196. "curpositionqty": {
  8197. "description": "持仓(总仓数量, 期末头寸)",
  8198. "type": "integer"
  8199. },
  8200. "curtdposition": {
  8201. "description": "今仓数量(期末今日头寸)",
  8202. "type": "integer"
  8203. },
  8204. "curtdpositionenabled": {
  8205. "description": "今仓可用",
  8206. "type": "integer"
  8207. },
  8208. "decimalplace": {
  8209. "description": "报价小数位",
  8210. "type": "integer"
  8211. },
  8212. "enableqty": {
  8213. "description": "可用(总仓可用)",
  8214. "type": "integer"
  8215. },
  8216. "exexchangename": {
  8217. "description": "外部交易所名称",
  8218. "type": "string"
  8219. },
  8220. "goodscode": {
  8221. "description": "商品代码(内部)",
  8222. "type": "string"
  8223. },
  8224. "goodsid": {
  8225. "description": "商品ID(自增ID SEQ_GOODS)",
  8226. "type": "integer"
  8227. },
  8228. "goodsname": {
  8229. "description": "商品名称",
  8230. "type": "string"
  8231. },
  8232. "last": {
  8233. "description": "现价",
  8234. "type": "number"
  8235. },
  8236. "marketid": {
  8237. "description": "所属市场ID",
  8238. "type": "integer"
  8239. },
  8240. "openaverageprice": {
  8241. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8242. "type": "number"
  8243. },
  8244. "opencost": {
  8245. "description": "开仓成本",
  8246. "type": "number"
  8247. },
  8248. "openpl": {
  8249. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8250. "type": "number"
  8251. },
  8252. "outgoodscode": {
  8253. "description": "商品代码(外部)",
  8254. "type": "string"
  8255. },
  8256. "positionaverageprice": {
  8257. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8258. "type": "number"
  8259. },
  8260. "positioncost": {
  8261. "description": "持仓成本",
  8262. "type": "number"
  8263. },
  8264. "positionpl": {
  8265. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8266. "type": "number"
  8267. },
  8268. "positionplrate": {
  8269. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8270. "type": "number"
  8271. },
  8272. "usedmargin": {
  8273. "description": "占用保证金",
  8274. "type": "number"
  8275. }
  8276. }
  8277. },
  8278. "ermcp.RealtimeExposurePositionRsp": {
  8279. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8280. },
  8281. "ermcp.RealtimeExposureRsp": {
  8282. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8283. },
  8284. "erms2.QueryArbitrageStrategyRsp": {
  8285. "type": "object",
  8286. "required": [
  8287. "asapplyid"
  8288. ],
  8289. "properties": {
  8290. "applybasis": {
  8291. "description": "申请基差",
  8292. "type": "number"
  8293. },
  8294. "asapplyid": {
  8295. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8296. "type": "string"
  8297. },
  8298. "asname": {
  8299. "description": "策略名称",
  8300. "type": "string"
  8301. },
  8302. "asno": {
  8303. "description": "策略编号",
  8304. "type": "string"
  8305. },
  8306. "basischangepl": {
  8307. "description": "基差变动损益[结算更新]",
  8308. "type": "number"
  8309. },
  8310. "biztype": {
  8311. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8312. "type": "integer"
  8313. },
  8314. "closetradedate": {
  8315. "description": "完结交易日(yyyyMMdd)",
  8316. "type": "string"
  8317. },
  8318. "curbasis": {
  8319. "description": "当前基差[结算更新]",
  8320. "type": "number"
  8321. },
  8322. "deliverygoodsid": {
  8323. "description": "现货品种ID",
  8324. "type": "integer"
  8325. },
  8326. "futureavgprice": {
  8327. "description": "期货建仓均价",
  8328. "type": "number"
  8329. },
  8330. "futurecloseamount": {
  8331. "description": "期货平仓金额",
  8332. "type": "number"
  8333. },
  8334. "futurecloseqty": {
  8335. "description": "期货平仓数量",
  8336. "type": "number"
  8337. },
  8338. "futureopenamount": {
  8339. "description": "期货开仓金额",
  8340. "type": "number"
  8341. },
  8342. "futureopenqty": {
  8343. "description": "期货开仓数量",
  8344. "type": "number"
  8345. },
  8346. "futurepl": {
  8347. "description": "期货总盈亏[结算更新]",
  8348. "type": "number"
  8349. },
  8350. "futureqty": {
  8351. "description": "期货持仓数量",
  8352. "type": "number"
  8353. },
  8354. "futurequote": {
  8355. "description": "期货额度",
  8356. "type": "number"
  8357. },
  8358. "goodsgroupid": {
  8359. "description": "期货品种ID",
  8360. "type": "integer"
  8361. },
  8362. "marketid": {
  8363. "description": "市场ID",
  8364. "type": "integer"
  8365. },
  8366. "netexposure": {
  8367. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8368. "type": "number"
  8369. },
  8370. "netexposurepl": {
  8371. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8372. "type": "number"
  8373. },
  8374. "netexposurerate": {
  8375. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8376. "type": "number"
  8377. },
  8378. "openbasis": {
  8379. "description": "建仓基差",
  8380. "type": "number"
  8381. },
  8382. "pricedspotqty": {
  8383. "description": "已定价现货数量",
  8384. "type": "number"
  8385. },
  8386. "pricedspotqtynotax": {
  8387. "description": "已定价现货不含税数量",
  8388. "type": "number"
  8389. },
  8390. "remark": {
  8391. "description": "备注",
  8392. "type": "string"
  8393. },
  8394. "spotavgprice": {
  8395. "description": "现货均价",
  8396. "type": "number"
  8397. },
  8398. "spotbuyamount": {
  8399. "description": "现货采购金额",
  8400. "type": "number"
  8401. },
  8402. "spotbuyqty": {
  8403. "description": "现货采购数量",
  8404. "type": "number"
  8405. },
  8406. "spotpl": {
  8407. "description": "现货总盈亏[结算更新]",
  8408. "type": "number"
  8409. },
  8410. "spotquota": {
  8411. "description": "现货额度",
  8412. "type": "number"
  8413. },
  8414. "spotsellamount": {
  8415. "description": "现货销售金额",
  8416. "type": "number"
  8417. },
  8418. "spotsellqty": {
  8419. "description": "现货销售数量",
  8420. "type": "number"
  8421. },
  8422. "spotusedquota": {
  8423. "description": "现货占用资金",
  8424. "type": "number"
  8425. },
  8426. "strategystatus": {
  8427. "description": "策略状态 - 0:未结束 1:已结束",
  8428. "type": "integer"
  8429. },
  8430. "totalpl": {
  8431. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8432. "type": "number"
  8433. },
  8434. "tradedate": {
  8435. "description": "交易日(yyyyMMdd)",
  8436. "type": "string"
  8437. },
  8438. "updatetime": {
  8439. "description": "更新时间",
  8440. "type": "string"
  8441. },
  8442. "usedquota": {
  8443. "description": "已占用资金",
  8444. "type": "number"
  8445. },
  8446. "userid": {
  8447. "description": "所属机构",
  8448. "type": "integer"
  8449. }
  8450. }
  8451. },
  8452. "erms2.QueryInnerTradeDetailRsp": {
  8453. "type": "object",
  8454. "required": [
  8455. "asapplyid",
  8456. "buyorsell",
  8457. "goodscode",
  8458. "goodsgroupid",
  8459. "goodsgroupname",
  8460. "goodsname",
  8461. "tradeid"
  8462. ],
  8463. "properties": {
  8464. "accountid": {
  8465. "description": "账号ID",
  8466. "type": "integer"
  8467. },
  8468. "agreeunit": {
  8469. "description": "合约单位",
  8470. "type": "number"
  8471. },
  8472. "asapplyid": {
  8473. "description": "策略申请ID",
  8474. "type": "integer"
  8475. },
  8476. "asname": {
  8477. "description": "策略名称",
  8478. "type": "string"
  8479. },
  8480. "asno": {
  8481. "description": "策略编号",
  8482. "type": "string"
  8483. },
  8484. "buyorsell": {
  8485. "description": "方向 - 0:买 1:卖",
  8486. "type": "integer"
  8487. },
  8488. "channelbuildtype": {
  8489. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8490. "type": "integer"
  8491. },
  8492. "closetype": {
  8493. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8494. "type": "integer"
  8495. },
  8496. "decimalplace": {
  8497. "description": "报价小数位",
  8498. "type": "integer"
  8499. },
  8500. "detailtype": {
  8501. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8502. "type": "integer"
  8503. },
  8504. "exexchangecode": {
  8505. "description": "外部交易所代码",
  8506. "type": "string"
  8507. },
  8508. "exexchangename": {
  8509. "description": "外部交易所名称",
  8510. "type": "string"
  8511. },
  8512. "goodscode": {
  8513. "description": "商品代码(合约)",
  8514. "type": "string"
  8515. },
  8516. "goodsgroupid": {
  8517. "description": "商品组ID(品种ID)",
  8518. "type": "integer"
  8519. },
  8520. "goodsgroupname": {
  8521. "description": "商品组名称(品种)",
  8522. "type": "string"
  8523. },
  8524. "goodsid": {
  8525. "description": "商品ID",
  8526. "type": "integer"
  8527. },
  8528. "goodsname": {
  8529. "description": "商品名称(合约)",
  8530. "type": "string"
  8531. },
  8532. "goodunit": {
  8533. "description": "报价单位",
  8534. "type": "string"
  8535. },
  8536. "marketid": {
  8537. "description": "市场ID",
  8538. "type": "integer"
  8539. },
  8540. "orderid": {
  8541. "description": "委托单号",
  8542. "type": "string"
  8543. },
  8544. "outgoodscode": {
  8545. "description": "商品代码(外部)",
  8546. "type": "string"
  8547. },
  8548. "relatedouttradeid": {
  8549. "description": "关联外部成交单ID",
  8550. "type": "string"
  8551. },
  8552. "remark": {
  8553. "description": "备注",
  8554. "type": "string"
  8555. },
  8556. "spotcontractid": {
  8557. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8558. "type": "integer"
  8559. },
  8560. "spotcontractno": {
  8561. "description": "现货合同编号",
  8562. "type": "string"
  8563. },
  8564. "tradeid": {
  8565. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8566. "type": "string"
  8567. },
  8568. "tradeprice": {
  8569. "description": "成交价格",
  8570. "type": "number"
  8571. },
  8572. "tradeqty": {
  8573. "description": "成交数量",
  8574. "type": "integer"
  8575. },
  8576. "tradetime": {
  8577. "description": "成交时间",
  8578. "type": "string"
  8579. },
  8580. "updatetime": {
  8581. "description": "更新时间",
  8582. "type": "string"
  8583. }
  8584. }
  8585. },
  8586. "erms2.QuerySpotContractRsp": {
  8587. "type": "object",
  8588. "required": [
  8589. "spotcontractid"
  8590. ],
  8591. "properties": {
  8592. "accountid": {
  8593. "description": "资金账户ID",
  8594. "type": "integer"
  8595. },
  8596. "areauserid": {
  8597. "description": "所属机构",
  8598. "type": "integer"
  8599. },
  8600. "closedate": {
  8601. "description": "终止日期",
  8602. "type": "string"
  8603. },
  8604. "closeremark": {
  8605. "description": "结束备注",
  8606. "type": "string"
  8607. },
  8608. "closetradedate": {
  8609. "description": "完结交易日(yyyyMMdd)",
  8610. "type": "string"
  8611. },
  8612. "closetype": {
  8613. "description": "终止类型 - 1:违约 2:提前终止",
  8614. "type": "integer"
  8615. },
  8616. "contractamount": {
  8617. "description": "合同金额",
  8618. "type": "number"
  8619. },
  8620. "contractattachment": {
  8621. "description": "合同附件",
  8622. "type": "string"
  8623. },
  8624. "contractno": {
  8625. "description": "现货合同编号",
  8626. "type": "string"
  8627. },
  8628. "contractqty": {
  8629. "description": "合同数量(数值) (用于计算)",
  8630. "type": "number"
  8631. },
  8632. "contractqtychar": {
  8633. "description": "合同数量\\已订价数量 (用于显示)",
  8634. "type": "string"
  8635. },
  8636. "contractstatus": {
  8637. "description": "合同状态 - 0:未结束 1:已结束",
  8638. "type": "integer"
  8639. },
  8640. "contracttype": {
  8641. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8642. "type": "integer"
  8643. },
  8644. "customeraccountid": {
  8645. "description": "客户资金账户ID",
  8646. "type": "integer"
  8647. },
  8648. "customeruserid": {
  8649. "description": "客户ID",
  8650. "type": "integer"
  8651. },
  8652. "deliverygoodsdesc": {
  8653. "description": "品种说明",
  8654. "type": "string"
  8655. },
  8656. "deliverygoodsid": {
  8657. "description": "现货品种ID",
  8658. "type": "integer"
  8659. },
  8660. "handlestatus": {
  8661. "description": "处理状态",
  8662. "type": "integer"
  8663. },
  8664. "invoiceatt": {
  8665. "description": "发票附件",
  8666. "type": "string"
  8667. },
  8668. "invoicedatetime": {
  8669. "description": "开收票更新时间",
  8670. "type": "string"
  8671. },
  8672. "invoiceopentime": {
  8673. "description": "开票时间",
  8674. "type": "string"
  8675. },
  8676. "invoiceremark": {
  8677. "description": "发票备注",
  8678. "type": "string"
  8679. },
  8680. "invoicestatus": {
  8681. "description": "开收票状态 - 0:未开票 1:已开票",
  8682. "type": "integer"
  8683. },
  8684. "lastdate": {
  8685. "description": "交货时间",
  8686. "type": "string"
  8687. },
  8688. "marketid": {
  8689. "description": "市场ID",
  8690. "type": "integer"
  8691. },
  8692. "paydatetime": {
  8693. "description": "收付款更新时间",
  8694. "type": "string"
  8695. },
  8696. "payremark": {
  8697. "description": "收付款备注",
  8698. "type": "string"
  8699. },
  8700. "paystatus": {
  8701. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8702. "type": "integer"
  8703. },
  8704. "positionqty": {
  8705. "description": "头寸数量 - 合同数量去小数部分",
  8706. "type": "integer"
  8707. },
  8708. "producttype": {
  8709. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8710. "type": "integer"
  8711. },
  8712. "relatedqty": {
  8713. "description": "已关联数量",
  8714. "type": "number"
  8715. },
  8716. "relatedstatus": {
  8717. "description": "关联完结状态 - 0:未结束 1:已结束",
  8718. "type": "integer"
  8719. },
  8720. "remark": {
  8721. "description": "备注",
  8722. "type": "string"
  8723. },
  8724. "signdate": {
  8725. "description": "签订日期",
  8726. "type": "string"
  8727. },
  8728. "spotcontractid": {
  8729. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  8730. "type": "string"
  8731. },
  8732. "spotdatetime": {
  8733. "description": "收发货更新时间",
  8734. "type": "string"
  8735. },
  8736. "spotprice": {
  8737. "description": "价格",
  8738. "type": "number"
  8739. },
  8740. "spotremark": {
  8741. "description": "收发货备注",
  8742. "type": "string"
  8743. },
  8744. "spotstatus": {
  8745. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  8746. "type": "integer"
  8747. },
  8748. "tradedate": {
  8749. "description": "交易日(yyyyMMdd)",
  8750. "type": "string"
  8751. },
  8752. "userid": {
  8753. "description": "业务员用户ID",
  8754. "type": "integer"
  8755. },
  8756. "warehouseid": {
  8757. "description": "仓库ID",
  8758. "type": "integer"
  8759. },
  8760. "wrfactortypeid": {
  8761. "description": "仓单要素类型ID",
  8762. "type": "integer"
  8763. },
  8764. "wrstandardid": {
  8765. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8766. "type": "integer"
  8767. }
  8768. }
  8769. },
  8770. "erms3.AddErms2ASApplyReq": {
  8771. "type": "object",
  8772. "required": [
  8773. "asapplyid"
  8774. ],
  8775. "properties": {
  8776. "applybasis": {
  8777. "description": "申请基差",
  8778. "type": "number"
  8779. },
  8780. "applystatus": {
  8781. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8782. "type": "integer"
  8783. },
  8784. "asapplyid": {
  8785. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  8786. "type": "integer"
  8787. },
  8788. "asname": {
  8789. "description": "策略名称",
  8790. "type": "string"
  8791. },
  8792. "asno": {
  8793. "description": "策略编号",
  8794. "type": "string"
  8795. },
  8796. "auditid": {
  8797. "description": "审核人",
  8798. "type": "integer"
  8799. },
  8800. "auditremark": {
  8801. "description": "审核备注",
  8802. "type": "string"
  8803. },
  8804. "audittime": {
  8805. "description": "审核时间",
  8806. "type": "string"
  8807. },
  8808. "biztype": {
  8809. "description": "业务类型 - 1:正向套利 2:反向套利",
  8810. "type": "integer"
  8811. },
  8812. "createtime": {
  8813. "description": "创建时间",
  8814. "type": "string"
  8815. },
  8816. "creatorid": {
  8817. "description": "创建人",
  8818. "type": "integer"
  8819. },
  8820. "deliverygoodsid": {
  8821. "description": "现货品种ID",
  8822. "type": "integer"
  8823. },
  8824. "futurequote": {
  8825. "description": "期货额度",
  8826. "type": "number"
  8827. },
  8828. "goodsgroupid": {
  8829. "description": "期货品种ID",
  8830. "type": "integer"
  8831. },
  8832. "marketid": {
  8833. "description": "市场ID",
  8834. "type": "integer"
  8835. },
  8836. "remark": {
  8837. "description": "备注",
  8838. "type": "string"
  8839. },
  8840. "spotquota": {
  8841. "description": "现货额度",
  8842. "type": "number"
  8843. },
  8844. "tradedate": {
  8845. "description": "交易日(yyyyMMdd)",
  8846. "type": "string"
  8847. },
  8848. "userid": {
  8849. "description": "所属机构",
  8850. "type": "integer"
  8851. }
  8852. }
  8853. },
  8854. "erms3.AddErms2SpotTradeApplyReq": {
  8855. "type": "object",
  8856. "required": [
  8857. "spottradeid"
  8858. ],
  8859. "properties": {
  8860. "applyjsondetail": {
  8861. "description": "申请明细(JSON)",
  8862. "type": "string"
  8863. },
  8864. "applystatus": {
  8865. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8866. "type": "integer"
  8867. },
  8868. "areauserid": {
  8869. "description": "所属机构",
  8870. "type": "integer"
  8871. },
  8872. "auditid": {
  8873. "description": "审核人",
  8874. "type": "integer"
  8875. },
  8876. "auditremark": {
  8877. "description": "审核备注",
  8878. "type": "string"
  8879. },
  8880. "audittime": {
  8881. "description": "审核时间",
  8882. "type": "string"
  8883. },
  8884. "createtime": {
  8885. "description": "创建时间",
  8886. "type": "string"
  8887. },
  8888. "creatorid": {
  8889. "description": "创建人",
  8890. "type": "integer"
  8891. },
  8892. "deliverygoodsid": {
  8893. "description": "现货品种ID",
  8894. "type": "integer"
  8895. },
  8896. "futureaccountid": {
  8897. "description": "期货资金账户",
  8898. "type": "integer"
  8899. },
  8900. "goodsgroupid": {
  8901. "description": "期货品种",
  8902. "type": "integer"
  8903. },
  8904. "marketid": {
  8905. "description": "市场ID",
  8906. "type": "integer"
  8907. },
  8908. "remark": {
  8909. "description": "备注",
  8910. "type": "string"
  8911. },
  8912. "spotaccountid": {
  8913. "description": "现货资金账户",
  8914. "type": "integer"
  8915. },
  8916. "spottradeid": {
  8917. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  8918. "type": "integer"
  8919. },
  8920. "spottradename": {
  8921. "description": "业务名称",
  8922. "type": "string"
  8923. },
  8924. "spottradeno": {
  8925. "description": "业务编号",
  8926. "type": "string"
  8927. },
  8928. "tradedate": {
  8929. "description": "交易日(yyyyMMdd)",
  8930. "type": "string"
  8931. },
  8932. "wrstandardid": {
  8933. "description": "仓单标准ID",
  8934. "type": "integer"
  8935. }
  8936. }
  8937. },
  8938. "erms3.AddSpotContractApplyReq": {
  8939. "type": "object",
  8940. "required": [
  8941. "accountid",
  8942. "areauserid",
  8943. "contractno",
  8944. "contracttype",
  8945. "customeraccountid",
  8946. "customeruserid",
  8947. "details",
  8948. "orimargin",
  8949. "signdate"
  8950. ],
  8951. "properties": {
  8952. "accountid": {
  8953. "description": "资金账户ID",
  8954. "type": "integer"
  8955. },
  8956. "areauserid": {
  8957. "description": "所属机构",
  8958. "type": "integer"
  8959. },
  8960. "contractattachment": {
  8961. "description": "合同附件",
  8962. "type": "string"
  8963. },
  8964. "contractno": {
  8965. "description": "现货合同编号",
  8966. "type": "string"
  8967. },
  8968. "contracttype": {
  8969. "description": "现货合同类型 - 1:采购 -1:销售",
  8970. "type": "integer"
  8971. },
  8972. "creatorid": {
  8973. "description": "申请人",
  8974. "type": "integer"
  8975. },
  8976. "customeraccountid": {
  8977. "description": "客户资金账户ID",
  8978. "type": "integer"
  8979. },
  8980. "customeruserid": {
  8981. "description": "客户ID",
  8982. "type": "integer"
  8983. },
  8984. "details": {
  8985. "description": "明细",
  8986. "type": "array",
  8987. "items": {
  8988. "$ref": "#/definitions/erms3.SoptContractDetail"
  8989. }
  8990. },
  8991. "orimargin": {
  8992. "description": "初始保证金",
  8993. "type": "number"
  8994. },
  8995. "remark": {
  8996. "description": "备注",
  8997. "type": "string"
  8998. },
  8999. "signdate": {
  9000. "description": "签订日期",
  9001. "type": "string"
  9002. }
  9003. }
  9004. },
  9005. "erms3.AddSpotContractApplyRsp": {
  9006. "type": "object",
  9007. "required": [
  9008. "contractno"
  9009. ],
  9010. "properties": {
  9011. "contractno": {
  9012. "description": "现货合同编号",
  9013. "type": "string"
  9014. },
  9015. "spotcontractid": {
  9016. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9017. "type": "integer"
  9018. }
  9019. }
  9020. },
  9021. "erms3.AddUserInfoApplyReq": {
  9022. "type": "object",
  9023. "required": [
  9024. "userid"
  9025. ],
  9026. "properties": {
  9027. "accountid": {
  9028. "description": "交易系统帐号Id (加密存储)",
  9029. "type": "integer"
  9030. },
  9031. "areacode": {
  9032. "description": "机构代码",
  9033. "type": "string"
  9034. },
  9035. "areaid": {
  9036. "description": "机构Id",
  9037. "type": "integer"
  9038. },
  9039. "attachment1": {
  9040. "description": "附件1",
  9041. "type": "string"
  9042. },
  9043. "attachment2": {
  9044. "description": "附件2",
  9045. "type": "string"
  9046. },
  9047. "attachment3": {
  9048. "description": "附件3",
  9049. "type": "string"
  9050. },
  9051. "attachment4": {
  9052. "description": "附件4",
  9053. "type": "string"
  9054. },
  9055. "attachment5": {
  9056. "description": "附件5",
  9057. "type": "string"
  9058. },
  9059. "auditedby": {
  9060. "description": "审核人",
  9061. "type": "string"
  9062. },
  9063. "auditime": {
  9064. "description": "审核时间",
  9065. "type": "string"
  9066. },
  9067. "bankaccount": {
  9068. "description": "银行帐号 (加密存储)",
  9069. "type": "string"
  9070. },
  9071. "bankaccountname": {
  9072. "description": "收款人名称",
  9073. "type": "string"
  9074. },
  9075. "bankcardbackphotourl": {
  9076. "description": "银行卡背面照地址",
  9077. "type": "string"
  9078. },
  9079. "bankcardfrontphotourl": {
  9080. "description": "银行卡正面照地址",
  9081. "type": "string"
  9082. },
  9083. "bankid": {
  9084. "description": "银行编码",
  9085. "type": "string"
  9086. },
  9087. "bankname": {
  9088. "description": "银行名称",
  9089. "type": "string"
  9090. },
  9091. "bankpictureurl": {
  9092. "description": "银行卡正面地址",
  9093. "type": "string"
  9094. },
  9095. "biznature": {
  9096. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9097. "type": "integer"
  9098. },
  9099. "bizscope": {
  9100. "description": "企业经营范围(企业)",
  9101. "type": "string"
  9102. },
  9103. "biztype": {
  9104. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9105. "type": "integer"
  9106. },
  9107. "brokerid": {
  9108. "description": "经纪人ID(加密存储)",
  9109. "type": "string"
  9110. },
  9111. "cardaddress": {
  9112. "description": "证件地址 (加密存储)",
  9113. "type": "string"
  9114. },
  9115. "cardbackphotourl": {
  9116. "description": "背面证件照地址",
  9117. "type": "string"
  9118. },
  9119. "cardfrontphotourl": {
  9120. "description": "正面证件照地址",
  9121. "type": "string"
  9122. },
  9123. "cardnum": {
  9124. "description": "证件号码 (加密存储)",
  9125. "type": "string"
  9126. },
  9127. "cardtype": {
  9128. "description": "证件类型",
  9129. "type": "integer"
  9130. },
  9131. "cityid": {
  9132. "description": "市",
  9133. "type": "integer"
  9134. },
  9135. "company": {
  9136. "description": "公司(个人)",
  9137. "type": "string"
  9138. },
  9139. "contactcardbackphotourl": {
  9140. "description": "联系人证件背面图片地址",
  9141. "type": "string"
  9142. },
  9143. "contactcardfrontphotourl": {
  9144. "description": "联系人证件正面图片地址",
  9145. "type": "string"
  9146. },
  9147. "contactname": {
  9148. "description": "联系人",
  9149. "type": "string"
  9150. },
  9151. "countryid": {
  9152. "description": "国家",
  9153. "type": "integer"
  9154. },
  9155. "createtime": {
  9156. "description": "开户申请时间",
  9157. "type": "string"
  9158. },
  9159. "cusbankid": {
  9160. "description": "签约类型",
  9161. "type": "string"
  9162. },
  9163. "cusbankname": {
  9164. "description": "签约类型名称",
  9165. "type": "string"
  9166. },
  9167. "customername": {
  9168. "description": "客户名称(企业名称)",
  9169. "type": "string"
  9170. },
  9171. "districtid": {
  9172. "description": "地区",
  9173. "type": "integer"
  9174. },
  9175. "email": {
  9176. "description": "Email地址(加密存储)",
  9177. "type": "string"
  9178. },
  9179. "halfbodyphotourl": {
  9180. "description": "半身照地址",
  9181. "type": "string"
  9182. },
  9183. "headurl": {
  9184. "description": "头像地址",
  9185. "type": "string"
  9186. },
  9187. "ipaddress": {
  9188. "description": "IP地址",
  9189. "type": "string"
  9190. },
  9191. "isvalidate": {
  9192. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9193. "type": "string"
  9194. },
  9195. "legalcardbackphotourl": {
  9196. "description": "法人身份证背面照地址",
  9197. "type": "string"
  9198. },
  9199. "legalcardfrontphotourl": {
  9200. "description": "法人身份证正面照地址",
  9201. "type": "string"
  9202. },
  9203. "legalpersonname": {
  9204. "description": "法人姓名(企业)",
  9205. "type": "string"
  9206. },
  9207. "logincode": {
  9208. "description": "登录帐号 (加密存储)",
  9209. "type": "string"
  9210. },
  9211. "memberareaid": {
  9212. "description": "所属会员ID",
  9213. "type": "integer"
  9214. },
  9215. "mobile2": {
  9216. "description": "手机号码[明文-尚志]",
  9217. "type": "string"
  9218. },
  9219. "mobilephone": {
  9220. "description": "手机号码 (加密存储)",
  9221. "type": "string"
  9222. },
  9223. "modifiedby": {
  9224. "description": "修改人帐号",
  9225. "type": "integer"
  9226. },
  9227. "modifiedtime": {
  9228. "description": "修改时间",
  9229. "type": "string"
  9230. },
  9231. "nickname": {
  9232. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9233. "type": "string"
  9234. },
  9235. "openmode": {
  9236. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9237. "type": "integer"
  9238. },
  9239. "otherurl": {
  9240. "description": "其它图片地址[使用分号分隔]",
  9241. "type": "string"
  9242. },
  9243. "postalcode": {
  9244. "description": "邮政编码",
  9245. "type": "string"
  9246. },
  9247. "provinceid": {
  9248. "description": "省",
  9249. "type": "integer"
  9250. },
  9251. "proxystatementurl": {
  9252. "description": "授权委托书",
  9253. "type": "string"
  9254. },
  9255. "qq": {
  9256. "description": "QQ(加密存储",
  9257. "type": "string"
  9258. },
  9259. "referral": {
  9260. "description": "推荐人编码",
  9261. "type": "string"
  9262. },
  9263. "remark": {
  9264. "description": "备注",
  9265. "type": "string"
  9266. },
  9267. "removebeforestatus": {
  9268. "description": "REMOVEBEFORESTATUS",
  9269. "type": "integer"
  9270. },
  9271. "sex": {
  9272. "description": "性别 - 0:女 1:男",
  9273. "type": "integer"
  9274. },
  9275. "signedstatus": {
  9276. "description": "账户一号签签约状态",
  9277. "type": "integer"
  9278. },
  9279. "signpdfurl": {
  9280. "description": "签约pdf文件",
  9281. "type": "string"
  9282. },
  9283. "subbranch": {
  9284. "description": "开户支行",
  9285. "type": "string"
  9286. },
  9287. "telphone": {
  9288. "description": "联系电话(加密存储)",
  9289. "type": "string"
  9290. },
  9291. "userid": {
  9292. "description": "用户ID(自增ID)",
  9293. "type": "integer"
  9294. },
  9295. "userinfotype": {
  9296. "description": "用户信息类型 - 1:个人 2:企业",
  9297. "type": "integer"
  9298. },
  9299. "username": {
  9300. "description": "用户姓名",
  9301. "type": "string"
  9302. },
  9303. "userstate": {
  9304. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9305. "type": "integer"
  9306. },
  9307. "usertype": {
  9308. "description": "用户类型 - 1:投资者 2:机构",
  9309. "type": "integer"
  9310. },
  9311. "videourl": {
  9312. "description": "视频地址",
  9313. "type": "string"
  9314. },
  9315. "wechat": {
  9316. "description": "微信号 (加密存储)",
  9317. "type": "string"
  9318. }
  9319. }
  9320. },
  9321. "erms3.CustomerInfo": {
  9322. "type": "object",
  9323. "required": [
  9324. "userid"
  9325. ],
  9326. "properties": {
  9327. "accountids": {
  9328. "description": "资金账户ID列表",
  9329. "type": "array",
  9330. "items": {
  9331. "type": "integer"
  9332. }
  9333. },
  9334. "customername": {
  9335. "description": "名称(企业名称)",
  9336. "type": "string"
  9337. },
  9338. "mobile": {
  9339. "description": "手机号码",
  9340. "type": "string"
  9341. },
  9342. "userid": {
  9343. "description": "用户ID",
  9344. "type": "integer"
  9345. }
  9346. }
  9347. },
  9348. "erms3.ModifyUserInfoApplyReq": {
  9349. "type": "object",
  9350. "required": [
  9351. "userid"
  9352. ],
  9353. "properties": {
  9354. "accountid": {
  9355. "description": "交易系统帐号Id (加密存储)",
  9356. "type": "integer"
  9357. },
  9358. "areacode": {
  9359. "description": "机构代码",
  9360. "type": "string"
  9361. },
  9362. "areaid": {
  9363. "description": "机构Id",
  9364. "type": "integer"
  9365. },
  9366. "attachment1": {
  9367. "description": "附件1",
  9368. "type": "string"
  9369. },
  9370. "attachment2": {
  9371. "description": "附件2",
  9372. "type": "string"
  9373. },
  9374. "attachment3": {
  9375. "description": "附件3",
  9376. "type": "string"
  9377. },
  9378. "attachment4": {
  9379. "description": "附件4",
  9380. "type": "string"
  9381. },
  9382. "attachment5": {
  9383. "description": "附件5",
  9384. "type": "string"
  9385. },
  9386. "auditedby": {
  9387. "description": "审核人",
  9388. "type": "string"
  9389. },
  9390. "auditime": {
  9391. "description": "审核时间",
  9392. "type": "string"
  9393. },
  9394. "bankaccount": {
  9395. "description": "银行帐号 (加密存储)",
  9396. "type": "string"
  9397. },
  9398. "bankaccountname": {
  9399. "description": "收款人名称",
  9400. "type": "string"
  9401. },
  9402. "bankcardbackphotourl": {
  9403. "description": "银行卡背面照地址",
  9404. "type": "string"
  9405. },
  9406. "bankcardfrontphotourl": {
  9407. "description": "银行卡正面照地址",
  9408. "type": "string"
  9409. },
  9410. "bankid": {
  9411. "description": "银行编码",
  9412. "type": "string"
  9413. },
  9414. "bankname": {
  9415. "description": "银行名称",
  9416. "type": "string"
  9417. },
  9418. "bankpictureurl": {
  9419. "description": "银行卡正面地址",
  9420. "type": "string"
  9421. },
  9422. "biznature": {
  9423. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9424. "type": "integer"
  9425. },
  9426. "bizscope": {
  9427. "description": "企业经营范围(企业)",
  9428. "type": "string"
  9429. },
  9430. "biztype": {
  9431. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9432. "type": "integer"
  9433. },
  9434. "brokerid": {
  9435. "description": "经纪人ID(加密存储)",
  9436. "type": "string"
  9437. },
  9438. "cardaddress": {
  9439. "description": "证件地址 (加密存储)",
  9440. "type": "string"
  9441. },
  9442. "cardbackphotourl": {
  9443. "description": "背面证件照地址",
  9444. "type": "string"
  9445. },
  9446. "cardfrontphotourl": {
  9447. "description": "正面证件照地址",
  9448. "type": "string"
  9449. },
  9450. "cardnum": {
  9451. "description": "证件号码 (加密存储)",
  9452. "type": "string"
  9453. },
  9454. "cardtype": {
  9455. "description": "证件类型",
  9456. "type": "integer"
  9457. },
  9458. "cityid": {
  9459. "description": "市",
  9460. "type": "integer"
  9461. },
  9462. "company": {
  9463. "description": "公司(个人)",
  9464. "type": "string"
  9465. },
  9466. "contactcardbackphotourl": {
  9467. "description": "联系人证件背面图片地址",
  9468. "type": "string"
  9469. },
  9470. "contactcardfrontphotourl": {
  9471. "description": "联系人证件正面图片地址",
  9472. "type": "string"
  9473. },
  9474. "contactname": {
  9475. "description": "联系人",
  9476. "type": "string"
  9477. },
  9478. "countryid": {
  9479. "description": "国家",
  9480. "type": "integer"
  9481. },
  9482. "createtime": {
  9483. "description": "开户申请时间",
  9484. "type": "string"
  9485. },
  9486. "cusbankid": {
  9487. "description": "签约类型",
  9488. "type": "string"
  9489. },
  9490. "cusbankname": {
  9491. "description": "签约类型名称",
  9492. "type": "string"
  9493. },
  9494. "customername": {
  9495. "description": "客户名称(企业名称)",
  9496. "type": "string"
  9497. },
  9498. "districtid": {
  9499. "description": "地区",
  9500. "type": "integer"
  9501. },
  9502. "email": {
  9503. "description": "Email地址(加密存储)",
  9504. "type": "string"
  9505. },
  9506. "halfbodyphotourl": {
  9507. "description": "半身照地址",
  9508. "type": "string"
  9509. },
  9510. "headurl": {
  9511. "description": "头像地址",
  9512. "type": "string"
  9513. },
  9514. "ipaddress": {
  9515. "description": "IP地址",
  9516. "type": "string"
  9517. },
  9518. "isvalidate": {
  9519. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9520. "type": "string"
  9521. },
  9522. "legalcardbackphotourl": {
  9523. "description": "法人身份证背面照地址",
  9524. "type": "string"
  9525. },
  9526. "legalcardfrontphotourl": {
  9527. "description": "法人身份证正面照地址",
  9528. "type": "string"
  9529. },
  9530. "legalpersonname": {
  9531. "description": "法人姓名(企业)",
  9532. "type": "string"
  9533. },
  9534. "logincode": {
  9535. "description": "登录帐号 (加密存储)",
  9536. "type": "string"
  9537. },
  9538. "memberareaid": {
  9539. "description": "所属会员ID",
  9540. "type": "integer"
  9541. },
  9542. "mobile2": {
  9543. "description": "手机号码[明文-尚志]",
  9544. "type": "string"
  9545. },
  9546. "mobilephone": {
  9547. "description": "手机号码 (加密存储)",
  9548. "type": "string"
  9549. },
  9550. "modifiedby": {
  9551. "description": "修改人帐号",
  9552. "type": "integer"
  9553. },
  9554. "modifiedtime": {
  9555. "description": "修改时间",
  9556. "type": "string"
  9557. },
  9558. "nickname": {
  9559. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9560. "type": "string"
  9561. },
  9562. "openmode": {
  9563. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9564. "type": "integer"
  9565. },
  9566. "otherurl": {
  9567. "description": "其它图片地址[使用分号分隔]",
  9568. "type": "string"
  9569. },
  9570. "postalcode": {
  9571. "description": "邮政编码",
  9572. "type": "string"
  9573. },
  9574. "provinceid": {
  9575. "description": "省",
  9576. "type": "integer"
  9577. },
  9578. "proxystatementurl": {
  9579. "description": "授权委托书",
  9580. "type": "string"
  9581. },
  9582. "qq": {
  9583. "description": "QQ(加密存储",
  9584. "type": "string"
  9585. },
  9586. "referral": {
  9587. "description": "推荐人编码",
  9588. "type": "string"
  9589. },
  9590. "remark": {
  9591. "description": "备注",
  9592. "type": "string"
  9593. },
  9594. "removebeforestatus": {
  9595. "description": "REMOVEBEFORESTATUS",
  9596. "type": "integer"
  9597. },
  9598. "sex": {
  9599. "description": "性别 - 0:女 1:男",
  9600. "type": "integer"
  9601. },
  9602. "signedstatus": {
  9603. "description": "账户一号签签约状态",
  9604. "type": "integer"
  9605. },
  9606. "signpdfurl": {
  9607. "description": "签约pdf文件",
  9608. "type": "string"
  9609. },
  9610. "subbranch": {
  9611. "description": "开户支行",
  9612. "type": "string"
  9613. },
  9614. "telphone": {
  9615. "description": "联系电话(加密存储)",
  9616. "type": "string"
  9617. },
  9618. "userid": {
  9619. "description": "用户ID(自增ID)",
  9620. "type": "integer"
  9621. },
  9622. "userinfotype": {
  9623. "description": "用户信息类型 - 1:个人 2:企业",
  9624. "type": "integer"
  9625. },
  9626. "username": {
  9627. "description": "用户姓名",
  9628. "type": "string"
  9629. },
  9630. "userstate": {
  9631. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9632. "type": "integer"
  9633. },
  9634. "usertype": {
  9635. "description": "用户类型 - 1:投资者 2:机构",
  9636. "type": "integer"
  9637. },
  9638. "videourl": {
  9639. "description": "视频地址",
  9640. "type": "string"
  9641. },
  9642. "wechat": {
  9643. "description": "微信号 (加密存储)",
  9644. "type": "string"
  9645. }
  9646. }
  9647. },
  9648. "erms3.QryAuditContractRsp": {
  9649. "type": "object",
  9650. "required": [
  9651. "matchcustomername",
  9652. "spotcontractid"
  9653. ],
  9654. "properties": {
  9655. "accountid": {
  9656. "description": "交易员ID",
  9657. "type": "string"
  9658. },
  9659. "applystatus": {
  9660. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9661. "type": "integer"
  9662. },
  9663. "curdeliveryqty": {
  9664. "description": "未交收量",
  9665. "type": "integer"
  9666. },
  9667. "customername": {
  9668. "description": "采购方ID",
  9669. "type": "string"
  9670. },
  9671. "deliverygoodsid": {
  9672. "description": "品种ID",
  9673. "type": "string"
  9674. },
  9675. "deliveryqty": {
  9676. "description": "交收量",
  9677. "type": "integer"
  9678. },
  9679. "enumdicname": {
  9680. "description": "单位名称",
  9681. "type": "string"
  9682. },
  9683. "matchaccountid": {
  9684. "description": "业务员ID",
  9685. "type": "string"
  9686. },
  9687. "matchcustomername": {
  9688. "description": "销售方ID",
  9689. "type": "string"
  9690. },
  9691. "pricedqty": {
  9692. "description": "定价量",
  9693. "type": "number"
  9694. },
  9695. "signdate": {
  9696. "description": "签订日期",
  9697. "type": "string"
  9698. },
  9699. "spotcontractid": {
  9700. "description": "合同ID",
  9701. "type": "string"
  9702. },
  9703. "totaldqty": {
  9704. "description": "合同量",
  9705. "type": "number"
  9706. },
  9707. "unpricedqty": {
  9708. "description": "未定价量",
  9709. "type": "number"
  9710. },
  9711. "wrstandardname": {
  9712. "description": "商品名称",
  9713. "type": "string"
  9714. }
  9715. }
  9716. },
  9717. "erms3.QryPendingBizRsp": {
  9718. "$ref": "#/definitions/models.PendingAuditBizModel"
  9719. },
  9720. "erms3.QueryBusinessInfoRsp": {
  9721. "type": "object",
  9722. "properties": {
  9723. "businessid": {
  9724. "description": "业务ID.",
  9725. "type": "integer"
  9726. },
  9727. "buyamount": {
  9728. "description": "采购额.",
  9729. "type": "number"
  9730. },
  9731. "buyqty": {
  9732. "description": "采购量.",
  9733. "type": "string"
  9734. },
  9735. "futurepl": {
  9736. "description": "期货盈亏.",
  9737. "type": "number"
  9738. },
  9739. "futureqty": {
  9740. "description": "期货敞口.",
  9741. "type": "string"
  9742. },
  9743. "goodsid": {
  9744. "description": "商品名称/商品代码.",
  9745. "type": "string"
  9746. },
  9747. "hedgingqty": {
  9748. "description": "套保量.",
  9749. "type": "string"
  9750. },
  9751. "sellamount": {
  9752. "description": "销售额.",
  9753. "type": "number"
  9754. },
  9755. "sellqty": {
  9756. "description": "销售量.",
  9757. "type": "string"
  9758. },
  9759. "spotmarketvalue": {
  9760. "description": "现货市值.",
  9761. "type": "number"
  9762. },
  9763. "spotpl": {
  9764. "description": "浮动权益.",
  9765. "type": "number"
  9766. },
  9767. "spotqty": {
  9768. "description": "现货量.",
  9769. "type": "string"
  9770. },
  9771. "statu": {
  9772. "description": "状态,0-未结束 1-已结束.",
  9773. "type": "integer"
  9774. },
  9775. "totalpl": {
  9776. "description": "总盈亏.",
  9777. "type": "number"
  9778. },
  9779. "totalqty": {
  9780. "description": "总敞口.",
  9781. "type": "string"
  9782. },
  9783. "type": {
  9784. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  9785. "type": "integer"
  9786. }
  9787. }
  9788. },
  9789. "erms3.QuerySpotContractAppleFormRsp": {
  9790. "type": "object",
  9791. "properties": {
  9792. "goodses": {
  9793. "description": "合约列表",
  9794. "type": "array",
  9795. "items": {
  9796. "$ref": "#/definitions/models.GoodsIDAndName"
  9797. }
  9798. },
  9799. "oppositeusers": {
  9800. "description": "对方账号列表",
  9801. "type": "array",
  9802. "items": {
  9803. "$ref": "#/definitions/erms3.CustomerInfo"
  9804. }
  9805. },
  9806. "ouruser": {
  9807. "description": "我方账号",
  9808. "type": "object",
  9809. "$ref": "#/definitions/erms3.CustomerInfo"
  9810. },
  9811. "warehouseinfos": {
  9812. "description": "仓库信息列表",
  9813. "type": "array",
  9814. "items": {
  9815. "$ref": "#/definitions/models.Warehouseinfo"
  9816. }
  9817. },
  9818. "wrstandards": {
  9819. "description": "仓单标准列表",
  9820. "type": "array",
  9821. "items": {
  9822. "$ref": "#/definitions/models.WRStandardInfo"
  9823. }
  9824. }
  9825. }
  9826. },
  9827. "erms3.QuerySpotContractInfoRsp": {
  9828. "type": "object",
  9829. "properties": {
  9830. "accountid": {
  9831. "description": "表示交易员ID.",
  9832. "type": "integer"
  9833. },
  9834. "curdeliveryqty": {
  9835. "description": "表示未交收量.",
  9836. "type": "number"
  9837. },
  9838. "customername": {
  9839. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  9840. "type": "string"
  9841. },
  9842. "deliverygoodsid": {
  9843. "description": "表示品种ID.",
  9844. "type": "string"
  9845. },
  9846. "deliveryqty": {
  9847. "description": "表示交收量.",
  9848. "type": "number"
  9849. },
  9850. "matchaccountid": {
  9851. "description": "表示业务员ID.",
  9852. "type": "integer"
  9853. },
  9854. "matchcustomername": {
  9855. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  9856. "type": "string"
  9857. },
  9858. "priceqty": {
  9859. "description": "表示定价量.",
  9860. "type": "number"
  9861. },
  9862. "relatedbizid": {
  9863. "description": "表示业务ID.",
  9864. "type": "string"
  9865. },
  9866. "signdate": {
  9867. "description": "表示签订日期.",
  9868. "type": "string"
  9869. },
  9870. "spotcontractid": {
  9871. "description": "合同ID",
  9872. "type": "string"
  9873. },
  9874. "status": {
  9875. "description": "表示状态,0-履约中 1-已完成.",
  9876. "type": "integer"
  9877. },
  9878. "totalqty": {
  9879. "description": "表示合同量.",
  9880. "type": "number"
  9881. },
  9882. "unpricedqty": {
  9883. "description": "表示未定价量.",
  9884. "type": "number"
  9885. },
  9886. "wrstandardname": {
  9887. "description": "表示商品ID.",
  9888. "type": "string"
  9889. }
  9890. }
  9891. },
  9892. "erms3.QueryUserInfoAppliesRsp": {
  9893. "type": "object",
  9894. "required": [
  9895. "userid"
  9896. ],
  9897. "properties": {
  9898. "biznature": {
  9899. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9900. "type": "integer"
  9901. },
  9902. "contactname": {
  9903. "description": "联系人",
  9904. "type": "string"
  9905. },
  9906. "createtime": {
  9907. "description": "开户申请时间",
  9908. "type": "string"
  9909. },
  9910. "userid": {
  9911. "description": "用户ID(自增ID)",
  9912. "type": "integer"
  9913. },
  9914. "userinfotype": {
  9915. "description": "用户信息类型 - 1:个人 2:企业",
  9916. "type": "integer"
  9917. },
  9918. "username": {
  9919. "description": "用户姓名",
  9920. "type": "string"
  9921. },
  9922. "userstate": {
  9923. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9924. "type": "integer"
  9925. }
  9926. }
  9927. },
  9928. "erms3.QueryUserInfosRsp": {
  9929. "type": "object",
  9930. "required": [
  9931. "userid"
  9932. ],
  9933. "properties": {
  9934. "biznature": {
  9935. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9936. "type": "integer"
  9937. },
  9938. "contactname": {
  9939. "description": "联系人",
  9940. "type": "string"
  9941. },
  9942. "customername": {
  9943. "description": "客户名称(企业名称)",
  9944. "type": "string"
  9945. },
  9946. "userid": {
  9947. "description": "用户ID",
  9948. "type": "integer"
  9949. },
  9950. "userinfotype": {
  9951. "description": "用户信息类型 - 1:个人 2:企业",
  9952. "type": "integer"
  9953. },
  9954. "userstatus": {
  9955. "description": "用户状态 - 1:正常 2:注销",
  9956. "type": "integer"
  9957. }
  9958. }
  9959. },
  9960. "erms3.SoptContractDetail": {
  9961. "type": "object",
  9962. "required": [
  9963. "deliverygoodsid",
  9964. "producttype",
  9965. "unitname",
  9966. "warehouseid",
  9967. "wrstandardid",
  9968. "wrstandardname"
  9969. ],
  9970. "properties": {
  9971. "deliverygoodsdesc": {
  9972. "description": "现货品种说明",
  9973. "type": "string"
  9974. },
  9975. "deliverygoodsid": {
  9976. "description": "现货品种ID",
  9977. "type": "integer"
  9978. },
  9979. "deliverygoodsname": {
  9980. "description": "现货品种名称",
  9981. "type": "string"
  9982. },
  9983. "pointdesc": {
  9984. "description": "点价描述",
  9985. "type": "string"
  9986. },
  9987. "producttype": {
  9988. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  9989. "type": "integer"
  9990. },
  9991. "producttypename": {
  9992. "description": "产品类型名称",
  9993. "type": "string"
  9994. },
  9995. "spotPointOrderVoList": {
  9996. "description": "点价列表",
  9997. "type": "array",
  9998. "items": {
  9999. "$ref": "#/definitions/erms3.SpotPointOrder"
  10000. }
  10001. },
  10002. "spotPriceOrderList": {
  10003. "description": "定价列表",
  10004. "type": "array",
  10005. "items": {
  10006. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10007. }
  10008. },
  10009. "unitname": {
  10010. "description": "单位名称",
  10011. "type": "string"
  10012. },
  10013. "warehouseid": {
  10014. "description": "仓库ID",
  10015. "type": "integer"
  10016. },
  10017. "warehousename": {
  10018. "description": "仓库名称",
  10019. "type": "string"
  10020. },
  10021. "wrstandardid": {
  10022. "description": "交易标的ID",
  10023. "type": "integer"
  10024. },
  10025. "wrstandardname": {
  10026. "description": "交易标的名称",
  10027. "type": "string"
  10028. }
  10029. }
  10030. },
  10031. "erms3.SpotPointOrder": {
  10032. "type": "object",
  10033. "required": [
  10034. "basic",
  10035. "goodsid",
  10036. "qty"
  10037. ],
  10038. "properties": {
  10039. "basic": {
  10040. "description": "基差",
  10041. "type": "number"
  10042. },
  10043. "deliveryenddate": {
  10044. "description": "交收结束日期",
  10045. "type": "string"
  10046. },
  10047. "deliverystartdate": {
  10048. "description": "交收开始日期",
  10049. "type": "string"
  10050. },
  10051. "enddate": {
  10052. "description": "点价结束日期",
  10053. "type": "string"
  10054. },
  10055. "goodsid": {
  10056. "description": "商品ID",
  10057. "type": "integer"
  10058. },
  10059. "goodsname": {
  10060. "description": "商品名称",
  10061. "type": "string"
  10062. },
  10063. "qty": {
  10064. "description": "数量",
  10065. "type": "number"
  10066. },
  10067. "startdate": {
  10068. "description": "点价开始日期",
  10069. "type": "string"
  10070. }
  10071. }
  10072. },
  10073. "erms3.SpotPriceOrder": {
  10074. "type": "object",
  10075. "required": [
  10076. "amount",
  10077. "price",
  10078. "qty"
  10079. ],
  10080. "properties": {
  10081. "amount": {
  10082. "description": "金额",
  10083. "type": "number"
  10084. },
  10085. "deliveryenddate": {
  10086. "description": "交收结束日期",
  10087. "type": "string"
  10088. },
  10089. "deliverystartdate": {
  10090. "description": "交收开始日期",
  10091. "type": "string"
  10092. },
  10093. "price": {
  10094. "description": "价格",
  10095. "type": "number"
  10096. },
  10097. "qty": {
  10098. "description": "数量",
  10099. "type": "number"
  10100. }
  10101. }
  10102. },
  10103. "hsby.GetHsbyMyCountRsp": {
  10104. "type": "object",
  10105. "properties": {
  10106. "myCouponCount": {
  10107. "description": "我的优惠卷数量",
  10108. "type": "integer"
  10109. },
  10110. "myOrderDetailListingCount": {
  10111. "description": "我的订单求购中数量",
  10112. "type": "integer"
  10113. },
  10114. "myOrderDetailPreCount": {
  10115. "description": "我的订单抢购中数量",
  10116. "type": "integer"
  10117. },
  10118. "myPackageUnReceiveCount": {
  10119. "description": "我的包裹待收货数量",
  10120. "type": "integer"
  10121. },
  10122. "myPackageUnSendCount": {
  10123. "description": "我的包裹待发货数量",
  10124. "type": "integer"
  10125. },
  10126. "myPayOrderCount": {
  10127. "description": "我的订单待付款数量",
  10128. "type": "integer"
  10129. }
  10130. }
  10131. },
  10132. "hsby.QueryProvincesAndCitiesRsp": {
  10133. "type": "object",
  10134. "properties": {
  10135. "cities": {
  10136. "description": "市",
  10137. "type": "array",
  10138. "items": {
  10139. "$ref": "#/definitions/models.Division"
  10140. }
  10141. },
  10142. "province": {
  10143. "description": "省",
  10144. "type": "object",
  10145. "$ref": "#/definitions/models.Division"
  10146. }
  10147. }
  10148. },
  10149. "models.AreaSpotModel": {
  10150. "type": "object",
  10151. "properties": {
  10152. "areauserid": {
  10153. "description": "所属机构",
  10154. "type": "integer"
  10155. },
  10156. "decreaseqty": {
  10157. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10158. "type": "number"
  10159. },
  10160. "increaseqty": {
  10161. "description": "增加数量=销售计划数量+采购已定价数量",
  10162. "type": "number"
  10163. },
  10164. "oritoalspotqty": {
  10165. "description": "昨日数量",
  10166. "type": "number"
  10167. },
  10168. "totalspotqty": {
  10169. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10170. "type": "number"
  10171. },
  10172. "updatetime": {
  10173. "description": "更新时间",
  10174. "type": "string"
  10175. },
  10176. "wrstandardcode": {
  10177. "description": "现货品种代码",
  10178. "type": "string"
  10179. },
  10180. "wrstandardid": {
  10181. "description": "现货商品ID",
  10182. "type": "integer"
  10183. },
  10184. "wrstandardname": {
  10185. "description": "现货品种",
  10186. "type": "string"
  10187. }
  10188. }
  10189. },
  10190. "models.Clientfixedadconfig": {
  10191. "type": "object",
  10192. "required": [
  10193. "adsort",
  10194. "adtype"
  10195. ],
  10196. "properties": {
  10197. "adsort": {
  10198. "description": "排序",
  10199. "type": "integer"
  10200. },
  10201. "adtype": {
  10202. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10203. "type": "integer"
  10204. },
  10205. "areauserid": {
  10206. "description": "所属机构ID",
  10207. "type": "integer"
  10208. },
  10209. "createdate": {
  10210. "description": "创建时间",
  10211. "type": "string"
  10212. },
  10213. "creatorid": {
  10214. "description": "创建人",
  10215. "type": "integer"
  10216. },
  10217. "imagepath": {
  10218. "description": "图片",
  10219. "type": "string"
  10220. },
  10221. "isshow": {
  10222. "description": "是否展示 - 0:不展示 1:展示",
  10223. "type": "integer"
  10224. },
  10225. "modifierid": {
  10226. "description": "操作人",
  10227. "type": "integer"
  10228. },
  10229. "recsize": {
  10230. "description": "推荐尺寸",
  10231. "type": "string"
  10232. },
  10233. "title": {
  10234. "description": "标题",
  10235. "type": "string"
  10236. },
  10237. "updatedate": {
  10238. "description": "更新时间",
  10239. "type": "string"
  10240. },
  10241. "urlcontent": {
  10242. "description": "链接(地址或商品ID)",
  10243. "type": "string"
  10244. },
  10245. "urltype": {
  10246. "description": "链接类型 - 1:直接地址 2:商品ID",
  10247. "type": "integer"
  10248. }
  10249. }
  10250. },
  10251. "models.Division": {
  10252. "type": "object",
  10253. "required": [
  10254. "autoid",
  10255. "divisioncode"
  10256. ],
  10257. "properties": {
  10258. "autoid": {
  10259. "description": "自增ID",
  10260. "type": "integer"
  10261. },
  10262. "divisioncode": {
  10263. "description": "行政代码",
  10264. "type": "string"
  10265. },
  10266. "divisionlevel": {
  10267. "description": "行政级别",
  10268. "type": "string"
  10269. },
  10270. "divisionname": {
  10271. "description": "行政名称",
  10272. "type": "string"
  10273. },
  10274. "modifierid": {
  10275. "description": "修改人",
  10276. "type": "integer"
  10277. },
  10278. "modifytime": {
  10279. "description": "修改时间",
  10280. "type": "string"
  10281. },
  10282. "parentcode": {
  10283. "description": "上级行政代码",
  10284. "type": "string"
  10285. },
  10286. "pathname": {
  10287. "description": "路径名称",
  10288. "type": "string"
  10289. },
  10290. "postcode": {
  10291. "description": "邮政编码",
  10292. "type": "string"
  10293. },
  10294. "separablename": {
  10295. "description": "可拆分的全称",
  10296. "type": "string"
  10297. },
  10298. "shortcode": {
  10299. "description": "地区简码",
  10300. "type": "string"
  10301. }
  10302. }
  10303. },
  10304. "models.Enumdicitem": {
  10305. "type": "object",
  10306. "required": [
  10307. "autoid",
  10308. "enumdiccode",
  10309. "enumdicid",
  10310. "enumitemname"
  10311. ],
  10312. "properties": {
  10313. "autoid": {
  10314. "description": "自增ID",
  10315. "type": "integer"
  10316. },
  10317. "bankmappedvalue": {
  10318. "description": "银行服务对应值",
  10319. "type": "string"
  10320. },
  10321. "enumdiccode": {
  10322. "description": "所属枚举代码",
  10323. "type": "string"
  10324. },
  10325. "enumdicid": {
  10326. "description": "所属枚举ID",
  10327. "type": "integer"
  10328. },
  10329. "enumdicname": {
  10330. "description": "枚举项名称",
  10331. "type": "string"
  10332. },
  10333. "enumitemname": {
  10334. "description": "枚举项值",
  10335. "type": "integer"
  10336. },
  10337. "enumitemstatus": {
  10338. "description": "枚举项状态 - 1.启用 2.不启用",
  10339. "type": "integer"
  10340. },
  10341. "enumitemvalue": {
  10342. "description": "通用值 - [币种通用简写]",
  10343. "type": "string"
  10344. },
  10345. "param1": {
  10346. "description": "参数1[币种:币种小数位]",
  10347. "type": "string"
  10348. },
  10349. "param2": {
  10350. "description": "参数1[币种:币种显示单位]",
  10351. "type": "string"
  10352. },
  10353. "remark": {
  10354. "description": "备注",
  10355. "type": "string"
  10356. }
  10357. }
  10358. },
  10359. "models.ErmcpAreaSpotDetailModel": {
  10360. "type": "object",
  10361. "properties": {
  10362. "contracttype": {
  10363. "description": "合同类型 1-采购 -1-销售",
  10364. "type": "integer"
  10365. },
  10366. "createtime": {
  10367. "description": "创建时间",
  10368. "type": "string"
  10369. },
  10370. "enumdicname": {
  10371. "description": "现货商品单位名称",
  10372. "type": "string"
  10373. },
  10374. "logtype": {
  10375. "description": "记录类型 1-套保 2-现货合同",
  10376. "type": "integer"
  10377. },
  10378. "qty": {
  10379. "description": "数量",
  10380. "type": "number"
  10381. },
  10382. "recordname": {
  10383. "description": "类型名称",
  10384. "type": "string"
  10385. },
  10386. "relatedid": {
  10387. "description": "套保计划ID/现货合同ID",
  10388. "type": "string"
  10389. },
  10390. "relatedno": {
  10391. "description": "编号",
  10392. "type": "string"
  10393. },
  10394. "strtime": {
  10395. "description": "时间",
  10396. "type": "string"
  10397. },
  10398. "wrstandardcode": {
  10399. "description": "现货商品代码",
  10400. "type": "string"
  10401. },
  10402. "wrstandardname": {
  10403. "description": "现货商品名称",
  10404. "type": "string"
  10405. }
  10406. }
  10407. },
  10408. "models.ErmcpAvalidGoodsGroupModel": {
  10409. "type": "object",
  10410. "properties": {
  10411. "goodsgroupid": {
  10412. "description": "期货品种id",
  10413. "type": "integer"
  10414. },
  10415. "goodsgroupname": {
  10416. "description": "期货品种名称",
  10417. "type": "string"
  10418. },
  10419. "goodunitid": {
  10420. "description": "品种单位id",
  10421. "type": "integer"
  10422. },
  10423. "goodunitname": {
  10424. "description": "品种单位名称",
  10425. "type": "string"
  10426. },
  10427. "outergroupcode": {
  10428. "description": "期货品种代码",
  10429. "type": "string"
  10430. }
  10431. }
  10432. },
  10433. "models.ErmcpExposureDetailModel": {
  10434. "type": "object",
  10435. "properties": {
  10436. "areauserid": {
  10437. "description": "机构ID",
  10438. "type": "integer"
  10439. },
  10440. "changeQty": {
  10441. "description": "套保变动量",
  10442. "type": "number"
  10443. },
  10444. "contracttype": {
  10445. "description": "现货合同类型 - 1:采购 -1:销售",
  10446. "type": "integer"
  10447. },
  10448. "convertfactor": {
  10449. "description": "标仓系数",
  10450. "type": "number"
  10451. },
  10452. "convertratio": {
  10453. "description": "套保系数",
  10454. "type": "number"
  10455. },
  10456. "createtime": {
  10457. "description": "时间",
  10458. "type": "string"
  10459. },
  10460. "enumdicname": {
  10461. "description": "现货商品单位名称",
  10462. "type": "string"
  10463. },
  10464. "logtype": {
  10465. "description": "类型 - 1:套保计划 2:现货合同",
  10466. "type": "integer"
  10467. },
  10468. "middlegoodsId": {
  10469. "description": "套保商品id",
  10470. "type": "integer"
  10471. },
  10472. "middlegoodscode": {
  10473. "description": "套保商品代码",
  10474. "type": "string"
  10475. },
  10476. "middlegoodsname": {
  10477. "description": "套保商品名称",
  10478. "type": "string"
  10479. },
  10480. "qty": {
  10481. "description": "数量",
  10482. "type": "number"
  10483. },
  10484. "relateNo": {
  10485. "description": "现货合同/套保计划编号",
  10486. "type": "string"
  10487. },
  10488. "wrstandardcode": {
  10489. "description": "现货商品代码",
  10490. "type": "string"
  10491. },
  10492. "wrstandardid": {
  10493. "description": "现货商品ID",
  10494. "type": "integer"
  10495. },
  10496. "wrstandardname": {
  10497. "description": "现货商品名称",
  10498. "type": "string"
  10499. }
  10500. }
  10501. },
  10502. "models.ErmcpExposurePostion": {
  10503. "type": "object",
  10504. "properties": {
  10505. "agreeunit": {
  10506. "description": "合约单位",
  10507. "type": "string"
  10508. },
  10509. "areauserid": {
  10510. "description": "所属机构id",
  10511. "type": "integer"
  10512. },
  10513. "convertratio": {
  10514. "description": "期货品种系数(折算系数)",
  10515. "type": "number"
  10516. },
  10517. "curqty": {
  10518. "description": "当前持仓",
  10519. "type": "integer"
  10520. },
  10521. "diffhedgeqty": {
  10522. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10523. "type": "number"
  10524. },
  10525. "diffqty": {
  10526. "description": "持仓变动量=当前持仓-昨日持仓",
  10527. "type": "integer"
  10528. },
  10529. "goodscode": {
  10530. "description": "商品代码",
  10531. "type": "string"
  10532. },
  10533. "goodsid": {
  10534. "description": "商品id",
  10535. "type": "integer"
  10536. },
  10537. "goodsname": {
  10538. "description": "商品名称",
  10539. "type": "string"
  10540. },
  10541. "middlegoodsid": {
  10542. "description": "套保商品id",
  10543. "type": "integer"
  10544. },
  10545. "ydqty": {
  10546. "description": "昨日持仓",
  10547. "type": "integer"
  10548. }
  10549. }
  10550. },
  10551. "models.ErmcpGGConvertCfg": {
  10552. "type": "object",
  10553. "properties": {
  10554. "convertratio": {
  10555. "description": "折算系数",
  10556. "type": "number"
  10557. },
  10558. "destgoodsgroupid": {
  10559. "description": "目标品种ID",
  10560. "type": "integer"
  10561. },
  10562. "dstcode": {
  10563. "description": "目录品种代码",
  10564. "type": "string"
  10565. },
  10566. "dstexchangecode": {
  10567. "description": "目标期货交易所",
  10568. "type": "string"
  10569. },
  10570. "dstname": {
  10571. "description": "目标品种名称",
  10572. "type": "string"
  10573. },
  10574. "dstunitid": {
  10575. "description": "目标品种单位ID",
  10576. "type": "integer"
  10577. },
  10578. "dstunitidname": {
  10579. "description": "目标品种单位名称",
  10580. "type": "string"
  10581. },
  10582. "srccode": {
  10583. "description": "源品种代码",
  10584. "type": "string"
  10585. },
  10586. "srcexchangecode": {
  10587. "description": "源期货交易所",
  10588. "type": "string"
  10589. },
  10590. "srcgoodsgroupid": {
  10591. "description": "源品种ID",
  10592. "type": "integer"
  10593. },
  10594. "srcname": {
  10595. "description": "源品种名称",
  10596. "type": "string"
  10597. },
  10598. "srcunitid": {
  10599. "description": "源品种单位ID",
  10600. "type": "integer"
  10601. },
  10602. "srcunitidname": {
  10603. "description": "源品种单位名称",
  10604. "type": "string"
  10605. }
  10606. }
  10607. },
  10608. "models.ErmcpHedgePlan": {
  10609. "type": "object",
  10610. "properties": {
  10611. "areauserid": {
  10612. "description": "用户ID",
  10613. "type": "integer"
  10614. },
  10615. "contracttype": {
  10616. "description": "计划类型 - 1:采购 -1:销售",
  10617. "type": "integer"
  10618. },
  10619. "convertfactor": {
  10620. "description": "标仓系数",
  10621. "type": "number"
  10622. },
  10623. "createtime": {
  10624. "description": "创建时间",
  10625. "type": "string"
  10626. },
  10627. "deliverygoodsid": {
  10628. "description": "现货品种ID",
  10629. "type": "integer"
  10630. },
  10631. "deliverygoodsname": {
  10632. "description": "现货品种名称",
  10633. "type": "string"
  10634. },
  10635. "hedgeplanid": {
  10636. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  10637. "type": "string"
  10638. },
  10639. "hedgeplanno": {
  10640. "description": "套保计划编号(名称)",
  10641. "type": "string"
  10642. },
  10643. "hedgeplanstatus": {
  10644. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10645. "type": "integer"
  10646. },
  10647. "planqty": {
  10648. "description": "计划数量",
  10649. "type": "number"
  10650. },
  10651. "plantime": {
  10652. "description": "计划时间",
  10653. "type": "string"
  10654. },
  10655. "producttype": {
  10656. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10657. "type": "integer"
  10658. },
  10659. "remark": {
  10660. "description": "备注",
  10661. "type": "string"
  10662. },
  10663. "spotgoodsdesc": {
  10664. "description": "商品型号",
  10665. "type": "string"
  10666. },
  10667. "wrstandardid": {
  10668. "description": "现货商品ID",
  10669. "type": "integer"
  10670. },
  10671. "wrstandardname": {
  10672. "description": "现货商品名称",
  10673. "type": "string"
  10674. }
  10675. }
  10676. },
  10677. "models.ErmcpHedgePosition": {
  10678. "type": "object",
  10679. "properties": {
  10680. "accountid": {
  10681. "description": "资金账号[外部母账户]",
  10682. "type": "integer"
  10683. },
  10684. "curbuyposition": {
  10685. "description": "期末买头寸",
  10686. "type": "integer"
  10687. },
  10688. "cursellposition": {
  10689. "description": "期末卖头寸",
  10690. "type": "integer"
  10691. },
  10692. "curtdbuyposition": {
  10693. "description": "期末今日买头寸",
  10694. "type": "integer"
  10695. },
  10696. "curtdsellposition": {
  10697. "description": "期末今日卖头寸",
  10698. "type": "integer"
  10699. },
  10700. "curydbuyposition": {
  10701. "description": "期末上日买头寸",
  10702. "type": "integer"
  10703. },
  10704. "curydsellposition": {
  10705. "description": "期末上日卖头寸",
  10706. "type": "integer"
  10707. },
  10708. "decreaseqty": {
  10709. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  10710. "type": "integer"
  10711. },
  10712. "fretdbuyposition": {
  10713. "description": "冻结今日买头寸",
  10714. "type": "integer"
  10715. },
  10716. "fretdsellposition": {
  10717. "description": "冻结今日卖头寸",
  10718. "type": "integer"
  10719. },
  10720. "freydbuyposition": {
  10721. "description": "冻结上日买头寸",
  10722. "type": "integer"
  10723. },
  10724. "freydsellposition": {
  10725. "description": "冻结上日卖头寸",
  10726. "type": "integer"
  10727. },
  10728. "goodscode": {
  10729. "description": "商品代码",
  10730. "type": "string"
  10731. },
  10732. "goodsid": {
  10733. "description": "商品id",
  10734. "type": "integer"
  10735. },
  10736. "goodsname": {
  10737. "description": "商品名称",
  10738. "type": "string"
  10739. },
  10740. "hedgeaccountcode": {
  10741. "description": "对冲账号",
  10742. "type": "string"
  10743. },
  10744. "hedgegoodsid": {
  10745. "description": "对冲合约ID",
  10746. "type": "integer"
  10747. },
  10748. "increaseqty": {
  10749. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  10750. "type": "integer"
  10751. },
  10752. "marketid": {
  10753. "description": "市场ID",
  10754. "type": "integer"
  10755. },
  10756. "relateduserid": {
  10757. "description": "关联用户id",
  10758. "type": "integer"
  10759. },
  10760. "totalcurqty": {
  10761. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  10762. "type": "integer"
  10763. },
  10764. "totalydqty": {
  10765. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10766. "type": "integer"
  10767. },
  10768. "tradedate": {
  10769. "description": "交易日(yyyyMMdd)",
  10770. "type": "string"
  10771. },
  10772. "ydbuyposition": {
  10773. "description": "期初买头寸",
  10774. "type": "integer"
  10775. },
  10776. "ydsellposition": {
  10777. "description": "期初卖头寸",
  10778. "type": "integer"
  10779. }
  10780. }
  10781. },
  10782. "models.ErmcpHedgePositionDetail": {
  10783. "type": "object",
  10784. "properties": {
  10785. "buyorsell": {
  10786. "description": "买卖方向 0-买 1-卖",
  10787. "type": "integer"
  10788. },
  10789. "channelbuildtype": {
  10790. "description": "开平方向 1-建仓 2-平仓",
  10791. "type": "integer"
  10792. },
  10793. "goodscode": {
  10794. "description": "商品代码",
  10795. "type": "string"
  10796. },
  10797. "goodsname": {
  10798. "description": "商品名称",
  10799. "type": "string"
  10800. },
  10801. "hedgegoodsid": {
  10802. "description": "商品id",
  10803. "type": "integer"
  10804. },
  10805. "tradeqty": {
  10806. "description": "数量(成交数量)",
  10807. "type": "integer"
  10808. },
  10809. "tradetime": {
  10810. "description": "时间(成交时间)",
  10811. "type": "string"
  10812. }
  10813. }
  10814. },
  10815. "models.ErmcpHisExposure": {
  10816. "type": "object",
  10817. "properties": {
  10818. "needhedgeexposoure": {
  10819. "description": "应套保敞口",
  10820. "type": "number"
  10821. },
  10822. "reckondate": {
  10823. "description": "日照时期(yyyyMMdd)",
  10824. "type": "string"
  10825. },
  10826. "totalexposure": {
  10827. "description": "总敞口",
  10828. "type": "number"
  10829. }
  10830. }
  10831. },
  10832. "models.ErmcpHisExposureS": {
  10833. "type": "object",
  10834. "properties": {
  10835. "data": {
  10836. "description": "历史敞口",
  10837. "type": "array",
  10838. "items": {
  10839. "$ref": "#/definitions/models.ErmcpHisExposure"
  10840. }
  10841. },
  10842. "enumdicname": {
  10843. "description": "单位名称",
  10844. "type": "string"
  10845. },
  10846. "middlegoodscode": {
  10847. "description": "套保品种代码",
  10848. "type": "string"
  10849. },
  10850. "middlegoodsid": {
  10851. "description": "套保品种ID",
  10852. "type": "integer"
  10853. },
  10854. "middlegoodsname": {
  10855. "description": "套保品种名称",
  10856. "type": "string"
  10857. }
  10858. }
  10859. },
  10860. "models.ErmcpMiddleGoodsChangeLog": {
  10861. "type": "object",
  10862. "properties": {
  10863. "aftervalue": {
  10864. "description": "变更后",
  10865. "type": "number"
  10866. },
  10867. "applyid": {
  10868. "description": "操作人",
  10869. "type": "integer"
  10870. },
  10871. "applyname": {
  10872. "description": "操作人名称",
  10873. "type": "string"
  10874. },
  10875. "applysrc": {
  10876. "description": "操作来源 - 1:管理端 2:终端",
  10877. "type": "integer"
  10878. },
  10879. "beforevalue": {
  10880. "description": "变更前",
  10881. "type": "number"
  10882. },
  10883. "changelogtype": {
  10884. "description": "变更流水类型 - 1:套保比率变更",
  10885. "type": "integer"
  10886. },
  10887. "handlestatus": {
  10888. "description": "处理状态",
  10889. "type": "integer"
  10890. },
  10891. "logdatetime": {
  10892. "description": "流水日期",
  10893. "type": "string"
  10894. },
  10895. "logid": {
  10896. "description": "流水ID",
  10897. "type": "integer"
  10898. },
  10899. "logremark": {
  10900. "description": "流水备注",
  10901. "type": "string"
  10902. },
  10903. "middlegoodsid": {
  10904. "description": "套保品种ID",
  10905. "type": "integer"
  10906. },
  10907. "tradedate": {
  10908. "description": "交易日(yyyyMMdd)",
  10909. "type": "string"
  10910. },
  10911. "updatetime": {
  10912. "description": "更新时间",
  10913. "type": "string"
  10914. }
  10915. }
  10916. },
  10917. "models.ErmcpMiddleGoodsDetail": {
  10918. "type": "object",
  10919. "properties": {
  10920. "cvList": {
  10921. "description": "期货品种折算列表",
  10922. "type": "array",
  10923. "items": {
  10924. "$ref": "#/definitions/models.GoodsGroupConvert"
  10925. }
  10926. },
  10927. "mg": {
  10928. "description": "套保品种基本信息",
  10929. "type": "object",
  10930. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10931. }
  10932. }
  10933. },
  10934. "models.ErmcpMiddleGoodsModel": {
  10935. "type": "object",
  10936. "properties": {
  10937. "areauserid": {
  10938. "description": "机构用户ID",
  10939. "type": "integer"
  10940. },
  10941. "enumdicname": {
  10942. "description": "单位名称",
  10943. "type": "string"
  10944. },
  10945. "evaluateratio": {
  10946. "description": "估价系数",
  10947. "type": "number"
  10948. },
  10949. "goodsgroupid": {
  10950. "description": "关联期货品种ID",
  10951. "type": "integer"
  10952. },
  10953. "isvalid": {
  10954. "description": "状态 0-无效(停用) 1-有效(正常)",
  10955. "type": "integer"
  10956. },
  10957. "middlegoodscode": {
  10958. "description": "套保品种代码",
  10959. "type": "string"
  10960. },
  10961. "middlegoodsid": {
  10962. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  10963. "type": "integer"
  10964. },
  10965. "middlegoodsname": {
  10966. "description": "套保品种名称",
  10967. "type": "string"
  10968. },
  10969. "modifytime": {
  10970. "description": "修改时间",
  10971. "type": "string"
  10972. },
  10973. "needhedgeratio": {
  10974. "description": "套保比率",
  10975. "type": "number"
  10976. },
  10977. "qtydecimalplace": {
  10978. "description": "数量小数位",
  10979. "type": "integer"
  10980. },
  10981. "relatedgoodsid": {
  10982. "description": "关联交易商品ID",
  10983. "type": "integer"
  10984. },
  10985. "relatedgoodstype": {
  10986. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  10987. "type": "integer"
  10988. }
  10989. }
  10990. },
  10991. "models.ErmcpModel": {
  10992. "type": "object",
  10993. "properties": {
  10994. "accountname": {
  10995. "description": "账户名称",
  10996. "type": "string"
  10997. },
  10998. "attachment": {
  10999. "description": "附件",
  11000. "type": "string"
  11001. },
  11002. "audittime": {
  11003. "description": "审核时间",
  11004. "type": "string"
  11005. },
  11006. "contracctstatus": {
  11007. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11008. "type": "integer"
  11009. },
  11010. "contractmargin": {
  11011. "description": "合同保证金",
  11012. "type": "number"
  11013. },
  11014. "contractno": {
  11015. "description": "合同编号",
  11016. "type": "string"
  11017. },
  11018. "contracttype": {
  11019. "description": "合同类型 1-采购, -1-销售",
  11020. "type": "integer"
  11021. },
  11022. "convertfactor": {
  11023. "description": "标仓系数",
  11024. "type": "number"
  11025. },
  11026. "createtime": {
  11027. "description": "创建时间",
  11028. "type": "string"
  11029. },
  11030. "daikaiamount": {
  11031. "description": "待开票额",
  11032. "type": "number"
  11033. },
  11034. "deliveryenddate": {
  11035. "description": "交割结束日",
  11036. "type": "string"
  11037. },
  11038. "deliverygoodscode": {
  11039. "description": "现货商品代码",
  11040. "type": "string"
  11041. },
  11042. "deliverygoodsid": {
  11043. "description": "现货商品ID",
  11044. "type": "integer"
  11045. },
  11046. "deliverygoodsname": {
  11047. "description": "现货商品名称",
  11048. "type": "string"
  11049. },
  11050. "deliverystartdate": {
  11051. "description": "交割开始日",
  11052. "type": "string"
  11053. },
  11054. "enddate": {
  11055. "description": "点价结束日",
  11056. "type": "string"
  11057. },
  11058. "enumdicname": {
  11059. "description": "单位名称",
  11060. "type": "string"
  11061. },
  11062. "goodscode": {
  11063. "description": "点价商品代码",
  11064. "type": "string"
  11065. },
  11066. "goodsid": {
  11067. "description": "点价商品ID",
  11068. "type": "integer"
  11069. },
  11070. "goodsname": {
  11071. "description": "点价商品名称",
  11072. "type": "string"
  11073. },
  11074. "invoiceamount": {
  11075. "description": "已开票额",
  11076. "type": "number"
  11077. },
  11078. "loanamount": {
  11079. "description": "贷款总额=已定价额+调整金额",
  11080. "type": "number"
  11081. },
  11082. "margin": {
  11083. "description": "保证金",
  11084. "type": "number"
  11085. },
  11086. "payamount": {
  11087. "description": "已收付额(收款或付款)",
  11088. "type": "number"
  11089. },
  11090. "price": {
  11091. "description": "价格",
  11092. "type": "number"
  11093. },
  11094. "pricedamount": {
  11095. "description": "已定价额",
  11096. "type": "number"
  11097. },
  11098. "pricedavg": {
  11099. "description": "已点均价",
  11100. "type": "number"
  11101. },
  11102. "pricedqty": {
  11103. "description": "已定价量",
  11104. "type": "number"
  11105. },
  11106. "pricemove": {
  11107. "description": "升贴水",
  11108. "type": "number"
  11109. },
  11110. "pricetype": {
  11111. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11112. "type": "integer"
  11113. },
  11114. "producttype": {
  11115. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11116. "type": "integer"
  11117. },
  11118. "qty": {
  11119. "description": "合同量",
  11120. "type": "number"
  11121. },
  11122. "reckonadjustamount": {
  11123. "description": "调整金额",
  11124. "type": "number"
  11125. },
  11126. "reckonedamount": {
  11127. "description": "已收付额(已确定额)",
  11128. "type": "number"
  11129. },
  11130. "reckonotheramount": {
  11131. "description": "其它费用",
  11132. "type": "number"
  11133. },
  11134. "reckonrealqty": {
  11135. "description": "已确定量",
  11136. "type": "number"
  11137. },
  11138. "remark": {
  11139. "description": "备注",
  11140. "type": "string"
  11141. },
  11142. "spotcontractid": {
  11143. "description": "合同ID",
  11144. "type": "string"
  11145. },
  11146. "spotgoodsdesc": {
  11147. "description": "商品型号(商品规格)",
  11148. "type": "string"
  11149. },
  11150. "startdate": {
  11151. "description": "点价开始日",
  11152. "type": "string"
  11153. },
  11154. "totalamount": {
  11155. "description": "合计总额",
  11156. "type": "number"
  11157. },
  11158. "unpayamount": {
  11159. "description": "待支收额(支付或收款)",
  11160. "type": "number"
  11161. },
  11162. "unpricedqty": {
  11163. "description": "未定价量",
  11164. "type": "number"
  11165. },
  11166. "unsureqty": {
  11167. "description": "未确定量",
  11168. "type": "number"
  11169. },
  11170. "userid": {
  11171. "description": "用户ID",
  11172. "type": "integer"
  11173. }
  11174. }
  11175. },
  11176. "models.ErmcpOPLogModel": {
  11177. "type": "object",
  11178. "properties": {
  11179. "aftervalue": {
  11180. "description": "变更后",
  11181. "type": "number"
  11182. },
  11183. "applyid": {
  11184. "description": "操作人ID",
  11185. "type": "string"
  11186. },
  11187. "applyname": {
  11188. "description": "操作人名称",
  11189. "type": "string"
  11190. },
  11191. "beforevalue": {
  11192. "description": "变更前",
  11193. "type": "number"
  11194. },
  11195. "biztype": {
  11196. "description": "业务类型 - 1:套保计划 2:现货合同",
  11197. "type": "integer"
  11198. },
  11199. "contracttype": {
  11200. "description": "现货合同类型 - 1:采购 -1:销售",
  11201. "type": "integer"
  11202. },
  11203. "logvalue": {
  11204. "description": "数值",
  11205. "type": "number"
  11206. },
  11207. "operatelogtype": {
  11208. "description": "操作流水类型",
  11209. "type": "integer"
  11210. },
  11211. "operatelogtypedesc": {
  11212. "description": "操作流水类型名称",
  11213. "type": "string"
  11214. },
  11215. "relatedid": {
  11216. "description": "现货合同ID\\套保计划",
  11217. "type": "string"
  11218. },
  11219. "updatetime": {
  11220. "description": "更新时间",
  11221. "type": "string"
  11222. }
  11223. }
  11224. },
  11225. "models.ErmcpPendingAudit": {
  11226. "type": "object",
  11227. "properties": {
  11228. "businessdjqty": {
  11229. "description": "待审核数量: 点价",
  11230. "type": "integer"
  11231. },
  11232. "businessfpqty": {
  11233. "description": "待审核数量: 发票",
  11234. "type": "integer"
  11235. },
  11236. "businessjsqty": {
  11237. "description": "待审核数量: 结算",
  11238. "type": "integer"
  11239. },
  11240. "businesskxqty": {
  11241. "description": "待审核数量: 款项",
  11242. "type": "integer"
  11243. },
  11244. "hedgeplanqty": {
  11245. "description": "待审核数量: 套保计划",
  11246. "type": "integer"
  11247. },
  11248. "spotcontractqty": {
  11249. "description": "待审核数量: 现货合同",
  11250. "type": "integer"
  11251. },
  11252. "userqty": {
  11253. "description": "待审核数量: 用户",
  11254. "type": "integer"
  11255. }
  11256. }
  11257. },
  11258. "models.ErmcpRealExposureModel": {
  11259. "type": "object",
  11260. "properties": {
  11261. "areaUserID": {
  11262. "description": "所属机构",
  11263. "type": "integer"
  11264. },
  11265. "buyFutureQty": {
  11266. "description": "买入期货数量",
  11267. "type": "number"
  11268. },
  11269. "buyPlanQty": {
  11270. "description": "采购计划数量",
  11271. "type": "number"
  11272. },
  11273. "buyPricedQty": {
  11274. "description": "采购合同已定价数量",
  11275. "type": "number"
  11276. },
  11277. "diffFutuQty": {
  11278. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11279. "type": "number"
  11280. },
  11281. "diffSpotQty": {
  11282. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11283. "type": "number"
  11284. },
  11285. "enumdicname": {
  11286. "description": "单位名称",
  11287. "type": "string"
  11288. },
  11289. "middleGoodsCode": {
  11290. "description": "套保品种代码",
  11291. "type": "string"
  11292. },
  11293. "middleGoodsHedgeRatio": {
  11294. "description": "应套保比例",
  11295. "type": "number"
  11296. },
  11297. "middleGoodsID": {
  11298. "description": "套保品种",
  11299. "type": "integer"
  11300. },
  11301. "middleGoodsName": {
  11302. "description": "套保品种名称",
  11303. "type": "string"
  11304. },
  11305. "needHedgeExposoure": {
  11306. "description": "应套保敞口",
  11307. "type": "number"
  11308. },
  11309. "needHedgeRatio": {
  11310. "description": "应套保敞口比例",
  11311. "type": "number"
  11312. },
  11313. "oriBuyFutureQty": {
  11314. "description": "期初买入期货数量",
  11315. "type": "number"
  11316. },
  11317. "oriBuyPlanQty": {
  11318. "description": "期初采购计划数量",
  11319. "type": "number"
  11320. },
  11321. "oriBuyPricedQty": {
  11322. "description": "期初采购合同已定价数量",
  11323. "type": "number"
  11324. },
  11325. "oriSellFutureQty": {
  11326. "description": "期初卖出期货数量",
  11327. "type": "number"
  11328. },
  11329. "oriSellPlanQty": {
  11330. "description": "期初销售计划数量",
  11331. "type": "number"
  11332. },
  11333. "oriSellPricedQty": {
  11334. "description": "期初销售合同已定价数量",
  11335. "type": "number"
  11336. },
  11337. "oriTotalFutuQty": {
  11338. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11339. "type": "number"
  11340. },
  11341. "oriTotalSpotQty": {
  11342. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11343. "type": "number"
  11344. },
  11345. "sellFutureQty": {
  11346. "description": "卖出期货数量",
  11347. "type": "number"
  11348. },
  11349. "sellPlanQty": {
  11350. "description": "销售计划数量",
  11351. "type": "number"
  11352. },
  11353. "sellPricedQty": {
  11354. "description": "销售合同已定价数量",
  11355. "type": "number"
  11356. },
  11357. "totalExposure": {
  11358. "description": "总敞口",
  11359. "type": "number"
  11360. },
  11361. "totalFutureQty": {
  11362. "description": "期货数量",
  11363. "type": "number"
  11364. },
  11365. "totalHedgeRatio": {
  11366. "description": "敞口比例",
  11367. "type": "number"
  11368. },
  11369. "totalNeedHedgeQty": {
  11370. "description": "期货应套保量",
  11371. "type": "number"
  11372. },
  11373. "totalSpotQty": {
  11374. "description": "现货数量",
  11375. "type": "number"
  11376. }
  11377. }
  11378. },
  11379. "models.ErmcpReportDayExposure": {
  11380. "type": "object",
  11381. "properties": {
  11382. "areauserid": {
  11383. "description": "所属机构",
  11384. "type": "integer"
  11385. },
  11386. "buyfutureqty": {
  11387. "description": "买入期货数量",
  11388. "type": "number"
  11389. },
  11390. "buyplanqty": {
  11391. "description": "采购计划数量",
  11392. "type": "number"
  11393. },
  11394. "buypricedqty": {
  11395. "description": "采购合同已定价数量",
  11396. "type": "number"
  11397. },
  11398. "diffFutuQty": {
  11399. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11400. "type": "number"
  11401. },
  11402. "diffSpotQty": {
  11403. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11404. "type": "number"
  11405. },
  11406. "enumdicname": {
  11407. "description": "单位名称",
  11408. "type": "string"
  11409. },
  11410. "middlegoodscode": {
  11411. "description": "套保品种代码",
  11412. "type": "string"
  11413. },
  11414. "middlegoodshedgeratio": {
  11415. "description": "应套保比例",
  11416. "type": "number"
  11417. },
  11418. "middlegoodsid": {
  11419. "description": "套保品种ID",
  11420. "type": "integer"
  11421. },
  11422. "middlegoodsname": {
  11423. "description": "套保品种名称",
  11424. "type": "string"
  11425. },
  11426. "needhedgeexposoure": {
  11427. "description": "应套保敞口",
  11428. "type": "number"
  11429. },
  11430. "needhedgeratio": {
  11431. "description": "应套保敞口比例",
  11432. "type": "number"
  11433. },
  11434. "oriTotalFutuQty": {
  11435. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11436. "type": "number"
  11437. },
  11438. "oriTotalSpotQty": {
  11439. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11440. "type": "number"
  11441. },
  11442. "oribuyfutureqty": {
  11443. "description": "期初买入期货数量",
  11444. "type": "number"
  11445. },
  11446. "oribuyplanqty": {
  11447. "description": "期初采购计划数量",
  11448. "type": "number"
  11449. },
  11450. "oribuypricedqty": {
  11451. "description": "期初采购合同已定价数量",
  11452. "type": "number"
  11453. },
  11454. "orisellfutureqty": {
  11455. "description": "期初卖出期货数量",
  11456. "type": "number"
  11457. },
  11458. "orisellplanqty": {
  11459. "description": "期初销售计划数量",
  11460. "type": "number"
  11461. },
  11462. "orisellpricedqty": {
  11463. "description": "期初销售合同已定价数量",
  11464. "type": "number"
  11465. },
  11466. "reckondate": {
  11467. "description": "日照时期(yyyyMMdd)",
  11468. "type": "string"
  11469. },
  11470. "sellfutureqty": {
  11471. "description": "卖出期货数量",
  11472. "type": "number"
  11473. },
  11474. "sellplanqty": {
  11475. "description": "销售计划数量",
  11476. "type": "number"
  11477. },
  11478. "sellpricedqty": {
  11479. "description": "销售合同已定价数量",
  11480. "type": "number"
  11481. },
  11482. "totalexposure": {
  11483. "description": "总敞口",
  11484. "type": "number"
  11485. },
  11486. "totalfutureqty": {
  11487. "description": "期货数量",
  11488. "type": "number"
  11489. },
  11490. "totalhedgeratio": {
  11491. "description": "敞口比例",
  11492. "type": "number"
  11493. },
  11494. "totalneedhedgeqty": {
  11495. "description": "期货应套保量",
  11496. "type": "number"
  11497. },
  11498. "totalspotqty": {
  11499. "description": "现货数量",
  11500. "type": "number"
  11501. }
  11502. }
  11503. },
  11504. "models.ErmcpReportDayFR": {
  11505. "type": "object",
  11506. "properties": {
  11507. "areauserid": {
  11508. "description": "所属机构",
  11509. "type": "integer"
  11510. },
  11511. "collectinvoiceamount": {
  11512. "description": "今日开票金额",
  11513. "type": "number"
  11514. },
  11515. "collectinvoicecount": {
  11516. "description": "今日开票笔数",
  11517. "type": "integer"
  11518. },
  11519. "collectmoneyamount": {
  11520. "description": "今日收款金额",
  11521. "type": "number"
  11522. },
  11523. "collectmoneycount": {
  11524. "description": "今日收款笔数",
  11525. "type": "integer"
  11526. },
  11527. "payinvoiceamount": {
  11528. "description": "今日收票金额",
  11529. "type": "number"
  11530. },
  11531. "payinvoicecount": {
  11532. "description": "今日收票笔数",
  11533. "type": "integer"
  11534. },
  11535. "paymoneyamount": {
  11536. "description": "今日付款金额",
  11537. "type": "number"
  11538. },
  11539. "paymoneycount": {
  11540. "description": "今日付款笔数",
  11541. "type": "integer"
  11542. },
  11543. "reckondate": {
  11544. "description": "日照时期(yyyyMMdd)",
  11545. "type": "string"
  11546. },
  11547. "updatetime": {
  11548. "description": "更新时间",
  11549. "type": "string"
  11550. }
  11551. }
  11552. },
  11553. "models.ErmcpReportDaySpot": {
  11554. "type": "object",
  11555. "properties": {
  11556. "areauserid": {
  11557. "description": "所属机构T",
  11558. "type": "integer"
  11559. },
  11560. "enumdicname": {
  11561. "description": "现货商品单位名称",
  11562. "type": "string"
  11563. },
  11564. "reckondate": {
  11565. "description": "日照时期(yyyyMMdd)",
  11566. "type": "string"
  11567. },
  11568. "todaybuyreckonqty": {
  11569. "description": "采购确定量",
  11570. "type": "number"
  11571. },
  11572. "todaysellreckonqty": {
  11573. "description": "销售确定量",
  11574. "type": "number"
  11575. },
  11576. "totalbuypricedqty": {
  11577. "description": "采购定价量 = 期末 - 期初",
  11578. "type": "number"
  11579. },
  11580. "totalsellpricedqty": {
  11581. "description": "销售定价量 = 期末 - 期初",
  11582. "type": "number"
  11583. },
  11584. "wrstandardcode": {
  11585. "description": "现货商品代码",
  11586. "type": "string"
  11587. },
  11588. "wrstandardid": {
  11589. "description": "现货商品ID",
  11590. "type": "integer"
  11591. },
  11592. "wrstandardname": {
  11593. "description": "现货商品名称",
  11594. "type": "string"
  11595. }
  11596. }
  11597. },
  11598. "models.ErmcpReportMonSpot": {
  11599. "type": "object",
  11600. "properties": {
  11601. "areauserid": {
  11602. "description": "所属机构T",
  11603. "type": "integer"
  11604. },
  11605. "cycletime": {
  11606. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11607. "type": "string"
  11608. },
  11609. "cycletype": {
  11610. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11611. "type": "integer"
  11612. },
  11613. "enumdicname": {
  11614. "description": "现货商品单位名称",
  11615. "type": "string"
  11616. },
  11617. "todaybuyreckonqty": {
  11618. "description": "采购确定量",
  11619. "type": "number"
  11620. },
  11621. "todaysellreckonqty": {
  11622. "description": "销售确定量",
  11623. "type": "number"
  11624. },
  11625. "totalbuypricedqty": {
  11626. "description": "采购定价量 = 期末 - 期初",
  11627. "type": "number"
  11628. },
  11629. "totalsellpricedqty": {
  11630. "description": "销售定价量 = 期末 - 期初",
  11631. "type": "number"
  11632. },
  11633. "wrstandardcode": {
  11634. "description": "现货商品代码",
  11635. "type": "string"
  11636. },
  11637. "wrstandardid": {
  11638. "description": "现货商品ID",
  11639. "type": "integer"
  11640. },
  11641. "wrstandardname": {
  11642. "description": "现货商品名称",
  11643. "type": "string"
  11644. }
  11645. }
  11646. },
  11647. "models.ErmcpReportMonthFR": {
  11648. "type": "object",
  11649. "properties": {
  11650. "areauserid": {
  11651. "description": "所属机构【原值】",
  11652. "type": "integer"
  11653. },
  11654. "collectinvoiceamount": {
  11655. "description": "今日开票金额【汇总】",
  11656. "type": "number"
  11657. },
  11658. "collectinvoicecount": {
  11659. "description": "今日开票笔数【汇总】",
  11660. "type": "integer"
  11661. },
  11662. "collectmoneyamount": {
  11663. "description": "今日收款金额【汇总】",
  11664. "type": "number"
  11665. },
  11666. "collectmoneycount": {
  11667. "description": "今日收款笔数 【汇总】",
  11668. "type": "integer"
  11669. },
  11670. "cycletime": {
  11671. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11672. "type": "string"
  11673. },
  11674. "cycletype": {
  11675. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11676. "type": "integer"
  11677. },
  11678. "dayFr": {
  11679. "description": "日报表明细",
  11680. "type": "array",
  11681. "items": {
  11682. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11683. }
  11684. },
  11685. "payinvoiceamount": {
  11686. "description": "今日收票金额【汇总】",
  11687. "type": "number"
  11688. },
  11689. "payinvoicecount": {
  11690. "description": "今日收票笔数【汇总】",
  11691. "type": "integer"
  11692. },
  11693. "paymoneyamount": {
  11694. "description": "今日付款金额【汇总】",
  11695. "type": "number"
  11696. },
  11697. "paymoneycount": {
  11698. "description": "今日付款笔数【汇总】",
  11699. "type": "integer"
  11700. },
  11701. "updatetime": {
  11702. "description": "更新时间",
  11703. "type": "string"
  11704. }
  11705. }
  11706. },
  11707. "models.ErmcpReportOPLog": {
  11708. "type": "object",
  11709. "properties": {
  11710. "applyid": {
  11711. "description": "操作人",
  11712. "type": "integer"
  11713. },
  11714. "applyname": {
  11715. "description": "操作人名称",
  11716. "type": "string"
  11717. },
  11718. "biztype": {
  11719. "description": "业务类型 - 1:套保计划 2:现货合同",
  11720. "type": "integer"
  11721. },
  11722. "contracttype": {
  11723. "description": "现货合同类型 - 1:采购 -1:销售",
  11724. "type": "integer"
  11725. },
  11726. "enumdicName": {
  11727. "description": "单位名称",
  11728. "type": "string"
  11729. },
  11730. "logdatetime": {
  11731. "description": "流水日期(时间)",
  11732. "type": "string"
  11733. },
  11734. "logid": {
  11735. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  11736. "type": "string"
  11737. },
  11738. "logtypename": {
  11739. "description": "合同类型(名称)",
  11740. "type": "string"
  11741. },
  11742. "logvalue": {
  11743. "description": "数值",
  11744. "type": "string"
  11745. },
  11746. "operatelogtype": {
  11747. "description": "操作流水类型 -",
  11748. "type": "integer"
  11749. },
  11750. "optypename": {
  11751. "description": "流水类型名称",
  11752. "type": "string"
  11753. },
  11754. "relatedid": {
  11755. "description": "现货合同ID\\套保计划",
  11756. "type": "string"
  11757. },
  11758. "relatedno": {
  11759. "description": "合同编号",
  11760. "type": "string"
  11761. },
  11762. "tradedate": {
  11763. "description": "交易日(yyyyMMdd)",
  11764. "type": "string"
  11765. },
  11766. "userid": {
  11767. "description": "机构ID",
  11768. "type": "integer"
  11769. },
  11770. "wrstandardcode": {
  11771. "description": "现货商品代码",
  11772. "type": "string"
  11773. },
  11774. "wrstandardid": {
  11775. "description": "现货商品ID",
  11776. "type": "integer"
  11777. },
  11778. "wrstandardname": {
  11779. "description": "现货商品名称",
  11780. "type": "string"
  11781. }
  11782. }
  11783. },
  11784. "models.ErmcpSpotContractModel": {
  11785. "type": "object",
  11786. "properties": {
  11787. "amount": {
  11788. "description": "金额 [1:一口价、3:暂定价]",
  11789. "type": "number"
  11790. },
  11791. "attachment": {
  11792. "description": "附件",
  11793. "type": "string"
  11794. },
  11795. "auditremark": {
  11796. "description": "审核意见",
  11797. "type": "string"
  11798. },
  11799. "audittime": {
  11800. "description": "审核时间",
  11801. "type": "string"
  11802. },
  11803. "brandname": {
  11804. "description": "品牌名称",
  11805. "type": "string"
  11806. },
  11807. "buyuserid": {
  11808. "description": "采购方ID",
  11809. "type": "integer"
  11810. },
  11811. "buyusername": {
  11812. "description": "采购方名称",
  11813. "type": "string"
  11814. },
  11815. "contracctstatus": {
  11816. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11817. "type": "integer"
  11818. },
  11819. "contractmargin": {
  11820. "description": "合同保证金",
  11821. "type": "number"
  11822. },
  11823. "contractno": {
  11824. "description": "现货合同编号",
  11825. "type": "string"
  11826. },
  11827. "contracttype": {
  11828. "description": "现货合同类型 - 1:采购 -1:销售",
  11829. "type": "integer"
  11830. },
  11831. "convertfactor": {
  11832. "description": "标仓系数",
  11833. "type": "number"
  11834. },
  11835. "createtime": {
  11836. "description": "创建时间",
  11837. "type": "string"
  11838. },
  11839. "deliveryenddate": {
  11840. "description": "交收期(结束)",
  11841. "type": "string"
  11842. },
  11843. "deliverygoodscode": {
  11844. "description": "现货品种代码",
  11845. "type": "string"
  11846. },
  11847. "deliverygoodsid": {
  11848. "description": "现货品种ID",
  11849. "type": "integer"
  11850. },
  11851. "deliverygoodsname": {
  11852. "description": "现货品种名称",
  11853. "type": "string"
  11854. },
  11855. "deliverystartdate": {
  11856. "description": "交收期(开始)",
  11857. "type": "string"
  11858. },
  11859. "enddate": {
  11860. "description": "点价结束日期 [2:点价 3:暂定价]",
  11861. "type": "string"
  11862. },
  11863. "enumdicname": {
  11864. "description": "单位名称",
  11865. "type": "string"
  11866. },
  11867. "goodscode": {
  11868. "description": "点价合约代码",
  11869. "type": "string"
  11870. },
  11871. "goodsid": {
  11872. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  11873. "type": "integer"
  11874. },
  11875. "goodsname": {
  11876. "description": "点价商品名称",
  11877. "type": "string"
  11878. },
  11879. "margin": {
  11880. "description": "当前保证金",
  11881. "type": "number"
  11882. },
  11883. "modelname": {
  11884. "description": "型号名称",
  11885. "type": "string"
  11886. },
  11887. "price": {
  11888. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  11889. "type": "number"
  11890. },
  11891. "pricemove": {
  11892. "description": "升贴水 [2:点价 3:暂定价]",
  11893. "type": "number"
  11894. },
  11895. "pricetype": {
  11896. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11897. "type": "integer"
  11898. },
  11899. "producttype": {
  11900. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11901. "type": "integer"
  11902. },
  11903. "qty": {
  11904. "description": "数量",
  11905. "type": "number"
  11906. },
  11907. "remark": {
  11908. "description": "备注",
  11909. "type": "string"
  11910. },
  11911. "selluserid": {
  11912. "description": "销售方ID",
  11913. "type": "integer"
  11914. },
  11915. "sellusername": {
  11916. "description": "销售方名称",
  11917. "type": "string"
  11918. },
  11919. "spotcontractid": {
  11920. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  11921. "type": "string"
  11922. },
  11923. "spotgoodsbrandid": {
  11924. "description": "现货品牌ID",
  11925. "type": "integer"
  11926. },
  11927. "spotgoodsdesc": {
  11928. "description": "商品型号",
  11929. "type": "string"
  11930. },
  11931. "spotgoodsmodelid": {
  11932. "description": "现货型号ID",
  11933. "type": "integer"
  11934. },
  11935. "startdate": {
  11936. "description": "点价开始日期 [2:点价 3:暂定价]",
  11937. "type": "string"
  11938. },
  11939. "userid": {
  11940. "description": "机构ID",
  11941. "type": "integer"
  11942. },
  11943. "wrstandardid": {
  11944. "description": "现货商品ID",
  11945. "type": "integer"
  11946. }
  11947. }
  11948. },
  11949. "models.ErmcpUserModel": {
  11950. "type": "object",
  11951. "properties": {
  11952. "address": {
  11953. "description": "通讯地址",
  11954. "type": "string"
  11955. },
  11956. "attachment1": {
  11957. "description": "附件1",
  11958. "type": "string"
  11959. },
  11960. "cardfrontphotourl": {
  11961. "description": "证件正面图片地址",
  11962. "type": "string"
  11963. },
  11964. "cardnum": {
  11965. "description": "证件号码",
  11966. "type": "string"
  11967. },
  11968. "cardtype": {
  11969. "description": "证件类型",
  11970. "type": "integer"
  11971. },
  11972. "cardtypename": {
  11973. "description": "证件类型名称",
  11974. "type": "string"
  11975. },
  11976. "cityid": {
  11977. "description": "市",
  11978. "type": "integer"
  11979. },
  11980. "countryid": {
  11981. "description": "国家",
  11982. "type": "integer"
  11983. },
  11984. "createtime": {
  11985. "description": "创建时间",
  11986. "type": "string"
  11987. },
  11988. "customername": {
  11989. "description": "企业名称",
  11990. "type": "string"
  11991. },
  11992. "memberuserid": {
  11993. "description": "所属机构ID",
  11994. "type": "integer"
  11995. },
  11996. "mobile": {
  11997. "description": "手机号码",
  11998. "type": "string"
  11999. },
  12000. "provinceid": {
  12001. "description": "省",
  12002. "type": "integer"
  12003. },
  12004. "remark": {
  12005. "description": "备注",
  12006. "type": "string"
  12007. },
  12008. "status": {
  12009. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12010. "type": "integer"
  12011. },
  12012. "statusdesc": {
  12013. "description": "账户状态中文描述",
  12014. "type": "string"
  12015. },
  12016. "telphone": {
  12017. "description": "联系电话",
  12018. "type": "string"
  12019. },
  12020. "userid": {
  12021. "description": "用户ID",
  12022. "type": "integer"
  12023. },
  12024. "userinfotype": {
  12025. "description": "客户类型",
  12026. "type": "string"
  12027. }
  12028. }
  12029. },
  12030. "models.ErmcpWrstandDetail": {
  12031. "type": "object",
  12032. "properties": {
  12033. "gbList": {
  12034. "description": "品牌列表",
  12035. "type": "array",
  12036. "items": {
  12037. "$ref": "#/definitions/models.GoodsBrand"
  12038. }
  12039. },
  12040. "goodsList": {
  12041. "description": "关联交易商品列表",
  12042. "type": "array",
  12043. "items": {
  12044. "$ref": "#/definitions/models.RelatedGoodsEx"
  12045. }
  12046. },
  12047. "gtList": {
  12048. "description": "型号列表",
  12049. "type": "array",
  12050. "items": {
  12051. "$ref": "#/definitions/models.GoodsTypeModel"
  12052. }
  12053. },
  12054. "wrd": {
  12055. "description": "基本信息",
  12056. "type": "object",
  12057. "$ref": "#/definitions/models.ErmcpWrstandard"
  12058. },
  12059. "wrsList": {
  12060. "description": "套保信息列表",
  12061. "type": "array",
  12062. "items": {
  12063. "$ref": "#/definitions/models.WRSConverTDetail"
  12064. }
  12065. }
  12066. }
  12067. },
  12068. "models.ErmcpWrstandard": {
  12069. "type": "object",
  12070. "properties": {
  12071. "areauserid": {
  12072. "description": "所属机构",
  12073. "type": "integer"
  12074. },
  12075. "createtime": {
  12076. "description": "创建时间",
  12077. "type": "string"
  12078. },
  12079. "creatorid": {
  12080. "description": "创建人",
  12081. "type": "integer"
  12082. },
  12083. "deliverygoodsid": {
  12084. "description": "品种ID",
  12085. "type": "integer"
  12086. },
  12087. "enumdicname": {
  12088. "description": "单位名称",
  12089. "type": "string"
  12090. },
  12091. "isvalid": {
  12092. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12093. "type": "integer"
  12094. },
  12095. "minivalue": {
  12096. "description": "最小变动值",
  12097. "type": "integer"
  12098. },
  12099. "minivaluedp": {
  12100. "description": "最小变动值小数位",
  12101. "type": "integer"
  12102. },
  12103. "realminivalue": {
  12104. "description": "实际最小变动值",
  12105. "type": "integer"
  12106. },
  12107. "realminivaluedp": {
  12108. "description": "实际最小变动值小数位",
  12109. "type": "integer"
  12110. },
  12111. "remark": {
  12112. "description": "备注",
  12113. "type": "string"
  12114. },
  12115. "unitid": {
  12116. "description": "单位ID",
  12117. "type": "integer"
  12118. },
  12119. "updatetime": {
  12120. "description": "更新时间",
  12121. "type": "string"
  12122. },
  12123. "wrstandardcode": {
  12124. "description": "现货商品代码",
  12125. "type": "string"
  12126. },
  12127. "wrstandardid": {
  12128. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12129. "type": "integer"
  12130. },
  12131. "wrstandardname": {
  12132. "description": "现货商品名称",
  12133. "type": "string"
  12134. }
  12135. }
  12136. },
  12137. "models.Externalexchange": {
  12138. "type": "object",
  12139. "required": [
  12140. "autoid"
  12141. ],
  12142. "properties": {
  12143. "autoid": {
  12144. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12145. "type": "integer"
  12146. },
  12147. "exchangefullname": {
  12148. "description": "外部交易所全称",
  12149. "type": "string"
  12150. },
  12151. "exexchangecode": {
  12152. "description": "外部交易所代码",
  12153. "type": "string"
  12154. },
  12155. "exexchangename": {
  12156. "description": "外部交易所名称(简称)",
  12157. "type": "string"
  12158. },
  12159. "ismarketprice": {
  12160. "description": "是否支持市价 - 0:不支持 1:支持",
  12161. "type": "integer"
  12162. },
  12163. "quotegear": {
  12164. "description": "行情档位(1-10)",
  12165. "type": "integer"
  12166. },
  12167. "showbrokerflag": {
  12168. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12169. "type": "integer"
  12170. },
  12171. "updatetime": {
  12172. "description": "更新时间",
  12173. "type": "string"
  12174. }
  12175. }
  12176. },
  12177. "models.Goods": {
  12178. "type": "object",
  12179. "required": [
  12180. "goodscode",
  12181. "goodsid",
  12182. "goodsname",
  12183. "marketid"
  12184. ],
  12185. "properties": {
  12186. "agreeunit": {
  12187. "description": "合约单位",
  12188. "type": "number"
  12189. },
  12190. "auditaccountid": {
  12191. "description": "审核操作员账号",
  12192. "type": "integer"
  12193. },
  12194. "audittime": {
  12195. "description": "审核时间",
  12196. "type": "string"
  12197. },
  12198. "cancelaccountid": {
  12199. "description": "注销操作员账号",
  12200. "type": "integer"
  12201. },
  12202. "canceltime": {
  12203. "description": "注销时间",
  12204. "type": "string"
  12205. },
  12206. "closepricemode": {
  12207. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12208. "type": "integer"
  12209. },
  12210. "closepriceparam": {
  12211. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12212. "type": "number"
  12213. },
  12214. "createtime": {
  12215. "description": "创建时间",
  12216. "type": "string"
  12217. },
  12218. "creatorid": {
  12219. "description": "创建人",
  12220. "type": "integer"
  12221. },
  12222. "currencyid": {
  12223. "description": "报价货币ID",
  12224. "type": "integer"
  12225. },
  12226. "cutmode": {
  12227. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12228. "type": "integer"
  12229. },
  12230. "decimalplace": {
  12231. "description": "报价小数位",
  12232. "type": "integer"
  12233. },
  12234. "delistingdate": {
  12235. "description": "商品退市时间(状态:退市) -- 已作废",
  12236. "type": "string"
  12237. },
  12238. "delistingmode": {
  12239. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12240. "type": "integer"
  12241. },
  12242. "deliveryflag": {
  12243. "description": "交割标志 - 0:不可交割 1:可交割",
  12244. "type": "integer"
  12245. },
  12246. "forceclosemode": {
  12247. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12248. "type": "integer"
  12249. },
  12250. "forceclosevalue": {
  12251. "description": "定期强平参数 [收益权]",
  12252. "type": "integer"
  12253. },
  12254. "goodscode": {
  12255. "description": "商品代码(内部)",
  12256. "type": "string"
  12257. },
  12258. "goodscurrencyid": {
  12259. "description": "合约货币ID",
  12260. "type": "integer"
  12261. },
  12262. "goodsgroupid": {
  12263. "description": "所属商品组ID",
  12264. "type": "integer"
  12265. },
  12266. "goodsid": {
  12267. "description": "商品ID(自增ID SEQ_GOODS)",
  12268. "type": "integer"
  12269. },
  12270. "goodsname": {
  12271. "description": "商品名称",
  12272. "type": "string"
  12273. },
  12274. "goodsquotetype": {
  12275. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12276. "type": "integer"
  12277. },
  12278. "goodsstatus": {
  12279. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12280. "type": "integer"
  12281. },
  12282. "goodstradetype": {
  12283. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12284. "type": "integer"
  12285. },
  12286. "goodunitid": {
  12287. "description": "报价单位ID",
  12288. "type": "integer"
  12289. },
  12290. "hasquoter": {
  12291. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12292. "type": "integer"
  12293. },
  12294. "hqprotecttime": {
  12295. "description": "行情保护时间(秒)",
  12296. "type": "integer"
  12297. },
  12298. "innerdealmode": {
  12299. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12300. "type": "integer"
  12301. },
  12302. "isbuylimited": {
  12303. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12304. "type": "integer"
  12305. },
  12306. "lasttradedate": {
  12307. "description": "最后交易日期(状态:待退市)",
  12308. "type": "string"
  12309. },
  12310. "listingdate": {
  12311. "description": "交易开始日期",
  12312. "type": "string"
  12313. },
  12314. "marketid": {
  12315. "description": "所属市场ID",
  12316. "type": "integer"
  12317. },
  12318. "modifierid": {
  12319. "description": "修改人",
  12320. "type": "integer"
  12321. },
  12322. "modifystatus": {
  12323. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12324. "type": "integer"
  12325. },
  12326. "modifytime": {
  12327. "description": "修改时间",
  12328. "type": "string"
  12329. },
  12330. "outerdealmode": {
  12331. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12332. "type": "integer"
  12333. },
  12334. "outgoodscode": {
  12335. "description": "商品代码(外部)",
  12336. "type": "string"
  12337. },
  12338. "qtydecimalplace": {
  12339. "description": "成交量小数位",
  12340. "type": "integer"
  12341. },
  12342. "quotegear": {
  12343. "description": "行情档位(1-10)",
  12344. "type": "integer"
  12345. },
  12346. "quoteminunit": {
  12347. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12348. "type": "integer"
  12349. },
  12350. "quoteshowtype": {
  12351. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12352. "type": "integer"
  12353. },
  12354. "quoteshowtypeinterval": {
  12355. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12356. "type": "integer"
  12357. },
  12358. "remark": {
  12359. "description": "备注",
  12360. "type": "string"
  12361. }
  12362. }
  12363. },
  12364. "models.GoodsBrand": {
  12365. "type": "object",
  12366. "properties": {
  12367. "brandid": {
  12368. "description": "品牌ID",
  12369. "type": "integer"
  12370. },
  12371. "brandname": {
  12372. "description": "品牌名称",
  12373. "type": "string"
  12374. },
  12375. "isvalid": {
  12376. "description": "是否有效 - 0:无效 1:有效",
  12377. "type": "integer"
  12378. }
  12379. }
  12380. },
  12381. "models.GoodsGroupConvert": {
  12382. "type": "object",
  12383. "properties": {
  12384. "convertratio": {
  12385. "description": "折算系数",
  12386. "type": "number"
  12387. },
  12388. "dstgoodsgroupid": {
  12389. "description": "目标期货品种ID",
  12390. "type": "integer"
  12391. },
  12392. "goodsgroupname": {
  12393. "description": "期货品种名称",
  12394. "type": "string"
  12395. },
  12396. "outergroupcode": {
  12397. "description": "期货品种代码",
  12398. "type": "string"
  12399. },
  12400. "srcgoodsgroupid": {
  12401. "description": "源期货品种ID",
  12402. "type": "integer"
  12403. }
  12404. }
  12405. },
  12406. "models.GoodsIDAndName": {
  12407. "type": "object",
  12408. "required": [
  12409. "goodscode",
  12410. "goodsid",
  12411. "goodsname",
  12412. "marketid"
  12413. ],
  12414. "properties": {
  12415. "goodscode": {
  12416. "description": "商品代码(内部)",
  12417. "type": "string"
  12418. },
  12419. "goodsid": {
  12420. "description": "商品ID(自增ID SEQ_GOODS)",
  12421. "type": "integer"
  12422. },
  12423. "goodsname": {
  12424. "description": "商品名称",
  12425. "type": "string"
  12426. },
  12427. "marketid": {
  12428. "description": "所属市场ID",
  12429. "type": "integer"
  12430. }
  12431. }
  12432. },
  12433. "models.GoodsTypeModel": {
  12434. "type": "object",
  12435. "properties": {
  12436. "modelid": {
  12437. "description": "型号ID",
  12438. "type": "integer"
  12439. },
  12440. "modelname": {
  12441. "description": "型号名称",
  12442. "type": "string"
  12443. },
  12444. "updatetime": {
  12445. "description": "更新时间",
  12446. "type": "string"
  12447. }
  12448. }
  12449. },
  12450. "models.Goodsgroup": {
  12451. "type": "object",
  12452. "required": [
  12453. "goodsgroupid",
  12454. "goodsgroupname",
  12455. "goodsgroupstatus",
  12456. "marketid"
  12457. ],
  12458. "properties": {
  12459. "agreeunit": {
  12460. "description": "合约单位",
  12461. "type": "number"
  12462. },
  12463. "canshort": {
  12464. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12465. "type": "integer"
  12466. },
  12467. "closepricemode": {
  12468. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12469. "type": "integer"
  12470. },
  12471. "closepriceparam": {
  12472. "description": "强平最新价浮动比例 - 方式为2时使用",
  12473. "type": "number"
  12474. },
  12475. "createtime": {
  12476. "description": "创建时间",
  12477. "type": "string"
  12478. },
  12479. "creatorid": {
  12480. "description": "创建人",
  12481. "type": "integer"
  12482. },
  12483. "currencyid": {
  12484. "description": "报价货币ID",
  12485. "type": "integer"
  12486. },
  12487. "decimalplace": {
  12488. "description": "报价小数位",
  12489. "type": "integer"
  12490. },
  12491. "exercisetype": {
  12492. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12493. "type": "integer"
  12494. },
  12495. "exexchangeid": {
  12496. "description": "外部交易所ID[通道交易]",
  12497. "type": "integer"
  12498. },
  12499. "goodsgroupid": {
  12500. "description": "商品组ID(自增ID)",
  12501. "type": "integer"
  12502. },
  12503. "goodsgroupname": {
  12504. "description": "商品组名称",
  12505. "type": "string"
  12506. },
  12507. "goodsgroupstatus": {
  12508. "description": "商品组状态 - 1:正常 2:注销",
  12509. "type": "integer"
  12510. },
  12511. "goodunitid": {
  12512. "description": "报价单位ID",
  12513. "type": "integer"
  12514. },
  12515. "innerdealmode": {
  12516. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12517. "type": "integer"
  12518. },
  12519. "isbuylimited": {
  12520. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12521. "type": "integer"
  12522. },
  12523. "marketid": {
  12524. "description": "所属市场ID",
  12525. "type": "integer"
  12526. },
  12527. "modifierid": {
  12528. "description": "修改人",
  12529. "type": "integer"
  12530. },
  12531. "modifytime": {
  12532. "description": "修改时间",
  12533. "type": "string"
  12534. },
  12535. "outerdealmode": {
  12536. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12537. "type": "integer"
  12538. },
  12539. "outergroupcode": {
  12540. "description": "外部商品组代码[通道交易]",
  12541. "type": "string"
  12542. },
  12543. "premiumdecimalplace": {
  12544. "description": "权利金小数位[场外期权]",
  12545. "type": "integer"
  12546. },
  12547. "premiumspreadalgorithm": {
  12548. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12549. "type": "integer"
  12550. },
  12551. "premiumspreadvalue": {
  12552. "description": "权利金点差值[场外期权]",
  12553. "type": "number"
  12554. },
  12555. "qtydecimalplace": {
  12556. "description": "成交量小数位",
  12557. "type": "integer"
  12558. },
  12559. "quotegear": {
  12560. "description": "行情档位(1-10)",
  12561. "type": "integer"
  12562. },
  12563. "quoteminunit": {
  12564. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12565. "type": "integer"
  12566. },
  12567. "quoterid": {
  12568. "description": "报价商ID[场外期权]",
  12569. "type": "integer"
  12570. },
  12571. "quotesourcegroupid": {
  12572. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12573. "type": "integer"
  12574. },
  12575. "syncgoodsqty": {
  12576. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12577. "type": "integer"
  12578. }
  12579. }
  12580. },
  12581. "models.HsbyBuyMyPayOrder": {
  12582. "type": "object",
  12583. "required": [
  12584. "goodscode",
  12585. "goodsname",
  12586. "tradeid",
  12587. "trademode"
  12588. ],
  12589. "properties": {
  12590. "agreeunit": {
  12591. "description": "合约单位",
  12592. "type": "number"
  12593. },
  12594. "buyaccountid": {
  12595. "description": "买方账号ID[报价币种]",
  12596. "type": "integer"
  12597. },
  12598. "buyorderid": {
  12599. "description": "买方委托单号",
  12600. "type": "string"
  12601. },
  12602. "createtime": {
  12603. "description": "创建时间",
  12604. "type": "string"
  12605. },
  12606. "currencysign": {
  12607. "description": "货币符号",
  12608. "type": "string"
  12609. },
  12610. "decimalplace": {
  12611. "description": "报价小数位",
  12612. "type": "integer"
  12613. },
  12614. "goodscode": {
  12615. "description": "商品代码(内部)",
  12616. "type": "string"
  12617. },
  12618. "goodsid": {
  12619. "description": "商品ID",
  12620. "type": "integer"
  12621. },
  12622. "goodsname": {
  12623. "description": "商品名称",
  12624. "type": "string"
  12625. },
  12626. "marketid": {
  12627. "description": "市场ID",
  12628. "type": "integer"
  12629. },
  12630. "offamount": {
  12631. "description": "优惠金额",
  12632. "type": "number"
  12633. },
  12634. "originalamount": {
  12635. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  12636. "type": "number"
  12637. },
  12638. "payamount": {
  12639. "description": "支付金额 = TradeAmount + TradeCharge",
  12640. "type": "number"
  12641. },
  12642. "payflag": {
  12643. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12644. "type": "integer"
  12645. },
  12646. "paylimitedtime": {
  12647. "description": "支付期限",
  12648. "type": "string"
  12649. },
  12650. "paytime": {
  12651. "description": "付款时间",
  12652. "type": "string"
  12653. },
  12654. "picurls1": {
  12655. "description": "预售商品介绍图片[多张用逗号分隔]",
  12656. "type": "string"
  12657. },
  12658. "picurls2": {
  12659. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12660. "type": "string"
  12661. },
  12662. "sellaccountid": {
  12663. "description": "卖方账号ID[报价币种]",
  12664. "type": "integer"
  12665. },
  12666. "sellorderid": {
  12667. "description": "卖方委托单号",
  12668. "type": "string"
  12669. },
  12670. "tradeamount": {
  12671. "description": "成交金额",
  12672. "type": "number"
  12673. },
  12674. "tradecharge": {
  12675. "description": "成交手续费(买方)",
  12676. "type": "number"
  12677. },
  12678. "tradedate": {
  12679. "description": "交易日(yyyyMMdd)",
  12680. "type": "string"
  12681. },
  12682. "tradeid": {
  12683. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12684. "type": "string"
  12685. },
  12686. "trademode": {
  12687. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12688. "type": "integer"
  12689. },
  12690. "tradeprice": {
  12691. "description": "成交价格",
  12692. "type": "number"
  12693. },
  12694. "tradeqty": {
  12695. "description": "成交数量",
  12696. "type": "integer"
  12697. },
  12698. "vendorname1": {
  12699. "description": "预售商品供应商名称",
  12700. "type": "string"
  12701. },
  12702. "vendorname2": {
  12703. "description": "挂牌商品供应商名称",
  12704. "type": "string"
  12705. }
  12706. }
  12707. },
  12708. "models.HsbyBuyMyTradeDetail": {
  12709. "type": "object",
  12710. "required": [
  12711. "accountid",
  12712. "buyorsell",
  12713. "goodscode",
  12714. "goodsid",
  12715. "goodsname",
  12716. "marketid",
  12717. "orderid",
  12718. "qty",
  12719. "time",
  12720. "trademode"
  12721. ],
  12722. "properties": {
  12723. "accountid": {
  12724. "description": "账户ID[报价币种]",
  12725. "type": "integer"
  12726. },
  12727. "agreeunit": {
  12728. "description": "合约单位",
  12729. "type": "number"
  12730. },
  12731. "amount": {
  12732. "description": "金额 = 价格 * 数量 * 合约单位",
  12733. "type": "number"
  12734. },
  12735. "buyorsell": {
  12736. "description": "买卖 - 0:买 1:卖",
  12737. "type": "integer"
  12738. },
  12739. "currencysign": {
  12740. "description": "货币符号",
  12741. "type": "string"
  12742. },
  12743. "decimalplace": {
  12744. "description": "报价小数位",
  12745. "type": "integer"
  12746. },
  12747. "goodscode": {
  12748. "description": "商品代码(内部)",
  12749. "type": "string"
  12750. },
  12751. "goodsid": {
  12752. "description": "商品ID",
  12753. "type": "integer"
  12754. },
  12755. "goodsname": {
  12756. "description": "商品名称",
  12757. "type": "string"
  12758. },
  12759. "marketid": {
  12760. "description": "市场ID",
  12761. "type": "integer"
  12762. },
  12763. "orderid": {
  12764. "description": "单号(成交单号)",
  12765. "type": "string"
  12766. },
  12767. "picurls1": {
  12768. "description": "预售商品介绍图片[多张用逗号分隔]",
  12769. "type": "string"
  12770. },
  12771. "picurls2": {
  12772. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12773. "type": "string"
  12774. },
  12775. "price": {
  12776. "description": "价格",
  12777. "type": "number"
  12778. },
  12779. "qty": {
  12780. "description": "数量",
  12781. "type": "integer"
  12782. },
  12783. "time": {
  12784. "description": "时间",
  12785. "type": "string"
  12786. },
  12787. "trademode": {
  12788. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12789. "type": "integer"
  12790. },
  12791. "vendorname1": {
  12792. "description": "预售商品供应商名称",
  12793. "type": "string"
  12794. },
  12795. "vendorname2": {
  12796. "description": "挂牌商品供应商名称",
  12797. "type": "string"
  12798. }
  12799. }
  12800. },
  12801. "models.HsbyGoodsOrderDetail": {
  12802. "type": "object",
  12803. "required": [
  12804. "buyorsell",
  12805. "orderid",
  12806. "ordertime"
  12807. ],
  12808. "properties": {
  12809. "buyorsell": {
  12810. "description": "买卖 - 0:买 1:卖",
  12811. "type": "integer"
  12812. },
  12813. "currencysign": {
  12814. "description": "货币符号",
  12815. "type": "string"
  12816. },
  12817. "customername": {
  12818. "description": "客户名称(企业名称),已脱敏",
  12819. "type": "string"
  12820. },
  12821. "enableqty": {
  12822. "description": "可用数量",
  12823. "type": "integer"
  12824. },
  12825. "goodunit": {
  12826. "description": "报价单位",
  12827. "type": "string"
  12828. },
  12829. "orderid": {
  12830. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12831. "type": "string"
  12832. },
  12833. "orderprice": {
  12834. "description": "委托价格",
  12835. "type": "number"
  12836. },
  12837. "ordertime": {
  12838. "description": "委托时间",
  12839. "type": "string"
  12840. }
  12841. }
  12842. },
  12843. "models.HsbyListingGoodsDetail": {
  12844. "type": "object",
  12845. "required": [
  12846. "goodscode",
  12847. "goodsid",
  12848. "goodsname",
  12849. "marketid",
  12850. "trademode"
  12851. ],
  12852. "properties": {
  12853. "agreeunit": {
  12854. "description": "合约单位",
  12855. "type": "number"
  12856. },
  12857. "buymaxqty": {
  12858. "description": "购买上限 [71] - 0为不限",
  12859. "type": "integer"
  12860. },
  12861. "currency": {
  12862. "description": "货币",
  12863. "type": "string"
  12864. },
  12865. "currencysign": {
  12866. "description": "货币符号",
  12867. "type": "string"
  12868. },
  12869. "decimalplace": {
  12870. "description": "报价小数位",
  12871. "type": "integer"
  12872. },
  12873. "desccityid": {
  12874. "description": "目的地(市)ID",
  12875. "type": "integer"
  12876. },
  12877. "descprovinceid": {
  12878. "description": "目的地(省)ID",
  12879. "type": "integer"
  12880. },
  12881. "goodscode": {
  12882. "description": "商品代码(内部)",
  12883. "type": "string"
  12884. },
  12885. "goodsdesc": {
  12886. "description": "商品详情",
  12887. "type": "string"
  12888. },
  12889. "goodsid": {
  12890. "description": "商品ID(自增ID SEQ_GOODS)",
  12891. "type": "integer"
  12892. },
  12893. "goodsname": {
  12894. "description": "商品名称",
  12895. "type": "string"
  12896. },
  12897. "goodsprice": {
  12898. "description": "商品价格",
  12899. "type": "number"
  12900. },
  12901. "hotindex": {
  12902. "description": "景点热度",
  12903. "type": "integer"
  12904. },
  12905. "last": {
  12906. "description": "现价",
  12907. "type": "number"
  12908. },
  12909. "limitdown": {
  12910. "description": "跌停价",
  12911. "type": "number"
  12912. },
  12913. "limitup": {
  12914. "description": "涨停价",
  12915. "type": "number"
  12916. },
  12917. "lotsize": {
  12918. "description": "手数最小变动单位",
  12919. "type": "integer"
  12920. },
  12921. "marketid": {
  12922. "description": "所属市场ID",
  12923. "type": "integer"
  12924. },
  12925. "picurls": {
  12926. "description": "介绍图片[多张用逗号分隔]",
  12927. "type": "string"
  12928. },
  12929. "quoteminunit": {
  12930. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12931. "type": "integer"
  12932. },
  12933. "stepvalue": {
  12934. "description": "价格最小变动单位",
  12935. "type": "number"
  12936. },
  12937. "trademode": {
  12938. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12939. "type": "integer"
  12940. },
  12941. "vendorattr": {
  12942. "description": "供应商附件(多张,逗号分隔)",
  12943. "type": "string"
  12944. },
  12945. "vendorname": {
  12946. "description": "供应商名称",
  12947. "type": "string"
  12948. },
  12949. "vendorphone": {
  12950. "description": "供应商客服电话",
  12951. "type": "string"
  12952. },
  12953. "videourls": {
  12954. "description": "介绍视频[多张用逗号分隔]",
  12955. "type": "string"
  12956. }
  12957. }
  12958. },
  12959. "models.HsbyMarketGoods": {
  12960. "type": "object",
  12961. "required": [
  12962. "accountid",
  12963. "buyorsell",
  12964. "goodscode",
  12965. "goodsid",
  12966. "goodsname",
  12967. "marketid",
  12968. "orderid",
  12969. "trademode"
  12970. ],
  12971. "properties": {
  12972. "accountid": {
  12973. "description": "账户ID[报价币种]",
  12974. "type": "integer"
  12975. },
  12976. "agreeunit": {
  12977. "description": "合约单位",
  12978. "type": "number"
  12979. },
  12980. "buyorsell": {
  12981. "description": "买卖 - 0:买 1:卖",
  12982. "type": "integer"
  12983. },
  12984. "categoryid": {
  12985. "description": "类别ID(WRCATEGORY)",
  12986. "type": "integer"
  12987. },
  12988. "currency": {
  12989. "description": "货币",
  12990. "type": "string"
  12991. },
  12992. "currencysign": {
  12993. "description": "货币符号",
  12994. "type": "string"
  12995. },
  12996. "customername": {
  12997. "description": "卖家名称",
  12998. "type": "string"
  12999. },
  13000. "decimalplace": {
  13001. "description": "报价小数位",
  13002. "type": "integer"
  13003. },
  13004. "goodscode": {
  13005. "description": "商品代码(内部)",
  13006. "type": "string"
  13007. },
  13008. "goodsid": {
  13009. "description": "商品ID",
  13010. "type": "integer"
  13011. },
  13012. "goodsname": {
  13013. "description": "商品名称",
  13014. "type": "string"
  13015. },
  13016. "goodsprice": {
  13017. "description": "商品价格",
  13018. "type": "number"
  13019. },
  13020. "hascoupon": {
  13021. "description": "是否可用优惠卷",
  13022. "type": "boolean"
  13023. },
  13024. "hotindex": {
  13025. "description": "景点热度",
  13026. "type": "integer"
  13027. },
  13028. "marketid": {
  13029. "description": "市场ID",
  13030. "type": "integer"
  13031. },
  13032. "orderid": {
  13033. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13034. "type": "string"
  13035. },
  13036. "orderprice": {
  13037. "description": "委托价格",
  13038. "type": "number"
  13039. },
  13040. "orderstatus": {
  13041. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13042. "type": "integer"
  13043. },
  13044. "picurls": {
  13045. "description": "介绍图片[多张用逗号分隔]",
  13046. "type": "string"
  13047. },
  13048. "quoteminunit": {
  13049. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13050. "type": "integer"
  13051. },
  13052. "sellUserID": {
  13053. "description": "卖方UserID",
  13054. "type": "integer"
  13055. },
  13056. "trademode": {
  13057. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13058. "type": "integer"
  13059. },
  13060. "videourls": {
  13061. "description": "介绍视频[多张用逗号分隔]",
  13062. "type": "string"
  13063. }
  13064. }
  13065. },
  13066. "models.HsbyMarketGoodsDetail": {
  13067. "type": "object",
  13068. "required": [
  13069. "accountid",
  13070. "buyorsell",
  13071. "goodscode",
  13072. "goodsid",
  13073. "goodsname",
  13074. "marketid",
  13075. "orderid",
  13076. "orderqty",
  13077. "trademode"
  13078. ],
  13079. "properties": {
  13080. "accountid": {
  13081. "description": "账户ID[报价币种]",
  13082. "type": "integer"
  13083. },
  13084. "agreeunit": {
  13085. "description": "合约单位",
  13086. "type": "number"
  13087. },
  13088. "buymaxqty": {
  13089. "description": "购买上限 [71] - 0为不限",
  13090. "type": "integer"
  13091. },
  13092. "buyorsell": {
  13093. "description": "买卖 - 0:买 1:卖",
  13094. "type": "integer"
  13095. },
  13096. "cancelqty": {
  13097. "description": "撤单数量",
  13098. "type": "integer"
  13099. },
  13100. "categoryid": {
  13101. "description": "类别ID(WRCATEGORY)",
  13102. "type": "integer"
  13103. },
  13104. "currency": {
  13105. "description": "货币",
  13106. "type": "string"
  13107. },
  13108. "currencysign": {
  13109. "description": "货币符号",
  13110. "type": "string"
  13111. },
  13112. "customername": {
  13113. "description": "卖家名称",
  13114. "type": "string"
  13115. },
  13116. "decimalplace": {
  13117. "description": "报价小数位",
  13118. "type": "integer"
  13119. },
  13120. "goodscode": {
  13121. "description": "商品代码(内部)",
  13122. "type": "string"
  13123. },
  13124. "goodsdesc": {
  13125. "description": "商品详情",
  13126. "type": "string"
  13127. },
  13128. "goodsid": {
  13129. "description": "商品ID",
  13130. "type": "integer"
  13131. },
  13132. "goodsname": {
  13133. "description": "商品名称",
  13134. "type": "string"
  13135. },
  13136. "goodsprice": {
  13137. "description": "商品价格",
  13138. "type": "number"
  13139. },
  13140. "hotindex": {
  13141. "description": "景点热度",
  13142. "type": "integer"
  13143. },
  13144. "lotsize": {
  13145. "description": "手数最小变动单位",
  13146. "type": "integer"
  13147. },
  13148. "marketid": {
  13149. "description": "市场ID",
  13150. "type": "integer"
  13151. },
  13152. "orderid": {
  13153. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13154. "type": "string"
  13155. },
  13156. "orderprice": {
  13157. "description": "委托价格",
  13158. "type": "number"
  13159. },
  13160. "orderqty": {
  13161. "description": "委托数量",
  13162. "type": "integer"
  13163. },
  13164. "orderstatus": {
  13165. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13166. "type": "integer"
  13167. },
  13168. "picurls": {
  13169. "description": "介绍图片[多张用逗号分隔]",
  13170. "type": "string"
  13171. },
  13172. "quoteminunit": {
  13173. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13174. "type": "integer"
  13175. },
  13176. "sellUserID": {
  13177. "description": "卖方UserID",
  13178. "type": "integer"
  13179. },
  13180. "trademode": {
  13181. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13182. "type": "integer"
  13183. },
  13184. "tradeqty": {
  13185. "description": "成交数量",
  13186. "type": "integer"
  13187. },
  13188. "vendorattr": {
  13189. "description": "供应商附件(多张,逗号分隔)",
  13190. "type": "string"
  13191. },
  13192. "vendorname": {
  13193. "description": "供应商名称",
  13194. "type": "string"
  13195. },
  13196. "vendorphone": {
  13197. "description": "供应商客服电话",
  13198. "type": "string"
  13199. },
  13200. "videourls": {
  13201. "description": "介绍视频[多张用逗号分隔]",
  13202. "type": "string"
  13203. }
  13204. }
  13205. },
  13206. "models.HsbyMarketInfo": {
  13207. "type": "object",
  13208. "required": [
  13209. "marketid",
  13210. "marketstatus",
  13211. "trademode"
  13212. ],
  13213. "properties": {
  13214. "marketid": {
  13215. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13216. "type": "integer"
  13217. },
  13218. "marketname": {
  13219. "description": "市场名称",
  13220. "type": "string"
  13221. },
  13222. "marketstatus": {
  13223. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13224. "type": "integer"
  13225. },
  13226. "trademode": {
  13227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13228. "type": "integer"
  13229. }
  13230. }
  13231. },
  13232. "models.HsbyMyGoods": {
  13233. "type": "object",
  13234. "required": [
  13235. "accountid",
  13236. "goodscode",
  13237. "goodsid",
  13238. "goodsname",
  13239. "marketid",
  13240. "trademode"
  13241. ],
  13242. "properties": {
  13243. "accountid": {
  13244. "description": "账号Id",
  13245. "type": "integer"
  13246. },
  13247. "agreeunit": {
  13248. "description": "合约单位",
  13249. "type": "number"
  13250. },
  13251. "buyaverageprice": {
  13252. "description": "持仓均价",
  13253. "type": "number"
  13254. },
  13255. "buycurholderamount": {
  13256. "description": "买当前持仓总金额[商品币种]",
  13257. "type": "number"
  13258. },
  13259. "buycurpositionqty": {
  13260. "description": "买当前持仓总数量",
  13261. "type": "integer"
  13262. },
  13263. "buymaxqty": {
  13264. "description": "购买上限 [71] - 0为不限",
  13265. "type": "integer"
  13266. },
  13267. "currencysign": {
  13268. "description": "货币符号",
  13269. "type": "string"
  13270. },
  13271. "decimalplace": {
  13272. "description": "报价小数位",
  13273. "type": "integer"
  13274. },
  13275. "enableqty": {
  13276. "description": "可用数量",
  13277. "type": "integer"
  13278. },
  13279. "goodscode": {
  13280. "description": "商品代码(内部)",
  13281. "type": "string"
  13282. },
  13283. "goodsid": {
  13284. "description": "商品Id",
  13285. "type": "integer"
  13286. },
  13287. "goodsname": {
  13288. "description": "商品名称",
  13289. "type": "string"
  13290. },
  13291. "goodsprice": {
  13292. "description": "商品价格",
  13293. "type": "number"
  13294. },
  13295. "goodsstatus": {
  13296. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13297. "type": "integer"
  13298. },
  13299. "last": {
  13300. "description": "现价(仅使用于挂牌点选)",
  13301. "type": "number"
  13302. },
  13303. "limitdown": {
  13304. "description": "跌停价(仅使用于挂牌点选)",
  13305. "type": "number"
  13306. },
  13307. "limitup": {
  13308. "description": "涨停价(仅使用于挂牌点选)",
  13309. "type": "number"
  13310. },
  13311. "lotsize": {
  13312. "description": "手数最小变动单位",
  13313. "type": "integer"
  13314. },
  13315. "marketid": {
  13316. "description": "所属市场ID",
  13317. "type": "integer"
  13318. },
  13319. "picurls": {
  13320. "description": "介绍图片[多张用逗号分隔]",
  13321. "type": "string"
  13322. },
  13323. "quoteminunit": {
  13324. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13325. "type": "integer"
  13326. },
  13327. "stepvalue": {
  13328. "description": "价格最小变动单位",
  13329. "type": "number"
  13330. },
  13331. "trademode": {
  13332. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13333. "type": "integer"
  13334. }
  13335. }
  13336. },
  13337. "models.HsbyMyPackage": {
  13338. "type": "object",
  13339. "required": [
  13340. "goodscode",
  13341. "goodsname",
  13342. "takeorderid",
  13343. "trademode"
  13344. ],
  13345. "properties": {
  13346. "accountid": {
  13347. "description": "账户ID",
  13348. "type": "integer"
  13349. },
  13350. "address": {
  13351. "description": "提货人详细地址",
  13352. "type": "string"
  13353. },
  13354. "agreeunit": {
  13355. "description": "合约单位",
  13356. "type": "number"
  13357. },
  13358. "amount": {
  13359. "description": "提货金额",
  13360. "type": "number"
  13361. },
  13362. "auditer": {
  13363. "description": "审核人",
  13364. "type": "integer"
  13365. },
  13366. "audittime": {
  13367. "description": "审核时间",
  13368. "type": "string"
  13369. },
  13370. "averageprice": {
  13371. "description": "均价",
  13372. "type": "number"
  13373. },
  13374. "cardnum": {
  13375. "description": "提货人证件号码",
  13376. "type": "string"
  13377. },
  13378. "cardtypeid": {
  13379. "description": "提货人证件类型",
  13380. "type": "integer"
  13381. },
  13382. "checkremark": {
  13383. "description": "审核备注",
  13384. "type": "string"
  13385. },
  13386. "currencysign": {
  13387. "description": "货币符号",
  13388. "type": "string"
  13389. },
  13390. "decimalplace": {
  13391. "description": "报价小数位",
  13392. "type": "integer"
  13393. },
  13394. "goodscode": {
  13395. "description": "商品代码(内部)",
  13396. "type": "string"
  13397. },
  13398. "goodsid": {
  13399. "description": "商品ID",
  13400. "type": "integer"
  13401. },
  13402. "goodsname": {
  13403. "description": "商品名称",
  13404. "type": "string"
  13405. },
  13406. "handlestatus": {
  13407. "description": "处理状态",
  13408. "type": "integer"
  13409. },
  13410. "marketid": {
  13411. "description": "市场ID",
  13412. "type": "integer"
  13413. },
  13414. "phonenum": {
  13415. "description": "提货人联系方式",
  13416. "type": "string"
  13417. },
  13418. "picurls": {
  13419. "description": "介绍图片[多张用逗号分隔]",
  13420. "type": "string"
  13421. },
  13422. "qty": {
  13423. "description": "提货数量",
  13424. "type": "number"
  13425. },
  13426. "recivername": {
  13427. "description": "提货人姓名",
  13428. "type": "string"
  13429. },
  13430. "reqtime": {
  13431. "description": "更新时间",
  13432. "type": "string"
  13433. },
  13434. "takemode": {
  13435. "description": "提货方式 - 2:自提 3:配送",
  13436. "type": "integer"
  13437. },
  13438. "takeorderid": {
  13439. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13440. "type": "string"
  13441. },
  13442. "takeorderstatus": {
  13443. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13444. "type": "integer"
  13445. },
  13446. "takeremark": {
  13447. "description": "提货备注",
  13448. "type": "string"
  13449. },
  13450. "tradedate": {
  13451. "description": "交易日(yyyyMMdd)",
  13452. "type": "string"
  13453. },
  13454. "trademode": {
  13455. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13456. "type": "integer"
  13457. },
  13458. "userid": {
  13459. "description": "用户ID",
  13460. "type": "integer"
  13461. },
  13462. "vendorname": {
  13463. "description": "供应商名称",
  13464. "type": "string"
  13465. }
  13466. }
  13467. },
  13468. "models.HsbyPreGoods": {
  13469. "type": "object",
  13470. "required": [
  13471. "goodscode",
  13472. "goodsid",
  13473. "goodsname",
  13474. "marketid",
  13475. "trademode"
  13476. ],
  13477. "properties": {
  13478. "agreeunit": {
  13479. "description": "合约单位",
  13480. "type": "number"
  13481. },
  13482. "currency": {
  13483. "description": "货币",
  13484. "type": "string"
  13485. },
  13486. "currencysign": {
  13487. "description": "货币符号",
  13488. "type": "string"
  13489. },
  13490. "decimalplace": {
  13491. "description": "报价小数位",
  13492. "type": "integer"
  13493. },
  13494. "desccityid": {
  13495. "description": "目的地(市)",
  13496. "type": "integer"
  13497. },
  13498. "descprovinceid": {
  13499. "description": "目的地(省)",
  13500. "type": "integer"
  13501. },
  13502. "enableqty": {
  13503. "description": "剩余数量",
  13504. "type": "integer"
  13505. },
  13506. "goodscode": {
  13507. "description": "商品代码(内部)",
  13508. "type": "string"
  13509. },
  13510. "goodsid": {
  13511. "description": "商品ID(自增ID SEQ_GOODS)",
  13512. "type": "integer"
  13513. },
  13514. "goodsname": {
  13515. "description": "商品名称",
  13516. "type": "string"
  13517. },
  13518. "goodsstatus": {
  13519. "description": "商品状态- 2:未上市 3:上市",
  13520. "type": "integer"
  13521. },
  13522. "lasttradedate": {
  13523. "description": "最后交易日期(状态:待退市)",
  13524. "type": "string"
  13525. },
  13526. "listingdate": {
  13527. "description": "交易开始日期",
  13528. "type": "string"
  13529. },
  13530. "marketid": {
  13531. "description": "所属市场ID",
  13532. "type": "integer"
  13533. },
  13534. "picurls": {
  13535. "description": "介绍图片[多张用逗号分隔]",
  13536. "type": "string"
  13537. },
  13538. "presaledqty": {
  13539. "description": "已预售量(预售结束时更新)",
  13540. "type": "integer"
  13541. },
  13542. "presaleqty": {
  13543. "description": "预售数量",
  13544. "type": "integer"
  13545. },
  13546. "quoteminunit": {
  13547. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13548. "type": "integer"
  13549. },
  13550. "refprice": {
  13551. "description": "参考价格[一口价]",
  13552. "type": "number"
  13553. },
  13554. "relatedgoodsid": {
  13555. "description": "关联交易合约ID",
  13556. "type": "integer"
  13557. },
  13558. "trademode": {
  13559. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13560. "type": "integer"
  13561. },
  13562. "videourls": {
  13563. "description": "介绍视频[多张用逗号分隔]",
  13564. "type": "string"
  13565. }
  13566. }
  13567. },
  13568. "models.HsbyPreGoodsDetail": {
  13569. "type": "object",
  13570. "required": [
  13571. "goodscode",
  13572. "goodsid",
  13573. "goodsname",
  13574. "marketid",
  13575. "trademode"
  13576. ],
  13577. "properties": {
  13578. "agreeunit": {
  13579. "description": "合约单位",
  13580. "type": "number"
  13581. },
  13582. "buymaxqty": {
  13583. "description": "购买上限 [71] - 0为不限",
  13584. "type": "integer"
  13585. },
  13586. "currency": {
  13587. "description": "货币",
  13588. "type": "string"
  13589. },
  13590. "currencysign": {
  13591. "description": "货币符号",
  13592. "type": "string"
  13593. },
  13594. "customername": {
  13595. "description": "发行单位",
  13596. "type": "string"
  13597. },
  13598. "decimalplace": {
  13599. "description": "报价小数位",
  13600. "type": "integer"
  13601. },
  13602. "desccityid": {
  13603. "description": "目的地(市)ID",
  13604. "type": "integer"
  13605. },
  13606. "descprovinceid": {
  13607. "description": "目的地(省)ID",
  13608. "type": "integer"
  13609. },
  13610. "enableqty": {
  13611. "description": "剩余数量",
  13612. "type": "integer"
  13613. },
  13614. "goodscode": {
  13615. "description": "商品代码(内部)",
  13616. "type": "string"
  13617. },
  13618. "goodsdesc": {
  13619. "description": "商品详情",
  13620. "type": "string"
  13621. },
  13622. "goodsid": {
  13623. "description": "商品ID(自增ID SEQ_GOODS)",
  13624. "type": "integer"
  13625. },
  13626. "goodsname": {
  13627. "description": "商品名称",
  13628. "type": "string"
  13629. },
  13630. "goodsstatus": {
  13631. "description": "商品状态- 2:未上市 3:上市",
  13632. "type": "integer"
  13633. },
  13634. "goodunit": {
  13635. "description": "报价单位",
  13636. "type": "string"
  13637. },
  13638. "lasttradedate": {
  13639. "description": "最后交易日期(状态:待退市)",
  13640. "type": "string"
  13641. },
  13642. "listingdate": {
  13643. "description": "交易开始日期",
  13644. "type": "string"
  13645. },
  13646. "lotsize": {
  13647. "description": "手数最小变动单位",
  13648. "type": "integer"
  13649. },
  13650. "marketid": {
  13651. "description": "所属市场ID",
  13652. "type": "integer"
  13653. },
  13654. "picurls": {
  13655. "description": "介绍图片[多张用逗号分隔]",
  13656. "type": "string"
  13657. },
  13658. "presaledqty": {
  13659. "description": "已预售量(预售结束时更新)",
  13660. "type": "integer"
  13661. },
  13662. "presaleqty": {
  13663. "description": "预售数量",
  13664. "type": "integer"
  13665. },
  13666. "quoteminunit": {
  13667. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13668. "type": "integer"
  13669. },
  13670. "refprice": {
  13671. "description": "参考价格[一口价]",
  13672. "type": "number"
  13673. },
  13674. "relatedgoodsid": {
  13675. "description": "关联交易合约ID",
  13676. "type": "integer"
  13677. },
  13678. "stepvalue": {
  13679. "description": "价格最小变动单位",
  13680. "type": "number"
  13681. },
  13682. "trademode": {
  13683. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13684. "type": "integer"
  13685. },
  13686. "vendorattr": {
  13687. "description": "供应商附件(多张,逗号分隔)",
  13688. "type": "string"
  13689. },
  13690. "vendorname": {
  13691. "description": "供应商名称",
  13692. "type": "string"
  13693. },
  13694. "vendorphone": {
  13695. "description": "供应商客服电话",
  13696. "type": "string"
  13697. },
  13698. "videourls": {
  13699. "description": "介绍视频[多张用逗号分隔]",
  13700. "type": "string"
  13701. }
  13702. }
  13703. },
  13704. "models.HsbySellCollectionOrder": {
  13705. "type": "object",
  13706. "required": [
  13707. "goodscode",
  13708. "goodsname",
  13709. "tradeid",
  13710. "trademode"
  13711. ],
  13712. "properties": {
  13713. "agreeunit": {
  13714. "description": "合约单位",
  13715. "type": "number"
  13716. },
  13717. "buyaccountid": {
  13718. "description": "买方账号ID[报价币种]",
  13719. "type": "integer"
  13720. },
  13721. "buyorderid": {
  13722. "description": "买方委托单号",
  13723. "type": "string"
  13724. },
  13725. "createtime": {
  13726. "description": "创建时间",
  13727. "type": "string"
  13728. },
  13729. "currencysign": {
  13730. "description": "货币符号",
  13731. "type": "string"
  13732. },
  13733. "decimalplace": {
  13734. "description": "报价小数位",
  13735. "type": "integer"
  13736. },
  13737. "goodscode": {
  13738. "description": "商品代码(内部)",
  13739. "type": "string"
  13740. },
  13741. "goodsid": {
  13742. "description": "商品ID",
  13743. "type": "integer"
  13744. },
  13745. "goodsname": {
  13746. "description": "商品名称",
  13747. "type": "string"
  13748. },
  13749. "marketid": {
  13750. "description": "市场ID",
  13751. "type": "integer"
  13752. },
  13753. "offamount": {
  13754. "description": "优惠金额",
  13755. "type": "number"
  13756. },
  13757. "payamount": {
  13758. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13759. "type": "number"
  13760. },
  13761. "payflag": {
  13762. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13763. "type": "integer"
  13764. },
  13765. "paylimitedtime": {
  13766. "description": "支付期限",
  13767. "type": "string"
  13768. },
  13769. "paytime": {
  13770. "description": "付款时间",
  13771. "type": "string"
  13772. },
  13773. "picurls": {
  13774. "description": "商品介绍图片[多张用逗号分隔]",
  13775. "type": "string"
  13776. },
  13777. "sellaccountid": {
  13778. "description": "卖方账号ID[报价币种]",
  13779. "type": "integer"
  13780. },
  13781. "sellorderid": {
  13782. "description": "卖方委托单号",
  13783. "type": "string"
  13784. },
  13785. "tradeamount": {
  13786. "description": "成交金额",
  13787. "type": "number"
  13788. },
  13789. "tradecharge": {
  13790. "description": "成交手续费(买方)",
  13791. "type": "number"
  13792. },
  13793. "tradedate": {
  13794. "description": "交易日(yyyyMMdd)",
  13795. "type": "string"
  13796. },
  13797. "tradeid": {
  13798. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13799. "type": "string"
  13800. },
  13801. "trademode": {
  13802. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13803. "type": "integer"
  13804. },
  13805. "tradeprice": {
  13806. "description": "成交价格",
  13807. "type": "number"
  13808. },
  13809. "tradeqty": {
  13810. "description": "成交数量",
  13811. "type": "integer"
  13812. }
  13813. }
  13814. },
  13815. "models.HsbySellMyDetail": {
  13816. "type": "object",
  13817. "required": [
  13818. "accountid",
  13819. "buyorsell",
  13820. "goodscode",
  13821. "goodsid",
  13822. "goodsname",
  13823. "marketid",
  13824. "orderid",
  13825. "time",
  13826. "trademode"
  13827. ],
  13828. "properties": {
  13829. "accountid": {
  13830. "description": "账户ID[报价币种]",
  13831. "type": "integer"
  13832. },
  13833. "agreeunit": {
  13834. "description": "合约单位",
  13835. "type": "number"
  13836. },
  13837. "buyorsell": {
  13838. "description": "买卖 - 0:买 1:卖",
  13839. "type": "integer"
  13840. },
  13841. "currencysign": {
  13842. "description": "货币符号",
  13843. "type": "string"
  13844. },
  13845. "decimalplace": {
  13846. "description": "报价小数位",
  13847. "type": "integer"
  13848. },
  13849. "goodscode": {
  13850. "description": "商品代码(内部)",
  13851. "type": "string"
  13852. },
  13853. "goodsid": {
  13854. "description": "商品ID",
  13855. "type": "integer"
  13856. },
  13857. "goodsname": {
  13858. "description": "商品名称",
  13859. "type": "string"
  13860. },
  13861. "marketid": {
  13862. "description": "市场ID",
  13863. "type": "integer"
  13864. },
  13865. "orderid": {
  13866. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13867. "type": "string"
  13868. },
  13869. "ordertype": {
  13870. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13871. "type": "integer"
  13872. },
  13873. "picurls": {
  13874. "description": "介绍图片[多张用逗号分隔]",
  13875. "type": "string"
  13876. },
  13877. "price": {
  13878. "description": "价格",
  13879. "type": "number"
  13880. },
  13881. "qty": {
  13882. "description": "数量",
  13883. "type": "integer"
  13884. },
  13885. "time": {
  13886. "description": "时间",
  13887. "type": "string"
  13888. },
  13889. "trademode": {
  13890. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13891. "type": "integer"
  13892. },
  13893. "vendorname": {
  13894. "description": "供应商名称",
  13895. "type": "string"
  13896. }
  13897. }
  13898. },
  13899. "models.HsbyTopGoods": {
  13900. "type": "object",
  13901. "required": [
  13902. "goodscode",
  13903. "goodsid",
  13904. "goodsname",
  13905. "marketid",
  13906. "trademode"
  13907. ],
  13908. "properties": {
  13909. "agreeunit": {
  13910. "description": "合约单位",
  13911. "type": "number"
  13912. },
  13913. "currency": {
  13914. "description": "货币",
  13915. "type": "string"
  13916. },
  13917. "currencysign": {
  13918. "description": "货币符号",
  13919. "type": "string"
  13920. },
  13921. "decimalplace": {
  13922. "description": "报价小数位",
  13923. "type": "integer"
  13924. },
  13925. "desccityid": {
  13926. "description": "目的地(市)",
  13927. "type": "integer"
  13928. },
  13929. "descprovinceid": {
  13930. "description": "目的地(省)",
  13931. "type": "integer"
  13932. },
  13933. "goodscode": {
  13934. "description": "商品代码(内部)",
  13935. "type": "string"
  13936. },
  13937. "goodsid": {
  13938. "description": "商品ID(自增ID SEQ_GOODS)",
  13939. "type": "integer"
  13940. },
  13941. "goodsname": {
  13942. "description": "商品名称",
  13943. "type": "string"
  13944. },
  13945. "hotindex": {
  13946. "description": "景点热度",
  13947. "type": "integer"
  13948. },
  13949. "last": {
  13950. "description": "现价",
  13951. "type": "number"
  13952. },
  13953. "marketid": {
  13954. "description": "所属市场ID",
  13955. "type": "integer"
  13956. },
  13957. "picurls": {
  13958. "description": "介绍图片[多张用逗号分隔]",
  13959. "type": "string"
  13960. },
  13961. "quoteminunit": {
  13962. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13963. "type": "integer"
  13964. },
  13965. "trademode": {
  13966. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13967. "type": "integer"
  13968. },
  13969. "videourls": {
  13970. "description": "介绍视频[多张用逗号分隔]",
  13971. "type": "string"
  13972. }
  13973. }
  13974. },
  13975. "models.HybsMyBuyOrderDetail": {
  13976. "type": "object",
  13977. "required": [
  13978. "accountid",
  13979. "buyorsell",
  13980. "goodscode",
  13981. "goodsid",
  13982. "goodsname",
  13983. "marketid",
  13984. "orderid",
  13985. "orderqty",
  13986. "ordertime",
  13987. "trademode"
  13988. ],
  13989. "properties": {
  13990. "accountid": {
  13991. "description": "账户ID[报价币种]",
  13992. "type": "integer"
  13993. },
  13994. "agreeunit": {
  13995. "description": "合约单位",
  13996. "type": "number"
  13997. },
  13998. "buyorsell": {
  13999. "description": "买卖 - 0:买 1:卖",
  14000. "type": "integer"
  14001. },
  14002. "cancelqty": {
  14003. "description": "撤单数量",
  14004. "type": "integer"
  14005. },
  14006. "currencysign": {
  14007. "description": "货币符号",
  14008. "type": "string"
  14009. },
  14010. "decimalplace": {
  14011. "description": "报价小数位",
  14012. "type": "integer"
  14013. },
  14014. "goodscode": {
  14015. "description": "商品代码(内部)",
  14016. "type": "string"
  14017. },
  14018. "goodsid": {
  14019. "description": "商品ID",
  14020. "type": "integer"
  14021. },
  14022. "goodsname": {
  14023. "description": "商品名称",
  14024. "type": "string"
  14025. },
  14026. "listingselecttype": {
  14027. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14028. "type": "integer"
  14029. },
  14030. "marketid": {
  14031. "description": "市场ID",
  14032. "type": "integer"
  14033. },
  14034. "mybuystatus": {
  14035. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14036. "type": "integer"
  14037. },
  14038. "orderamount": {
  14039. "description": "委托金额",
  14040. "type": "number"
  14041. },
  14042. "orderid": {
  14043. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14044. "type": "string"
  14045. },
  14046. "orderprice": {
  14047. "description": "委托价格",
  14048. "type": "number"
  14049. },
  14050. "orderqty": {
  14051. "description": "委托数量",
  14052. "type": "integer"
  14053. },
  14054. "orderstatus": {
  14055. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14056. "type": "integer"
  14057. },
  14058. "ordertime": {
  14059. "description": "委托时间",
  14060. "type": "string"
  14061. },
  14062. "picurls1": {
  14063. "description": "预售商品介绍图片[多张用逗号分隔]",
  14064. "type": "string"
  14065. },
  14066. "picurls2": {
  14067. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14068. "type": "string"
  14069. },
  14070. "trademode": {
  14071. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14072. "type": "integer"
  14073. },
  14074. "tradeqty": {
  14075. "description": "成交数量",
  14076. "type": "integer"
  14077. },
  14078. "vendorname1": {
  14079. "description": "预售商品供应商名称",
  14080. "type": "string"
  14081. },
  14082. "vendorname2": {
  14083. "description": "挂牌商品供应商名称",
  14084. "type": "string"
  14085. }
  14086. }
  14087. },
  14088. "models.Loginaccount": {
  14089. "type": "object",
  14090. "required": [
  14091. "loginid"
  14092. ],
  14093. "properties": {
  14094. "canoutin": {
  14095. "description": "是否可出入金 - 0:不可 1:可",
  14096. "type": "integer"
  14097. },
  14098. "clientroleid": {
  14099. "description": "终端角色ID",
  14100. "type": "integer"
  14101. },
  14102. "haslogined": {
  14103. "description": "是否已登录 - 0:未登录 1:已登录",
  14104. "type": "integer"
  14105. },
  14106. "hasupdatedpwd": {
  14107. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14108. "type": "integer"
  14109. },
  14110. "lastloginip": {
  14111. "description": "最新登录地址",
  14112. "type": "string"
  14113. },
  14114. "lastloginmode": {
  14115. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14116. "type": "integer"
  14117. },
  14118. "lastloginremark": {
  14119. "description": "最新登录描述",
  14120. "type": "string"
  14121. },
  14122. "lastlogintime": {
  14123. "description": "最新登录时间",
  14124. "type": "string"
  14125. },
  14126. "logincode": {
  14127. "description": "登录代码",
  14128. "type": "string"
  14129. },
  14130. "loginfailnum": {
  14131. "description": "连续登录失败次数(登录成功时清零)",
  14132. "type": "integer"
  14133. },
  14134. "loginid": {
  14135. "description": "登陆账号",
  14136. "type": "integer"
  14137. },
  14138. "loginport": {
  14139. "description": "最新登录端口",
  14140. "type": "integer"
  14141. },
  14142. "loginstatus": {
  14143. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14144. "type": "integer"
  14145. },
  14146. "loginusertype": {
  14147. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14148. "type": "integer"
  14149. },
  14150. "modifierid": {
  14151. "description": "修改人",
  14152. "type": "integer"
  14153. },
  14154. "modifytime": {
  14155. "description": "修改时间",
  14156. "type": "string"
  14157. },
  14158. "pwdwrongcount": {
  14159. "description": "密码错误次数",
  14160. "type": "integer"
  14161. },
  14162. "taaccountrighttype": {
  14163. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14164. "type": "integer"
  14165. },
  14166. "unfreezetime": {
  14167. "description": "账户解冻时间",
  14168. "type": "string"
  14169. },
  14170. "userid": {
  14171. "description": "用户ID",
  14172. "type": "integer"
  14173. }
  14174. }
  14175. },
  14176. "models.Market": {
  14177. "type": "object",
  14178. "required": [
  14179. "marketid",
  14180. "marketstatus",
  14181. "openmethod",
  14182. "reckonpricealgorithm",
  14183. "trademode",
  14184. "tradeproperty"
  14185. ],
  14186. "properties": {
  14187. "auctionwrtype": {
  14188. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14189. "type": "integer"
  14190. },
  14191. "canacceptquote": {
  14192. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14193. "type": "integer"
  14194. },
  14195. "cangoodsexercise": {
  14196. "description": "[期权]是否可现货行权- 0:否 1:是",
  14197. "type": "integer"
  14198. },
  14199. "cangoodsexercisetype": {
  14200. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14201. "type": "integer"
  14202. },
  14203. "canmanualquotestrike": {
  14204. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14205. "type": "integer"
  14206. },
  14207. "canmutistage": {
  14208. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14209. "type": "integer"
  14210. },
  14211. "canpreexercise": {
  14212. "description": "[期权]是否可预申报- 0:否 1:是",
  14213. "type": "integer"
  14214. },
  14215. "clearinterval": {
  14216. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14217. "type": "integer"
  14218. },
  14219. "contracttmp": {
  14220. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14221. "type": "string"
  14222. },
  14223. "exchareaid": {
  14224. "description": "所属交易所,可以没有",
  14225. "type": "integer"
  14226. },
  14227. "goodstype": {
  14228. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14229. "type": "integer"
  14230. },
  14231. "hasrebate": {
  14232. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14233. "type": "integer"
  14234. },
  14235. "hastradecredit": {
  14236. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14237. "type": "integer"
  14238. },
  14239. "haswr": {
  14240. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14241. "type": "integer"
  14242. },
  14243. "isdeductmargin": {
  14244. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14245. "type": "integer"
  14246. },
  14247. "isrecordsource": {
  14248. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14249. "type": "integer"
  14250. },
  14251. "isreleasemargin": {
  14252. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14253. "type": "integer"
  14254. },
  14255. "marginformula": {
  14256. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14257. "type": "integer"
  14258. },
  14259. "marginformula2": {
  14260. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14261. "type": "integer"
  14262. },
  14263. "marketid": {
  14264. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14265. "type": "integer"
  14266. },
  14267. "marketname": {
  14268. "description": "市场名称",
  14269. "type": "string"
  14270. },
  14271. "marketserviceid": {
  14272. "description": "市场服务ID",
  14273. "type": "integer"
  14274. },
  14275. "marketstatus": {
  14276. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14277. "type": "integer"
  14278. },
  14279. "markettype": {
  14280. "description": "市场类型- 1:非交易服务 2:交易服务",
  14281. "type": "integer"
  14282. },
  14283. "matchermode": {
  14284. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14285. "type": "integer"
  14286. },
  14287. "openmethod": {
  14288. "description": "开盘模式 - 0 自动 1手动",
  14289. "type": "integer"
  14290. },
  14291. "otcuserid": {
  14292. "description": "场外期权做市商[场外期权]",
  14293. "type": "integer"
  14294. },
  14295. "outersynctime": {
  14296. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14297. "type": "string"
  14298. },
  14299. "pendingflag": {
  14300. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14301. "type": "integer"
  14302. },
  14303. "pendingtime": {
  14304. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14305. "type": "string"
  14306. },
  14307. "performancetempid": {
  14308. "description": "履约计划模板ID - 作废",
  14309. "type": "integer"
  14310. },
  14311. "premiumquotemode": {
  14312. "description": "权利金报价方式 - 1:自动 2:手动",
  14313. "type": "integer"
  14314. },
  14315. "rebateratio": {
  14316. "description": "返利比率[竞价式]",
  14317. "type": "number"
  14318. },
  14319. "reckonorder": {
  14320. "description": "结算顺序",
  14321. "type": "integer"
  14322. },
  14323. "reckonpricealgorithm": {
  14324. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14325. "type": "integer"
  14326. },
  14327. "reckonpriceparam": {
  14328. "description": "结算价参数",
  14329. "type": "integer"
  14330. },
  14331. "reckontime": {
  14332. "description": "结算时间[通道交易-对冲](HH:mm)",
  14333. "type": "string"
  14334. },
  14335. "roleprioritytype": {
  14336. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14337. "type": "integer"
  14338. },
  14339. "selllistingauditflag": {
  14340. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14341. "type": "integer"
  14342. },
  14343. "trademarkettype": {
  14344. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14345. "type": "integer"
  14346. },
  14347. "trademode": {
  14348. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14349. "type": "integer"
  14350. },
  14351. "tradeproperty": {
  14352. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14353. "type": "integer"
  14354. },
  14355. "tradetype": {
  14356. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14357. "type": "integer"
  14358. }
  14359. }
  14360. },
  14361. "models.Marketrun": {
  14362. "type": "object",
  14363. "required": [
  14364. "marketid",
  14365. "nexttradedate",
  14366. "reckonflag",
  14367. "runstatus",
  14368. "tradedate",
  14369. "tradedate2"
  14370. ],
  14371. "properties": {
  14372. "afternexttradedate": {
  14373. "description": "下下交易日",
  14374. "type": "string"
  14375. },
  14376. "clearquoteflag": {
  14377. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14378. "type": "integer"
  14379. },
  14380. "lastreckondate": {
  14381. "description": "最新交易日(结算成功)",
  14382. "type": "string"
  14383. },
  14384. "machinedate": {
  14385. "description": "机器时间",
  14386. "type": "string"
  14387. },
  14388. "manualflag": {
  14389. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14390. "type": "integer"
  14391. },
  14392. "marketid": {
  14393. "description": "市场ID",
  14394. "type": "integer"
  14395. },
  14396. "nexttradedate": {
  14397. "description": "下一交易日",
  14398. "type": "string"
  14399. },
  14400. "pretradedate": {
  14401. "description": "上一交易日",
  14402. "type": "string"
  14403. },
  14404. "reckonflag": {
  14405. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14406. "type": "integer"
  14407. },
  14408. "runstatus": {
  14409. "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.今日免清算",
  14410. "type": "integer"
  14411. },
  14412. "sectionid": {
  14413. "description": "时间段号[多时段时用]",
  14414. "type": "integer"
  14415. },
  14416. "tradedate": {
  14417. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14418. "type": "string"
  14419. },
  14420. "tradedate2": {
  14421. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14422. "type": "string"
  14423. },
  14424. "updatetime": {
  14425. "description": "更新时间",
  14426. "type": "string"
  14427. }
  14428. }
  14429. },
  14430. "models.Messageboard": {
  14431. "type": "object",
  14432. "required": [
  14433. "messageboardid"
  14434. ],
  14435. "properties": {
  14436. "contactnum": {
  14437. "description": "联系电话",
  14438. "type": "string"
  14439. },
  14440. "createtime": {
  14441. "description": "创建时间",
  14442. "type": "string"
  14443. },
  14444. "message": {
  14445. "description": "留言信息",
  14446. "type": "string"
  14447. },
  14448. "messageboardid": {
  14449. "description": "留言簿ID(SEQ_MessageBoard)",
  14450. "type": "integer"
  14451. },
  14452. "userid": {
  14453. "description": "用户ID",
  14454. "type": "integer"
  14455. }
  14456. }
  14457. },
  14458. "models.MyCoupon": {
  14459. "type": "object",
  14460. "required": [
  14461. "accountid",
  14462. "coupontypeid"
  14463. ],
  14464. "properties": {
  14465. "accountid": {
  14466. "description": "资金账户ID",
  14467. "type": "integer"
  14468. },
  14469. "areauserid": {
  14470. "description": "所属机构",
  14471. "type": "integer"
  14472. },
  14473. "conditionvalue": {
  14474. "description": "条件阈值(可为0)",
  14475. "type": "number"
  14476. },
  14477. "couponcategroy": {
  14478. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14479. "type": "integer"
  14480. },
  14481. "couponname": {
  14482. "description": "优惠券名称",
  14483. "type": "string"
  14484. },
  14485. "coupontypeid": {
  14486. "description": "优惠券类型ID",
  14487. "type": "string"
  14488. },
  14489. "couponvalue": {
  14490. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14491. "type": "number"
  14492. },
  14493. "curfreezeqty": {
  14494. "description": "期末冻结数量",
  14495. "type": "integer"
  14496. },
  14497. "curqty": {
  14498. "description": "期末数量",
  14499. "type": "integer"
  14500. },
  14501. "isgeneral": {
  14502. "description": "是否通用券 - 0:否 1:是",
  14503. "type": "integer"
  14504. },
  14505. "isunusable": {
  14506. "description": "是否不可用",
  14507. "type": "boolean"
  14508. },
  14509. "limitedflag": {
  14510. "description": "是否指定商品 - 0:不限 1:限制",
  14511. "type": "integer"
  14512. },
  14513. "limitedgoodsids": {
  14514. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14515. "type": "string"
  14516. },
  14517. "orifreezeqty": {
  14518. "description": "期初冻结数量",
  14519. "type": "integer"
  14520. },
  14521. "oriqty": {
  14522. "description": "期初数量",
  14523. "type": "integer"
  14524. },
  14525. "reasontype": {
  14526. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14527. "type": "integer"
  14528. },
  14529. "todaydecrease": {
  14530. "description": "今日减少",
  14531. "type": "integer"
  14532. },
  14533. "todayincrease": {
  14534. "description": "今日增加",
  14535. "type": "integer"
  14536. },
  14537. "userid": {
  14538. "description": "用户ID",
  14539. "type": "integer"
  14540. },
  14541. "userscope": {
  14542. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14543. "type": "string"
  14544. }
  14545. }
  14546. },
  14547. "models.MyCouponHold": {
  14548. "type": "object",
  14549. "required": [
  14550. "couponholdid"
  14551. ],
  14552. "properties": {
  14553. "accountid": {
  14554. "description": "资金账户ID",
  14555. "type": "integer"
  14556. },
  14557. "conditionvalue": {
  14558. "description": "条件阈值(可为0)",
  14559. "type": "number"
  14560. },
  14561. "couponcategroy": {
  14562. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14563. "type": "integer"
  14564. },
  14565. "couponholdid": {
  14566. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14567. "type": "string"
  14568. },
  14569. "couponname": {
  14570. "description": "优惠券名称",
  14571. "type": "string"
  14572. },
  14573. "coupontypeid": {
  14574. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14575. "type": "string"
  14576. },
  14577. "couponvalue": {
  14578. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14579. "type": "number"
  14580. },
  14581. "createtime": {
  14582. "description": "创建时间",
  14583. "type": "string"
  14584. },
  14585. "enddate": {
  14586. "description": "结束日期",
  14587. "type": "string"
  14588. },
  14589. "giveapplyid": {
  14590. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14591. "type": "integer"
  14592. },
  14593. "holdstatus": {
  14594. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14595. "type": "integer"
  14596. },
  14597. "isgeneral": {
  14598. "description": "是否通用券 - 0:否 1:是",
  14599. "type": "integer"
  14600. },
  14601. "limitedflag": {
  14602. "description": "是否指定商品 - 0:不限 1:限制",
  14603. "type": "integer"
  14604. },
  14605. "limitedgoodsids": {
  14606. "description": "指定商品IDs[逗号分隔]",
  14607. "type": "string"
  14608. },
  14609. "qty": {
  14610. "description": "数量(按1平铺)",
  14611. "type": "integer"
  14612. },
  14613. "startdate": {
  14614. "description": "开始日期",
  14615. "type": "string"
  14616. },
  14617. "userid": {
  14618. "description": "用户ID",
  14619. "type": "integer"
  14620. },
  14621. "userscope": {
  14622. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14623. "type": "string"
  14624. }
  14625. }
  14626. },
  14627. "models.MyUsedCoupon": {
  14628. "type": "object",
  14629. "required": [
  14630. "coupontypeid",
  14631. "orderid"
  14632. ],
  14633. "properties": {
  14634. "accountid": {
  14635. "description": "资金账户ID(买方)",
  14636. "type": "integer"
  14637. },
  14638. "conditionvalue": {
  14639. "description": "条件阈值(可为0)",
  14640. "type": "number"
  14641. },
  14642. "couponcategroy": {
  14643. "description": "种类 - 1:现金券 2:折扣券",
  14644. "type": "integer"
  14645. },
  14646. "couponname": {
  14647. "description": "优惠券名称",
  14648. "type": "string"
  14649. },
  14650. "coupontypeid": {
  14651. "description": "优惠券类型ID(买方)",
  14652. "type": "string"
  14653. },
  14654. "couponvalue": {
  14655. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14656. "type": "number"
  14657. },
  14658. "createtime": {
  14659. "description": "创建时间",
  14660. "type": "string"
  14661. },
  14662. "goodsid": {
  14663. "description": "商品ID",
  14664. "type": "integer"
  14665. },
  14666. "handlestatus": {
  14667. "description": "处理状态",
  14668. "type": "integer"
  14669. },
  14670. "marketid": {
  14671. "description": "市场ID",
  14672. "type": "integer"
  14673. },
  14674. "offamount": {
  14675. "description": "优惠金额",
  14676. "type": "number"
  14677. },
  14678. "orderid": {
  14679. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14680. "type": "string"
  14681. },
  14682. "sellaccountid": {
  14683. "description": "资金账户ID(卖方)",
  14684. "type": "integer"
  14685. },
  14686. "tradeamount": {
  14687. "description": "成交金额",
  14688. "type": "number"
  14689. },
  14690. "tradeid": {
  14691. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14692. "type": "string"
  14693. },
  14694. "usedqty": {
  14695. "description": "使用数量",
  14696. "type": "integer"
  14697. }
  14698. }
  14699. },
  14700. "models.OperationPrimaryMenu": {
  14701. "type": "object",
  14702. "properties": {
  14703. "Children": {
  14704. "description": "二级功能菜单",
  14705. "type": "array",
  14706. "items": {
  14707. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14708. }
  14709. },
  14710. "Key": {
  14711. "description": "菜单KEY",
  14712. "type": "string"
  14713. },
  14714. "Label": {
  14715. "description": "菜单标题",
  14716. "type": "string"
  14717. }
  14718. }
  14719. },
  14720. "models.OperationSecondaryMenu": {
  14721. "type": "object",
  14722. "properties": {
  14723. "Key": {
  14724. "description": "菜单KEY",
  14725. "type": "string"
  14726. },
  14727. "Label": {
  14728. "description": "菜单标题",
  14729. "type": "string"
  14730. },
  14731. "TabList": {
  14732. "description": "三级功能菜单",
  14733. "type": "array",
  14734. "items": {
  14735. "$ref": "#/definitions/models.OperationTabMenu"
  14736. }
  14737. }
  14738. }
  14739. },
  14740. "models.OperationTabMenu": {
  14741. "type": "object",
  14742. "properties": {
  14743. "Key": {
  14744. "description": "菜单KEY",
  14745. "type": "string"
  14746. },
  14747. "Label": {
  14748. "description": "菜单标题",
  14749. "type": "string"
  14750. }
  14751. }
  14752. },
  14753. "models.PendingAuditBizModel": {
  14754. "type": "object",
  14755. "properties": {
  14756. "accountid": {
  14757. "description": "现货账户",
  14758. "type": "string"
  14759. },
  14760. "areaname": {
  14761. "description": "所属部门",
  14762. "type": "string"
  14763. },
  14764. "bizid": {
  14765. "description": "业务ID",
  14766. "type": "string"
  14767. },
  14768. "bizname": {
  14769. "description": "业务名称",
  14770. "type": "string"
  14771. },
  14772. "status": {
  14773. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14774. "type": "integer"
  14775. },
  14776. "type": {
  14777. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  14778. "type": "integer"
  14779. }
  14780. }
  14781. },
  14782. "models.QueryErrorInfosRsp": {
  14783. "type": "object",
  14784. "required": [
  14785. "errorid"
  14786. ],
  14787. "properties": {
  14788. "description": {
  14789. "description": "异常描述",
  14790. "type": "string"
  14791. },
  14792. "errorcode": {
  14793. "description": "异常代码",
  14794. "type": "string"
  14795. },
  14796. "errorid": {
  14797. "description": "异常ID",
  14798. "type": "integer"
  14799. },
  14800. "modulecode": {
  14801. "description": "所属模块",
  14802. "type": "string"
  14803. },
  14804. "operatecode": {
  14805. "description": "所属操作",
  14806. "type": "string"
  14807. },
  14808. "rownumber": {
  14809. "description": "行号",
  14810. "type": "string"
  14811. }
  14812. }
  14813. },
  14814. "models.QueryHedgeOrderDetailRsp": {
  14815. "type": "object",
  14816. "properties": {
  14817. "accountid": {
  14818. "description": "账户ID",
  14819. "type": "integer"
  14820. },
  14821. "buyorsell": {
  14822. "description": "买卖 - 0:买 1:卖",
  14823. "type": "integer"
  14824. },
  14825. "channelbuildtype": {
  14826. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14827. "type": "integer"
  14828. },
  14829. "channelinnerorderstatus": {
  14830. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14831. "type": "integer"
  14832. },
  14833. "channeloperatetype": {
  14834. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14835. "type": "integer"
  14836. },
  14837. "closetype": {
  14838. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14839. "type": "integer"
  14840. },
  14841. "curexchangerate": {
  14842. "description": "当前汇率",
  14843. "type": "number"
  14844. },
  14845. "exchangefullname": {
  14846. "description": "外部交易所全称",
  14847. "type": "string"
  14848. },
  14849. "goodscode": {
  14850. "description": "商品代码(内部)",
  14851. "type": "string"
  14852. },
  14853. "goodsid": {
  14854. "description": "商品ID",
  14855. "type": "integer"
  14856. },
  14857. "goodsname": {
  14858. "description": "商品名称",
  14859. "type": "string"
  14860. },
  14861. "marketid": {
  14862. "description": "市场ID",
  14863. "type": "integer"
  14864. },
  14865. "openfreezemargin": {
  14866. "description": "冻结保证金(冻结交易金额)",
  14867. "type": "number"
  14868. },
  14869. "orderid": {
  14870. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14871. "type": "string"
  14872. },
  14873. "orderprice": {
  14874. "description": "委托价格(账户)",
  14875. "type": "number"
  14876. },
  14877. "orderqty": {
  14878. "description": "委托数量",
  14879. "type": "integer"
  14880. },
  14881. "ordertime": {
  14882. "description": "委托时间",
  14883. "type": "string"
  14884. },
  14885. "pricemode": {
  14886. "description": "取价方式 - 1:市价 2: 限价",
  14887. "type": "integer"
  14888. },
  14889. "tradedate": {
  14890. "description": "交易日(yyyyMMdd)",
  14891. "type": "string"
  14892. },
  14893. "tradeqty": {
  14894. "description": "成交数量",
  14895. "type": "integer"
  14896. }
  14897. }
  14898. },
  14899. "models.QueryHedgeTradeDetailRsp": {
  14900. "type": "object",
  14901. "properties": {
  14902. "accountid": {
  14903. "description": "账号ID",
  14904. "type": "integer"
  14905. },
  14906. "buyorsell": {
  14907. "description": "方向 - 0:买 1:卖",
  14908. "type": "integer"
  14909. },
  14910. "channelbuildtype": {
  14911. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14912. "type": "integer"
  14913. },
  14914. "closecharge": {
  14915. "description": "平仓手续费(账户)",
  14916. "type": "number"
  14917. },
  14918. "closecharge2": {
  14919. "description": "平仓手续费(商品)",
  14920. "type": "number"
  14921. },
  14922. "closetype": {
  14923. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14924. "type": "integer"
  14925. },
  14926. "curexchangerate": {
  14927. "description": "当前汇率",
  14928. "type": "number"
  14929. },
  14930. "exchangefullname": {
  14931. "description": "外部交易所全称",
  14932. "type": "string"
  14933. },
  14934. "goodscode": {
  14935. "description": "商品代码(内部)",
  14936. "type": "string"
  14937. },
  14938. "goodsid": {
  14939. "description": "商品ID",
  14940. "type": "integer"
  14941. },
  14942. "goodsname": {
  14943. "description": "商品名称",
  14944. "type": "string"
  14945. },
  14946. "marketid": {
  14947. "description": "市场ID",
  14948. "type": "integer"
  14949. },
  14950. "opencharge": {
  14951. "description": "建仓手续费(账户)",
  14952. "type": "number"
  14953. },
  14954. "opencharge2": {
  14955. "description": "建仓手续费(商品)",
  14956. "type": "number"
  14957. },
  14958. "orderid": {
  14959. "description": "委托单号",
  14960. "type": "string"
  14961. },
  14962. "tradeamount": {
  14963. "description": "成交金额(账户)",
  14964. "type": "number"
  14965. },
  14966. "tradedate": {
  14967. "description": "交易日(yyyyMMdd)",
  14968. "type": "string"
  14969. },
  14970. "tradeid": {
  14971. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14972. "type": "string"
  14973. },
  14974. "tradeprice": {
  14975. "description": "成交价格",
  14976. "type": "number"
  14977. },
  14978. "tradeqty": {
  14979. "description": "成交数量",
  14980. "type": "integer"
  14981. },
  14982. "tradetime": {
  14983. "description": "成交时间",
  14984. "type": "string"
  14985. },
  14986. "tradetype": {
  14987. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14988. "type": "integer"
  14989. }
  14990. }
  14991. },
  14992. "models.QuotePrimaryMenu": {
  14993. "type": "object",
  14994. "properties": {
  14995. "Index": {
  14996. "description": "序号",
  14997. "type": "integer"
  14998. },
  14999. "Key": {
  15000. "description": "键名",
  15001. "type": "string"
  15002. },
  15003. "Name": {
  15004. "description": "菜单名称",
  15005. "type": "string"
  15006. },
  15007. "SubMenus": {
  15008. "description": "子菜单",
  15009. "type": "array",
  15010. "items": {
  15011. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15012. }
  15013. },
  15014. "SubTitleType": {
  15015. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15016. "type": "integer"
  15017. },
  15018. "TradeModes": {
  15019. "description": "包含市场交易类型",
  15020. "type": "string"
  15021. }
  15022. }
  15023. },
  15024. "models.QuoteSecondaryMenu": {
  15025. "type": "object",
  15026. "properties": {
  15027. "ExExchangeCode": {
  15028. "description": "外部交易所代码",
  15029. "type": "string"
  15030. },
  15031. "ExExchangeID": {
  15032. "description": "外部交易所ID",
  15033. "type": "integer"
  15034. },
  15035. "GoodsGroupIDs": {
  15036. "description": "商品组ID列表",
  15037. "type": "array",
  15038. "items": {
  15039. "type": "integer"
  15040. }
  15041. },
  15042. "Index": {
  15043. "description": "序号",
  15044. "type": "integer"
  15045. },
  15046. "MarketID": {
  15047. "description": "市场ID",
  15048. "type": "integer"
  15049. },
  15050. "MenuTitle": {
  15051. "description": "菜单标题(市场名称或外部交易所名称)",
  15052. "type": "string"
  15053. },
  15054. "TradeMode": {
  15055. "description": "交易模式",
  15056. "type": "integer"
  15057. }
  15058. }
  15059. },
  15060. "models.RelatedGoodsEx": {
  15061. "type": "object",
  15062. "properties": {
  15063. "goodscode": {
  15064. "description": "商品代码",
  15065. "type": "string"
  15066. },
  15067. "goodsid": {
  15068. "description": "商品id",
  15069. "type": "integer"
  15070. },
  15071. "goodsname": {
  15072. "description": "商品名称",
  15073. "type": "string"
  15074. }
  15075. }
  15076. },
  15077. "models.SearchGoods": {
  15078. "type": "object",
  15079. "required": [
  15080. "goodscode",
  15081. "goodsid",
  15082. "goodsname",
  15083. "marketid",
  15084. "trademode"
  15085. ],
  15086. "properties": {
  15087. "goodscode": {
  15088. "description": "商品代码(内部)",
  15089. "type": "string"
  15090. },
  15091. "goodsid": {
  15092. "description": "商品ID(自增ID SEQ_GOODS)",
  15093. "type": "integer"
  15094. },
  15095. "goodsname": {
  15096. "description": "商品名称",
  15097. "type": "string"
  15098. },
  15099. "marketid": {
  15100. "description": "所属市场ID",
  15101. "type": "integer"
  15102. },
  15103. "marketname": {
  15104. "description": "市场名称",
  15105. "type": "string"
  15106. },
  15107. "trademode": {
  15108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15109. "type": "integer"
  15110. }
  15111. }
  15112. },
  15113. "models.Systemparam": {
  15114. "type": "object",
  15115. "required": [
  15116. "paramcode"
  15117. ],
  15118. "properties": {
  15119. "loginid": {
  15120. "description": "更新用户账号,登录账号",
  15121. "type": "string"
  15122. },
  15123. "modifyflag": {
  15124. "description": "修改标志0 不允许修改 1 允许修改",
  15125. "type": "integer"
  15126. },
  15127. "paramcode": {
  15128. "description": "参数代码",
  15129. "type": "string"
  15130. },
  15131. "paramname": {
  15132. "description": "参数名",
  15133. "type": "string"
  15134. },
  15135. "paramtype": {
  15136. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15137. "type": "integer"
  15138. },
  15139. "paramvalue": {
  15140. "description": "参数值",
  15141. "type": "string"
  15142. },
  15143. "paramvalue2": {
  15144. "description": "参数值(CLOB)",
  15145. "type": "string"
  15146. },
  15147. "regexpress": {
  15148. "description": "正则表达式",
  15149. "type": "string"
  15150. },
  15151. "remark": {
  15152. "description": "备注",
  15153. "type": "string"
  15154. },
  15155. "serverip": {
  15156. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15157. "type": "string"
  15158. },
  15159. "showflag": {
  15160. "description": "是否显示0 不显示 1 显示",
  15161. "type": "integer"
  15162. },
  15163. "updatetime": {
  15164. "description": "更新时间",
  15165. "type": "string"
  15166. },
  15167. "userid": {
  15168. "description": "更新用户ID",
  15169. "type": "integer"
  15170. }
  15171. }
  15172. },
  15173. "models.Szdz3convertconfig": {
  15174. "type": "object",
  15175. "required": [
  15176. "converttype",
  15177. "innergoodsid",
  15178. "outergoodscode"
  15179. ],
  15180. "properties": {
  15181. "canin": {
  15182. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15183. "type": "integer"
  15184. },
  15185. "canout": {
  15186. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15187. "type": "integer"
  15188. },
  15189. "converttype": {
  15190. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15191. "type": "integer"
  15192. },
  15193. "createtime": {
  15194. "description": "创建时间",
  15195. "type": "string"
  15196. },
  15197. "creatorid": {
  15198. "description": "创建人",
  15199. "type": "integer"
  15200. },
  15201. "daymaxvalue": {
  15202. "description": "当日最大转入限制",
  15203. "type": "number"
  15204. },
  15205. "freezedays": {
  15206. "description": "冻结天数 [5:花生米转交易]",
  15207. "type": "integer"
  15208. },
  15209. "innergoodsid": {
  15210. "description": "内部商品ID[交易]",
  15211. "type": "integer"
  15212. },
  15213. "inratio": {
  15214. "description": "目标值",
  15215. "type": "integer"
  15216. },
  15217. "modifierid": {
  15218. "description": "修改人",
  15219. "type": "integer"
  15220. },
  15221. "modifytime": {
  15222. "description": "修改时间",
  15223. "type": "string"
  15224. },
  15225. "outergoodscode": {
  15226. "description": "外部商品代码[JD\\PD]",
  15227. "type": "string"
  15228. },
  15229. "outratio": {
  15230. "description": "源值",
  15231. "type": "integer"
  15232. },
  15233. "pddecimalplace": {
  15234. "description": "PD小数位",
  15235. "type": "integer"
  15236. },
  15237. "timemaxvalue": {
  15238. "description": "单次最大转入限制",
  15239. "type": "number"
  15240. },
  15241. "timeminvalue": {
  15242. "description": "单次最小转入限制",
  15243. "type": "number"
  15244. }
  15245. }
  15246. },
  15247. "models.Szdz3searchwhitelist": {
  15248. "type": "object",
  15249. "required": [
  15250. "userid"
  15251. ],
  15252. "properties": {
  15253. "createtime": {
  15254. "description": "创建时间",
  15255. "type": "string"
  15256. },
  15257. "creatorid": {
  15258. "description": "创建人",
  15259. "type": "integer"
  15260. },
  15261. "modifierid": {
  15262. "description": "修改人",
  15263. "type": "integer"
  15264. },
  15265. "modifytime": {
  15266. "description": "修改时间",
  15267. "type": "string"
  15268. },
  15269. "userid": {
  15270. "description": "用户ID",
  15271. "type": "integer"
  15272. }
  15273. }
  15274. },
  15275. "models.Taaccount": {
  15276. "type": "object",
  15277. "required": [
  15278. "accountid",
  15279. "userid"
  15280. ],
  15281. "properties": {
  15282. "accountflag": {
  15283. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15284. "type": "integer"
  15285. },
  15286. "accountid": {
  15287. "description": "资金账户ID",
  15288. "type": "integer"
  15289. },
  15290. "accountname": {
  15291. "description": "账户名称",
  15292. "type": "string"
  15293. },
  15294. "balance": {
  15295. "description": "期初余额",
  15296. "type": "number"
  15297. },
  15298. "capitalbalance": {
  15299. "description": "本金余额[外部子账户实际出入金余额]",
  15300. "type": "number"
  15301. },
  15302. "changeflag": {
  15303. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15304. "type": "integer"
  15305. },
  15306. "changetime": {
  15307. "description": "账户状态变更时间",
  15308. "type": "string"
  15309. },
  15310. "closepl": {
  15311. "description": "今日平仓盈亏",
  15312. "type": "number"
  15313. },
  15314. "creditdecrease": {
  15315. "description": "今日授信减少",
  15316. "type": "number"
  15317. },
  15318. "creditincrease": {
  15319. "description": "今日授信增加",
  15320. "type": "number"
  15321. },
  15322. "currencyid": {
  15323. "description": "货币ID",
  15324. "type": "integer"
  15325. },
  15326. "currentbalance": {
  15327. "description": "期末余额",
  15328. "type": "number"
  15329. },
  15330. "freezecharge": {
  15331. "description": "手续费冻结",
  15332. "type": "number"
  15333. },
  15334. "freezemargin": {
  15335. "description": "冻结保证金",
  15336. "type": "number"
  15337. },
  15338. "fromaccountid": {
  15339. "description": "所属上级账户",
  15340. "type": "integer"
  15341. },
  15342. "inamount": {
  15343. "description": "今日入金金额(包括三方入金)",
  15344. "type": "number"
  15345. },
  15346. "ismain": {
  15347. "description": "是否母账号 0:不是母账户 1:是母账户",
  15348. "type": "integer"
  15349. },
  15350. "ismarketaccount": {
  15351. "description": "是否机构接单账号 0:不是 1:是",
  15352. "type": "integer"
  15353. },
  15354. "isreckonaccount": {
  15355. "description": "是否机构分润账号 0:不是 1:是",
  15356. "type": "integer"
  15357. },
  15358. "mortgagecredit": {
  15359. "description": "授信金额",
  15360. "type": "number"
  15361. },
  15362. "orifreezecharge": {
  15363. "description": "期初手续费冻结",
  15364. "type": "number"
  15365. },
  15366. "orifreezemargin": {
  15367. "description": "期初冻结保证金",
  15368. "type": "number"
  15369. },
  15370. "orimortgagecredit": {
  15371. "description": "期初授信金额",
  15372. "type": "number"
  15373. },
  15374. "oriothercredit": {
  15375. "description": "期初其它授信金额",
  15376. "type": "number"
  15377. },
  15378. "oriotherfreezemargin": {
  15379. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15380. "type": "number"
  15381. },
  15382. "orioutamountfreeze": {
  15383. "description": "期初出金冻结",
  15384. "type": "number"
  15385. },
  15386. "oriusedmargin": {
  15387. "description": "期初占用保证金",
  15388. "type": "number"
  15389. },
  15390. "othercredit": {
  15391. "description": "其它授信金额",
  15392. "type": "number"
  15393. },
  15394. "othercreditdecrease": {
  15395. "description": "今日其它授信减少",
  15396. "type": "number"
  15397. },
  15398. "othercreditincrease": {
  15399. "description": "今日其它授信增加",
  15400. "type": "number"
  15401. },
  15402. "otherfreezemargin": {
  15403. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15404. "type": "number"
  15405. },
  15406. "otherincome": {
  15407. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15408. "type": "number"
  15409. },
  15410. "otherpay": {
  15411. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15412. "type": "number"
  15413. },
  15414. "outamount": {
  15415. "description": "今日出金金额(包括三方出金)",
  15416. "type": "number"
  15417. },
  15418. "outamountfreeze": {
  15419. "description": "出金冻结",
  15420. "type": "number"
  15421. },
  15422. "outthreshold": {
  15423. "description": "出金阈值",
  15424. "type": "number"
  15425. },
  15426. "parentaccountid": {
  15427. "description": "所属根账号",
  15428. "type": "integer"
  15429. },
  15430. "paycharge": {
  15431. "description": "今日手续费支出",
  15432. "type": "number"
  15433. },
  15434. "relatedaccountstatus": {
  15435. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15436. "type": "integer"
  15437. },
  15438. "relateduserid": {
  15439. "description": "关联用户",
  15440. "type": "integer"
  15441. },
  15442. "serivcegroup": {
  15443. "description": "服务分组",
  15444. "type": "integer"
  15445. },
  15446. "signstatus": {
  15447. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15448. "type": "integer"
  15449. },
  15450. "sublevelpath": {
  15451. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15452. "type": "string"
  15453. },
  15454. "taaccounttype": {
  15455. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15456. "type": "integer"
  15457. },
  15458. "thirdinamount": {
  15459. "description": "今日三方入金",
  15460. "type": "number"
  15461. },
  15462. "thirdoutamount": {
  15463. "description": "今日三方出金",
  15464. "type": "number"
  15465. },
  15466. "tradestatus": {
  15467. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15468. "type": "integer"
  15469. },
  15470. "tradestatuschangetime": {
  15471. "description": "激活时间",
  15472. "type": "string"
  15473. },
  15474. "transferamount": {
  15475. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15476. "type": "number"
  15477. },
  15478. "usedmargin": {
  15479. "description": "占用保证金",
  15480. "type": "number"
  15481. },
  15482. "userid": {
  15483. "description": "用户ID",
  15484. "type": "integer"
  15485. }
  15486. }
  15487. },
  15488. "models.Tablecolumnconfig": {
  15489. "type": "object",
  15490. "required": [
  15491. "autoid"
  15492. ],
  15493. "properties": {
  15494. "aligntype": {
  15495. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15496. "type": "integer"
  15497. },
  15498. "autoid": {
  15499. "description": "AutoID",
  15500. "type": "integer"
  15501. },
  15502. "columnfield": {
  15503. "description": "列字段",
  15504. "type": "string"
  15505. },
  15506. "columntitle": {
  15507. "description": "列Title",
  15508. "type": "string"
  15509. },
  15510. "columnwidth": {
  15511. "description": "列宽",
  15512. "type": "string"
  15513. },
  15514. "formatterstring": {
  15515. "description": "格式化字符",
  15516. "type": "string"
  15517. },
  15518. "formattertype": {
  15519. "description": "格式化类型",
  15520. "type": "string"
  15521. },
  15522. "groupname": {
  15523. "description": "表头分组名称",
  15524. "type": "string"
  15525. },
  15526. "isshow": {
  15527. "description": "是否显示 - 0:不显示 1:显示",
  15528. "type": "integer"
  15529. },
  15530. "needsummary": {
  15531. "description": "是否需要汇总 - 0:不需要 1:需要",
  15532. "type": "integer"
  15533. },
  15534. "orderindex": {
  15535. "description": "顺序",
  15536. "type": "integer"
  15537. },
  15538. "remark": {
  15539. "description": "备注",
  15540. "type": "string"
  15541. },
  15542. "summarytype": {
  15543. "description": "汇总类型 - 1:加总 2:最后一个",
  15544. "type": "integer"
  15545. },
  15546. "tablekey": {
  15547. "description": "列表Key",
  15548. "type": "string"
  15549. }
  15550. }
  15551. },
  15552. "models.Useraccount": {
  15553. "type": "object",
  15554. "required": [
  15555. "userid"
  15556. ],
  15557. "properties": {
  15558. "accountname": {
  15559. "description": "账户名称(机构名称)",
  15560. "type": "string"
  15561. },
  15562. "accountstatus": {
  15563. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15564. "type": "integer"
  15565. },
  15566. "auditremark": {
  15567. "description": "审核备注",
  15568. "type": "string"
  15569. },
  15570. "audittime": {
  15571. "description": "审核时间",
  15572. "type": "string"
  15573. },
  15574. "audituserid": {
  15575. "description": "审核人",
  15576. "type": "integer"
  15577. },
  15578. "broker": {
  15579. "description": "所属经纪人ID",
  15580. "type": "integer"
  15581. },
  15582. "canceltime": {
  15583. "description": "销户时间",
  15584. "type": "string"
  15585. },
  15586. "canceluserid": {
  15587. "description": "销户人",
  15588. "type": "integer"
  15589. },
  15590. "createtime": {
  15591. "description": "创建时间",
  15592. "type": "string"
  15593. },
  15594. "creatorid": {
  15595. "description": "创建人",
  15596. "type": "integer"
  15597. },
  15598. "hasauth": {
  15599. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15600. "type": "integer"
  15601. },
  15602. "isanonymous": {
  15603. "description": "是否匿名下单 - 0:否 1:是",
  15604. "type": "integer"
  15605. },
  15606. "maxinvestornum": {
  15607. "description": "最大用户数(经纪会员下投资者个数)",
  15608. "type": "integer"
  15609. },
  15610. "memberuserid": {
  15611. "description": "所属会员ID",
  15612. "type": "integer"
  15613. },
  15614. "modifierid": {
  15615. "description": "修改人",
  15616. "type": "integer"
  15617. },
  15618. "modifyremark": {
  15619. "description": "变更备注",
  15620. "type": "string"
  15621. },
  15622. "modifystatus": {
  15623. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15624. "type": "integer"
  15625. },
  15626. "modifytime": {
  15627. "description": "修改时间",
  15628. "type": "string"
  15629. },
  15630. "parentuserid": {
  15631. "description": "所属机构ID",
  15632. "type": "integer"
  15633. },
  15634. "reckonaccountid": {
  15635. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15636. "type": "integer"
  15637. },
  15638. "refercount": {
  15639. "description": "推荐总人数",
  15640. "type": "integer"
  15641. },
  15642. "refereeuserid": {
  15643. "description": "推荐人ID",
  15644. "type": "integer"
  15645. },
  15646. "refernum": {
  15647. "description": "推荐码",
  15648. "type": "string"
  15649. },
  15650. "subarealevelpath": {
  15651. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15652. "type": "string"
  15653. },
  15654. "userid": {
  15655. "description": "用户ID",
  15656. "type": "integer"
  15657. },
  15658. "usertype": {
  15659. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15660. "type": "integer"
  15661. }
  15662. }
  15663. },
  15664. "models.Userfavoritegoods": {
  15665. "type": "object",
  15666. "required": [
  15667. "goodsid"
  15668. ],
  15669. "properties": {
  15670. "goodsid": {
  15671. "description": "商品ID",
  15672. "type": "integer"
  15673. }
  15674. }
  15675. },
  15676. "models.Userinfo": {
  15677. "type": "object",
  15678. "required": [
  15679. "userid"
  15680. ],
  15681. "properties": {
  15682. "address": {
  15683. "description": "地址",
  15684. "type": "string"
  15685. },
  15686. "attachment1": {
  15687. "description": "附件1",
  15688. "type": "string"
  15689. },
  15690. "attachment2": {
  15691. "description": "附件2",
  15692. "type": "string"
  15693. },
  15694. "bankaccount": {
  15695. "description": "银行帐号 (加密存储)",
  15696. "type": "string"
  15697. },
  15698. "bankaccountname": {
  15699. "description": "收款人名称",
  15700. "type": "string"
  15701. },
  15702. "bankcardfrontphotourl": {
  15703. "description": "银行卡正面照地址",
  15704. "type": "string"
  15705. },
  15706. "bankid": {
  15707. "description": "银行编码",
  15708. "type": "string"
  15709. },
  15710. "bankname": {
  15711. "description": "银行名称",
  15712. "type": "string"
  15713. },
  15714. "biznature": {
  15715. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15716. "type": "integer"
  15717. },
  15718. "bizscope": {
  15719. "description": "企业经营范围(企业)",
  15720. "type": "string"
  15721. },
  15722. "cardbackphotourl": {
  15723. "description": "证件背面图片地址",
  15724. "type": "string"
  15725. },
  15726. "cardfrontphotourl": {
  15727. "description": "证件正面图片地址",
  15728. "type": "string"
  15729. },
  15730. "cardnum": {
  15731. "description": "证件号码(加密存储)",
  15732. "type": "string"
  15733. },
  15734. "cardtypeid": {
  15735. "description": "证件类型ID",
  15736. "type": "integer"
  15737. },
  15738. "cityid": {
  15739. "description": "市",
  15740. "type": "integer"
  15741. },
  15742. "company": {
  15743. "description": "公司(个人)",
  15744. "type": "string"
  15745. },
  15746. "contactname": {
  15747. "description": "联系人",
  15748. "type": "string"
  15749. },
  15750. "countryid": {
  15751. "description": "国家",
  15752. "type": "integer"
  15753. },
  15754. "createtime": {
  15755. "description": "创建时间",
  15756. "type": "string"
  15757. },
  15758. "creatorid": {
  15759. "description": "创建人",
  15760. "type": "integer"
  15761. },
  15762. "customername": {
  15763. "description": "客户名称(企业名称)",
  15764. "type": "string"
  15765. },
  15766. "districtid": {
  15767. "description": "地区",
  15768. "type": "integer"
  15769. },
  15770. "email": {
  15771. "description": "邮件(加密存储)",
  15772. "type": "string"
  15773. },
  15774. "fax": {
  15775. "description": "传真(加密存储)",
  15776. "type": "string"
  15777. },
  15778. "halfbodyphotourl": {
  15779. "description": "半身照地址",
  15780. "type": "string"
  15781. },
  15782. "hasencrypt": {
  15783. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15784. "type": "integer"
  15785. },
  15786. "headurl": {
  15787. "description": "头像地址",
  15788. "type": "string"
  15789. },
  15790. "legalcardbackphotourl": {
  15791. "description": "法人身份证背面照地址",
  15792. "type": "string"
  15793. },
  15794. "legalcardfrontphotourl": {
  15795. "description": "法人身份证正面照地址",
  15796. "type": "string"
  15797. },
  15798. "legalpersonname": {
  15799. "description": "法人姓名(企业)",
  15800. "type": "string"
  15801. },
  15802. "mobile": {
  15803. "description": "手机号码(加密存储)",
  15804. "type": "string"
  15805. },
  15806. "mobile2": {
  15807. "description": "手机号码[明文-尚志]",
  15808. "type": "string"
  15809. },
  15810. "modifierid": {
  15811. "description": "修改人",
  15812. "type": "integer"
  15813. },
  15814. "modifiertime": {
  15815. "description": "修改时间",
  15816. "type": "string"
  15817. },
  15818. "needinvoice": {
  15819. "description": "是否需要发票 - 0:不需要 1:需要",
  15820. "type": "integer"
  15821. },
  15822. "nickname": {
  15823. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15824. "type": "string"
  15825. },
  15826. "openmode": {
  15827. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15828. "type": "integer"
  15829. },
  15830. "otherurl": {
  15831. "description": "其它图片地址[使用分号分隔]",
  15832. "type": "string"
  15833. },
  15834. "postalcode": {
  15835. "description": "邮政编码",
  15836. "type": "string"
  15837. },
  15838. "provinceid": {
  15839. "description": "省",
  15840. "type": "integer"
  15841. },
  15842. "qq": {
  15843. "description": "QQ(加密存储",
  15844. "type": "string"
  15845. },
  15846. "remark": {
  15847. "description": "备注",
  15848. "type": "string"
  15849. },
  15850. "sex": {
  15851. "description": "用户性别 0: 女 1: 男",
  15852. "type": "integer"
  15853. },
  15854. "signpdfurl": {
  15855. "description": "签约pdf文件",
  15856. "type": "string"
  15857. },
  15858. "telphone": {
  15859. "description": "联系电话(加密存储)",
  15860. "type": "string"
  15861. },
  15862. "userid": {
  15863. "description": "用户ID",
  15864. "type": "integer"
  15865. },
  15866. "userinfotype": {
  15867. "description": "用户信息类型 - 1:个人 2:企业",
  15868. "type": "integer"
  15869. },
  15870. "userstatus": {
  15871. "description": "用户状态 - 1:正常 2:注销",
  15872. "type": "integer"
  15873. },
  15874. "usertype": {
  15875. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15876. "type": "integer"
  15877. },
  15878. "wechat": {
  15879. "description": "微信(加密存储)",
  15880. "type": "string"
  15881. },
  15882. "wskhinfo": {
  15883. "description": "开户申请信息(JSON)",
  15884. "type": "string"
  15885. }
  15886. }
  15887. },
  15888. "models.WRCategoryTree": {
  15889. "type": "object",
  15890. "required": [
  15891. "categoryid"
  15892. ],
  15893. "properties": {
  15894. "areauserid": {
  15895. "description": "所属机构",
  15896. "type": "integer"
  15897. },
  15898. "categorydesc": {
  15899. "description": "类别描述",
  15900. "type": "string"
  15901. },
  15902. "categoryid": {
  15903. "description": "类别ID(SEQ_WRCATEGORY)",
  15904. "type": "integer"
  15905. },
  15906. "categoryname": {
  15907. "description": "类别名称",
  15908. "type": "string"
  15909. },
  15910. "iconurl": {
  15911. "description": "图标地址",
  15912. "type": "string"
  15913. },
  15914. "orderindex": {
  15915. "description": "顺序",
  15916. "type": "integer"
  15917. },
  15918. "parentcategoryid": {
  15919. "description": "父类别ID",
  15920. "type": "integer"
  15921. },
  15922. "subcategory": {
  15923. "description": "子分类",
  15924. "type": "array",
  15925. "items": {
  15926. "$ref": "#/definitions/models.WRCategoryTree"
  15927. }
  15928. }
  15929. }
  15930. },
  15931. "models.WRSConverTDetail": {
  15932. "type": "object",
  15933. "properties": {
  15934. "convertratio": {
  15935. "description": "套保系数",
  15936. "type": "number"
  15937. },
  15938. "deliverygoodsid": {
  15939. "description": "现货品种ID",
  15940. "type": "integer"
  15941. },
  15942. "middlegoodscode": {
  15943. "description": "套保品种代码",
  15944. "type": "string"
  15945. },
  15946. "middlegoodsid": {
  15947. "description": "套保品种ID",
  15948. "type": "integer"
  15949. },
  15950. "middlegoodsname": {
  15951. "description": "套保品种名称",
  15952. "type": "string"
  15953. },
  15954. "modifytime": {
  15955. "description": "修改时间",
  15956. "type": "string"
  15957. },
  15958. "wrstandardid": {
  15959. "description": "现货商品ID",
  15960. "type": "integer"
  15961. }
  15962. }
  15963. },
  15964. "models.WRStandardInfo": {
  15965. "type": "object",
  15966. "required": [
  15967. "wrstandardid"
  15968. ],
  15969. "properties": {
  15970. "createtime": {
  15971. "description": "创建时间",
  15972. "type": "string"
  15973. },
  15974. "creatorid": {
  15975. "description": "创建人",
  15976. "type": "integer"
  15977. },
  15978. "deliverygoodsid": {
  15979. "description": "品种ID",
  15980. "type": "integer"
  15981. },
  15982. "deliverygoodsname": {
  15983. "description": "交割商品名称",
  15984. "type": "string"
  15985. },
  15986. "factoryitemjson": {
  15987. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15988. "type": "string"
  15989. },
  15990. "isvalid": {
  15991. "description": "是否有效 - 0:无效 1:有效",
  15992. "type": "integer"
  15993. },
  15994. "minivalue": {
  15995. "description": "最小变动值",
  15996. "type": "integer"
  15997. },
  15998. "minivaluedp": {
  15999. "description": "最小变动值小数位",
  16000. "type": "integer"
  16001. },
  16002. "realminivalue": {
  16003. "description": "实际最小变动值",
  16004. "type": "integer"
  16005. },
  16006. "realminivaluedp": {
  16007. "description": "实际最小变动值小数位",
  16008. "type": "integer"
  16009. },
  16010. "unitid": {
  16011. "description": "单位ID",
  16012. "type": "integer"
  16013. },
  16014. "unitname": {
  16015. "description": "单位",
  16016. "type": "string"
  16017. },
  16018. "updatetime": {
  16019. "description": "更新时间",
  16020. "type": "string"
  16021. },
  16022. "updatorid": {
  16023. "description": "更新人",
  16024. "type": "integer"
  16025. },
  16026. "wrsstatus": {
  16027. "description": "状态 - 作废 - 0:未激活 1:正常",
  16028. "type": "integer"
  16029. },
  16030. "wrstandardcode": {
  16031. "description": "仓单标准代码",
  16032. "type": "string"
  16033. },
  16034. "wrstandardid": {
  16035. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16036. "type": "integer"
  16037. },
  16038. "wrstandardname": {
  16039. "description": "仓单标准名称",
  16040. "type": "string"
  16041. }
  16042. }
  16043. },
  16044. "models.Warehouseinfo": {
  16045. "type": "object",
  16046. "required": [
  16047. "autoid",
  16048. "warehousecode"
  16049. ],
  16050. "properties": {
  16051. "address": {
  16052. "description": "详细地址",
  16053. "type": "string"
  16054. },
  16055. "areauserid": {
  16056. "description": "所属机构",
  16057. "type": "integer"
  16058. },
  16059. "autoid": {
  16060. "description": "自增ID",
  16061. "type": "integer"
  16062. },
  16063. "cityid": {
  16064. "description": "市",
  16065. "type": "integer"
  16066. },
  16067. "contactname": {
  16068. "description": "联系人",
  16069. "type": "string"
  16070. },
  16071. "contactnum": {
  16072. "description": "联系电话",
  16073. "type": "string"
  16074. },
  16075. "countryid": {
  16076. "description": "国家",
  16077. "type": "integer"
  16078. },
  16079. "createtime": {
  16080. "description": "创建时间",
  16081. "type": "string"
  16082. },
  16083. "districtid": {
  16084. "description": "区",
  16085. "type": "integer"
  16086. },
  16087. "hasvideo": {
  16088. "description": "是否有视频 - 0:无 1:有",
  16089. "type": "integer"
  16090. },
  16091. "provinceid": {
  16092. "description": "省",
  16093. "type": "integer"
  16094. },
  16095. "remark": {
  16096. "description": "审核备注",
  16097. "type": "string"
  16098. },
  16099. "videourl": {
  16100. "description": "视频地址",
  16101. "type": "string"
  16102. },
  16103. "warehousecode": {
  16104. "description": "仓库代码",
  16105. "type": "string"
  16106. },
  16107. "warehousename": {
  16108. "description": "仓库名称",
  16109. "type": "string"
  16110. },
  16111. "warehousestatus": {
  16112. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16113. "type": "integer"
  16114. },
  16115. "warehousetype": {
  16116. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16117. "type": "integer"
  16118. }
  16119. }
  16120. },
  16121. "order.QueryHisTradeDetailRsp": {
  16122. "type": "object",
  16123. "required": [
  16124. "accountid",
  16125. "buyorsell",
  16126. "goodsid",
  16127. "histradedate",
  16128. "marketid",
  16129. "memberuserid",
  16130. "orderid",
  16131. "tradeamount",
  16132. "tradedate",
  16133. "tradeid",
  16134. "tradeprice",
  16135. "tradeqty",
  16136. "tradetime"
  16137. ],
  16138. "properties": {
  16139. "accountid": {
  16140. "description": "账户ID[报价币种]",
  16141. "type": "integer"
  16142. },
  16143. "buildtype": {
  16144. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16145. "type": "integer"
  16146. },
  16147. "buyorsell": {
  16148. "description": "方向 - 0:买 1:卖",
  16149. "type": "integer"
  16150. },
  16151. "charge": {
  16152. "description": "手续费",
  16153. "type": "number"
  16154. },
  16155. "closecharge": {
  16156. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16157. "type": "number"
  16158. },
  16159. "closeexchagechargevalue": {
  16160. "description": "平仓交易所手续费设置值",
  16161. "type": "number"
  16162. },
  16163. "closefeealgorithm": {
  16164. "description": "平仓手续费收取方式 1:比率 2:固定",
  16165. "type": "integer"
  16166. },
  16167. "closememberchargevalue": {
  16168. "description": "平仓会员手续费设置值",
  16169. "type": "number"
  16170. },
  16171. "closepl": {
  16172. "description": "平仓盈亏",
  16173. "type": "number"
  16174. },
  16175. "closepl2": {
  16176. "description": "平仓盈亏[逐笔]",
  16177. "type": "number"
  16178. },
  16179. "closeqty": {
  16180. "description": "平仓数量(先建后平操作 需要记录)",
  16181. "type": "integer"
  16182. },
  16183. "creditamount": {
  16184. "description": "授信金额",
  16185. "type": "number"
  16186. },
  16187. "gcaccountid": {
  16188. "description": "账户ID[合约币种]",
  16189. "type": "integer"
  16190. },
  16191. "goodscode": {
  16192. "description": "商品代码",
  16193. "type": "string"
  16194. },
  16195. "goodsid": {
  16196. "description": "商品ID",
  16197. "type": "integer"
  16198. },
  16199. "goodsname": {
  16200. "description": "商品名称",
  16201. "type": "string"
  16202. },
  16203. "histradedate": {
  16204. "description": "历史交易日",
  16205. "type": "string"
  16206. },
  16207. "intclosepl": {
  16208. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16209. "type": "integer"
  16210. },
  16211. "isconfirmexercise": {
  16212. "description": "是否确认行权- 0:否 1:是",
  16213. "type": "integer"
  16214. },
  16215. "ismain": {
  16216. "description": "是否主单 - 0:不是 1:是",
  16217. "type": "integer"
  16218. },
  16219. "ispreexercise": {
  16220. "description": "是否预申报- 0:否 1:是",
  16221. "type": "integer"
  16222. },
  16223. "isreckoned": {
  16224. "description": "是否结算 - 0:未结算 1:已结算",
  16225. "type": "integer"
  16226. },
  16227. "isvaliddata": {
  16228. "description": "是否有效 - 0:无效 1:有效",
  16229. "type": "integer"
  16230. },
  16231. "listingselecttype": {
  16232. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16233. "type": "integer"
  16234. },
  16235. "marketid": {
  16236. "description": "市场ID",
  16237. "type": "integer"
  16238. },
  16239. "marketname": {
  16240. "description": "市场名称",
  16241. "type": "string"
  16242. },
  16243. "matchaccountid": {
  16244. "description": "对手账号id",
  16245. "type": "integer"
  16246. },
  16247. "memberuserid": {
  16248. "description": "会员id 个人投资者 需要填写",
  16249. "type": "integer"
  16250. },
  16251. "opencharge": {
  16252. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16253. "type": "number"
  16254. },
  16255. "openexchagechargevalue": {
  16256. "description": "建仓交易所手续费设置值",
  16257. "type": "number"
  16258. },
  16259. "openfeealgorithm": {
  16260. "description": "建仓手续费收取方式 1:比率 2:固定",
  16261. "type": "integer"
  16262. },
  16263. "openmemberchargevalue": {
  16264. "description": "建仓会员手续费设置值",
  16265. "type": "number"
  16266. },
  16267. "openqty": {
  16268. "description": "开仓数量(先建后平操作 需要记录)",
  16269. "type": "integer"
  16270. },
  16271. "optiontype": {
  16272. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16273. "type": "integer"
  16274. },
  16275. "orderid": {
  16276. "description": "委托单号",
  16277. "type": "string"
  16278. },
  16279. "performanceplanid": {
  16280. "description": "履约计划ID[期权]",
  16281. "type": "integer"
  16282. },
  16283. "performancestatus": {
  16284. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16285. "type": "integer"
  16286. },
  16287. "preexerciseprice": {
  16288. "description": "预申报价格",
  16289. "type": "number"
  16290. },
  16291. "premium": {
  16292. "description": "权利金 - [持仓单的权利金]",
  16293. "type": "number"
  16294. },
  16295. "relatedouttradeid": {
  16296. "description": "关联外部成交单ID",
  16297. "type": "integer"
  16298. },
  16299. "status": {
  16300. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16301. "type": "integer"
  16302. },
  16303. "tradeamount": {
  16304. "description": "成交金额[账户币种,用于所有权]",
  16305. "type": "number"
  16306. },
  16307. "tradedate": {
  16308. "description": "交易日(yyyyMMdd)",
  16309. "type": "string"
  16310. },
  16311. "tradeid": {
  16312. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16313. "type": "string"
  16314. },
  16315. "trademode": {
  16316. "description": "交易模式",
  16317. "type": "integer"
  16318. },
  16319. "tradeprice": {
  16320. "description": "成交价格",
  16321. "type": "number"
  16322. },
  16323. "tradeproperty": {
  16324. "description": "交易属性",
  16325. "type": "integer"
  16326. },
  16327. "tradeqty": {
  16328. "description": "成交数量",
  16329. "type": "integer"
  16330. },
  16331. "tradetime": {
  16332. "description": "成交时间",
  16333. "type": "string"
  16334. },
  16335. "tradetype": {
  16336. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16337. "type": "integer"
  16338. }
  16339. }
  16340. },
  16341. "order.QueryHisTradeOrderDetailRsp": {
  16342. "type": "object",
  16343. "required": [
  16344. "accountid",
  16345. "buildtype",
  16346. "buyorsell",
  16347. "goodsid",
  16348. "histradedate",
  16349. "marketid",
  16350. "memberuserid",
  16351. "operatetype",
  16352. "orderid",
  16353. "orderqty",
  16354. "ordertime",
  16355. "pricemode",
  16356. "tradedate",
  16357. "validtype"
  16358. ],
  16359. "properties": {
  16360. "accountid": {
  16361. "description": "账户ID[报价币种]",
  16362. "type": "integer"
  16363. },
  16364. "buildtype": {
  16365. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16366. "type": "integer"
  16367. },
  16368. "buyorsell": {
  16369. "description": "买卖 - 0:买 1:卖",
  16370. "type": "integer"
  16371. },
  16372. "cancelorderid": {
  16373. "description": "撤单单号(撤单时填写)",
  16374. "type": "string"
  16375. },
  16376. "cancelqty": {
  16377. "description": "撤单数量",
  16378. "type": "integer"
  16379. },
  16380. "clientordertime": {
  16381. "description": "客户端委托时间",
  16382. "type": "string"
  16383. },
  16384. "clientticket": {
  16385. "description": "客户端流水号",
  16386. "type": "string"
  16387. },
  16388. "clienttype": {
  16389. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16390. "type": "integer"
  16391. },
  16392. "closeexchagechargevalue": {
  16393. "description": "平仓交易所手续费设置值",
  16394. "type": "number"
  16395. },
  16396. "closefeealgorithm": {
  16397. "description": "平仓手续费收取方式 1:比率 2:固定",
  16398. "type": "integer"
  16399. },
  16400. "closefreezecharge": {
  16401. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16402. "type": "number"
  16403. },
  16404. "closememberchargevalue": {
  16405. "description": "平仓会员手续费设置值",
  16406. "type": "number"
  16407. },
  16408. "closeqty": {
  16409. "description": "平仓数量(先建后平操作 需要记录)",
  16410. "type": "integer"
  16411. },
  16412. "closetradeqty": {
  16413. "description": "平仓成交数量(先建后平操作,需要记录)",
  16414. "type": "integer"
  16415. },
  16416. "closeunfreezecharge": {
  16417. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16418. "type": "number"
  16419. },
  16420. "delistingtype": {
  16421. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16422. "type": "integer"
  16423. },
  16424. "freezecharge": {
  16425. "description": "冻结手续费",
  16426. "type": "number"
  16427. },
  16428. "freezemargin": {
  16429. "description": "冻结保证金(冻结交易金额)",
  16430. "type": "number"
  16431. },
  16432. "gcaccountid": {
  16433. "description": "账户ID[合约币种]",
  16434. "type": "integer"
  16435. },
  16436. "goodscode": {
  16437. "description": "商品代码",
  16438. "type": "string"
  16439. },
  16440. "goodsid": {
  16441. "description": "商品ID",
  16442. "type": "integer"
  16443. },
  16444. "goodsname": {
  16445. "description": "商品名称",
  16446. "type": "string"
  16447. },
  16448. "histradedate": {
  16449. "description": "历史交易日",
  16450. "type": "string"
  16451. },
  16452. "isconfirmexercise": {
  16453. "description": "是否确认行权- 0:否 1:是",
  16454. "type": "integer"
  16455. },
  16456. "ispreexercise": {
  16457. "description": "是否预申报- 0:否 1:是",
  16458. "type": "integer"
  16459. },
  16460. "isvaliddata": {
  16461. "description": "是否有效 - 0:无效 1:有效",
  16462. "type": "integer"
  16463. },
  16464. "listingselecttype": {
  16465. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16466. "type": "integer"
  16467. },
  16468. "marginalgorithm": {
  16469. "description": "保证金收取方式 1:比率 2:固定",
  16470. "type": "integer"
  16471. },
  16472. "marginvalue": {
  16473. "description": "即市保证金设置值",
  16474. "type": "number"
  16475. },
  16476. "marketid": {
  16477. "description": "市场ID",
  16478. "type": "integer"
  16479. },
  16480. "marketmaxsub": {
  16481. "description": "市价最大偏移范围",
  16482. "type": "number"
  16483. },
  16484. "marketname": {
  16485. "description": "市场名称",
  16486. "type": "string"
  16487. },
  16488. "memberuserid": {
  16489. "description": "所属会员UserID",
  16490. "type": "integer"
  16491. },
  16492. "openexchagechargevalue": {
  16493. "description": "建仓交易所手续费设置值",
  16494. "type": "number"
  16495. },
  16496. "openfeealgorithm": {
  16497. "description": "建仓手续费收取方式 1:比率 2:固定",
  16498. "type": "integer"
  16499. },
  16500. "openfreezecharge": {
  16501. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16502. "type": "number"
  16503. },
  16504. "openmemberchargevalue": {
  16505. "description": "建仓会员手续费设置值",
  16506. "type": "number"
  16507. },
  16508. "openqty": {
  16509. "description": "开仓数量(先建后平操作,需要记录)",
  16510. "type": "integer"
  16511. },
  16512. "opentradeqty": {
  16513. "description": "开仓成交数量(先建后平操作,需要记录)",
  16514. "type": "integer"
  16515. },
  16516. "openunfreezecharge": {
  16517. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16518. "type": "number"
  16519. },
  16520. "operatetype": {
  16521. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16522. "type": "integer"
  16523. },
  16524. "operatorid": {
  16525. "description": "登录账号(LoginID)",
  16526. "type": "integer"
  16527. },
  16528. "optiontype": {
  16529. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16530. "type": "integer"
  16531. },
  16532. "orderid": {
  16533. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16534. "type": "string"
  16535. },
  16536. "orderprice": {
  16537. "description": "委托价格",
  16538. "type": "number"
  16539. },
  16540. "orderqty": {
  16541. "description": "委托数量",
  16542. "type": "integer"
  16543. },
  16544. "ordersrc": {
  16545. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16546. "type": "integer"
  16547. },
  16548. "orderstatus": {
  16549. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16550. "type": "integer"
  16551. },
  16552. "ordertime": {
  16553. "description": "委托时间",
  16554. "type": "string"
  16555. },
  16556. "preexerciseprice": {
  16557. "description": "预申报价格",
  16558. "type": "number"
  16559. },
  16560. "premium": {
  16561. "description": "权利金",
  16562. "type": "number"
  16563. },
  16564. "preorderid": {
  16565. "description": "关联预埋单号(止盈止损单时填写)",
  16566. "type": "string"
  16567. },
  16568. "pricemode": {
  16569. "description": "取价方式 - 1:市价 2: 限价",
  16570. "type": "integer"
  16571. },
  16572. "quoteid": {
  16573. "description": "报价单ID",
  16574. "type": "integer"
  16575. },
  16576. "relatedid": {
  16577. "description": "关联单号(交割单)",
  16578. "type": "string"
  16579. },
  16580. "retcode": {
  16581. "description": "错误代码",
  16582. "type": "integer"
  16583. },
  16584. "sessionid": {
  16585. "description": "会话ID",
  16586. "type": "integer"
  16587. },
  16588. "tradedate": {
  16589. "description": "交易日(yyyyMMdd)",
  16590. "type": "string"
  16591. },
  16592. "trademode": {
  16593. "description": "交易模式",
  16594. "type": "integer"
  16595. },
  16596. "tradeproperty": {
  16597. "description": "交易属性",
  16598. "type": "integer"
  16599. },
  16600. "tradeqty": {
  16601. "description": "成交数量",
  16602. "type": "integer"
  16603. },
  16604. "unfreezecharge": {
  16605. "description": "解冻手续费",
  16606. "type": "number"
  16607. },
  16608. "unfreezemargin": {
  16609. "description": "解冻保证金",
  16610. "type": "number"
  16611. },
  16612. "updatetime": {
  16613. "description": "更新时间",
  16614. "type": "string"
  16615. },
  16616. "uuid": {
  16617. "description": "发起端唯一id",
  16618. "type": "string"
  16619. },
  16620. "validtime": {
  16621. "description": "有效期限",
  16622. "type": "string"
  16623. },
  16624. "validtype": {
  16625. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16626. "type": "integer"
  16627. },
  16628. "volumetype": {
  16629. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16630. "type": "integer"
  16631. }
  16632. }
  16633. },
  16634. "order.QueryTradeDetailRsp": {
  16635. "type": "object",
  16636. "required": [
  16637. "accountid",
  16638. "buyorsell",
  16639. "goodsid",
  16640. "marketid",
  16641. "memberuserid",
  16642. "orderid",
  16643. "tradeamount",
  16644. "tradedate",
  16645. "tradeid",
  16646. "tradeprice",
  16647. "tradeqty",
  16648. "tradetime"
  16649. ],
  16650. "properties": {
  16651. "accountid": {
  16652. "description": "账户ID[报价币种]",
  16653. "type": "integer"
  16654. },
  16655. "buildtype": {
  16656. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16657. "type": "integer"
  16658. },
  16659. "buyorsell": {
  16660. "description": "方向 - 0:买 1:卖",
  16661. "type": "integer"
  16662. },
  16663. "charge": {
  16664. "description": "手续费",
  16665. "type": "number"
  16666. },
  16667. "closecharge": {
  16668. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16669. "type": "number"
  16670. },
  16671. "closeexchagechargevalue": {
  16672. "description": "平仓交易所手续费设置值",
  16673. "type": "number"
  16674. },
  16675. "closefeealgorithm": {
  16676. "description": "平仓手续费收取方式 1:比率 2:固定",
  16677. "type": "integer"
  16678. },
  16679. "closememberchargevalue": {
  16680. "description": "平仓会员手续费设置值",
  16681. "type": "number"
  16682. },
  16683. "closepl": {
  16684. "description": "平仓盈亏",
  16685. "type": "number"
  16686. },
  16687. "closepl2": {
  16688. "description": "平仓盈亏[逐笔]",
  16689. "type": "number"
  16690. },
  16691. "closeqty": {
  16692. "description": "平仓数量(先建后平操作 需要记录)",
  16693. "type": "integer"
  16694. },
  16695. "creditamount": {
  16696. "description": "授信金额",
  16697. "type": "number"
  16698. },
  16699. "gcaccountid": {
  16700. "description": "账户ID[合约币种]",
  16701. "type": "integer"
  16702. },
  16703. "goodscode": {
  16704. "description": "商品代码",
  16705. "type": "string"
  16706. },
  16707. "goodsid": {
  16708. "description": "商品ID",
  16709. "type": "integer"
  16710. },
  16711. "goodsname": {
  16712. "description": "商品名称",
  16713. "type": "string"
  16714. },
  16715. "intclosepl": {
  16716. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16717. "type": "integer"
  16718. },
  16719. "isconfirmexercise": {
  16720. "description": "是否确认行权- 0:否 1:是",
  16721. "type": "integer"
  16722. },
  16723. "ismain": {
  16724. "description": "是否主单 - 0:不是 1:是",
  16725. "type": "integer"
  16726. },
  16727. "ispreexercise": {
  16728. "description": "是否预申报- 0:否 1:是",
  16729. "type": "integer"
  16730. },
  16731. "isreckoned": {
  16732. "description": "是否结算 - 0:未结算 1:已结算",
  16733. "type": "integer"
  16734. },
  16735. "listingselecttype": {
  16736. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16737. "type": "integer"
  16738. },
  16739. "marketid": {
  16740. "description": "市场ID",
  16741. "type": "integer"
  16742. },
  16743. "marketname": {
  16744. "description": "市场名称",
  16745. "type": "string"
  16746. },
  16747. "matchaccountid": {
  16748. "description": "对手账号id",
  16749. "type": "integer"
  16750. },
  16751. "memberuserid": {
  16752. "description": "会员id 个人投资者 需要填写",
  16753. "type": "integer"
  16754. },
  16755. "opencharge": {
  16756. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16757. "type": "number"
  16758. },
  16759. "openexchagechargevalue": {
  16760. "description": "建仓交易所手续费设置值",
  16761. "type": "number"
  16762. },
  16763. "openfeealgorithm": {
  16764. "description": "建仓手续费收取方式 1:比率 2:固定",
  16765. "type": "integer"
  16766. },
  16767. "openmemberchargevalue": {
  16768. "description": "建仓会员手续费设置值",
  16769. "type": "number"
  16770. },
  16771. "openqty": {
  16772. "description": "开仓数量(先建后平操作 需要记录)",
  16773. "type": "integer"
  16774. },
  16775. "optiontype": {
  16776. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16777. "type": "integer"
  16778. },
  16779. "orderid": {
  16780. "description": "委托单号",
  16781. "type": "string"
  16782. },
  16783. "performanceplanid": {
  16784. "description": "履约计划ID[期权]",
  16785. "type": "integer"
  16786. },
  16787. "performancestatus": {
  16788. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16789. "type": "integer"
  16790. },
  16791. "preexerciseprice": {
  16792. "description": "预申报价格",
  16793. "type": "number"
  16794. },
  16795. "premium": {
  16796. "description": "权利金 - [持仓单的权利金]",
  16797. "type": "number"
  16798. },
  16799. "relatedouttradeid": {
  16800. "description": "关联外部成交单ID",
  16801. "type": "integer"
  16802. },
  16803. "status": {
  16804. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16805. "type": "integer"
  16806. },
  16807. "tradeamount": {
  16808. "description": "成交金额[账户币种,用于所有权]",
  16809. "type": "number"
  16810. },
  16811. "tradedate": {
  16812. "description": "交易日(yyyyMMdd)",
  16813. "type": "string"
  16814. },
  16815. "tradeid": {
  16816. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16817. "type": "string"
  16818. },
  16819. "trademode": {
  16820. "description": "交易模式",
  16821. "type": "integer"
  16822. },
  16823. "tradeprice": {
  16824. "description": "成交价格",
  16825. "type": "number"
  16826. },
  16827. "tradeproperty": {
  16828. "description": "交易属性",
  16829. "type": "integer"
  16830. },
  16831. "tradeqty": {
  16832. "description": "成交数量",
  16833. "type": "integer"
  16834. },
  16835. "tradetime": {
  16836. "description": "成交时间",
  16837. "type": "string"
  16838. },
  16839. "tradetype": {
  16840. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16841. "type": "integer"
  16842. }
  16843. }
  16844. },
  16845. "order.QueryTradeOrderDetailRsp": {
  16846. "type": "object",
  16847. "required": [
  16848. "accountid",
  16849. "buildtype",
  16850. "buyorsell",
  16851. "goodsid",
  16852. "marketid",
  16853. "operatetype",
  16854. "orderqty",
  16855. "ordertime",
  16856. "pricemode",
  16857. "tradedate",
  16858. "validtype"
  16859. ],
  16860. "properties": {
  16861. "accountid": {
  16862. "description": "账户ID[报价币种]",
  16863. "type": "integer"
  16864. },
  16865. "buildtype": {
  16866. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16867. "type": "integer"
  16868. },
  16869. "buyorsell": {
  16870. "description": "买卖 - 0:买 1:卖",
  16871. "type": "integer"
  16872. },
  16873. "cancelorderid": {
  16874. "description": "撤单单号(撤单时填写)",
  16875. "type": "string"
  16876. },
  16877. "cancelqty": {
  16878. "description": "撤单数量",
  16879. "type": "integer"
  16880. },
  16881. "clienttype": {
  16882. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16883. "type": "integer"
  16884. },
  16885. "closefreezecharge": {
  16886. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16887. "type": "number"
  16888. },
  16889. "closeqty": {
  16890. "description": "平仓数量(先建后平操作 需要记录)",
  16891. "type": "integer"
  16892. },
  16893. "closetradeqty": {
  16894. "description": "平仓成交数量(先建后平操作,需要记录)",
  16895. "type": "integer"
  16896. },
  16897. "closeunfreezecharge": {
  16898. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16899. "type": "number"
  16900. },
  16901. "delistingtype": {
  16902. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16903. "type": "integer"
  16904. },
  16905. "enableqty": {
  16906. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16907. "type": "integer"
  16908. },
  16909. "freezecharge": {
  16910. "description": "冻结手续费",
  16911. "type": "number"
  16912. },
  16913. "freezemargin": {
  16914. "description": "冻结保证金(冻结交易金额)",
  16915. "type": "number"
  16916. },
  16917. "goodscode": {
  16918. "description": "商品代码",
  16919. "type": "string"
  16920. },
  16921. "goodsid": {
  16922. "description": "商品ID",
  16923. "type": "integer"
  16924. },
  16925. "goodsname": {
  16926. "description": "商品名称",
  16927. "type": "string"
  16928. },
  16929. "listingselecttype": {
  16930. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16931. "type": "integer"
  16932. },
  16933. "marketid": {
  16934. "description": "市场ID",
  16935. "type": "integer"
  16936. },
  16937. "marketname": {
  16938. "description": "市场名称",
  16939. "type": "string"
  16940. },
  16941. "openfreezecharge": {
  16942. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16943. "type": "number"
  16944. },
  16945. "openqty": {
  16946. "description": "开仓数量(先建后平操作,需要记录)",
  16947. "type": "integer"
  16948. },
  16949. "opentradeqty": {
  16950. "description": "开仓成交数量(先建后平操作,需要记录)",
  16951. "type": "integer"
  16952. },
  16953. "openunfreezecharge": {
  16954. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16955. "type": "number"
  16956. },
  16957. "operatetype": {
  16958. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16959. "type": "integer"
  16960. },
  16961. "operatorid": {
  16962. "description": "登录账号(LoginID)",
  16963. "type": "integer"
  16964. },
  16965. "orderid": {
  16966. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16967. "type": "string"
  16968. },
  16969. "orderprice": {
  16970. "description": "委托价格",
  16971. "type": "number"
  16972. },
  16973. "orderqty": {
  16974. "description": "委托数量",
  16975. "type": "integer"
  16976. },
  16977. "ordersrc": {
  16978. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16979. "type": "integer"
  16980. },
  16981. "orderstatus": {
  16982. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16983. "type": "integer"
  16984. },
  16985. "ordertime": {
  16986. "description": "委托时间",
  16987. "type": "string"
  16988. },
  16989. "preorderid": {
  16990. "description": "关联预埋单号(止盈止损单时填写)",
  16991. "type": "string"
  16992. },
  16993. "pricemode": {
  16994. "description": "取价方式 - 1:市价 2: 限价",
  16995. "type": "integer"
  16996. },
  16997. "relatedid": {
  16998. "description": "关联单号(交割单)",
  16999. "type": "string"
  17000. },
  17001. "tradedate": {
  17002. "description": "交易日(yyyyMMdd)",
  17003. "type": "string"
  17004. },
  17005. "trademode": {
  17006. "description": "交易模式",
  17007. "type": "integer"
  17008. },
  17009. "tradeqty": {
  17010. "description": "成交数量",
  17011. "type": "integer"
  17012. },
  17013. "unfreezecharge": {
  17014. "description": "解冻手续费",
  17015. "type": "number"
  17016. },
  17017. "unfreezemargin": {
  17018. "description": "解冻保证金",
  17019. "type": "number"
  17020. },
  17021. "validtime": {
  17022. "description": "有效期限",
  17023. "type": "string"
  17024. },
  17025. "validtype": {
  17026. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17027. "type": "integer"
  17028. },
  17029. "volumetype": {
  17030. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17031. "type": "integer"
  17032. }
  17033. }
  17034. },
  17035. "order.QueryTradePositionRsp": {
  17036. "type": "object",
  17037. "required": [
  17038. "goodsid"
  17039. ],
  17040. "properties": {
  17041. "accountid": {
  17042. "description": "资金账户",
  17043. "type": "integer"
  17044. },
  17045. "agreeunit": {
  17046. "description": "合约单位",
  17047. "type": "number"
  17048. },
  17049. "averageprice": {
  17050. "description": "持仓均价",
  17051. "type": "number"
  17052. },
  17053. "buyorsell": {
  17054. "description": "方向 - 0:买 1:卖",
  17055. "type": "integer"
  17056. },
  17057. "closetotalqty": {
  17058. "description": "平仓总数量",
  17059. "type": "integer"
  17060. },
  17061. "curholderamount": {
  17062. "description": "当前持仓总金额[商品币种]",
  17063. "type": "number"
  17064. },
  17065. "curpositionqty": {
  17066. "description": "当前持仓总数量",
  17067. "type": "integer"
  17068. },
  17069. "currencyid": {
  17070. "description": "报价货币ID",
  17071. "type": "integer"
  17072. },
  17073. "curtdposition": {
  17074. "description": "期末今日头寸",
  17075. "type": "integer"
  17076. },
  17077. "decimalplace": {
  17078. "description": "报价小数位",
  17079. "type": "integer"
  17080. },
  17081. "enableqty": {
  17082. "description": "可用量",
  17083. "type": "integer"
  17084. },
  17085. "fretdposition": {
  17086. "description": "冻结今日头寸",
  17087. "type": "integer"
  17088. },
  17089. "frozenqty": {
  17090. "description": "持仓冻结数量",
  17091. "type": "integer"
  17092. },
  17093. "goodscode": {
  17094. "description": "商品代码",
  17095. "type": "string"
  17096. },
  17097. "goodsid": {
  17098. "description": "商品Id",
  17099. "type": "integer"
  17100. },
  17101. "goodsname": {
  17102. "description": "商品名称",
  17103. "type": "string"
  17104. },
  17105. "goodunit": {
  17106. "description": "报价单位",
  17107. "type": "string"
  17108. },
  17109. "goodunitid": {
  17110. "description": "报价单位ID",
  17111. "type": "integer"
  17112. },
  17113. "holderamount": {
  17114. "description": "期初持仓总金额[商品币种]",
  17115. "type": "number"
  17116. },
  17117. "marketid": {
  17118. "description": "所属市场ID",
  17119. "type": "integer"
  17120. },
  17121. "openreqqty": {
  17122. "description": "开仓申请数量(用于比较最大持仓数量)",
  17123. "type": "integer"
  17124. },
  17125. "opentotalqty": {
  17126. "description": "开仓总数量",
  17127. "type": "integer"
  17128. },
  17129. "otherfrozenqty": {
  17130. "description": "持仓其他冻结数量(交割冻结)",
  17131. "type": "integer"
  17132. },
  17133. "positionqty": {
  17134. "description": "期初持仓数量",
  17135. "type": "integer"
  17136. },
  17137. "tnqty": {
  17138. "description": "T+N冻结总量",
  17139. "type": "integer"
  17140. },
  17141. "tnusedqty": {
  17142. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17143. "type": "integer"
  17144. },
  17145. "trademode": {
  17146. "description": "交易模式",
  17147. "type": "integer"
  17148. },
  17149. "usedmargin": {
  17150. "description": "占用保证金[商品币种]",
  17151. "type": "number"
  17152. }
  17153. }
  17154. },
  17155. "quote.HistoryData": {
  17156. "type": "object",
  17157. "properties": {
  17158. "c": {
  17159. "description": "收盘价",
  17160. "type": "number"
  17161. },
  17162. "f": {
  17163. "description": "是否补充数据",
  17164. "type": "boolean"
  17165. },
  17166. "h": {
  17167. "description": "最高价",
  17168. "type": "number"
  17169. },
  17170. "hv": {
  17171. "description": "持仓量",
  17172. "type": "integer"
  17173. },
  17174. "l": {
  17175. "description": "最低价",
  17176. "type": "number"
  17177. },
  17178. "o": {
  17179. "description": "开盘价",
  17180. "type": "number"
  17181. },
  17182. "s": {
  17183. "description": "结算价,日线周期(包括)以上才有",
  17184. "type": "number"
  17185. },
  17186. "ts": {
  17187. "description": "时间",
  17188. "type": "string"
  17189. },
  17190. "tt": {
  17191. "description": "总金额",
  17192. "type": "number"
  17193. },
  17194. "tv": {
  17195. "description": "总量",
  17196. "type": "integer"
  17197. }
  17198. }
  17199. },
  17200. "quote.HistoryTikData": {
  17201. "type": "object",
  17202. "properties": {
  17203. "AV": {
  17204. "description": "卖量",
  17205. "type": "integer"
  17206. },
  17207. "Ask": {
  17208. "description": "卖价",
  17209. "type": "number"
  17210. },
  17211. "BV": {
  17212. "description": "买量",
  17213. "type": "integer"
  17214. },
  17215. "Bid": {
  17216. "description": "买价",
  17217. "type": "number"
  17218. },
  17219. "HI": {
  17220. "description": "单笔持仓",
  17221. "type": "integer"
  17222. },
  17223. "HV": {
  17224. "description": "持仓量",
  17225. "type": "integer"
  17226. },
  17227. "PE": {
  17228. "description": "现价",
  17229. "type": "number"
  17230. },
  17231. "TDR": {
  17232. "description": "交易方向,0:买 1:卖",
  17233. "type": "integer"
  17234. },
  17235. "TK": {
  17236. "description": "交易类型",
  17237. "type": "integer"
  17238. },
  17239. "TS": {
  17240. "description": "行情时间文本",
  17241. "type": "string"
  17242. },
  17243. "TT": {
  17244. "description": "现金额",
  17245. "type": "number"
  17246. },
  17247. "Vol": {
  17248. "description": "现量",
  17249. "type": "integer"
  17250. }
  17251. }
  17252. },
  17253. "quote.QueryQuoteDayRsp": {
  17254. "type": "object",
  17255. "properties": {
  17256. "ask": {
  17257. "description": "卖1",
  17258. "type": "number"
  17259. },
  17260. "ask10": {
  17261. "description": "卖10",
  17262. "type": "number"
  17263. },
  17264. "ask2": {
  17265. "description": "卖2",
  17266. "type": "number"
  17267. },
  17268. "ask3": {
  17269. "description": "卖3",
  17270. "type": "number"
  17271. },
  17272. "ask4": {
  17273. "description": "卖4",
  17274. "type": "number"
  17275. },
  17276. "ask5": {
  17277. "description": "卖5",
  17278. "type": "number"
  17279. },
  17280. "ask6": {
  17281. "description": "卖6",
  17282. "type": "number"
  17283. },
  17284. "ask7": {
  17285. "description": "卖7",
  17286. "type": "number"
  17287. },
  17288. "ask8": {
  17289. "description": "卖8",
  17290. "type": "number"
  17291. },
  17292. "ask9": {
  17293. "description": "卖9",
  17294. "type": "number"
  17295. },
  17296. "askorderid": {
  17297. "description": "卖单号1",
  17298. "type": "integer"
  17299. },
  17300. "askorderid2": {
  17301. "description": "卖单号2",
  17302. "type": "integer"
  17303. },
  17304. "askorderid3": {
  17305. "description": "卖单号3",
  17306. "type": "integer"
  17307. },
  17308. "askorderid4": {
  17309. "description": "卖单号4",
  17310. "type": "integer"
  17311. },
  17312. "askorderid5": {
  17313. "description": "卖单号5",
  17314. "type": "integer"
  17315. },
  17316. "askordervolume": {
  17317. "description": "卖单量1",
  17318. "type": "integer"
  17319. },
  17320. "askordervolume10": {
  17321. "description": "卖单量10",
  17322. "type": "integer"
  17323. },
  17324. "askordervolume2": {
  17325. "description": "卖单量2",
  17326. "type": "integer"
  17327. },
  17328. "askordervolume3": {
  17329. "description": "卖单量3",
  17330. "type": "integer"
  17331. },
  17332. "askordervolume4": {
  17333. "description": "卖单量4",
  17334. "type": "integer"
  17335. },
  17336. "askordervolume5": {
  17337. "description": "卖单量5",
  17338. "type": "integer"
  17339. },
  17340. "askordervolume6": {
  17341. "description": "卖单量6",
  17342. "type": "integer"
  17343. },
  17344. "askordervolume7": {
  17345. "description": "卖单量7",
  17346. "type": "integer"
  17347. },
  17348. "askordervolume8": {
  17349. "description": "卖单量8",
  17350. "type": "integer"
  17351. },
  17352. "askordervolume9": {
  17353. "description": "卖单量9",
  17354. "type": "integer"
  17355. },
  17356. "askqueueinfo": {
  17357. "description": "大利市卖港股用",
  17358. "type": "string"
  17359. },
  17360. "askvolume": {
  17361. "description": "卖量1",
  17362. "type": "integer"
  17363. },
  17364. "askvolume10": {
  17365. "description": "卖量10",
  17366. "type": "integer"
  17367. },
  17368. "askvolume2": {
  17369. "description": "卖量2",
  17370. "type": "integer"
  17371. },
  17372. "askvolume3": {
  17373. "description": "卖量3",
  17374. "type": "integer"
  17375. },
  17376. "askvolume4": {
  17377. "description": "卖量4",
  17378. "type": "integer"
  17379. },
  17380. "askvolume5": {
  17381. "description": "卖量5",
  17382. "type": "integer"
  17383. },
  17384. "askvolume6": {
  17385. "description": "卖量6",
  17386. "type": "integer"
  17387. },
  17388. "askvolume7": {
  17389. "description": "卖量7",
  17390. "type": "integer"
  17391. },
  17392. "askvolume8": {
  17393. "description": "卖量8",
  17394. "type": "integer"
  17395. },
  17396. "askvolume9": {
  17397. "description": "卖量9",
  17398. "type": "integer"
  17399. },
  17400. "averageprice": {
  17401. "description": "均价",
  17402. "type": "number"
  17403. },
  17404. "bid": {
  17405. "description": "买1",
  17406. "type": "number"
  17407. },
  17408. "bid10": {
  17409. "description": "买10",
  17410. "type": "number"
  17411. },
  17412. "bid2": {
  17413. "description": "买2",
  17414. "type": "number"
  17415. },
  17416. "bid3": {
  17417. "description": "买3",
  17418. "type": "number"
  17419. },
  17420. "bid4": {
  17421. "description": "买4",
  17422. "type": "number"
  17423. },
  17424. "bid5": {
  17425. "description": "买5",
  17426. "type": "number"
  17427. },
  17428. "bid6": {
  17429. "description": "买6",
  17430. "type": "number"
  17431. },
  17432. "bid7": {
  17433. "description": "买7",
  17434. "type": "number"
  17435. },
  17436. "bid8": {
  17437. "description": "买8",
  17438. "type": "number"
  17439. },
  17440. "bid9": {
  17441. "description": "买9",
  17442. "type": "number"
  17443. },
  17444. "bidorderid": {
  17445. "description": "买单号1",
  17446. "type": "integer"
  17447. },
  17448. "bidorderid2": {
  17449. "description": "买单号2",
  17450. "type": "integer"
  17451. },
  17452. "bidorderid3": {
  17453. "description": "买单号3",
  17454. "type": "integer"
  17455. },
  17456. "bidorderid4": {
  17457. "description": "买单号4",
  17458. "type": "integer"
  17459. },
  17460. "bidorderid5": {
  17461. "description": "买单号5",
  17462. "type": "integer"
  17463. },
  17464. "bidordervolume": {
  17465. "description": "买单量1",
  17466. "type": "integer"
  17467. },
  17468. "bidordervolume10": {
  17469. "description": "买单量10",
  17470. "type": "integer"
  17471. },
  17472. "bidordervolume2": {
  17473. "description": "买单量2",
  17474. "type": "integer"
  17475. },
  17476. "bidordervolume3": {
  17477. "description": "买单量3",
  17478. "type": "integer"
  17479. },
  17480. "bidordervolume4": {
  17481. "description": "买单量4",
  17482. "type": "integer"
  17483. },
  17484. "bidordervolume5": {
  17485. "description": "买单量5",
  17486. "type": "integer"
  17487. },
  17488. "bidordervolume6": {
  17489. "description": "买单量6",
  17490. "type": "integer"
  17491. },
  17492. "bidordervolume7": {
  17493. "description": "买单量7",
  17494. "type": "integer"
  17495. },
  17496. "bidordervolume8": {
  17497. "description": "买单量8",
  17498. "type": "integer"
  17499. },
  17500. "bidordervolume9": {
  17501. "description": "买单量9",
  17502. "type": "integer"
  17503. },
  17504. "bidqueueinfo": {
  17505. "description": "大利市买港股用",
  17506. "type": "string"
  17507. },
  17508. "bidvolume": {
  17509. "description": "买量1",
  17510. "type": "integer"
  17511. },
  17512. "bidvolume10": {
  17513. "description": "买量10",
  17514. "type": "integer"
  17515. },
  17516. "bidvolume2": {
  17517. "description": "买量2",
  17518. "type": "integer"
  17519. },
  17520. "bidvolume3": {
  17521. "description": "买量3",
  17522. "type": "integer"
  17523. },
  17524. "bidvolume4": {
  17525. "description": "买量4",
  17526. "type": "integer"
  17527. },
  17528. "bidvolume5": {
  17529. "description": "买量5",
  17530. "type": "integer"
  17531. },
  17532. "bidvolume6": {
  17533. "description": "买量6",
  17534. "type": "integer"
  17535. },
  17536. "bidvolume7": {
  17537. "description": "买量7",
  17538. "type": "integer"
  17539. },
  17540. "bidvolume8": {
  17541. "description": "买量8",
  17542. "type": "integer"
  17543. },
  17544. "bidvolume9": {
  17545. "description": "买量9",
  17546. "type": "integer"
  17547. },
  17548. "calloptionpremiums": {
  17549. "description": "认购期权1",
  17550. "type": "integer"
  17551. },
  17552. "calloptionpremiums2": {
  17553. "description": "认购期权2",
  17554. "type": "integer"
  17555. },
  17556. "calloptionpremiums3": {
  17557. "description": "认购期权3",
  17558. "type": "integer"
  17559. },
  17560. "calloptionpremiums4": {
  17561. "description": "认购期权4",
  17562. "type": "integer"
  17563. },
  17564. "calloptionpremiums5": {
  17565. "description": "认购期权5",
  17566. "type": "integer"
  17567. },
  17568. "cleartime": {
  17569. "description": "清盘时间",
  17570. "type": "integer"
  17571. },
  17572. "exchangecode": {
  17573. "description": "交易所代码",
  17574. "type": "integer"
  17575. },
  17576. "exchangedate": {
  17577. "description": "交易日",
  17578. "type": "integer"
  17579. },
  17580. "goodscode": {
  17581. "description": "商品代码",
  17582. "type": "string"
  17583. },
  17584. "grepmarketprice": {
  17585. "description": "暗盘价 港股专用",
  17586. "type": "number"
  17587. },
  17588. "highest": {
  17589. "description": "最高价",
  17590. "type": "number"
  17591. },
  17592. "holdincrement": {
  17593. "description": "单笔持仓",
  17594. "type": "integer"
  17595. },
  17596. "holdvolume": {
  17597. "description": "持仓",
  17598. "type": "integer"
  17599. },
  17600. "iep": {
  17601. "description": "平衡价 港股专用",
  17602. "type": "number"
  17603. },
  17604. "iev": {
  17605. "description": "平衡量 港股专用",
  17606. "type": "number"
  17607. },
  17608. "inventory": {
  17609. "description": "库存",
  17610. "type": "integer"
  17611. },
  17612. "iscleared": {
  17613. "description": "是否清盘标志",
  17614. "type": "integer"
  17615. },
  17616. "issettled": {
  17617. "description": "是否结算标志",
  17618. "type": "integer"
  17619. },
  17620. "last": {
  17621. "description": "最新价",
  17622. "type": "number"
  17623. },
  17624. "lastlot": {
  17625. "description": "最新成交手数",
  17626. "type": "integer"
  17627. },
  17628. "lasttime": {
  17629. "description": "行情时间(只有现价变化行情时间才变化)",
  17630. "type": "string"
  17631. },
  17632. "lastturnover": {
  17633. "description": "最新成交金额",
  17634. "type": "number"
  17635. },
  17636. "lastvolume": {
  17637. "description": "最新成交量",
  17638. "type": "integer"
  17639. },
  17640. "limitdown": {
  17641. "description": "跌停价",
  17642. "type": "number"
  17643. },
  17644. "limitup": {
  17645. "description": "涨停价",
  17646. "type": "number"
  17647. },
  17648. "lowest": {
  17649. "description": "最低价",
  17650. "type": "number"
  17651. },
  17652. "nontotalholdervolume": {
  17653. "description": "非交易持仓量",
  17654. "type": "integer"
  17655. },
  17656. "nontotallot": {
  17657. "description": "非交易总手数",
  17658. "type": "integer"
  17659. },
  17660. "nontotalturnover": {
  17661. "description": "非交易总金额",
  17662. "type": "integer"
  17663. },
  17664. "nontotalvolume": {
  17665. "description": "非交易总量",
  17666. "type": "integer"
  17667. },
  17668. "opened": {
  17669. "description": "开盘价",
  17670. "type": "number"
  17671. },
  17672. "opentime": {
  17673. "description": "开盘时间",
  17674. "type": "string"
  17675. },
  17676. "orderid": {
  17677. "description": "序号",
  17678. "type": "integer"
  17679. },
  17680. "preclose": {
  17681. "description": "昨收",
  17682. "type": "number"
  17683. },
  17684. "preholdvolume": {
  17685. "description": "昨持仓",
  17686. "type": "integer"
  17687. },
  17688. "presettle": {
  17689. "description": "昨结价",
  17690. "type": "number"
  17691. },
  17692. "publictradetype": {
  17693. "description": "公共交易标志类型 港股专用",
  17694. "type": "string"
  17695. },
  17696. "putoptionpremiums": {
  17697. "description": "认沽期权1",
  17698. "type": "integer"
  17699. },
  17700. "putoptionpremiums2": {
  17701. "description": "认沽期权2",
  17702. "type": "integer"
  17703. },
  17704. "putoptionpremiums3": {
  17705. "description": "认沽期权3",
  17706. "type": "integer"
  17707. },
  17708. "putoptionpremiums4": {
  17709. "description": "认沽期权4",
  17710. "type": "integer"
  17711. },
  17712. "putoptionpremiums5": {
  17713. "description": "认沽期权5",
  17714. "type": "integer"
  17715. },
  17716. "settle": {
  17717. "description": "结算价",
  17718. "type": "number"
  17719. },
  17720. "strikeprice": {
  17721. "description": "发行价",
  17722. "type": "number"
  17723. },
  17724. "totalaskvolume": {
  17725. "description": "内盘",
  17726. "type": "integer"
  17727. },
  17728. "totalbidvolume": {
  17729. "description": "外盘",
  17730. "type": "integer"
  17731. },
  17732. "totallot": {
  17733. "description": "总手数",
  17734. "type": "integer"
  17735. },
  17736. "totalturnover": {
  17737. "description": "总金额",
  17738. "type": "number"
  17739. },
  17740. "totalvolume": {
  17741. "description": "总量",
  17742. "type": "integer"
  17743. },
  17744. "utclasttime": {
  17745. "description": "utc的行情时间",
  17746. "type": "string"
  17747. }
  17748. }
  17749. },
  17750. "quote.QueryTSDataRsp": {
  17751. "type": "object",
  17752. "properties": {
  17753. "decimalPlace": {
  17754. "description": "小数位",
  17755. "type": "integer"
  17756. },
  17757. "endTime": {
  17758. "description": "结束时间",
  17759. "type": "string"
  17760. },
  17761. "goodsCode": {
  17762. "description": "商品代码",
  17763. "type": "string"
  17764. },
  17765. "historyDatas": {
  17766. "description": "历史数据",
  17767. "type": "array",
  17768. "items": {
  17769. "$ref": "#/definitions/quote.HistoryData"
  17770. }
  17771. },
  17772. "outGoodsCode": {
  17773. "description": "外部商品代码",
  17774. "type": "string"
  17775. },
  17776. "preSettle": {
  17777. "description": "昨结",
  17778. "type": "number"
  17779. },
  17780. "startTime": {
  17781. "description": "开始时间",
  17782. "type": "string"
  17783. },
  17784. "tradeDate": {
  17785. "description": "交易日",
  17786. "type": "string"
  17787. }
  17788. }
  17789. },
  17790. "szdz.QueryConvertLogRsp": {
  17791. "type": "object",
  17792. "required": [
  17793. "logid"
  17794. ],
  17795. "properties": {
  17796. "accountid": {
  17797. "description": "资金账户ID",
  17798. "type": "integer"
  17799. },
  17800. "clientticket": {
  17801. "description": "客户端流水号",
  17802. "type": "string"
  17803. },
  17804. "converttype": {
  17805. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17806. "type": "integer"
  17807. },
  17808. "createtime": {
  17809. "description": "记账时间",
  17810. "type": "string"
  17811. },
  17812. "daymaxvalue": {
  17813. "description": "配置当日最大转入限制",
  17814. "type": "number"
  17815. },
  17816. "daymaxvalue2": {
  17817. "description": "配置当日最大转入限制(转入)",
  17818. "type": "number"
  17819. },
  17820. "goodscode": {
  17821. "description": "商品代码",
  17822. "type": "string"
  17823. },
  17824. "goodsname": {
  17825. "description": "商品名称",
  17826. "type": "string"
  17827. },
  17828. "handlestatus": {
  17829. "description": "处理状态",
  17830. "type": "integer"
  17831. },
  17832. "innergoodsid": {
  17833. "description": "内部商品ID",
  17834. "type": "integer"
  17835. },
  17836. "inratio": {
  17837. "description": "配置转入比值",
  17838. "type": "integer"
  17839. },
  17840. "invalue": {
  17841. "description": "目标值",
  17842. "type": "number"
  17843. },
  17844. "logid": {
  17845. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17846. "type": "integer"
  17847. },
  17848. "mobile": {
  17849. "description": "手机号码(加密存储)",
  17850. "type": "string"
  17851. },
  17852. "outergoodscode": {
  17853. "description": "外部商品代码[JD\\PD]",
  17854. "type": "string"
  17855. },
  17856. "outratio": {
  17857. "description": "配置转出比值",
  17858. "type": "integer"
  17859. },
  17860. "outvalue": {
  17861. "description": "源值",
  17862. "type": "number"
  17863. },
  17864. "pddecimalplace": {
  17865. "description": "PD小数位",
  17866. "type": "integer"
  17867. },
  17868. "qty": {
  17869. "description": "数量",
  17870. "type": "string"
  17871. },
  17872. "remark": {
  17873. "description": "备注",
  17874. "type": "string"
  17875. },
  17876. "sessionid": {
  17877. "description": "会话ID",
  17878. "type": "integer"
  17879. },
  17880. "timemaxvalue": {
  17881. "description": "配置单次最大转入限制",
  17882. "type": "number"
  17883. },
  17884. "timemaxvalue2": {
  17885. "description": "配置单次最大转入限制(转入)",
  17886. "type": "number"
  17887. },
  17888. "timeminvalue": {
  17889. "description": "配置单次最小数量限制",
  17890. "type": "number"
  17891. },
  17892. "timeminvalue2": {
  17893. "description": "配置单次最小数量限制(转入)",
  17894. "type": "number"
  17895. },
  17896. "tradedate": {
  17897. "description": "交易日(yyyyMMdd)",
  17898. "type": "string"
  17899. },
  17900. "userid": {
  17901. "description": "用户ID",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "szdz.QueryGoodsPickupRsp": {
  17907. "type": "object",
  17908. "required": [
  17909. "takeorderid"
  17910. ],
  17911. "properties": {
  17912. "accountid": {
  17913. "description": "账户ID",
  17914. "type": "integer"
  17915. },
  17916. "address": {
  17917. "description": "提货人详细地址",
  17918. "type": "string"
  17919. },
  17920. "auditer": {
  17921. "description": "审核人",
  17922. "type": "integer"
  17923. },
  17924. "audittime": {
  17925. "description": "审核时间",
  17926. "type": "string"
  17927. },
  17928. "cardnum": {
  17929. "description": "提货人证件号码",
  17930. "type": "string"
  17931. },
  17932. "cardtypeid": {
  17933. "description": "提货人证件类型",
  17934. "type": "integer"
  17935. },
  17936. "checkremark": {
  17937. "description": "审核备注",
  17938. "type": "string"
  17939. },
  17940. "goodscode": {
  17941. "description": "商品代码",
  17942. "type": "string"
  17943. },
  17944. "goodsid": {
  17945. "description": "商品ID",
  17946. "type": "integer"
  17947. },
  17948. "goodsname": {
  17949. "description": "商品名称",
  17950. "type": "string"
  17951. },
  17952. "handlestatus": {
  17953. "description": "处理状态",
  17954. "type": "integer"
  17955. },
  17956. "marketid": {
  17957. "description": "市场ID",
  17958. "type": "integer"
  17959. },
  17960. "phonenum": {
  17961. "description": "提货人联系方式",
  17962. "type": "string"
  17963. },
  17964. "qty": {
  17965. "description": "提货数量",
  17966. "type": "number"
  17967. },
  17968. "recivername": {
  17969. "description": "提货人姓名",
  17970. "type": "string"
  17971. },
  17972. "reqtime": {
  17973. "description": "更新时间",
  17974. "type": "string"
  17975. },
  17976. "takemode": {
  17977. "description": "提货方式 - 2:自提 3:配送",
  17978. "type": "integer"
  17979. },
  17980. "takeorderid": {
  17981. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17982. "type": "string"
  17983. },
  17984. "takeorderstatus": {
  17985. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17986. "type": "integer"
  17987. },
  17988. "takeremark": {
  17989. "description": "提货备注",
  17990. "type": "string"
  17991. },
  17992. "tradedate": {
  17993. "description": "交易日(yyyyMMdd)",
  17994. "type": "string"
  17995. },
  17996. "userid": {
  17997. "description": "用户ID",
  17998. "type": "integer"
  17999. }
  18000. }
  18001. },
  18002. "szdz.QueryRecieptOrderRsp": {
  18003. "type": "object",
  18004. "required": [
  18005. "ordertime"
  18006. ],
  18007. "properties": {
  18008. "accountName": {
  18009. "description": "所属账号名称(已脱敏)",
  18010. "type": "string"
  18011. },
  18012. "accountid": {
  18013. "description": "资金账号",
  18014. "type": "integer"
  18015. },
  18016. "buyorsell": {
  18017. "description": "方向 - 0:买 1:卖",
  18018. "type": "integer"
  18019. },
  18020. "enableqty": {
  18021. "description": "可摘数量",
  18022. "type": "integer"
  18023. },
  18024. "goodscode": {
  18025. "description": "商品代码",
  18026. "type": "string"
  18027. },
  18028. "goodsid": {
  18029. "description": "商品ID",
  18030. "type": "integer"
  18031. },
  18032. "goodsname": {
  18033. "description": "商品名称",
  18034. "type": "string"
  18035. },
  18036. "orderid": {
  18037. "description": "委托单号",
  18038. "type": "string"
  18039. },
  18040. "orderprice": {
  18041. "description": "委托价格",
  18042. "type": "number"
  18043. },
  18044. "ordertime": {
  18045. "description": "委托时间",
  18046. "type": "string"
  18047. },
  18048. "tradedate": {
  18049. "description": "交易日(yyyyMMdd)",
  18050. "type": "string"
  18051. }
  18052. }
  18053. },
  18054. "szdz.QuerySZDZTradePositionRsp": {
  18055. "type": "object",
  18056. "properties": {
  18057. "accountid": {
  18058. "description": "账号Id",
  18059. "type": "integer"
  18060. },
  18061. "agreeunit": {
  18062. "description": "合约单位",
  18063. "type": "number"
  18064. },
  18065. "averageprice": {
  18066. "description": "持仓均价",
  18067. "type": "number"
  18068. },
  18069. "buyorsell": {
  18070. "description": "方向 - 0:买 1:卖",
  18071. "type": "integer"
  18072. },
  18073. "closetotalqty": {
  18074. "description": "平仓总数量",
  18075. "type": "integer"
  18076. },
  18077. "curholderamount": {
  18078. "description": "当前持仓总金额",
  18079. "type": "number"
  18080. },
  18081. "curpositionqty": {
  18082. "description": "当前持仓总数量",
  18083. "type": "integer"
  18084. },
  18085. "currencyid": {
  18086. "description": "报价货币ID",
  18087. "type": "integer"
  18088. },
  18089. "curtdposition": {
  18090. "description": "期末今日头寸",
  18091. "type": "integer"
  18092. },
  18093. "decimalplace": {
  18094. "description": "报价小数位",
  18095. "type": "integer"
  18096. },
  18097. "enableqty": {
  18098. "description": "可用量",
  18099. "type": "integer"
  18100. },
  18101. "fretdposition": {
  18102. "description": "冻结今日头寸",
  18103. "type": "integer"
  18104. },
  18105. "frozenqty": {
  18106. "description": "持仓冻结数量",
  18107. "type": "integer"
  18108. },
  18109. "goodscode": {
  18110. "description": "商品代码(内部)",
  18111. "type": "string"
  18112. },
  18113. "goodsid": {
  18114. "description": "商品Id",
  18115. "type": "integer"
  18116. },
  18117. "goodsname": {
  18118. "description": "商品名称",
  18119. "type": "string"
  18120. },
  18121. "goodunit": {
  18122. "description": "报价单位",
  18123. "type": "string"
  18124. },
  18125. "goodunitid": {
  18126. "description": "报价单位ID",
  18127. "type": "integer"
  18128. },
  18129. "holderamount": {
  18130. "description": "期初持仓总金额",
  18131. "type": "number"
  18132. },
  18133. "marketid": {
  18134. "description": "市场ID",
  18135. "type": "integer"
  18136. },
  18137. "openreqqty": {
  18138. "description": "开仓申请数量",
  18139. "type": "integer"
  18140. },
  18141. "opentotalqty": {
  18142. "description": "开仓总数量",
  18143. "type": "integer"
  18144. },
  18145. "otherfrozenqty": {
  18146. "description": "持仓其他冻结数量(交割冻结)",
  18147. "type": "integer"
  18148. },
  18149. "positionqty": {
  18150. "description": "期初持仓数量",
  18151. "type": "integer"
  18152. },
  18153. "szdz3freezqty": {
  18154. "description": "尚志大宗转换冻结总数量",
  18155. "type": "integer"
  18156. },
  18157. "tnqty": {
  18158. "description": "T+N冻结总量",
  18159. "type": "integer"
  18160. },
  18161. "tnusedqty": {
  18162. "description": "T+N使用量",
  18163. "type": "integer"
  18164. },
  18165. "trademode": {
  18166. "description": "交易模式",
  18167. "type": "integer"
  18168. },
  18169. "usedmargin": {
  18170. "description": "占用保证金",
  18171. "type": "number"
  18172. }
  18173. }
  18174. },
  18175. "taaccount.QueryAmountLogRsp": {
  18176. "type": "object",
  18177. "required": [
  18178. "accountid",
  18179. "amount",
  18180. "amountadjusttype",
  18181. "autoid",
  18182. "balance",
  18183. "createtime",
  18184. "currentbalance",
  18185. "operatetype"
  18186. ],
  18187. "properties": {
  18188. "OPERATETYPENAME": {
  18189. "description": "资金操作类型名称",
  18190. "type": "string"
  18191. },
  18192. "accountid": {
  18193. "description": "资金账户ID",
  18194. "type": "integer"
  18195. },
  18196. "agoodscode": {
  18197. "description": "竞拍商品代码",
  18198. "type": "string"
  18199. },
  18200. "agoodsname": {
  18201. "description": "竞拍商品名称",
  18202. "type": "string"
  18203. },
  18204. "amount": {
  18205. "description": "资金金额",
  18206. "type": "number"
  18207. },
  18208. "amountadjusttype": {
  18209. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18210. "type": "integer"
  18211. },
  18212. "autoid": {
  18213. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18214. "type": "integer"
  18215. },
  18216. "balance": {
  18217. "description": "期初余额",
  18218. "type": "number"
  18219. },
  18220. "businesscode": {
  18221. "description": "业务编号",
  18222. "type": "integer"
  18223. },
  18224. "createtime": {
  18225. "description": "发生时间",
  18226. "type": "string"
  18227. },
  18228. "currencyid": {
  18229. "description": "币种ID",
  18230. "type": "integer"
  18231. },
  18232. "currentbalance": {
  18233. "description": "期末余额(变动后金额)",
  18234. "type": "number"
  18235. },
  18236. "dgoodscode": {
  18237. "description": "交割商品代码",
  18238. "type": "string"
  18239. },
  18240. "dgoodsname": {
  18241. "description": "交割商品名称",
  18242. "type": "string"
  18243. },
  18244. "goodscode": {
  18245. "description": "商品代码",
  18246. "type": "string"
  18247. },
  18248. "goodsid": {
  18249. "description": "商品ID",
  18250. "type": "integer"
  18251. },
  18252. "goodsname": {
  18253. "description": "商品名称",
  18254. "type": "string"
  18255. },
  18256. "marketid": {
  18257. "description": "市场ID",
  18258. "type": "integer"
  18259. },
  18260. "marketname": {
  18261. "description": "市场名称",
  18262. "type": "string"
  18263. },
  18264. "moneyticket": {
  18265. "description": "资金流水号:银行端流水号",
  18266. "type": "integer"
  18267. },
  18268. "operatetype": {
  18269. "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:营销收款",
  18270. "type": "integer"
  18271. },
  18272. "relationorderid": {
  18273. "description": "关联单号",
  18274. "type": "string"
  18275. },
  18276. "remark": {
  18277. "description": "备注",
  18278. "type": "string"
  18279. },
  18280. "trademode": {
  18281. "description": "交易模式",
  18282. "type": "integer"
  18283. }
  18284. }
  18285. },
  18286. "taaccount.QueryHisAmountLogRsp": {
  18287. "type": "object",
  18288. "required": [
  18289. "accountid",
  18290. "amount",
  18291. "amountadjusttype",
  18292. "autoid",
  18293. "balance",
  18294. "createtime",
  18295. "currentbalance",
  18296. "histradedate",
  18297. "operatetype"
  18298. ],
  18299. "properties": {
  18300. "OPERATETYPENAME": {
  18301. "description": "资金操作类型名称",
  18302. "type": "string"
  18303. },
  18304. "accountid": {
  18305. "description": "资金账户ID",
  18306. "type": "integer"
  18307. },
  18308. "agoodscode": {
  18309. "description": "竞拍商品代码",
  18310. "type": "string"
  18311. },
  18312. "agoodsname": {
  18313. "description": "竞拍商品名称",
  18314. "type": "string"
  18315. },
  18316. "amount": {
  18317. "description": "资金金额",
  18318. "type": "number"
  18319. },
  18320. "amountadjusttype": {
  18321. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18322. "type": "integer"
  18323. },
  18324. "autoid": {
  18325. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18326. "type": "integer"
  18327. },
  18328. "balance": {
  18329. "description": "期初余额",
  18330. "type": "number"
  18331. },
  18332. "businesscode": {
  18333. "description": "业务编号",
  18334. "type": "integer"
  18335. },
  18336. "createtime": {
  18337. "description": "发生时间",
  18338. "type": "string"
  18339. },
  18340. "currencyid": {
  18341. "description": "币种ID",
  18342. "type": "integer"
  18343. },
  18344. "currentbalance": {
  18345. "description": "期末余额(变动后金额)",
  18346. "type": "number"
  18347. },
  18348. "dgoodscode": {
  18349. "description": "交割商品代码",
  18350. "type": "string"
  18351. },
  18352. "dgoodsname": {
  18353. "description": "交割商品名称",
  18354. "type": "string"
  18355. },
  18356. "goodscode": {
  18357. "description": "商品代码",
  18358. "type": "string"
  18359. },
  18360. "goodsid": {
  18361. "description": "商品ID",
  18362. "type": "integer"
  18363. },
  18364. "goodsname": {
  18365. "description": "商品名称",
  18366. "type": "string"
  18367. },
  18368. "histradedate": {
  18369. "description": "历史交易日",
  18370. "type": "string"
  18371. },
  18372. "isvaliddata": {
  18373. "description": "是否有效 - 0:无效 1:有效",
  18374. "type": "integer"
  18375. },
  18376. "marketid": {
  18377. "description": "市场ID",
  18378. "type": "integer"
  18379. },
  18380. "marketname": {
  18381. "description": "市场名称",
  18382. "type": "string"
  18383. },
  18384. "moneyticket": {
  18385. "description": "资金流水号:银行端流水号",
  18386. "type": "integer"
  18387. },
  18388. "operatetype": {
  18389. "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:营销收款",
  18390. "type": "integer"
  18391. },
  18392. "relationorderid": {
  18393. "description": "关联单号",
  18394. "type": "string"
  18395. },
  18396. "remark": {
  18397. "description": "备注",
  18398. "type": "string"
  18399. },
  18400. "trademode": {
  18401. "description": "交易模式",
  18402. "type": "integer"
  18403. }
  18404. }
  18405. },
  18406. "trade.QueryRecieptOrderRsp": {
  18407. "type": "object",
  18408. "required": [
  18409. "ordertime"
  18410. ],
  18411. "properties": {
  18412. "accountName": {
  18413. "description": "所属账号名称(已脱敏)",
  18414. "type": "string"
  18415. },
  18416. "accountid": {
  18417. "description": "资金账号",
  18418. "type": "integer"
  18419. },
  18420. "buyorsell": {
  18421. "description": "方向 - 0:买 1:卖",
  18422. "type": "integer"
  18423. },
  18424. "enableqty": {
  18425. "description": "可摘数量",
  18426. "type": "integer"
  18427. },
  18428. "goodscode": {
  18429. "description": "商品代码",
  18430. "type": "string"
  18431. },
  18432. "goodsid": {
  18433. "description": "商品ID",
  18434. "type": "integer"
  18435. },
  18436. "goodsname": {
  18437. "description": "商品名称",
  18438. "type": "string"
  18439. },
  18440. "orderid": {
  18441. "description": "委托单号",
  18442. "type": "string"
  18443. },
  18444. "orderprice": {
  18445. "description": "委托价格",
  18446. "type": "number"
  18447. },
  18448. "ordertime": {
  18449. "description": "委托时间",
  18450. "type": "string"
  18451. },
  18452. "tradedate": {
  18453. "description": "交易日(yyyyMMdd)",
  18454. "type": "string"
  18455. }
  18456. }
  18457. },
  18458. "user.LoginQueryRsp": {
  18459. "type": "object",
  18460. "properties": {
  18461. "SystemParams": {
  18462. "description": "系统参数",
  18463. "type": "array",
  18464. "items": {
  18465. "$ref": "#/definitions/models.Systemparam"
  18466. }
  18467. },
  18468. "externalExchanges": {
  18469. "description": "外部交易所",
  18470. "type": "array",
  18471. "items": {
  18472. "$ref": "#/definitions/models.Externalexchange"
  18473. }
  18474. },
  18475. "goodsgroups": {
  18476. "description": "商品组",
  18477. "type": "array",
  18478. "items": {
  18479. "$ref": "#/definitions/models.Goodsgroup"
  18480. }
  18481. },
  18482. "loginAccount": {
  18483. "description": "登录账号",
  18484. "type": "object",
  18485. "$ref": "#/definitions/models.Loginaccount"
  18486. },
  18487. "markets": {
  18488. "description": "市场",
  18489. "type": "array",
  18490. "items": {
  18491. "$ref": "#/definitions/models.Market"
  18492. }
  18493. },
  18494. "userAccount": {
  18495. "description": "用户账号",
  18496. "type": "object",
  18497. "$ref": "#/definitions/models.Useraccount"
  18498. },
  18499. "userInfo": {
  18500. "description": "用户信息",
  18501. "type": "object",
  18502. "$ref": "#/definitions/models.Userinfo"
  18503. },
  18504. "username": {
  18505. "description": "用户姓名",
  18506. "type": "string"
  18507. }
  18508. }
  18509. }
  18510. },
  18511. "securityDefinitions": {
  18512. "ApiKeyAuth": {
  18513. "type": "apiKey",
  18514. "name": "Authorization",
  18515. "in": "header"
  18516. }
  18517. }
  18518. }`
  18519. type swaggerInfo struct {
  18520. Version string
  18521. Host string
  18522. BasePath string
  18523. Schemes []string
  18524. Title string
  18525. Description string
  18526. }
  18527. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18528. var SwaggerInfo = swaggerInfo{
  18529. Version: "1.0",
  18530. Host: "",
  18531. BasePath: "/api",
  18532. Schemes: []string{},
  18533. Title: "MTP2.0 查询服务 API",
  18534. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18535. }
  18536. type s struct{}
  18537. func (s *s) ReadDoc() string {
  18538. sInfo := SwaggerInfo
  18539. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18540. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18541. "marshal": func(v interface{}) string {
  18542. a, _ := json.Marshal(v)
  18543. return string(a)
  18544. },
  18545. }).Parse(doc)
  18546. if err != nil {
  18547. return doc
  18548. }
  18549. var tpl bytes.Buffer
  18550. if err := t.Execute(&tpl, sInfo); err != nil {
  18551. return doc
  18552. }
  18553. return tpl.String()
  18554. }
  18555. func init() {
  18556. swag.Register(swag.Name, &s{})
  18557. }