docs.go 528 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessKx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryChangeLog": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询变更记录",
  964. "parameters": [
  965. {
  966. "type": "string",
  967. "description": "用户ID",
  968. "name": "RelatedId",
  969. "in": "query",
  970. "required": true
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "type": "array",
  978. "items": {
  979. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  980. }
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryContract": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询合同(采购和销售)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userId",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "合同类型 1-采购, -1-销售",
  1017. "name": "contracttype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "integer",
  1023. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1024. "name": "querytype",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "type": "array",
  1034. "items": {
  1035. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1036. }
  1037. }
  1038. },
  1039. "500": {
  1040. "description": "Internal Server Error",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "/Ermcp/QueryExposureDetail": {
  1049. "get": {
  1050. "security": [
  1051. {
  1052. "ApiKeyAuth": []
  1053. }
  1054. ],
  1055. "produces": [
  1056. "application/json"
  1057. ],
  1058. "tags": [
  1059. "企业风险管理(app)"
  1060. ],
  1061. "summary": "查询敞口现货明细",
  1062. "parameters": [
  1063. {
  1064. "type": "integer",
  1065. "description": "所属机构ID",
  1066. "name": "areaUserId",
  1067. "in": "query",
  1068. "required": true
  1069. },
  1070. {
  1071. "type": "integer",
  1072. "description": "套保商品",
  1073. "name": "middleGoodsId",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureSpot": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "所属机构ID",
  1115. "name": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "type": "array",
  1125. "items": {
  1126. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1127. }
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Ermcp/QueryExposureSpotDetail": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "企业风险管理(app)"
  1151. ],
  1152. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "所属机构ID",
  1157. "name": "areaUserId",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": "现货品种ID",
  1164. "name": "wrstandardId",
  1165. "in": "query",
  1166. "required": true
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "OK",
  1172. "schema": {
  1173. "type": "array",
  1174. "items": {
  1175. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1176. }
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Ermcp/QueryGGConvertConfig": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "企业风险管理(app)"
  1200. ],
  1201. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1202. "parameters": [
  1203. {
  1204. "type": "integer",
  1205. "description": "品种id(不填则查所有)",
  1206. "name": "goodsgroupid",
  1207. "in": "query"
  1208. }
  1209. ],
  1210. "responses": {
  1211. "200": {
  1212. "description": "OK",
  1213. "schema": {
  1214. "type": "array",
  1215. "items": {
  1216. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1217. }
  1218. }
  1219. },
  1220. "500": {
  1221. "description": "Internal Server Error",
  1222. "schema": {
  1223. "$ref": "#/definitions/app.Response"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "/Ermcp/QueryHedgePlan": {
  1230. "get": {
  1231. "security": [
  1232. {
  1233. "ApiKeyAuth": []
  1234. }
  1235. ],
  1236. "produces": [
  1237. "application/json"
  1238. ],
  1239. "tags": [
  1240. "企业风险管理(app)"
  1241. ],
  1242. "summary": "查询套保计划",
  1243. "parameters": [
  1244. {
  1245. "type": "integer",
  1246. "description": "用户ID",
  1247. "name": "userId",
  1248. "in": "query",
  1249. "required": true
  1250. },
  1251. {
  1252. "type": "string",
  1253. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1254. "name": "HedgePlanStatus",
  1255. "in": "query",
  1256. "required": true
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryHisExposure": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "所属机构ID",
  1296. "name": "areaUserId",
  1297. "in": "query",
  1298. "required": true
  1299. },
  1300. {
  1301. "type": "integer",
  1302. "description": "最近多少条记录, -1:为查全部",
  1303. "name": "lastNum",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Ermcp/QueryMiddleGoods": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "企业风险管理(app)"
  1339. ],
  1340. "summary": "查询套保品种(菜单:套保品种)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "所属机构ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "integer",
  1351. "description": "状态 0-停用 1-正常",
  1352. "name": "status",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "所属机构ID",
  1394. "name": "userid",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "套保品种id",
  1401. "name": "middlegoodsid",
  1402. "in": "query",
  1403. "required": true
  1404. }
  1405. ],
  1406. "responses": {
  1407. "200": {
  1408. "description": "OK",
  1409. "schema": {
  1410. "type": "array",
  1411. "items": {
  1412. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1413. }
  1414. }
  1415. },
  1416. "500": {
  1417. "description": "Internal Server Error",
  1418. "schema": {
  1419. "$ref": "#/definitions/app.Response"
  1420. }
  1421. }
  1422. }
  1423. }
  1424. },
  1425. "/Ermcp/QueryMiddleGoodsDetail": {
  1426. "get": {
  1427. "security": [
  1428. {
  1429. "ApiKeyAuth": []
  1430. }
  1431. ],
  1432. "produces": [
  1433. "application/json"
  1434. ],
  1435. "tags": [
  1436. "企业风险管理(app)"
  1437. ],
  1438. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1439. "parameters": [
  1440. {
  1441. "type": "integer",
  1442. "description": "所属机构ID",
  1443. "name": "userid",
  1444. "in": "query",
  1445. "required": true
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "套保品种id",
  1450. "name": "middlegoodsid",
  1451. "in": "query",
  1452. "required": true
  1453. }
  1454. ],
  1455. "responses": {
  1456. "200": {
  1457. "description": "OK",
  1458. "schema": {
  1459. "type": "array",
  1460. "items": {
  1461. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1462. }
  1463. }
  1464. },
  1465. "500": {
  1466. "description": "Internal Server Error",
  1467. "schema": {
  1468. "$ref": "#/definitions/app.Response"
  1469. }
  1470. }
  1471. }
  1472. }
  1473. },
  1474. "/Ermcp/QueryRealtimeExposure": {
  1475. "get": {
  1476. "security": [
  1477. {
  1478. "ApiKeyAuth": []
  1479. }
  1480. ],
  1481. "produces": [
  1482. "application/json"
  1483. ],
  1484. "tags": [
  1485. "企业风险管理(app)"
  1486. ],
  1487. "summary": "查询实时敞口",
  1488. "parameters": [
  1489. {
  1490. "type": "integer",
  1491. "description": "所属机构ID",
  1492. "name": "AreaUserID",
  1493. "in": "query",
  1494. "required": true
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryRealtimeExposurePosition": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "所属机构ID",
  1534. "name": "areaUserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "套保商品ID",
  1541. "name": "middleGoodsId",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QuerySpotContract": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "企业风险管理(app)"
  1577. ],
  1578. "summary": "查询现货合同(对应现货合同菜单)",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "用户ID",
  1583. "name": "userId",
  1584. "in": "query",
  1585. "required": true
  1586. },
  1587. {
  1588. "type": "integer",
  1589. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1590. "name": "QueryType",
  1591. "in": "query",
  1592. "required": true
  1593. }
  1594. ],
  1595. "responses": {
  1596. "200": {
  1597. "description": "OK",
  1598. "schema": {
  1599. "type": "array",
  1600. "items": {
  1601. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1602. }
  1603. }
  1604. },
  1605. "500": {
  1606. "description": "Internal Server Error",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/Ermcp/QueryUserInfo": {
  1615. "get": {
  1616. "security": [
  1617. {
  1618. "ApiKeyAuth": []
  1619. }
  1620. ],
  1621. "produces": [
  1622. "application/json"
  1623. ],
  1624. "tags": [
  1625. "企业风险管理(app)"
  1626. ],
  1627. "summary": "查询客户资料",
  1628. "parameters": [
  1629. {
  1630. "type": "integer",
  1631. "description": "所属机构用户ID",
  1632. "name": "MemberUserID",
  1633. "in": "query",
  1634. "required": true
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  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.QryUserInfoRsp"
  1651. }
  1652. }
  1653. },
  1654. "500": {
  1655. "description": "Internal Server Error",
  1656. "schema": {
  1657. "$ref": "#/definitions/app.Response"
  1658. }
  1659. }
  1660. }
  1661. }
  1662. },
  1663. "/Ermcp/QueryWrStandard": {
  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": "userid",
  1682. "in": "query",
  1683. "required": true
  1684. },
  1685. {
  1686. "type": "integer",
  1687. "description": "状态 0-停用 1-正常",
  1688. "name": "status",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryWrStandardDetail": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "所属机构ID",
  1730. "name": "userid",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "integer",
  1736. "description": "现货商品ID",
  1737. "name": "wrstandardid",
  1738. "in": "query",
  1739. "required": true
  1740. }
  1741. ],
  1742. "responses": {
  1743. "200": {
  1744. "description": "OK",
  1745. "schema": {
  1746. "type": "array",
  1747. "items": {
  1748. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1749. }
  1750. }
  1751. },
  1752. "500": {
  1753. "description": "Internal Server Error",
  1754. "schema": {
  1755. "$ref": "#/definitions/app.Response"
  1756. }
  1757. }
  1758. }
  1759. }
  1760. },
  1761. "/Erms2/QueryArbitrageStrategy": {
  1762. "get": {
  1763. "security": [
  1764. {
  1765. "ApiKeyAuth": []
  1766. }
  1767. ],
  1768. "produces": [
  1769. "application/json"
  1770. ],
  1771. "tags": [
  1772. "风险管理"
  1773. ],
  1774. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1775. "parameters": [
  1776. {
  1777. "type": "integer",
  1778. "description": "账户ID",
  1779. "name": "userid",
  1780. "in": "query",
  1781. "required": true
  1782. },
  1783. {
  1784. "type": "string",
  1785. "description": "商品组ID(品种ID)",
  1786. "name": "goodsgroupid",
  1787. "in": "query"
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms2/QueryInnerTradeDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理"
  1818. ],
  1819. "summary": "查询内部成交单信息",
  1820. "parameters": [
  1821. {
  1822. "type": "integer",
  1823. "description": "资金账户",
  1824. "name": "accountid",
  1825. "in": "query",
  1826. "required": true
  1827. }
  1828. ],
  1829. "responses": {
  1830. "200": {
  1831. "description": "OK",
  1832. "schema": {
  1833. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1834. }
  1835. },
  1836. "500": {
  1837. "description": "Internal Server Error",
  1838. "schema": {
  1839. "$ref": "#/definitions/app.Response"
  1840. }
  1841. }
  1842. }
  1843. }
  1844. },
  1845. "/Erms2/QuerySpotContract": {
  1846. "get": {
  1847. "security": [
  1848. {
  1849. "ApiKeyAuth": []
  1850. }
  1851. ],
  1852. "produces": [
  1853. "application/json"
  1854. ],
  1855. "tags": [
  1856. "风险管理"
  1857. ],
  1858. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1859. "parameters": [
  1860. {
  1861. "type": "integer",
  1862. "description": "策略申请ID",
  1863. "name": "asapplyid",
  1864. "in": "query",
  1865. "required": true
  1866. },
  1867. {
  1868. "type": "integer",
  1869. "description": "现货合同ID",
  1870. "name": "spotcontractid",
  1871. "in": "query"
  1872. }
  1873. ],
  1874. "responses": {
  1875. "200": {
  1876. "description": "OK",
  1877. "schema": {
  1878. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/app.Response"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/Erms3/AddErms2ASApply": {
  1891. "post": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "风险管理v3"
  1902. ],
  1903. "summary": "新增期现套利业务申请",
  1904. "parameters": [
  1905. {
  1906. "description": "申请参数",
  1907. "name": "jsonBody",
  1908. "in": "body",
  1909. "required": true,
  1910. "schema": {
  1911. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1912. }
  1913. }
  1914. ],
  1915. "responses": {
  1916. "200": {
  1917. "description": "OK",
  1918. "schema": {
  1919. "$ref": "#/definitions/app.Response"
  1920. }
  1921. },
  1922. "500": {
  1923. "description": "Internal Server Error",
  1924. "schema": {
  1925. "$ref": "#/definitions/app.Response"
  1926. }
  1927. }
  1928. }
  1929. }
  1930. },
  1931. "/Erms3/AddErms2SpotTradeApply": {
  1932. "post": {
  1933. "security": [
  1934. {
  1935. "ApiKeyAuth": []
  1936. }
  1937. ],
  1938. "produces": [
  1939. "application/json"
  1940. ],
  1941. "tags": [
  1942. "风险管理v3"
  1943. ],
  1944. "summary": "新增现货贸易业务申请",
  1945. "parameters": [
  1946. {
  1947. "description": "申请参数",
  1948. "name": "jsonBody",
  1949. "in": "body",
  1950. "required": true,
  1951. "schema": {
  1952. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1953. }
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "$ref": "#/definitions/app.Response"
  1961. }
  1962. },
  1963. "500": {
  1964. "description": "Internal Server Error",
  1965. "schema": {
  1966. "$ref": "#/definitions/app.Response"
  1967. }
  1968. }
  1969. }
  1970. }
  1971. },
  1972. "/Erms3/AddSpotContractApply": {
  1973. "post": {
  1974. "security": [
  1975. {
  1976. "ApiKeyAuth": []
  1977. }
  1978. ],
  1979. "produces": [
  1980. "application/json"
  1981. ],
  1982. "tags": [
  1983. "风险管理v3"
  1984. ],
  1985. "summary": "新增现货合同申请",
  1986. "parameters": [
  1987. {
  1988. "description": "申请参数",
  1989. "name": "jsonBody",
  1990. "in": "body",
  1991. "required": true,
  1992. "schema": {
  1993. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1994. }
  1995. }
  1996. ],
  1997. "responses": {
  1998. "200": {
  1999. "description": "OK",
  2000. "schema": {
  2001. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Erms3/AddUserInfoApply": {
  2014. "post": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "风险管理v3"
  2025. ],
  2026. "summary": "新增客户申请",
  2027. "parameters": [
  2028. {
  2029. "description": "申请参数",
  2030. "name": "jsonBody",
  2031. "in": "body",
  2032. "required": true,
  2033. "schema": {
  2034. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2035. }
  2036. }
  2037. ],
  2038. "responses": {
  2039. "200": {
  2040. "description": "OK",
  2041. "schema": {
  2042. "$ref": "#/definitions/app.Response"
  2043. }
  2044. },
  2045. "500": {
  2046. "description": "Internal Server Error",
  2047. "schema": {
  2048. "$ref": "#/definitions/app.Response"
  2049. }
  2050. }
  2051. }
  2052. }
  2053. },
  2054. "/Erms3/QueryBusinessInfo": {
  2055. "get": {
  2056. "security": [
  2057. {
  2058. "ApiKeyAuth": []
  2059. }
  2060. ],
  2061. "produces": [
  2062. "application/json"
  2063. ],
  2064. "tags": [
  2065. "风险管理v3"
  2066. ],
  2067. "summary": "查询业务表单数据",
  2068. "parameters": [
  2069. {
  2070. "type": "string",
  2071. "description": "资金账号ID列表,用逗号分隔",
  2072. "name": "accountids",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "integer",
  2078. "description": "状态,0为未结束 1为已结束",
  2079. "name": "status",
  2080. "in": "query",
  2081. "required": true
  2082. }
  2083. ],
  2084. "responses": {
  2085. "200": {
  2086. "description": "OK",
  2087. "schema": {
  2088. "type": "array",
  2089. "items": {
  2090. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2091. }
  2092. }
  2093. },
  2094. "500": {
  2095. "description": "Internal Server Error",
  2096. "schema": {
  2097. "$ref": "#/definitions/app.Response"
  2098. }
  2099. }
  2100. }
  2101. }
  2102. },
  2103. "/Erms3/QueryPendingAuditContract": {
  2104. "get": {
  2105. "security": [
  2106. {
  2107. "ApiKeyAuth": []
  2108. }
  2109. ],
  2110. "produces": [
  2111. "application/json"
  2112. ],
  2113. "tags": [
  2114. "风险管理v3"
  2115. ],
  2116. "summary": "查询待审核合同",
  2117. "parameters": [
  2118. {
  2119. "type": "string",
  2120. "description": "资金账号ID列表,逗号隔开",
  2121. "name": "accountids",
  2122. "in": "query",
  2123. "required": true
  2124. },
  2125. {
  2126. "type": "integer",
  2127. "description": "合同类型 1-采购 -1-销售",
  2128. "name": "contracttype",
  2129. "in": "query",
  2130. "required": true
  2131. },
  2132. {
  2133. "type": "integer",
  2134. "description": "合同模式 1-普通 2-回购",
  2135. "name": "contractmode",
  2136. "in": "query",
  2137. "required": true
  2138. }
  2139. ],
  2140. "responses": {
  2141. "200": {
  2142. "description": "OK",
  2143. "schema": {
  2144. "type": "array",
  2145. "items": {
  2146. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2147. }
  2148. }
  2149. },
  2150. "500": {
  2151. "description": "Internal Server Error",
  2152. "schema": {
  2153. "$ref": "#/definitions/app.Response"
  2154. }
  2155. }
  2156. }
  2157. }
  2158. },
  2159. "/Erms3/QueryPendingBusiness": {
  2160. "get": {
  2161. "security": [
  2162. {
  2163. "ApiKeyAuth": []
  2164. }
  2165. ],
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "风险管理v3"
  2171. ],
  2172. "summary": "查询待审核基差贸易业务",
  2173. "parameters": [
  2174. {
  2175. "type": "string",
  2176. "description": "资金账号ID列表,逗号隔开",
  2177. "name": "accountids",
  2178. "in": "query",
  2179. "required": true
  2180. }
  2181. ],
  2182. "responses": {
  2183. "200": {
  2184. "description": "OK",
  2185. "schema": {
  2186. "type": "array",
  2187. "items": {
  2188. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2189. }
  2190. }
  2191. },
  2192. "500": {
  2193. "description": "Internal Server Error",
  2194. "schema": {
  2195. "$ref": "#/definitions/app.Response"
  2196. }
  2197. }
  2198. }
  2199. }
  2200. },
  2201. "/Erms3/QuerySpotContractAppleForm": {
  2202. "get": {
  2203. "security": [
  2204. {
  2205. "ApiKeyAuth": []
  2206. }
  2207. ],
  2208. "produces": [
  2209. "application/json"
  2210. ],
  2211. "tags": [
  2212. "风险管理v3"
  2213. ],
  2214. "summary": "查询合同申请表单数据",
  2215. "parameters": [
  2216. {
  2217. "type": "integer",
  2218. "description": "登录账号",
  2219. "name": "loginID",
  2220. "in": "query",
  2221. "required": true
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2229. }
  2230. },
  2231. "500": {
  2232. "description": "Internal Server Error",
  2233. "schema": {
  2234. "$ref": "#/definitions/app.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/Erms3/QuerySpotContractDetail": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "ApiKeyAuth": []
  2245. }
  2246. ],
  2247. "produces": [
  2248. "application/json"
  2249. ],
  2250. "tags": [
  2251. "风险管理v3"
  2252. ],
  2253. "summary": "查询合同详细信息",
  2254. "parameters": [
  2255. {
  2256. "type": "string",
  2257. "description": "资金账号ID列表,用逗号分隔",
  2258. "name": "accountids",
  2259. "in": "query",
  2260. "required": true
  2261. },
  2262. {
  2263. "type": "integer",
  2264. "description": "合同类型,1为采购合同 -1为销售合同",
  2265. "name": "contracttype",
  2266. "in": "query",
  2267. "required": true
  2268. },
  2269. {
  2270. "type": "integer",
  2271. "description": "合同模式,1为普通合同 2为回购销售合同",
  2272. "name": "contractmode",
  2273. "in": "query",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "integer",
  2278. "description": "状态,0为履约中 1为已完成",
  2279. "name": "status",
  2280. "in": "query",
  2281. "required": true
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Erms3/QueryUserInfoApplies": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "风险管理v3"
  2315. ],
  2316. "summary": "客户申请信息查询",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "页码",
  2321. "name": "page",
  2322. "in": "query"
  2323. },
  2324. {
  2325. "type": "integer",
  2326. "description": "每页条数",
  2327. "name": "pagesize",
  2328. "in": "query"
  2329. },
  2330. {
  2331. "type": "string",
  2332. "description": "客户名称,支持模糊查询",
  2333. "name": "userName",
  2334. "in": "query"
  2335. }
  2336. ],
  2337. "responses": {
  2338. "200": {
  2339. "description": "OK",
  2340. "schema": {
  2341. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2342. }
  2343. },
  2344. "500": {
  2345. "description": "Internal Server Error",
  2346. "schema": {
  2347. "$ref": "#/definitions/app.Response"
  2348. }
  2349. }
  2350. }
  2351. }
  2352. },
  2353. "/Erms3/QueryUserInfos": {
  2354. "get": {
  2355. "security": [
  2356. {
  2357. "ApiKeyAuth": []
  2358. }
  2359. ],
  2360. "produces": [
  2361. "application/json"
  2362. ],
  2363. "tags": [
  2364. "风险管理v3"
  2365. ],
  2366. "summary": "客户信息查询",
  2367. "parameters": [
  2368. {
  2369. "type": "integer",
  2370. "description": "页码",
  2371. "name": "page",
  2372. "in": "query"
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "每页条数",
  2377. "name": "pagesize",
  2378. "in": "query"
  2379. },
  2380. {
  2381. "type": "string",
  2382. "description": "客户名称,支持模糊查询",
  2383. "name": "userName",
  2384. "in": "query"
  2385. }
  2386. ],
  2387. "responses": {
  2388. "200": {
  2389. "description": "OK",
  2390. "schema": {
  2391. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2392. }
  2393. },
  2394. "500": {
  2395. "description": "Internal Server Error",
  2396. "schema": {
  2397. "$ref": "#/definitions/app.Response"
  2398. }
  2399. }
  2400. }
  2401. }
  2402. },
  2403. "/HSBY/GetHsbyMyCount": {
  2404. "get": {
  2405. "security": [
  2406. {
  2407. "ApiKeyAuth": []
  2408. }
  2409. ],
  2410. "description": "说明: 不包括已完成的数量。",
  2411. "produces": [
  2412. "application/json"
  2413. ],
  2414. "tags": [
  2415. "定制【海商报业】"
  2416. ],
  2417. "summary": "获取我的订单与包裹数量",
  2418. "parameters": [
  2419. {
  2420. "type": "string",
  2421. "description": "资金账户列表,格式:1,2,3",
  2422. "name": "accountIDs",
  2423. "in": "query",
  2424. "required": true
  2425. }
  2426. ],
  2427. "responses": {
  2428. "200": {
  2429. "description": "OK",
  2430. "schema": {
  2431. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/HSBY/QueryClientFixedADConfigs": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "定制【海商报业】"
  2455. ],
  2456. "summary": "获取终端固定广告配置",
  2457. "responses": {
  2458. "200": {
  2459. "description": "OK",
  2460. "schema": {
  2461. "$ref": "#/definitions/models.Clientfixedadconfig"
  2462. }
  2463. },
  2464. "500": {
  2465. "description": "Internal Server Error",
  2466. "schema": {
  2467. "$ref": "#/definitions/app.Response"
  2468. }
  2469. }
  2470. }
  2471. }
  2472. },
  2473. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2474. "get": {
  2475. "security": [
  2476. {
  2477. "ApiKeyAuth": []
  2478. }
  2479. ],
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "定制【海商报业】"
  2485. ],
  2486. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2487. "parameters": [
  2488. {
  2489. "type": "integer",
  2490. "description": "页码",
  2491. "name": "page",
  2492. "in": "query"
  2493. },
  2494. {
  2495. "type": "integer",
  2496. "description": "每页条数",
  2497. "name": "pagesize",
  2498. "in": "query"
  2499. },
  2500. {
  2501. "type": "string",
  2502. "description": "资金账户列表,格式:1,2,3",
  2503. "name": "accountIDs",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2525. "get": {
  2526. "security": [
  2527. {
  2528. "ApiKeyAuth": []
  2529. }
  2530. ],
  2531. "description": "说明:查询结果已按委托价格和委托时间排序",
  2532. "produces": [
  2533. "application/json"
  2534. ],
  2535. "tags": [
  2536. "定制【海商报业】"
  2537. ],
  2538. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2539. "parameters": [
  2540. {
  2541. "type": "integer",
  2542. "description": "商品ID",
  2543. "name": "goodsID",
  2544. "in": "query",
  2545. "required": true
  2546. },
  2547. {
  2548. "type": "string",
  2549. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2550. "name": "accountIDs",
  2551. "in": "query"
  2552. },
  2553. {
  2554. "type": "integer",
  2555. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2556. "name": "buyOrSell",
  2557. "in": "query"
  2558. },
  2559. {
  2560. "type": "number",
  2561. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2562. "name": "price",
  2563. "in": "query"
  2564. },
  2565. {
  2566. "type": "integer",
  2567. "description": "档位,不传则默认为3档",
  2568. "name": "speed",
  2569. "in": "query"
  2570. }
  2571. ],
  2572. "responses": {
  2573. "200": {
  2574. "description": "OK",
  2575. "schema": {
  2576. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/HSBY/QueryHsbyListingGoodsDetail": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "定制【海商报业】"
  2601. ],
  2602. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2603. "parameters": [
  2604. {
  2605. "type": "integer",
  2606. "description": "商品ID",
  2607. "name": "goodsID",
  2608. "in": "query",
  2609. "required": true
  2610. },
  2611. {
  2612. "type": "integer",
  2613. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2614. "name": "accountID",
  2615. "in": "query"
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2623. }
  2624. },
  2625. "500": {
  2626. "description": "Internal Server Error",
  2627. "schema": {
  2628. "$ref": "#/definitions/app.Response"
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2635. "get": {
  2636. "security": [
  2637. {
  2638. "ApiKeyAuth": []
  2639. }
  2640. ],
  2641. "produces": [
  2642. "application/json"
  2643. ],
  2644. "tags": [
  2645. "定制【海商报业】"
  2646. ],
  2647. "summary": "查询三级市场(商城)商品信息详情",
  2648. "parameters": [
  2649. {
  2650. "type": "integer",
  2651. "description": "委托单号",
  2652. "name": "orderID",
  2653. "in": "query",
  2654. "required": true
  2655. },
  2656. {
  2657. "type": "integer",
  2658. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2659. "name": "accountID",
  2660. "in": "query"
  2661. }
  2662. ],
  2663. "responses": {
  2664. "200": {
  2665. "description": "OK",
  2666. "schema": {
  2667. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/HSBY/QueryHsbyMarketGoodses": {
  2680. "get": {
  2681. "security": [
  2682. {
  2683. "ApiKeyAuth": []
  2684. }
  2685. ],
  2686. "produces": [
  2687. "application/json"
  2688. ],
  2689. "tags": [
  2690. "定制【海商报业】"
  2691. ],
  2692. "summary": "查询特卖商品列表(三级商城)",
  2693. "parameters": [
  2694. {
  2695. "type": "integer",
  2696. "description": "页码",
  2697. "name": "page",
  2698. "in": "query"
  2699. },
  2700. {
  2701. "type": "integer",
  2702. "description": "每页条数",
  2703. "name": "pagesize",
  2704. "in": "query"
  2705. },
  2706. {
  2707. "type": "string",
  2708. "description": "市场ID列表,格式:1,2,3",
  2709. "name": "marketIDs",
  2710. "in": "query",
  2711. "required": true
  2712. },
  2713. {
  2714. "type": "integer",
  2715. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2716. "name": "accountID",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "类别ID",
  2723. "name": "categoryID",
  2724. "in": "query"
  2725. },
  2726. {
  2727. "type": "string",
  2728. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2729. "name": "goodsIDs",
  2730. "in": "query"
  2731. },
  2732. {
  2733. "type": "integer",
  2734. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2735. "name": "couponTypeID",
  2736. "in": "query"
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "$ref": "#/definitions/models.HsbyMarketGoods"
  2744. }
  2745. },
  2746. "500": {
  2747. "description": "Internal Server Error",
  2748. "schema": {
  2749. "$ref": "#/definitions/app.Response"
  2750. }
  2751. }
  2752. }
  2753. }
  2754. },
  2755. "/HSBY/QueryHsbyMarkets": {
  2756. "get": {
  2757. "security": [
  2758. {
  2759. "ApiKeyAuth": []
  2760. }
  2761. ],
  2762. "produces": [
  2763. "application/json"
  2764. ],
  2765. "tags": [
  2766. "定制【海商报业】"
  2767. ],
  2768. "summary": "查询海商报业相关市场信息",
  2769. "responses": {
  2770. "200": {
  2771. "description": "OK",
  2772. "schema": {
  2773. "$ref": "#/definitions/models.HsbyMarketInfo"
  2774. }
  2775. },
  2776. "500": {
  2777. "description": "Internal Server Error",
  2778. "schema": {
  2779. "$ref": "#/definitions/app.Response"
  2780. }
  2781. }
  2782. }
  2783. }
  2784. },
  2785. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2786. "get": {
  2787. "security": [
  2788. {
  2789. "ApiKeyAuth": []
  2790. }
  2791. ],
  2792. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2793. "produces": [
  2794. "application/json"
  2795. ],
  2796. "tags": [
  2797. "定制【海商报业】"
  2798. ],
  2799. "summary": "查询“我的订单”信息",
  2800. "parameters": [
  2801. {
  2802. "type": "string",
  2803. "description": "资金账户列表,格式:1,2,3",
  2804. "name": "accountIDs",
  2805. "in": "query",
  2806. "required": true
  2807. },
  2808. {
  2809. "type": "integer",
  2810. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2811. "name": "myBuyStatus",
  2812. "in": "query"
  2813. }
  2814. ],
  2815. "responses": {
  2816. "200": {
  2817. "description": "OK",
  2818. "schema": {
  2819. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2820. }
  2821. },
  2822. "500": {
  2823. "description": "Internal Server Error",
  2824. "schema": {
  2825. "$ref": "#/definitions/app.Response"
  2826. }
  2827. }
  2828. }
  2829. }
  2830. },
  2831. "/HSBY/QueryHsbyMyGoods": {
  2832. "get": {
  2833. "security": [
  2834. {
  2835. "ApiKeyAuth": []
  2836. }
  2837. ],
  2838. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "定制【海商报业】"
  2844. ],
  2845. "summary": "查询“我的商品”信息",
  2846. "parameters": [
  2847. {
  2848. "type": "string",
  2849. "description": "资金账户列表,格式:1,2,3",
  2850. "name": "accountIDs",
  2851. "in": "query",
  2852. "required": true
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "$ref": "#/definitions/models.HsbyMyGoods"
  2860. }
  2861. },
  2862. "500": {
  2863. "description": "Internal Server Error",
  2864. "schema": {
  2865. "$ref": "#/definitions/app.Response"
  2866. }
  2867. }
  2868. }
  2869. }
  2870. },
  2871. "/HSBY/QueryHsbyMyPackages": {
  2872. "get": {
  2873. "security": [
  2874. {
  2875. "ApiKeyAuth": []
  2876. }
  2877. ],
  2878. "produces": [
  2879. "application/json"
  2880. ],
  2881. "tags": [
  2882. "定制【海商报业】"
  2883. ],
  2884. "summary": "查询我的包裹信息",
  2885. "parameters": [
  2886. {
  2887. "type": "string",
  2888. "description": "资金账户列表,格式:1,2,3",
  2889. "name": "accountIDs",
  2890. "in": "query",
  2891. "required": true
  2892. },
  2893. {
  2894. "type": "integer",
  2895. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2896. "name": "takeOrderStatus",
  2897. "in": "query"
  2898. }
  2899. ],
  2900. "responses": {
  2901. "200": {
  2902. "description": "OK",
  2903. "schema": {
  2904. "$ref": "#/definitions/models.HsbyMyPackage"
  2905. }
  2906. },
  2907. "500": {
  2908. "description": "Internal Server Error",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/HSBY/QueryHsbyPreGoodsDetail": {
  2917. "get": {
  2918. "security": [
  2919. {
  2920. "ApiKeyAuth": []
  2921. }
  2922. ],
  2923. "produces": [
  2924. "application/json"
  2925. ],
  2926. "tags": [
  2927. "定制【海商报业】"
  2928. ],
  2929. "summary": "查询一级市场(预售)商品信息详情",
  2930. "parameters": [
  2931. {
  2932. "type": "integer",
  2933. "description": "商品ID",
  2934. "name": "goodsID",
  2935. "in": "query",
  2936. "required": true
  2937. },
  2938. {
  2939. "type": "integer",
  2940. "description": "资金账户,主要用于获取预售商品购买上限",
  2941. "name": "accountID",
  2942. "in": "query"
  2943. }
  2944. ],
  2945. "responses": {
  2946. "200": {
  2947. "description": "OK",
  2948. "schema": {
  2949. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2950. }
  2951. },
  2952. "500": {
  2953. "description": "Internal Server Error",
  2954. "schema": {
  2955. "$ref": "#/definitions/app.Response"
  2956. }
  2957. }
  2958. }
  2959. }
  2960. },
  2961. "/HSBY/QueryHsbyPreGoodses": {
  2962. "get": {
  2963. "security": [
  2964. {
  2965. "ApiKeyAuth": []
  2966. }
  2967. ],
  2968. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "定制【海商报业】"
  2974. ],
  2975. "summary": "查询新品上市商品列表(一级市场预售)",
  2976. "parameters": [
  2977. {
  2978. "type": "integer",
  2979. "description": "页码",
  2980. "name": "page",
  2981. "in": "query"
  2982. },
  2983. {
  2984. "type": "integer",
  2985. "description": "每页条数",
  2986. "name": "pagesize",
  2987. "in": "query"
  2988. },
  2989. {
  2990. "type": "string",
  2991. "description": "市场ID列表,格式:1,2,3",
  2992. "name": "marketIDs",
  2993. "in": "query",
  2994. "required": true
  2995. },
  2996. {
  2997. "type": "integer",
  2998. "description": "目的地(省)ID",
  2999. "name": "descProvinceID",
  3000. "in": "query"
  3001. },
  3002. {
  3003. "type": "integer",
  3004. "description": "目的地(市)ID",
  3005. "name": "descCityID",
  3006. "in": "query"
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "$ref": "#/definitions/models.HsbyPreGoods"
  3014. }
  3015. },
  3016. "500": {
  3017. "description": "Internal Server Error",
  3018. "schema": {
  3019. "$ref": "#/definitions/app.Response"
  3020. }
  3021. }
  3022. }
  3023. }
  3024. },
  3025. "/HSBY/QueryHsbySellMyDetails": {
  3026. "get": {
  3027. "security": [
  3028. {
  3029. "ApiKeyAuth": []
  3030. }
  3031. ],
  3032. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "定制【海商报业】"
  3038. ],
  3039. "summary": "查询\"我的闲置\"单据信息",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "页码",
  3044. "name": "page",
  3045. "in": "query"
  3046. },
  3047. {
  3048. "type": "integer",
  3049. "description": "每页条数",
  3050. "name": "pagesize",
  3051. "in": "query"
  3052. },
  3053. {
  3054. "type": "string",
  3055. "description": "资金账户列表,格式:1,2,3",
  3056. "name": "accountIDs",
  3057. "in": "query",
  3058. "required": true
  3059. },
  3060. {
  3061. "type": "integer",
  3062. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3063. "name": "orderType",
  3064. "in": "query"
  3065. }
  3066. ],
  3067. "responses": {
  3068. "200": {
  3069. "description": "OK",
  3070. "schema": {
  3071. "$ref": "#/definitions/models.HsbySellMyDetail"
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/HSBY/QueryHsbyTopGoodses": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "定制【海商报业】"
  3096. ],
  3097. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3098. "parameters": [
  3099. {
  3100. "type": "integer",
  3101. "description": "页码",
  3102. "name": "page",
  3103. "in": "query"
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "每页条数",
  3108. "name": "pagesize",
  3109. "in": "query"
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "市场ID列表,格式:1,2,3",
  3114. "name": "marketIDs",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "目的地(省)ID",
  3121. "name": "descProvinceID",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "目的地(市)ID",
  3127. "name": "descCityID",
  3128. "in": "query"
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "$ref": "#/definitions/models.HsbyTopGoods"
  3136. }
  3137. },
  3138. "500": {
  3139. "description": "Internal Server Error",
  3140. "schema": {
  3141. "$ref": "#/definitions/app.Response"
  3142. }
  3143. }
  3144. }
  3145. }
  3146. },
  3147. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3148. "get": {
  3149. "security": [
  3150. {
  3151. "ApiKeyAuth": []
  3152. }
  3153. ],
  3154. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3155. "produces": [
  3156. "application/json"
  3157. ],
  3158. "tags": [
  3159. "定制【海商报业】"
  3160. ],
  3161. "summary": "查询游客三级市场(商城)商品信息详情",
  3162. "parameters": [
  3163. {
  3164. "type": "integer",
  3165. "description": "商品ID",
  3166. "name": "goodsID",
  3167. "in": "query",
  3168. "required": true
  3169. }
  3170. ],
  3171. "responses": {
  3172. "200": {
  3173. "description": "OK",
  3174. "schema": {
  3175. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3176. }
  3177. },
  3178. "500": {
  3179. "description": "Internal Server Error",
  3180. "schema": {
  3181. "$ref": "#/definitions/app.Response"
  3182. }
  3183. }
  3184. }
  3185. }
  3186. },
  3187. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3188. "get": {
  3189. "security": [
  3190. {
  3191. "ApiKeyAuth": []
  3192. }
  3193. ],
  3194. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3195. "produces": [
  3196. "application/json"
  3197. ],
  3198. "tags": [
  3199. "定制【海商报业】"
  3200. ],
  3201. "summary": "查询游客特卖商品列表(三级商城)",
  3202. "parameters": [
  3203. {
  3204. "type": "integer",
  3205. "description": "页码",
  3206. "name": "page",
  3207. "in": "query"
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "每页条数",
  3212. "name": "pagesize",
  3213. "in": "query"
  3214. },
  3215. {
  3216. "type": "string",
  3217. "description": "市场ID列表,格式:1,2,3",
  3218. "name": "marketIDs",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "integer",
  3224. "description": "类别ID",
  3225. "name": "categoryID",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "string",
  3230. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3231. "name": "goodsIDs",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "$ref": "#/definitions/models.HsbyMarketGoods"
  3240. }
  3241. },
  3242. "500": {
  3243. "description": "Internal Server Error",
  3244. "schema": {
  3245. "$ref": "#/definitions/app.Response"
  3246. }
  3247. }
  3248. }
  3249. }
  3250. },
  3251. "/HSBY/QueryMyCollectionOrders": {
  3252. "get": {
  3253. "security": [
  3254. {
  3255. "ApiKeyAuth": []
  3256. }
  3257. ],
  3258. "produces": [
  3259. "application/json"
  3260. ],
  3261. "tags": [
  3262. "定制【海商报业】"
  3263. ],
  3264. "summary": "我的闲置中收款信息查询",
  3265. "parameters": [
  3266. {
  3267. "type": "integer",
  3268. "description": "页码",
  3269. "name": "page",
  3270. "in": "query"
  3271. },
  3272. {
  3273. "type": "integer",
  3274. "description": "每页条数",
  3275. "name": "pagesize",
  3276. "in": "query"
  3277. },
  3278. {
  3279. "type": "string",
  3280. "description": "资金账户,格式:1,2,3",
  3281. "name": "accountIDs",
  3282. "in": "query",
  3283. "required": true
  3284. }
  3285. ],
  3286. "responses": {
  3287. "200": {
  3288. "description": "OK",
  3289. "schema": {
  3290. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3291. }
  3292. },
  3293. "500": {
  3294. "description": "Internal Server Error",
  3295. "schema": {
  3296. "$ref": "#/definitions/app.Response"
  3297. }
  3298. }
  3299. }
  3300. }
  3301. },
  3302. "/HSBY/QueryMyCouponHolds": {
  3303. "get": {
  3304. "security": [
  3305. {
  3306. "ApiKeyAuth": []
  3307. }
  3308. ],
  3309. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "定制【海商报业】"
  3315. ],
  3316. "summary": "我的优惠卷持仓查询",
  3317. "parameters": [
  3318. {
  3319. "type": "string",
  3320. "description": "资金账户列表,格式:1,2,3",
  3321. "name": "accountIDs",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "string",
  3327. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3328. "name": "holdStatus",
  3329. "in": "query"
  3330. }
  3331. ],
  3332. "responses": {
  3333. "200": {
  3334. "description": "OK",
  3335. "schema": {
  3336. "$ref": "#/definitions/models.MyCouponHold"
  3337. }
  3338. },
  3339. "500": {
  3340. "description": "Internal Server Error",
  3341. "schema": {
  3342. "$ref": "#/definitions/app.Response"
  3343. }
  3344. }
  3345. }
  3346. }
  3347. },
  3348. "/HSBY/QueryMyCoupons": {
  3349. "get": {
  3350. "security": [
  3351. {
  3352. "ApiKeyAuth": []
  3353. }
  3354. ],
  3355. "produces": [
  3356. "application/json"
  3357. ],
  3358. "tags": [
  3359. "定制【海商报业】"
  3360. ],
  3361. "summary": "我的优惠卷查询",
  3362. "parameters": [
  3363. {
  3364. "type": "string",
  3365. "description": "资金账户列表,格式:1,2,3",
  3366. "name": "accountIDs",
  3367. "in": "query",
  3368. "required": true
  3369. },
  3370. {
  3371. "type": "integer",
  3372. "description": "商品ID, 一般与sellUserID配套传入",
  3373. "name": "goodsID",
  3374. "in": "query"
  3375. },
  3376. {
  3377. "type": "integer",
  3378. "description": "卖方UserID",
  3379. "name": "sellUserID",
  3380. "in": "query"
  3381. }
  3382. ],
  3383. "responses": {
  3384. "200": {
  3385. "description": "OK",
  3386. "schema": {
  3387. "$ref": "#/definitions/models.MyCoupon"
  3388. }
  3389. },
  3390. "500": {
  3391. "description": "Internal Server Error",
  3392. "schema": {
  3393. "$ref": "#/definitions/app.Response"
  3394. }
  3395. }
  3396. }
  3397. }
  3398. },
  3399. "/HSBY/QueryMyPayOrders": {
  3400. "get": {
  3401. "security": [
  3402. {
  3403. "ApiKeyAuth": []
  3404. }
  3405. ],
  3406. "produces": [
  3407. "application/json"
  3408. ],
  3409. "tags": [
  3410. "定制【海商报业】"
  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": "资金账户列表,格式:1,2,3",
  3429. "name": "accountIDs",
  3430. "in": "query",
  3431. "required": true
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "买方委托单号",
  3436. "name": "buyOrderID",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "卖方委托单号",
  3442. "name": "sellOrderID",
  3443. "in": "query"
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3451. }
  3452. },
  3453. "500": {
  3454. "description": "Internal Server Error",
  3455. "schema": {
  3456. "$ref": "#/definitions/app.Response"
  3457. }
  3458. }
  3459. }
  3460. }
  3461. },
  3462. "/HSBY/QueryMyUsedCoupon": {
  3463. "get": {
  3464. "security": [
  3465. {
  3466. "ApiKeyAuth": []
  3467. }
  3468. ],
  3469. "produces": [
  3470. "application/json"
  3471. ],
  3472. "tags": [
  3473. "定制【海商报业】"
  3474. ],
  3475. "summary": "已使用优惠卷查询",
  3476. "parameters": [
  3477. {
  3478. "type": "string",
  3479. "description": "资金账户列表,格式:1,2,3",
  3480. "name": "accountIDs",
  3481. "in": "query",
  3482. "required": true
  3483. }
  3484. ],
  3485. "responses": {
  3486. "200": {
  3487. "description": "OK",
  3488. "schema": {
  3489. "$ref": "#/definitions/models.MyUsedCoupon"
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/HSBY/QueryProvincesAndCities": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3509. "produces": [
  3510. "application/json"
  3511. ],
  3512. "tags": [
  3513. "定制【海商报业】"
  3514. ],
  3515. "summary": "查询省市信息(不包括区)",
  3516. "parameters": [
  3517. {
  3518. "type": "integer",
  3519. "description": "省ID",
  3520. "name": "provinceID",
  3521. "in": "query"
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/HSBY/SetHsbyMyPackagesStatus": {
  3541. "post": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "定制【海商报业】"
  3552. ],
  3553. "summary": "设置我的包裹已收货状态",
  3554. "parameters": [
  3555. {
  3556. "type": "string",
  3557. "description": "提货单号",
  3558. "name": "takeOrderID",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "资金账号",
  3565. "name": "accountID",
  3566. "in": "query",
  3567. "required": true
  3568. }
  3569. ],
  3570. "responses": {
  3571. "200": {
  3572. "description": "OK",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. },
  3577. "500": {
  3578. "description": "Internal Server Error",
  3579. "schema": {
  3580. "$ref": "#/definitions/app.Response"
  3581. }
  3582. }
  3583. }
  3584. }
  3585. },
  3586. "/Market/QueryGoodsesByLoginID": {
  3587. "get": {
  3588. "security": [
  3589. {
  3590. "ApiKeyAuth": []
  3591. }
  3592. ],
  3593. "produces": [
  3594. "application/json"
  3595. ],
  3596. "tags": [
  3597. "通用市场"
  3598. ],
  3599. "summary": "获取登录账号有权限的商品信息",
  3600. "parameters": [
  3601. {
  3602. "type": "integer",
  3603. "description": "登录账号",
  3604. "name": "loginID",
  3605. "in": "query",
  3606. "required": true
  3607. },
  3608. {
  3609. "type": "string",
  3610. "description": "市场ID列表,格式:1,2,3",
  3611. "name": "marketIDs",
  3612. "in": "query"
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "$ref": "#/definitions/models.Goods"
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Market/QueryMarketRun": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "通用市场"
  3643. ],
  3644. "summary": "查询市场运行信息",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "市场ID,不传返回所有",
  3649. "name": "marketID",
  3650. "in": "query"
  3651. }
  3652. ],
  3653. "responses": {
  3654. "200": {
  3655. "description": "OK",
  3656. "schema": {
  3657. "$ref": "#/definitions/models.Marketrun"
  3658. }
  3659. },
  3660. "500": {
  3661. "description": "Internal Server Error",
  3662. "schema": {
  3663. "$ref": "#/definitions/app.Response"
  3664. }
  3665. }
  3666. }
  3667. }
  3668. },
  3669. "/Market/QueryMarketsByLoginID": {
  3670. "get": {
  3671. "security": [
  3672. {
  3673. "ApiKeyAuth": []
  3674. }
  3675. ],
  3676. "produces": [
  3677. "application/json"
  3678. ],
  3679. "tags": [
  3680. "通用市场"
  3681. ],
  3682. "summary": "获取登录账号有权限的市场信息",
  3683. "parameters": [
  3684. {
  3685. "type": "integer",
  3686. "description": "登录账号",
  3687. "name": "loginID",
  3688. "in": "query",
  3689. "required": true
  3690. }
  3691. ],
  3692. "responses": {
  3693. "200": {
  3694. "description": "OK",
  3695. "schema": {
  3696. "$ref": "#/definitions/models.Market"
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Order/QueryHisTradeDetail": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "通用单据"
  3720. ],
  3721. "summary": "历史成交单查询(合约市场)",
  3722. "parameters": [
  3723. {
  3724. "type": "string",
  3725. "description": "资金账户 - 格式:1,2,3",
  3726. "name": "accountID",
  3727. "in": "query",
  3728. "required": true
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "成交单号",
  3733. "name": "tradeID",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "委托单号",
  3739. "name": "orderID",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "string",
  3744. "description": "交易模式 - 格式:1,2,3",
  3745. "name": "tradeMode",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "委托单据类型",
  3751. "name": "buildType",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "成交类别 - 格式:1,2,3",
  3757. "name": "tradeType",
  3758. "in": "query"
  3759. },
  3760. {
  3761. "type": "string",
  3762. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3763. "name": "startDate",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "string",
  3768. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3769. "name": "endDate",
  3770. "in": "query"
  3771. }
  3772. ],
  3773. "responses": {
  3774. "200": {
  3775. "description": "OK",
  3776. "schema": {
  3777. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3778. }
  3779. },
  3780. "500": {
  3781. "description": "Internal Server Error",
  3782. "schema": {
  3783. "$ref": "#/definitions/app.Response"
  3784. }
  3785. }
  3786. }
  3787. }
  3788. },
  3789. "/Order/QueryHisTradeOrderDetail": {
  3790. "get": {
  3791. "security": [
  3792. {
  3793. "ApiKeyAuth": []
  3794. }
  3795. ],
  3796. "produces": [
  3797. "application/json"
  3798. ],
  3799. "tags": [
  3800. "通用单据"
  3801. ],
  3802. "summary": "历史委托单查询请求(合约市场)",
  3803. "parameters": [
  3804. {
  3805. "type": "string",
  3806. "description": "资金账户 - 格式:1,2,3",
  3807. "name": "accountID",
  3808. "in": "query",
  3809. "required": true
  3810. },
  3811. {
  3812. "type": "string",
  3813. "description": "交易模式 - 格式:1,2,3",
  3814. "name": "tradeMode",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "string",
  3819. "description": "委托状态 - 格式:1,2,3",
  3820. "name": "orderStatus",
  3821. "in": "query"
  3822. },
  3823. {
  3824. "type": "integer",
  3825. "description": "委托单号",
  3826. "name": "orderID",
  3827. "in": "query"
  3828. },
  3829. {
  3830. "type": "string",
  3831. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3832. "name": "startDate",
  3833. "in": "query"
  3834. },
  3835. {
  3836. "type": "string",
  3837. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3838. "name": "endDate",
  3839. "in": "query"
  3840. }
  3841. ],
  3842. "responses": {
  3843. "200": {
  3844. "description": "OK",
  3845. "schema": {
  3846. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3847. }
  3848. },
  3849. "500": {
  3850. "description": "Internal Server Error",
  3851. "schema": {
  3852. "$ref": "#/definitions/app.Response"
  3853. }
  3854. }
  3855. }
  3856. }
  3857. },
  3858. "/Order/QueryTradeDetail": {
  3859. "get": {
  3860. "security": [
  3861. {
  3862. "ApiKeyAuth": []
  3863. }
  3864. ],
  3865. "produces": [
  3866. "application/json"
  3867. ],
  3868. "tags": [
  3869. "通用单据"
  3870. ],
  3871. "summary": "成交单查询(合约市场)",
  3872. "parameters": [
  3873. {
  3874. "type": "string",
  3875. "description": "资金账户 - 格式:1,2,3",
  3876. "name": "accountID",
  3877. "in": "query",
  3878. "required": true
  3879. },
  3880. {
  3881. "type": "integer",
  3882. "description": "成交单号",
  3883. "name": "tradeID",
  3884. "in": "query"
  3885. },
  3886. {
  3887. "type": "integer",
  3888. "description": "委托单号",
  3889. "name": "orderID",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "交易模式 - 格式:1,2,3",
  3895. "name": "tradeMode",
  3896. "in": "query"
  3897. },
  3898. {
  3899. "type": "integer",
  3900. "description": "委托单据类型",
  3901. "name": "buildType",
  3902. "in": "query"
  3903. },
  3904. {
  3905. "type": "string",
  3906. "description": "成交类别 - 格式:1,2,3",
  3907. "name": "tradeType",
  3908. "in": "query"
  3909. }
  3910. ],
  3911. "responses": {
  3912. "200": {
  3913. "description": "OK",
  3914. "schema": {
  3915. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3916. }
  3917. },
  3918. "500": {
  3919. "description": "Internal Server Error",
  3920. "schema": {
  3921. "$ref": "#/definitions/app.Response"
  3922. }
  3923. }
  3924. }
  3925. }
  3926. },
  3927. "/Order/QueryTradeOrderDetail": {
  3928. "get": {
  3929. "security": [
  3930. {
  3931. "ApiKeyAuth": []
  3932. }
  3933. ],
  3934. "produces": [
  3935. "application/json"
  3936. ],
  3937. "tags": [
  3938. "通用单据"
  3939. ],
  3940. "summary": "委托单查询请求(合约市场)",
  3941. "parameters": [
  3942. {
  3943. "type": "string",
  3944. "description": "资金账户 - 格式:1,2,3",
  3945. "name": "accountID",
  3946. "in": "query",
  3947. "required": true
  3948. },
  3949. {
  3950. "type": "string",
  3951. "description": "交易模式 - 格式:1,2,3",
  3952. "name": "tradeMode",
  3953. "in": "query"
  3954. },
  3955. {
  3956. "type": "string",
  3957. "description": "委托状态 - 格式:1,2,3",
  3958. "name": "orderStatus",
  3959. "in": "query"
  3960. },
  3961. {
  3962. "type": "integer",
  3963. "description": "委托单号",
  3964. "name": "orderID",
  3965. "in": "query"
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "OK",
  3971. "schema": {
  3972. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/Order/QueryTradePosition": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "通用单据"
  3996. ],
  3997. "summary": "持仓汇总查询(合约市场)",
  3998. "parameters": [
  3999. {
  4000. "type": "string",
  4001. "description": "资金账户 - 格式:1,2,3",
  4002. "name": "accountID",
  4003. "in": "query",
  4004. "required": true
  4005. },
  4006. {
  4007. "type": "string",
  4008. "description": "交易模式 - 格式:1,2,3",
  4009. "name": "tradeMode",
  4010. "in": "query"
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4018. }
  4019. },
  4020. "500": {
  4021. "description": "Internal Server Error",
  4022. "schema": {
  4023. "$ref": "#/definitions/app.Response"
  4024. }
  4025. }
  4026. }
  4027. }
  4028. },
  4029. "/Quote/QueryHistoryDatas": {
  4030. "get": {
  4031. "security": [
  4032. {
  4033. "ApiKeyAuth": []
  4034. }
  4035. ],
  4036. "produces": [
  4037. "application/json"
  4038. ],
  4039. "tags": [
  4040. "行情服务"
  4041. ],
  4042. "summary": "查询行情历史数据",
  4043. "parameters": [
  4044. {
  4045. "type": "integer",
  4046. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4047. "name": "cycleType",
  4048. "in": "query",
  4049. "required": true
  4050. },
  4051. {
  4052. "type": "string",
  4053. "description": "商品代码",
  4054. "name": "goodsCode",
  4055. "in": "query",
  4056. "required": true
  4057. },
  4058. {
  4059. "type": "string",
  4060. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4061. "name": "startTime",
  4062. "in": "query"
  4063. },
  4064. {
  4065. "type": "string",
  4066. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4067. "name": "endTime",
  4068. "in": "query"
  4069. },
  4070. {
  4071. "type": "integer",
  4072. "description": "条数",
  4073. "name": "count",
  4074. "in": "query"
  4075. },
  4076. {
  4077. "type": "boolean",
  4078. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4079. "name": "isAsc",
  4080. "in": "query"
  4081. }
  4082. ],
  4083. "responses": {
  4084. "200": {
  4085. "description": "OK",
  4086. "schema": {
  4087. "$ref": "#/definitions/quote.HistoryData"
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Quote/QueryTSData": {
  4100. "get": {
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "行情服务"
  4106. ],
  4107. "summary": "分时图数据查询",
  4108. "parameters": [
  4109. {
  4110. "type": "string",
  4111. "description": "商品代码",
  4112. "name": "GoodsCode",
  4113. "in": "query",
  4114. "required": true
  4115. }
  4116. ],
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4122. }
  4123. },
  4124. "500": {
  4125. "description": "Internal Server Error",
  4126. "schema": {
  4127. "$ref": "#/definitions/app.Response"
  4128. }
  4129. }
  4130. }
  4131. }
  4132. },
  4133. "/SZDZ/QueryConvertConfig": {
  4134. "get": {
  4135. "security": [
  4136. {
  4137. "ApiKeyAuth": []
  4138. }
  4139. ],
  4140. "produces": [
  4141. "application/json"
  4142. ],
  4143. "tags": [
  4144. "定制【尚志大宗】"
  4145. ],
  4146. "summary": "查询交易系统转换设置",
  4147. "parameters": [
  4148. {
  4149. "type": "integer",
  4150. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4151. "name": "convertType",
  4152. "in": "query"
  4153. },
  4154. {
  4155. "type": "string",
  4156. "description": "外部商品代码[JD\\PD]",
  4157. "name": "outerGoodsCode",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "string",
  4162. "description": "内部商品ID列表[交易],格式:1,2,3",
  4163. "name": "innerGoodsIDs",
  4164. "in": "query"
  4165. }
  4166. ],
  4167. "responses": {
  4168. "200": {
  4169. "description": "OK",
  4170. "schema": {
  4171. "$ref": "#/definitions/models.Szdz3convertconfig"
  4172. }
  4173. },
  4174. "500": {
  4175. "description": "Internal Server Error",
  4176. "schema": {
  4177. "$ref": "#/definitions/app.Response"
  4178. }
  4179. }
  4180. }
  4181. }
  4182. },
  4183. "/SZDZ/QueryConvertLog": {
  4184. "get": {
  4185. "security": [
  4186. {
  4187. "ApiKeyAuth": []
  4188. }
  4189. ],
  4190. "produces": [
  4191. "application/json"
  4192. ],
  4193. "tags": [
  4194. "定制【尚志大宗】"
  4195. ],
  4196. "summary": "交易系统转换流水查询",
  4197. "parameters": [
  4198. {
  4199. "type": "string",
  4200. "description": "资金账户 - 格式:1,2,3",
  4201. "name": "accountID",
  4202. "in": "query",
  4203. "required": true
  4204. },
  4205. {
  4206. "type": "string",
  4207. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4208. "name": "startDate",
  4209. "in": "query"
  4210. },
  4211. {
  4212. "type": "string",
  4213. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4214. "name": "endDate",
  4215. "in": "query"
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "Internal Server Error",
  4227. "schema": {
  4228. "$ref": "#/definitions/app.Response"
  4229. }
  4230. }
  4231. }
  4232. }
  4233. },
  4234. "/SZDZ/QueryGoodsPickup": {
  4235. "get": {
  4236. "security": [
  4237. {
  4238. "ApiKeyAuth": []
  4239. }
  4240. ],
  4241. "produces": [
  4242. "application/json"
  4243. ],
  4244. "tags": [
  4245. "定制【尚志大宗】"
  4246. ],
  4247. "summary": "商品提货单查询",
  4248. "parameters": [
  4249. {
  4250. "type": "string",
  4251. "description": "资金账户 - 格式:1,2,3",
  4252. "name": "accountID",
  4253. "in": "query",
  4254. "required": true
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4259. "name": "takeOrderStatus",
  4260. "in": "query"
  4261. }
  4262. ],
  4263. "responses": {
  4264. "200": {
  4265. "description": "OK",
  4266. "schema": {
  4267. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4268. }
  4269. },
  4270. "500": {
  4271. "description": "Internal Server Error",
  4272. "schema": {
  4273. "$ref": "#/definitions/app.Response"
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "/SZDZ/QueryRecieptOrder": {
  4280. "get": {
  4281. "security": [
  4282. {
  4283. "ApiKeyAuth": []
  4284. }
  4285. ],
  4286. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4287. "produces": [
  4288. "application/json"
  4289. ],
  4290. "tags": [
  4291. "定制【尚志大宗】"
  4292. ],
  4293. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4294. "parameters": [
  4295. {
  4296. "type": "integer",
  4297. "description": "页码",
  4298. "name": "page",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "每页条数",
  4304. "name": "pagesize",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "商品ID",
  4310. "name": "goodsID",
  4311. "in": "query",
  4312. "required": true
  4313. },
  4314. {
  4315. "type": "string",
  4316. "description": "所属账户名称",
  4317. "name": "accountName",
  4318. "in": "query"
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "市场ID",
  4323. "name": "marketID",
  4324. "in": "query"
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "方向 - 0:买 1:卖",
  4329. "name": "buyorsell",
  4330. "in": "query",
  4331. "required": true
  4332. }
  4333. ],
  4334. "responses": {
  4335. "200": {
  4336. "description": "OK",
  4337. "schema": {
  4338. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4339. }
  4340. },
  4341. "500": {
  4342. "description": "Internal Server Error",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. }
  4347. }
  4348. }
  4349. },
  4350. "/SZDZ/QuerySZDZTradePosition": {
  4351. "get": {
  4352. "security": [
  4353. {
  4354. "ApiKeyAuth": []
  4355. }
  4356. ],
  4357. "produces": [
  4358. "application/json"
  4359. ],
  4360. "tags": [
  4361. "定制【尚志大宗】"
  4362. ],
  4363. "summary": "持仓汇总查询(尚志大宗)",
  4364. "parameters": [
  4365. {
  4366. "type": "integer",
  4367. "description": "资金账户",
  4368. "name": "accountID",
  4369. "in": "query",
  4370. "required": true
  4371. }
  4372. ],
  4373. "responses": {
  4374. "200": {
  4375. "description": "OK",
  4376. "schema": {
  4377. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4378. }
  4379. },
  4380. "500": {
  4381. "description": "Internal Server Error",
  4382. "schema": {
  4383. "$ref": "#/definitions/app.Response"
  4384. }
  4385. }
  4386. }
  4387. }
  4388. },
  4389. "/SZDZ/SearchWhite": {
  4390. "get": {
  4391. "security": [
  4392. {
  4393. "ApiKeyAuth": []
  4394. }
  4395. ],
  4396. "produces": [
  4397. "application/json"
  4398. ],
  4399. "tags": [
  4400. "定制【尚志大宗】"
  4401. ],
  4402. "summary": "搜索白名单",
  4403. "parameters": [
  4404. {
  4405. "type": "integer",
  4406. "description": "用户ID",
  4407. "name": "userID",
  4408. "in": "query",
  4409. "required": true
  4410. }
  4411. ],
  4412. "responses": {
  4413. "200": {
  4414. "description": "OK",
  4415. "schema": {
  4416. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4417. }
  4418. },
  4419. "500": {
  4420. "description": "Internal Server Error",
  4421. "schema": {
  4422. "$ref": "#/definitions/app.Response"
  4423. }
  4424. }
  4425. }
  4426. }
  4427. },
  4428. "/Search/SearchGoodses": {
  4429. "get": {
  4430. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "检索服务"
  4436. ],
  4437. "summary": "检索商品信息",
  4438. "parameters": [
  4439. {
  4440. "type": "string",
  4441. "description": "检索内容",
  4442. "name": "content",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "string",
  4448. "description": "交易模式,格式:1,2,3",
  4449. "name": "tradeModes",
  4450. "in": "query"
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "$ref": "#/definitions/models.SearchGoods"
  4458. }
  4459. },
  4460. "500": {
  4461. "description": "Internal Server Error",
  4462. "schema": {
  4463. "$ref": "#/definitions/app.Response"
  4464. }
  4465. }
  4466. }
  4467. }
  4468. },
  4469. "/TaAccount/QueryAmountLog": {
  4470. "get": {
  4471. "security": [
  4472. {
  4473. "ApiKeyAuth": []
  4474. }
  4475. ],
  4476. "produces": [
  4477. "application/json"
  4478. ],
  4479. "tags": [
  4480. "资金账户"
  4481. ],
  4482. "summary": "资金流水查询(当前)",
  4483. "parameters": [
  4484. {
  4485. "type": "integer",
  4486. "description": "页码",
  4487. "name": "page",
  4488. "in": "query"
  4489. },
  4490. {
  4491. "type": "integer",
  4492. "description": "每页条数",
  4493. "name": "pagesize",
  4494. "in": "query"
  4495. },
  4496. {
  4497. "type": "string",
  4498. "description": "资金账户 - 格式:1,2,3",
  4499. "name": "accountID",
  4500. "in": "query",
  4501. "required": true
  4502. },
  4503. {
  4504. "type": "string",
  4505. "description": "资金操作类型 - 格式:1,2,3",
  4506. "name": "OperateType",
  4507. "in": "query"
  4508. }
  4509. ],
  4510. "responses": {
  4511. "200": {
  4512. "description": "OK",
  4513. "schema": {
  4514. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/TaAccount/QueryHisAmountLog": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "资金账户"
  4538. ],
  4539. "summary": "资金流水查询(历史)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "页码",
  4544. "name": "page",
  4545. "in": "query"
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "每页条数",
  4550. "name": "pagesize",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "string",
  4555. "description": "资金账户 - 格式:1,2,3",
  4556. "name": "accountID",
  4557. "in": "query",
  4558. "required": true
  4559. },
  4560. {
  4561. "type": "string",
  4562. "description": "资金操作类型 - 格式:1,2,3",
  4563. "name": "OperateType",
  4564. "in": "query"
  4565. },
  4566. {
  4567. "type": "string",
  4568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4569. "name": "startDate",
  4570. "in": "query"
  4571. },
  4572. {
  4573. "type": "string",
  4574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4575. "name": "endDate",
  4576. "in": "query"
  4577. }
  4578. ],
  4579. "responses": {
  4580. "200": {
  4581. "description": "OK",
  4582. "schema": {
  4583. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4584. }
  4585. },
  4586. "500": {
  4587. "description": "Internal Server Error",
  4588. "schema": {
  4589. "$ref": "#/definitions/app.Response"
  4590. }
  4591. }
  4592. }
  4593. }
  4594. },
  4595. "/Trade/QueryRecieptOrder": {
  4596. "get": {
  4597. "security": [
  4598. {
  4599. "ApiKeyAuth": []
  4600. }
  4601. ],
  4602. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4603. "produces": [
  4604. "application/json"
  4605. ],
  4606. "tags": [
  4607. "通用交易"
  4608. ],
  4609. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4610. "parameters": [
  4611. {
  4612. "type": "integer",
  4613. "description": "页码",
  4614. "name": "page",
  4615. "in": "query"
  4616. },
  4617. {
  4618. "type": "integer",
  4619. "description": "每页条数",
  4620. "name": "pagesize",
  4621. "in": "query"
  4622. },
  4623. {
  4624. "type": "integer",
  4625. "description": "商品ID",
  4626. "name": "goodsID",
  4627. "in": "query",
  4628. "required": true
  4629. },
  4630. {
  4631. "type": "string",
  4632. "description": "所属账户名称",
  4633. "name": "accountName",
  4634. "in": "query"
  4635. },
  4636. {
  4637. "type": "integer",
  4638. "description": "市场ID",
  4639. "name": "marketID",
  4640. "in": "query"
  4641. },
  4642. {
  4643. "type": "integer",
  4644. "description": "方向 - 0:买 1:卖",
  4645. "name": "buyorsell",
  4646. "in": "query",
  4647. "required": true
  4648. }
  4649. ],
  4650. "responses": {
  4651. "200": {
  4652. "description": "OK",
  4653. "schema": {
  4654. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4655. }
  4656. },
  4657. "500": {
  4658. "description": "Internal Server Error",
  4659. "schema": {
  4660. "$ref": "#/definitions/app.Response"
  4661. }
  4662. }
  4663. }
  4664. }
  4665. },
  4666. "/User/AddMessageBoard": {
  4667. "post": {
  4668. "security": [
  4669. {
  4670. "ApiKeyAuth": []
  4671. }
  4672. ],
  4673. "produces": [
  4674. "application/json"
  4675. ],
  4676. "tags": [
  4677. "用户信息"
  4678. ],
  4679. "summary": "添加用户留言板信息",
  4680. "parameters": [
  4681. {
  4682. "type": "integer",
  4683. "description": "用户ID",
  4684. "name": "userID",
  4685. "in": "query",
  4686. "required": true
  4687. },
  4688. {
  4689. "type": "string",
  4690. "description": "留言信息",
  4691. "name": "message",
  4692. "in": "query",
  4693. "required": true
  4694. }
  4695. ],
  4696. "responses": {
  4697. "200": {
  4698. "description": "OK",
  4699. "schema": {
  4700. "$ref": "#/definitions/app.Response"
  4701. }
  4702. },
  4703. "500": {
  4704. "description": "Internal Server Error",
  4705. "schema": {
  4706. "$ref": "#/definitions/app.Response"
  4707. }
  4708. }
  4709. }
  4710. }
  4711. },
  4712. "/User/AddUserFavoriteGoods": {
  4713. "post": {
  4714. "security": [
  4715. {
  4716. "ApiKeyAuth": []
  4717. }
  4718. ],
  4719. "produces": [
  4720. "application/json"
  4721. ],
  4722. "tags": [
  4723. "用户信息"
  4724. ],
  4725. "summary": "添加用户商品收藏信息",
  4726. "parameters": [
  4727. {
  4728. "type": "integer",
  4729. "description": "用户ID",
  4730. "name": "userID",
  4731. "in": "query",
  4732. "required": true
  4733. },
  4734. {
  4735. "type": "integer",
  4736. "description": "商品ID",
  4737. "name": "goodsID",
  4738. "in": "query",
  4739. "required": true
  4740. }
  4741. ],
  4742. "responses": {
  4743. "200": {
  4744. "description": "OK",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. },
  4749. "500": {
  4750. "description": "Internal Server Error",
  4751. "schema": {
  4752. "$ref": "#/definitions/app.Response"
  4753. }
  4754. }
  4755. }
  4756. }
  4757. },
  4758. "/User/GetLoginID": {
  4759. "get": {
  4760. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4761. "produces": [
  4762. "application/json"
  4763. ],
  4764. "tags": [
  4765. "用户信息"
  4766. ],
  4767. "summary": "获取登录ID",
  4768. "parameters": [
  4769. {
  4770. "type": "string",
  4771. "description": "登录代码",
  4772. "name": "username",
  4773. "in": "query",
  4774. "required": true
  4775. }
  4776. ],
  4777. "responses": {
  4778. "200": {
  4779. "description": "OK",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. },
  4784. "500": {
  4785. "description": "Internal Server Error",
  4786. "schema": {
  4787. "$ref": "#/definitions/app.Response"
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "/User/GetUserAccount": {
  4794. "get": {
  4795. "security": [
  4796. {
  4797. "ApiKeyAuth": []
  4798. }
  4799. ],
  4800. "produces": [
  4801. "application/json"
  4802. ],
  4803. "tags": [
  4804. "用户信息"
  4805. ],
  4806. "summary": "获取用户账号信息",
  4807. "parameters": [
  4808. {
  4809. "type": "integer",
  4810. "description": "用户ID",
  4811. "name": "userID",
  4812. "in": "query",
  4813. "required": true
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "$ref": "#/definitions/models.Useraccount"
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/User/GetUserAuthStatus": {
  4833. "get": {
  4834. "security": [
  4835. {
  4836. "ApiKeyAuth": []
  4837. }
  4838. ],
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "用户信息"
  4844. ],
  4845. "summary": "获取用户实名认证状态",
  4846. "parameters": [
  4847. {
  4848. "type": "integer",
  4849. "description": "用户ID",
  4850. "name": "userID",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "$ref": "#/definitions/app.Response"
  4860. }
  4861. },
  4862. "500": {
  4863. "description": "Internal Server Error",
  4864. "schema": {
  4865. "$ref": "#/definitions/app.Response"
  4866. }
  4867. }
  4868. }
  4869. }
  4870. },
  4871. "/User/QueryMessageBoard": {
  4872. "get": {
  4873. "security": [
  4874. {
  4875. "ApiKeyAuth": []
  4876. }
  4877. ],
  4878. "produces": [
  4879. "application/json"
  4880. ],
  4881. "tags": [
  4882. "用户信息"
  4883. ],
  4884. "summary": "获取用户留言板信息",
  4885. "parameters": [
  4886. {
  4887. "type": "integer",
  4888. "description": "用户ID",
  4889. "name": "userID",
  4890. "in": "query",
  4891. "required": true
  4892. }
  4893. ],
  4894. "responses": {
  4895. "200": {
  4896. "description": "OK",
  4897. "schema": {
  4898. "$ref": "#/definitions/models.Messageboard"
  4899. }
  4900. },
  4901. "500": {
  4902. "description": "Internal Server Error",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. }
  4907. }
  4908. }
  4909. },
  4910. "/User/QueryUserFavoriteGoodses": {
  4911. "get": {
  4912. "security": [
  4913. {
  4914. "ApiKeyAuth": []
  4915. }
  4916. ],
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "用户信息"
  4922. ],
  4923. "summary": "获取用户商品收藏信息",
  4924. "parameters": [
  4925. {
  4926. "type": "integer",
  4927. "description": "用户ID",
  4928. "name": "userID",
  4929. "in": "query",
  4930. "required": true
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/models.Userfavoritegoods"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/User/QueryUserInfo": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "用户信息"
  4961. ],
  4962. "summary": "获取用户信息",
  4963. "parameters": [
  4964. {
  4965. "type": "integer",
  4966. "description": "用户ID",
  4967. "name": "userID",
  4968. "in": "query",
  4969. "required": true
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/models.Userinfo"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/User/QueryUserReferNum": {
  4989. "get": {
  4990. "produces": [
  4991. "application/json"
  4992. ],
  4993. "tags": [
  4994. "用户信息"
  4995. ],
  4996. "summary": "获取用户邀请码",
  4997. "parameters": [
  4998. {
  4999. "type": "integer",
  5000. "description": "用户ID",
  5001. "name": "userID",
  5002. "in": "query",
  5003. "required": true
  5004. }
  5005. ],
  5006. "responses": {
  5007. "200": {
  5008. "description": "OK",
  5009. "schema": {
  5010. "$ref": "#/definitions/app.Response"
  5011. }
  5012. },
  5013. "500": {
  5014. "description": "Internal Server Error",
  5015. "schema": {
  5016. "$ref": "#/definitions/app.Response"
  5017. }
  5018. }
  5019. }
  5020. }
  5021. },
  5022. "/User/RemoveUserFavoriteGoods": {
  5023. "post": {
  5024. "security": [
  5025. {
  5026. "ApiKeyAuth": []
  5027. }
  5028. ],
  5029. "produces": [
  5030. "application/json"
  5031. ],
  5032. "tags": [
  5033. "用户信息"
  5034. ],
  5035. "summary": "移除用户商品收藏信息",
  5036. "parameters": [
  5037. {
  5038. "type": "integer",
  5039. "description": "用户ID",
  5040. "name": "userID",
  5041. "in": "query",
  5042. "required": true
  5043. },
  5044. {
  5045. "type": "integer",
  5046. "description": "商品ID",
  5047. "name": "goodsID",
  5048. "in": "query",
  5049. "required": true
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/WR/GetWRCategoryInfo": {
  5069. "get": {
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "仓单服务"
  5075. ],
  5076. "summary": "获取现货分类信息",
  5077. "responses": {
  5078. "200": {
  5079. "description": "OK",
  5080. "schema": {
  5081. "$ref": "#/definitions/models.WRCategoryTree"
  5082. }
  5083. },
  5084. "500": {
  5085. "description": "Internal Server Error",
  5086. "schema": {
  5087. "$ref": "#/definitions/app.Response"
  5088. }
  5089. }
  5090. }
  5091. }
  5092. },
  5093. "/WRTrade/GetAllDeliveryGoods": {
  5094. "get": {
  5095. "security": [
  5096. {
  5097. "ApiKeyAuth": []
  5098. },
  5099. {
  5100. "ApiKeyAuth": []
  5101. }
  5102. ],
  5103. "produces": [
  5104. "application/json",
  5105. "application/json"
  5106. ],
  5107. "tags": [
  5108. "仓单贸易",
  5109. "仓单贸易"
  5110. ],
  5111. "summary": "获取带仓单分类的种类信息",
  5112. "responses": {
  5113. "200": {
  5114. "description": "OK",
  5115. "schema": {
  5116. "$ref": "#/definitions/app.Response"
  5117. }
  5118. },
  5119. "500": {
  5120. "description": "Internal Server Error",
  5121. "schema": {
  5122. "$ref": "#/definitions/app.Response"
  5123. }
  5124. }
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "definitions": {
  5130. "app.Response": {
  5131. "type": "object",
  5132. "properties": {
  5133. "code": {
  5134. "type": "integer"
  5135. },
  5136. "data": {
  5137. "type": "object"
  5138. },
  5139. "msg": {
  5140. "type": "string"
  5141. },
  5142. "page": {
  5143. "description": "页码",
  5144. "type": "integer"
  5145. },
  5146. "pagesize": {
  5147. "description": "每页条数",
  5148. "type": "integer"
  5149. },
  5150. "total": {
  5151. "description": "总条数",
  5152. "type": "integer"
  5153. }
  5154. }
  5155. },
  5156. "common.QueryNoticeRsp": {
  5157. "type": "object",
  5158. "required": [
  5159. "autoid"
  5160. ],
  5161. "properties": {
  5162. "auditoruserid": {
  5163. "description": "审核人",
  5164. "type": "integer"
  5165. },
  5166. "auditremark": {
  5167. "description": "审核备注",
  5168. "type": "string"
  5169. },
  5170. "audittime": {
  5171. "description": "审核日期",
  5172. "type": "string"
  5173. },
  5174. "autoid": {
  5175. "description": "自增ID",
  5176. "type": "integer"
  5177. },
  5178. "content": {
  5179. "description": "内容",
  5180. "type": "string"
  5181. },
  5182. "createtime": {
  5183. "description": "创建时间",
  5184. "type": "string"
  5185. },
  5186. "creatorid": {
  5187. "description": "建仓人",
  5188. "type": "integer"
  5189. },
  5190. "endtime": {
  5191. "description": "结束时间",
  5192. "type": "string"
  5193. },
  5194. "istop": {
  5195. "description": "是否置顶 - 0:不置顶 1:置顶",
  5196. "type": "integer"
  5197. },
  5198. "msgiconurl": {
  5199. "description": "消息图标Url",
  5200. "type": "string"
  5201. },
  5202. "msgtype": {
  5203. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5204. "type": "integer"
  5205. },
  5206. "publisher": {
  5207. "description": "消息发布者",
  5208. "type": "string"
  5209. },
  5210. "readed": {
  5211. "description": "是否已读",
  5212. "type": "boolean"
  5213. },
  5214. "scheduletime": {
  5215. "description": "计划发送时间",
  5216. "type": "string"
  5217. },
  5218. "sendtype": {
  5219. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5220. "type": "integer"
  5221. },
  5222. "sentstatus": {
  5223. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5224. "type": "integer"
  5225. },
  5226. "title": {
  5227. "description": "标题",
  5228. "type": "string"
  5229. },
  5230. "userid": {
  5231. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5232. "type": "integer"
  5233. }
  5234. }
  5235. },
  5236. "common.QueryProvincesAndCitiesRsp": {
  5237. "type": "object",
  5238. "properties": {
  5239. "cities": {
  5240. "description": "市",
  5241. "type": "array",
  5242. "items": {
  5243. "$ref": "#/definitions/models.Division"
  5244. }
  5245. },
  5246. "province": {
  5247. "description": "省",
  5248. "type": "object",
  5249. "$ref": "#/definitions/models.Division"
  5250. }
  5251. }
  5252. },
  5253. "common.QueryTableDefineRsp": {
  5254. "type": "object",
  5255. "required": [
  5256. "tablekey"
  5257. ],
  5258. "properties": {
  5259. "columns": {
  5260. "description": "列头信息数组",
  5261. "type": "array",
  5262. "items": {
  5263. "$ref": "#/definitions/models.Tablecolumnconfig"
  5264. }
  5265. },
  5266. "remark": {
  5267. "description": "Remark",
  5268. "type": "string"
  5269. },
  5270. "tabelmenu": {
  5271. "description": "列表菜单",
  5272. "type": "string"
  5273. },
  5274. "tablekey": {
  5275. "description": "列表Key",
  5276. "type": "string"
  5277. },
  5278. "tablename": {
  5279. "description": "列表名称",
  5280. "type": "string"
  5281. },
  5282. "tabletype": {
  5283. "description": "列表类型 - 1:管理端 2:终端",
  5284. "type": "integer"
  5285. }
  5286. }
  5287. },
  5288. "common.QueryTraderMenuRsp": {
  5289. "type": "object",
  5290. "properties": {
  5291. "OperationMenu": {
  5292. "description": "功能菜单",
  5293. "type": "array",
  5294. "items": {
  5295. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5296. }
  5297. },
  5298. "QuoteMenu": {
  5299. "description": "报价牌分类菜单",
  5300. "type": "array",
  5301. "items": {
  5302. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5303. }
  5304. }
  5305. }
  5306. },
  5307. "cptrade.Cptradepositioncancel": {
  5308. "type": "object",
  5309. "required": [
  5310. "cancelid"
  5311. ],
  5312. "properties": {
  5313. "accountid": {
  5314. "description": "申请人账户ID",
  5315. "type": "integer"
  5316. },
  5317. "applystatus": {
  5318. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5319. "type": "integer"
  5320. },
  5321. "applytime": {
  5322. "description": "申请时间",
  5323. "type": "string"
  5324. },
  5325. "cancelid": {
  5326. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5327. "type": "integer"
  5328. },
  5329. "cancelqty": {
  5330. "description": "注销数量",
  5331. "type": "integer"
  5332. },
  5333. "createtime": {
  5334. "description": "创建时间",
  5335. "type": "string"
  5336. },
  5337. "creatorid": {
  5338. "description": "创建人ID",
  5339. "type": "integer"
  5340. },
  5341. "creatorname": {
  5342. "description": "创建人",
  5343. "type": "string"
  5344. },
  5345. "goodscode": {
  5346. "description": "订单商品代码",
  5347. "type": "string"
  5348. },
  5349. "goodsid": {
  5350. "description": "商品ID",
  5351. "type": "integer"
  5352. },
  5353. "goodsname": {
  5354. "description": "订单商品名称",
  5355. "type": "string"
  5356. },
  5357. "goodunit": {
  5358. "description": "报价单位",
  5359. "type": "string"
  5360. },
  5361. "handlestatus": {
  5362. "description": "处理状态",
  5363. "type": "integer"
  5364. },
  5365. "marketid": {
  5366. "description": "市场ID",
  5367. "type": "integer"
  5368. },
  5369. "marketname": {
  5370. "description": "市场名称",
  5371. "type": "string"
  5372. },
  5373. "tradedate": {
  5374. "description": "交易日(yyyyMMdd)",
  5375. "type": "string"
  5376. },
  5377. "userid": {
  5378. "description": "申请人ID",
  5379. "type": "integer"
  5380. }
  5381. }
  5382. },
  5383. "cptrade.Cptradepresaleapply": {
  5384. "type": "object",
  5385. "required": [
  5386. "applyid"
  5387. ],
  5388. "properties": {
  5389. "accountid": {
  5390. "description": "申请人账户ID",
  5391. "type": "integer"
  5392. },
  5393. "applyid": {
  5394. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5395. "type": "integer"
  5396. },
  5397. "applyremark": {
  5398. "description": "申请备注",
  5399. "type": "string"
  5400. },
  5401. "applystatus": {
  5402. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5403. "type": "integer"
  5404. },
  5405. "applytime": {
  5406. "description": "申请时间",
  5407. "type": "string"
  5408. },
  5409. "attachmenturl": {
  5410. "description": "附件地址",
  5411. "type": "string"
  5412. },
  5413. "endtime": {
  5414. "description": "预售结束时间",
  5415. "type": "string"
  5416. },
  5417. "goodscode": {
  5418. "description": "商品代码",
  5419. "type": "string"
  5420. },
  5421. "goodsid": {
  5422. "description": "商品ID",
  5423. "type": "integer"
  5424. },
  5425. "goodsname": {
  5426. "description": "商品名称",
  5427. "type": "string"
  5428. },
  5429. "goodunit": {
  5430. "description": "报价单位",
  5431. "type": "string"
  5432. },
  5433. "handlestatus": {
  5434. "description": "处理状态",
  5435. "type": "integer"
  5436. },
  5437. "marketid": {
  5438. "description": "预售市场ID",
  5439. "type": "integer"
  5440. },
  5441. "marketname": {
  5442. "description": "预售市场名称",
  5443. "type": "string"
  5444. },
  5445. "presaleqty": {
  5446. "description": "预售数量",
  5447. "type": "integer"
  5448. },
  5449. "relatedgoodscode": {
  5450. "description": "关联交易合约代码",
  5451. "type": "string"
  5452. },
  5453. "relatedgoodsid": {
  5454. "description": "关联交易合约ID",
  5455. "type": "integer"
  5456. },
  5457. "relatedgoodsname": {
  5458. "description": "关联交易合约名称",
  5459. "type": "string"
  5460. },
  5461. "starttime": {
  5462. "description": "预售开始时间",
  5463. "type": "string"
  5464. },
  5465. "tradedate": {
  5466. "description": "交易日(yyyyMMdd)",
  5467. "type": "string"
  5468. },
  5469. "trademode": {
  5470. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5471. "type": "integer"
  5472. },
  5473. "userid": {
  5474. "description": "申请人ID",
  5475. "type": "integer"
  5476. }
  5477. }
  5478. },
  5479. "cptrade.Cptradeusergoodsdata": {
  5480. "type": "object",
  5481. "required": [
  5482. "accountid",
  5483. "goodsid"
  5484. ],
  5485. "properties": {
  5486. "EnabledQty": {
  5487. "description": "可用量",
  5488. "type": "integer"
  5489. },
  5490. "GoodsCode": {
  5491. "description": "订单商品代码",
  5492. "type": "string"
  5493. },
  5494. "GoodsName": {
  5495. "description": "订单商品名称",
  5496. "type": "string"
  5497. },
  5498. "WRStandardCode": {
  5499. "description": "仓单标准代码",
  5500. "type": "string"
  5501. },
  5502. "WRStandardName": {
  5503. "description": "仓单标准名称",
  5504. "type": "string"
  5505. },
  5506. "accountid": {
  5507. "description": "账户ID",
  5508. "type": "integer"
  5509. },
  5510. "cancelqty": {
  5511. "description": "注销量",
  5512. "type": "integer"
  5513. },
  5514. "curpresaleqty": {
  5515. "description": "当前预售量",
  5516. "type": "integer"
  5517. },
  5518. "deliveryqty": {
  5519. "description": "交割量",
  5520. "type": "integer"
  5521. },
  5522. "freezeamount": {
  5523. "description": "冻结金额",
  5524. "type": "number"
  5525. },
  5526. "goodsid": {
  5527. "description": "商品ID",
  5528. "type": "integer"
  5529. },
  5530. "goodunit": {
  5531. "description": "报价单位",
  5532. "type": "string"
  5533. },
  5534. "hasspotfreeze": {
  5535. "description": "是否有现货冻结 - 0:否 1:有",
  5536. "type": "integer"
  5537. },
  5538. "inqty": {
  5539. "description": "转入量(总数量)",
  5540. "type": "integer"
  5541. },
  5542. "marketid": {
  5543. "description": "市场ID",
  5544. "type": "integer"
  5545. },
  5546. "presaledamount": {
  5547. "description": "已预售总金额",
  5548. "type": "integer"
  5549. },
  5550. "presaledqty": {
  5551. "description": "已预售量",
  5552. "type": "integer"
  5553. },
  5554. "userid": {
  5555. "description": "用户ID",
  5556. "type": "integer"
  5557. },
  5558. "wrstandardid": {
  5559. "description": "仓单标准ID",
  5560. "type": "integer"
  5561. }
  5562. }
  5563. },
  5564. "cptrade.QueryCPTradeMyBidRsp": {
  5565. "type": "object",
  5566. "required": [
  5567. "accountid",
  5568. "goodsid",
  5569. "marketid",
  5570. "orderid",
  5571. "orderqty",
  5572. "ordertime",
  5573. "tradeprice",
  5574. "tradeqty"
  5575. ],
  5576. "properties": {
  5577. "accountid": {
  5578. "description": "账户ID[报价币种]",
  5579. "type": "integer"
  5580. },
  5581. "goodsid": {
  5582. "description": "商品ID",
  5583. "type": "integer"
  5584. },
  5585. "goodunit": {
  5586. "description": "报价单位",
  5587. "type": "string"
  5588. },
  5589. "marketid": {
  5590. "description": "市场ID",
  5591. "type": "integer"
  5592. },
  5593. "orderid": {
  5594. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5595. "type": "integer"
  5596. },
  5597. "orderprice": {
  5598. "description": "委托价格",
  5599. "type": "number"
  5600. },
  5601. "orderqty": {
  5602. "description": "委托数量",
  5603. "type": "integer"
  5604. },
  5605. "ordertime": {
  5606. "description": "委托时间",
  5607. "type": "string"
  5608. },
  5609. "ordertotalprice": {
  5610. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5611. "type": "number"
  5612. },
  5613. "ordertotalweight": {
  5614. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5615. "type": "integer"
  5616. },
  5617. "totaltotalprice": {
  5618. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5619. "type": "number"
  5620. },
  5621. "tradeprice": {
  5622. "description": "成交价格",
  5623. "type": "number"
  5624. },
  5625. "tradeqty": {
  5626. "description": "成交数量",
  5627. "type": "integer"
  5628. }
  5629. }
  5630. },
  5631. "cptrade.QueryCPTradeOrderDetailRsq": {
  5632. "type": "object",
  5633. "required": [
  5634. "accountid",
  5635. "buildtype",
  5636. "buyorsell",
  5637. "goodsid",
  5638. "marketid",
  5639. "memberuserid",
  5640. "operatetype",
  5641. "orderqty",
  5642. "ordertime",
  5643. "pricemode",
  5644. "strorderid",
  5645. "tradedate",
  5646. "validtype"
  5647. ],
  5648. "properties": {
  5649. "accountid": {
  5650. "description": "账户ID[报价币种]",
  5651. "type": "integer"
  5652. },
  5653. "buildtype": {
  5654. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5655. "type": "integer"
  5656. },
  5657. "buyorsell": {
  5658. "description": "买卖 - 0:买 1:卖",
  5659. "type": "integer"
  5660. },
  5661. "cancelorderid": {
  5662. "description": "撤单单号(撤单时填写)",
  5663. "type": "integer"
  5664. },
  5665. "cancelqty": {
  5666. "description": "撤单数量",
  5667. "type": "integer"
  5668. },
  5669. "clientordertime": {
  5670. "description": "客户端委托时间",
  5671. "type": "string"
  5672. },
  5673. "clientticket": {
  5674. "description": "客户端流水号",
  5675. "type": "string"
  5676. },
  5677. "clienttype": {
  5678. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5679. "type": "integer"
  5680. },
  5681. "closeexchagechargevalue": {
  5682. "description": "平仓交易所手续费设置值",
  5683. "type": "number"
  5684. },
  5685. "closefeealgorithm": {
  5686. "description": "平仓手续费收取方式 1:比率 2:固定",
  5687. "type": "integer"
  5688. },
  5689. "closefreezecharge": {
  5690. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5691. "type": "number"
  5692. },
  5693. "closememberchargevalue": {
  5694. "description": "平仓会员手续费设置值",
  5695. "type": "number"
  5696. },
  5697. "closeqty": {
  5698. "description": "平仓数量(先建后平操作 需要记录)",
  5699. "type": "integer"
  5700. },
  5701. "closetradeqty": {
  5702. "description": "平仓成交数量(先建后平操作,需要记录)",
  5703. "type": "integer"
  5704. },
  5705. "closeunfreezecharge": {
  5706. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5707. "type": "number"
  5708. },
  5709. "delistingtype": {
  5710. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5711. "type": "integer"
  5712. },
  5713. "freezecharge": {
  5714. "description": "冻结手续费",
  5715. "type": "number"
  5716. },
  5717. "freezemargin": {
  5718. "description": "冻结保证金(冻结交易金额)",
  5719. "type": "number"
  5720. },
  5721. "gcaccountid": {
  5722. "description": "账户ID[合约币种]",
  5723. "type": "integer"
  5724. },
  5725. "goodsid": {
  5726. "description": "商品ID",
  5727. "type": "integer"
  5728. },
  5729. "isconfirmexercise": {
  5730. "description": "是否确认行权- 0:否 1:是",
  5731. "type": "integer"
  5732. },
  5733. "ispreexercise": {
  5734. "description": "是否预申报- 0:否 1:是",
  5735. "type": "integer"
  5736. },
  5737. "listingselecttype": {
  5738. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5739. "type": "integer"
  5740. },
  5741. "marginalgorithm": {
  5742. "description": "保证金收取方式 1:比率 2:固定",
  5743. "type": "integer"
  5744. },
  5745. "marginvalue": {
  5746. "description": "即市保证金设置值",
  5747. "type": "number"
  5748. },
  5749. "marketid": {
  5750. "description": "市场ID",
  5751. "type": "integer"
  5752. },
  5753. "marketmaxsub": {
  5754. "description": "市价最大偏移范围",
  5755. "type": "number"
  5756. },
  5757. "memberuserid": {
  5758. "description": "所属会员UserID",
  5759. "type": "integer"
  5760. },
  5761. "openexchagechargevalue": {
  5762. "description": "建仓交易所手续费设置值",
  5763. "type": "number"
  5764. },
  5765. "openfeealgorithm": {
  5766. "description": "建仓手续费收取方式 1:比率 2:固定",
  5767. "type": "integer"
  5768. },
  5769. "openfreezecharge": {
  5770. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5771. "type": "number"
  5772. },
  5773. "openmemberchargevalue": {
  5774. "description": "建仓会员手续费设置值",
  5775. "type": "number"
  5776. },
  5777. "openqty": {
  5778. "description": "开仓数量(先建后平操作,需要记录)",
  5779. "type": "integer"
  5780. },
  5781. "opentradeqty": {
  5782. "description": "开仓成交数量(先建后平操作,需要记录)",
  5783. "type": "integer"
  5784. },
  5785. "openunfreezecharge": {
  5786. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5787. "type": "number"
  5788. },
  5789. "operatetype": {
  5790. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5791. "type": "integer"
  5792. },
  5793. "operatorid": {
  5794. "description": "登录账号(LoginID)",
  5795. "type": "integer"
  5796. },
  5797. "optiontype": {
  5798. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5799. "type": "integer"
  5800. },
  5801. "orderprice": {
  5802. "description": "委托价格",
  5803. "type": "number"
  5804. },
  5805. "orderqty": {
  5806. "description": "委托数量",
  5807. "type": "integer"
  5808. },
  5809. "ordersrc": {
  5810. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5811. "type": "integer"
  5812. },
  5813. "orderstatus": {
  5814. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5815. "type": "integer"
  5816. },
  5817. "ordertime": {
  5818. "description": "委托时间",
  5819. "type": "string"
  5820. },
  5821. "preexerciseprice": {
  5822. "description": "预申报价格",
  5823. "type": "number"
  5824. },
  5825. "premium": {
  5826. "description": "权利金",
  5827. "type": "number"
  5828. },
  5829. "preorderid": {
  5830. "description": "关联预埋单号(止盈止损单时填写)",
  5831. "type": "integer"
  5832. },
  5833. "pricemode": {
  5834. "description": "取价方式 - 1:市价 2: 限价",
  5835. "type": "integer"
  5836. },
  5837. "quoteid": {
  5838. "description": "报价单ID",
  5839. "type": "integer"
  5840. },
  5841. "relatedid": {
  5842. "description": "关联单号(交割单)",
  5843. "type": "integer"
  5844. },
  5845. "retcode": {
  5846. "description": "错误代码",
  5847. "type": "integer"
  5848. },
  5849. "sessionid": {
  5850. "description": "会话ID",
  5851. "type": "integer"
  5852. },
  5853. "strorderid": {
  5854. "description": "委托单号",
  5855. "type": "string"
  5856. },
  5857. "tradedate": {
  5858. "description": "交易日(yyyyMMdd)",
  5859. "type": "string"
  5860. },
  5861. "tradeproperty": {
  5862. "description": "交易属性",
  5863. "type": "integer"
  5864. },
  5865. "tradeqty": {
  5866. "description": "成交数量",
  5867. "type": "integer"
  5868. },
  5869. "unfreezecharge": {
  5870. "description": "解冻手续费",
  5871. "type": "number"
  5872. },
  5873. "unfreezemargin": {
  5874. "description": "解冻保证金",
  5875. "type": "number"
  5876. },
  5877. "updatetime": {
  5878. "description": "更新时间",
  5879. "type": "string"
  5880. },
  5881. "uuid": {
  5882. "description": "发起端唯一id",
  5883. "type": "string"
  5884. },
  5885. "validtime": {
  5886. "description": "有效期限",
  5887. "type": "string"
  5888. },
  5889. "validtype": {
  5890. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5891. "type": "integer"
  5892. },
  5893. "volumetype": {
  5894. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5895. "type": "integer"
  5896. }
  5897. }
  5898. },
  5899. "cptrade.QueryMyCPTradeGoodsRsp": {
  5900. "type": "object",
  5901. "required": [
  5902. "goodscode",
  5903. "goodsid",
  5904. "goodsname",
  5905. "marketid",
  5906. "relatedgoodscode",
  5907. "relatedgoodsname"
  5908. ],
  5909. "properties": {
  5910. "accountid": {
  5911. "description": "卖方账户ID",
  5912. "type": "integer"
  5913. },
  5914. "agreeunit": {
  5915. "description": "合约单位",
  5916. "type": "number"
  5917. },
  5918. "applyid": {
  5919. "description": "关联申请ID",
  5920. "type": "integer"
  5921. },
  5922. "attachmenturl": {
  5923. "description": "附件地址",
  5924. "type": "string"
  5925. },
  5926. "createtime": {
  5927. "description": "创建时间",
  5928. "type": "string"
  5929. },
  5930. "currencyid": {
  5931. "description": "报价货币ID",
  5932. "type": "integer"
  5933. },
  5934. "decimalplace": {
  5935. "description": "报价小数位",
  5936. "type": "integer"
  5937. },
  5938. "endtime": {
  5939. "description": "预售结束时间",
  5940. "type": "string"
  5941. },
  5942. "floorprice": {
  5943. "description": "底价[大宗式竞拍]",
  5944. "type": "number"
  5945. },
  5946. "goodscode": {
  5947. "description": "商品代码(预售)",
  5948. "type": "string"
  5949. },
  5950. "goodsdetail": {
  5951. "description": "详情[大宗]",
  5952. "type": "string"
  5953. },
  5954. "goodsid": {
  5955. "description": "商品ID(自增ID SEQ_GOODS)",
  5956. "type": "integer"
  5957. },
  5958. "goodsname": {
  5959. "description": "商品名称(预售)",
  5960. "type": "string"
  5961. },
  5962. "goodunit": {
  5963. "description": "报价单位",
  5964. "type": "string"
  5965. },
  5966. "goodunitid": {
  5967. "description": "报价单位ID",
  5968. "type": "integer"
  5969. },
  5970. "marketid": {
  5971. "description": "所属市场ID",
  5972. "type": "integer"
  5973. },
  5974. "marketname": {
  5975. "description": "预售市场名称",
  5976. "type": "string"
  5977. },
  5978. "presaledamount": {
  5979. "description": "已预售总金额(预售结束时更新)",
  5980. "type": "number"
  5981. },
  5982. "presaledqty": {
  5983. "description": "已预售量(预售结束时更新)",
  5984. "type": "integer"
  5985. },
  5986. "presalemode": {
  5987. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5988. "type": "integer"
  5989. },
  5990. "presaleqty": {
  5991. "description": "预售数量",
  5992. "type": "integer"
  5993. },
  5994. "refprice": {
  5995. "description": "参考价格[一口价]",
  5996. "type": "number"
  5997. },
  5998. "relatedgoodscode": {
  5999. "description": "商品代码(订单)",
  6000. "type": "string"
  6001. },
  6002. "relatedgoodsid": {
  6003. "description": "关联交易合约ID",
  6004. "type": "integer"
  6005. },
  6006. "relatedgoodsname": {
  6007. "description": "商品名称(订单)",
  6008. "type": "string"
  6009. },
  6010. "relatedmarketid": {
  6011. "description": "关联交易合约市场ID",
  6012. "type": "integer"
  6013. },
  6014. "sellstatus": {
  6015. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6016. "type": "integer"
  6017. },
  6018. "startprice": {
  6019. "description": "起拍价[大宗式竞拍]",
  6020. "type": "number"
  6021. },
  6022. "starttime": {
  6023. "description": "预售开始时间",
  6024. "type": "string"
  6025. },
  6026. "tradedate": {
  6027. "description": "交易日(yyyyMMdd)",
  6028. "type": "string"
  6029. },
  6030. "tradeprice": {
  6031. "description": "成交价[大宗]",
  6032. "type": "number"
  6033. },
  6034. "userid": {
  6035. "description": "卖方用户ID",
  6036. "type": "integer"
  6037. }
  6038. }
  6039. },
  6040. "cptrade.QueryPresaleGoodsExRsp": {
  6041. "type": "object",
  6042. "required": [
  6043. "goodsid"
  6044. ],
  6045. "properties": {
  6046. "attachmenturl": {
  6047. "description": "附件地址",
  6048. "type": "string"
  6049. },
  6050. "createtime": {
  6051. "description": "创建时间",
  6052. "type": "string"
  6053. },
  6054. "endtime": {
  6055. "description": "预售结束时间",
  6056. "type": "string"
  6057. },
  6058. "floorprice": {
  6059. "description": "底价[大宗式竞拍]",
  6060. "type": "number"
  6061. },
  6062. "goodsdetail": {
  6063. "description": "详情[大宗]",
  6064. "type": "string"
  6065. },
  6066. "goodsid": {
  6067. "description": "商品ID(预售)",
  6068. "type": "integer"
  6069. },
  6070. "goodunit": {
  6071. "description": "报价单位",
  6072. "type": "string"
  6073. },
  6074. "marketid": {
  6075. "description": "预售市场ID - 根据预售模式选择市场",
  6076. "type": "integer"
  6077. },
  6078. "presaledamount": {
  6079. "description": "已预售总金额(预售结束时更新)",
  6080. "type": "number"
  6081. },
  6082. "presaledqty": {
  6083. "description": "已预售量(预售结束时更新)",
  6084. "type": "integer"
  6085. },
  6086. "presalemode": {
  6087. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6088. "type": "integer"
  6089. },
  6090. "presaleqty": {
  6091. "description": "预售数量",
  6092. "type": "integer"
  6093. },
  6094. "refprice": {
  6095. "description": "参考价格[一口价]",
  6096. "type": "number"
  6097. },
  6098. "relatedgoodsid": {
  6099. "description": "关联交易合约ID",
  6100. "type": "integer"
  6101. },
  6102. "relatedmarketid": {
  6103. "description": "关联交易合约市场ID",
  6104. "type": "integer"
  6105. },
  6106. "sellstatus": {
  6107. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6108. "type": "integer"
  6109. },
  6110. "startprice": {
  6111. "description": "起拍价[大宗式竞拍]",
  6112. "type": "number"
  6113. },
  6114. "starttime": {
  6115. "description": "预售开始时间",
  6116. "type": "string"
  6117. },
  6118. "tradedate": {
  6119. "description": "交易日(yyyyMMdd)",
  6120. "type": "string"
  6121. },
  6122. "tradeprice": {
  6123. "description": "成交价[大宗]",
  6124. "type": "number"
  6125. }
  6126. }
  6127. },
  6128. "delivery.QueryDeliveryRelationRsp": {
  6129. "type": "object",
  6130. "required": [
  6131. "begindate",
  6132. "enddate",
  6133. "goodsid",
  6134. "mindeliveryqty",
  6135. "xdeliveryratio"
  6136. ],
  6137. "properties": {
  6138. "begindate": {
  6139. "description": "起始日期(yyyyMMdd)",
  6140. "type": "string"
  6141. },
  6142. "buytemplateid": {
  6143. "description": "买履约计划模板ID",
  6144. "type": "integer"
  6145. },
  6146. "deliverygoodscode": {
  6147. "description": "品种代码",
  6148. "type": "string"
  6149. },
  6150. "deliverygoodsid": {
  6151. "description": "交割商品",
  6152. "type": "integer"
  6153. },
  6154. "deliverygoodsname": {
  6155. "description": "品种名称",
  6156. "type": "string"
  6157. },
  6158. "deliverymode": {
  6159. "description": "交割方式 - 1:点选式 2:申报式",
  6160. "type": "integer"
  6161. },
  6162. "deliverypricerule": {
  6163. "description": "交割价规则- 1:行情价 2:建仓价",
  6164. "type": "integer"
  6165. },
  6166. "deliverytype": {
  6167. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6168. "type": "integer"
  6169. },
  6170. "enddate": {
  6171. "description": "结束日期(yyyyMMdd)",
  6172. "type": "string"
  6173. },
  6174. "goodscode": {
  6175. "description": "商品代码",
  6176. "type": "string"
  6177. },
  6178. "goodsid": {
  6179. "description": "交易合约ID",
  6180. "type": "integer"
  6181. },
  6182. "goodsname": {
  6183. "description": "商品名称",
  6184. "type": "string"
  6185. },
  6186. "marketid": {
  6187. "description": "市场ID",
  6188. "type": "integer"
  6189. },
  6190. "mindeliveryqty": {
  6191. "description": "最小交割系数(K)",
  6192. "type": "integer"
  6193. },
  6194. "p2deliveryprice": {
  6195. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6196. "type": "number"
  6197. },
  6198. "p2deliveryratio": {
  6199. "description": "P2合约系数(p)",
  6200. "type": "integer"
  6201. },
  6202. "p2goodsid": {
  6203. "description": "P2合约ID",
  6204. "type": "integer"
  6205. },
  6206. "p2pricemode": {
  6207. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6208. "type": "integer"
  6209. },
  6210. "pdeliveryprice": {
  6211. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6212. "type": "number"
  6213. },
  6214. "pdeliveryratio": {
  6215. "description": "P合约系数(n)",
  6216. "type": "integer"
  6217. },
  6218. "pgoodsid": {
  6219. "description": "P合约ID",
  6220. "type": "integer"
  6221. },
  6222. "ppricemode": {
  6223. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6224. "type": "integer"
  6225. },
  6226. "rratio": {
  6227. "description": "兑换系数(R)",
  6228. "type": "integer"
  6229. },
  6230. "rratio1": {
  6231. "description": "兑换系数(交易合约)(R1)",
  6232. "type": "integer"
  6233. },
  6234. "rratio2": {
  6235. "description": "兑换系数(仓单标准)(R2)",
  6236. "type": "integer"
  6237. },
  6238. "selltemplateid": {
  6239. "description": "卖履约计划模板ID",
  6240. "type": "integer"
  6241. },
  6242. "wrstandardid": {
  6243. "description": "仓单标准ID",
  6244. "type": "integer"
  6245. },
  6246. "xdeliveryratio": {
  6247. "description": "交易合约系数(m)",
  6248. "type": "integer"
  6249. }
  6250. }
  6251. },
  6252. "ermcp.ExposureDetailRsp": {
  6253. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6254. },
  6255. "ermcp.ExposureSpotDetailRsp": {
  6256. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6257. },
  6258. "ermcp.ExposureSpotRsp": {
  6259. "$ref": "#/definitions/models.AreaSpotModel"
  6260. },
  6261. "ermcp.HisExposureRsp": {
  6262. "$ref": "#/definitions/models.ErmcpHisExposure"
  6263. },
  6264. "ermcp.QryAvalidGPRsp": {
  6265. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6266. },
  6267. "ermcp.QryBusinessDjRsp": {
  6268. "type": "object",
  6269. "properties": {
  6270. "amount": {
  6271. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6272. "type": "number"
  6273. },
  6274. "applyid": {
  6275. "description": "申请人",
  6276. "type": "string"
  6277. },
  6278. "applyname": {
  6279. "description": "申请人名称",
  6280. "type": "string"
  6281. },
  6282. "applystatus": {
  6283. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6284. "type": "integer"
  6285. },
  6286. "applytime": {
  6287. "description": "申请时间",
  6288. "type": "string"
  6289. },
  6290. "auditname": {
  6291. "description": "审核人名称",
  6292. "type": "string"
  6293. },
  6294. "audittime": {
  6295. "description": "审核时间",
  6296. "type": "string"
  6297. },
  6298. "buyusername": {
  6299. "description": "采购方名称",
  6300. "type": "string"
  6301. },
  6302. "contractno": {
  6303. "description": "合同编号",
  6304. "type": "string"
  6305. },
  6306. "contractstatus": {
  6307. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6308. "type": "integer"
  6309. },
  6310. "contracttype": {
  6311. "description": "现货合同类型 - 1:采购 -1:销售",
  6312. "type": "integer"
  6313. },
  6314. "enumdicname": {
  6315. "description": "单位名称",
  6316. "type": "string"
  6317. },
  6318. "goodscode": {
  6319. "description": "点价合约",
  6320. "type": "string"
  6321. },
  6322. "goodsname": {
  6323. "description": "商品名称",
  6324. "type": "string"
  6325. },
  6326. "operateapplyid": {
  6327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6328. "type": "string"
  6329. },
  6330. "operateapplytype": {
  6331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6332. "type": "integer"
  6333. },
  6334. "pricedPrice": {
  6335. "description": "点价价格(非必填)",
  6336. "type": "number"
  6337. },
  6338. "pricedQty": {
  6339. "description": "点价数量(非必填)",
  6340. "type": "number"
  6341. },
  6342. "pricemove": {
  6343. "description": "升贴水",
  6344. "type": "number"
  6345. },
  6346. "pricetype": {
  6347. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6348. "type": "integer"
  6349. },
  6350. "relatedid": {
  6351. "description": "现货合同ID",
  6352. "type": "string"
  6353. },
  6354. "sellusername": {
  6355. "description": "销售方名字",
  6356. "type": "string"
  6357. },
  6358. "userid": {
  6359. "description": "用户ID",
  6360. "type": "integer"
  6361. }
  6362. }
  6363. },
  6364. "ermcp.QryBussinessFpRsp": {
  6365. "type": "object",
  6366. "properties": {
  6367. "applyid": {
  6368. "description": "申请人",
  6369. "type": "string"
  6370. },
  6371. "applyname": {
  6372. "description": "申请人名称",
  6373. "type": "string"
  6374. },
  6375. "applystatus": {
  6376. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6377. "type": "integer"
  6378. },
  6379. "applytime": {
  6380. "description": "申请时间",
  6381. "type": "string"
  6382. },
  6383. "auditname": {
  6384. "description": "审核人名称",
  6385. "type": "string"
  6386. },
  6387. "audittime": {
  6388. "description": "审核时间",
  6389. "type": "string"
  6390. },
  6391. "buyusername": {
  6392. "description": "采购方名称",
  6393. "type": "string"
  6394. },
  6395. "contractno": {
  6396. "description": "合同编号",
  6397. "type": "string"
  6398. },
  6399. "contractstatus": {
  6400. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6401. "type": "integer"
  6402. },
  6403. "contracttype": {
  6404. "description": "现货合同类型 - 1:采购 -1:销售",
  6405. "type": "integer"
  6406. },
  6407. "enumdicname": {
  6408. "description": "单位名称",
  6409. "type": "string"
  6410. },
  6411. "goodscode": {
  6412. "description": "点价合约",
  6413. "type": "string"
  6414. },
  6415. "goodsname": {
  6416. "description": "商品名称",
  6417. "type": "string"
  6418. },
  6419. "invoiceAmount": {
  6420. "description": "已开收票金额(销售为开票,采购为收票)",
  6421. "type": "number"
  6422. },
  6423. "operateapplyid": {
  6424. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6425. "type": "string"
  6426. },
  6427. "operateapplytype": {
  6428. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6429. "type": "integer"
  6430. },
  6431. "pricemove": {
  6432. "description": "升贴水",
  6433. "type": "number"
  6434. },
  6435. "pricetype": {
  6436. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6437. "type": "integer"
  6438. },
  6439. "relatedid": {
  6440. "description": "现货合同ID",
  6441. "type": "string"
  6442. },
  6443. "sellusername": {
  6444. "description": "销售方名字",
  6445. "type": "string"
  6446. },
  6447. "userid": {
  6448. "description": "用户ID",
  6449. "type": "integer"
  6450. }
  6451. }
  6452. },
  6453. "ermcp.QryBussinessJsRsp": {
  6454. "type": "object",
  6455. "properties": {
  6456. "addmargin": {
  6457. "description": "追加保证金(非必填)",
  6458. "type": "number"
  6459. },
  6460. "applyid": {
  6461. "description": "申请人",
  6462. "type": "string"
  6463. },
  6464. "applyname": {
  6465. "description": "申请人名称",
  6466. "type": "string"
  6467. },
  6468. "applystatus": {
  6469. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6470. "type": "integer"
  6471. },
  6472. "applytime": {
  6473. "description": "申请时间",
  6474. "type": "string"
  6475. },
  6476. "auditname": {
  6477. "description": "审核人名称",
  6478. "type": "string"
  6479. },
  6480. "audittime": {
  6481. "description": "审核时间",
  6482. "type": "string"
  6483. },
  6484. "buyusername": {
  6485. "description": "采购方名称",
  6486. "type": "string"
  6487. },
  6488. "contractno": {
  6489. "description": "合同编号",
  6490. "type": "string"
  6491. },
  6492. "contractstatus": {
  6493. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6494. "type": "integer"
  6495. },
  6496. "contracttype": {
  6497. "description": "现货合同类型 - 1:采购 -1:销售",
  6498. "type": "integer"
  6499. },
  6500. "decmargin": {
  6501. "description": "减少保证金(非必填)",
  6502. "type": "number"
  6503. },
  6504. "enumdicname": {
  6505. "description": "单位名称",
  6506. "type": "string"
  6507. },
  6508. "goodscode": {
  6509. "description": "点价合约",
  6510. "type": "string"
  6511. },
  6512. "goodsname": {
  6513. "description": "商品名称",
  6514. "type": "string"
  6515. },
  6516. "operateapplyid": {
  6517. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6518. "type": "string"
  6519. },
  6520. "operateapplytype": {
  6521. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6522. "type": "integer"
  6523. },
  6524. "pricemove": {
  6525. "description": "升贴水",
  6526. "type": "number"
  6527. },
  6528. "pricetype": {
  6529. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6530. "type": "integer"
  6531. },
  6532. "reckonadjustamount": {
  6533. "description": "结算调整金额(非必填)",
  6534. "type": "number"
  6535. },
  6536. "reckonosamount": {
  6537. "description": "结算溢短金额(非必填)",
  6538. "type": "number"
  6539. },
  6540. "reckonotheramount": {
  6541. "description": "结算其他费用(非必填)",
  6542. "type": "number"
  6543. },
  6544. "reckonrealqty": {
  6545. "description": "结算实际数量(非必填)",
  6546. "type": "number"
  6547. },
  6548. "relatedid": {
  6549. "description": "现货合同ID",
  6550. "type": "string"
  6551. },
  6552. "sellusername": {
  6553. "description": "销售方名字",
  6554. "type": "string"
  6555. },
  6556. "userid": {
  6557. "description": "用户ID",
  6558. "type": "integer"
  6559. }
  6560. }
  6561. },
  6562. "ermcp.QryBussinessKxRsp": {
  6563. "type": "object",
  6564. "properties": {
  6565. "applyid": {
  6566. "description": "申请人",
  6567. "type": "string"
  6568. },
  6569. "applyname": {
  6570. "description": "申请人名称",
  6571. "type": "string"
  6572. },
  6573. "applystatus": {
  6574. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6575. "type": "integer"
  6576. },
  6577. "applytime": {
  6578. "description": "申请时间",
  6579. "type": "string"
  6580. },
  6581. "auditname": {
  6582. "description": "审核人名称",
  6583. "type": "string"
  6584. },
  6585. "audittime": {
  6586. "description": "审核时间",
  6587. "type": "string"
  6588. },
  6589. "buyusername": {
  6590. "description": "采购方名称",
  6591. "type": "string"
  6592. },
  6593. "contractno": {
  6594. "description": "合同编号",
  6595. "type": "string"
  6596. },
  6597. "contractstatus": {
  6598. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6599. "type": "integer"
  6600. },
  6601. "contracttype": {
  6602. "description": "现货合同类型 - 1:采购 -1:销售",
  6603. "type": "integer"
  6604. },
  6605. "deductamount": {
  6606. "description": "退款(非必填)",
  6607. "type": "number"
  6608. },
  6609. "enumdicname": {
  6610. "description": "单位名称",
  6611. "type": "string"
  6612. },
  6613. "goodscode": {
  6614. "description": "点价合约",
  6615. "type": "string"
  6616. },
  6617. "goodsname": {
  6618. "description": "商品名称",
  6619. "type": "string"
  6620. },
  6621. "kxtype": {
  6622. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6623. "type": "integer"
  6624. },
  6625. "operateapplyid": {
  6626. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6627. "type": "string"
  6628. },
  6629. "operateapplytype": {
  6630. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6631. "type": "integer"
  6632. },
  6633. "payamount": {
  6634. "description": "收付款(非必填)",
  6635. "type": "number"
  6636. },
  6637. "pricemove": {
  6638. "description": "升贴水",
  6639. "type": "number"
  6640. },
  6641. "pricetype": {
  6642. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6643. "type": "integer"
  6644. },
  6645. "relatedid": {
  6646. "description": "现货合同ID",
  6647. "type": "string"
  6648. },
  6649. "sellusername": {
  6650. "description": "销售方名字",
  6651. "type": "string"
  6652. },
  6653. "userid": {
  6654. "description": "用户ID",
  6655. "type": "integer"
  6656. }
  6657. }
  6658. },
  6659. "ermcp.QryErmcpRsp": {
  6660. "$ref": "#/definitions/models.ErmcpModel"
  6661. },
  6662. "ermcp.QryGGCovertCfgRsp": {
  6663. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6664. },
  6665. "ermcp.QryHedgePlanRsp": {
  6666. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6667. },
  6668. "ermcp.QryMGChangeLogRsp": {
  6669. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6670. },
  6671. "ermcp.QryMiddleGoodsDetailRsp": {
  6672. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6673. },
  6674. "ermcp.QryMiddleGoodsRsp": {
  6675. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6676. },
  6677. "ermcp.QryOPLogRsp": {
  6678. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6679. },
  6680. "ermcp.QrySpotContractRsp": {
  6681. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6682. },
  6683. "ermcp.QryUserInfoRsp": {
  6684. "$ref": "#/definitions/models.ErmcpUserModel"
  6685. },
  6686. "ermcp.QryWrStandardDetailRsp": {
  6687. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6688. },
  6689. "ermcp.QryWrStandardRsp": {
  6690. "$ref": "#/definitions/models.ErmcpWrstandard"
  6691. },
  6692. "ermcp.RealtimeExposurePositionRsp": {
  6693. "$ref": "#/definitions/models.ErmcpExposurePostion"
  6694. },
  6695. "ermcp.RealtimeExposureRsp": {
  6696. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6697. },
  6698. "erms2.QueryArbitrageStrategyRsp": {
  6699. "type": "object",
  6700. "required": [
  6701. "asapplyid"
  6702. ],
  6703. "properties": {
  6704. "applybasis": {
  6705. "description": "申请基差",
  6706. "type": "number"
  6707. },
  6708. "asapplyid": {
  6709. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6710. "type": "string"
  6711. },
  6712. "asname": {
  6713. "description": "策略名称",
  6714. "type": "string"
  6715. },
  6716. "asno": {
  6717. "description": "策略编号",
  6718. "type": "string"
  6719. },
  6720. "basischangepl": {
  6721. "description": "基差变动损益[结算更新]",
  6722. "type": "number"
  6723. },
  6724. "biztype": {
  6725. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6726. "type": "integer"
  6727. },
  6728. "closetradedate": {
  6729. "description": "完结交易日(yyyyMMdd)",
  6730. "type": "string"
  6731. },
  6732. "curbasis": {
  6733. "description": "当前基差[结算更新]",
  6734. "type": "number"
  6735. },
  6736. "deliverygoodsid": {
  6737. "description": "现货品种ID",
  6738. "type": "integer"
  6739. },
  6740. "futureavgprice": {
  6741. "description": "期货建仓均价",
  6742. "type": "number"
  6743. },
  6744. "futurecloseamount": {
  6745. "description": "期货平仓金额",
  6746. "type": "number"
  6747. },
  6748. "futurecloseqty": {
  6749. "description": "期货平仓数量",
  6750. "type": "number"
  6751. },
  6752. "futureopenamount": {
  6753. "description": "期货开仓金额",
  6754. "type": "number"
  6755. },
  6756. "futureopenqty": {
  6757. "description": "期货开仓数量",
  6758. "type": "number"
  6759. },
  6760. "futurepl": {
  6761. "description": "期货总盈亏[结算更新]",
  6762. "type": "number"
  6763. },
  6764. "futureqty": {
  6765. "description": "期货持仓数量",
  6766. "type": "number"
  6767. },
  6768. "futurequote": {
  6769. "description": "期货额度",
  6770. "type": "number"
  6771. },
  6772. "goodsgroupid": {
  6773. "description": "期货品种ID",
  6774. "type": "integer"
  6775. },
  6776. "marketid": {
  6777. "description": "市场ID",
  6778. "type": "integer"
  6779. },
  6780. "netexposure": {
  6781. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6782. "type": "number"
  6783. },
  6784. "netexposurepl": {
  6785. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6786. "type": "number"
  6787. },
  6788. "netexposurerate": {
  6789. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6790. "type": "number"
  6791. },
  6792. "openbasis": {
  6793. "description": "建仓基差",
  6794. "type": "number"
  6795. },
  6796. "pricedspotqty": {
  6797. "description": "已定价现货数量",
  6798. "type": "number"
  6799. },
  6800. "pricedspotqtynotax": {
  6801. "description": "已定价现货不含税数量",
  6802. "type": "number"
  6803. },
  6804. "remark": {
  6805. "description": "备注",
  6806. "type": "string"
  6807. },
  6808. "spotavgprice": {
  6809. "description": "现货均价",
  6810. "type": "number"
  6811. },
  6812. "spotbuyamount": {
  6813. "description": "现货采购金额",
  6814. "type": "number"
  6815. },
  6816. "spotbuyqty": {
  6817. "description": "现货采购数量",
  6818. "type": "number"
  6819. },
  6820. "spotpl": {
  6821. "description": "现货总盈亏[结算更新]",
  6822. "type": "number"
  6823. },
  6824. "spotquota": {
  6825. "description": "现货额度",
  6826. "type": "number"
  6827. },
  6828. "spotsellamount": {
  6829. "description": "现货销售金额",
  6830. "type": "number"
  6831. },
  6832. "spotsellqty": {
  6833. "description": "现货销售数量",
  6834. "type": "number"
  6835. },
  6836. "spotusedquota": {
  6837. "description": "现货占用资金",
  6838. "type": "number"
  6839. },
  6840. "strategystatus": {
  6841. "description": "策略状态 - 0:未结束 1:已结束",
  6842. "type": "integer"
  6843. },
  6844. "totalpl": {
  6845. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6846. "type": "number"
  6847. },
  6848. "tradedate": {
  6849. "description": "交易日(yyyyMMdd)",
  6850. "type": "string"
  6851. },
  6852. "updatetime": {
  6853. "description": "更新时间",
  6854. "type": "string"
  6855. },
  6856. "usedquota": {
  6857. "description": "已占用资金",
  6858. "type": "number"
  6859. },
  6860. "userid": {
  6861. "description": "所属机构",
  6862. "type": "integer"
  6863. }
  6864. }
  6865. },
  6866. "erms2.QueryInnerTradeDetailRsp": {
  6867. "type": "object",
  6868. "required": [
  6869. "asapplyid",
  6870. "buyorsell",
  6871. "goodscode",
  6872. "goodsgroupid",
  6873. "goodsgroupname",
  6874. "goodsname",
  6875. "tradeid"
  6876. ],
  6877. "properties": {
  6878. "accountid": {
  6879. "description": "账号ID",
  6880. "type": "integer"
  6881. },
  6882. "agreeunit": {
  6883. "description": "合约单位",
  6884. "type": "number"
  6885. },
  6886. "asapplyid": {
  6887. "description": "策略申请ID",
  6888. "type": "integer"
  6889. },
  6890. "asname": {
  6891. "description": "策略名称",
  6892. "type": "string"
  6893. },
  6894. "asno": {
  6895. "description": "策略编号",
  6896. "type": "string"
  6897. },
  6898. "buyorsell": {
  6899. "description": "方向 - 0:买 1:卖",
  6900. "type": "integer"
  6901. },
  6902. "channelbuildtype": {
  6903. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6904. "type": "integer"
  6905. },
  6906. "closetype": {
  6907. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6908. "type": "integer"
  6909. },
  6910. "decimalplace": {
  6911. "description": "报价小数位",
  6912. "type": "integer"
  6913. },
  6914. "detailtype": {
  6915. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6916. "type": "integer"
  6917. },
  6918. "exexchangecode": {
  6919. "description": "外部交易所代码",
  6920. "type": "string"
  6921. },
  6922. "exexchangename": {
  6923. "description": "外部交易所名称",
  6924. "type": "string"
  6925. },
  6926. "goodscode": {
  6927. "description": "商品代码(合约)",
  6928. "type": "string"
  6929. },
  6930. "goodsgroupid": {
  6931. "description": "商品组ID(品种ID)",
  6932. "type": "integer"
  6933. },
  6934. "goodsgroupname": {
  6935. "description": "商品组名称(品种)",
  6936. "type": "string"
  6937. },
  6938. "goodsid": {
  6939. "description": "商品ID",
  6940. "type": "integer"
  6941. },
  6942. "goodsname": {
  6943. "description": "商品名称(合约)",
  6944. "type": "string"
  6945. },
  6946. "goodunit": {
  6947. "description": "报价单位",
  6948. "type": "string"
  6949. },
  6950. "marketid": {
  6951. "description": "市场ID",
  6952. "type": "integer"
  6953. },
  6954. "orderid": {
  6955. "description": "委托单号",
  6956. "type": "string"
  6957. },
  6958. "outgoodscode": {
  6959. "description": "商品代码(外部)",
  6960. "type": "string"
  6961. },
  6962. "relatedouttradeid": {
  6963. "description": "关联外部成交单ID",
  6964. "type": "string"
  6965. },
  6966. "remark": {
  6967. "description": "备注",
  6968. "type": "string"
  6969. },
  6970. "spotcontractid": {
  6971. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6972. "type": "integer"
  6973. },
  6974. "spotcontractno": {
  6975. "description": "现货合同编号",
  6976. "type": "string"
  6977. },
  6978. "tradeid": {
  6979. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6980. "type": "string"
  6981. },
  6982. "tradeprice": {
  6983. "description": "成交价格",
  6984. "type": "number"
  6985. },
  6986. "tradeqty": {
  6987. "description": "成交数量",
  6988. "type": "integer"
  6989. },
  6990. "tradetime": {
  6991. "description": "成交时间",
  6992. "type": "string"
  6993. },
  6994. "updatetime": {
  6995. "description": "更新时间",
  6996. "type": "string"
  6997. }
  6998. }
  6999. },
  7000. "erms2.QuerySpotContractRsp": {
  7001. "type": "object",
  7002. "required": [
  7003. "spotcontractid"
  7004. ],
  7005. "properties": {
  7006. "accountid": {
  7007. "description": "资金账户ID",
  7008. "type": "integer"
  7009. },
  7010. "areauserid": {
  7011. "description": "所属机构",
  7012. "type": "integer"
  7013. },
  7014. "closedate": {
  7015. "description": "终止日期",
  7016. "type": "string"
  7017. },
  7018. "closeremark": {
  7019. "description": "结束备注",
  7020. "type": "string"
  7021. },
  7022. "closetradedate": {
  7023. "description": "完结交易日(yyyyMMdd)",
  7024. "type": "string"
  7025. },
  7026. "closetype": {
  7027. "description": "终止类型 - 1:违约 2:提前终止",
  7028. "type": "integer"
  7029. },
  7030. "contractamount": {
  7031. "description": "合同金额",
  7032. "type": "number"
  7033. },
  7034. "contractattachment": {
  7035. "description": "合同附件",
  7036. "type": "string"
  7037. },
  7038. "contractno": {
  7039. "description": "现货合同编号",
  7040. "type": "string"
  7041. },
  7042. "contractqty": {
  7043. "description": "合同数量(数值) (用于计算)",
  7044. "type": "number"
  7045. },
  7046. "contractqtychar": {
  7047. "description": "合同数量\\已订价数量 (用于显示)",
  7048. "type": "string"
  7049. },
  7050. "contractstatus": {
  7051. "description": "合同状态 - 0:未结束 1:已结束",
  7052. "type": "integer"
  7053. },
  7054. "contracttype": {
  7055. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7056. "type": "integer"
  7057. },
  7058. "customeraccountid": {
  7059. "description": "客户资金账户ID",
  7060. "type": "integer"
  7061. },
  7062. "customeruserid": {
  7063. "description": "客户ID",
  7064. "type": "integer"
  7065. },
  7066. "deliverygoodsdesc": {
  7067. "description": "品种说明",
  7068. "type": "string"
  7069. },
  7070. "deliverygoodsid": {
  7071. "description": "现货品种ID",
  7072. "type": "integer"
  7073. },
  7074. "handlestatus": {
  7075. "description": "处理状态",
  7076. "type": "integer"
  7077. },
  7078. "invoiceatt": {
  7079. "description": "发票附件",
  7080. "type": "string"
  7081. },
  7082. "invoicedatetime": {
  7083. "description": "开收票更新时间",
  7084. "type": "string"
  7085. },
  7086. "invoiceopentime": {
  7087. "description": "开票时间",
  7088. "type": "string"
  7089. },
  7090. "invoiceremark": {
  7091. "description": "发票备注",
  7092. "type": "string"
  7093. },
  7094. "invoicestatus": {
  7095. "description": "开收票状态 - 0:未开票 1:已开票",
  7096. "type": "integer"
  7097. },
  7098. "lastdate": {
  7099. "description": "交货时间",
  7100. "type": "string"
  7101. },
  7102. "marketid": {
  7103. "description": "市场ID",
  7104. "type": "integer"
  7105. },
  7106. "paydatetime": {
  7107. "description": "收付款更新时间",
  7108. "type": "string"
  7109. },
  7110. "payremark": {
  7111. "description": "收付款备注",
  7112. "type": "string"
  7113. },
  7114. "paystatus": {
  7115. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7116. "type": "integer"
  7117. },
  7118. "positionqty": {
  7119. "description": "头寸数量 - 合同数量去小数部分",
  7120. "type": "integer"
  7121. },
  7122. "producttype": {
  7123. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7124. "type": "integer"
  7125. },
  7126. "relatedqty": {
  7127. "description": "已关联数量",
  7128. "type": "number"
  7129. },
  7130. "relatedstatus": {
  7131. "description": "关联完结状态 - 0:未结束 1:已结束",
  7132. "type": "integer"
  7133. },
  7134. "remark": {
  7135. "description": "备注",
  7136. "type": "string"
  7137. },
  7138. "signdate": {
  7139. "description": "签订日期",
  7140. "type": "string"
  7141. },
  7142. "spotcontractid": {
  7143. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7144. "type": "string"
  7145. },
  7146. "spotdatetime": {
  7147. "description": "收发货更新时间",
  7148. "type": "string"
  7149. },
  7150. "spotprice": {
  7151. "description": "价格",
  7152. "type": "number"
  7153. },
  7154. "spotremark": {
  7155. "description": "收发货备注",
  7156. "type": "string"
  7157. },
  7158. "spotstatus": {
  7159. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7160. "type": "integer"
  7161. },
  7162. "tradedate": {
  7163. "description": "交易日(yyyyMMdd)",
  7164. "type": "string"
  7165. },
  7166. "userid": {
  7167. "description": "业务员用户ID",
  7168. "type": "integer"
  7169. },
  7170. "warehouseid": {
  7171. "description": "仓库ID",
  7172. "type": "integer"
  7173. },
  7174. "wrfactortypeid": {
  7175. "description": "仓单要素类型ID",
  7176. "type": "integer"
  7177. },
  7178. "wrstandardid": {
  7179. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7180. "type": "integer"
  7181. }
  7182. }
  7183. },
  7184. "erms3.AddErms2ASApplyReq": {
  7185. "type": "object",
  7186. "required": [
  7187. "asapplyid"
  7188. ],
  7189. "properties": {
  7190. "applybasis": {
  7191. "description": "申请基差",
  7192. "type": "number"
  7193. },
  7194. "applystatus": {
  7195. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7196. "type": "integer"
  7197. },
  7198. "asapplyid": {
  7199. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7200. "type": "integer"
  7201. },
  7202. "asname": {
  7203. "description": "策略名称",
  7204. "type": "string"
  7205. },
  7206. "asno": {
  7207. "description": "策略编号",
  7208. "type": "string"
  7209. },
  7210. "auditid": {
  7211. "description": "审核人",
  7212. "type": "integer"
  7213. },
  7214. "auditremark": {
  7215. "description": "审核备注",
  7216. "type": "string"
  7217. },
  7218. "audittime": {
  7219. "description": "审核时间",
  7220. "type": "string"
  7221. },
  7222. "biztype": {
  7223. "description": "业务类型 - 1:正向套利 2:反向套利",
  7224. "type": "integer"
  7225. },
  7226. "createtime": {
  7227. "description": "创建时间",
  7228. "type": "string"
  7229. },
  7230. "creatorid": {
  7231. "description": "创建人",
  7232. "type": "integer"
  7233. },
  7234. "deliverygoodsid": {
  7235. "description": "现货品种ID",
  7236. "type": "integer"
  7237. },
  7238. "futurequote": {
  7239. "description": "期货额度",
  7240. "type": "number"
  7241. },
  7242. "goodsgroupid": {
  7243. "description": "期货品种ID",
  7244. "type": "integer"
  7245. },
  7246. "marketid": {
  7247. "description": "市场ID",
  7248. "type": "integer"
  7249. },
  7250. "remark": {
  7251. "description": "备注",
  7252. "type": "string"
  7253. },
  7254. "spotquota": {
  7255. "description": "现货额度",
  7256. "type": "number"
  7257. },
  7258. "tradedate": {
  7259. "description": "交易日(yyyyMMdd)",
  7260. "type": "string"
  7261. },
  7262. "userid": {
  7263. "description": "所属机构",
  7264. "type": "integer"
  7265. }
  7266. }
  7267. },
  7268. "erms3.AddErms2SpotTradeApplyReq": {
  7269. "type": "object",
  7270. "required": [
  7271. "spottradeid"
  7272. ],
  7273. "properties": {
  7274. "applyjsondetail": {
  7275. "description": "申请明细(JSON)",
  7276. "type": "string"
  7277. },
  7278. "applystatus": {
  7279. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7280. "type": "integer"
  7281. },
  7282. "areauserid": {
  7283. "description": "所属机构",
  7284. "type": "integer"
  7285. },
  7286. "auditid": {
  7287. "description": "审核人",
  7288. "type": "integer"
  7289. },
  7290. "auditremark": {
  7291. "description": "审核备注",
  7292. "type": "string"
  7293. },
  7294. "audittime": {
  7295. "description": "审核时间",
  7296. "type": "string"
  7297. },
  7298. "createtime": {
  7299. "description": "创建时间",
  7300. "type": "string"
  7301. },
  7302. "creatorid": {
  7303. "description": "创建人",
  7304. "type": "integer"
  7305. },
  7306. "deliverygoodsid": {
  7307. "description": "现货品种ID",
  7308. "type": "integer"
  7309. },
  7310. "futureaccountid": {
  7311. "description": "期货资金账户",
  7312. "type": "integer"
  7313. },
  7314. "goodsgroupid": {
  7315. "description": "期货品种",
  7316. "type": "integer"
  7317. },
  7318. "marketid": {
  7319. "description": "市场ID",
  7320. "type": "integer"
  7321. },
  7322. "remark": {
  7323. "description": "备注",
  7324. "type": "string"
  7325. },
  7326. "spotaccountid": {
  7327. "description": "现货资金账户",
  7328. "type": "integer"
  7329. },
  7330. "spottradeid": {
  7331. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7332. "type": "integer"
  7333. },
  7334. "spottradename": {
  7335. "description": "业务名称",
  7336. "type": "string"
  7337. },
  7338. "spottradeno": {
  7339. "description": "业务编号",
  7340. "type": "string"
  7341. },
  7342. "tradedate": {
  7343. "description": "交易日(yyyyMMdd)",
  7344. "type": "string"
  7345. },
  7346. "wrstandardid": {
  7347. "description": "仓单标准ID",
  7348. "type": "integer"
  7349. }
  7350. }
  7351. },
  7352. "erms3.AddSpotContractApplyReq": {
  7353. "type": "object",
  7354. "required": [
  7355. "accountid",
  7356. "areauserid",
  7357. "contractno",
  7358. "contracttype",
  7359. "customeraccountid",
  7360. "customeruserid",
  7361. "details",
  7362. "orimargin",
  7363. "signdate"
  7364. ],
  7365. "properties": {
  7366. "accountid": {
  7367. "description": "资金账户ID",
  7368. "type": "integer"
  7369. },
  7370. "areauserid": {
  7371. "description": "所属机构",
  7372. "type": "integer"
  7373. },
  7374. "contractattachment": {
  7375. "description": "合同附件",
  7376. "type": "string"
  7377. },
  7378. "contractno": {
  7379. "description": "现货合同编号",
  7380. "type": "string"
  7381. },
  7382. "contracttype": {
  7383. "description": "现货合同类型 - 1:采购 -1:销售",
  7384. "type": "integer"
  7385. },
  7386. "creatorid": {
  7387. "description": "申请人",
  7388. "type": "integer"
  7389. },
  7390. "customeraccountid": {
  7391. "description": "客户资金账户ID",
  7392. "type": "integer"
  7393. },
  7394. "customeruserid": {
  7395. "description": "客户ID",
  7396. "type": "integer"
  7397. },
  7398. "details": {
  7399. "description": "明细",
  7400. "type": "array",
  7401. "items": {
  7402. "$ref": "#/definitions/erms3.SoptContractDetail"
  7403. }
  7404. },
  7405. "orimargin": {
  7406. "description": "初始保证金",
  7407. "type": "number"
  7408. },
  7409. "remark": {
  7410. "description": "备注",
  7411. "type": "string"
  7412. },
  7413. "signdate": {
  7414. "description": "签订日期",
  7415. "type": "string"
  7416. }
  7417. }
  7418. },
  7419. "erms3.AddSpotContractApplyRsp": {
  7420. "type": "object",
  7421. "required": [
  7422. "contractno"
  7423. ],
  7424. "properties": {
  7425. "contractno": {
  7426. "description": "现货合同编号",
  7427. "type": "string"
  7428. },
  7429. "spotcontractid": {
  7430. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7431. "type": "integer"
  7432. }
  7433. }
  7434. },
  7435. "erms3.AddUserInfoApplyReq": {
  7436. "type": "object",
  7437. "required": [
  7438. "userid"
  7439. ],
  7440. "properties": {
  7441. "accountid": {
  7442. "description": "交易系统帐号Id (加密存储)",
  7443. "type": "integer"
  7444. },
  7445. "areacode": {
  7446. "description": "机构代码",
  7447. "type": "string"
  7448. },
  7449. "areaid": {
  7450. "description": "机构Id",
  7451. "type": "integer"
  7452. },
  7453. "attachment1": {
  7454. "description": "附件1",
  7455. "type": "string"
  7456. },
  7457. "attachment2": {
  7458. "description": "附件2",
  7459. "type": "string"
  7460. },
  7461. "attachment3": {
  7462. "description": "附件3",
  7463. "type": "string"
  7464. },
  7465. "attachment4": {
  7466. "description": "附件4",
  7467. "type": "string"
  7468. },
  7469. "attachment5": {
  7470. "description": "附件5",
  7471. "type": "string"
  7472. },
  7473. "auditedby": {
  7474. "description": "审核人",
  7475. "type": "string"
  7476. },
  7477. "auditime": {
  7478. "description": "审核时间",
  7479. "type": "string"
  7480. },
  7481. "bankaccount": {
  7482. "description": "银行帐号 (加密存储)",
  7483. "type": "string"
  7484. },
  7485. "bankaccountname": {
  7486. "description": "收款人名称",
  7487. "type": "string"
  7488. },
  7489. "bankcardbackphotourl": {
  7490. "description": "银行卡背面照地址",
  7491. "type": "string"
  7492. },
  7493. "bankcardfrontphotourl": {
  7494. "description": "银行卡正面照地址",
  7495. "type": "string"
  7496. },
  7497. "bankid": {
  7498. "description": "银行编码",
  7499. "type": "string"
  7500. },
  7501. "bankname": {
  7502. "description": "银行名称",
  7503. "type": "string"
  7504. },
  7505. "bankpictureurl": {
  7506. "description": "银行卡正面地址",
  7507. "type": "string"
  7508. },
  7509. "biznature": {
  7510. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7511. "type": "integer"
  7512. },
  7513. "bizscope": {
  7514. "description": "企业经营范围(企业)",
  7515. "type": "string"
  7516. },
  7517. "biztype": {
  7518. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7519. "type": "integer"
  7520. },
  7521. "brokerid": {
  7522. "description": "经纪人ID(加密存储)",
  7523. "type": "string"
  7524. },
  7525. "cardaddress": {
  7526. "description": "证件地址 (加密存储)",
  7527. "type": "string"
  7528. },
  7529. "cardbackphotourl": {
  7530. "description": "背面证件照地址",
  7531. "type": "string"
  7532. },
  7533. "cardfrontphotourl": {
  7534. "description": "正面证件照地址",
  7535. "type": "string"
  7536. },
  7537. "cardnum": {
  7538. "description": "证件号码 (加密存储)",
  7539. "type": "string"
  7540. },
  7541. "cardtype": {
  7542. "description": "证件类型",
  7543. "type": "integer"
  7544. },
  7545. "cityid": {
  7546. "description": "市",
  7547. "type": "integer"
  7548. },
  7549. "company": {
  7550. "description": "公司(个人)",
  7551. "type": "string"
  7552. },
  7553. "contactcardbackphotourl": {
  7554. "description": "联系人证件背面图片地址",
  7555. "type": "string"
  7556. },
  7557. "contactcardfrontphotourl": {
  7558. "description": "联系人证件正面图片地址",
  7559. "type": "string"
  7560. },
  7561. "contactname": {
  7562. "description": "联系人",
  7563. "type": "string"
  7564. },
  7565. "countryid": {
  7566. "description": "国家",
  7567. "type": "integer"
  7568. },
  7569. "createtime": {
  7570. "description": "开户申请时间",
  7571. "type": "string"
  7572. },
  7573. "cusbankid": {
  7574. "description": "签约类型",
  7575. "type": "string"
  7576. },
  7577. "cusbankname": {
  7578. "description": "签约类型名称",
  7579. "type": "string"
  7580. },
  7581. "customername": {
  7582. "description": "客户名称(企业名称)",
  7583. "type": "string"
  7584. },
  7585. "districtid": {
  7586. "description": "地区",
  7587. "type": "integer"
  7588. },
  7589. "email": {
  7590. "description": "Email地址(加密存储)",
  7591. "type": "string"
  7592. },
  7593. "halfbodyphotourl": {
  7594. "description": "半身照地址",
  7595. "type": "string"
  7596. },
  7597. "headurl": {
  7598. "description": "头像地址",
  7599. "type": "string"
  7600. },
  7601. "ipaddress": {
  7602. "description": "IP地址",
  7603. "type": "string"
  7604. },
  7605. "isvalidate": {
  7606. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7607. "type": "string"
  7608. },
  7609. "legalcardbackphotourl": {
  7610. "description": "法人身份证背面照地址",
  7611. "type": "string"
  7612. },
  7613. "legalcardfrontphotourl": {
  7614. "description": "法人身份证正面照地址",
  7615. "type": "string"
  7616. },
  7617. "legalpersonname": {
  7618. "description": "法人姓名(企业)",
  7619. "type": "string"
  7620. },
  7621. "logincode": {
  7622. "description": "登录帐号 (加密存储)",
  7623. "type": "string"
  7624. },
  7625. "memberareaid": {
  7626. "description": "所属会员ID",
  7627. "type": "integer"
  7628. },
  7629. "mobile2": {
  7630. "description": "手机号码[明文-尚志]",
  7631. "type": "string"
  7632. },
  7633. "mobilephone": {
  7634. "description": "手机号码 (加密存储)",
  7635. "type": "string"
  7636. },
  7637. "modifiedby": {
  7638. "description": "修改人帐号",
  7639. "type": "integer"
  7640. },
  7641. "modifiedtime": {
  7642. "description": "修改时间",
  7643. "type": "string"
  7644. },
  7645. "nickname": {
  7646. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7647. "type": "string"
  7648. },
  7649. "openmode": {
  7650. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7651. "type": "integer"
  7652. },
  7653. "otherurl": {
  7654. "description": "其它图片地址[使用分号分隔]",
  7655. "type": "string"
  7656. },
  7657. "postalcode": {
  7658. "description": "邮政编码",
  7659. "type": "string"
  7660. },
  7661. "provinceid": {
  7662. "description": "省",
  7663. "type": "integer"
  7664. },
  7665. "proxystatementurl": {
  7666. "description": "授权委托书",
  7667. "type": "string"
  7668. },
  7669. "qq": {
  7670. "description": "QQ(加密存储",
  7671. "type": "string"
  7672. },
  7673. "referral": {
  7674. "description": "推荐人编码",
  7675. "type": "string"
  7676. },
  7677. "remark": {
  7678. "description": "备注",
  7679. "type": "string"
  7680. },
  7681. "removebeforestatus": {
  7682. "description": "REMOVEBEFORESTATUS",
  7683. "type": "integer"
  7684. },
  7685. "sex": {
  7686. "description": "性别 - 0:女 1:男",
  7687. "type": "integer"
  7688. },
  7689. "signedstatus": {
  7690. "description": "账户一号签签约状态",
  7691. "type": "integer"
  7692. },
  7693. "signpdfurl": {
  7694. "description": "签约pdf文件",
  7695. "type": "string"
  7696. },
  7697. "subbranch": {
  7698. "description": "开户支行",
  7699. "type": "string"
  7700. },
  7701. "telphone": {
  7702. "description": "联系电话(加密存储)",
  7703. "type": "string"
  7704. },
  7705. "userid": {
  7706. "description": "用户ID(自增ID)",
  7707. "type": "integer"
  7708. },
  7709. "userinfotype": {
  7710. "description": "用户信息类型 - 1:个人 2:企业",
  7711. "type": "integer"
  7712. },
  7713. "username": {
  7714. "description": "用户姓名",
  7715. "type": "string"
  7716. },
  7717. "userstate": {
  7718. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7719. "type": "integer"
  7720. },
  7721. "usertype": {
  7722. "description": "用户类型 - 1:投资者 2:机构",
  7723. "type": "integer"
  7724. },
  7725. "videourl": {
  7726. "description": "视频地址",
  7727. "type": "string"
  7728. },
  7729. "wechat": {
  7730. "description": "微信号 (加密存储)",
  7731. "type": "string"
  7732. }
  7733. }
  7734. },
  7735. "erms3.CustomerInfo": {
  7736. "type": "object",
  7737. "required": [
  7738. "userid"
  7739. ],
  7740. "properties": {
  7741. "accountids": {
  7742. "description": "资金账户ID列表",
  7743. "type": "array",
  7744. "items": {
  7745. "type": "integer"
  7746. }
  7747. },
  7748. "customername": {
  7749. "description": "名称(企业名称)",
  7750. "type": "string"
  7751. },
  7752. "mobile": {
  7753. "description": "手机号码",
  7754. "type": "string"
  7755. },
  7756. "userid": {
  7757. "description": "用户ID",
  7758. "type": "integer"
  7759. }
  7760. }
  7761. },
  7762. "erms3.QryAuditContractRsp": {
  7763. "type": "object",
  7764. "required": [
  7765. "matchcustomername",
  7766. "spotcontractid"
  7767. ],
  7768. "properties": {
  7769. "accountid": {
  7770. "description": "交易员ID",
  7771. "type": "string"
  7772. },
  7773. "applystatus": {
  7774. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7775. "type": "integer"
  7776. },
  7777. "curdeliveryqty": {
  7778. "description": "未交收量",
  7779. "type": "integer"
  7780. },
  7781. "customername": {
  7782. "description": "采购方ID",
  7783. "type": "string"
  7784. },
  7785. "deliverygoodsid": {
  7786. "description": "品种ID",
  7787. "type": "string"
  7788. },
  7789. "deliveryqty": {
  7790. "description": "交收量",
  7791. "type": "integer"
  7792. },
  7793. "enumdicname": {
  7794. "description": "单位名称",
  7795. "type": "string"
  7796. },
  7797. "matchaccountid": {
  7798. "description": "业务员ID",
  7799. "type": "string"
  7800. },
  7801. "matchcustomername": {
  7802. "description": "销售方ID",
  7803. "type": "string"
  7804. },
  7805. "pricedqty": {
  7806. "description": "定价量",
  7807. "type": "number"
  7808. },
  7809. "signdate": {
  7810. "description": "签订日期",
  7811. "type": "string"
  7812. },
  7813. "spotcontractid": {
  7814. "description": "合同ID",
  7815. "type": "string"
  7816. },
  7817. "totaldqty": {
  7818. "description": "合同量",
  7819. "type": "number"
  7820. },
  7821. "unpricedqty": {
  7822. "description": "未定价量",
  7823. "type": "number"
  7824. },
  7825. "wrstandardname": {
  7826. "description": "商品名称",
  7827. "type": "string"
  7828. }
  7829. }
  7830. },
  7831. "erms3.QryPendingBizRsp": {
  7832. "$ref": "#/definitions/models.PendingAuditBizModel"
  7833. },
  7834. "erms3.QueryBusinessInfoRsp": {
  7835. "type": "object",
  7836. "properties": {
  7837. "businessid": {
  7838. "description": "业务ID.",
  7839. "type": "integer"
  7840. },
  7841. "buyamount": {
  7842. "description": "采购额.",
  7843. "type": "number"
  7844. },
  7845. "buyqty": {
  7846. "description": "采购量.",
  7847. "type": "string"
  7848. },
  7849. "futurepl": {
  7850. "description": "期货盈亏.",
  7851. "type": "number"
  7852. },
  7853. "futureqty": {
  7854. "description": "期货敞口.",
  7855. "type": "string"
  7856. },
  7857. "goodsid": {
  7858. "description": "商品名称/商品代码.",
  7859. "type": "string"
  7860. },
  7861. "hedgingqty": {
  7862. "description": "套保量.",
  7863. "type": "string"
  7864. },
  7865. "sellamount": {
  7866. "description": "销售额.",
  7867. "type": "number"
  7868. },
  7869. "sellqty": {
  7870. "description": "销售量.",
  7871. "type": "string"
  7872. },
  7873. "spotmarketvalue": {
  7874. "description": "现货市值.",
  7875. "type": "number"
  7876. },
  7877. "spotpl": {
  7878. "description": "浮动权益.",
  7879. "type": "number"
  7880. },
  7881. "spotqty": {
  7882. "description": "现货量.",
  7883. "type": "string"
  7884. },
  7885. "statu": {
  7886. "description": "状态,0-未结束 1-已结束.",
  7887. "type": "integer"
  7888. },
  7889. "totalpl": {
  7890. "description": "总盈亏.",
  7891. "type": "number"
  7892. },
  7893. "totalqty": {
  7894. "description": "总敞口.",
  7895. "type": "string"
  7896. },
  7897. "type": {
  7898. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7899. "type": "integer"
  7900. }
  7901. }
  7902. },
  7903. "erms3.QuerySpotContractAppleFormRsp": {
  7904. "type": "object",
  7905. "properties": {
  7906. "goodses": {
  7907. "description": "合约列表",
  7908. "type": "array",
  7909. "items": {
  7910. "$ref": "#/definitions/models.GoodsIDAndName"
  7911. }
  7912. },
  7913. "oppositeusers": {
  7914. "description": "对方账号列表",
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/erms3.CustomerInfo"
  7918. }
  7919. },
  7920. "ouruser": {
  7921. "description": "我方账号",
  7922. "type": "object",
  7923. "$ref": "#/definitions/erms3.CustomerInfo"
  7924. },
  7925. "warehouseinfos": {
  7926. "description": "仓库信息列表",
  7927. "type": "array",
  7928. "items": {
  7929. "$ref": "#/definitions/models.Warehouseinfo"
  7930. }
  7931. },
  7932. "wrstandards": {
  7933. "description": "仓单标准列表",
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.WRStandardInfo"
  7937. }
  7938. }
  7939. }
  7940. },
  7941. "erms3.QuerySpotContractInfoRsp": {
  7942. "type": "object",
  7943. "properties": {
  7944. "accountid": {
  7945. "description": "表示交易员ID.",
  7946. "type": "integer"
  7947. },
  7948. "curdeliveryqty": {
  7949. "description": "表示未交收量.",
  7950. "type": "number"
  7951. },
  7952. "customername": {
  7953. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7954. "type": "string"
  7955. },
  7956. "deliverygoodsid": {
  7957. "description": "表示品种ID.",
  7958. "type": "string"
  7959. },
  7960. "deliveryqty": {
  7961. "description": "表示交收量.",
  7962. "type": "number"
  7963. },
  7964. "matchaccountid": {
  7965. "description": "表示业务员ID.",
  7966. "type": "integer"
  7967. },
  7968. "matchcustomername": {
  7969. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7970. "type": "string"
  7971. },
  7972. "priceqty": {
  7973. "description": "表示定价量.",
  7974. "type": "number"
  7975. },
  7976. "relatedbizid": {
  7977. "description": "表示业务ID.",
  7978. "type": "string"
  7979. },
  7980. "signdate": {
  7981. "description": "表示签订日期.",
  7982. "type": "string"
  7983. },
  7984. "spotcontractid": {
  7985. "description": "合同ID",
  7986. "type": "string"
  7987. },
  7988. "status": {
  7989. "description": "表示状态,0-履约中 1-已完成.",
  7990. "type": "integer"
  7991. },
  7992. "totalqty": {
  7993. "description": "表示合同量.",
  7994. "type": "number"
  7995. },
  7996. "unpricedqty": {
  7997. "description": "表示未定价量.",
  7998. "type": "number"
  7999. },
  8000. "wrstandardname": {
  8001. "description": "表示商品ID.",
  8002. "type": "string"
  8003. }
  8004. }
  8005. },
  8006. "erms3.QueryUserInfoAppliesRsp": {
  8007. "type": "object",
  8008. "required": [
  8009. "userid"
  8010. ],
  8011. "properties": {
  8012. "biznature": {
  8013. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8014. "type": "integer"
  8015. },
  8016. "contactname": {
  8017. "description": "联系人",
  8018. "type": "string"
  8019. },
  8020. "createtime": {
  8021. "description": "开户申请时间",
  8022. "type": "string"
  8023. },
  8024. "userid": {
  8025. "description": "用户ID(自增ID)",
  8026. "type": "integer"
  8027. },
  8028. "userinfotype": {
  8029. "description": "用户信息类型 - 1:个人 2:企业",
  8030. "type": "integer"
  8031. },
  8032. "username": {
  8033. "description": "用户姓名",
  8034. "type": "string"
  8035. },
  8036. "userstate": {
  8037. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8038. "type": "integer"
  8039. }
  8040. }
  8041. },
  8042. "erms3.QueryUserInfosRsp": {
  8043. "type": "object",
  8044. "required": [
  8045. "userid"
  8046. ],
  8047. "properties": {
  8048. "biznature": {
  8049. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8050. "type": "integer"
  8051. },
  8052. "contactname": {
  8053. "description": "联系人",
  8054. "type": "string"
  8055. },
  8056. "customername": {
  8057. "description": "客户名称(企业名称)",
  8058. "type": "string"
  8059. },
  8060. "userid": {
  8061. "description": "用户ID",
  8062. "type": "integer"
  8063. },
  8064. "userinfotype": {
  8065. "description": "用户信息类型 - 1:个人 2:企业",
  8066. "type": "integer"
  8067. },
  8068. "userstatus": {
  8069. "description": "用户状态 - 1:正常 2:注销",
  8070. "type": "integer"
  8071. }
  8072. }
  8073. },
  8074. "erms3.SoptContractDetail": {
  8075. "type": "object",
  8076. "required": [
  8077. "deliverygoodsid",
  8078. "producttype",
  8079. "unitname",
  8080. "warehouseid",
  8081. "wrstandardid",
  8082. "wrstandardname"
  8083. ],
  8084. "properties": {
  8085. "deliverygoodsdesc": {
  8086. "description": "现货品种说明",
  8087. "type": "string"
  8088. },
  8089. "deliverygoodsid": {
  8090. "description": "现货品种ID",
  8091. "type": "integer"
  8092. },
  8093. "deliverygoodsname": {
  8094. "description": "现货品种名称",
  8095. "type": "string"
  8096. },
  8097. "pointdesc": {
  8098. "description": "点价描述",
  8099. "type": "string"
  8100. },
  8101. "producttype": {
  8102. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8103. "type": "integer"
  8104. },
  8105. "producttypename": {
  8106. "description": "产品类型名称",
  8107. "type": "string"
  8108. },
  8109. "spotPointOrderVoList": {
  8110. "description": "点价列表",
  8111. "type": "array",
  8112. "items": {
  8113. "$ref": "#/definitions/erms3.SpotPointOrder"
  8114. }
  8115. },
  8116. "spotPriceOrderList": {
  8117. "description": "定价列表",
  8118. "type": "array",
  8119. "items": {
  8120. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8121. }
  8122. },
  8123. "unitname": {
  8124. "description": "单位名称",
  8125. "type": "string"
  8126. },
  8127. "warehouseid": {
  8128. "description": "仓库ID",
  8129. "type": "integer"
  8130. },
  8131. "warehousename": {
  8132. "description": "仓库名称",
  8133. "type": "string"
  8134. },
  8135. "wrstandardid": {
  8136. "description": "交易标的ID",
  8137. "type": "integer"
  8138. },
  8139. "wrstandardname": {
  8140. "description": "交易标的名称",
  8141. "type": "string"
  8142. }
  8143. }
  8144. },
  8145. "erms3.SpotPointOrder": {
  8146. "type": "object",
  8147. "required": [
  8148. "basic",
  8149. "goodsid",
  8150. "qty"
  8151. ],
  8152. "properties": {
  8153. "basic": {
  8154. "description": "基差",
  8155. "type": "number"
  8156. },
  8157. "deliveryenddate": {
  8158. "description": "交收结束日期",
  8159. "type": "string"
  8160. },
  8161. "deliverystartdate": {
  8162. "description": "交收开始日期",
  8163. "type": "string"
  8164. },
  8165. "enddate": {
  8166. "description": "点价结束日期",
  8167. "type": "string"
  8168. },
  8169. "goodsid": {
  8170. "description": "商品ID",
  8171. "type": "integer"
  8172. },
  8173. "goodsname": {
  8174. "description": "商品名称",
  8175. "type": "string"
  8176. },
  8177. "qty": {
  8178. "description": "数量",
  8179. "type": "number"
  8180. },
  8181. "startdate": {
  8182. "description": "点价开始日期",
  8183. "type": "string"
  8184. }
  8185. }
  8186. },
  8187. "erms3.SpotPriceOrder": {
  8188. "type": "object",
  8189. "required": [
  8190. "amount",
  8191. "price",
  8192. "qty"
  8193. ],
  8194. "properties": {
  8195. "amount": {
  8196. "description": "金额",
  8197. "type": "number"
  8198. },
  8199. "deliveryenddate": {
  8200. "description": "交收结束日期",
  8201. "type": "string"
  8202. },
  8203. "deliverystartdate": {
  8204. "description": "交收开始日期",
  8205. "type": "string"
  8206. },
  8207. "price": {
  8208. "description": "价格",
  8209. "type": "number"
  8210. },
  8211. "qty": {
  8212. "description": "数量",
  8213. "type": "number"
  8214. }
  8215. }
  8216. },
  8217. "hsby.GetHsbyMyCountRsp": {
  8218. "type": "object",
  8219. "properties": {
  8220. "myCouponCount": {
  8221. "description": "我的优惠卷数量",
  8222. "type": "integer"
  8223. },
  8224. "myOrderDetailListingCount": {
  8225. "description": "我的订单求购中数量",
  8226. "type": "integer"
  8227. },
  8228. "myOrderDetailPreCount": {
  8229. "description": "我的订单抢购中数量",
  8230. "type": "integer"
  8231. },
  8232. "myPackageUnReceiveCount": {
  8233. "description": "我的包裹待收货数量",
  8234. "type": "integer"
  8235. },
  8236. "myPackageUnSendCount": {
  8237. "description": "我的包裹待发货数量",
  8238. "type": "integer"
  8239. },
  8240. "myPayOrderCount": {
  8241. "description": "我的订单待付款数量",
  8242. "type": "integer"
  8243. }
  8244. }
  8245. },
  8246. "hsby.QueryProvincesAndCitiesRsp": {
  8247. "type": "object",
  8248. "properties": {
  8249. "cities": {
  8250. "description": "市",
  8251. "type": "array",
  8252. "items": {
  8253. "$ref": "#/definitions/models.Division"
  8254. }
  8255. },
  8256. "province": {
  8257. "description": "省",
  8258. "type": "object",
  8259. "$ref": "#/definitions/models.Division"
  8260. }
  8261. }
  8262. },
  8263. "models.AreaSpotModel": {
  8264. "type": "object",
  8265. "properties": {
  8266. "areauserid": {
  8267. "description": "所属机构",
  8268. "type": "integer"
  8269. },
  8270. "decreaseqty": {
  8271. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8272. "type": "number"
  8273. },
  8274. "increaseqty": {
  8275. "description": "增加数量=销售计划数量+采购已定价数量",
  8276. "type": "number"
  8277. },
  8278. "oritoalspotqty": {
  8279. "description": "昨日数量",
  8280. "type": "number"
  8281. },
  8282. "totalspotqty": {
  8283. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8284. "type": "number"
  8285. },
  8286. "updatetime": {
  8287. "description": "更新时间",
  8288. "type": "string"
  8289. },
  8290. "wrstandardcode": {
  8291. "description": "现货品种代码",
  8292. "type": "string"
  8293. },
  8294. "wrstandardid": {
  8295. "description": "现货商品ID",
  8296. "type": "integer"
  8297. },
  8298. "wrstandardname": {
  8299. "description": "现货品种",
  8300. "type": "string"
  8301. }
  8302. }
  8303. },
  8304. "models.Clientfixedadconfig": {
  8305. "type": "object",
  8306. "required": [
  8307. "adsort",
  8308. "adtype"
  8309. ],
  8310. "properties": {
  8311. "adsort": {
  8312. "description": "排序",
  8313. "type": "integer"
  8314. },
  8315. "adtype": {
  8316. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8317. "type": "integer"
  8318. },
  8319. "areauserid": {
  8320. "description": "所属机构ID",
  8321. "type": "integer"
  8322. },
  8323. "createdate": {
  8324. "description": "创建时间",
  8325. "type": "string"
  8326. },
  8327. "creatorid": {
  8328. "description": "创建人",
  8329. "type": "integer"
  8330. },
  8331. "imagepath": {
  8332. "description": "图片",
  8333. "type": "string"
  8334. },
  8335. "isshow": {
  8336. "description": "是否展示 - 0:不展示 1:展示",
  8337. "type": "integer"
  8338. },
  8339. "modifierid": {
  8340. "description": "操作人",
  8341. "type": "integer"
  8342. },
  8343. "recsize": {
  8344. "description": "推荐尺寸",
  8345. "type": "string"
  8346. },
  8347. "title": {
  8348. "description": "标题",
  8349. "type": "string"
  8350. },
  8351. "updatedate": {
  8352. "description": "更新时间",
  8353. "type": "string"
  8354. },
  8355. "urlcontent": {
  8356. "description": "链接(地址或商品ID)",
  8357. "type": "string"
  8358. },
  8359. "urltype": {
  8360. "description": "链接类型 - 1:直接地址 2:商品ID",
  8361. "type": "integer"
  8362. }
  8363. }
  8364. },
  8365. "models.Division": {
  8366. "type": "object",
  8367. "required": [
  8368. "autoid",
  8369. "divisioncode"
  8370. ],
  8371. "properties": {
  8372. "autoid": {
  8373. "description": "自增ID",
  8374. "type": "integer"
  8375. },
  8376. "divisioncode": {
  8377. "description": "行政代码",
  8378. "type": "string"
  8379. },
  8380. "divisionlevel": {
  8381. "description": "行政级别",
  8382. "type": "string"
  8383. },
  8384. "divisionname": {
  8385. "description": "行政名称",
  8386. "type": "string"
  8387. },
  8388. "modifierid": {
  8389. "description": "修改人",
  8390. "type": "integer"
  8391. },
  8392. "modifytime": {
  8393. "description": "修改时间",
  8394. "type": "string"
  8395. },
  8396. "parentcode": {
  8397. "description": "上级行政代码",
  8398. "type": "string"
  8399. },
  8400. "pathname": {
  8401. "description": "路径名称",
  8402. "type": "string"
  8403. },
  8404. "postcode": {
  8405. "description": "邮政编码",
  8406. "type": "string"
  8407. },
  8408. "separablename": {
  8409. "description": "可拆分的全称",
  8410. "type": "string"
  8411. },
  8412. "shortcode": {
  8413. "description": "地区简码",
  8414. "type": "string"
  8415. }
  8416. }
  8417. },
  8418. "models.Enumdicitem": {
  8419. "type": "object",
  8420. "required": [
  8421. "autoid",
  8422. "enumdiccode",
  8423. "enumdicid",
  8424. "enumitemname"
  8425. ],
  8426. "properties": {
  8427. "autoid": {
  8428. "description": "自增ID",
  8429. "type": "integer"
  8430. },
  8431. "bankmappedvalue": {
  8432. "description": "银行服务对应值",
  8433. "type": "string"
  8434. },
  8435. "enumdiccode": {
  8436. "description": "所属枚举代码",
  8437. "type": "string"
  8438. },
  8439. "enumdicid": {
  8440. "description": "所属枚举ID",
  8441. "type": "integer"
  8442. },
  8443. "enumdicname": {
  8444. "description": "枚举项名称",
  8445. "type": "string"
  8446. },
  8447. "enumitemname": {
  8448. "description": "枚举项值",
  8449. "type": "integer"
  8450. },
  8451. "enumitemstatus": {
  8452. "description": "枚举项状态 - 1.启用 2.不启用",
  8453. "type": "integer"
  8454. },
  8455. "enumitemvalue": {
  8456. "description": "通用值 - [币种通用简写]",
  8457. "type": "string"
  8458. },
  8459. "param1": {
  8460. "description": "参数1[币种:币种小数位]",
  8461. "type": "string"
  8462. },
  8463. "param2": {
  8464. "description": "参数1[币种:币种显示单位]",
  8465. "type": "string"
  8466. },
  8467. "remark": {
  8468. "description": "备注",
  8469. "type": "string"
  8470. }
  8471. }
  8472. },
  8473. "models.ErmcpAreaSpotDetailModel": {
  8474. "type": "object",
  8475. "properties": {
  8476. "contracttype": {
  8477. "description": "合同类型 1-采购 -1-销售",
  8478. "type": "integer"
  8479. },
  8480. "enumdicname": {
  8481. "description": "现货商品单位名称",
  8482. "type": "string"
  8483. },
  8484. "logtype": {
  8485. "description": "记录类型 1-套保 2-现货合同",
  8486. "type": "integer"
  8487. },
  8488. "qty": {
  8489. "description": "数量",
  8490. "type": "number"
  8491. },
  8492. "recordname": {
  8493. "description": "类型名称",
  8494. "type": "string"
  8495. },
  8496. "relatedid": {
  8497. "description": "套保计划ID/现货合同ID",
  8498. "type": "string"
  8499. },
  8500. "relatedno": {
  8501. "description": "编号",
  8502. "type": "string"
  8503. },
  8504. "strtime": {
  8505. "description": "时间",
  8506. "type": "string"
  8507. },
  8508. "wrstandardcode": {
  8509. "description": "现货商品代码",
  8510. "type": "string"
  8511. },
  8512. "wrstandardname": {
  8513. "description": "现货商品名称",
  8514. "type": "string"
  8515. }
  8516. }
  8517. },
  8518. "models.ErmcpAvalidGoodsGroupModel": {
  8519. "type": "object",
  8520. "properties": {
  8521. "goodsgroupid": {
  8522. "description": "期货品种id",
  8523. "type": "integer"
  8524. },
  8525. "goodsgroupname": {
  8526. "description": "期货品种名称",
  8527. "type": "string"
  8528. },
  8529. "goodunitid": {
  8530. "description": "品种单位id",
  8531. "type": "integer"
  8532. },
  8533. "goodunitname": {
  8534. "description": "品种单位名称",
  8535. "type": "string"
  8536. },
  8537. "outergroupcode": {
  8538. "description": "期货品种代码",
  8539. "type": "string"
  8540. }
  8541. }
  8542. },
  8543. "models.ErmcpExposureDetailModel": {
  8544. "type": "object",
  8545. "properties": {
  8546. "areauserid": {
  8547. "description": "机构ID",
  8548. "type": "integer"
  8549. },
  8550. "changeQty": {
  8551. "description": "套保变动量",
  8552. "type": "number"
  8553. },
  8554. "contracttype": {
  8555. "description": "现货合同类型 - 1:采购 -1:销售",
  8556. "type": "integer"
  8557. },
  8558. "convertfactor": {
  8559. "description": "标仓系数",
  8560. "type": "number"
  8561. },
  8562. "convertratio": {
  8563. "description": "套保系数",
  8564. "type": "number"
  8565. },
  8566. "createtime": {
  8567. "description": "时间",
  8568. "type": "string"
  8569. },
  8570. "enumdicname": {
  8571. "description": "现货商品单位名称",
  8572. "type": "string"
  8573. },
  8574. "logtype": {
  8575. "description": "类型 - 1:套保计划 2:现货合同",
  8576. "type": "integer"
  8577. },
  8578. "middlegoodsId": {
  8579. "description": "套保商品id",
  8580. "type": "integer"
  8581. },
  8582. "middlegoodscode": {
  8583. "description": "套保商品代码",
  8584. "type": "string"
  8585. },
  8586. "middlegoodsname": {
  8587. "description": "套保商品名称",
  8588. "type": "string"
  8589. },
  8590. "qty": {
  8591. "description": "数量",
  8592. "type": "number"
  8593. },
  8594. "relateNo": {
  8595. "description": "现货合同/套保计划编号",
  8596. "type": "string"
  8597. },
  8598. "wrstandardcode": {
  8599. "description": "现货商品代码",
  8600. "type": "string"
  8601. },
  8602. "wrstandardid": {
  8603. "description": "现货商品ID",
  8604. "type": "integer"
  8605. },
  8606. "wrstandardname": {
  8607. "description": "现货商品名称",
  8608. "type": "string"
  8609. }
  8610. }
  8611. },
  8612. "models.ErmcpExposurePostion": {
  8613. "type": "object",
  8614. "properties": {
  8615. "areauserid": {
  8616. "description": "所属机构id",
  8617. "type": "integer"
  8618. },
  8619. "curqty": {
  8620. "description": "当前持仓",
  8621. "type": "integer"
  8622. },
  8623. "diffhedgeqty": {
  8624. "description": "套保品种变动量",
  8625. "type": "number"
  8626. },
  8627. "diffqty": {
  8628. "description": "持仓变动量",
  8629. "type": "integer"
  8630. },
  8631. "goodscode": {
  8632. "description": "商品代码",
  8633. "type": "string"
  8634. },
  8635. "goodsid": {
  8636. "description": "商品id",
  8637. "type": "integer"
  8638. },
  8639. "goodsname": {
  8640. "description": "商品名称",
  8641. "type": "string"
  8642. },
  8643. "middlegoodsid": {
  8644. "description": "套保商品id",
  8645. "type": "integer"
  8646. },
  8647. "ydqty": {
  8648. "description": "昨日持仓",
  8649. "type": "integer"
  8650. }
  8651. }
  8652. },
  8653. "models.ErmcpGGConvertCfg": {
  8654. "type": "object",
  8655. "properties": {
  8656. "convertratio": {
  8657. "description": "折算系数",
  8658. "type": "number"
  8659. },
  8660. "destgoodsgroupid": {
  8661. "description": "目标品种ID",
  8662. "type": "integer"
  8663. },
  8664. "dstcode": {
  8665. "description": "目录品种代码",
  8666. "type": "string"
  8667. },
  8668. "dstname": {
  8669. "description": "目标品种名称",
  8670. "type": "string"
  8671. },
  8672. "dstunitid": {
  8673. "description": "目标品种单位ID",
  8674. "type": "integer"
  8675. },
  8676. "dstunitidname": {
  8677. "description": "目标品种单位名称",
  8678. "type": "string"
  8679. },
  8680. "srccode": {
  8681. "description": "源品种代码",
  8682. "type": "string"
  8683. },
  8684. "srcgoodsgroupid": {
  8685. "description": "源品种ID",
  8686. "type": "integer"
  8687. },
  8688. "srcname": {
  8689. "description": "源品种名称",
  8690. "type": "string"
  8691. },
  8692. "srcunitid": {
  8693. "description": "源品种单位ID",
  8694. "type": "integer"
  8695. },
  8696. "srcunitidname": {
  8697. "description": "源品种单位名称",
  8698. "type": "string"
  8699. }
  8700. }
  8701. },
  8702. "models.ErmcpHedgePlan": {
  8703. "type": "object",
  8704. "properties": {
  8705. "areauserid": {
  8706. "description": "用户ID",
  8707. "type": "integer"
  8708. },
  8709. "contracttype": {
  8710. "description": "计划类型 - 1:采购 -1:销售",
  8711. "type": "integer"
  8712. },
  8713. "convertfactor": {
  8714. "description": "标仓系数",
  8715. "type": "number"
  8716. },
  8717. "deliverygoodsid": {
  8718. "description": "现货品种ID",
  8719. "type": "integer"
  8720. },
  8721. "deliverygoodsname": {
  8722. "description": "现货品种名称",
  8723. "type": "string"
  8724. },
  8725. "hedgeplanid": {
  8726. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8727. "type": "string"
  8728. },
  8729. "hedgeplanno": {
  8730. "description": "套保计划编号(名称)",
  8731. "type": "string"
  8732. },
  8733. "hedgeplanstatus": {
  8734. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8735. "type": "integer"
  8736. },
  8737. "planqty": {
  8738. "description": "计划数量",
  8739. "type": "number"
  8740. },
  8741. "plantime": {
  8742. "description": "计划时间",
  8743. "type": "string"
  8744. },
  8745. "producttype": {
  8746. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8747. "type": "integer"
  8748. },
  8749. "remark": {
  8750. "description": "备注",
  8751. "type": "string"
  8752. },
  8753. "spotgoodsdesc": {
  8754. "description": "商品型号",
  8755. "type": "string"
  8756. },
  8757. "wrstandardid": {
  8758. "description": "现货商品ID",
  8759. "type": "integer"
  8760. },
  8761. "wrstandardname": {
  8762. "description": "现货商品名称",
  8763. "type": "string"
  8764. }
  8765. }
  8766. },
  8767. "models.ErmcpHisExposure": {
  8768. "type": "object",
  8769. "properties": {
  8770. "areauserid": {
  8771. "description": "所属机构",
  8772. "type": "integer"
  8773. },
  8774. "middlegoodscode": {
  8775. "description": "套保品种代码",
  8776. "type": "string"
  8777. },
  8778. "middlegoodsid": {
  8779. "description": "套保品种ID",
  8780. "type": "integer"
  8781. },
  8782. "middlegoodsname": {
  8783. "description": "套保品种名称",
  8784. "type": "string"
  8785. },
  8786. "needhedgeexposourE": {
  8787. "description": "应套保敞口",
  8788. "type": "number"
  8789. },
  8790. "needhedgeratio": {
  8791. "description": "应套保敞口比例",
  8792. "type": "number"
  8793. },
  8794. "reckondate": {
  8795. "description": "日照时期(yyyyMMdd)",
  8796. "type": "string"
  8797. },
  8798. "totalexposure": {
  8799. "description": "总敞口",
  8800. "type": "number"
  8801. },
  8802. "totalfutureqty": {
  8803. "description": "期货头寸总量",
  8804. "type": "number"
  8805. },
  8806. "totalhedgeratio": {
  8807. "description": "敞口比例",
  8808. "type": "number"
  8809. },
  8810. "totalneedhedgeqty": {
  8811. "description": "应套保总量",
  8812. "type": "number"
  8813. },
  8814. "totalspotqty": {
  8815. "description": "现货头寸总量",
  8816. "type": "number"
  8817. }
  8818. }
  8819. },
  8820. "models.ErmcpMiddleGoodsChangeLog": {
  8821. "type": "object",
  8822. "properties": {
  8823. "aftervalue": {
  8824. "description": "变更后",
  8825. "type": "number"
  8826. },
  8827. "applyid": {
  8828. "description": "操作人",
  8829. "type": "integer"
  8830. },
  8831. "applyname": {
  8832. "description": "操作人名称",
  8833. "type": "string"
  8834. },
  8835. "applysrc": {
  8836. "description": "操作来源 - 1:管理端 2:终端",
  8837. "type": "integer"
  8838. },
  8839. "beforevalue": {
  8840. "description": "变更前",
  8841. "type": "number"
  8842. },
  8843. "changelogtype": {
  8844. "description": "变更流水类型 - 1:套保比率变更",
  8845. "type": "integer"
  8846. },
  8847. "handlestatus": {
  8848. "description": "处理状态",
  8849. "type": "integer"
  8850. },
  8851. "logdatetime": {
  8852. "description": "流水日期",
  8853. "type": "string"
  8854. },
  8855. "logid": {
  8856. "description": "流水ID",
  8857. "type": "integer"
  8858. },
  8859. "logremark": {
  8860. "description": "流水备注",
  8861. "type": "string"
  8862. },
  8863. "middlegoodsid": {
  8864. "description": "套保品种ID",
  8865. "type": "integer"
  8866. },
  8867. "tradedate": {
  8868. "description": "交易日(yyyyMMdd)",
  8869. "type": "string"
  8870. },
  8871. "updatetime": {
  8872. "description": "更新时间",
  8873. "type": "string"
  8874. }
  8875. }
  8876. },
  8877. "models.ErmcpMiddleGoodsDetail": {
  8878. "type": "object",
  8879. "properties": {
  8880. "cvList": {
  8881. "description": "期货品种折算列表",
  8882. "type": "array",
  8883. "items": {
  8884. "$ref": "#/definitions/models.GoodsGroupConvert"
  8885. }
  8886. },
  8887. "mg": {
  8888. "description": "套保品种基本信息",
  8889. "type": "object",
  8890. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8891. }
  8892. }
  8893. },
  8894. "models.ErmcpMiddleGoodsModel": {
  8895. "type": "object",
  8896. "properties": {
  8897. "areauserid": {
  8898. "description": "机构用户ID",
  8899. "type": "integer"
  8900. },
  8901. "enumdicname": {
  8902. "description": "单位名称",
  8903. "type": "string"
  8904. },
  8905. "evaluateratio": {
  8906. "description": "估价系数",
  8907. "type": "number"
  8908. },
  8909. "goodsgroupid": {
  8910. "description": "关联期货品种ID",
  8911. "type": "integer"
  8912. },
  8913. "isvalid": {
  8914. "description": "状态 0-无效(停用) 1-有效(正常)",
  8915. "type": "integer"
  8916. },
  8917. "middlegoodscode": {
  8918. "description": "套保品种代码",
  8919. "type": "string"
  8920. },
  8921. "middlegoodsid": {
  8922. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8923. "type": "integer"
  8924. },
  8925. "middlegoodsname": {
  8926. "description": "套保品种名称",
  8927. "type": "string"
  8928. },
  8929. "modifytime": {
  8930. "description": "修改时间",
  8931. "type": "string"
  8932. },
  8933. "needhedgeratio": {
  8934. "description": "套保比率",
  8935. "type": "number"
  8936. },
  8937. "qtydecimalplace": {
  8938. "description": "数量小数位",
  8939. "type": "integer"
  8940. },
  8941. "relatedgoodsid": {
  8942. "description": "关联交易商品ID",
  8943. "type": "integer"
  8944. },
  8945. "relatedgoodstype": {
  8946. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8947. "type": "integer"
  8948. }
  8949. }
  8950. },
  8951. "models.ErmcpModel": {
  8952. "type": "object",
  8953. "properties": {
  8954. "accountname": {
  8955. "description": "账户名称",
  8956. "type": "string"
  8957. },
  8958. "audittime": {
  8959. "description": "审核时间",
  8960. "type": "string"
  8961. },
  8962. "contracctstatus": {
  8963. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8964. "type": "integer"
  8965. },
  8966. "contractmargin": {
  8967. "description": "合同保证金",
  8968. "type": "number"
  8969. },
  8970. "contractno": {
  8971. "description": "合同编号",
  8972. "type": "string"
  8973. },
  8974. "contracttype": {
  8975. "description": "合同类型 1-采购, -1-销售",
  8976. "type": "integer"
  8977. },
  8978. "convertfactor": {
  8979. "description": "标仓系数",
  8980. "type": "number"
  8981. },
  8982. "daikaiamount": {
  8983. "description": "待开票额",
  8984. "type": "number"
  8985. },
  8986. "deliveryenddate": {
  8987. "description": "交割结束日",
  8988. "type": "string"
  8989. },
  8990. "deliverygoodscode": {
  8991. "description": "现货商品代码",
  8992. "type": "string"
  8993. },
  8994. "deliverygoodsid": {
  8995. "description": "现货商品ID",
  8996. "type": "integer"
  8997. },
  8998. "deliverygoodsname": {
  8999. "description": "现货商品名称",
  9000. "type": "string"
  9001. },
  9002. "deliverystartdate": {
  9003. "description": "交割开始日",
  9004. "type": "string"
  9005. },
  9006. "enddate": {
  9007. "description": "点价结束日",
  9008. "type": "string"
  9009. },
  9010. "enumdicname": {
  9011. "description": "单位名称",
  9012. "type": "string"
  9013. },
  9014. "goodscode": {
  9015. "description": "点价商品代码",
  9016. "type": "string"
  9017. },
  9018. "goodsid": {
  9019. "description": "点价商品ID",
  9020. "type": "integer"
  9021. },
  9022. "invoiceamount": {
  9023. "description": "已开票额",
  9024. "type": "number"
  9025. },
  9026. "loanamount": {
  9027. "description": "贷款总额=已定价额+调整金额",
  9028. "type": "number"
  9029. },
  9030. "margin": {
  9031. "description": "保证金",
  9032. "type": "number"
  9033. },
  9034. "payamount": {
  9035. "description": "已收付额(收款或付款)",
  9036. "type": "number"
  9037. },
  9038. "price": {
  9039. "description": "价格",
  9040. "type": "number"
  9041. },
  9042. "pricedamount": {
  9043. "description": "已定价额",
  9044. "type": "number"
  9045. },
  9046. "pricedavg": {
  9047. "description": "已点均价",
  9048. "type": "number"
  9049. },
  9050. "pricedqty": {
  9051. "description": "已定价量",
  9052. "type": "number"
  9053. },
  9054. "pricemove": {
  9055. "description": "升贴水",
  9056. "type": "number"
  9057. },
  9058. "pricetype": {
  9059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9060. "type": "integer"
  9061. },
  9062. "producttype": {
  9063. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9064. "type": "integer"
  9065. },
  9066. "qty": {
  9067. "description": "合同量",
  9068. "type": "number"
  9069. },
  9070. "reckonadjustamount": {
  9071. "description": "调整金额",
  9072. "type": "number"
  9073. },
  9074. "reckonedamount": {
  9075. "description": "已收付额(已确定额)",
  9076. "type": "number"
  9077. },
  9078. "reckonotheramount": {
  9079. "description": "其它费用",
  9080. "type": "number"
  9081. },
  9082. "reckonrealqty": {
  9083. "description": "已确定量",
  9084. "type": "number"
  9085. },
  9086. "remark": {
  9087. "description": "备注",
  9088. "type": "string"
  9089. },
  9090. "spotcontractid": {
  9091. "description": "合同ID",
  9092. "type": "string"
  9093. },
  9094. "spotgoodsdesc": {
  9095. "description": "商品型号(商品规格)",
  9096. "type": "string"
  9097. },
  9098. "startdate": {
  9099. "description": "点价开始日",
  9100. "type": "string"
  9101. },
  9102. "totalamount": {
  9103. "description": "合计总额",
  9104. "type": "number"
  9105. },
  9106. "unpayamount": {
  9107. "description": "待支收额(支付或收款)",
  9108. "type": "number"
  9109. },
  9110. "unpricedqty": {
  9111. "description": "未定价量",
  9112. "type": "number"
  9113. },
  9114. "unsureqty": {
  9115. "description": "未确定量",
  9116. "type": "number"
  9117. },
  9118. "userid": {
  9119. "description": "用户ID",
  9120. "type": "integer"
  9121. }
  9122. }
  9123. },
  9124. "models.ErmcpOPLogModel": {
  9125. "type": "object",
  9126. "properties": {
  9127. "aftervalue": {
  9128. "description": "变更后",
  9129. "type": "number"
  9130. },
  9131. "applyid": {
  9132. "description": "操作人ID",
  9133. "type": "string"
  9134. },
  9135. "applyname": {
  9136. "description": "操作人名称",
  9137. "type": "string"
  9138. },
  9139. "beforevalue": {
  9140. "description": "变更前",
  9141. "type": "number"
  9142. },
  9143. "biztype": {
  9144. "description": "业务类型 - 1:套保计划 2:现货合同",
  9145. "type": "integer"
  9146. },
  9147. "contracttype": {
  9148. "description": "现货合同类型 - 1:采购 -1:销售",
  9149. "type": "integer"
  9150. },
  9151. "logvalue": {
  9152. "description": "数值",
  9153. "type": "number"
  9154. },
  9155. "operatelogtype": {
  9156. "description": "操作流水类型",
  9157. "type": "integer"
  9158. },
  9159. "operatelogtypedesc": {
  9160. "description": "操作流水类型名称",
  9161. "type": "string"
  9162. },
  9163. "relatedid": {
  9164. "description": "现货合同ID\\套保计划",
  9165. "type": "string"
  9166. },
  9167. "updatetime": {
  9168. "description": "更新时间",
  9169. "type": "string"
  9170. }
  9171. }
  9172. },
  9173. "models.ErmcpRealExposureModel": {
  9174. "type": "object",
  9175. "properties": {
  9176. "areaUserID": {
  9177. "description": "所属机构",
  9178. "type": "integer"
  9179. },
  9180. "buyFutureQty": {
  9181. "description": "买入期货数量",
  9182. "type": "number"
  9183. },
  9184. "buyPlanQty": {
  9185. "description": "采购计划数量",
  9186. "type": "number"
  9187. },
  9188. "buyPricedQty": {
  9189. "description": "采购合同已定价数量",
  9190. "type": "number"
  9191. },
  9192. "diffFutuQty": {
  9193. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9194. "type": "number"
  9195. },
  9196. "diffSpotQty": {
  9197. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9198. "type": "number"
  9199. },
  9200. "middleGoodsCode": {
  9201. "description": "套保品种代码",
  9202. "type": "string"
  9203. },
  9204. "middleGoodsHedgeRatio": {
  9205. "description": "应套保比例",
  9206. "type": "number"
  9207. },
  9208. "middleGoodsID": {
  9209. "description": "套保品种",
  9210. "type": "integer"
  9211. },
  9212. "middleGoodsName": {
  9213. "description": "************以下需计算或非redis数据************//",
  9214. "type": "string"
  9215. },
  9216. "needHedgeExposoure": {
  9217. "description": "应套保敞口",
  9218. "type": "number"
  9219. },
  9220. "needHedgeRatio": {
  9221. "description": "应套保敞口比例",
  9222. "type": "number"
  9223. },
  9224. "oriBuyFutureQty": {
  9225. "description": "期初买入期货数量",
  9226. "type": "number"
  9227. },
  9228. "oriBuyPlanQty": {
  9229. "description": "期初采购计划数量",
  9230. "type": "number"
  9231. },
  9232. "oriBuyPricedQty": {
  9233. "description": "期初采购合同已定价数量",
  9234. "type": "number"
  9235. },
  9236. "oriSellFutureQty": {
  9237. "description": "期初卖出期货数量",
  9238. "type": "number"
  9239. },
  9240. "oriSellPlanQty": {
  9241. "description": "期初销售计划数量",
  9242. "type": "number"
  9243. },
  9244. "oriSellPricedQty": {
  9245. "description": "期初销售合同已定价数量",
  9246. "type": "number"
  9247. },
  9248. "oriTotalFutuQty": {
  9249. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9250. "type": "number"
  9251. },
  9252. "oriTotalSpotQty": {
  9253. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9254. "type": "number"
  9255. },
  9256. "sellFutureQty": {
  9257. "description": "卖出期货数量",
  9258. "type": "number"
  9259. },
  9260. "sellPlanQty": {
  9261. "description": "销售计划数量",
  9262. "type": "number"
  9263. },
  9264. "sellPricedQty": {
  9265. "description": "销售合同已定价数量",
  9266. "type": "number"
  9267. },
  9268. "totalExposure": {
  9269. "description": "总敞口",
  9270. "type": "number"
  9271. },
  9272. "totalFutureQty": {
  9273. "description": "期货数量",
  9274. "type": "number"
  9275. },
  9276. "totalHedgeRatio": {
  9277. "description": "敞口比例",
  9278. "type": "number"
  9279. },
  9280. "totalNeedHedgeQty": {
  9281. "description": "期货应套保量",
  9282. "type": "number"
  9283. },
  9284. "totalSpotQty": {
  9285. "description": "现货数量",
  9286. "type": "number"
  9287. }
  9288. }
  9289. },
  9290. "models.ErmcpSpotContractModel": {
  9291. "type": "object",
  9292. "properties": {
  9293. "amount": {
  9294. "description": "金额 [1:一口价、3:暂定价]",
  9295. "type": "number"
  9296. },
  9297. "audittime": {
  9298. "description": "审核时间",
  9299. "type": "string"
  9300. },
  9301. "buyuserid": {
  9302. "description": "采购方ID",
  9303. "type": "integer"
  9304. },
  9305. "buyusername": {
  9306. "description": "采购方名称",
  9307. "type": "string"
  9308. },
  9309. "contracctstatus": {
  9310. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9311. "type": "integer"
  9312. },
  9313. "contractmargin": {
  9314. "description": "合同保证金",
  9315. "type": "number"
  9316. },
  9317. "contractno": {
  9318. "description": "现货合同编号",
  9319. "type": "string"
  9320. },
  9321. "contracttype": {
  9322. "description": "现货合同类型 - 1:采购 -1:销售",
  9323. "type": "integer"
  9324. },
  9325. "convertfactor": {
  9326. "description": "标仓系数",
  9327. "type": "number"
  9328. },
  9329. "deliveryenddate": {
  9330. "description": "交收期(结束)",
  9331. "type": "string"
  9332. },
  9333. "deliverygoodscode": {
  9334. "description": "现货品种代码",
  9335. "type": "string"
  9336. },
  9337. "deliverygoodsid": {
  9338. "description": "现货品种ID",
  9339. "type": "integer"
  9340. },
  9341. "deliverygoodsname": {
  9342. "description": "现货品种名称",
  9343. "type": "string"
  9344. },
  9345. "deliverystartdate": {
  9346. "description": "交收期(开始)",
  9347. "type": "string"
  9348. },
  9349. "enddate": {
  9350. "description": "点价结束日期 [2:点价 3:暂定价]",
  9351. "type": "string"
  9352. },
  9353. "enumdicname": {
  9354. "description": "单位名称",
  9355. "type": "string"
  9356. },
  9357. "goodscode": {
  9358. "description": "点价合约代码",
  9359. "type": "string"
  9360. },
  9361. "goodsid": {
  9362. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9363. "type": "integer"
  9364. },
  9365. "margin": {
  9366. "description": "当前保证金",
  9367. "type": "number"
  9368. },
  9369. "price": {
  9370. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9371. "type": "number"
  9372. },
  9373. "pricemove": {
  9374. "description": "升贴水 [2:点价 3:暂定价]",
  9375. "type": "number"
  9376. },
  9377. "pricetype": {
  9378. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9379. "type": "integer"
  9380. },
  9381. "producttype": {
  9382. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9383. "type": "integer"
  9384. },
  9385. "qty": {
  9386. "description": "数量",
  9387. "type": "number"
  9388. },
  9389. "remark": {
  9390. "description": "备注",
  9391. "type": "string"
  9392. },
  9393. "selluserid": {
  9394. "description": "销售方ID",
  9395. "type": "integer"
  9396. },
  9397. "sellusername": {
  9398. "description": "销售方名称",
  9399. "type": "string"
  9400. },
  9401. "spotcontractid": {
  9402. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9403. "type": "string"
  9404. },
  9405. "spotgoodsdesc": {
  9406. "description": "商品型号",
  9407. "type": "string"
  9408. },
  9409. "startdate": {
  9410. "description": "点价开始日期 [2:点价 3:暂定价]",
  9411. "type": "string"
  9412. },
  9413. "userid": {
  9414. "description": "机构ID",
  9415. "type": "integer"
  9416. }
  9417. }
  9418. },
  9419. "models.ErmcpUserModel": {
  9420. "type": "object",
  9421. "properties": {
  9422. "address": {
  9423. "description": "通讯地址",
  9424. "type": "string"
  9425. },
  9426. "attachment1": {
  9427. "description": "附件1",
  9428. "type": "string"
  9429. },
  9430. "cardfrontphotourl": {
  9431. "description": "证件正面图片地址",
  9432. "type": "string"
  9433. },
  9434. "cardnum": {
  9435. "description": "证件号码",
  9436. "type": "string"
  9437. },
  9438. "cardtype": {
  9439. "description": "证件类型",
  9440. "type": "integer"
  9441. },
  9442. "cardtypename": {
  9443. "description": "证件类型名称",
  9444. "type": "string"
  9445. },
  9446. "cityid": {
  9447. "description": "市",
  9448. "type": "integer"
  9449. },
  9450. "countryid": {
  9451. "description": "国家",
  9452. "type": "integer"
  9453. },
  9454. "customername": {
  9455. "description": "企业名称",
  9456. "type": "string"
  9457. },
  9458. "memberuserid": {
  9459. "description": "所属机构ID",
  9460. "type": "integer"
  9461. },
  9462. "mobile": {
  9463. "description": "手机号码",
  9464. "type": "string"
  9465. },
  9466. "provinceid": {
  9467. "description": "省",
  9468. "type": "integer"
  9469. },
  9470. "remark": {
  9471. "description": "备注",
  9472. "type": "string"
  9473. },
  9474. "status": {
  9475. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9476. "type": "integer"
  9477. },
  9478. "statusdesc": {
  9479. "description": "账户状态中文描述",
  9480. "type": "string"
  9481. },
  9482. "telphone": {
  9483. "description": "联系电话",
  9484. "type": "string"
  9485. },
  9486. "userid": {
  9487. "description": "用户ID",
  9488. "type": "integer"
  9489. },
  9490. "userinfotype": {
  9491. "description": "客户类型",
  9492. "type": "string"
  9493. }
  9494. }
  9495. },
  9496. "models.ErmcpWrstandDetail": {
  9497. "type": "object",
  9498. "properties": {
  9499. "gbList": {
  9500. "description": "品牌列表",
  9501. "type": "array",
  9502. "items": {
  9503. "$ref": "#/definitions/models.GoodsBrand"
  9504. }
  9505. },
  9506. "gtList": {
  9507. "description": "型号列表",
  9508. "type": "array",
  9509. "items": {
  9510. "$ref": "#/definitions/models.GoodsTypeModel"
  9511. }
  9512. },
  9513. "wrd": {
  9514. "description": "基本信息",
  9515. "type": "object",
  9516. "$ref": "#/definitions/models.ErmcpWrstandard"
  9517. },
  9518. "wrsList": {
  9519. "description": "套保信息列表",
  9520. "type": "array",
  9521. "items": {
  9522. "$ref": "#/definitions/models.WRSConverTDetail"
  9523. }
  9524. }
  9525. }
  9526. },
  9527. "models.ErmcpWrstandard": {
  9528. "type": "object",
  9529. "properties": {
  9530. "areauserid": {
  9531. "description": "所属机构",
  9532. "type": "integer"
  9533. },
  9534. "createtime": {
  9535. "description": "创建时间",
  9536. "type": "string"
  9537. },
  9538. "creatorid": {
  9539. "description": "创建人",
  9540. "type": "integer"
  9541. },
  9542. "deliverygoodsid": {
  9543. "description": "品种ID",
  9544. "type": "integer"
  9545. },
  9546. "enumdicname": {
  9547. "description": "单位名称",
  9548. "type": "string"
  9549. },
  9550. "isvalid": {
  9551. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9552. "type": "integer"
  9553. },
  9554. "minivalue": {
  9555. "description": "最小变动值",
  9556. "type": "integer"
  9557. },
  9558. "minivaluedp": {
  9559. "description": "最小变动值小数位",
  9560. "type": "integer"
  9561. },
  9562. "realminivalue": {
  9563. "description": "实际最小变动值",
  9564. "type": "integer"
  9565. },
  9566. "realminivaluedp": {
  9567. "description": "实际最小变动值小数位",
  9568. "type": "integer"
  9569. },
  9570. "remark": {
  9571. "description": "备注",
  9572. "type": "string"
  9573. },
  9574. "unitid": {
  9575. "description": "单位ID",
  9576. "type": "integer"
  9577. },
  9578. "updatetime": {
  9579. "description": "更新时间",
  9580. "type": "string"
  9581. },
  9582. "wrstandardcode": {
  9583. "description": "现货商品代码",
  9584. "type": "string"
  9585. },
  9586. "wrstandardid": {
  9587. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9588. "type": "integer"
  9589. },
  9590. "wrstandardname": {
  9591. "description": "现货商品名称",
  9592. "type": "string"
  9593. }
  9594. }
  9595. },
  9596. "models.Goods": {
  9597. "type": "object",
  9598. "required": [
  9599. "goodscode",
  9600. "goodsid",
  9601. "goodsname",
  9602. "marketid"
  9603. ],
  9604. "properties": {
  9605. "agreeunit": {
  9606. "description": "合约单位",
  9607. "type": "number"
  9608. },
  9609. "auditaccountid": {
  9610. "description": "审核操作员账号",
  9611. "type": "integer"
  9612. },
  9613. "audittime": {
  9614. "description": "审核时间",
  9615. "type": "string"
  9616. },
  9617. "cancelaccountid": {
  9618. "description": "注销操作员账号",
  9619. "type": "integer"
  9620. },
  9621. "canceltime": {
  9622. "description": "注销时间",
  9623. "type": "string"
  9624. },
  9625. "closepricemode": {
  9626. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9627. "type": "integer"
  9628. },
  9629. "closepriceparam": {
  9630. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9631. "type": "number"
  9632. },
  9633. "createtime": {
  9634. "description": "创建时间",
  9635. "type": "string"
  9636. },
  9637. "creatorid": {
  9638. "description": "创建人",
  9639. "type": "integer"
  9640. },
  9641. "currencyid": {
  9642. "description": "报价货币ID",
  9643. "type": "integer"
  9644. },
  9645. "cutmode": {
  9646. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9647. "type": "integer"
  9648. },
  9649. "decimalplace": {
  9650. "description": "报价小数位",
  9651. "type": "integer"
  9652. },
  9653. "delistingdate": {
  9654. "description": "商品退市时间(状态:退市) -- 已作废",
  9655. "type": "string"
  9656. },
  9657. "delistingmode": {
  9658. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9659. "type": "integer"
  9660. },
  9661. "deliveryflag": {
  9662. "description": "交割标志 - 0:不可交割 1:可交割",
  9663. "type": "integer"
  9664. },
  9665. "forceclosemode": {
  9666. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9667. "type": "integer"
  9668. },
  9669. "forceclosevalue": {
  9670. "description": "定期强平参数 [收益权]",
  9671. "type": "integer"
  9672. },
  9673. "goodscode": {
  9674. "description": "商品代码(内部)",
  9675. "type": "string"
  9676. },
  9677. "goodscurrencyid": {
  9678. "description": "合约货币ID",
  9679. "type": "integer"
  9680. },
  9681. "goodsgroupid": {
  9682. "description": "所属商品组ID",
  9683. "type": "integer"
  9684. },
  9685. "goodsid": {
  9686. "description": "商品ID(自增ID SEQ_GOODS)",
  9687. "type": "integer"
  9688. },
  9689. "goodsname": {
  9690. "description": "商品名称",
  9691. "type": "string"
  9692. },
  9693. "goodsquotetype": {
  9694. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9695. "type": "integer"
  9696. },
  9697. "goodsstatus": {
  9698. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9699. "type": "integer"
  9700. },
  9701. "goodstradetype": {
  9702. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9703. "type": "integer"
  9704. },
  9705. "goodunitid": {
  9706. "description": "报价单位ID",
  9707. "type": "integer"
  9708. },
  9709. "hasquoter": {
  9710. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9711. "type": "integer"
  9712. },
  9713. "hqprotecttime": {
  9714. "description": "行情保护时间(秒)",
  9715. "type": "integer"
  9716. },
  9717. "innerdealmode": {
  9718. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9719. "type": "integer"
  9720. },
  9721. "isbuylimited": {
  9722. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9723. "type": "integer"
  9724. },
  9725. "lasttradedate": {
  9726. "description": "最后交易日期(状态:待退市)",
  9727. "type": "string"
  9728. },
  9729. "listingdate": {
  9730. "description": "交易开始日期",
  9731. "type": "string"
  9732. },
  9733. "marketid": {
  9734. "description": "所属市场ID",
  9735. "type": "integer"
  9736. },
  9737. "modifierid": {
  9738. "description": "修改人",
  9739. "type": "integer"
  9740. },
  9741. "modifystatus": {
  9742. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  9743. "type": "integer"
  9744. },
  9745. "modifytime": {
  9746. "description": "修改时间",
  9747. "type": "string"
  9748. },
  9749. "outerdealmode": {
  9750. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  9751. "type": "integer"
  9752. },
  9753. "outgoodscode": {
  9754. "description": "商品代码(外部)",
  9755. "type": "string"
  9756. },
  9757. "qtydecimalplace": {
  9758. "description": "成交量小数位",
  9759. "type": "integer"
  9760. },
  9761. "quotegear": {
  9762. "description": "行情档位(1-10)",
  9763. "type": "integer"
  9764. },
  9765. "quoteminunit": {
  9766. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9767. "type": "integer"
  9768. },
  9769. "quoteshowtype": {
  9770. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  9771. "type": "integer"
  9772. },
  9773. "quoteshowtypeinterval": {
  9774. "description": "行情报价间隔时间(秒)(成交价时为0)",
  9775. "type": "integer"
  9776. },
  9777. "remark": {
  9778. "description": "备注",
  9779. "type": "string"
  9780. }
  9781. }
  9782. },
  9783. "models.GoodsBrand": {
  9784. "type": "object",
  9785. "properties": {
  9786. "brandid": {
  9787. "description": "品牌ID",
  9788. "type": "integer"
  9789. },
  9790. "brandname": {
  9791. "description": "品牌名称",
  9792. "type": "string"
  9793. },
  9794. "isvalid": {
  9795. "description": "是否有效 - 0:无效 1:有效",
  9796. "type": "integer"
  9797. }
  9798. }
  9799. },
  9800. "models.GoodsGroupConvert": {
  9801. "type": "object",
  9802. "properties": {
  9803. "convertratio": {
  9804. "description": "折算系数",
  9805. "type": "number"
  9806. },
  9807. "dstgoodsgroupid": {
  9808. "description": "目标期货品种ID",
  9809. "type": "integer"
  9810. },
  9811. "goodsgroupname": {
  9812. "description": "期货品种名称",
  9813. "type": "string"
  9814. },
  9815. "outergroupcode": {
  9816. "description": "期货品种代码",
  9817. "type": "string"
  9818. },
  9819. "srcgoodsgroupid": {
  9820. "description": "源期货品种ID",
  9821. "type": "integer"
  9822. }
  9823. }
  9824. },
  9825. "models.GoodsIDAndName": {
  9826. "type": "object",
  9827. "required": [
  9828. "goodscode",
  9829. "goodsid",
  9830. "goodsname",
  9831. "marketid"
  9832. ],
  9833. "properties": {
  9834. "goodscode": {
  9835. "description": "商品代码(内部)",
  9836. "type": "string"
  9837. },
  9838. "goodsid": {
  9839. "description": "商品ID(自增ID SEQ_GOODS)",
  9840. "type": "integer"
  9841. },
  9842. "goodsname": {
  9843. "description": "商品名称",
  9844. "type": "string"
  9845. },
  9846. "marketid": {
  9847. "description": "所属市场ID",
  9848. "type": "integer"
  9849. }
  9850. }
  9851. },
  9852. "models.GoodsTypeModel": {
  9853. "type": "object",
  9854. "properties": {
  9855. "modelid": {
  9856. "description": "型号ID",
  9857. "type": "integer"
  9858. },
  9859. "modelname": {
  9860. "description": "型号名称",
  9861. "type": "string"
  9862. },
  9863. "updatetime": {
  9864. "description": "更新时间",
  9865. "type": "string"
  9866. }
  9867. }
  9868. },
  9869. "models.HsbyBuyMyPayOrder": {
  9870. "type": "object",
  9871. "required": [
  9872. "goodscode",
  9873. "goodsname",
  9874. "tradeid",
  9875. "trademode"
  9876. ],
  9877. "properties": {
  9878. "agreeunit": {
  9879. "description": "合约单位",
  9880. "type": "number"
  9881. },
  9882. "buyaccountid": {
  9883. "description": "买方账号ID[报价币种]",
  9884. "type": "integer"
  9885. },
  9886. "buyorderid": {
  9887. "description": "买方委托单号",
  9888. "type": "string"
  9889. },
  9890. "createtime": {
  9891. "description": "创建时间",
  9892. "type": "string"
  9893. },
  9894. "currencysign": {
  9895. "description": "货币符号",
  9896. "type": "string"
  9897. },
  9898. "decimalplace": {
  9899. "description": "报价小数位",
  9900. "type": "integer"
  9901. },
  9902. "goodscode": {
  9903. "description": "商品代码(内部)",
  9904. "type": "string"
  9905. },
  9906. "goodsid": {
  9907. "description": "商品ID",
  9908. "type": "integer"
  9909. },
  9910. "goodsname": {
  9911. "description": "商品名称",
  9912. "type": "string"
  9913. },
  9914. "marketid": {
  9915. "description": "市场ID",
  9916. "type": "integer"
  9917. },
  9918. "offamount": {
  9919. "description": "优惠金额",
  9920. "type": "number"
  9921. },
  9922. "payamount": {
  9923. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9924. "type": "number"
  9925. },
  9926. "payflag": {
  9927. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9928. "type": "integer"
  9929. },
  9930. "paylimitedtime": {
  9931. "description": "支付期限",
  9932. "type": "string"
  9933. },
  9934. "paytime": {
  9935. "description": "付款时间",
  9936. "type": "string"
  9937. },
  9938. "picurls1": {
  9939. "description": "预售商品介绍图片[多张用逗号分隔]",
  9940. "type": "string"
  9941. },
  9942. "picurls2": {
  9943. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9944. "type": "string"
  9945. },
  9946. "sellaccountid": {
  9947. "description": "卖方账号ID[报价币种]",
  9948. "type": "integer"
  9949. },
  9950. "sellorderid": {
  9951. "description": "卖方委托单号",
  9952. "type": "string"
  9953. },
  9954. "tradeamount": {
  9955. "description": "成交金额",
  9956. "type": "number"
  9957. },
  9958. "tradecharge": {
  9959. "description": "成交手续费(买方)",
  9960. "type": "number"
  9961. },
  9962. "tradedate": {
  9963. "description": "交易日(yyyyMMdd)",
  9964. "type": "string"
  9965. },
  9966. "tradeid": {
  9967. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9968. "type": "string"
  9969. },
  9970. "trademode": {
  9971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9972. "type": "integer"
  9973. },
  9974. "tradeprice": {
  9975. "description": "成交价格",
  9976. "type": "number"
  9977. },
  9978. "tradeqty": {
  9979. "description": "成交数量",
  9980. "type": "integer"
  9981. },
  9982. "vendorname1": {
  9983. "description": "预售商品供应商名称",
  9984. "type": "string"
  9985. },
  9986. "vendorname2": {
  9987. "description": "挂牌商品供应商名称",
  9988. "type": "string"
  9989. }
  9990. }
  9991. },
  9992. "models.HsbyBuyMyTradeDetail": {
  9993. "type": "object",
  9994. "required": [
  9995. "accountid",
  9996. "buyorsell",
  9997. "goodscode",
  9998. "goodsid",
  9999. "goodsname",
  10000. "marketid",
  10001. "orderid",
  10002. "qty",
  10003. "time",
  10004. "trademode"
  10005. ],
  10006. "properties": {
  10007. "accountid": {
  10008. "description": "账户ID[报价币种]",
  10009. "type": "integer"
  10010. },
  10011. "agreeunit": {
  10012. "description": "合约单位",
  10013. "type": "number"
  10014. },
  10015. "amount": {
  10016. "description": "金额 = 价格 * 数量 * 合约单位",
  10017. "type": "number"
  10018. },
  10019. "buyorsell": {
  10020. "description": "买卖 - 0:买 1:卖",
  10021. "type": "integer"
  10022. },
  10023. "currencysign": {
  10024. "description": "货币符号",
  10025. "type": "string"
  10026. },
  10027. "decimalplace": {
  10028. "description": "报价小数位",
  10029. "type": "integer"
  10030. },
  10031. "goodscode": {
  10032. "description": "商品代码(内部)",
  10033. "type": "string"
  10034. },
  10035. "goodsid": {
  10036. "description": "商品ID",
  10037. "type": "integer"
  10038. },
  10039. "goodsname": {
  10040. "description": "商品名称",
  10041. "type": "string"
  10042. },
  10043. "marketid": {
  10044. "description": "市场ID",
  10045. "type": "integer"
  10046. },
  10047. "orderid": {
  10048. "description": "单号(成交单号)",
  10049. "type": "string"
  10050. },
  10051. "picurls1": {
  10052. "description": "预售商品介绍图片[多张用逗号分隔]",
  10053. "type": "string"
  10054. },
  10055. "picurls2": {
  10056. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10057. "type": "string"
  10058. },
  10059. "price": {
  10060. "description": "价格",
  10061. "type": "number"
  10062. },
  10063. "qty": {
  10064. "description": "数量",
  10065. "type": "integer"
  10066. },
  10067. "time": {
  10068. "description": "时间",
  10069. "type": "string"
  10070. },
  10071. "trademode": {
  10072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10073. "type": "integer"
  10074. },
  10075. "vendorname1": {
  10076. "description": "预售商品供应商名称",
  10077. "type": "string"
  10078. },
  10079. "vendorname2": {
  10080. "description": "挂牌商品供应商名称",
  10081. "type": "string"
  10082. }
  10083. }
  10084. },
  10085. "models.HsbyGoodsOrderDetail": {
  10086. "type": "object",
  10087. "required": [
  10088. "buyorsell",
  10089. "orderid",
  10090. "ordertime"
  10091. ],
  10092. "properties": {
  10093. "buyorsell": {
  10094. "description": "买卖 - 0:买 1:卖",
  10095. "type": "integer"
  10096. },
  10097. "currencysign": {
  10098. "description": "货币符号",
  10099. "type": "string"
  10100. },
  10101. "customername": {
  10102. "description": "客户名称(企业名称),已脱敏",
  10103. "type": "string"
  10104. },
  10105. "enableqty": {
  10106. "description": "可用数量",
  10107. "type": "integer"
  10108. },
  10109. "goodunit": {
  10110. "description": "报价单位",
  10111. "type": "string"
  10112. },
  10113. "orderid": {
  10114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10115. "type": "string"
  10116. },
  10117. "orderprice": {
  10118. "description": "委托价格",
  10119. "type": "number"
  10120. },
  10121. "ordertime": {
  10122. "description": "委托时间",
  10123. "type": "string"
  10124. }
  10125. }
  10126. },
  10127. "models.HsbyListingGoodsDetail": {
  10128. "type": "object",
  10129. "required": [
  10130. "goodscode",
  10131. "goodsid",
  10132. "goodsname",
  10133. "marketid",
  10134. "trademode"
  10135. ],
  10136. "properties": {
  10137. "agreeunit": {
  10138. "description": "合约单位",
  10139. "type": "number"
  10140. },
  10141. "buymaxqty": {
  10142. "description": "购买上限 [71] - 0为不限",
  10143. "type": "integer"
  10144. },
  10145. "currency": {
  10146. "description": "货币",
  10147. "type": "string"
  10148. },
  10149. "currencysign": {
  10150. "description": "货币符号",
  10151. "type": "string"
  10152. },
  10153. "decimalplace": {
  10154. "description": "报价小数位",
  10155. "type": "integer"
  10156. },
  10157. "desccityid": {
  10158. "description": "目的地(市)ID",
  10159. "type": "integer"
  10160. },
  10161. "descprovinceid": {
  10162. "description": "目的地(省)ID",
  10163. "type": "integer"
  10164. },
  10165. "goodscode": {
  10166. "description": "商品代码(内部)",
  10167. "type": "string"
  10168. },
  10169. "goodsdesc": {
  10170. "description": "商品详情",
  10171. "type": "string"
  10172. },
  10173. "goodsid": {
  10174. "description": "商品ID(自增ID SEQ_GOODS)",
  10175. "type": "integer"
  10176. },
  10177. "goodsname": {
  10178. "description": "商品名称",
  10179. "type": "string"
  10180. },
  10181. "goodsprice": {
  10182. "description": "商品价格",
  10183. "type": "number"
  10184. },
  10185. "hotindex": {
  10186. "description": "景点热度",
  10187. "type": "integer"
  10188. },
  10189. "last": {
  10190. "description": "现价",
  10191. "type": "number"
  10192. },
  10193. "limitdown": {
  10194. "description": "跌停价",
  10195. "type": "number"
  10196. },
  10197. "limitup": {
  10198. "description": "涨停价",
  10199. "type": "number"
  10200. },
  10201. "lotsize": {
  10202. "description": "手数最小变动单位",
  10203. "type": "integer"
  10204. },
  10205. "marketid": {
  10206. "description": "所属市场ID",
  10207. "type": "integer"
  10208. },
  10209. "picurls": {
  10210. "description": "介绍图片[多张用逗号分隔]",
  10211. "type": "string"
  10212. },
  10213. "quoteminunit": {
  10214. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10215. "type": "integer"
  10216. },
  10217. "stepvalue": {
  10218. "description": "价格最小变动单位",
  10219. "type": "number"
  10220. },
  10221. "trademode": {
  10222. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10223. "type": "integer"
  10224. },
  10225. "vendorattr": {
  10226. "description": "供应商附件(多张,逗号分隔)",
  10227. "type": "string"
  10228. },
  10229. "vendorname": {
  10230. "description": "供应商名称",
  10231. "type": "string"
  10232. },
  10233. "vendorphone": {
  10234. "description": "供应商客服电话",
  10235. "type": "string"
  10236. },
  10237. "videourls": {
  10238. "description": "介绍视频[多张用逗号分隔]",
  10239. "type": "string"
  10240. }
  10241. }
  10242. },
  10243. "models.HsbyMarketGoods": {
  10244. "type": "object",
  10245. "required": [
  10246. "accountid",
  10247. "buyorsell",
  10248. "goodscode",
  10249. "goodsid",
  10250. "goodsname",
  10251. "marketid",
  10252. "orderid",
  10253. "trademode"
  10254. ],
  10255. "properties": {
  10256. "accountid": {
  10257. "description": "账户ID[报价币种]",
  10258. "type": "integer"
  10259. },
  10260. "agreeunit": {
  10261. "description": "合约单位",
  10262. "type": "number"
  10263. },
  10264. "buyorsell": {
  10265. "description": "买卖 - 0:买 1:卖",
  10266. "type": "integer"
  10267. },
  10268. "categoryid": {
  10269. "description": "类别ID(WRCATEGORY)",
  10270. "type": "integer"
  10271. },
  10272. "currency": {
  10273. "description": "货币",
  10274. "type": "string"
  10275. },
  10276. "currencysign": {
  10277. "description": "货币符号",
  10278. "type": "string"
  10279. },
  10280. "customername": {
  10281. "description": "卖家名称",
  10282. "type": "string"
  10283. },
  10284. "decimalplace": {
  10285. "description": "报价小数位",
  10286. "type": "integer"
  10287. },
  10288. "goodscode": {
  10289. "description": "商品代码(内部)",
  10290. "type": "string"
  10291. },
  10292. "goodsid": {
  10293. "description": "商品ID",
  10294. "type": "integer"
  10295. },
  10296. "goodsname": {
  10297. "description": "商品名称",
  10298. "type": "string"
  10299. },
  10300. "goodsprice": {
  10301. "description": "商品价格",
  10302. "type": "number"
  10303. },
  10304. "hascoupon": {
  10305. "description": "是否可用优惠卷",
  10306. "type": "boolean"
  10307. },
  10308. "hotindex": {
  10309. "description": "景点热度",
  10310. "type": "integer"
  10311. },
  10312. "marketid": {
  10313. "description": "市场ID",
  10314. "type": "integer"
  10315. },
  10316. "orderid": {
  10317. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10318. "type": "string"
  10319. },
  10320. "orderprice": {
  10321. "description": "委托价格",
  10322. "type": "number"
  10323. },
  10324. "orderstatus": {
  10325. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10326. "type": "integer"
  10327. },
  10328. "picurls": {
  10329. "description": "介绍图片[多张用逗号分隔]",
  10330. "type": "string"
  10331. },
  10332. "quoteminunit": {
  10333. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10334. "type": "integer"
  10335. },
  10336. "sellUserID": {
  10337. "description": "卖方UserID",
  10338. "type": "integer"
  10339. },
  10340. "trademode": {
  10341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10342. "type": "integer"
  10343. },
  10344. "videourls": {
  10345. "description": "介绍视频[多张用逗号分隔]",
  10346. "type": "string"
  10347. }
  10348. }
  10349. },
  10350. "models.HsbyMarketGoodsDetail": {
  10351. "type": "object",
  10352. "required": [
  10353. "accountid",
  10354. "buyorsell",
  10355. "goodscode",
  10356. "goodsid",
  10357. "goodsname",
  10358. "marketid",
  10359. "orderid",
  10360. "orderqty",
  10361. "trademode"
  10362. ],
  10363. "properties": {
  10364. "accountid": {
  10365. "description": "账户ID[报价币种]",
  10366. "type": "integer"
  10367. },
  10368. "agreeunit": {
  10369. "description": "合约单位",
  10370. "type": "number"
  10371. },
  10372. "buymaxqty": {
  10373. "description": "购买上限 [71] - 0为不限",
  10374. "type": "integer"
  10375. },
  10376. "buyorsell": {
  10377. "description": "买卖 - 0:买 1:卖",
  10378. "type": "integer"
  10379. },
  10380. "cancelqty": {
  10381. "description": "撤单数量",
  10382. "type": "integer"
  10383. },
  10384. "categoryid": {
  10385. "description": "类别ID(WRCATEGORY)",
  10386. "type": "integer"
  10387. },
  10388. "currency": {
  10389. "description": "货币",
  10390. "type": "string"
  10391. },
  10392. "currencysign": {
  10393. "description": "货币符号",
  10394. "type": "string"
  10395. },
  10396. "customername": {
  10397. "description": "卖家名称",
  10398. "type": "string"
  10399. },
  10400. "decimalplace": {
  10401. "description": "报价小数位",
  10402. "type": "integer"
  10403. },
  10404. "goodscode": {
  10405. "description": "商品代码(内部)",
  10406. "type": "string"
  10407. },
  10408. "goodsdesc": {
  10409. "description": "商品详情",
  10410. "type": "string"
  10411. },
  10412. "goodsid": {
  10413. "description": "商品ID",
  10414. "type": "integer"
  10415. },
  10416. "goodsname": {
  10417. "description": "商品名称",
  10418. "type": "string"
  10419. },
  10420. "goodsprice": {
  10421. "description": "商品价格",
  10422. "type": "number"
  10423. },
  10424. "hotindex": {
  10425. "description": "景点热度",
  10426. "type": "integer"
  10427. },
  10428. "lotsize": {
  10429. "description": "手数最小变动单位",
  10430. "type": "integer"
  10431. },
  10432. "marketid": {
  10433. "description": "市场ID",
  10434. "type": "integer"
  10435. },
  10436. "orderid": {
  10437. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10438. "type": "string"
  10439. },
  10440. "orderprice": {
  10441. "description": "委托价格",
  10442. "type": "number"
  10443. },
  10444. "orderqty": {
  10445. "description": "委托数量",
  10446. "type": "integer"
  10447. },
  10448. "orderstatus": {
  10449. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10450. "type": "integer"
  10451. },
  10452. "picurls": {
  10453. "description": "介绍图片[多张用逗号分隔]",
  10454. "type": "string"
  10455. },
  10456. "quoteminunit": {
  10457. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10458. "type": "integer"
  10459. },
  10460. "sellUserID": {
  10461. "description": "卖方UserID",
  10462. "type": "integer"
  10463. },
  10464. "trademode": {
  10465. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10466. "type": "integer"
  10467. },
  10468. "tradeqty": {
  10469. "description": "成交数量",
  10470. "type": "integer"
  10471. },
  10472. "vendorattr": {
  10473. "description": "供应商附件(多张,逗号分隔)",
  10474. "type": "string"
  10475. },
  10476. "vendorname": {
  10477. "description": "供应商名称",
  10478. "type": "string"
  10479. },
  10480. "vendorphone": {
  10481. "description": "供应商客服电话",
  10482. "type": "string"
  10483. },
  10484. "videourls": {
  10485. "description": "介绍视频[多张用逗号分隔]",
  10486. "type": "string"
  10487. }
  10488. }
  10489. },
  10490. "models.HsbyMarketInfo": {
  10491. "type": "object",
  10492. "required": [
  10493. "marketid",
  10494. "marketstatus",
  10495. "trademode"
  10496. ],
  10497. "properties": {
  10498. "marketid": {
  10499. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10500. "type": "integer"
  10501. },
  10502. "marketname": {
  10503. "description": "市场名称",
  10504. "type": "string"
  10505. },
  10506. "marketstatus": {
  10507. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10508. "type": "integer"
  10509. },
  10510. "trademode": {
  10511. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10512. "type": "integer"
  10513. }
  10514. }
  10515. },
  10516. "models.HsbyMyGoods": {
  10517. "type": "object",
  10518. "required": [
  10519. "accountid",
  10520. "goodscode",
  10521. "goodsid",
  10522. "goodsname",
  10523. "marketid",
  10524. "trademode"
  10525. ],
  10526. "properties": {
  10527. "accountid": {
  10528. "description": "账号Id",
  10529. "type": "integer"
  10530. },
  10531. "agreeunit": {
  10532. "description": "合约单位",
  10533. "type": "number"
  10534. },
  10535. "buyaverageprice": {
  10536. "description": "持仓均价",
  10537. "type": "number"
  10538. },
  10539. "buycurholderamount": {
  10540. "description": "买当前持仓总金额[商品币种]",
  10541. "type": "number"
  10542. },
  10543. "buycurpositionqty": {
  10544. "description": "买当前持仓总数量",
  10545. "type": "integer"
  10546. },
  10547. "buymaxqty": {
  10548. "description": "购买上限 [71] - 0为不限",
  10549. "type": "integer"
  10550. },
  10551. "currencysign": {
  10552. "description": "货币符号",
  10553. "type": "string"
  10554. },
  10555. "decimalplace": {
  10556. "description": "报价小数位",
  10557. "type": "integer"
  10558. },
  10559. "enableqty": {
  10560. "description": "可用数量",
  10561. "type": "integer"
  10562. },
  10563. "goodscode": {
  10564. "description": "商品代码(内部)",
  10565. "type": "string"
  10566. },
  10567. "goodsid": {
  10568. "description": "商品Id",
  10569. "type": "integer"
  10570. },
  10571. "goodsname": {
  10572. "description": "商品名称",
  10573. "type": "string"
  10574. },
  10575. "goodsprice": {
  10576. "description": "商品价格",
  10577. "type": "number"
  10578. },
  10579. "goodsstatus": {
  10580. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10581. "type": "integer"
  10582. },
  10583. "last": {
  10584. "description": "现价(仅使用于挂牌点选)",
  10585. "type": "number"
  10586. },
  10587. "limitdown": {
  10588. "description": "跌停价(仅使用于挂牌点选)",
  10589. "type": "number"
  10590. },
  10591. "limitup": {
  10592. "description": "涨停价(仅使用于挂牌点选)",
  10593. "type": "number"
  10594. },
  10595. "lotsize": {
  10596. "description": "手数最小变动单位",
  10597. "type": "integer"
  10598. },
  10599. "marketid": {
  10600. "description": "所属市场ID",
  10601. "type": "integer"
  10602. },
  10603. "picurls": {
  10604. "description": "介绍图片[多张用逗号分隔]",
  10605. "type": "string"
  10606. },
  10607. "quoteminunit": {
  10608. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10609. "type": "integer"
  10610. },
  10611. "stepvalue": {
  10612. "description": "价格最小变动单位",
  10613. "type": "number"
  10614. },
  10615. "trademode": {
  10616. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10617. "type": "integer"
  10618. }
  10619. }
  10620. },
  10621. "models.HsbyMyPackage": {
  10622. "type": "object",
  10623. "required": [
  10624. "goodscode",
  10625. "goodsname",
  10626. "takeorderid",
  10627. "trademode"
  10628. ],
  10629. "properties": {
  10630. "accountid": {
  10631. "description": "账户ID",
  10632. "type": "integer"
  10633. },
  10634. "address": {
  10635. "description": "提货人详细地址",
  10636. "type": "string"
  10637. },
  10638. "agreeunit": {
  10639. "description": "合约单位",
  10640. "type": "number"
  10641. },
  10642. "amount": {
  10643. "description": "提货金额",
  10644. "type": "number"
  10645. },
  10646. "auditer": {
  10647. "description": "审核人",
  10648. "type": "integer"
  10649. },
  10650. "audittime": {
  10651. "description": "审核时间",
  10652. "type": "string"
  10653. },
  10654. "averageprice": {
  10655. "description": "均价",
  10656. "type": "number"
  10657. },
  10658. "cardnum": {
  10659. "description": "提货人证件号码",
  10660. "type": "string"
  10661. },
  10662. "cardtypeid": {
  10663. "description": "提货人证件类型",
  10664. "type": "integer"
  10665. },
  10666. "checkremark": {
  10667. "description": "审核备注",
  10668. "type": "string"
  10669. },
  10670. "currencysign": {
  10671. "description": "货币符号",
  10672. "type": "string"
  10673. },
  10674. "decimalplace": {
  10675. "description": "报价小数位",
  10676. "type": "integer"
  10677. },
  10678. "goodscode": {
  10679. "description": "商品代码(内部)",
  10680. "type": "string"
  10681. },
  10682. "goodsid": {
  10683. "description": "商品ID",
  10684. "type": "integer"
  10685. },
  10686. "goodsname": {
  10687. "description": "商品名称",
  10688. "type": "string"
  10689. },
  10690. "handlestatus": {
  10691. "description": "处理状态",
  10692. "type": "integer"
  10693. },
  10694. "marketid": {
  10695. "description": "市场ID",
  10696. "type": "integer"
  10697. },
  10698. "phonenum": {
  10699. "description": "提货人联系方式",
  10700. "type": "string"
  10701. },
  10702. "picurls": {
  10703. "description": "介绍图片[多张用逗号分隔]",
  10704. "type": "string"
  10705. },
  10706. "qty": {
  10707. "description": "提货数量",
  10708. "type": "number"
  10709. },
  10710. "recivername": {
  10711. "description": "提货人姓名",
  10712. "type": "string"
  10713. },
  10714. "reqtime": {
  10715. "description": "更新时间",
  10716. "type": "string"
  10717. },
  10718. "takemode": {
  10719. "description": "提货方式 - 2:自提 3:配送",
  10720. "type": "integer"
  10721. },
  10722. "takeorderid": {
  10723. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10724. "type": "string"
  10725. },
  10726. "takeorderstatus": {
  10727. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10728. "type": "integer"
  10729. },
  10730. "takeremark": {
  10731. "description": "提货备注",
  10732. "type": "string"
  10733. },
  10734. "tradedate": {
  10735. "description": "交易日(yyyyMMdd)",
  10736. "type": "string"
  10737. },
  10738. "trademode": {
  10739. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10740. "type": "integer"
  10741. },
  10742. "userid": {
  10743. "description": "用户ID",
  10744. "type": "integer"
  10745. },
  10746. "vendorname": {
  10747. "description": "供应商名称",
  10748. "type": "string"
  10749. }
  10750. }
  10751. },
  10752. "models.HsbyPreGoods": {
  10753. "type": "object",
  10754. "required": [
  10755. "goodscode",
  10756. "goodsid",
  10757. "goodsname",
  10758. "marketid",
  10759. "trademode"
  10760. ],
  10761. "properties": {
  10762. "agreeunit": {
  10763. "description": "合约单位",
  10764. "type": "number"
  10765. },
  10766. "currency": {
  10767. "description": "货币",
  10768. "type": "string"
  10769. },
  10770. "currencysign": {
  10771. "description": "货币符号",
  10772. "type": "string"
  10773. },
  10774. "decimalplace": {
  10775. "description": "报价小数位",
  10776. "type": "integer"
  10777. },
  10778. "enableqty": {
  10779. "description": "剩余数量",
  10780. "type": "integer"
  10781. },
  10782. "goodscode": {
  10783. "description": "商品代码(内部)",
  10784. "type": "string"
  10785. },
  10786. "goodsid": {
  10787. "description": "商品ID(自增ID SEQ_GOODS)",
  10788. "type": "integer"
  10789. },
  10790. "goodsname": {
  10791. "description": "商品名称",
  10792. "type": "string"
  10793. },
  10794. "goodsstatus": {
  10795. "description": "商品状态- 2:未上市 3:上市",
  10796. "type": "integer"
  10797. },
  10798. "lasttradedate": {
  10799. "description": "最后交易日期(状态:待退市)",
  10800. "type": "string"
  10801. },
  10802. "listingdate": {
  10803. "description": "交易开始日期",
  10804. "type": "string"
  10805. },
  10806. "marketid": {
  10807. "description": "所属市场ID",
  10808. "type": "integer"
  10809. },
  10810. "picurls": {
  10811. "description": "介绍图片[多张用逗号分隔]",
  10812. "type": "string"
  10813. },
  10814. "presaledqty": {
  10815. "description": "已预售量(预售结束时更新)",
  10816. "type": "integer"
  10817. },
  10818. "presaleqty": {
  10819. "description": "预售数量",
  10820. "type": "integer"
  10821. },
  10822. "quoteminunit": {
  10823. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10824. "type": "integer"
  10825. },
  10826. "refprice": {
  10827. "description": "参考价格[一口价]",
  10828. "type": "number"
  10829. },
  10830. "relatedgoodsid": {
  10831. "description": "关联交易合约ID",
  10832. "type": "integer"
  10833. },
  10834. "trademode": {
  10835. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10836. "type": "integer"
  10837. },
  10838. "videourls": {
  10839. "description": "介绍视频[多张用逗号分隔]",
  10840. "type": "string"
  10841. }
  10842. }
  10843. },
  10844. "models.HsbyPreGoodsDetail": {
  10845. "type": "object",
  10846. "required": [
  10847. "goodscode",
  10848. "goodsid",
  10849. "goodsname",
  10850. "marketid",
  10851. "trademode"
  10852. ],
  10853. "properties": {
  10854. "agreeunit": {
  10855. "description": "合约单位",
  10856. "type": "number"
  10857. },
  10858. "buymaxqty": {
  10859. "description": "购买上限 [71] - 0为不限",
  10860. "type": "integer"
  10861. },
  10862. "currency": {
  10863. "description": "货币",
  10864. "type": "string"
  10865. },
  10866. "currencysign": {
  10867. "description": "货币符号",
  10868. "type": "string"
  10869. },
  10870. "customername": {
  10871. "description": "发行单位",
  10872. "type": "string"
  10873. },
  10874. "decimalplace": {
  10875. "description": "报价小数位",
  10876. "type": "integer"
  10877. },
  10878. "desccityid": {
  10879. "description": "目的地(市)ID",
  10880. "type": "integer"
  10881. },
  10882. "descprovinceid": {
  10883. "description": "目的地(省)ID",
  10884. "type": "integer"
  10885. },
  10886. "enableqty": {
  10887. "description": "剩余数量",
  10888. "type": "integer"
  10889. },
  10890. "goodscode": {
  10891. "description": "商品代码(内部)",
  10892. "type": "string"
  10893. },
  10894. "goodsdesc": {
  10895. "description": "商品详情",
  10896. "type": "string"
  10897. },
  10898. "goodsid": {
  10899. "description": "商品ID(自增ID SEQ_GOODS)",
  10900. "type": "integer"
  10901. },
  10902. "goodsname": {
  10903. "description": "商品名称",
  10904. "type": "string"
  10905. },
  10906. "goodsstatus": {
  10907. "description": "商品状态- 2:未上市 3:上市",
  10908. "type": "integer"
  10909. },
  10910. "goodunit": {
  10911. "description": "报价单位",
  10912. "type": "string"
  10913. },
  10914. "lasttradedate": {
  10915. "description": "最后交易日期(状态:待退市)",
  10916. "type": "string"
  10917. },
  10918. "listingdate": {
  10919. "description": "交易开始日期",
  10920. "type": "string"
  10921. },
  10922. "lotsize": {
  10923. "description": "手数最小变动单位",
  10924. "type": "integer"
  10925. },
  10926. "marketid": {
  10927. "description": "所属市场ID",
  10928. "type": "integer"
  10929. },
  10930. "picurls": {
  10931. "description": "介绍图片[多张用逗号分隔]",
  10932. "type": "string"
  10933. },
  10934. "presaledqty": {
  10935. "description": "已预售量(预售结束时更新)",
  10936. "type": "integer"
  10937. },
  10938. "presaleqty": {
  10939. "description": "预售数量",
  10940. "type": "integer"
  10941. },
  10942. "quoteminunit": {
  10943. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10944. "type": "integer"
  10945. },
  10946. "refprice": {
  10947. "description": "参考价格[一口价]",
  10948. "type": "number"
  10949. },
  10950. "relatedgoodsid": {
  10951. "description": "关联交易合约ID",
  10952. "type": "integer"
  10953. },
  10954. "stepvalue": {
  10955. "description": "价格最小变动单位",
  10956. "type": "number"
  10957. },
  10958. "trademode": {
  10959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10960. "type": "integer"
  10961. },
  10962. "vendorattr": {
  10963. "description": "供应商附件(多张,逗号分隔)",
  10964. "type": "string"
  10965. },
  10966. "vendorname": {
  10967. "description": "供应商名称",
  10968. "type": "string"
  10969. },
  10970. "vendorphone": {
  10971. "description": "供应商客服电话",
  10972. "type": "string"
  10973. },
  10974. "videourls": {
  10975. "description": "介绍视频[多张用逗号分隔]",
  10976. "type": "string"
  10977. }
  10978. }
  10979. },
  10980. "models.HsbySellCollectionOrder": {
  10981. "type": "object",
  10982. "required": [
  10983. "goodscode",
  10984. "goodsname",
  10985. "tradeid",
  10986. "trademode"
  10987. ],
  10988. "properties": {
  10989. "agreeunit": {
  10990. "description": "合约单位",
  10991. "type": "number"
  10992. },
  10993. "buyaccountid": {
  10994. "description": "买方账号ID[报价币种]",
  10995. "type": "integer"
  10996. },
  10997. "buyorderid": {
  10998. "description": "买方委托单号",
  10999. "type": "string"
  11000. },
  11001. "createtime": {
  11002. "description": "创建时间",
  11003. "type": "string"
  11004. },
  11005. "currencysign": {
  11006. "description": "货币符号",
  11007. "type": "string"
  11008. },
  11009. "decimalplace": {
  11010. "description": "报价小数位",
  11011. "type": "integer"
  11012. },
  11013. "goodscode": {
  11014. "description": "商品代码(内部)",
  11015. "type": "string"
  11016. },
  11017. "goodsid": {
  11018. "description": "商品ID",
  11019. "type": "integer"
  11020. },
  11021. "goodsname": {
  11022. "description": "商品名称",
  11023. "type": "string"
  11024. },
  11025. "marketid": {
  11026. "description": "市场ID",
  11027. "type": "integer"
  11028. },
  11029. "offamount": {
  11030. "description": "优惠金额",
  11031. "type": "number"
  11032. },
  11033. "payamount": {
  11034. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11035. "type": "number"
  11036. },
  11037. "payflag": {
  11038. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11039. "type": "integer"
  11040. },
  11041. "paylimitedtime": {
  11042. "description": "支付期限",
  11043. "type": "string"
  11044. },
  11045. "paytime": {
  11046. "description": "付款时间",
  11047. "type": "string"
  11048. },
  11049. "picurls": {
  11050. "description": "商品介绍图片[多张用逗号分隔]",
  11051. "type": "string"
  11052. },
  11053. "sellaccountid": {
  11054. "description": "卖方账号ID[报价币种]",
  11055. "type": "integer"
  11056. },
  11057. "sellorderid": {
  11058. "description": "卖方委托单号",
  11059. "type": "string"
  11060. },
  11061. "tradeamount": {
  11062. "description": "成交金额",
  11063. "type": "number"
  11064. },
  11065. "tradecharge": {
  11066. "description": "成交手续费(买方)",
  11067. "type": "number"
  11068. },
  11069. "tradedate": {
  11070. "description": "交易日(yyyyMMdd)",
  11071. "type": "string"
  11072. },
  11073. "tradeid": {
  11074. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11075. "type": "string"
  11076. },
  11077. "trademode": {
  11078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11079. "type": "integer"
  11080. },
  11081. "tradeprice": {
  11082. "description": "成交价格",
  11083. "type": "number"
  11084. },
  11085. "tradeqty": {
  11086. "description": "成交数量",
  11087. "type": "integer"
  11088. }
  11089. }
  11090. },
  11091. "models.HsbySellMyDetail": {
  11092. "type": "object",
  11093. "required": [
  11094. "accountid",
  11095. "buyorsell",
  11096. "goodscode",
  11097. "goodsid",
  11098. "goodsname",
  11099. "marketid",
  11100. "orderid",
  11101. "time",
  11102. "trademode"
  11103. ],
  11104. "properties": {
  11105. "accountid": {
  11106. "description": "账户ID[报价币种]",
  11107. "type": "integer"
  11108. },
  11109. "agreeunit": {
  11110. "description": "合约单位",
  11111. "type": "number"
  11112. },
  11113. "buyorsell": {
  11114. "description": "买卖 - 0:买 1:卖",
  11115. "type": "integer"
  11116. },
  11117. "currencysign": {
  11118. "description": "货币符号",
  11119. "type": "string"
  11120. },
  11121. "decimalplace": {
  11122. "description": "报价小数位",
  11123. "type": "integer"
  11124. },
  11125. "goodscode": {
  11126. "description": "商品代码(内部)",
  11127. "type": "string"
  11128. },
  11129. "goodsid": {
  11130. "description": "商品ID",
  11131. "type": "integer"
  11132. },
  11133. "goodsname": {
  11134. "description": "商品名称",
  11135. "type": "string"
  11136. },
  11137. "marketid": {
  11138. "description": "市场ID",
  11139. "type": "integer"
  11140. },
  11141. "orderid": {
  11142. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11143. "type": "string"
  11144. },
  11145. "ordertype": {
  11146. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11147. "type": "integer"
  11148. },
  11149. "picurls": {
  11150. "description": "介绍图片[多张用逗号分隔]",
  11151. "type": "string"
  11152. },
  11153. "price": {
  11154. "description": "价格",
  11155. "type": "number"
  11156. },
  11157. "qty": {
  11158. "description": "数量",
  11159. "type": "integer"
  11160. },
  11161. "time": {
  11162. "description": "时间",
  11163. "type": "string"
  11164. },
  11165. "trademode": {
  11166. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11167. "type": "integer"
  11168. },
  11169. "vendorname": {
  11170. "description": "供应商名称",
  11171. "type": "string"
  11172. }
  11173. }
  11174. },
  11175. "models.HsbyTopGoods": {
  11176. "type": "object",
  11177. "required": [
  11178. "goodscode",
  11179. "goodsid",
  11180. "goodsname",
  11181. "marketid",
  11182. "trademode"
  11183. ],
  11184. "properties": {
  11185. "agreeunit": {
  11186. "description": "合约单位",
  11187. "type": "number"
  11188. },
  11189. "currency": {
  11190. "description": "货币",
  11191. "type": "string"
  11192. },
  11193. "currencysign": {
  11194. "description": "货币符号",
  11195. "type": "string"
  11196. },
  11197. "decimalplace": {
  11198. "description": "报价小数位",
  11199. "type": "integer"
  11200. },
  11201. "goodscode": {
  11202. "description": "商品代码(内部)",
  11203. "type": "string"
  11204. },
  11205. "goodsid": {
  11206. "description": "商品ID(自增ID SEQ_GOODS)",
  11207. "type": "integer"
  11208. },
  11209. "goodsname": {
  11210. "description": "商品名称",
  11211. "type": "string"
  11212. },
  11213. "hotindex": {
  11214. "description": "景点热度",
  11215. "type": "integer"
  11216. },
  11217. "last": {
  11218. "description": "现价",
  11219. "type": "number"
  11220. },
  11221. "marketid": {
  11222. "description": "所属市场ID",
  11223. "type": "integer"
  11224. },
  11225. "picurls": {
  11226. "description": "介绍图片[多张用逗号分隔]",
  11227. "type": "string"
  11228. },
  11229. "quoteminunit": {
  11230. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11231. "type": "integer"
  11232. },
  11233. "trademode": {
  11234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11235. "type": "integer"
  11236. },
  11237. "videourls": {
  11238. "description": "介绍视频[多张用逗号分隔]",
  11239. "type": "string"
  11240. }
  11241. }
  11242. },
  11243. "models.HybsMyBuyOrderDetail": {
  11244. "type": "object",
  11245. "required": [
  11246. "accountid",
  11247. "buyorsell",
  11248. "goodscode",
  11249. "goodsid",
  11250. "goodsname",
  11251. "marketid",
  11252. "orderid",
  11253. "orderqty",
  11254. "ordertime",
  11255. "trademode"
  11256. ],
  11257. "properties": {
  11258. "accountid": {
  11259. "description": "账户ID[报价币种]",
  11260. "type": "integer"
  11261. },
  11262. "agreeunit": {
  11263. "description": "合约单位",
  11264. "type": "number"
  11265. },
  11266. "buyorsell": {
  11267. "description": "买卖 - 0:买 1:卖",
  11268. "type": "integer"
  11269. },
  11270. "cancelqty": {
  11271. "description": "撤单数量",
  11272. "type": "integer"
  11273. },
  11274. "currencysign": {
  11275. "description": "货币符号",
  11276. "type": "string"
  11277. },
  11278. "decimalplace": {
  11279. "description": "报价小数位",
  11280. "type": "integer"
  11281. },
  11282. "goodscode": {
  11283. "description": "商品代码(内部)",
  11284. "type": "string"
  11285. },
  11286. "goodsid": {
  11287. "description": "商品ID",
  11288. "type": "integer"
  11289. },
  11290. "goodsname": {
  11291. "description": "商品名称",
  11292. "type": "string"
  11293. },
  11294. "listingselecttype": {
  11295. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11296. "type": "integer"
  11297. },
  11298. "marketid": {
  11299. "description": "市场ID",
  11300. "type": "integer"
  11301. },
  11302. "mybuystatus": {
  11303. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11304. "type": "integer"
  11305. },
  11306. "orderamount": {
  11307. "description": "委托金额",
  11308. "type": "number"
  11309. },
  11310. "orderid": {
  11311. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11312. "type": "string"
  11313. },
  11314. "orderprice": {
  11315. "description": "委托价格",
  11316. "type": "number"
  11317. },
  11318. "orderqty": {
  11319. "description": "委托数量",
  11320. "type": "integer"
  11321. },
  11322. "orderstatus": {
  11323. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11324. "type": "integer"
  11325. },
  11326. "ordertime": {
  11327. "description": "委托时间",
  11328. "type": "string"
  11329. },
  11330. "picurls1": {
  11331. "description": "预售商品介绍图片[多张用逗号分隔]",
  11332. "type": "string"
  11333. },
  11334. "picurls2": {
  11335. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11336. "type": "string"
  11337. },
  11338. "trademode": {
  11339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11340. "type": "integer"
  11341. },
  11342. "tradeqty": {
  11343. "description": "成交数量",
  11344. "type": "integer"
  11345. },
  11346. "vendorname1": {
  11347. "description": "预售商品供应商名称",
  11348. "type": "string"
  11349. },
  11350. "vendorname2": {
  11351. "description": "挂牌商品供应商名称",
  11352. "type": "string"
  11353. }
  11354. }
  11355. },
  11356. "models.Market": {
  11357. "type": "object",
  11358. "required": [
  11359. "marketid",
  11360. "marketstatus",
  11361. "openmethod",
  11362. "reckonpricealgorithm",
  11363. "trademode",
  11364. "tradeproperty"
  11365. ],
  11366. "properties": {
  11367. "auctionwrtype": {
  11368. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11369. "type": "integer"
  11370. },
  11371. "canacceptquote": {
  11372. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11373. "type": "integer"
  11374. },
  11375. "cangoodsexercise": {
  11376. "description": "[期权]是否可现货行权- 0:否 1:是",
  11377. "type": "integer"
  11378. },
  11379. "cangoodsexercisetype": {
  11380. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11381. "type": "integer"
  11382. },
  11383. "canmanualquotestrike": {
  11384. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11385. "type": "integer"
  11386. },
  11387. "canmutistage": {
  11388. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11389. "type": "integer"
  11390. },
  11391. "canpreexercise": {
  11392. "description": "[期权]是否可预申报- 0:否 1:是",
  11393. "type": "integer"
  11394. },
  11395. "clearinterval": {
  11396. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11397. "type": "integer"
  11398. },
  11399. "contracttmp": {
  11400. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11401. "type": "string"
  11402. },
  11403. "exchareaid": {
  11404. "description": "所属交易所,可以没有",
  11405. "type": "integer"
  11406. },
  11407. "goodstype": {
  11408. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11409. "type": "integer"
  11410. },
  11411. "hasrebate": {
  11412. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11413. "type": "integer"
  11414. },
  11415. "hastradecredit": {
  11416. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11417. "type": "integer"
  11418. },
  11419. "haswr": {
  11420. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11421. "type": "integer"
  11422. },
  11423. "isdeductmargin": {
  11424. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11425. "type": "integer"
  11426. },
  11427. "isrecordsource": {
  11428. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11429. "type": "integer"
  11430. },
  11431. "isreleasemargin": {
  11432. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11433. "type": "integer"
  11434. },
  11435. "marginformula": {
  11436. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11437. "type": "integer"
  11438. },
  11439. "marginformula2": {
  11440. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11441. "type": "integer"
  11442. },
  11443. "marketid": {
  11444. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11445. "type": "integer"
  11446. },
  11447. "marketname": {
  11448. "description": "市场名称",
  11449. "type": "string"
  11450. },
  11451. "marketserviceid": {
  11452. "description": "市场服务ID",
  11453. "type": "integer"
  11454. },
  11455. "marketstatus": {
  11456. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11457. "type": "integer"
  11458. },
  11459. "markettype": {
  11460. "description": "市场类型- 1:非交易服务 2:交易服务",
  11461. "type": "integer"
  11462. },
  11463. "matchermode": {
  11464. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11465. "type": "integer"
  11466. },
  11467. "openmethod": {
  11468. "description": "开盘模式 - 0 自动 1手动",
  11469. "type": "integer"
  11470. },
  11471. "otcuserid": {
  11472. "description": "场外期权做市商[场外期权]",
  11473. "type": "integer"
  11474. },
  11475. "outersynctime": {
  11476. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11477. "type": "string"
  11478. },
  11479. "pendingflag": {
  11480. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11481. "type": "integer"
  11482. },
  11483. "pendingtime": {
  11484. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11485. "type": "string"
  11486. },
  11487. "performancetempid": {
  11488. "description": "履约计划模板ID - 作废",
  11489. "type": "integer"
  11490. },
  11491. "premiumquotemode": {
  11492. "description": "权利金报价方式 - 1:自动 2:手动",
  11493. "type": "integer"
  11494. },
  11495. "rebateratio": {
  11496. "description": "返利比率[竞价式]",
  11497. "type": "number"
  11498. },
  11499. "reckonorder": {
  11500. "description": "结算顺序",
  11501. "type": "integer"
  11502. },
  11503. "reckonpricealgorithm": {
  11504. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11505. "type": "integer"
  11506. },
  11507. "reckonpriceparam": {
  11508. "description": "结算价参数",
  11509. "type": "integer"
  11510. },
  11511. "reckontime": {
  11512. "description": "结算时间[通道交易-对冲](HH:mm)",
  11513. "type": "string"
  11514. },
  11515. "roleprioritytype": {
  11516. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11517. "type": "integer"
  11518. },
  11519. "selllistingauditflag": {
  11520. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11521. "type": "integer"
  11522. },
  11523. "trademarkettype": {
  11524. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11525. "type": "integer"
  11526. },
  11527. "trademode": {
  11528. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11529. "type": "integer"
  11530. },
  11531. "tradeproperty": {
  11532. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11533. "type": "integer"
  11534. },
  11535. "tradetype": {
  11536. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11537. "type": "integer"
  11538. }
  11539. }
  11540. },
  11541. "models.Marketrun": {
  11542. "type": "object",
  11543. "required": [
  11544. "marketid",
  11545. "nexttradedate",
  11546. "reckonflag",
  11547. "runstatus",
  11548. "tradedate",
  11549. "tradedate2"
  11550. ],
  11551. "properties": {
  11552. "afternexttradedate": {
  11553. "description": "下下交易日",
  11554. "type": "string"
  11555. },
  11556. "clearquoteflag": {
  11557. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11558. "type": "integer"
  11559. },
  11560. "lastreckondate": {
  11561. "description": "最新交易日(结算成功)",
  11562. "type": "string"
  11563. },
  11564. "machinedate": {
  11565. "description": "机器时间",
  11566. "type": "string"
  11567. },
  11568. "manualflag": {
  11569. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11570. "type": "integer"
  11571. },
  11572. "marketid": {
  11573. "description": "市场ID",
  11574. "type": "integer"
  11575. },
  11576. "nexttradedate": {
  11577. "description": "下一交易日",
  11578. "type": "string"
  11579. },
  11580. "pretradedate": {
  11581. "description": "上一交易日",
  11582. "type": "string"
  11583. },
  11584. "reckonflag": {
  11585. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11586. "type": "integer"
  11587. },
  11588. "runstatus": {
  11589. "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.今日免清算",
  11590. "type": "integer"
  11591. },
  11592. "sectionid": {
  11593. "description": "时间段号[多时段时用]",
  11594. "type": "integer"
  11595. },
  11596. "tradedate": {
  11597. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11598. "type": "string"
  11599. },
  11600. "tradedate2": {
  11601. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11602. "type": "string"
  11603. },
  11604. "updatetime": {
  11605. "description": "更新时间",
  11606. "type": "string"
  11607. }
  11608. }
  11609. },
  11610. "models.Messageboard": {
  11611. "type": "object",
  11612. "required": [
  11613. "messageboardid"
  11614. ],
  11615. "properties": {
  11616. "createtime": {
  11617. "description": "创建时间",
  11618. "type": "string"
  11619. },
  11620. "message": {
  11621. "description": "留言信息",
  11622. "type": "string"
  11623. },
  11624. "messageboardid": {
  11625. "description": "留言簿ID(SEQ_MessageBoard)",
  11626. "type": "integer"
  11627. },
  11628. "userid": {
  11629. "description": "用户ID",
  11630. "type": "integer"
  11631. }
  11632. }
  11633. },
  11634. "models.MyCoupon": {
  11635. "type": "object",
  11636. "required": [
  11637. "accountid",
  11638. "coupontypeid"
  11639. ],
  11640. "properties": {
  11641. "accountid": {
  11642. "description": "资金账户ID",
  11643. "type": "integer"
  11644. },
  11645. "areauserid": {
  11646. "description": "所属机构",
  11647. "type": "integer"
  11648. },
  11649. "conditionvalue": {
  11650. "description": "条件阈值(可为0)",
  11651. "type": "number"
  11652. },
  11653. "couponcategroy": {
  11654. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11655. "type": "integer"
  11656. },
  11657. "couponname": {
  11658. "description": "优惠券名称",
  11659. "type": "string"
  11660. },
  11661. "coupontypeid": {
  11662. "description": "优惠券类型ID",
  11663. "type": "string"
  11664. },
  11665. "couponvalue": {
  11666. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11667. "type": "number"
  11668. },
  11669. "curfreezeqty": {
  11670. "description": "期末冻结数量",
  11671. "type": "integer"
  11672. },
  11673. "curqty": {
  11674. "description": "期末数量",
  11675. "type": "integer"
  11676. },
  11677. "isgeneral": {
  11678. "description": "是否通用券 - 0:否 1:是",
  11679. "type": "integer"
  11680. },
  11681. "isunusable": {
  11682. "description": "是否不可用",
  11683. "type": "boolean"
  11684. },
  11685. "limitedflag": {
  11686. "description": "是否指定商品 - 0:不限 1:限制",
  11687. "type": "integer"
  11688. },
  11689. "limitedgoodsids": {
  11690. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11691. "type": "string"
  11692. },
  11693. "orifreezeqty": {
  11694. "description": "期初冻结数量",
  11695. "type": "integer"
  11696. },
  11697. "oriqty": {
  11698. "description": "期初数量",
  11699. "type": "integer"
  11700. },
  11701. "reasontype": {
  11702. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11703. "type": "integer"
  11704. },
  11705. "todaydecrease": {
  11706. "description": "今日减少",
  11707. "type": "integer"
  11708. },
  11709. "todayincrease": {
  11710. "description": "今日增加",
  11711. "type": "integer"
  11712. },
  11713. "userid": {
  11714. "description": "用户ID",
  11715. "type": "integer"
  11716. },
  11717. "userscope": {
  11718. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11719. "type": "string"
  11720. }
  11721. }
  11722. },
  11723. "models.MyCouponHold": {
  11724. "type": "object",
  11725. "required": [
  11726. "couponholdid"
  11727. ],
  11728. "properties": {
  11729. "accountid": {
  11730. "description": "资金账户ID",
  11731. "type": "integer"
  11732. },
  11733. "conditionvalue": {
  11734. "description": "条件阈值(可为0)",
  11735. "type": "number"
  11736. },
  11737. "couponcategroy": {
  11738. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11739. "type": "integer"
  11740. },
  11741. "couponholdid": {
  11742. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11743. "type": "string"
  11744. },
  11745. "couponname": {
  11746. "description": "优惠券名称",
  11747. "type": "string"
  11748. },
  11749. "coupontypeid": {
  11750. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11751. "type": "string"
  11752. },
  11753. "couponvalue": {
  11754. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11755. "type": "number"
  11756. },
  11757. "createtime": {
  11758. "description": "创建时间",
  11759. "type": "string"
  11760. },
  11761. "enddate": {
  11762. "description": "结束日期",
  11763. "type": "string"
  11764. },
  11765. "giveapplyid": {
  11766. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  11767. "type": "integer"
  11768. },
  11769. "holdstatus": {
  11770. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  11771. "type": "integer"
  11772. },
  11773. "isgeneral": {
  11774. "description": "是否通用券 - 0:否 1:是",
  11775. "type": "integer"
  11776. },
  11777. "limitedflag": {
  11778. "description": "是否指定商品 - 0:不限 1:限制",
  11779. "type": "integer"
  11780. },
  11781. "limitedgoodsids": {
  11782. "description": "指定商品IDs[逗号分隔]",
  11783. "type": "string"
  11784. },
  11785. "qty": {
  11786. "description": "数量(按1平铺)",
  11787. "type": "integer"
  11788. },
  11789. "startdate": {
  11790. "description": "开始日期",
  11791. "type": "string"
  11792. },
  11793. "userid": {
  11794. "description": "用户ID",
  11795. "type": "integer"
  11796. },
  11797. "userscope": {
  11798. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  11799. "type": "string"
  11800. }
  11801. }
  11802. },
  11803. "models.MyUsedCoupon": {
  11804. "type": "object",
  11805. "required": [
  11806. "coupontypeid",
  11807. "orderid"
  11808. ],
  11809. "properties": {
  11810. "accountid": {
  11811. "description": "资金账户ID(买方)",
  11812. "type": "integer"
  11813. },
  11814. "conditionvalue": {
  11815. "description": "条件阈值(可为0)",
  11816. "type": "number"
  11817. },
  11818. "couponcategroy": {
  11819. "description": "种类 - 1:现金券 2:折扣券",
  11820. "type": "integer"
  11821. },
  11822. "couponname": {
  11823. "description": "优惠券名称",
  11824. "type": "string"
  11825. },
  11826. "coupontypeid": {
  11827. "description": "优惠券类型ID(买方)",
  11828. "type": "string"
  11829. },
  11830. "couponvalue": {
  11831. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  11832. "type": "number"
  11833. },
  11834. "createtime": {
  11835. "description": "创建时间",
  11836. "type": "string"
  11837. },
  11838. "goodsid": {
  11839. "description": "商品ID",
  11840. "type": "integer"
  11841. },
  11842. "handlestatus": {
  11843. "description": "处理状态",
  11844. "type": "integer"
  11845. },
  11846. "marketid": {
  11847. "description": "市场ID",
  11848. "type": "integer"
  11849. },
  11850. "offamount": {
  11851. "description": "优惠金额",
  11852. "type": "number"
  11853. },
  11854. "orderid": {
  11855. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11856. "type": "string"
  11857. },
  11858. "sellaccountid": {
  11859. "description": "资金账户ID(卖方)",
  11860. "type": "integer"
  11861. },
  11862. "tradeamount": {
  11863. "description": "成交金额",
  11864. "type": "number"
  11865. },
  11866. "tradeid": {
  11867. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11868. "type": "string"
  11869. },
  11870. "usedqty": {
  11871. "description": "使用数量",
  11872. "type": "integer"
  11873. }
  11874. }
  11875. },
  11876. "models.OperationPrimaryMenu": {
  11877. "type": "object",
  11878. "properties": {
  11879. "Children": {
  11880. "description": "二级功能菜单",
  11881. "type": "array",
  11882. "items": {
  11883. "$ref": "#/definitions/models.OperationSecondaryMenu"
  11884. }
  11885. },
  11886. "Key": {
  11887. "description": "菜单KEY",
  11888. "type": "string"
  11889. },
  11890. "Label": {
  11891. "description": "菜单标题",
  11892. "type": "string"
  11893. }
  11894. }
  11895. },
  11896. "models.OperationSecondaryMenu": {
  11897. "type": "object",
  11898. "properties": {
  11899. "Key": {
  11900. "description": "菜单KEY",
  11901. "type": "string"
  11902. },
  11903. "Label": {
  11904. "description": "菜单标题",
  11905. "type": "string"
  11906. },
  11907. "TabList": {
  11908. "description": "三级功能菜单",
  11909. "type": "array",
  11910. "items": {
  11911. "$ref": "#/definitions/models.OperationTabMenu"
  11912. }
  11913. }
  11914. }
  11915. },
  11916. "models.OperationTabMenu": {
  11917. "type": "object",
  11918. "properties": {
  11919. "Key": {
  11920. "description": "菜单KEY",
  11921. "type": "string"
  11922. },
  11923. "Label": {
  11924. "description": "菜单标题",
  11925. "type": "string"
  11926. }
  11927. }
  11928. },
  11929. "models.PendingAuditBizModel": {
  11930. "type": "object",
  11931. "properties": {
  11932. "accountid": {
  11933. "description": "现货账户",
  11934. "type": "string"
  11935. },
  11936. "areaname": {
  11937. "description": "所属部门",
  11938. "type": "string"
  11939. },
  11940. "bizid": {
  11941. "description": "业务ID",
  11942. "type": "string"
  11943. },
  11944. "bizname": {
  11945. "description": "业务名称",
  11946. "type": "string"
  11947. },
  11948. "status": {
  11949. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11950. "type": "integer"
  11951. },
  11952. "type": {
  11953. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11954. "type": "integer"
  11955. }
  11956. }
  11957. },
  11958. "models.QuotePrimaryMenu": {
  11959. "type": "object",
  11960. "properties": {
  11961. "Index": {
  11962. "description": "序号",
  11963. "type": "integer"
  11964. },
  11965. "Key": {
  11966. "description": "键名",
  11967. "type": "string"
  11968. },
  11969. "Name": {
  11970. "description": "菜单名称",
  11971. "type": "string"
  11972. },
  11973. "SubMenus": {
  11974. "description": "子菜单",
  11975. "type": "array",
  11976. "items": {
  11977. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  11978. }
  11979. },
  11980. "SubTitleType": {
  11981. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  11982. "type": "integer"
  11983. },
  11984. "TradeModes": {
  11985. "description": "包含市场交易类型",
  11986. "type": "string"
  11987. }
  11988. }
  11989. },
  11990. "models.QuoteSecondaryMenu": {
  11991. "type": "object",
  11992. "properties": {
  11993. "ExExchangeCode": {
  11994. "description": "外部交易所代码",
  11995. "type": "string"
  11996. },
  11997. "ExExchangeID": {
  11998. "description": "外部交易所ID",
  11999. "type": "integer"
  12000. },
  12001. "GoodsGroupIDs": {
  12002. "description": "商品组ID列表",
  12003. "type": "array",
  12004. "items": {
  12005. "type": "integer"
  12006. }
  12007. },
  12008. "Index": {
  12009. "description": "序号",
  12010. "type": "integer"
  12011. },
  12012. "MarketID": {
  12013. "description": "市场ID",
  12014. "type": "integer"
  12015. },
  12016. "MenuTitle": {
  12017. "description": "菜单标题(市场名称或外部交易所名称)",
  12018. "type": "string"
  12019. },
  12020. "TradeMode": {
  12021. "description": "交易模式",
  12022. "type": "integer"
  12023. }
  12024. }
  12025. },
  12026. "models.SearchGoods": {
  12027. "type": "object",
  12028. "required": [
  12029. "goodscode",
  12030. "goodsid",
  12031. "goodsname",
  12032. "marketid",
  12033. "trademode"
  12034. ],
  12035. "properties": {
  12036. "goodscode": {
  12037. "description": "商品代码(内部)",
  12038. "type": "string"
  12039. },
  12040. "goodsid": {
  12041. "description": "商品ID(自增ID SEQ_GOODS)",
  12042. "type": "integer"
  12043. },
  12044. "goodsname": {
  12045. "description": "商品名称",
  12046. "type": "string"
  12047. },
  12048. "marketid": {
  12049. "description": "所属市场ID",
  12050. "type": "integer"
  12051. },
  12052. "marketname": {
  12053. "description": "市场名称",
  12054. "type": "string"
  12055. },
  12056. "trademode": {
  12057. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12058. "type": "integer"
  12059. }
  12060. }
  12061. },
  12062. "models.Szdz2imageconfig": {
  12063. "type": "object",
  12064. "required": [
  12065. "configid"
  12066. ],
  12067. "properties": {
  12068. "configid": {
  12069. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12070. "type": "integer"
  12071. },
  12072. "imagepath": {
  12073. "description": "图片",
  12074. "type": "string"
  12075. },
  12076. "imagetype": {
  12077. "description": "类型 - 1:App首页轮播 2:我的",
  12078. "type": "integer"
  12079. },
  12080. "sort": {
  12081. "description": "排序",
  12082. "type": "integer"
  12083. },
  12084. "title": {
  12085. "description": "标题",
  12086. "type": "string"
  12087. },
  12088. "url": {
  12089. "description": "链接",
  12090. "type": "string"
  12091. }
  12092. }
  12093. },
  12094. "models.Szdz3convertconfig": {
  12095. "type": "object",
  12096. "required": [
  12097. "converttype",
  12098. "innergoodsid",
  12099. "outergoodscode"
  12100. ],
  12101. "properties": {
  12102. "canin": {
  12103. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12104. "type": "integer"
  12105. },
  12106. "canout": {
  12107. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12108. "type": "integer"
  12109. },
  12110. "converttype": {
  12111. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12112. "type": "integer"
  12113. },
  12114. "createtime": {
  12115. "description": "创建时间",
  12116. "type": "string"
  12117. },
  12118. "creatorid": {
  12119. "description": "创建人",
  12120. "type": "integer"
  12121. },
  12122. "daymaxvalue": {
  12123. "description": "当日最大转入限制",
  12124. "type": "number"
  12125. },
  12126. "freezedays": {
  12127. "description": "冻结天数 [5:花生米转交易]",
  12128. "type": "integer"
  12129. },
  12130. "innergoodsid": {
  12131. "description": "内部商品ID[交易]",
  12132. "type": "integer"
  12133. },
  12134. "inratio": {
  12135. "description": "目标值",
  12136. "type": "integer"
  12137. },
  12138. "modifierid": {
  12139. "description": "修改人",
  12140. "type": "integer"
  12141. },
  12142. "modifytime": {
  12143. "description": "修改时间",
  12144. "type": "string"
  12145. },
  12146. "outergoodscode": {
  12147. "description": "外部商品代码[JD\\PD]",
  12148. "type": "string"
  12149. },
  12150. "outratio": {
  12151. "description": "源值",
  12152. "type": "integer"
  12153. },
  12154. "pddecimalplace": {
  12155. "description": "PD小数位",
  12156. "type": "integer"
  12157. },
  12158. "timemaxvalue": {
  12159. "description": "单次最大转入限制",
  12160. "type": "number"
  12161. },
  12162. "timeminvalue": {
  12163. "description": "单次最小转入限制",
  12164. "type": "number"
  12165. }
  12166. }
  12167. },
  12168. "models.Szdz3searchwhitelist": {
  12169. "type": "object",
  12170. "required": [
  12171. "userid"
  12172. ],
  12173. "properties": {
  12174. "createtime": {
  12175. "description": "创建时间",
  12176. "type": "string"
  12177. },
  12178. "creatorid": {
  12179. "description": "创建人",
  12180. "type": "integer"
  12181. },
  12182. "modifierid": {
  12183. "description": "修改人",
  12184. "type": "integer"
  12185. },
  12186. "modifytime": {
  12187. "description": "修改时间",
  12188. "type": "string"
  12189. },
  12190. "userid": {
  12191. "description": "用户ID",
  12192. "type": "integer"
  12193. }
  12194. }
  12195. },
  12196. "models.Tablecolumnconfig": {
  12197. "type": "object",
  12198. "required": [
  12199. "autoid"
  12200. ],
  12201. "properties": {
  12202. "aligntype": {
  12203. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12204. "type": "integer"
  12205. },
  12206. "autoid": {
  12207. "description": "AutoID",
  12208. "type": "integer"
  12209. },
  12210. "columnfield": {
  12211. "description": "列字段",
  12212. "type": "string"
  12213. },
  12214. "columntitle": {
  12215. "description": "列Title",
  12216. "type": "string"
  12217. },
  12218. "columnwidth": {
  12219. "description": "列宽",
  12220. "type": "string"
  12221. },
  12222. "formatterstring": {
  12223. "description": "格式化字符",
  12224. "type": "string"
  12225. },
  12226. "formattertype": {
  12227. "description": "格式化类型",
  12228. "type": "string"
  12229. },
  12230. "groupname": {
  12231. "description": "表头分组名称",
  12232. "type": "string"
  12233. },
  12234. "isshow": {
  12235. "description": "是否显示 - 0:不显示 1:显示",
  12236. "type": "integer"
  12237. },
  12238. "needsummary": {
  12239. "description": "是否需要汇总 - 0:不需要 1:需要",
  12240. "type": "integer"
  12241. },
  12242. "orderindex": {
  12243. "description": "顺序",
  12244. "type": "integer"
  12245. },
  12246. "remark": {
  12247. "description": "备注",
  12248. "type": "string"
  12249. },
  12250. "summarytype": {
  12251. "description": "汇总类型 - 1:加总 2:最后一个",
  12252. "type": "integer"
  12253. },
  12254. "tablekey": {
  12255. "description": "列表Key",
  12256. "type": "string"
  12257. }
  12258. }
  12259. },
  12260. "models.Useraccount": {
  12261. "type": "object",
  12262. "required": [
  12263. "userid"
  12264. ],
  12265. "properties": {
  12266. "accountname": {
  12267. "description": "账户名称(机构名称)",
  12268. "type": "string"
  12269. },
  12270. "accountstatus": {
  12271. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12272. "type": "integer"
  12273. },
  12274. "auditremark": {
  12275. "description": "审核备注",
  12276. "type": "string"
  12277. },
  12278. "audittime": {
  12279. "description": "审核时间",
  12280. "type": "string"
  12281. },
  12282. "audituserid": {
  12283. "description": "审核人",
  12284. "type": "integer"
  12285. },
  12286. "broker": {
  12287. "description": "所属经纪人ID",
  12288. "type": "integer"
  12289. },
  12290. "canceltime": {
  12291. "description": "销户时间",
  12292. "type": "string"
  12293. },
  12294. "canceluserid": {
  12295. "description": "销户人",
  12296. "type": "integer"
  12297. },
  12298. "createtime": {
  12299. "description": "创建时间",
  12300. "type": "string"
  12301. },
  12302. "creatorid": {
  12303. "description": "创建人",
  12304. "type": "integer"
  12305. },
  12306. "hasauth": {
  12307. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12308. "type": "integer"
  12309. },
  12310. "isanonymous": {
  12311. "description": "是否匿名下单 - 0:否 1:是",
  12312. "type": "integer"
  12313. },
  12314. "maxinvestornum": {
  12315. "description": "最大用户数(经纪会员下投资者个数)",
  12316. "type": "integer"
  12317. },
  12318. "memberuserid": {
  12319. "description": "所属会员ID",
  12320. "type": "integer"
  12321. },
  12322. "modifierid": {
  12323. "description": "修改人",
  12324. "type": "integer"
  12325. },
  12326. "modifyremark": {
  12327. "description": "变更备注",
  12328. "type": "string"
  12329. },
  12330. "modifystatus": {
  12331. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12332. "type": "integer"
  12333. },
  12334. "modifytime": {
  12335. "description": "修改时间",
  12336. "type": "string"
  12337. },
  12338. "parentuserid": {
  12339. "description": "所属机构ID",
  12340. "type": "integer"
  12341. },
  12342. "reckonaccountid": {
  12343. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12344. "type": "integer"
  12345. },
  12346. "refercount": {
  12347. "description": "推荐总人数",
  12348. "type": "integer"
  12349. },
  12350. "refereeuserid": {
  12351. "description": "推荐人ID",
  12352. "type": "integer"
  12353. },
  12354. "refernum": {
  12355. "description": "推荐码",
  12356. "type": "string"
  12357. },
  12358. "subarealevelpath": {
  12359. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12360. "type": "string"
  12361. },
  12362. "userid": {
  12363. "description": "用户ID",
  12364. "type": "integer"
  12365. },
  12366. "usertype": {
  12367. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12368. "type": "integer"
  12369. }
  12370. }
  12371. },
  12372. "models.Userfavoritegoods": {
  12373. "type": "object",
  12374. "required": [
  12375. "goodsid"
  12376. ],
  12377. "properties": {
  12378. "goodsid": {
  12379. "description": "商品ID",
  12380. "type": "integer"
  12381. }
  12382. }
  12383. },
  12384. "models.Userinfo": {
  12385. "type": "object",
  12386. "required": [
  12387. "userid"
  12388. ],
  12389. "properties": {
  12390. "address": {
  12391. "description": "地址",
  12392. "type": "string"
  12393. },
  12394. "attachment1": {
  12395. "description": "附件1",
  12396. "type": "string"
  12397. },
  12398. "attachment2": {
  12399. "description": "附件2",
  12400. "type": "string"
  12401. },
  12402. "bankaccount": {
  12403. "description": "银行帐号 (加密存储)",
  12404. "type": "string"
  12405. },
  12406. "bankaccountname": {
  12407. "description": "收款人名称",
  12408. "type": "string"
  12409. },
  12410. "bankcardfrontphotourl": {
  12411. "description": "银行卡正面照地址",
  12412. "type": "string"
  12413. },
  12414. "bankid": {
  12415. "description": "银行编码",
  12416. "type": "string"
  12417. },
  12418. "bankname": {
  12419. "description": "银行名称",
  12420. "type": "string"
  12421. },
  12422. "biznature": {
  12423. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12424. "type": "integer"
  12425. },
  12426. "bizscope": {
  12427. "description": "企业经营范围(企业)",
  12428. "type": "string"
  12429. },
  12430. "cardbackphotourl": {
  12431. "description": "证件背面图片地址",
  12432. "type": "string"
  12433. },
  12434. "cardfrontphotourl": {
  12435. "description": "证件正面图片地址",
  12436. "type": "string"
  12437. },
  12438. "cardnum": {
  12439. "description": "证件号码(加密存储)",
  12440. "type": "string"
  12441. },
  12442. "cardtypeid": {
  12443. "description": "证件类型ID",
  12444. "type": "integer"
  12445. },
  12446. "cityid": {
  12447. "description": "市",
  12448. "type": "integer"
  12449. },
  12450. "company": {
  12451. "description": "公司(个人)",
  12452. "type": "string"
  12453. },
  12454. "contactname": {
  12455. "description": "联系人",
  12456. "type": "string"
  12457. },
  12458. "countryid": {
  12459. "description": "国家",
  12460. "type": "integer"
  12461. },
  12462. "createtime": {
  12463. "description": "创建时间",
  12464. "type": "string"
  12465. },
  12466. "creatorid": {
  12467. "description": "创建人",
  12468. "type": "integer"
  12469. },
  12470. "customername": {
  12471. "description": "客户名称(企业名称)",
  12472. "type": "string"
  12473. },
  12474. "districtid": {
  12475. "description": "地区",
  12476. "type": "integer"
  12477. },
  12478. "email": {
  12479. "description": "邮件(加密存储)",
  12480. "type": "string"
  12481. },
  12482. "fax": {
  12483. "description": "传真(加密存储)",
  12484. "type": "string"
  12485. },
  12486. "halfbodyphotourl": {
  12487. "description": "半身照地址",
  12488. "type": "string"
  12489. },
  12490. "hasencrypt": {
  12491. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12492. "type": "integer"
  12493. },
  12494. "headurl": {
  12495. "description": "头像地址",
  12496. "type": "string"
  12497. },
  12498. "legalcardbackphotourl": {
  12499. "description": "法人身份证背面照地址",
  12500. "type": "string"
  12501. },
  12502. "legalcardfrontphotourl": {
  12503. "description": "法人身份证正面照地址",
  12504. "type": "string"
  12505. },
  12506. "legalpersonname": {
  12507. "description": "法人姓名(企业)",
  12508. "type": "string"
  12509. },
  12510. "mobile": {
  12511. "description": "手机号码(加密存储)",
  12512. "type": "string"
  12513. },
  12514. "mobile2": {
  12515. "description": "手机号码[明文-尚志]",
  12516. "type": "string"
  12517. },
  12518. "modifierid": {
  12519. "description": "修改人",
  12520. "type": "integer"
  12521. },
  12522. "modifiertime": {
  12523. "description": "修改时间",
  12524. "type": "string"
  12525. },
  12526. "needinvoice": {
  12527. "description": "是否需要发票 - 0:不需要 1:需要",
  12528. "type": "integer"
  12529. },
  12530. "nickname": {
  12531. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12532. "type": "string"
  12533. },
  12534. "openmode": {
  12535. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12536. "type": "integer"
  12537. },
  12538. "otherurl": {
  12539. "description": "其它图片地址[使用分号分隔]",
  12540. "type": "string"
  12541. },
  12542. "postalcode": {
  12543. "description": "邮政编码",
  12544. "type": "string"
  12545. },
  12546. "provinceid": {
  12547. "description": "省",
  12548. "type": "integer"
  12549. },
  12550. "qq": {
  12551. "description": "QQ(加密存储",
  12552. "type": "string"
  12553. },
  12554. "remark": {
  12555. "description": "备注",
  12556. "type": "string"
  12557. },
  12558. "sex": {
  12559. "description": "用户性别 0: 女 1: 男",
  12560. "type": "integer"
  12561. },
  12562. "signpdfurl": {
  12563. "description": "签约pdf文件",
  12564. "type": "string"
  12565. },
  12566. "telphone": {
  12567. "description": "联系电话(加密存储)",
  12568. "type": "string"
  12569. },
  12570. "userid": {
  12571. "description": "用户ID",
  12572. "type": "integer"
  12573. },
  12574. "userinfotype": {
  12575. "description": "用户信息类型 - 1:个人 2:企业",
  12576. "type": "integer"
  12577. },
  12578. "userstatus": {
  12579. "description": "用户状态 - 1:正常 2:注销",
  12580. "type": "integer"
  12581. },
  12582. "usertype": {
  12583. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12584. "type": "integer"
  12585. },
  12586. "wechat": {
  12587. "description": "微信(加密存储)",
  12588. "type": "string"
  12589. },
  12590. "wskhinfo": {
  12591. "description": "开户申请信息(JSON)",
  12592. "type": "string"
  12593. }
  12594. }
  12595. },
  12596. "models.WRCategoryTree": {
  12597. "type": "object",
  12598. "required": [
  12599. "categoryid"
  12600. ],
  12601. "properties": {
  12602. "areauserid": {
  12603. "description": "所属机构",
  12604. "type": "integer"
  12605. },
  12606. "categorydesc": {
  12607. "description": "类别描述",
  12608. "type": "string"
  12609. },
  12610. "categoryid": {
  12611. "description": "类别ID(SEQ_WRCATEGORY)",
  12612. "type": "integer"
  12613. },
  12614. "categoryname": {
  12615. "description": "类别名称",
  12616. "type": "string"
  12617. },
  12618. "iconurl": {
  12619. "description": "图标地址",
  12620. "type": "string"
  12621. },
  12622. "orderindex": {
  12623. "description": "顺序",
  12624. "type": "integer"
  12625. },
  12626. "parentcategoryid": {
  12627. "description": "父类别ID",
  12628. "type": "integer"
  12629. },
  12630. "subcategory": {
  12631. "description": "子分类",
  12632. "type": "array",
  12633. "items": {
  12634. "$ref": "#/definitions/models.WRCategoryTree"
  12635. }
  12636. }
  12637. }
  12638. },
  12639. "models.WRSConverTDetail": {
  12640. "type": "object",
  12641. "properties": {
  12642. "convertratio": {
  12643. "description": "套保系数",
  12644. "type": "number"
  12645. },
  12646. "deliverygoodsid": {
  12647. "description": "现货品种ID",
  12648. "type": "integer"
  12649. },
  12650. "middlegoodscode": {
  12651. "description": "套保品种代码",
  12652. "type": "string"
  12653. },
  12654. "middlegoodsid": {
  12655. "description": "套保品种ID",
  12656. "type": "integer"
  12657. },
  12658. "middlegoodsname": {
  12659. "description": "套保品种名称",
  12660. "type": "string"
  12661. },
  12662. "modifytime": {
  12663. "description": "修改时间",
  12664. "type": "string"
  12665. },
  12666. "wrstandardid": {
  12667. "description": "现货商品ID",
  12668. "type": "integer"
  12669. }
  12670. }
  12671. },
  12672. "models.WRStandardInfo": {
  12673. "type": "object",
  12674. "required": [
  12675. "wrstandardid"
  12676. ],
  12677. "properties": {
  12678. "createtime": {
  12679. "description": "创建时间",
  12680. "type": "string"
  12681. },
  12682. "creatorid": {
  12683. "description": "创建人",
  12684. "type": "integer"
  12685. },
  12686. "deliverygoodsid": {
  12687. "description": "品种ID",
  12688. "type": "integer"
  12689. },
  12690. "deliverygoodsname": {
  12691. "description": "交割商品名称",
  12692. "type": "string"
  12693. },
  12694. "factoryitemjson": {
  12695. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12696. "type": "string"
  12697. },
  12698. "isvalid": {
  12699. "description": "是否有效 - 0:无效 1:有效",
  12700. "type": "integer"
  12701. },
  12702. "minivalue": {
  12703. "description": "最小变动值",
  12704. "type": "integer"
  12705. },
  12706. "minivaluedp": {
  12707. "description": "最小变动值小数位",
  12708. "type": "integer"
  12709. },
  12710. "realminivalue": {
  12711. "description": "实际最小变动值",
  12712. "type": "integer"
  12713. },
  12714. "realminivaluedp": {
  12715. "description": "实际最小变动值小数位",
  12716. "type": "integer"
  12717. },
  12718. "unitid": {
  12719. "description": "单位ID",
  12720. "type": "integer"
  12721. },
  12722. "unitname": {
  12723. "description": "单位",
  12724. "type": "string"
  12725. },
  12726. "updatetime": {
  12727. "description": "更新时间",
  12728. "type": "string"
  12729. },
  12730. "updatorid": {
  12731. "description": "更新人",
  12732. "type": "integer"
  12733. },
  12734. "wrsstatus": {
  12735. "description": "状态 - 作废 - 0:未激活 1:正常",
  12736. "type": "integer"
  12737. },
  12738. "wrstandardcode": {
  12739. "description": "仓单标准代码",
  12740. "type": "string"
  12741. },
  12742. "wrstandardid": {
  12743. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12744. "type": "integer"
  12745. },
  12746. "wrstandardname": {
  12747. "description": "仓单标准名称",
  12748. "type": "string"
  12749. }
  12750. }
  12751. },
  12752. "models.Warehouseinfo": {
  12753. "type": "object",
  12754. "required": [
  12755. "autoid",
  12756. "warehousecode"
  12757. ],
  12758. "properties": {
  12759. "address": {
  12760. "description": "详细地址",
  12761. "type": "string"
  12762. },
  12763. "areauserid": {
  12764. "description": "所属机构",
  12765. "type": "integer"
  12766. },
  12767. "autoid": {
  12768. "description": "自增ID",
  12769. "type": "integer"
  12770. },
  12771. "cityid": {
  12772. "description": "市",
  12773. "type": "integer"
  12774. },
  12775. "contactname": {
  12776. "description": "联系人",
  12777. "type": "string"
  12778. },
  12779. "contactnum": {
  12780. "description": "联系电话",
  12781. "type": "string"
  12782. },
  12783. "countryid": {
  12784. "description": "国家",
  12785. "type": "integer"
  12786. },
  12787. "createtime": {
  12788. "description": "创建时间",
  12789. "type": "string"
  12790. },
  12791. "districtid": {
  12792. "description": "区",
  12793. "type": "integer"
  12794. },
  12795. "hasvideo": {
  12796. "description": "是否有视频 - 0:无 1:有",
  12797. "type": "integer"
  12798. },
  12799. "provinceid": {
  12800. "description": "省",
  12801. "type": "integer"
  12802. },
  12803. "remark": {
  12804. "description": "审核备注",
  12805. "type": "string"
  12806. },
  12807. "videourl": {
  12808. "description": "视频地址",
  12809. "type": "string"
  12810. },
  12811. "warehousecode": {
  12812. "description": "仓库代码",
  12813. "type": "string"
  12814. },
  12815. "warehousename": {
  12816. "description": "仓库名称",
  12817. "type": "string"
  12818. },
  12819. "warehousestatus": {
  12820. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12821. "type": "integer"
  12822. },
  12823. "warehousetype": {
  12824. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12825. "type": "integer"
  12826. }
  12827. }
  12828. },
  12829. "order.QueryHisTradeDetailRsp": {
  12830. "type": "object",
  12831. "required": [
  12832. "accountid",
  12833. "buyorsell",
  12834. "goodsid",
  12835. "histradedate",
  12836. "marketid",
  12837. "memberuserid",
  12838. "orderid",
  12839. "tradeamount",
  12840. "tradedate",
  12841. "tradeid",
  12842. "tradeprice",
  12843. "tradeqty",
  12844. "tradetime"
  12845. ],
  12846. "properties": {
  12847. "accountid": {
  12848. "description": "账户ID[报价币种]",
  12849. "type": "integer"
  12850. },
  12851. "buildtype": {
  12852. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12853. "type": "integer"
  12854. },
  12855. "buyorsell": {
  12856. "description": "方向 - 0:买 1:卖",
  12857. "type": "integer"
  12858. },
  12859. "charge": {
  12860. "description": "手续费",
  12861. "type": "number"
  12862. },
  12863. "closecharge": {
  12864. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12865. "type": "number"
  12866. },
  12867. "closeexchagechargevalue": {
  12868. "description": "平仓交易所手续费设置值",
  12869. "type": "number"
  12870. },
  12871. "closefeealgorithm": {
  12872. "description": "平仓手续费收取方式 1:比率 2:固定",
  12873. "type": "integer"
  12874. },
  12875. "closememberchargevalue": {
  12876. "description": "平仓会员手续费设置值",
  12877. "type": "number"
  12878. },
  12879. "closepl": {
  12880. "description": "平仓盈亏",
  12881. "type": "number"
  12882. },
  12883. "closepl2": {
  12884. "description": "平仓盈亏[逐笔]",
  12885. "type": "number"
  12886. },
  12887. "closeqty": {
  12888. "description": "平仓数量(先建后平操作 需要记录)",
  12889. "type": "integer"
  12890. },
  12891. "creditamount": {
  12892. "description": "授信金额",
  12893. "type": "number"
  12894. },
  12895. "gcaccountid": {
  12896. "description": "账户ID[合约币种]",
  12897. "type": "integer"
  12898. },
  12899. "goodscode": {
  12900. "description": "商品代码",
  12901. "type": "string"
  12902. },
  12903. "goodsid": {
  12904. "description": "商品ID",
  12905. "type": "integer"
  12906. },
  12907. "goodsname": {
  12908. "description": "商品名称",
  12909. "type": "string"
  12910. },
  12911. "histradedate": {
  12912. "description": "历史交易日",
  12913. "type": "string"
  12914. },
  12915. "intclosepl": {
  12916. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12917. "type": "integer"
  12918. },
  12919. "isconfirmexercise": {
  12920. "description": "是否确认行权- 0:否 1:是",
  12921. "type": "integer"
  12922. },
  12923. "ismain": {
  12924. "description": "是否主单 - 0:不是 1:是",
  12925. "type": "integer"
  12926. },
  12927. "ispreexercise": {
  12928. "description": "是否预申报- 0:否 1:是",
  12929. "type": "integer"
  12930. },
  12931. "isreckoned": {
  12932. "description": "是否结算 - 0:未结算 1:已结算",
  12933. "type": "integer"
  12934. },
  12935. "isvaliddata": {
  12936. "description": "是否有效 - 0:无效 1:有效",
  12937. "type": "integer"
  12938. },
  12939. "listingselecttype": {
  12940. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12941. "type": "integer"
  12942. },
  12943. "marketid": {
  12944. "description": "市场ID",
  12945. "type": "integer"
  12946. },
  12947. "marketname": {
  12948. "description": "市场名称",
  12949. "type": "string"
  12950. },
  12951. "matchaccountid": {
  12952. "description": "对手账号id",
  12953. "type": "integer"
  12954. },
  12955. "memberuserid": {
  12956. "description": "会员id 个人投资者 需要填写",
  12957. "type": "integer"
  12958. },
  12959. "opencharge": {
  12960. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12961. "type": "number"
  12962. },
  12963. "openexchagechargevalue": {
  12964. "description": "建仓交易所手续费设置值",
  12965. "type": "number"
  12966. },
  12967. "openfeealgorithm": {
  12968. "description": "建仓手续费收取方式 1:比率 2:固定",
  12969. "type": "integer"
  12970. },
  12971. "openmemberchargevalue": {
  12972. "description": "建仓会员手续费设置值",
  12973. "type": "number"
  12974. },
  12975. "openqty": {
  12976. "description": "开仓数量(先建后平操作 需要记录)",
  12977. "type": "integer"
  12978. },
  12979. "optiontype": {
  12980. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12981. "type": "integer"
  12982. },
  12983. "orderid": {
  12984. "description": "委托单号",
  12985. "type": "string"
  12986. },
  12987. "performanceplanid": {
  12988. "description": "履约计划ID[期权]",
  12989. "type": "integer"
  12990. },
  12991. "performancestatus": {
  12992. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12993. "type": "integer"
  12994. },
  12995. "preexerciseprice": {
  12996. "description": "预申报价格",
  12997. "type": "number"
  12998. },
  12999. "premium": {
  13000. "description": "权利金 - [持仓单的权利金]",
  13001. "type": "number"
  13002. },
  13003. "relatedouttradeid": {
  13004. "description": "关联外部成交单ID",
  13005. "type": "integer"
  13006. },
  13007. "status": {
  13008. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13009. "type": "integer"
  13010. },
  13011. "tradeamount": {
  13012. "description": "成交金额[账户币种,用于所有权]",
  13013. "type": "number"
  13014. },
  13015. "tradedate": {
  13016. "description": "交易日(yyyyMMdd)",
  13017. "type": "string"
  13018. },
  13019. "tradeid": {
  13020. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13021. "type": "string"
  13022. },
  13023. "trademode": {
  13024. "description": "交易模式",
  13025. "type": "integer"
  13026. },
  13027. "tradeprice": {
  13028. "description": "成交价格",
  13029. "type": "number"
  13030. },
  13031. "tradeproperty": {
  13032. "description": "交易属性",
  13033. "type": "integer"
  13034. },
  13035. "tradeqty": {
  13036. "description": "成交数量",
  13037. "type": "integer"
  13038. },
  13039. "tradetime": {
  13040. "description": "成交时间",
  13041. "type": "string"
  13042. },
  13043. "tradetype": {
  13044. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13045. "type": "integer"
  13046. }
  13047. }
  13048. },
  13049. "order.QueryHisTradeOrderDetailRsp": {
  13050. "type": "object",
  13051. "required": [
  13052. "accountid",
  13053. "buildtype",
  13054. "buyorsell",
  13055. "goodsid",
  13056. "histradedate",
  13057. "marketid",
  13058. "memberuserid",
  13059. "operatetype",
  13060. "orderid",
  13061. "orderqty",
  13062. "ordertime",
  13063. "pricemode",
  13064. "tradedate",
  13065. "validtype"
  13066. ],
  13067. "properties": {
  13068. "accountid": {
  13069. "description": "账户ID[报价币种]",
  13070. "type": "integer"
  13071. },
  13072. "buildtype": {
  13073. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13074. "type": "integer"
  13075. },
  13076. "buyorsell": {
  13077. "description": "买卖 - 0:买 1:卖",
  13078. "type": "integer"
  13079. },
  13080. "cancelorderid": {
  13081. "description": "撤单单号(撤单时填写)",
  13082. "type": "string"
  13083. },
  13084. "cancelqty": {
  13085. "description": "撤单数量",
  13086. "type": "integer"
  13087. },
  13088. "clientordertime": {
  13089. "description": "客户端委托时间",
  13090. "type": "string"
  13091. },
  13092. "clientticket": {
  13093. "description": "客户端流水号",
  13094. "type": "string"
  13095. },
  13096. "clienttype": {
  13097. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13098. "type": "integer"
  13099. },
  13100. "closeexchagechargevalue": {
  13101. "description": "平仓交易所手续费设置值",
  13102. "type": "number"
  13103. },
  13104. "closefeealgorithm": {
  13105. "description": "平仓手续费收取方式 1:比率 2:固定",
  13106. "type": "integer"
  13107. },
  13108. "closefreezecharge": {
  13109. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13110. "type": "number"
  13111. },
  13112. "closememberchargevalue": {
  13113. "description": "平仓会员手续费设置值",
  13114. "type": "number"
  13115. },
  13116. "closeqty": {
  13117. "description": "平仓数量(先建后平操作 需要记录)",
  13118. "type": "integer"
  13119. },
  13120. "closetradeqty": {
  13121. "description": "平仓成交数量(先建后平操作,需要记录)",
  13122. "type": "integer"
  13123. },
  13124. "closeunfreezecharge": {
  13125. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13126. "type": "number"
  13127. },
  13128. "delistingtype": {
  13129. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13130. "type": "integer"
  13131. },
  13132. "freezecharge": {
  13133. "description": "冻结手续费",
  13134. "type": "number"
  13135. },
  13136. "freezemargin": {
  13137. "description": "冻结保证金(冻结交易金额)",
  13138. "type": "number"
  13139. },
  13140. "gcaccountid": {
  13141. "description": "账户ID[合约币种]",
  13142. "type": "integer"
  13143. },
  13144. "goodscode": {
  13145. "description": "商品代码",
  13146. "type": "string"
  13147. },
  13148. "goodsid": {
  13149. "description": "商品ID",
  13150. "type": "integer"
  13151. },
  13152. "goodsname": {
  13153. "description": "商品名称",
  13154. "type": "string"
  13155. },
  13156. "histradedate": {
  13157. "description": "历史交易日",
  13158. "type": "string"
  13159. },
  13160. "isconfirmexercise": {
  13161. "description": "是否确认行权- 0:否 1:是",
  13162. "type": "integer"
  13163. },
  13164. "ispreexercise": {
  13165. "description": "是否预申报- 0:否 1:是",
  13166. "type": "integer"
  13167. },
  13168. "isvaliddata": {
  13169. "description": "是否有效 - 0:无效 1:有效",
  13170. "type": "integer"
  13171. },
  13172. "listingselecttype": {
  13173. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13174. "type": "integer"
  13175. },
  13176. "marginalgorithm": {
  13177. "description": "保证金收取方式 1:比率 2:固定",
  13178. "type": "integer"
  13179. },
  13180. "marginvalue": {
  13181. "description": "即市保证金设置值",
  13182. "type": "number"
  13183. },
  13184. "marketid": {
  13185. "description": "市场ID",
  13186. "type": "integer"
  13187. },
  13188. "marketmaxsub": {
  13189. "description": "市价最大偏移范围",
  13190. "type": "number"
  13191. },
  13192. "marketname": {
  13193. "description": "市场名称",
  13194. "type": "string"
  13195. },
  13196. "memberuserid": {
  13197. "description": "所属会员UserID",
  13198. "type": "integer"
  13199. },
  13200. "openexchagechargevalue": {
  13201. "description": "建仓交易所手续费设置值",
  13202. "type": "number"
  13203. },
  13204. "openfeealgorithm": {
  13205. "description": "建仓手续费收取方式 1:比率 2:固定",
  13206. "type": "integer"
  13207. },
  13208. "openfreezecharge": {
  13209. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13210. "type": "number"
  13211. },
  13212. "openmemberchargevalue": {
  13213. "description": "建仓会员手续费设置值",
  13214. "type": "number"
  13215. },
  13216. "openqty": {
  13217. "description": "开仓数量(先建后平操作,需要记录)",
  13218. "type": "integer"
  13219. },
  13220. "opentradeqty": {
  13221. "description": "开仓成交数量(先建后平操作,需要记录)",
  13222. "type": "integer"
  13223. },
  13224. "openunfreezecharge": {
  13225. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13226. "type": "number"
  13227. },
  13228. "operatetype": {
  13229. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13230. "type": "integer"
  13231. },
  13232. "operatorid": {
  13233. "description": "登录账号(LoginID)",
  13234. "type": "integer"
  13235. },
  13236. "optiontype": {
  13237. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13238. "type": "integer"
  13239. },
  13240. "orderid": {
  13241. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13242. "type": "string"
  13243. },
  13244. "orderprice": {
  13245. "description": "委托价格",
  13246. "type": "number"
  13247. },
  13248. "orderqty": {
  13249. "description": "委托数量",
  13250. "type": "integer"
  13251. },
  13252. "ordersrc": {
  13253. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13254. "type": "integer"
  13255. },
  13256. "orderstatus": {
  13257. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13258. "type": "integer"
  13259. },
  13260. "ordertime": {
  13261. "description": "委托时间",
  13262. "type": "string"
  13263. },
  13264. "preexerciseprice": {
  13265. "description": "预申报价格",
  13266. "type": "number"
  13267. },
  13268. "premium": {
  13269. "description": "权利金",
  13270. "type": "number"
  13271. },
  13272. "preorderid": {
  13273. "description": "关联预埋单号(止盈止损单时填写)",
  13274. "type": "string"
  13275. },
  13276. "pricemode": {
  13277. "description": "取价方式 - 1:市价 2: 限价",
  13278. "type": "integer"
  13279. },
  13280. "quoteid": {
  13281. "description": "报价单ID",
  13282. "type": "integer"
  13283. },
  13284. "relatedid": {
  13285. "description": "关联单号(交割单)",
  13286. "type": "string"
  13287. },
  13288. "retcode": {
  13289. "description": "错误代码",
  13290. "type": "integer"
  13291. },
  13292. "sessionid": {
  13293. "description": "会话ID",
  13294. "type": "integer"
  13295. },
  13296. "tradedate": {
  13297. "description": "交易日(yyyyMMdd)",
  13298. "type": "string"
  13299. },
  13300. "trademode": {
  13301. "description": "交易模式",
  13302. "type": "integer"
  13303. },
  13304. "tradeproperty": {
  13305. "description": "交易属性",
  13306. "type": "integer"
  13307. },
  13308. "tradeqty": {
  13309. "description": "成交数量",
  13310. "type": "integer"
  13311. },
  13312. "unfreezecharge": {
  13313. "description": "解冻手续费",
  13314. "type": "number"
  13315. },
  13316. "unfreezemargin": {
  13317. "description": "解冻保证金",
  13318. "type": "number"
  13319. },
  13320. "updatetime": {
  13321. "description": "更新时间",
  13322. "type": "string"
  13323. },
  13324. "uuid": {
  13325. "description": "发起端唯一id",
  13326. "type": "string"
  13327. },
  13328. "validtime": {
  13329. "description": "有效期限",
  13330. "type": "string"
  13331. },
  13332. "validtype": {
  13333. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13334. "type": "integer"
  13335. },
  13336. "volumetype": {
  13337. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13338. "type": "integer"
  13339. }
  13340. }
  13341. },
  13342. "order.QueryTradeDetailRsp": {
  13343. "type": "object",
  13344. "required": [
  13345. "accountid",
  13346. "buyorsell",
  13347. "goodsid",
  13348. "marketid",
  13349. "memberuserid",
  13350. "orderid",
  13351. "tradeamount",
  13352. "tradedate",
  13353. "tradeid",
  13354. "tradeprice",
  13355. "tradeqty",
  13356. "tradetime"
  13357. ],
  13358. "properties": {
  13359. "accountid": {
  13360. "description": "账户ID[报价币种]",
  13361. "type": "integer"
  13362. },
  13363. "buildtype": {
  13364. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13365. "type": "integer"
  13366. },
  13367. "buyorsell": {
  13368. "description": "方向 - 0:买 1:卖",
  13369. "type": "integer"
  13370. },
  13371. "charge": {
  13372. "description": "手续费",
  13373. "type": "number"
  13374. },
  13375. "closecharge": {
  13376. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13377. "type": "number"
  13378. },
  13379. "closeexchagechargevalue": {
  13380. "description": "平仓交易所手续费设置值",
  13381. "type": "number"
  13382. },
  13383. "closefeealgorithm": {
  13384. "description": "平仓手续费收取方式 1:比率 2:固定",
  13385. "type": "integer"
  13386. },
  13387. "closememberchargevalue": {
  13388. "description": "平仓会员手续费设置值",
  13389. "type": "number"
  13390. },
  13391. "closepl": {
  13392. "description": "平仓盈亏",
  13393. "type": "number"
  13394. },
  13395. "closepl2": {
  13396. "description": "平仓盈亏[逐笔]",
  13397. "type": "number"
  13398. },
  13399. "closeqty": {
  13400. "description": "平仓数量(先建后平操作 需要记录)",
  13401. "type": "integer"
  13402. },
  13403. "creditamount": {
  13404. "description": "授信金额",
  13405. "type": "number"
  13406. },
  13407. "gcaccountid": {
  13408. "description": "账户ID[合约币种]",
  13409. "type": "integer"
  13410. },
  13411. "goodscode": {
  13412. "description": "商品代码",
  13413. "type": "string"
  13414. },
  13415. "goodsid": {
  13416. "description": "商品ID",
  13417. "type": "integer"
  13418. },
  13419. "goodsname": {
  13420. "description": "商品名称",
  13421. "type": "string"
  13422. },
  13423. "intclosepl": {
  13424. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13425. "type": "integer"
  13426. },
  13427. "isconfirmexercise": {
  13428. "description": "是否确认行权- 0:否 1:是",
  13429. "type": "integer"
  13430. },
  13431. "ismain": {
  13432. "description": "是否主单 - 0:不是 1:是",
  13433. "type": "integer"
  13434. },
  13435. "ispreexercise": {
  13436. "description": "是否预申报- 0:否 1:是",
  13437. "type": "integer"
  13438. },
  13439. "isreckoned": {
  13440. "description": "是否结算 - 0:未结算 1:已结算",
  13441. "type": "integer"
  13442. },
  13443. "listingselecttype": {
  13444. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13445. "type": "integer"
  13446. },
  13447. "marketid": {
  13448. "description": "市场ID",
  13449. "type": "integer"
  13450. },
  13451. "marketname": {
  13452. "description": "市场名称",
  13453. "type": "string"
  13454. },
  13455. "matchaccountid": {
  13456. "description": "对手账号id",
  13457. "type": "integer"
  13458. },
  13459. "memberuserid": {
  13460. "description": "会员id 个人投资者 需要填写",
  13461. "type": "integer"
  13462. },
  13463. "opencharge": {
  13464. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13465. "type": "number"
  13466. },
  13467. "openexchagechargevalue": {
  13468. "description": "建仓交易所手续费设置值",
  13469. "type": "number"
  13470. },
  13471. "openfeealgorithm": {
  13472. "description": "建仓手续费收取方式 1:比率 2:固定",
  13473. "type": "integer"
  13474. },
  13475. "openmemberchargevalue": {
  13476. "description": "建仓会员手续费设置值",
  13477. "type": "number"
  13478. },
  13479. "openqty": {
  13480. "description": "开仓数量(先建后平操作 需要记录)",
  13481. "type": "integer"
  13482. },
  13483. "optiontype": {
  13484. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13485. "type": "integer"
  13486. },
  13487. "orderid": {
  13488. "description": "委托单号",
  13489. "type": "string"
  13490. },
  13491. "performanceplanid": {
  13492. "description": "履约计划ID[期权]",
  13493. "type": "integer"
  13494. },
  13495. "performancestatus": {
  13496. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13497. "type": "integer"
  13498. },
  13499. "preexerciseprice": {
  13500. "description": "预申报价格",
  13501. "type": "number"
  13502. },
  13503. "premium": {
  13504. "description": "权利金 - [持仓单的权利金]",
  13505. "type": "number"
  13506. },
  13507. "relatedouttradeid": {
  13508. "description": "关联外部成交单ID",
  13509. "type": "integer"
  13510. },
  13511. "status": {
  13512. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13513. "type": "integer"
  13514. },
  13515. "tradeamount": {
  13516. "description": "成交金额[账户币种,用于所有权]",
  13517. "type": "number"
  13518. },
  13519. "tradedate": {
  13520. "description": "交易日(yyyyMMdd)",
  13521. "type": "string"
  13522. },
  13523. "tradeid": {
  13524. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13525. "type": "string"
  13526. },
  13527. "trademode": {
  13528. "description": "交易模式",
  13529. "type": "integer"
  13530. },
  13531. "tradeprice": {
  13532. "description": "成交价格",
  13533. "type": "number"
  13534. },
  13535. "tradeproperty": {
  13536. "description": "交易属性",
  13537. "type": "integer"
  13538. },
  13539. "tradeqty": {
  13540. "description": "成交数量",
  13541. "type": "integer"
  13542. },
  13543. "tradetime": {
  13544. "description": "成交时间",
  13545. "type": "string"
  13546. },
  13547. "tradetype": {
  13548. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13549. "type": "integer"
  13550. }
  13551. }
  13552. },
  13553. "order.QueryTradeOrderDetailRsp": {
  13554. "type": "object",
  13555. "required": [
  13556. "accountid",
  13557. "buildtype",
  13558. "buyorsell",
  13559. "goodsid",
  13560. "marketid",
  13561. "operatetype",
  13562. "orderqty",
  13563. "ordertime",
  13564. "pricemode",
  13565. "tradedate",
  13566. "validtype"
  13567. ],
  13568. "properties": {
  13569. "accountid": {
  13570. "description": "账户ID[报价币种]",
  13571. "type": "integer"
  13572. },
  13573. "buildtype": {
  13574. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13575. "type": "integer"
  13576. },
  13577. "buyorsell": {
  13578. "description": "买卖 - 0:买 1:卖",
  13579. "type": "integer"
  13580. },
  13581. "cancelorderid": {
  13582. "description": "撤单单号(撤单时填写)",
  13583. "type": "string"
  13584. },
  13585. "cancelqty": {
  13586. "description": "撤单数量",
  13587. "type": "integer"
  13588. },
  13589. "clienttype": {
  13590. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13591. "type": "integer"
  13592. },
  13593. "closefreezecharge": {
  13594. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13595. "type": "number"
  13596. },
  13597. "closeqty": {
  13598. "description": "平仓数量(先建后平操作 需要记录)",
  13599. "type": "integer"
  13600. },
  13601. "closetradeqty": {
  13602. "description": "平仓成交数量(先建后平操作,需要记录)",
  13603. "type": "integer"
  13604. },
  13605. "closeunfreezecharge": {
  13606. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13607. "type": "number"
  13608. },
  13609. "delistingtype": {
  13610. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13611. "type": "integer"
  13612. },
  13613. "enableqty": {
  13614. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13615. "type": "integer"
  13616. },
  13617. "freezecharge": {
  13618. "description": "冻结手续费",
  13619. "type": "number"
  13620. },
  13621. "freezemargin": {
  13622. "description": "冻结保证金(冻结交易金额)",
  13623. "type": "number"
  13624. },
  13625. "goodscode": {
  13626. "description": "商品代码",
  13627. "type": "string"
  13628. },
  13629. "goodsid": {
  13630. "description": "商品ID",
  13631. "type": "integer"
  13632. },
  13633. "goodsname": {
  13634. "description": "商品名称",
  13635. "type": "string"
  13636. },
  13637. "listingselecttype": {
  13638. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13639. "type": "integer"
  13640. },
  13641. "marketid": {
  13642. "description": "市场ID",
  13643. "type": "integer"
  13644. },
  13645. "marketname": {
  13646. "description": "市场名称",
  13647. "type": "string"
  13648. },
  13649. "openfreezecharge": {
  13650. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13651. "type": "number"
  13652. },
  13653. "openqty": {
  13654. "description": "开仓数量(先建后平操作,需要记录)",
  13655. "type": "integer"
  13656. },
  13657. "opentradeqty": {
  13658. "description": "开仓成交数量(先建后平操作,需要记录)",
  13659. "type": "integer"
  13660. },
  13661. "openunfreezecharge": {
  13662. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13663. "type": "number"
  13664. },
  13665. "operatetype": {
  13666. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13667. "type": "integer"
  13668. },
  13669. "operatorid": {
  13670. "description": "登录账号(LoginID)",
  13671. "type": "integer"
  13672. },
  13673. "orderid": {
  13674. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13675. "type": "string"
  13676. },
  13677. "orderprice": {
  13678. "description": "委托价格",
  13679. "type": "number"
  13680. },
  13681. "orderqty": {
  13682. "description": "委托数量",
  13683. "type": "integer"
  13684. },
  13685. "ordersrc": {
  13686. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13687. "type": "integer"
  13688. },
  13689. "orderstatus": {
  13690. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13691. "type": "integer"
  13692. },
  13693. "ordertime": {
  13694. "description": "委托时间",
  13695. "type": "string"
  13696. },
  13697. "preorderid": {
  13698. "description": "关联预埋单号(止盈止损单时填写)",
  13699. "type": "string"
  13700. },
  13701. "pricemode": {
  13702. "description": "取价方式 - 1:市价 2: 限价",
  13703. "type": "integer"
  13704. },
  13705. "relatedid": {
  13706. "description": "关联单号(交割单)",
  13707. "type": "string"
  13708. },
  13709. "tradedate": {
  13710. "description": "交易日(yyyyMMdd)",
  13711. "type": "string"
  13712. },
  13713. "trademode": {
  13714. "description": "交易模式",
  13715. "type": "integer"
  13716. },
  13717. "tradeqty": {
  13718. "description": "成交数量",
  13719. "type": "integer"
  13720. },
  13721. "unfreezecharge": {
  13722. "description": "解冻手续费",
  13723. "type": "number"
  13724. },
  13725. "unfreezemargin": {
  13726. "description": "解冻保证金",
  13727. "type": "number"
  13728. },
  13729. "validtime": {
  13730. "description": "有效期限",
  13731. "type": "string"
  13732. },
  13733. "validtype": {
  13734. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13735. "type": "integer"
  13736. },
  13737. "volumetype": {
  13738. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13739. "type": "integer"
  13740. }
  13741. }
  13742. },
  13743. "order.QueryTradePositionRsp": {
  13744. "type": "object",
  13745. "required": [
  13746. "goodsid"
  13747. ],
  13748. "properties": {
  13749. "accountid": {
  13750. "description": "资金账户",
  13751. "type": "integer"
  13752. },
  13753. "agreeunit": {
  13754. "description": "合约单位",
  13755. "type": "number"
  13756. },
  13757. "averageprice": {
  13758. "description": "持仓均价",
  13759. "type": "number"
  13760. },
  13761. "buyorsell": {
  13762. "description": "方向 - 0:买 1:卖",
  13763. "type": "integer"
  13764. },
  13765. "closetotalqty": {
  13766. "description": "平仓总数量",
  13767. "type": "integer"
  13768. },
  13769. "curholderamount": {
  13770. "description": "当前持仓总金额[商品币种]",
  13771. "type": "number"
  13772. },
  13773. "curpositionqty": {
  13774. "description": "当前持仓总数量",
  13775. "type": "integer"
  13776. },
  13777. "currencyid": {
  13778. "description": "报价货币ID",
  13779. "type": "integer"
  13780. },
  13781. "curtdposition": {
  13782. "description": "期末今日头寸",
  13783. "type": "integer"
  13784. },
  13785. "decimalplace": {
  13786. "description": "报价小数位",
  13787. "type": "integer"
  13788. },
  13789. "enableqty": {
  13790. "description": "可用量",
  13791. "type": "integer"
  13792. },
  13793. "fretdposition": {
  13794. "description": "冻结今日头寸",
  13795. "type": "integer"
  13796. },
  13797. "frozenqty": {
  13798. "description": "持仓冻结数量",
  13799. "type": "integer"
  13800. },
  13801. "goodscode": {
  13802. "description": "商品代码",
  13803. "type": "string"
  13804. },
  13805. "goodsid": {
  13806. "description": "商品Id",
  13807. "type": "integer"
  13808. },
  13809. "goodsname": {
  13810. "description": "商品名称",
  13811. "type": "string"
  13812. },
  13813. "goodunit": {
  13814. "description": "报价单位",
  13815. "type": "string"
  13816. },
  13817. "goodunitid": {
  13818. "description": "报价单位ID",
  13819. "type": "integer"
  13820. },
  13821. "holderamount": {
  13822. "description": "期初持仓总金额[商品币种]",
  13823. "type": "number"
  13824. },
  13825. "marketid": {
  13826. "description": "所属市场ID",
  13827. "type": "integer"
  13828. },
  13829. "openreqqty": {
  13830. "description": "开仓申请数量(用于比较最大持仓数量)",
  13831. "type": "integer"
  13832. },
  13833. "opentotalqty": {
  13834. "description": "开仓总数量",
  13835. "type": "integer"
  13836. },
  13837. "otherfrozenqty": {
  13838. "description": "持仓其他冻结数量(交割冻结)",
  13839. "type": "integer"
  13840. },
  13841. "positionqty": {
  13842. "description": "期初持仓数量",
  13843. "type": "integer"
  13844. },
  13845. "tnqty": {
  13846. "description": "T+N冻结总量",
  13847. "type": "integer"
  13848. },
  13849. "tnusedqty": {
  13850. "description": "T+N使用量(可以使用T+N的冻结数量)",
  13851. "type": "integer"
  13852. },
  13853. "trademode": {
  13854. "description": "交易模式",
  13855. "type": "integer"
  13856. },
  13857. "usedmargin": {
  13858. "description": "占用保证金[商品币种]",
  13859. "type": "number"
  13860. }
  13861. }
  13862. },
  13863. "quote.HistoryData": {
  13864. "type": "object",
  13865. "properties": {
  13866. "c": {
  13867. "description": "收盘价",
  13868. "type": "number"
  13869. },
  13870. "h": {
  13871. "description": "最高价",
  13872. "type": "number"
  13873. },
  13874. "hv": {
  13875. "description": "持仓量",
  13876. "type": "integer"
  13877. },
  13878. "l": {
  13879. "description": "最低价",
  13880. "type": "number"
  13881. },
  13882. "o": {
  13883. "description": "开盘价",
  13884. "type": "number"
  13885. },
  13886. "s": {
  13887. "description": "结算价,日线周期(包括)以上才有",
  13888. "type": "number"
  13889. },
  13890. "ts": {
  13891. "description": "时间",
  13892. "type": "string"
  13893. },
  13894. "tt": {
  13895. "description": "总金额",
  13896. "type": "number"
  13897. },
  13898. "tv": {
  13899. "description": "总量",
  13900. "type": "integer"
  13901. }
  13902. }
  13903. },
  13904. "quote.QueryTSDataRsp": {
  13905. "type": "object",
  13906. "properties": {
  13907. "decimalPlace": {
  13908. "description": "小数位",
  13909. "type": "integer"
  13910. },
  13911. "endTime": {
  13912. "description": "结束时间",
  13913. "type": "string"
  13914. },
  13915. "goodsCode": {
  13916. "description": "商品代码",
  13917. "type": "string"
  13918. },
  13919. "historyDatas": {
  13920. "description": "历史数据",
  13921. "type": "array",
  13922. "items": {
  13923. "$ref": "#/definitions/quote.HistoryData"
  13924. }
  13925. },
  13926. "preSettle": {
  13927. "description": "昨结",
  13928. "type": "number"
  13929. },
  13930. "startTime": {
  13931. "description": "开始时间",
  13932. "type": "string"
  13933. },
  13934. "tradeDate": {
  13935. "description": "交易日",
  13936. "type": "string"
  13937. }
  13938. }
  13939. },
  13940. "szdz.QueryConvertLogRsp": {
  13941. "type": "object",
  13942. "required": [
  13943. "logid"
  13944. ],
  13945. "properties": {
  13946. "accountid": {
  13947. "description": "资金账户ID",
  13948. "type": "integer"
  13949. },
  13950. "clientticket": {
  13951. "description": "客户端流水号",
  13952. "type": "string"
  13953. },
  13954. "converttype": {
  13955. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  13956. "type": "integer"
  13957. },
  13958. "createtime": {
  13959. "description": "记账时间",
  13960. "type": "string"
  13961. },
  13962. "daymaxvalue": {
  13963. "description": "配置当日最大转入限制",
  13964. "type": "number"
  13965. },
  13966. "daymaxvalue2": {
  13967. "description": "配置当日最大转入限制(转入)",
  13968. "type": "number"
  13969. },
  13970. "goodscode": {
  13971. "description": "商品代码",
  13972. "type": "string"
  13973. },
  13974. "goodsname": {
  13975. "description": "商品名称",
  13976. "type": "string"
  13977. },
  13978. "handlestatus": {
  13979. "description": "处理状态",
  13980. "type": "integer"
  13981. },
  13982. "innergoodsid": {
  13983. "description": "内部商品ID",
  13984. "type": "integer"
  13985. },
  13986. "inratio": {
  13987. "description": "配置转入比值",
  13988. "type": "integer"
  13989. },
  13990. "invalue": {
  13991. "description": "目标值",
  13992. "type": "number"
  13993. },
  13994. "logid": {
  13995. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13996. "type": "integer"
  13997. },
  13998. "mobile": {
  13999. "description": "手机号码(加密存储)",
  14000. "type": "string"
  14001. },
  14002. "outergoodscode": {
  14003. "description": "外部商品代码[JD\\PD]",
  14004. "type": "string"
  14005. },
  14006. "outratio": {
  14007. "description": "配置转出比值",
  14008. "type": "integer"
  14009. },
  14010. "outvalue": {
  14011. "description": "源值",
  14012. "type": "number"
  14013. },
  14014. "pddecimalplace": {
  14015. "description": "PD小数位",
  14016. "type": "integer"
  14017. },
  14018. "qty": {
  14019. "description": "数量",
  14020. "type": "string"
  14021. },
  14022. "remark": {
  14023. "description": "备注",
  14024. "type": "string"
  14025. },
  14026. "sessionid": {
  14027. "description": "会话ID",
  14028. "type": "integer"
  14029. },
  14030. "timemaxvalue": {
  14031. "description": "配置单次最大转入限制",
  14032. "type": "number"
  14033. },
  14034. "timemaxvalue2": {
  14035. "description": "配置单次最大转入限制(转入)",
  14036. "type": "number"
  14037. },
  14038. "timeminvalue": {
  14039. "description": "配置单次最小数量限制",
  14040. "type": "number"
  14041. },
  14042. "timeminvalue2": {
  14043. "description": "配置单次最小数量限制(转入)",
  14044. "type": "number"
  14045. },
  14046. "tradedate": {
  14047. "description": "交易日(yyyyMMdd)",
  14048. "type": "string"
  14049. },
  14050. "userid": {
  14051. "description": "用户ID",
  14052. "type": "integer"
  14053. }
  14054. }
  14055. },
  14056. "szdz.QueryGoodsPickupRsp": {
  14057. "type": "object",
  14058. "required": [
  14059. "takeorderid"
  14060. ],
  14061. "properties": {
  14062. "accountid": {
  14063. "description": "账户ID",
  14064. "type": "integer"
  14065. },
  14066. "address": {
  14067. "description": "提货人详细地址",
  14068. "type": "string"
  14069. },
  14070. "auditer": {
  14071. "description": "审核人",
  14072. "type": "integer"
  14073. },
  14074. "audittime": {
  14075. "description": "审核时间",
  14076. "type": "string"
  14077. },
  14078. "cardnum": {
  14079. "description": "提货人证件号码",
  14080. "type": "string"
  14081. },
  14082. "cardtypeid": {
  14083. "description": "提货人证件类型",
  14084. "type": "integer"
  14085. },
  14086. "checkremark": {
  14087. "description": "审核备注",
  14088. "type": "string"
  14089. },
  14090. "goodscode": {
  14091. "description": "商品代码",
  14092. "type": "string"
  14093. },
  14094. "goodsid": {
  14095. "description": "商品ID",
  14096. "type": "integer"
  14097. },
  14098. "goodsname": {
  14099. "description": "商品名称",
  14100. "type": "string"
  14101. },
  14102. "handlestatus": {
  14103. "description": "处理状态",
  14104. "type": "integer"
  14105. },
  14106. "marketid": {
  14107. "description": "市场ID",
  14108. "type": "integer"
  14109. },
  14110. "phonenum": {
  14111. "description": "提货人联系方式",
  14112. "type": "string"
  14113. },
  14114. "qty": {
  14115. "description": "提货数量",
  14116. "type": "number"
  14117. },
  14118. "recivername": {
  14119. "description": "提货人姓名",
  14120. "type": "string"
  14121. },
  14122. "reqtime": {
  14123. "description": "更新时间",
  14124. "type": "string"
  14125. },
  14126. "takemode": {
  14127. "description": "提货方式 - 2:自提 3:配送",
  14128. "type": "integer"
  14129. },
  14130. "takeorderid": {
  14131. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14132. "type": "string"
  14133. },
  14134. "takeorderstatus": {
  14135. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14136. "type": "integer"
  14137. },
  14138. "takeremark": {
  14139. "description": "提货备注",
  14140. "type": "string"
  14141. },
  14142. "tradedate": {
  14143. "description": "交易日(yyyyMMdd)",
  14144. "type": "string"
  14145. },
  14146. "userid": {
  14147. "description": "用户ID",
  14148. "type": "integer"
  14149. }
  14150. }
  14151. },
  14152. "szdz.QueryRecieptOrderRsp": {
  14153. "type": "object",
  14154. "required": [
  14155. "ordertime"
  14156. ],
  14157. "properties": {
  14158. "accountName": {
  14159. "description": "所属账号名称(已脱敏)",
  14160. "type": "string"
  14161. },
  14162. "accountid": {
  14163. "description": "资金账号",
  14164. "type": "integer"
  14165. },
  14166. "buyorsell": {
  14167. "description": "方向 - 0:买 1:卖",
  14168. "type": "integer"
  14169. },
  14170. "enableqty": {
  14171. "description": "可摘数量",
  14172. "type": "integer"
  14173. },
  14174. "goodscode": {
  14175. "description": "商品代码",
  14176. "type": "string"
  14177. },
  14178. "goodsid": {
  14179. "description": "商品ID",
  14180. "type": "integer"
  14181. },
  14182. "goodsname": {
  14183. "description": "商品名称",
  14184. "type": "string"
  14185. },
  14186. "orderid": {
  14187. "description": "委托单号",
  14188. "type": "string"
  14189. },
  14190. "orderprice": {
  14191. "description": "委托价格",
  14192. "type": "number"
  14193. },
  14194. "ordertime": {
  14195. "description": "委托时间",
  14196. "type": "string"
  14197. },
  14198. "tradedate": {
  14199. "description": "交易日(yyyyMMdd)",
  14200. "type": "string"
  14201. }
  14202. }
  14203. },
  14204. "szdz.QuerySZDZTradePositionRsp": {
  14205. "type": "object",
  14206. "properties": {
  14207. "accountid": {
  14208. "description": "账号Id",
  14209. "type": "integer"
  14210. },
  14211. "agreeunit": {
  14212. "description": "合约单位",
  14213. "type": "number"
  14214. },
  14215. "averageprice": {
  14216. "description": "持仓均价",
  14217. "type": "number"
  14218. },
  14219. "buyorsell": {
  14220. "description": "方向 - 0:买 1:卖",
  14221. "type": "integer"
  14222. },
  14223. "closetotalqty": {
  14224. "description": "平仓总数量",
  14225. "type": "integer"
  14226. },
  14227. "curholderamount": {
  14228. "description": "当前持仓总金额",
  14229. "type": "number"
  14230. },
  14231. "curpositionqty": {
  14232. "description": "当前持仓总数量",
  14233. "type": "integer"
  14234. },
  14235. "currencyid": {
  14236. "description": "报价货币ID",
  14237. "type": "integer"
  14238. },
  14239. "curtdposition": {
  14240. "description": "期末今日头寸",
  14241. "type": "integer"
  14242. },
  14243. "decimalplace": {
  14244. "description": "报价小数位",
  14245. "type": "integer"
  14246. },
  14247. "enableqty": {
  14248. "description": "可用量",
  14249. "type": "integer"
  14250. },
  14251. "fretdposition": {
  14252. "description": "冻结今日头寸",
  14253. "type": "integer"
  14254. },
  14255. "frozenqty": {
  14256. "description": "持仓冻结数量",
  14257. "type": "integer"
  14258. },
  14259. "goodscode": {
  14260. "description": "商品代码(内部)",
  14261. "type": "string"
  14262. },
  14263. "goodsid": {
  14264. "description": "商品Id",
  14265. "type": "integer"
  14266. },
  14267. "goodsname": {
  14268. "description": "商品名称",
  14269. "type": "string"
  14270. },
  14271. "goodunit": {
  14272. "description": "报价单位",
  14273. "type": "string"
  14274. },
  14275. "goodunitid": {
  14276. "description": "报价单位ID",
  14277. "type": "integer"
  14278. },
  14279. "holderamount": {
  14280. "description": "期初持仓总金额",
  14281. "type": "number"
  14282. },
  14283. "marketid": {
  14284. "description": "市场ID",
  14285. "type": "integer"
  14286. },
  14287. "openreqqty": {
  14288. "description": "开仓申请数量",
  14289. "type": "integer"
  14290. },
  14291. "opentotalqty": {
  14292. "description": "开仓总数量",
  14293. "type": "integer"
  14294. },
  14295. "otherfrozenqty": {
  14296. "description": "持仓其他冻结数量(交割冻结)",
  14297. "type": "integer"
  14298. },
  14299. "positionqty": {
  14300. "description": "期初持仓数量",
  14301. "type": "integer"
  14302. },
  14303. "szdz3freezqty": {
  14304. "description": "尚志大宗转换冻结总数量",
  14305. "type": "integer"
  14306. },
  14307. "tnqty": {
  14308. "description": "T+N冻结总量",
  14309. "type": "integer"
  14310. },
  14311. "tnusedqty": {
  14312. "description": "T+N使用量",
  14313. "type": "integer"
  14314. },
  14315. "trademode": {
  14316. "description": "交易模式",
  14317. "type": "integer"
  14318. },
  14319. "usedmargin": {
  14320. "description": "占用保证金",
  14321. "type": "number"
  14322. }
  14323. }
  14324. },
  14325. "taaccount.QueryAmountLogRsp": {
  14326. "type": "object",
  14327. "required": [
  14328. "accountid",
  14329. "amount",
  14330. "amountadjusttype",
  14331. "autoid",
  14332. "balance",
  14333. "createtime",
  14334. "currentbalance",
  14335. "operatetype"
  14336. ],
  14337. "properties": {
  14338. "OPERATETYPENAME": {
  14339. "description": "资金操作类型名称",
  14340. "type": "string"
  14341. },
  14342. "accountid": {
  14343. "description": "资金账户ID",
  14344. "type": "integer"
  14345. },
  14346. "agoodscode": {
  14347. "description": "竞拍商品代码",
  14348. "type": "string"
  14349. },
  14350. "agoodsname": {
  14351. "description": "竞拍商品名称",
  14352. "type": "string"
  14353. },
  14354. "amount": {
  14355. "description": "资金金额",
  14356. "type": "number"
  14357. },
  14358. "amountadjusttype": {
  14359. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14360. "type": "integer"
  14361. },
  14362. "autoid": {
  14363. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14364. "type": "integer"
  14365. },
  14366. "balance": {
  14367. "description": "期初余额",
  14368. "type": "number"
  14369. },
  14370. "businesscode": {
  14371. "description": "业务编号",
  14372. "type": "integer"
  14373. },
  14374. "createtime": {
  14375. "description": "发生时间",
  14376. "type": "string"
  14377. },
  14378. "currencyid": {
  14379. "description": "币种ID",
  14380. "type": "integer"
  14381. },
  14382. "currentbalance": {
  14383. "description": "期末余额(变动后金额)",
  14384. "type": "number"
  14385. },
  14386. "dgoodscode": {
  14387. "description": "交割商品代码",
  14388. "type": "string"
  14389. },
  14390. "dgoodsname": {
  14391. "description": "交割商品名称",
  14392. "type": "string"
  14393. },
  14394. "goodscode": {
  14395. "description": "商品代码",
  14396. "type": "string"
  14397. },
  14398. "goodsid": {
  14399. "description": "商品ID",
  14400. "type": "integer"
  14401. },
  14402. "goodsname": {
  14403. "description": "商品名称",
  14404. "type": "string"
  14405. },
  14406. "marketid": {
  14407. "description": "市场ID",
  14408. "type": "integer"
  14409. },
  14410. "marketname": {
  14411. "description": "市场名称",
  14412. "type": "string"
  14413. },
  14414. "moneyticket": {
  14415. "description": "资金流水号:银行端流水号",
  14416. "type": "integer"
  14417. },
  14418. "operatetype": {
  14419. "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:营销收款",
  14420. "type": "integer"
  14421. },
  14422. "relationorderid": {
  14423. "description": "关联单号",
  14424. "type": "string"
  14425. },
  14426. "remark": {
  14427. "description": "备注",
  14428. "type": "string"
  14429. },
  14430. "trademode": {
  14431. "description": "交易模式",
  14432. "type": "integer"
  14433. }
  14434. }
  14435. },
  14436. "taaccount.QueryHisAmountLogRsp": {
  14437. "type": "object",
  14438. "required": [
  14439. "accountid",
  14440. "amount",
  14441. "amountadjusttype",
  14442. "autoid",
  14443. "balance",
  14444. "createtime",
  14445. "currentbalance",
  14446. "histradedate",
  14447. "operatetype"
  14448. ],
  14449. "properties": {
  14450. "OPERATETYPENAME": {
  14451. "description": "资金操作类型名称",
  14452. "type": "string"
  14453. },
  14454. "accountid": {
  14455. "description": "资金账户ID",
  14456. "type": "integer"
  14457. },
  14458. "agoodscode": {
  14459. "description": "竞拍商品代码",
  14460. "type": "string"
  14461. },
  14462. "agoodsname": {
  14463. "description": "竞拍商品名称",
  14464. "type": "string"
  14465. },
  14466. "amount": {
  14467. "description": "资金金额",
  14468. "type": "number"
  14469. },
  14470. "amountadjusttype": {
  14471. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14472. "type": "integer"
  14473. },
  14474. "autoid": {
  14475. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14476. "type": "integer"
  14477. },
  14478. "balance": {
  14479. "description": "期初余额",
  14480. "type": "number"
  14481. },
  14482. "businesscode": {
  14483. "description": "业务编号",
  14484. "type": "integer"
  14485. },
  14486. "createtime": {
  14487. "description": "发生时间",
  14488. "type": "string"
  14489. },
  14490. "currencyid": {
  14491. "description": "币种ID",
  14492. "type": "integer"
  14493. },
  14494. "currentbalance": {
  14495. "description": "期末余额(变动后金额)",
  14496. "type": "number"
  14497. },
  14498. "dgoodscode": {
  14499. "description": "交割商品代码",
  14500. "type": "string"
  14501. },
  14502. "dgoodsname": {
  14503. "description": "交割商品名称",
  14504. "type": "string"
  14505. },
  14506. "goodscode": {
  14507. "description": "商品代码",
  14508. "type": "string"
  14509. },
  14510. "goodsid": {
  14511. "description": "商品ID",
  14512. "type": "integer"
  14513. },
  14514. "goodsname": {
  14515. "description": "商品名称",
  14516. "type": "string"
  14517. },
  14518. "histradedate": {
  14519. "description": "历史交易日",
  14520. "type": "string"
  14521. },
  14522. "isvaliddata": {
  14523. "description": "是否有效 - 0:无效 1:有效",
  14524. "type": "integer"
  14525. },
  14526. "marketid": {
  14527. "description": "市场ID",
  14528. "type": "integer"
  14529. },
  14530. "marketname": {
  14531. "description": "市场名称",
  14532. "type": "string"
  14533. },
  14534. "moneyticket": {
  14535. "description": "资金流水号:银行端流水号",
  14536. "type": "integer"
  14537. },
  14538. "operatetype": {
  14539. "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:营销收款",
  14540. "type": "integer"
  14541. },
  14542. "relationorderid": {
  14543. "description": "关联单号",
  14544. "type": "string"
  14545. },
  14546. "remark": {
  14547. "description": "备注",
  14548. "type": "string"
  14549. },
  14550. "trademode": {
  14551. "description": "交易模式",
  14552. "type": "integer"
  14553. }
  14554. }
  14555. },
  14556. "trade.QueryRecieptOrderRsp": {
  14557. "type": "object",
  14558. "required": [
  14559. "ordertime"
  14560. ],
  14561. "properties": {
  14562. "accountName": {
  14563. "description": "所属账号名称(已脱敏)",
  14564. "type": "string"
  14565. },
  14566. "accountid": {
  14567. "description": "资金账号",
  14568. "type": "integer"
  14569. },
  14570. "buyorsell": {
  14571. "description": "方向 - 0:买 1:卖",
  14572. "type": "integer"
  14573. },
  14574. "enableqty": {
  14575. "description": "可摘数量",
  14576. "type": "integer"
  14577. },
  14578. "goodscode": {
  14579. "description": "商品代码",
  14580. "type": "string"
  14581. },
  14582. "goodsid": {
  14583. "description": "商品ID",
  14584. "type": "integer"
  14585. },
  14586. "goodsname": {
  14587. "description": "商品名称",
  14588. "type": "string"
  14589. },
  14590. "orderid": {
  14591. "description": "委托单号",
  14592. "type": "string"
  14593. },
  14594. "orderprice": {
  14595. "description": "委托价格",
  14596. "type": "number"
  14597. },
  14598. "ordertime": {
  14599. "description": "委托时间",
  14600. "type": "string"
  14601. },
  14602. "tradedate": {
  14603. "description": "交易日(yyyyMMdd)",
  14604. "type": "string"
  14605. }
  14606. }
  14607. }
  14608. },
  14609. "securityDefinitions": {
  14610. "ApiKeyAuth": {
  14611. "type": "apiKey",
  14612. "name": "Authorization",
  14613. "in": "header"
  14614. }
  14615. }
  14616. }`
  14617. type swaggerInfo struct {
  14618. Version string
  14619. Host string
  14620. BasePath string
  14621. Schemes []string
  14622. Title string
  14623. Description string
  14624. }
  14625. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14626. var SwaggerInfo = swaggerInfo{
  14627. Version: "1.0",
  14628. Host: "",
  14629. BasePath: "/api",
  14630. Schemes: []string{},
  14631. Title: "MTP2.0 查询服务 API",
  14632. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14633. }
  14634. type s struct{}
  14635. func (s *s) ReadDoc() string {
  14636. sInfo := SwaggerInfo
  14637. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14638. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14639. "marshal": func(v interface{}) string {
  14640. a, _ := json.Marshal(v)
  14641. return string(a)
  14642. },
  14643. }).Parse(doc)
  14644. if err != nil {
  14645. return doc
  14646. }
  14647. var tpl bytes.Buffer
  14648. if err := t.Execute(&tpl, sInfo); err != nil {
  14649. return doc
  14650. }
  14651. return tpl.String()
  14652. }
  14653. func init() {
  14654. swag.Register(swag.Name, &s{})
  14655. }