docs.go 691 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAreaStockApply": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询库存申请(出入库记录|库存审核)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "用户ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. },
  1344. {
  1345. "type": "string",
  1346. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1347. "name": "inouttype",
  1348. "in": "query"
  1349. },
  1350. {
  1351. "type": "integer",
  1352. "description": "合同ID",
  1353. "name": "spotcontractid",
  1354. "in": "query"
  1355. },
  1356. {
  1357. "type": "integer",
  1358. "description": "现货商品ID",
  1359. "name": "wrstandardid",
  1360. "in": "query"
  1361. },
  1362. {
  1363. "type": "integer",
  1364. "description": "品牌ID",
  1365. "name": "spotgoodsbrandid",
  1366. "in": "query"
  1367. },
  1368. {
  1369. "type": "integer",
  1370. "description": "型号ID",
  1371. "name": "spotgoodsmodelid",
  1372. "in": "query"
  1373. },
  1374. {
  1375. "type": "integer",
  1376. "description": "仓库ID",
  1377. "name": "warehouseinfoid",
  1378. "in": "query"
  1379. },
  1380. {
  1381. "type": "string",
  1382. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1383. "name": "applystatus",
  1384. "in": "query"
  1385. }
  1386. ],
  1387. "responses": {
  1388. "200": {
  1389. "description": "OK",
  1390. "schema": {
  1391. "type": "array",
  1392. "items": {
  1393. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1394. }
  1395. }
  1396. },
  1397. "500": {
  1398. "description": "Internal Server Error",
  1399. "schema": {
  1400. "$ref": "#/definitions/app.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/Ermcp/QueryAreaStockApplySum": {
  1407. "get": {
  1408. "security": [
  1409. {
  1410. "ApiKeyAuth": []
  1411. }
  1412. ],
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "企业风险管理(app)"
  1418. ],
  1419. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1420. "parameters": [
  1421. {
  1422. "type": "integer",
  1423. "description": "合同ID",
  1424. "name": "spotcontractid",
  1425. "in": "query"
  1426. }
  1427. ],
  1428. "responses": {
  1429. "200": {
  1430. "description": "OK",
  1431. "schema": {
  1432. "type": "array",
  1433. "items": {
  1434. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1435. }
  1436. }
  1437. },
  1438. "500": {
  1439. "description": "Internal Server Error",
  1440. "schema": {
  1441. "$ref": "#/definitions/app.Response"
  1442. }
  1443. }
  1444. }
  1445. }
  1446. },
  1447. "/Ermcp/QueryAvaildGoodsGroup": {
  1448. "get": {
  1449. "security": [
  1450. {
  1451. "ApiKeyAuth": []
  1452. }
  1453. ],
  1454. "produces": [
  1455. "application/json"
  1456. ],
  1457. "tags": [
  1458. "企业风险管理(app)"
  1459. ],
  1460. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1461. "parameters": [
  1462. {
  1463. "type": "integer",
  1464. "description": "所属机构ID",
  1465. "name": "userid",
  1466. "in": "query",
  1467. "required": true
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessDj": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "现货合同ID, 不填则查所有",
  1514. "name": "relatedid",
  1515. "in": "query"
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Ermcp/QueryBusinessFp": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "企业风险管理(app)"
  1549. ],
  1550. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1551. "parameters": [
  1552. {
  1553. "type": "integer",
  1554. "description": "用户ID",
  1555. "name": "UserId",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "string",
  1561. "description": "现货合同ID, 不填则查所有",
  1562. "name": "relatedid",
  1563. "in": "query"
  1564. }
  1565. ],
  1566. "responses": {
  1567. "200": {
  1568. "description": "OK",
  1569. "schema": {
  1570. "type": "array",
  1571. "items": {
  1572. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1573. }
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Ermcp/QueryBusinessJs": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "企业风险管理(app)"
  1597. ],
  1598. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1599. "parameters": [
  1600. {
  1601. "type": "integer",
  1602. "description": "用户ID",
  1603. "name": "UserId",
  1604. "in": "query",
  1605. "required": true
  1606. },
  1607. {
  1608. "type": "string",
  1609. "description": "现货合同ID, 不填则查所有",
  1610. "name": "relatedid",
  1611. "in": "query"
  1612. }
  1613. ],
  1614. "responses": {
  1615. "200": {
  1616. "description": "OK",
  1617. "schema": {
  1618. "type": "array",
  1619. "items": {
  1620. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1621. }
  1622. }
  1623. },
  1624. "500": {
  1625. "description": "Internal Server Error",
  1626. "schema": {
  1627. "$ref": "#/definitions/app.Response"
  1628. }
  1629. }
  1630. }
  1631. }
  1632. },
  1633. "/Ermcp/QueryBusinessJsEx": {
  1634. "get": {
  1635. "security": [
  1636. {
  1637. "ApiKeyAuth": []
  1638. }
  1639. ],
  1640. "produces": [
  1641. "application/json"
  1642. ],
  1643. "tags": [
  1644. "企业风险管理(app)"
  1645. ],
  1646. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1647. "parameters": [
  1648. {
  1649. "type": "integer",
  1650. "description": "用户ID",
  1651. "name": "UserId",
  1652. "in": "query",
  1653. "required": true
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "现货合同ID, 不填则查所有",
  1658. "name": "relatedid",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryChangeLog": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询变更记录",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": "合同ID",
  1747. "name": "RelatedId",
  1748. "in": "query",
  1749. "required": true
  1750. }
  1751. ],
  1752. "responses": {
  1753. "200": {
  1754. "description": "OK",
  1755. "schema": {
  1756. "type": "array",
  1757. "items": {
  1758. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1759. }
  1760. }
  1761. },
  1762. "500": {
  1763. "description": "Internal Server Error",
  1764. "schema": {
  1765. "$ref": "#/definitions/app.Response"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/Ermcp/QueryContract": {
  1772. "get": {
  1773. "security": [
  1774. {
  1775. "ApiKeyAuth": []
  1776. }
  1777. ],
  1778. "produces": [
  1779. "application/json"
  1780. ],
  1781. "tags": [
  1782. "企业风险管理(app)"
  1783. ],
  1784. "summary": "查询合同(采购和销售)",
  1785. "parameters": [
  1786. {
  1787. "type": "integer",
  1788. "description": "用户ID",
  1789. "name": "userId",
  1790. "in": "query",
  1791. "required": true
  1792. },
  1793. {
  1794. "type": "integer",
  1795. "description": "合同类型 1-采购, -1-销售",
  1796. "name": "contracttype",
  1797. "in": "query",
  1798. "required": true
  1799. },
  1800. {
  1801. "type": "integer",
  1802. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1803. "name": "querytype",
  1804. "in": "query",
  1805. "required": true
  1806. }
  1807. ],
  1808. "responses": {
  1809. "200": {
  1810. "description": "OK",
  1811. "schema": {
  1812. "type": "array",
  1813. "items": {
  1814. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1815. }
  1816. }
  1817. },
  1818. "500": {
  1819. "description": "Internal Server Error",
  1820. "schema": {
  1821. "$ref": "#/definitions/app.Response"
  1822. }
  1823. }
  1824. }
  1825. }
  1826. },
  1827. "/Ermcp/QueryErmcpHisOrderDetails": {
  1828. "get": {
  1829. "security": [
  1830. {
  1831. "ApiKeyAuth": []
  1832. }
  1833. ],
  1834. "produces": [
  1835. "application/json"
  1836. ],
  1837. "tags": [
  1838. "企业风险管理(app)"
  1839. ],
  1840. "summary": "获取企业风管期货历史委托单信息",
  1841. "parameters": [
  1842. {
  1843. "type": "integer",
  1844. "description": "资金账户ID",
  1845. "name": "accountID",
  1846. "in": "query",
  1847. "required": true
  1848. },
  1849. {
  1850. "type": "string",
  1851. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1852. "name": "startDate",
  1853. "in": "query"
  1854. },
  1855. {
  1856. "type": "string",
  1857. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1858. "name": "endDate",
  1859. "in": "query"
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1867. }
  1868. },
  1869. "500": {
  1870. "description": "Internal Server Error",
  1871. "schema": {
  1872. "$ref": "#/definitions/app.Response"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. },
  1878. "/Ermcp/QueryErmcpHisTradeDetails": {
  1879. "get": {
  1880. "security": [
  1881. {
  1882. "ApiKeyAuth": []
  1883. }
  1884. ],
  1885. "produces": [
  1886. "application/json"
  1887. ],
  1888. "tags": [
  1889. "企业风险管理(app)"
  1890. ],
  1891. "summary": "获取企业风管期货历史成交单信息",
  1892. "parameters": [
  1893. {
  1894. "type": "integer",
  1895. "description": "资金账户ID",
  1896. "name": "accountID",
  1897. "in": "query",
  1898. "required": true
  1899. },
  1900. {
  1901. "type": "integer",
  1902. "description": "商品ID",
  1903. "name": "goodsID",
  1904. "in": "query"
  1905. },
  1906. {
  1907. "type": "integer",
  1908. "description": "买卖方向,0:买 1:卖",
  1909. "name": "buyOrSell",
  1910. "in": "query"
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1915. "name": "startDate",
  1916. "in": "query"
  1917. },
  1918. {
  1919. "type": "string",
  1920. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1921. "name": "endDate",
  1922. "in": "query"
  1923. }
  1924. ],
  1925. "responses": {
  1926. "200": {
  1927. "description": "OK",
  1928. "schema": {
  1929. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1930. }
  1931. },
  1932. "500": {
  1933. "description": "Internal Server Error",
  1934. "schema": {
  1935. "$ref": "#/definitions/app.Response"
  1936. }
  1937. }
  1938. }
  1939. }
  1940. },
  1941. "/Ermcp/QueryErmcpOrderDetails": {
  1942. "get": {
  1943. "security": [
  1944. {
  1945. "ApiKeyAuth": []
  1946. }
  1947. ],
  1948. "produces": [
  1949. "application/json"
  1950. ],
  1951. "tags": [
  1952. "企业风险管理(app)"
  1953. ],
  1954. "summary": "获取企业风管期货委托单信息",
  1955. "parameters": [
  1956. {
  1957. "type": "integer",
  1958. "description": "资金账户ID",
  1959. "name": "accountID",
  1960. "in": "query",
  1961. "required": true
  1962. }
  1963. ],
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryErmcpTradeDetails": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货成交单信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "商品ID",
  2005. "name": "goodsID",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "买卖方向,0:买 1:卖",
  2011. "name": "buyOrSell",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryErmcpTradePosition": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2039. "produces": [
  2040. "application/json"
  2041. ],
  2042. "tags": [
  2043. "企业风险管理(app)"
  2044. ],
  2045. "summary": "获取企业风管期货持仓头寸信息",
  2046. "parameters": [
  2047. {
  2048. "type": "integer",
  2049. "description": "资金账户ID",
  2050. "name": "accountID",
  2051. "in": "query",
  2052. "required": true
  2053. },
  2054. {
  2055. "type": "integer",
  2056. "description": "所属市场ID",
  2057. "name": "marketID",
  2058. "in": "query"
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2066. }
  2067. },
  2068. "500": {
  2069. "description": "Internal Server Error",
  2070. "schema": {
  2071. "$ref": "#/definitions/app.Response"
  2072. }
  2073. }
  2074. }
  2075. }
  2076. },
  2077. "/Ermcp/QueryExposureDetail": {
  2078. "get": {
  2079. "security": [
  2080. {
  2081. "ApiKeyAuth": []
  2082. }
  2083. ],
  2084. "produces": [
  2085. "application/json"
  2086. ],
  2087. "tags": [
  2088. "企业风险管理(app)"
  2089. ],
  2090. "summary": "查询敞口现货明细",
  2091. "parameters": [
  2092. {
  2093. "type": "integer",
  2094. "description": "所属机构ID",
  2095. "name": "areaUserId",
  2096. "in": "query",
  2097. "required": true
  2098. },
  2099. {
  2100. "type": "integer",
  2101. "description": "套保商品",
  2102. "name": "middleGoodsId",
  2103. "in": "query",
  2104. "required": true
  2105. }
  2106. ],
  2107. "responses": {
  2108. "200": {
  2109. "description": "OK",
  2110. "schema": {
  2111. "type": "array",
  2112. "items": {
  2113. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2114. }
  2115. }
  2116. },
  2117. "500": {
  2118. "description": "Internal Server Error",
  2119. "schema": {
  2120. "$ref": "#/definitions/app.Response"
  2121. }
  2122. }
  2123. }
  2124. }
  2125. },
  2126. "/Ermcp/QueryExposureHedgePosition": {
  2127. "get": {
  2128. "security": [
  2129. {
  2130. "ApiKeyAuth": []
  2131. }
  2132. ],
  2133. "produces": [
  2134. "application/json"
  2135. ],
  2136. "tags": [
  2137. "企业风险管理(app)"
  2138. ],
  2139. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2140. "parameters": [
  2141. {
  2142. "type": "integer",
  2143. "description": "所属机构ID",
  2144. "name": "areaUserId",
  2145. "in": "query",
  2146. "required": true
  2147. }
  2148. ],
  2149. "responses": {
  2150. "200": {
  2151. "description": "OK",
  2152. "schema": {
  2153. "type": "array",
  2154. "items": {
  2155. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2156. }
  2157. }
  2158. },
  2159. "500": {
  2160. "description": "Internal Server Error",
  2161. "schema": {
  2162. "$ref": "#/definitions/app.Response"
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "/Ermcp/QueryExposureHedgePositionDetail": {
  2169. "get": {
  2170. "security": [
  2171. {
  2172. "ApiKeyAuth": []
  2173. }
  2174. ],
  2175. "produces": [
  2176. "application/json"
  2177. ],
  2178. "tags": [
  2179. "企业风险管理(app)"
  2180. ],
  2181. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2182. "parameters": [
  2183. {
  2184. "type": "integer",
  2185. "description": "所属机构ID",
  2186. "name": "areaUserId",
  2187. "in": "query",
  2188. "required": true
  2189. },
  2190. {
  2191. "type": "integer",
  2192. "description": "商品id",
  2193. "name": "goodsId",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryExposureSpot": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "areaUserId",
  2236. "in": "query",
  2237. "required": true
  2238. }
  2239. ],
  2240. "responses": {
  2241. "200": {
  2242. "description": "OK",
  2243. "schema": {
  2244. "type": "array",
  2245. "items": {
  2246. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2247. }
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryExposureSpotDetail": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "所属机构ID",
  2277. "name": "areaUserId",
  2278. "in": "query",
  2279. "required": true
  2280. },
  2281. {
  2282. "type": "integer",
  2283. "description": "现货品种ID",
  2284. "name": "wrstandardId",
  2285. "in": "query",
  2286. "required": true
  2287. }
  2288. ],
  2289. "responses": {
  2290. "200": {
  2291. "description": "OK",
  2292. "schema": {
  2293. "type": "array",
  2294. "items": {
  2295. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2296. }
  2297. }
  2298. },
  2299. "500": {
  2300. "description": "Internal Server Error",
  2301. "schema": {
  2302. "$ref": "#/definitions/app.Response"
  2303. }
  2304. }
  2305. }
  2306. }
  2307. },
  2308. "/Ermcp/QueryGGConvertConfig": {
  2309. "get": {
  2310. "security": [
  2311. {
  2312. "ApiKeyAuth": []
  2313. }
  2314. ],
  2315. "produces": [
  2316. "application/json"
  2317. ],
  2318. "tags": [
  2319. "企业风险管理(app)"
  2320. ],
  2321. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2322. "parameters": [
  2323. {
  2324. "type": "integer",
  2325. "description": "品种id(不填则查所有)",
  2326. "name": "goodsgroupid",
  2327. "in": "query"
  2328. }
  2329. ],
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryHedgePlan": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询套保计划",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "用户ID",
  2367. "name": "userId",
  2368. "in": "query",
  2369. "required": true
  2370. },
  2371. {
  2372. "type": "string",
  2373. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2374. "name": "HedgePlanStatus",
  2375. "in": "query",
  2376. "required": true
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "type": "array",
  2384. "items": {
  2385. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2386. }
  2387. }
  2388. },
  2389. "500": {
  2390. "description": "Internal Server Error",
  2391. "schema": {
  2392. "$ref": "#/definitions/app.Response"
  2393. }
  2394. }
  2395. }
  2396. }
  2397. },
  2398. "/Ermcp/QueryHisExposure": {
  2399. "get": {
  2400. "security": [
  2401. {
  2402. "ApiKeyAuth": []
  2403. }
  2404. ],
  2405. "produces": [
  2406. "application/json"
  2407. ],
  2408. "tags": [
  2409. "企业风险管理(app)"
  2410. ],
  2411. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2412. "parameters": [
  2413. {
  2414. "type": "integer",
  2415. "description": "所属机构ID",
  2416. "name": "areaUserId",
  2417. "in": "query",
  2418. "required": true
  2419. },
  2420. {
  2421. "type": "integer",
  2422. "description": "每个品种记录数",
  2423. "name": "lastNum",
  2424. "in": "query",
  2425. "required": true
  2426. }
  2427. ],
  2428. "responses": {
  2429. "200": {
  2430. "description": "OK",
  2431. "schema": {
  2432. "type": "array",
  2433. "items": {
  2434. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2435. }
  2436. }
  2437. },
  2438. "500": {
  2439. "description": "Internal Server Error",
  2440. "schema": {
  2441. "$ref": "#/definitions/app.Response"
  2442. }
  2443. }
  2444. }
  2445. }
  2446. },
  2447. "/Ermcp/QueryMiddleGoods": {
  2448. "get": {
  2449. "security": [
  2450. {
  2451. "ApiKeyAuth": []
  2452. }
  2453. ],
  2454. "produces": [
  2455. "application/json"
  2456. ],
  2457. "tags": [
  2458. "企业风险管理(app)"
  2459. ],
  2460. "summary": "查询套保品种(菜单:套保品种)",
  2461. "parameters": [
  2462. {
  2463. "type": "integer",
  2464. "description": "所属机构ID",
  2465. "name": "userid",
  2466. "in": "query",
  2467. "required": true
  2468. },
  2469. {
  2470. "type": "integer",
  2471. "description": "状态 0-停用 1-正常",
  2472. "name": "status",
  2473. "in": "query",
  2474. "required": true
  2475. }
  2476. ],
  2477. "responses": {
  2478. "200": {
  2479. "description": "OK",
  2480. "schema": {
  2481. "type": "array",
  2482. "items": {
  2483. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2484. }
  2485. }
  2486. },
  2487. "500": {
  2488. "description": "Internal Server Error",
  2489. "schema": {
  2490. "$ref": "#/definitions/app.Response"
  2491. }
  2492. }
  2493. }
  2494. }
  2495. },
  2496. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2497. "get": {
  2498. "security": [
  2499. {
  2500. "ApiKeyAuth": []
  2501. }
  2502. ],
  2503. "produces": [
  2504. "application/json"
  2505. ],
  2506. "tags": [
  2507. "企业风险管理(app)"
  2508. ],
  2509. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2510. "parameters": [
  2511. {
  2512. "type": "integer",
  2513. "description": "所属机构ID",
  2514. "name": "userid",
  2515. "in": "query",
  2516. "required": true
  2517. },
  2518. {
  2519. "type": "integer",
  2520. "description": "套保品种id",
  2521. "name": "middlegoodsid",
  2522. "in": "query",
  2523. "required": true
  2524. }
  2525. ],
  2526. "responses": {
  2527. "200": {
  2528. "description": "OK",
  2529. "schema": {
  2530. "type": "array",
  2531. "items": {
  2532. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2533. }
  2534. }
  2535. },
  2536. "500": {
  2537. "description": "Internal Server Error",
  2538. "schema": {
  2539. "$ref": "#/definitions/app.Response"
  2540. }
  2541. }
  2542. }
  2543. }
  2544. },
  2545. "/Ermcp/QueryMiddleGoodsDetail": {
  2546. "get": {
  2547. "security": [
  2548. {
  2549. "ApiKeyAuth": []
  2550. }
  2551. ],
  2552. "produces": [
  2553. "application/json"
  2554. ],
  2555. "tags": [
  2556. "企业风险管理(app)"
  2557. ],
  2558. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2559. "parameters": [
  2560. {
  2561. "type": "integer",
  2562. "description": "所属机构ID",
  2563. "name": "userid",
  2564. "in": "query",
  2565. "required": true
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "套保品种id",
  2570. "name": "middlegoodsid",
  2571. "in": "query",
  2572. "required": true
  2573. }
  2574. ],
  2575. "responses": {
  2576. "200": {
  2577. "description": "OK",
  2578. "schema": {
  2579. "type": "array",
  2580. "items": {
  2581. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2582. }
  2583. }
  2584. },
  2585. "500": {
  2586. "description": "Internal Server Error",
  2587. "schema": {
  2588. "$ref": "#/definitions/app.Response"
  2589. }
  2590. }
  2591. }
  2592. }
  2593. },
  2594. "/Ermcp/QueryPendingAuditInfo": {
  2595. "get": {
  2596. "security": [
  2597. {
  2598. "ApiKeyAuth": []
  2599. }
  2600. ],
  2601. "produces": [
  2602. "application/json"
  2603. ],
  2604. "tags": [
  2605. "企业风险管理(app)"
  2606. ],
  2607. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2608. "parameters": [
  2609. {
  2610. "type": "integer",
  2611. "description": "用户ID",
  2612. "name": "UserId",
  2613. "in": "query",
  2614. "required": true
  2615. }
  2616. ],
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp/QueryRealtimeExposure": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理(app)"
  2648. ],
  2649. "summary": "查询实时敞口",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "所属机构ID",
  2654. "name": "AreaUserID",
  2655. "in": "query",
  2656. "required": true
  2657. }
  2658. ],
  2659. "responses": {
  2660. "200": {
  2661. "description": "OK",
  2662. "schema": {
  2663. "type": "array",
  2664. "items": {
  2665. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2666. }
  2667. }
  2668. },
  2669. "500": {
  2670. "description": "Internal Server Error",
  2671. "schema": {
  2672. "$ref": "#/definitions/app.Response"
  2673. }
  2674. }
  2675. }
  2676. }
  2677. },
  2678. "/Ermcp/QueryRealtimeExposurePosition": {
  2679. "get": {
  2680. "security": [
  2681. {
  2682. "ApiKeyAuth": []
  2683. }
  2684. ],
  2685. "produces": [
  2686. "application/json"
  2687. ],
  2688. "tags": [
  2689. "企业风险管理(app)"
  2690. ],
  2691. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2692. "parameters": [
  2693. {
  2694. "type": "integer",
  2695. "description": "所属机构ID",
  2696. "name": "areaUserId",
  2697. "in": "query",
  2698. "required": true
  2699. },
  2700. {
  2701. "type": "integer",
  2702. "description": "套保商品ID",
  2703. "name": "middleGoodsId",
  2704. "in": "query",
  2705. "required": true
  2706. }
  2707. ],
  2708. "responses": {
  2709. "200": {
  2710. "description": "OK",
  2711. "schema": {
  2712. "type": "array",
  2713. "items": {
  2714. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2715. }
  2716. }
  2717. },
  2718. "500": {
  2719. "description": "Internal Server Error",
  2720. "schema": {
  2721. "$ref": "#/definitions/app.Response"
  2722. }
  2723. }
  2724. }
  2725. }
  2726. },
  2727. "/Ermcp/QuerySpotContract": {
  2728. "get": {
  2729. "security": [
  2730. {
  2731. "ApiKeyAuth": []
  2732. }
  2733. ],
  2734. "produces": [
  2735. "application/json"
  2736. ],
  2737. "tags": [
  2738. "企业风险管理(app)"
  2739. ],
  2740. "summary": "查询现货合同(对应现货合同菜单)",
  2741. "parameters": [
  2742. {
  2743. "type": "integer",
  2744. "description": "用户ID",
  2745. "name": "userId",
  2746. "in": "query",
  2747. "required": true
  2748. },
  2749. {
  2750. "type": "integer",
  2751. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2752. "name": "QueryType",
  2753. "in": "query",
  2754. "required": true
  2755. }
  2756. ],
  2757. "responses": {
  2758. "200": {
  2759. "description": "OK",
  2760. "schema": {
  2761. "type": "array",
  2762. "items": {
  2763. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2764. }
  2765. }
  2766. },
  2767. "500": {
  2768. "description": "Internal Server Error",
  2769. "schema": {
  2770. "$ref": "#/definitions/app.Response"
  2771. }
  2772. }
  2773. }
  2774. }
  2775. },
  2776. "/Ermcp/QueryUserInfo": {
  2777. "get": {
  2778. "security": [
  2779. {
  2780. "ApiKeyAuth": []
  2781. }
  2782. ],
  2783. "produces": [
  2784. "application/json"
  2785. ],
  2786. "tags": [
  2787. "企业风险管理(app)"
  2788. ],
  2789. "summary": "查询客户资料",
  2790. "parameters": [
  2791. {
  2792. "type": "integer",
  2793. "description": "所属机构用户ID",
  2794. "name": "MemberUserID",
  2795. "in": "query",
  2796. "required": true
  2797. },
  2798. {
  2799. "type": "integer",
  2800. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2801. "name": "queryType",
  2802. "in": "query",
  2803. "required": true
  2804. }
  2805. ],
  2806. "responses": {
  2807. "200": {
  2808. "description": "OK",
  2809. "schema": {
  2810. "type": "array",
  2811. "items": {
  2812. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2813. }
  2814. }
  2815. },
  2816. "500": {
  2817. "description": "Internal Server Error",
  2818. "schema": {
  2819. "$ref": "#/definitions/app.Response"
  2820. }
  2821. }
  2822. }
  2823. }
  2824. },
  2825. "/Ermcp/QueryWarehouseInfo": {
  2826. "get": {
  2827. "security": [
  2828. {
  2829. "ApiKeyAuth": []
  2830. }
  2831. ],
  2832. "produces": [
  2833. "application/json"
  2834. ],
  2835. "tags": [
  2836. "企业风险管理(app)"
  2837. ],
  2838. "summary": "查询仓库信息",
  2839. "parameters": [
  2840. {
  2841. "type": "integer",
  2842. "description": "用户ID",
  2843. "name": "userid",
  2844. "in": "query",
  2845. "required": true
  2846. },
  2847. {
  2848. "type": "string",
  2849. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2850. "name": "status",
  2851. "in": "query"
  2852. }
  2853. ],
  2854. "responses": {
  2855. "200": {
  2856. "description": "OK",
  2857. "schema": {
  2858. "type": "array",
  2859. "items": {
  2860. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2861. }
  2862. }
  2863. },
  2864. "500": {
  2865. "description": "Internal Server Error",
  2866. "schema": {
  2867. "$ref": "#/definitions/app.Response"
  2868. }
  2869. }
  2870. }
  2871. }
  2872. },
  2873. "/Ermcp/QueryWrStandard": {
  2874. "get": {
  2875. "security": [
  2876. {
  2877. "ApiKeyAuth": []
  2878. }
  2879. ],
  2880. "produces": [
  2881. "application/json"
  2882. ],
  2883. "tags": [
  2884. "企业风险管理(app)"
  2885. ],
  2886. "summary": "查询现货商品",
  2887. "parameters": [
  2888. {
  2889. "type": "integer",
  2890. "description": "所属机构ID",
  2891. "name": "userid",
  2892. "in": "query",
  2893. "required": true
  2894. },
  2895. {
  2896. "type": "integer",
  2897. "description": "状态 0-停用 1-正常",
  2898. "name": "status",
  2899. "in": "query",
  2900. "required": true
  2901. }
  2902. ],
  2903. "responses": {
  2904. "200": {
  2905. "description": "OK",
  2906. "schema": {
  2907. "type": "array",
  2908. "items": {
  2909. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2910. }
  2911. }
  2912. },
  2913. "500": {
  2914. "description": "Internal Server Error",
  2915. "schema": {
  2916. "$ref": "#/definitions/app.Response"
  2917. }
  2918. }
  2919. }
  2920. }
  2921. },
  2922. "/Ermcp/QueryWrStandardDetail": {
  2923. "get": {
  2924. "security": [
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "produces": [
  2930. "application/json"
  2931. ],
  2932. "tags": [
  2933. "企业风险管理(app)"
  2934. ],
  2935. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2936. "parameters": [
  2937. {
  2938. "type": "integer",
  2939. "description": "所属机构ID",
  2940. "name": "userid",
  2941. "in": "query",
  2942. "required": true
  2943. },
  2944. {
  2945. "type": "integer",
  2946. "description": "现货商品ID",
  2947. "name": "wrstandardid",
  2948. "in": "query",
  2949. "required": true
  2950. },
  2951. {
  2952. "type": "integer",
  2953. "description": "可不填, 1-查询关联交易商品",
  2954. "name": "goods",
  2955. "in": "query"
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "type": "array",
  2963. "items": {
  2964. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2965. }
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/Erms2/QueryArbitrageStrategy": {
  2978. "get": {
  2979. "security": [
  2980. {
  2981. "ApiKeyAuth": []
  2982. }
  2983. ],
  2984. "produces": [
  2985. "application/json"
  2986. ],
  2987. "tags": [
  2988. "风险管理"
  2989. ],
  2990. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2991. "parameters": [
  2992. {
  2993. "type": "integer",
  2994. "description": "账户ID",
  2995. "name": "userid",
  2996. "in": "query",
  2997. "required": true
  2998. },
  2999. {
  3000. "type": "string",
  3001. "description": "商品组ID(品种ID)",
  3002. "name": "goodsgroupid",
  3003. "in": "query"
  3004. }
  3005. ],
  3006. "responses": {
  3007. "200": {
  3008. "description": "OK",
  3009. "schema": {
  3010. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3011. }
  3012. },
  3013. "500": {
  3014. "description": "Internal Server Error",
  3015. "schema": {
  3016. "$ref": "#/definitions/app.Response"
  3017. }
  3018. }
  3019. }
  3020. }
  3021. },
  3022. "/Erms2/QueryInnerTradeDetail": {
  3023. "get": {
  3024. "security": [
  3025. {
  3026. "ApiKeyAuth": []
  3027. }
  3028. ],
  3029. "produces": [
  3030. "application/json"
  3031. ],
  3032. "tags": [
  3033. "风险管理"
  3034. ],
  3035. "summary": "查询内部成交单信息",
  3036. "parameters": [
  3037. {
  3038. "type": "integer",
  3039. "description": "资金账户",
  3040. "name": "accountid",
  3041. "in": "query",
  3042. "required": true
  3043. }
  3044. ],
  3045. "responses": {
  3046. "200": {
  3047. "description": "OK",
  3048. "schema": {
  3049. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3050. }
  3051. },
  3052. "500": {
  3053. "description": "Internal Server Error",
  3054. "schema": {
  3055. "$ref": "#/definitions/app.Response"
  3056. }
  3057. }
  3058. }
  3059. }
  3060. },
  3061. "/Erms2/QuerySpotContract": {
  3062. "get": {
  3063. "security": [
  3064. {
  3065. "ApiKeyAuth": []
  3066. }
  3067. ],
  3068. "produces": [
  3069. "application/json"
  3070. ],
  3071. "tags": [
  3072. "风险管理"
  3073. ],
  3074. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3075. "parameters": [
  3076. {
  3077. "type": "integer",
  3078. "description": "策略申请ID",
  3079. "name": "asapplyid",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "integer",
  3085. "description": "现货合同ID",
  3086. "name": "spotcontractid",
  3087. "in": "query"
  3088. }
  3089. ],
  3090. "responses": {
  3091. "200": {
  3092. "description": "OK",
  3093. "schema": {
  3094. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3095. }
  3096. },
  3097. "500": {
  3098. "description": "Internal Server Error",
  3099. "schema": {
  3100. "$ref": "#/definitions/app.Response"
  3101. }
  3102. }
  3103. }
  3104. }
  3105. },
  3106. "/Erms3/AddErms2ASApply": {
  3107. "post": {
  3108. "security": [
  3109. {
  3110. "ApiKeyAuth": []
  3111. }
  3112. ],
  3113. "produces": [
  3114. "application/json"
  3115. ],
  3116. "tags": [
  3117. "风险管理v3"
  3118. ],
  3119. "summary": "新增期现套利业务申请",
  3120. "parameters": [
  3121. {
  3122. "description": "申请参数",
  3123. "name": "jsonBody",
  3124. "in": "body",
  3125. "required": true,
  3126. "schema": {
  3127. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3128. }
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "$ref": "#/definitions/app.Response"
  3136. }
  3137. },
  3138. "500": {
  3139. "description": "Internal Server Error",
  3140. "schema": {
  3141. "$ref": "#/definitions/app.Response"
  3142. }
  3143. }
  3144. }
  3145. }
  3146. },
  3147. "/Erms3/AddErms2SpotTradeApply": {
  3148. "post": {
  3149. "security": [
  3150. {
  3151. "ApiKeyAuth": []
  3152. }
  3153. ],
  3154. "produces": [
  3155. "application/json"
  3156. ],
  3157. "tags": [
  3158. "风险管理v3"
  3159. ],
  3160. "summary": "新增现货贸易业务申请",
  3161. "parameters": [
  3162. {
  3163. "description": "申请参数",
  3164. "name": "jsonBody",
  3165. "in": "body",
  3166. "required": true,
  3167. "schema": {
  3168. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3169. }
  3170. }
  3171. ],
  3172. "responses": {
  3173. "200": {
  3174. "description": "OK",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. },
  3179. "500": {
  3180. "description": "Internal Server Error",
  3181. "schema": {
  3182. "$ref": "#/definitions/app.Response"
  3183. }
  3184. }
  3185. }
  3186. }
  3187. },
  3188. "/Erms3/AddSpotContractApply": {
  3189. "post": {
  3190. "security": [
  3191. {
  3192. "ApiKeyAuth": []
  3193. }
  3194. ],
  3195. "produces": [
  3196. "application/json"
  3197. ],
  3198. "tags": [
  3199. "风险管理v3"
  3200. ],
  3201. "summary": "新增现货合同申请",
  3202. "parameters": [
  3203. {
  3204. "description": "申请参数",
  3205. "name": "jsonBody",
  3206. "in": "body",
  3207. "required": true,
  3208. "schema": {
  3209. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3210. }
  3211. }
  3212. ],
  3213. "responses": {
  3214. "200": {
  3215. "description": "OK",
  3216. "schema": {
  3217. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3218. }
  3219. },
  3220. "500": {
  3221. "description": "Internal Server Error",
  3222. "schema": {
  3223. "$ref": "#/definitions/app.Response"
  3224. }
  3225. }
  3226. }
  3227. }
  3228. },
  3229. "/Erms3/AddUserInfoApply": {
  3230. "post": {
  3231. "security": [
  3232. {
  3233. "ApiKeyAuth": []
  3234. }
  3235. ],
  3236. "produces": [
  3237. "application/json"
  3238. ],
  3239. "tags": [
  3240. "风险管理v3"
  3241. ],
  3242. "summary": "新增客户申请",
  3243. "parameters": [
  3244. {
  3245. "description": "用户信息",
  3246. "name": "jsonBody",
  3247. "in": "body",
  3248. "required": true,
  3249. "schema": {
  3250. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3251. }
  3252. }
  3253. ],
  3254. "responses": {
  3255. "200": {
  3256. "description": "OK",
  3257. "schema": {
  3258. "$ref": "#/definitions/app.Response"
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Erms3/ModifyUserInfoApply": {
  3271. "post": {
  3272. "security": [
  3273. {
  3274. "ApiKeyAuth": []
  3275. }
  3276. ],
  3277. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3278. "produces": [
  3279. "application/json"
  3280. ],
  3281. "tags": [
  3282. "风险管理v3"
  3283. ],
  3284. "summary": "修改客户申请",
  3285. "parameters": [
  3286. {
  3287. "description": "用户信息",
  3288. "name": "jsonBody",
  3289. "in": "body",
  3290. "required": true,
  3291. "schema": {
  3292. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3293. }
  3294. }
  3295. ],
  3296. "responses": {
  3297. "200": {
  3298. "description": "OK",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. },
  3303. "500": {
  3304. "description": "Internal Server Error",
  3305. "schema": {
  3306. "$ref": "#/definitions/app.Response"
  3307. }
  3308. }
  3309. }
  3310. }
  3311. },
  3312. "/Erms3/QueryBusinessInfo": {
  3313. "get": {
  3314. "security": [
  3315. {
  3316. "ApiKeyAuth": []
  3317. }
  3318. ],
  3319. "produces": [
  3320. "application/json"
  3321. ],
  3322. "tags": [
  3323. "风险管理v3"
  3324. ],
  3325. "summary": "查询业务表单数据",
  3326. "parameters": [
  3327. {
  3328. "type": "string",
  3329. "description": "资金账号ID列表,用逗号分隔",
  3330. "name": "accountids",
  3331. "in": "query",
  3332. "required": true
  3333. },
  3334. {
  3335. "type": "integer",
  3336. "description": "状态,0为未结束 1为已结束",
  3337. "name": "status",
  3338. "in": "query",
  3339. "required": true
  3340. }
  3341. ],
  3342. "responses": {
  3343. "200": {
  3344. "description": "OK",
  3345. "schema": {
  3346. "type": "array",
  3347. "items": {
  3348. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3349. }
  3350. }
  3351. },
  3352. "500": {
  3353. "description": "Internal Server Error",
  3354. "schema": {
  3355. "$ref": "#/definitions/app.Response"
  3356. }
  3357. }
  3358. }
  3359. }
  3360. },
  3361. "/Erms3/QueryPendingAuditContract": {
  3362. "get": {
  3363. "security": [
  3364. {
  3365. "ApiKeyAuth": []
  3366. }
  3367. ],
  3368. "produces": [
  3369. "application/json"
  3370. ],
  3371. "tags": [
  3372. "风险管理v3"
  3373. ],
  3374. "summary": "查询待审核合同",
  3375. "parameters": [
  3376. {
  3377. "type": "string",
  3378. "description": "资金账号ID列表,逗号隔开",
  3379. "name": "accountids",
  3380. "in": "query",
  3381. "required": true
  3382. },
  3383. {
  3384. "type": "integer",
  3385. "description": "合同类型 1-采购 -1-销售",
  3386. "name": "contracttype",
  3387. "in": "query",
  3388. "required": true
  3389. },
  3390. {
  3391. "type": "integer",
  3392. "description": "合同模式 1-普通 2-回购",
  3393. "name": "contractmode",
  3394. "in": "query",
  3395. "required": true
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Erms3/QueryPendingBusiness": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "风险管理v3"
  3429. ],
  3430. "summary": "查询待审核基差贸易业务",
  3431. "parameters": [
  3432. {
  3433. "type": "string",
  3434. "description": "资金账号ID列表,逗号隔开",
  3435. "name": "accountids",
  3436. "in": "query",
  3437. "required": true
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "type": "array",
  3445. "items": {
  3446. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3447. }
  3448. }
  3449. },
  3450. "500": {
  3451. "description": "Internal Server Error",
  3452. "schema": {
  3453. "$ref": "#/definitions/app.Response"
  3454. }
  3455. }
  3456. }
  3457. }
  3458. },
  3459. "/Erms3/QuerySpotContractAppleForm": {
  3460. "get": {
  3461. "security": [
  3462. {
  3463. "ApiKeyAuth": []
  3464. }
  3465. ],
  3466. "produces": [
  3467. "application/json"
  3468. ],
  3469. "tags": [
  3470. "风险管理v3"
  3471. ],
  3472. "summary": "查询合同申请表单数据",
  3473. "parameters": [
  3474. {
  3475. "type": "integer",
  3476. "description": "登录账号",
  3477. "name": "loginID",
  3478. "in": "query",
  3479. "required": true
  3480. }
  3481. ],
  3482. "responses": {
  3483. "200": {
  3484. "description": "OK",
  3485. "schema": {
  3486. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3487. }
  3488. },
  3489. "500": {
  3490. "description": "Internal Server Error",
  3491. "schema": {
  3492. "$ref": "#/definitions/app.Response"
  3493. }
  3494. }
  3495. }
  3496. }
  3497. },
  3498. "/Erms3/QuerySpotContractDetail": {
  3499. "get": {
  3500. "security": [
  3501. {
  3502. "ApiKeyAuth": []
  3503. }
  3504. ],
  3505. "produces": [
  3506. "application/json"
  3507. ],
  3508. "tags": [
  3509. "风险管理v3"
  3510. ],
  3511. "summary": "查询合同详细信息",
  3512. "parameters": [
  3513. {
  3514. "type": "string",
  3515. "description": "资金账号ID列表,用逗号分隔",
  3516. "name": "accountids",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "合同类型,1为采购合同 -1为销售合同",
  3523. "name": "contracttype",
  3524. "in": "query",
  3525. "required": true
  3526. },
  3527. {
  3528. "type": "integer",
  3529. "description": "合同模式,1为普通合同 2为回购销售合同",
  3530. "name": "contractmode",
  3531. "in": "query",
  3532. "required": true
  3533. },
  3534. {
  3535. "type": "integer",
  3536. "description": "状态,0为履约中 1为已完成",
  3537. "name": "status",
  3538. "in": "query",
  3539. "required": true
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3549. }
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/Erms3/QueryUserInfoApplies": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "风险管理v3"
  3573. ],
  3574. "summary": "客户申请信息查询",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "页码",
  3579. "name": "page",
  3580. "in": "query"
  3581. },
  3582. {
  3583. "type": "integer",
  3584. "description": "每页条数",
  3585. "name": "pagesize",
  3586. "in": "query"
  3587. },
  3588. {
  3589. "type": "string",
  3590. "description": "客户名称,支持模糊查询",
  3591. "name": "userName",
  3592. "in": "query"
  3593. }
  3594. ],
  3595. "responses": {
  3596. "200": {
  3597. "description": "OK",
  3598. "schema": {
  3599. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/app.Response"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/Erms3/QueryUserInfos": {
  3612. "get": {
  3613. "security": [
  3614. {
  3615. "ApiKeyAuth": []
  3616. }
  3617. ],
  3618. "produces": [
  3619. "application/json"
  3620. ],
  3621. "tags": [
  3622. "风险管理v3"
  3623. ],
  3624. "summary": "客户信息查询",
  3625. "parameters": [
  3626. {
  3627. "type": "integer",
  3628. "description": "页码",
  3629. "name": "page",
  3630. "in": "query"
  3631. },
  3632. {
  3633. "type": "integer",
  3634. "description": "每页条数",
  3635. "name": "pagesize",
  3636. "in": "query"
  3637. },
  3638. {
  3639. "type": "string",
  3640. "description": "客户名称,支持模糊查询",
  3641. "name": "userName",
  3642. "in": "query"
  3643. }
  3644. ],
  3645. "responses": {
  3646. "200": {
  3647. "description": "OK",
  3648. "schema": {
  3649. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/HSBY/GetHsbyMyCount": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "说明: 不包括已完成的数量。",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "定制【海商报业】"
  3674. ],
  3675. "summary": "获取我的订单与包裹数量",
  3676. "parameters": [
  3677. {
  3678. "type": "string",
  3679. "description": "资金账户列表,格式:1,2,3",
  3680. "name": "accountIDs",
  3681. "in": "query",
  3682. "required": true
  3683. }
  3684. ],
  3685. "responses": {
  3686. "200": {
  3687. "description": "OK",
  3688. "schema": {
  3689. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3690. }
  3691. },
  3692. "500": {
  3693. "description": "Internal Server Error",
  3694. "schema": {
  3695. "$ref": "#/definitions/app.Response"
  3696. }
  3697. }
  3698. }
  3699. }
  3700. },
  3701. "/HSBY/QueryClientFixedADConfigs": {
  3702. "get": {
  3703. "security": [
  3704. {
  3705. "ApiKeyAuth": []
  3706. }
  3707. ],
  3708. "produces": [
  3709. "application/json"
  3710. ],
  3711. "tags": [
  3712. "定制【海商报业】"
  3713. ],
  3714. "summary": "获取终端固定广告配置",
  3715. "responses": {
  3716. "200": {
  3717. "description": "OK",
  3718. "schema": {
  3719. "$ref": "#/definitions/models.Clientfixedadconfig"
  3720. }
  3721. },
  3722. "500": {
  3723. "description": "Internal Server Error",
  3724. "schema": {
  3725. "$ref": "#/definitions/app.Response"
  3726. }
  3727. }
  3728. }
  3729. }
  3730. },
  3731. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3732. "get": {
  3733. "security": [
  3734. {
  3735. "ApiKeyAuth": []
  3736. }
  3737. ],
  3738. "produces": [
  3739. "application/json"
  3740. ],
  3741. "tags": [
  3742. "定制【海商报业】"
  3743. ],
  3744. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3745. "parameters": [
  3746. {
  3747. "type": "integer",
  3748. "description": "页码",
  3749. "name": "page",
  3750. "in": "query"
  3751. },
  3752. {
  3753. "type": "integer",
  3754. "description": "每页条数",
  3755. "name": "pagesize",
  3756. "in": "query"
  3757. },
  3758. {
  3759. "type": "string",
  3760. "description": "资金账户列表,格式:1,2,3",
  3761. "name": "accountIDs",
  3762. "in": "query",
  3763. "required": true
  3764. }
  3765. ],
  3766. "responses": {
  3767. "200": {
  3768. "description": "OK",
  3769. "schema": {
  3770. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3771. }
  3772. },
  3773. "500": {
  3774. "description": "Internal Server Error",
  3775. "schema": {
  3776. "$ref": "#/definitions/app.Response"
  3777. }
  3778. }
  3779. }
  3780. }
  3781. },
  3782. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3783. "get": {
  3784. "security": [
  3785. {
  3786. "ApiKeyAuth": []
  3787. }
  3788. ],
  3789. "description": "说明:查询结果已按委托价格和委托时间排序",
  3790. "produces": [
  3791. "application/json"
  3792. ],
  3793. "tags": [
  3794. "定制【海商报业】"
  3795. ],
  3796. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3797. "parameters": [
  3798. {
  3799. "type": "integer",
  3800. "description": "商品ID",
  3801. "name": "goodsID",
  3802. "in": "query",
  3803. "required": true
  3804. },
  3805. {
  3806. "type": "string",
  3807. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3808. "name": "accountIDs",
  3809. "in": "query"
  3810. },
  3811. {
  3812. "type": "integer",
  3813. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3814. "name": "buyOrSell",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "number",
  3819. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3820. "name": "price",
  3821. "in": "query"
  3822. },
  3823. {
  3824. "type": "integer",
  3825. "description": "档位,不传则默认为3档",
  3826. "name": "speed",
  3827. "in": "query"
  3828. }
  3829. ],
  3830. "responses": {
  3831. "200": {
  3832. "description": "OK",
  3833. "schema": {
  3834. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/HSBY/QueryHsbyListingGoodsDetail": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "定制【海商报业】"
  3859. ],
  3860. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3861. "parameters": [
  3862. {
  3863. "type": "integer",
  3864. "description": "商品ID",
  3865. "name": "goodsID",
  3866. "in": "query",
  3867. "required": true
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3872. "name": "accountID",
  3873. "in": "query"
  3874. }
  3875. ],
  3876. "responses": {
  3877. "200": {
  3878. "description": "OK",
  3879. "schema": {
  3880. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "定制【海商报业】"
  3904. ],
  3905. "summary": "查询三级市场(商城)商品信息详情",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "委托单号",
  3910. "name": "orderID",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3917. "name": "accountID",
  3918. "in": "query"
  3919. }
  3920. ],
  3921. "responses": {
  3922. "200": {
  3923. "description": "OK",
  3924. "schema": {
  3925. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3926. }
  3927. },
  3928. "500": {
  3929. "description": "Internal Server Error",
  3930. "schema": {
  3931. "$ref": "#/definitions/app.Response"
  3932. }
  3933. }
  3934. }
  3935. }
  3936. },
  3937. "/HSBY/QueryHsbyMarketGoodses": {
  3938. "get": {
  3939. "security": [
  3940. {
  3941. "ApiKeyAuth": []
  3942. }
  3943. ],
  3944. "produces": [
  3945. "application/json"
  3946. ],
  3947. "tags": [
  3948. "定制【海商报业】"
  3949. ],
  3950. "summary": "查询特卖商品列表(三级商城)",
  3951. "parameters": [
  3952. {
  3953. "type": "integer",
  3954. "description": "页码",
  3955. "name": "page",
  3956. "in": "query"
  3957. },
  3958. {
  3959. "type": "integer",
  3960. "description": "每页条数",
  3961. "name": "pagesize",
  3962. "in": "query"
  3963. },
  3964. {
  3965. "type": "string",
  3966. "description": "市场ID列表,格式:1,2,3",
  3967. "name": "marketIDs",
  3968. "in": "query",
  3969. "required": true
  3970. },
  3971. {
  3972. "type": "integer",
  3973. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3974. "name": "accountID",
  3975. "in": "query",
  3976. "required": true
  3977. },
  3978. {
  3979. "type": "integer",
  3980. "description": "类别ID",
  3981. "name": "categoryID",
  3982. "in": "query"
  3983. },
  3984. {
  3985. "type": "string",
  3986. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3987. "name": "goodsIDs",
  3988. "in": "query"
  3989. },
  3990. {
  3991. "type": "integer",
  3992. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3993. "name": "couponTypeID",
  3994. "in": "query"
  3995. }
  3996. ],
  3997. "responses": {
  3998. "200": {
  3999. "description": "OK",
  4000. "schema": {
  4001. "$ref": "#/definitions/models.HsbyMarketGoods"
  4002. }
  4003. },
  4004. "500": {
  4005. "description": "Internal Server Error",
  4006. "schema": {
  4007. "$ref": "#/definitions/app.Response"
  4008. }
  4009. }
  4010. }
  4011. }
  4012. },
  4013. "/HSBY/QueryHsbyMarkets": {
  4014. "get": {
  4015. "security": [
  4016. {
  4017. "ApiKeyAuth": []
  4018. }
  4019. ],
  4020. "produces": [
  4021. "application/json"
  4022. ],
  4023. "tags": [
  4024. "定制【海商报业】"
  4025. ],
  4026. "summary": "查询海商报业相关市场信息",
  4027. "responses": {
  4028. "200": {
  4029. "description": "OK",
  4030. "schema": {
  4031. "$ref": "#/definitions/models.HsbyMarketInfo"
  4032. }
  4033. },
  4034. "500": {
  4035. "description": "Internal Server Error",
  4036. "schema": {
  4037. "$ref": "#/definitions/app.Response"
  4038. }
  4039. }
  4040. }
  4041. }
  4042. },
  4043. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4044. "get": {
  4045. "security": [
  4046. {
  4047. "ApiKeyAuth": []
  4048. }
  4049. ],
  4050. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4051. "produces": [
  4052. "application/json"
  4053. ],
  4054. "tags": [
  4055. "定制【海商报业】"
  4056. ],
  4057. "summary": "查询“我的订单”信息",
  4058. "parameters": [
  4059. {
  4060. "type": "string",
  4061. "description": "资金账户列表,格式:1,2,3",
  4062. "name": "accountIDs",
  4063. "in": "query",
  4064. "required": true
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4072. }
  4073. },
  4074. "500": {
  4075. "description": "Internal Server Error",
  4076. "schema": {
  4077. "$ref": "#/definitions/app.Response"
  4078. }
  4079. }
  4080. }
  4081. }
  4082. },
  4083. "/HSBY/QueryHsbyMyGoods": {
  4084. "get": {
  4085. "security": [
  4086. {
  4087. "ApiKeyAuth": []
  4088. }
  4089. ],
  4090. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4091. "produces": [
  4092. "application/json"
  4093. ],
  4094. "tags": [
  4095. "定制【海商报业】"
  4096. ],
  4097. "summary": "查询“我的商品”信息",
  4098. "parameters": [
  4099. {
  4100. "type": "string",
  4101. "description": "资金账户列表,格式:1,2,3",
  4102. "name": "accountIDs",
  4103. "in": "query",
  4104. "required": true
  4105. }
  4106. ],
  4107. "responses": {
  4108. "200": {
  4109. "description": "OK",
  4110. "schema": {
  4111. "$ref": "#/definitions/models.HsbyMyGoods"
  4112. }
  4113. },
  4114. "500": {
  4115. "description": "Internal Server Error",
  4116. "schema": {
  4117. "$ref": "#/definitions/app.Response"
  4118. }
  4119. }
  4120. }
  4121. }
  4122. },
  4123. "/HSBY/QueryHsbyMyPackages": {
  4124. "get": {
  4125. "security": [
  4126. {
  4127. "ApiKeyAuth": []
  4128. }
  4129. ],
  4130. "produces": [
  4131. "application/json"
  4132. ],
  4133. "tags": [
  4134. "定制【海商报业】"
  4135. ],
  4136. "summary": "查询我的包裹信息",
  4137. "parameters": [
  4138. {
  4139. "type": "string",
  4140. "description": "资金账户列表,格式:1,2,3",
  4141. "name": "accountIDs",
  4142. "in": "query",
  4143. "required": true
  4144. },
  4145. {
  4146. "type": "integer",
  4147. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4148. "name": "takeOrderStatus",
  4149. "in": "query"
  4150. }
  4151. ],
  4152. "responses": {
  4153. "200": {
  4154. "description": "OK",
  4155. "schema": {
  4156. "$ref": "#/definitions/models.HsbyMyPackage"
  4157. }
  4158. },
  4159. "500": {
  4160. "description": "Internal Server Error",
  4161. "schema": {
  4162. "$ref": "#/definitions/app.Response"
  4163. }
  4164. }
  4165. }
  4166. }
  4167. },
  4168. "/HSBY/QueryHsbyPreGoodsDetail": {
  4169. "get": {
  4170. "security": [
  4171. {
  4172. "ApiKeyAuth": []
  4173. }
  4174. ],
  4175. "produces": [
  4176. "application/json"
  4177. ],
  4178. "tags": [
  4179. "定制【海商报业】"
  4180. ],
  4181. "summary": "查询一级市场(预售)商品信息详情",
  4182. "parameters": [
  4183. {
  4184. "type": "integer",
  4185. "description": "商品ID",
  4186. "name": "goodsID",
  4187. "in": "query",
  4188. "required": true
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "资金账户,主要用于获取预售商品购买上限",
  4193. "name": "accountID",
  4194. "in": "query"
  4195. }
  4196. ],
  4197. "responses": {
  4198. "200": {
  4199. "description": "OK",
  4200. "schema": {
  4201. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/HSBY/QueryHsbyPreGoodses": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4221. "produces": [
  4222. "application/json"
  4223. ],
  4224. "tags": [
  4225. "定制【海商报业】"
  4226. ],
  4227. "summary": "查询新品上市商品列表(一级市场预售)",
  4228. "parameters": [
  4229. {
  4230. "type": "integer",
  4231. "description": "页码",
  4232. "name": "page",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "每页条数",
  4238. "name": "pagesize",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "string",
  4243. "description": "市场ID列表,格式:1,2,3",
  4244. "name": "marketIDs",
  4245. "in": "query",
  4246. "required": true
  4247. },
  4248. {
  4249. "type": "integer",
  4250. "description": "目的地(省)ID",
  4251. "name": "descProvinceID",
  4252. "in": "query"
  4253. },
  4254. {
  4255. "type": "integer",
  4256. "description": "目的地(市)ID",
  4257. "name": "descCityID",
  4258. "in": "query"
  4259. }
  4260. ],
  4261. "responses": {
  4262. "200": {
  4263. "description": "OK",
  4264. "schema": {
  4265. "$ref": "#/definitions/models.HsbyPreGoods"
  4266. }
  4267. },
  4268. "500": {
  4269. "description": "Internal Server Error",
  4270. "schema": {
  4271. "$ref": "#/definitions/app.Response"
  4272. }
  4273. }
  4274. }
  4275. }
  4276. },
  4277. "/HSBY/QueryHsbySellMyDetails": {
  4278. "get": {
  4279. "security": [
  4280. {
  4281. "ApiKeyAuth": []
  4282. }
  4283. ],
  4284. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4285. "produces": [
  4286. "application/json"
  4287. ],
  4288. "tags": [
  4289. "定制【海商报业】"
  4290. ],
  4291. "summary": "查询\"我的闲置\"单据信息",
  4292. "parameters": [
  4293. {
  4294. "type": "integer",
  4295. "description": "页码",
  4296. "name": "page",
  4297. "in": "query"
  4298. },
  4299. {
  4300. "type": "integer",
  4301. "description": "每页条数",
  4302. "name": "pagesize",
  4303. "in": "query"
  4304. },
  4305. {
  4306. "type": "string",
  4307. "description": "资金账户列表,格式:1,2,3",
  4308. "name": "accountIDs",
  4309. "in": "query",
  4310. "required": true
  4311. },
  4312. {
  4313. "type": "integer",
  4314. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4315. "name": "orderType",
  4316. "in": "query"
  4317. }
  4318. ],
  4319. "responses": {
  4320. "200": {
  4321. "description": "OK",
  4322. "schema": {
  4323. "$ref": "#/definitions/models.HsbySellMyDetail"
  4324. }
  4325. },
  4326. "500": {
  4327. "description": "Internal Server Error",
  4328. "schema": {
  4329. "$ref": "#/definitions/app.Response"
  4330. }
  4331. }
  4332. }
  4333. }
  4334. },
  4335. "/HSBY/QueryHsbyTopGoodses": {
  4336. "get": {
  4337. "security": [
  4338. {
  4339. "ApiKeyAuth": []
  4340. }
  4341. ],
  4342. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4343. "produces": [
  4344. "application/json"
  4345. ],
  4346. "tags": [
  4347. "定制【海商报业】"
  4348. ],
  4349. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4350. "parameters": [
  4351. {
  4352. "type": "integer",
  4353. "description": "页码",
  4354. "name": "page",
  4355. "in": "query"
  4356. },
  4357. {
  4358. "type": "integer",
  4359. "description": "每页条数",
  4360. "name": "pagesize",
  4361. "in": "query"
  4362. },
  4363. {
  4364. "type": "string",
  4365. "description": "市场ID列表,格式:1,2,3",
  4366. "name": "marketIDs",
  4367. "in": "query",
  4368. "required": true
  4369. },
  4370. {
  4371. "type": "integer",
  4372. "description": "目的地(省)ID",
  4373. "name": "descProvinceID",
  4374. "in": "query"
  4375. },
  4376. {
  4377. "type": "integer",
  4378. "description": "目的地(市)ID",
  4379. "name": "descCityID",
  4380. "in": "query"
  4381. }
  4382. ],
  4383. "responses": {
  4384. "200": {
  4385. "description": "OK",
  4386. "schema": {
  4387. "$ref": "#/definitions/models.HsbyTopGoods"
  4388. }
  4389. },
  4390. "500": {
  4391. "description": "Internal Server Error",
  4392. "schema": {
  4393. "$ref": "#/definitions/app.Response"
  4394. }
  4395. }
  4396. }
  4397. }
  4398. },
  4399. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4400. "get": {
  4401. "security": [
  4402. {
  4403. "ApiKeyAuth": []
  4404. }
  4405. ],
  4406. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "定制【海商报业】"
  4412. ],
  4413. "summary": "查询游客三级市场(商城)商品信息详情",
  4414. "parameters": [
  4415. {
  4416. "type": "integer",
  4417. "description": "商品ID",
  4418. "name": "goodsID",
  4419. "in": "query",
  4420. "required": true
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4447. "produces": [
  4448. "application/json"
  4449. ],
  4450. "tags": [
  4451. "定制【海商报业】"
  4452. ],
  4453. "summary": "查询游客特卖商品列表(三级商城)",
  4454. "parameters": [
  4455. {
  4456. "type": "integer",
  4457. "description": "页码",
  4458. "name": "page",
  4459. "in": "query"
  4460. },
  4461. {
  4462. "type": "integer",
  4463. "description": "每页条数",
  4464. "name": "pagesize",
  4465. "in": "query"
  4466. },
  4467. {
  4468. "type": "string",
  4469. "description": "市场ID列表,格式:1,2,3",
  4470. "name": "marketIDs",
  4471. "in": "query",
  4472. "required": true
  4473. },
  4474. {
  4475. "type": "integer",
  4476. "description": "类别ID",
  4477. "name": "categoryID",
  4478. "in": "query"
  4479. },
  4480. {
  4481. "type": "string",
  4482. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4483. "name": "goodsIDs",
  4484. "in": "query"
  4485. }
  4486. ],
  4487. "responses": {
  4488. "200": {
  4489. "description": "OK",
  4490. "schema": {
  4491. "$ref": "#/definitions/models.HsbyMarketGoods"
  4492. }
  4493. },
  4494. "500": {
  4495. "description": "Internal Server Error",
  4496. "schema": {
  4497. "$ref": "#/definitions/app.Response"
  4498. }
  4499. }
  4500. }
  4501. }
  4502. },
  4503. "/HSBY/QueryMyCollectionOrders": {
  4504. "get": {
  4505. "security": [
  4506. {
  4507. "ApiKeyAuth": []
  4508. }
  4509. ],
  4510. "produces": [
  4511. "application/json"
  4512. ],
  4513. "tags": [
  4514. "定制【海商报业】"
  4515. ],
  4516. "summary": "我的闲置中收款信息查询",
  4517. "parameters": [
  4518. {
  4519. "type": "integer",
  4520. "description": "页码",
  4521. "name": "page",
  4522. "in": "query"
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "每页条数",
  4527. "name": "pagesize",
  4528. "in": "query"
  4529. },
  4530. {
  4531. "type": "string",
  4532. "description": "资金账户,格式:1,2,3",
  4533. "name": "accountIDs",
  4534. "in": "query",
  4535. "required": true
  4536. }
  4537. ],
  4538. "responses": {
  4539. "200": {
  4540. "description": "OK",
  4541. "schema": {
  4542. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4543. }
  4544. },
  4545. "500": {
  4546. "description": "Internal Server Error",
  4547. "schema": {
  4548. "$ref": "#/definitions/app.Response"
  4549. }
  4550. }
  4551. }
  4552. }
  4553. },
  4554. "/HSBY/QueryMyCouponHolds": {
  4555. "get": {
  4556. "security": [
  4557. {
  4558. "ApiKeyAuth": []
  4559. }
  4560. ],
  4561. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4562. "produces": [
  4563. "application/json"
  4564. ],
  4565. "tags": [
  4566. "定制【海商报业】"
  4567. ],
  4568. "summary": "我的优惠卷持仓查询",
  4569. "parameters": [
  4570. {
  4571. "type": "string",
  4572. "description": "资金账户列表,格式:1,2,3",
  4573. "name": "accountIDs",
  4574. "in": "query",
  4575. "required": true
  4576. },
  4577. {
  4578. "type": "string",
  4579. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4580. "name": "holdStatus",
  4581. "in": "query"
  4582. }
  4583. ],
  4584. "responses": {
  4585. "200": {
  4586. "description": "OK",
  4587. "schema": {
  4588. "$ref": "#/definitions/models.MyCouponHold"
  4589. }
  4590. },
  4591. "500": {
  4592. "description": "Internal Server Error",
  4593. "schema": {
  4594. "$ref": "#/definitions/app.Response"
  4595. }
  4596. }
  4597. }
  4598. }
  4599. },
  4600. "/HSBY/QueryMyCoupons": {
  4601. "get": {
  4602. "security": [
  4603. {
  4604. "ApiKeyAuth": []
  4605. }
  4606. ],
  4607. "produces": [
  4608. "application/json"
  4609. ],
  4610. "tags": [
  4611. "定制【海商报业】"
  4612. ],
  4613. "summary": "我的优惠卷查询",
  4614. "parameters": [
  4615. {
  4616. "type": "string",
  4617. "description": "资金账户列表,格式:1,2,3",
  4618. "name": "accountIDs",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "商品ID, 一般与sellUserID配套传入",
  4625. "name": "goodsID",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "卖方UserID",
  4631. "name": "sellUserID",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "$ref": "#/definitions/models.MyCoupon"
  4640. }
  4641. },
  4642. "500": {
  4643. "description": "Internal Server Error",
  4644. "schema": {
  4645. "$ref": "#/definitions/app.Response"
  4646. }
  4647. }
  4648. }
  4649. }
  4650. },
  4651. "/HSBY/QueryMyPayOrders": {
  4652. "get": {
  4653. "security": [
  4654. {
  4655. "ApiKeyAuth": []
  4656. }
  4657. ],
  4658. "produces": [
  4659. "application/json"
  4660. ],
  4661. "tags": [
  4662. "定制【海商报业】"
  4663. ],
  4664. "summary": "获取我的订单中待付款信息",
  4665. "parameters": [
  4666. {
  4667. "type": "integer",
  4668. "description": "页码",
  4669. "name": "page",
  4670. "in": "query"
  4671. },
  4672. {
  4673. "type": "integer",
  4674. "description": "每页条数",
  4675. "name": "pagesize",
  4676. "in": "query"
  4677. },
  4678. {
  4679. "type": "string",
  4680. "description": "资金账户列表,格式:1,2,3",
  4681. "name": "accountIDs",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "买方委托单号",
  4688. "name": "buyOrderID",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "卖方委托单号",
  4694. "name": "sellOrderID",
  4695. "in": "query"
  4696. }
  4697. ],
  4698. "responses": {
  4699. "200": {
  4700. "description": "OK",
  4701. "schema": {
  4702. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4703. }
  4704. },
  4705. "500": {
  4706. "description": "Internal Server Error",
  4707. "schema": {
  4708. "$ref": "#/definitions/app.Response"
  4709. }
  4710. }
  4711. }
  4712. }
  4713. },
  4714. "/HSBY/QueryMyUsedCoupon": {
  4715. "get": {
  4716. "security": [
  4717. {
  4718. "ApiKeyAuth": []
  4719. }
  4720. ],
  4721. "produces": [
  4722. "application/json"
  4723. ],
  4724. "tags": [
  4725. "定制【海商报业】"
  4726. ],
  4727. "summary": "已使用优惠卷查询",
  4728. "parameters": [
  4729. {
  4730. "type": "string",
  4731. "description": "资金账户列表,格式:1,2,3",
  4732. "name": "accountIDs",
  4733. "in": "query",
  4734. "required": true
  4735. }
  4736. ],
  4737. "responses": {
  4738. "200": {
  4739. "description": "OK",
  4740. "schema": {
  4741. "$ref": "#/definitions/models.MyUsedCoupon"
  4742. }
  4743. },
  4744. "500": {
  4745. "description": "Internal Server Error",
  4746. "schema": {
  4747. "$ref": "#/definitions/app.Response"
  4748. }
  4749. }
  4750. }
  4751. }
  4752. },
  4753. "/HSBY/QueryProvincesAndCities": {
  4754. "get": {
  4755. "security": [
  4756. {
  4757. "ApiKeyAuth": []
  4758. }
  4759. ],
  4760. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4761. "produces": [
  4762. "application/json"
  4763. ],
  4764. "tags": [
  4765. "定制【海商报业】"
  4766. ],
  4767. "summary": "查询省市信息(不包括区)",
  4768. "parameters": [
  4769. {
  4770. "type": "integer",
  4771. "description": "省ID",
  4772. "name": "provinceID",
  4773. "in": "query"
  4774. }
  4775. ],
  4776. "responses": {
  4777. "200": {
  4778. "description": "OK",
  4779. "schema": {
  4780. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4781. }
  4782. },
  4783. "500": {
  4784. "description": "Internal Server Error",
  4785. "schema": {
  4786. "$ref": "#/definitions/app.Response"
  4787. }
  4788. }
  4789. }
  4790. }
  4791. },
  4792. "/HSBY/SetHsbyMyPackagesStatus": {
  4793. "post": {
  4794. "security": [
  4795. {
  4796. "ApiKeyAuth": []
  4797. }
  4798. ],
  4799. "produces": [
  4800. "application/json"
  4801. ],
  4802. "tags": [
  4803. "定制【海商报业】"
  4804. ],
  4805. "summary": "设置我的包裹已收货状态",
  4806. "parameters": [
  4807. {
  4808. "type": "string",
  4809. "description": "提货单号",
  4810. "name": "takeOrderID",
  4811. "in": "query",
  4812. "required": true
  4813. },
  4814. {
  4815. "type": "integer",
  4816. "description": "资金账号",
  4817. "name": "accountID",
  4818. "in": "query",
  4819. "required": true
  4820. }
  4821. ],
  4822. "responses": {
  4823. "200": {
  4824. "description": "OK",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. },
  4829. "500": {
  4830. "description": "Internal Server Error",
  4831. "schema": {
  4832. "$ref": "#/definitions/app.Response"
  4833. }
  4834. }
  4835. }
  4836. }
  4837. },
  4838. "/Market/QueryGoodsesByLoginID": {
  4839. "get": {
  4840. "security": [
  4841. {
  4842. "ApiKeyAuth": []
  4843. }
  4844. ],
  4845. "produces": [
  4846. "application/json"
  4847. ],
  4848. "tags": [
  4849. "通用市场"
  4850. ],
  4851. "summary": "获取登录账号有权限的商品信息",
  4852. "parameters": [
  4853. {
  4854. "type": "integer",
  4855. "description": "登录账号",
  4856. "name": "loginID",
  4857. "in": "query",
  4858. "required": true
  4859. },
  4860. {
  4861. "type": "string",
  4862. "description": "市场ID列表,格式:1,2,3",
  4863. "name": "marketIDs",
  4864. "in": "query"
  4865. }
  4866. ],
  4867. "responses": {
  4868. "200": {
  4869. "description": "OK",
  4870. "schema": {
  4871. "$ref": "#/definitions/models.Goods"
  4872. }
  4873. },
  4874. "500": {
  4875. "description": "Internal Server Error",
  4876. "schema": {
  4877. "$ref": "#/definitions/app.Response"
  4878. }
  4879. }
  4880. }
  4881. }
  4882. },
  4883. "/Market/QueryMarketRun": {
  4884. "get": {
  4885. "security": [
  4886. {
  4887. "ApiKeyAuth": []
  4888. }
  4889. ],
  4890. "produces": [
  4891. "application/json"
  4892. ],
  4893. "tags": [
  4894. "通用市场"
  4895. ],
  4896. "summary": "查询市场运行信息",
  4897. "parameters": [
  4898. {
  4899. "type": "integer",
  4900. "description": "市场ID,不传返回所有",
  4901. "name": "marketID",
  4902. "in": "query"
  4903. }
  4904. ],
  4905. "responses": {
  4906. "200": {
  4907. "description": "OK",
  4908. "schema": {
  4909. "$ref": "#/definitions/models.Marketrun"
  4910. }
  4911. },
  4912. "500": {
  4913. "description": "Internal Server Error",
  4914. "schema": {
  4915. "$ref": "#/definitions/app.Response"
  4916. }
  4917. }
  4918. }
  4919. }
  4920. },
  4921. "/Market/QueryMarketsByLoginID": {
  4922. "get": {
  4923. "security": [
  4924. {
  4925. "ApiKeyAuth": []
  4926. }
  4927. ],
  4928. "produces": [
  4929. "application/json"
  4930. ],
  4931. "tags": [
  4932. "通用市场"
  4933. ],
  4934. "summary": "获取登录账号有权限的市场信息",
  4935. "parameters": [
  4936. {
  4937. "type": "integer",
  4938. "description": "登录账号",
  4939. "name": "loginID",
  4940. "in": "query",
  4941. "required": true
  4942. }
  4943. ],
  4944. "responses": {
  4945. "200": {
  4946. "description": "OK",
  4947. "schema": {
  4948. "$ref": "#/definitions/models.Market"
  4949. }
  4950. },
  4951. "500": {
  4952. "description": "Internal Server Error",
  4953. "schema": {
  4954. "$ref": "#/definitions/app.Response"
  4955. }
  4956. }
  4957. }
  4958. }
  4959. },
  4960. "/Order/QueryHisTradeDetail": {
  4961. "get": {
  4962. "security": [
  4963. {
  4964. "ApiKeyAuth": []
  4965. }
  4966. ],
  4967. "produces": [
  4968. "application/json"
  4969. ],
  4970. "tags": [
  4971. "通用单据"
  4972. ],
  4973. "summary": "历史成交单查询(合约市场)",
  4974. "parameters": [
  4975. {
  4976. "type": "string",
  4977. "description": "资金账户 - 格式:1,2,3",
  4978. "name": "accountID",
  4979. "in": "query",
  4980. "required": true
  4981. },
  4982. {
  4983. "type": "integer",
  4984. "description": "成交单号",
  4985. "name": "tradeID",
  4986. "in": "query"
  4987. },
  4988. {
  4989. "type": "integer",
  4990. "description": "委托单号",
  4991. "name": "orderID",
  4992. "in": "query"
  4993. },
  4994. {
  4995. "type": "string",
  4996. "description": "交易模式 - 格式:1,2,3",
  4997. "name": "tradeMode",
  4998. "in": "query"
  4999. },
  5000. {
  5001. "type": "integer",
  5002. "description": "委托单据类型",
  5003. "name": "buildType",
  5004. "in": "query"
  5005. },
  5006. {
  5007. "type": "string",
  5008. "description": "成交类别 - 格式:1,2,3",
  5009. "name": "tradeType",
  5010. "in": "query"
  5011. },
  5012. {
  5013. "type": "string",
  5014. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5015. "name": "startDate",
  5016. "in": "query"
  5017. },
  5018. {
  5019. "type": "string",
  5020. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5021. "name": "endDate",
  5022. "in": "query"
  5023. }
  5024. ],
  5025. "responses": {
  5026. "200": {
  5027. "description": "OK",
  5028. "schema": {
  5029. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5030. }
  5031. },
  5032. "500": {
  5033. "description": "Internal Server Error",
  5034. "schema": {
  5035. "$ref": "#/definitions/app.Response"
  5036. }
  5037. }
  5038. }
  5039. }
  5040. },
  5041. "/Order/QueryHisTradeOrderDetail": {
  5042. "get": {
  5043. "security": [
  5044. {
  5045. "ApiKeyAuth": []
  5046. }
  5047. ],
  5048. "produces": [
  5049. "application/json"
  5050. ],
  5051. "tags": [
  5052. "通用单据"
  5053. ],
  5054. "summary": "历史委托单查询请求(合约市场)",
  5055. "parameters": [
  5056. {
  5057. "type": "string",
  5058. "description": "资金账户 - 格式:1,2,3",
  5059. "name": "accountID",
  5060. "in": "query",
  5061. "required": true
  5062. },
  5063. {
  5064. "type": "string",
  5065. "description": "交易模式 - 格式:1,2,3",
  5066. "name": "tradeMode",
  5067. "in": "query"
  5068. },
  5069. {
  5070. "type": "string",
  5071. "description": "委托状态 - 格式:1,2,3",
  5072. "name": "orderStatus",
  5073. "in": "query"
  5074. },
  5075. {
  5076. "type": "integer",
  5077. "description": "委托单号",
  5078. "name": "orderID",
  5079. "in": "query"
  5080. },
  5081. {
  5082. "type": "string",
  5083. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5084. "name": "startDate",
  5085. "in": "query"
  5086. },
  5087. {
  5088. "type": "string",
  5089. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5090. "name": "endDate",
  5091. "in": "query"
  5092. }
  5093. ],
  5094. "responses": {
  5095. "200": {
  5096. "description": "OK",
  5097. "schema": {
  5098. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5099. }
  5100. },
  5101. "500": {
  5102. "description": "Internal Server Error",
  5103. "schema": {
  5104. "$ref": "#/definitions/app.Response"
  5105. }
  5106. }
  5107. }
  5108. }
  5109. },
  5110. "/Order/QueryTradeDetail": {
  5111. "get": {
  5112. "security": [
  5113. {
  5114. "ApiKeyAuth": []
  5115. }
  5116. ],
  5117. "produces": [
  5118. "application/json"
  5119. ],
  5120. "tags": [
  5121. "通用单据"
  5122. ],
  5123. "summary": "成交单查询(合约市场)",
  5124. "parameters": [
  5125. {
  5126. "type": "string",
  5127. "description": "资金账户 - 格式:1,2,3",
  5128. "name": "accountID",
  5129. "in": "query",
  5130. "required": true
  5131. },
  5132. {
  5133. "type": "integer",
  5134. "description": "成交单号",
  5135. "name": "tradeID",
  5136. "in": "query"
  5137. },
  5138. {
  5139. "type": "integer",
  5140. "description": "委托单号",
  5141. "name": "orderID",
  5142. "in": "query"
  5143. },
  5144. {
  5145. "type": "string",
  5146. "description": "交易模式 - 格式:1,2,3",
  5147. "name": "tradeMode",
  5148. "in": "query"
  5149. },
  5150. {
  5151. "type": "integer",
  5152. "description": "委托单据类型",
  5153. "name": "buildType",
  5154. "in": "query"
  5155. },
  5156. {
  5157. "type": "string",
  5158. "description": "成交类别 - 格式:1,2,3",
  5159. "name": "tradeType",
  5160. "in": "query"
  5161. }
  5162. ],
  5163. "responses": {
  5164. "200": {
  5165. "description": "OK",
  5166. "schema": {
  5167. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5168. }
  5169. },
  5170. "500": {
  5171. "description": "Internal Server Error",
  5172. "schema": {
  5173. "$ref": "#/definitions/app.Response"
  5174. }
  5175. }
  5176. }
  5177. }
  5178. },
  5179. "/Order/QueryTradeOrderDetail": {
  5180. "get": {
  5181. "security": [
  5182. {
  5183. "ApiKeyAuth": []
  5184. }
  5185. ],
  5186. "produces": [
  5187. "application/json"
  5188. ],
  5189. "tags": [
  5190. "通用单据"
  5191. ],
  5192. "summary": "委托单查询请求(合约市场)",
  5193. "parameters": [
  5194. {
  5195. "type": "string",
  5196. "description": "资金账户 - 格式:1,2,3",
  5197. "name": "accountID",
  5198. "in": "query",
  5199. "required": true
  5200. },
  5201. {
  5202. "type": "string",
  5203. "description": "交易模式 - 格式:1,2,3",
  5204. "name": "tradeMode",
  5205. "in": "query"
  5206. },
  5207. {
  5208. "type": "string",
  5209. "description": "委托状态 - 格式:1,2,3",
  5210. "name": "orderStatus",
  5211. "in": "query"
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "委托单号",
  5216. "name": "orderID",
  5217. "in": "query"
  5218. }
  5219. ],
  5220. "responses": {
  5221. "200": {
  5222. "description": "OK",
  5223. "schema": {
  5224. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5225. }
  5226. },
  5227. "500": {
  5228. "description": "Internal Server Error",
  5229. "schema": {
  5230. "$ref": "#/definitions/app.Response"
  5231. }
  5232. }
  5233. }
  5234. }
  5235. },
  5236. "/Order/QueryTradePosition": {
  5237. "get": {
  5238. "security": [
  5239. {
  5240. "ApiKeyAuth": []
  5241. }
  5242. ],
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "通用单据"
  5248. ],
  5249. "summary": "持仓汇总查询(合约市场)",
  5250. "parameters": [
  5251. {
  5252. "type": "string",
  5253. "description": "资金账户 - 格式:1,2,3",
  5254. "name": "accountID",
  5255. "in": "query",
  5256. "required": true
  5257. },
  5258. {
  5259. "type": "string",
  5260. "description": "交易模式 - 格式:1,2,3",
  5261. "name": "tradeMode",
  5262. "in": "query"
  5263. }
  5264. ],
  5265. "responses": {
  5266. "200": {
  5267. "description": "OK",
  5268. "schema": {
  5269. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5270. }
  5271. },
  5272. "500": {
  5273. "description": "Internal Server Error",
  5274. "schema": {
  5275. "$ref": "#/definitions/app.Response"
  5276. }
  5277. }
  5278. }
  5279. }
  5280. },
  5281. "/Quote/QueryHistoryDatas": {
  5282. "get": {
  5283. "security": [
  5284. {
  5285. "ApiKeyAuth": []
  5286. }
  5287. ],
  5288. "produces": [
  5289. "application/json"
  5290. ],
  5291. "tags": [
  5292. "行情服务"
  5293. ],
  5294. "summary": "查询行情历史数据",
  5295. "parameters": [
  5296. {
  5297. "type": "integer",
  5298. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5299. "name": "cycleType",
  5300. "in": "query",
  5301. "required": true
  5302. },
  5303. {
  5304. "type": "string",
  5305. "description": "商品代码",
  5306. "name": "goodsCode",
  5307. "in": "query",
  5308. "required": true
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5313. "name": "startTime",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5319. "name": "endTime",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "integer",
  5324. "description": "条数",
  5325. "name": "count",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "boolean",
  5330. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5331. "name": "isAsc",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "$ref": "#/definitions/quote.HistoryData"
  5340. }
  5341. },
  5342. "500": {
  5343. "description": "Internal Server Error",
  5344. "schema": {
  5345. "$ref": "#/definitions/app.Response"
  5346. }
  5347. }
  5348. }
  5349. }
  5350. },
  5351. "/Quote/QueryHistoryTikDatas": {
  5352. "get": {
  5353. "security": [
  5354. {
  5355. "ApiKeyAuth": []
  5356. }
  5357. ],
  5358. "produces": [
  5359. "application/json"
  5360. ],
  5361. "tags": [
  5362. "行情服务"
  5363. ],
  5364. "summary": "查询行情Tik数据",
  5365. "parameters": [
  5366. {
  5367. "type": "string",
  5368. "description": "商品代码",
  5369. "name": "goodsCode",
  5370. "in": "query",
  5371. "required": true
  5372. },
  5373. {
  5374. "type": "string",
  5375. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5376. "name": "startTime",
  5377. "in": "query"
  5378. },
  5379. {
  5380. "type": "string",
  5381. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5382. "name": "endTime",
  5383. "in": "query"
  5384. },
  5385. {
  5386. "type": "integer",
  5387. "description": "条数",
  5388. "name": "count",
  5389. "in": "query"
  5390. },
  5391. {
  5392. "type": "boolean",
  5393. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5394. "name": "isAsc",
  5395. "in": "query"
  5396. }
  5397. ],
  5398. "responses": {
  5399. "200": {
  5400. "description": "OK",
  5401. "schema": {
  5402. "$ref": "#/definitions/quote.HistoryTikData"
  5403. }
  5404. },
  5405. "500": {
  5406. "description": "Internal Server Error",
  5407. "schema": {
  5408. "$ref": "#/definitions/app.Response"
  5409. }
  5410. }
  5411. }
  5412. }
  5413. },
  5414. "/Quote/QueryQuoteDay": {
  5415. "get": {
  5416. "security": [
  5417. {
  5418. "ApiKeyAuth": []
  5419. }
  5420. ],
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "行情服务"
  5426. ],
  5427. "summary": "获取商品盘面信息",
  5428. "parameters": [
  5429. {
  5430. "type": "string",
  5431. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5432. "name": "goodsCodes",
  5433. "in": "query",
  5434. "required": true
  5435. }
  5436. ],
  5437. "responses": {
  5438. "200": {
  5439. "description": "OK",
  5440. "schema": {
  5441. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5442. }
  5443. },
  5444. "500": {
  5445. "description": "Internal Server Error",
  5446. "schema": {
  5447. "$ref": "#/definitions/app.Response"
  5448. }
  5449. }
  5450. }
  5451. }
  5452. },
  5453. "/Quote/QueryTSData": {
  5454. "get": {
  5455. "security": [
  5456. {
  5457. "ApiKeyAuth": []
  5458. }
  5459. ],
  5460. "produces": [
  5461. "application/json"
  5462. ],
  5463. "tags": [
  5464. "行情服务"
  5465. ],
  5466. "summary": "分时图数据查询",
  5467. "parameters": [
  5468. {
  5469. "type": "string",
  5470. "description": "商品代码",
  5471. "name": "goodsCode",
  5472. "in": "query",
  5473. "required": true
  5474. }
  5475. ],
  5476. "responses": {
  5477. "200": {
  5478. "description": "OK",
  5479. "schema": {
  5480. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5481. }
  5482. },
  5483. "500": {
  5484. "description": "Internal Server Error",
  5485. "schema": {
  5486. "$ref": "#/definitions/app.Response"
  5487. }
  5488. }
  5489. }
  5490. }
  5491. },
  5492. "/SZDZ/QueryConvertConfig": {
  5493. "get": {
  5494. "security": [
  5495. {
  5496. "ApiKeyAuth": []
  5497. }
  5498. ],
  5499. "produces": [
  5500. "application/json"
  5501. ],
  5502. "tags": [
  5503. "定制【尚志大宗】"
  5504. ],
  5505. "summary": "查询交易系统转换设置",
  5506. "parameters": [
  5507. {
  5508. "type": "integer",
  5509. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5510. "name": "convertType",
  5511. "in": "query"
  5512. },
  5513. {
  5514. "type": "string",
  5515. "description": "外部商品代码[JD\\PD]",
  5516. "name": "outerGoodsCode",
  5517. "in": "query"
  5518. },
  5519. {
  5520. "type": "string",
  5521. "description": "内部商品ID列表[交易],格式:1,2,3",
  5522. "name": "innerGoodsIDs",
  5523. "in": "query"
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.Szdz3convertconfig"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/SZDZ/QueryConvertLog": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "produces": [
  5550. "application/json"
  5551. ],
  5552. "tags": [
  5553. "定制【尚志大宗】"
  5554. ],
  5555. "summary": "交易系统转换流水查询",
  5556. "parameters": [
  5557. {
  5558. "type": "string",
  5559. "description": "资金账户 - 格式:1,2,3",
  5560. "name": "accountID",
  5561. "in": "query",
  5562. "required": true
  5563. },
  5564. {
  5565. "type": "string",
  5566. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5567. "name": "startDate",
  5568. "in": "query"
  5569. },
  5570. {
  5571. "type": "string",
  5572. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5573. "name": "endDate",
  5574. "in": "query"
  5575. }
  5576. ],
  5577. "responses": {
  5578. "200": {
  5579. "description": "OK",
  5580. "schema": {
  5581. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5582. }
  5583. },
  5584. "500": {
  5585. "description": "Internal Server Error",
  5586. "schema": {
  5587. "$ref": "#/definitions/app.Response"
  5588. }
  5589. }
  5590. }
  5591. }
  5592. },
  5593. "/SZDZ/QueryGoodsPickup": {
  5594. "get": {
  5595. "security": [
  5596. {
  5597. "ApiKeyAuth": []
  5598. }
  5599. ],
  5600. "produces": [
  5601. "application/json"
  5602. ],
  5603. "tags": [
  5604. "定制【尚志大宗】"
  5605. ],
  5606. "summary": "商品提货单查询",
  5607. "parameters": [
  5608. {
  5609. "type": "string",
  5610. "description": "资金账户 - 格式:1,2,3",
  5611. "name": "accountID",
  5612. "in": "query",
  5613. "required": true
  5614. },
  5615. {
  5616. "type": "integer",
  5617. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5618. "name": "takeOrderStatus",
  5619. "in": "query"
  5620. }
  5621. ],
  5622. "responses": {
  5623. "200": {
  5624. "description": "OK",
  5625. "schema": {
  5626. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5627. }
  5628. },
  5629. "500": {
  5630. "description": "Internal Server Error",
  5631. "schema": {
  5632. "$ref": "#/definitions/app.Response"
  5633. }
  5634. }
  5635. }
  5636. }
  5637. },
  5638. "/SZDZ/QueryRecieptOrder": {
  5639. "get": {
  5640. "security": [
  5641. {
  5642. "ApiKeyAuth": []
  5643. }
  5644. ],
  5645. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5646. "produces": [
  5647. "application/json"
  5648. ],
  5649. "tags": [
  5650. "定制【尚志大宗】"
  5651. ],
  5652. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5653. "parameters": [
  5654. {
  5655. "type": "integer",
  5656. "description": "页码",
  5657. "name": "page",
  5658. "in": "query"
  5659. },
  5660. {
  5661. "type": "integer",
  5662. "description": "每页条数",
  5663. "name": "pagesize",
  5664. "in": "query"
  5665. },
  5666. {
  5667. "type": "integer",
  5668. "description": "商品ID",
  5669. "name": "goodsID",
  5670. "in": "query",
  5671. "required": true
  5672. },
  5673. {
  5674. "type": "string",
  5675. "description": "所属账户名称",
  5676. "name": "accountName",
  5677. "in": "query"
  5678. },
  5679. {
  5680. "type": "integer",
  5681. "description": "市场ID",
  5682. "name": "marketID",
  5683. "in": "query"
  5684. },
  5685. {
  5686. "type": "integer",
  5687. "description": "方向 - 0:买 1:卖",
  5688. "name": "buyorsell",
  5689. "in": "query",
  5690. "required": true
  5691. }
  5692. ],
  5693. "responses": {
  5694. "200": {
  5695. "description": "OK",
  5696. "schema": {
  5697. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5698. }
  5699. },
  5700. "500": {
  5701. "description": "Internal Server Error",
  5702. "schema": {
  5703. "$ref": "#/definitions/app.Response"
  5704. }
  5705. }
  5706. }
  5707. }
  5708. },
  5709. "/SZDZ/QuerySZDZTradePosition": {
  5710. "get": {
  5711. "security": [
  5712. {
  5713. "ApiKeyAuth": []
  5714. }
  5715. ],
  5716. "produces": [
  5717. "application/json"
  5718. ],
  5719. "tags": [
  5720. "定制【尚志大宗】"
  5721. ],
  5722. "summary": "持仓汇总查询(尚志大宗)",
  5723. "parameters": [
  5724. {
  5725. "type": "integer",
  5726. "description": "资金账户",
  5727. "name": "accountID",
  5728. "in": "query",
  5729. "required": true
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/SZDZ/SearchWhite": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "produces": [
  5756. "application/json"
  5757. ],
  5758. "tags": [
  5759. "定制【尚志大宗】"
  5760. ],
  5761. "summary": "搜索白名单",
  5762. "parameters": [
  5763. {
  5764. "type": "integer",
  5765. "description": "用户ID",
  5766. "name": "userID",
  5767. "in": "query",
  5768. "required": true
  5769. }
  5770. ],
  5771. "responses": {
  5772. "200": {
  5773. "description": "OK",
  5774. "schema": {
  5775. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5776. }
  5777. },
  5778. "500": {
  5779. "description": "Internal Server Error",
  5780. "schema": {
  5781. "$ref": "#/definitions/app.Response"
  5782. }
  5783. }
  5784. }
  5785. }
  5786. },
  5787. "/Search/SearchGoodses": {
  5788. "get": {
  5789. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5790. "produces": [
  5791. "application/json"
  5792. ],
  5793. "tags": [
  5794. "检索服务"
  5795. ],
  5796. "summary": "检索商品信息",
  5797. "parameters": [
  5798. {
  5799. "type": "string",
  5800. "description": "检索内容",
  5801. "name": "content",
  5802. "in": "query",
  5803. "required": true
  5804. },
  5805. {
  5806. "type": "string",
  5807. "description": "交易模式,格式:1,2,3",
  5808. "name": "tradeModes",
  5809. "in": "query"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.SearchGoods"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/TaAccount/GetTaAccounts": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "produces": [
  5836. "application/json"
  5837. ],
  5838. "tags": [
  5839. "资金账户"
  5840. ],
  5841. "summary": "获取资金账户信息",
  5842. "parameters": [
  5843. {
  5844. "type": "integer",
  5845. "description": "登录账户",
  5846. "name": "loginID",
  5847. "in": "query",
  5848. "required": true
  5849. },
  5850. {
  5851. "type": "integer",
  5852. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5853. "name": "taAccountType",
  5854. "in": "query"
  5855. }
  5856. ],
  5857. "responses": {
  5858. "200": {
  5859. "description": "OK",
  5860. "schema": {
  5861. "$ref": "#/definitions/models.Taaccount"
  5862. }
  5863. },
  5864. "500": {
  5865. "description": "Internal Server Error",
  5866. "schema": {
  5867. "$ref": "#/definitions/app.Response"
  5868. }
  5869. }
  5870. }
  5871. }
  5872. },
  5873. "/TaAccount/QueryAmountLog": {
  5874. "get": {
  5875. "security": [
  5876. {
  5877. "ApiKeyAuth": []
  5878. }
  5879. ],
  5880. "produces": [
  5881. "application/json"
  5882. ],
  5883. "tags": [
  5884. "资金账户"
  5885. ],
  5886. "summary": "资金流水查询(当前)",
  5887. "parameters": [
  5888. {
  5889. "type": "integer",
  5890. "description": "页码",
  5891. "name": "page",
  5892. "in": "query"
  5893. },
  5894. {
  5895. "type": "integer",
  5896. "description": "每页条数",
  5897. "name": "pagesize",
  5898. "in": "query"
  5899. },
  5900. {
  5901. "type": "string",
  5902. "description": "资金账户 - 格式:1,2,3",
  5903. "name": "accountID",
  5904. "in": "query",
  5905. "required": true
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "资金操作类型 - 格式:1,2,3",
  5910. "name": "OperateType",
  5911. "in": "query"
  5912. }
  5913. ],
  5914. "responses": {
  5915. "200": {
  5916. "description": "OK",
  5917. "schema": {
  5918. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5919. }
  5920. },
  5921. "500": {
  5922. "description": "Internal Server Error",
  5923. "schema": {
  5924. "$ref": "#/definitions/app.Response"
  5925. }
  5926. }
  5927. }
  5928. }
  5929. },
  5930. "/TaAccount/QueryHisAmountLog": {
  5931. "get": {
  5932. "security": [
  5933. {
  5934. "ApiKeyAuth": []
  5935. }
  5936. ],
  5937. "produces": [
  5938. "application/json"
  5939. ],
  5940. "tags": [
  5941. "资金账户"
  5942. ],
  5943. "summary": "资金流水查询(历史)",
  5944. "parameters": [
  5945. {
  5946. "type": "integer",
  5947. "description": "页码",
  5948. "name": "page",
  5949. "in": "query"
  5950. },
  5951. {
  5952. "type": "integer",
  5953. "description": "每页条数",
  5954. "name": "pagesize",
  5955. "in": "query"
  5956. },
  5957. {
  5958. "type": "string",
  5959. "description": "资金账户 - 格式:1,2,3",
  5960. "name": "accountID",
  5961. "in": "query",
  5962. "required": true
  5963. },
  5964. {
  5965. "type": "string",
  5966. "description": "资金操作类型 - 格式:1,2,3",
  5967. "name": "OperateType",
  5968. "in": "query"
  5969. },
  5970. {
  5971. "type": "string",
  5972. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5973. "name": "startDate",
  5974. "in": "query"
  5975. },
  5976. {
  5977. "type": "string",
  5978. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5979. "name": "endDate",
  5980. "in": "query"
  5981. }
  5982. ],
  5983. "responses": {
  5984. "200": {
  5985. "description": "OK",
  5986. "schema": {
  5987. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5988. }
  5989. },
  5990. "500": {
  5991. "description": "Internal Server Error",
  5992. "schema": {
  5993. "$ref": "#/definitions/app.Response"
  5994. }
  5995. }
  5996. }
  5997. }
  5998. },
  5999. "/Trade/QueryRecieptOrder": {
  6000. "get": {
  6001. "security": [
  6002. {
  6003. "ApiKeyAuth": []
  6004. }
  6005. ],
  6006. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6007. "produces": [
  6008. "application/json"
  6009. ],
  6010. "tags": [
  6011. "通用交易"
  6012. ],
  6013. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6014. "parameters": [
  6015. {
  6016. "type": "integer",
  6017. "description": "页码",
  6018. "name": "page",
  6019. "in": "query"
  6020. },
  6021. {
  6022. "type": "integer",
  6023. "description": "每页条数",
  6024. "name": "pagesize",
  6025. "in": "query"
  6026. },
  6027. {
  6028. "type": "integer",
  6029. "description": "商品ID",
  6030. "name": "goodsID",
  6031. "in": "query",
  6032. "required": true
  6033. },
  6034. {
  6035. "type": "string",
  6036. "description": "所属账户名称",
  6037. "name": "accountName",
  6038. "in": "query"
  6039. },
  6040. {
  6041. "type": "integer",
  6042. "description": "市场ID",
  6043. "name": "marketID",
  6044. "in": "query"
  6045. },
  6046. {
  6047. "type": "integer",
  6048. "description": "方向 - 0:买 1:卖",
  6049. "name": "buyorsell",
  6050. "in": "query",
  6051. "required": true
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/User/AddMessageBoard": {
  6071. "post": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "用户信息"
  6082. ],
  6083. "summary": "添加用户留言板信息",
  6084. "parameters": [
  6085. {
  6086. "type": "integer",
  6087. "description": "用户ID",
  6088. "name": "userID",
  6089. "in": "query",
  6090. "required": true
  6091. },
  6092. {
  6093. "type": "string",
  6094. "description": "留言信息",
  6095. "name": "message",
  6096. "in": "query",
  6097. "required": true
  6098. },
  6099. {
  6100. "type": "string",
  6101. "description": "联系电话",
  6102. "name": "contactNum",
  6103. "in": "query",
  6104. "required": true
  6105. }
  6106. ],
  6107. "responses": {
  6108. "200": {
  6109. "description": "OK",
  6110. "schema": {
  6111. "$ref": "#/definitions/app.Response"
  6112. }
  6113. },
  6114. "500": {
  6115. "description": "Internal Server Error",
  6116. "schema": {
  6117. "$ref": "#/definitions/app.Response"
  6118. }
  6119. }
  6120. }
  6121. }
  6122. },
  6123. "/User/AddUserFavoriteGoods": {
  6124. "post": {
  6125. "security": [
  6126. {
  6127. "ApiKeyAuth": []
  6128. }
  6129. ],
  6130. "produces": [
  6131. "application/json"
  6132. ],
  6133. "tags": [
  6134. "用户信息"
  6135. ],
  6136. "summary": "添加用户商品收藏信息",
  6137. "parameters": [
  6138. {
  6139. "type": "integer",
  6140. "description": "用户ID",
  6141. "name": "userID",
  6142. "in": "query",
  6143. "required": true
  6144. },
  6145. {
  6146. "type": "integer",
  6147. "description": "商品ID",
  6148. "name": "goodsID",
  6149. "in": "query",
  6150. "required": true
  6151. }
  6152. ],
  6153. "responses": {
  6154. "200": {
  6155. "description": "OK",
  6156. "schema": {
  6157. "$ref": "#/definitions/app.Response"
  6158. }
  6159. },
  6160. "500": {
  6161. "description": "Internal Server Error",
  6162. "schema": {
  6163. "$ref": "#/definitions/app.Response"
  6164. }
  6165. }
  6166. }
  6167. }
  6168. },
  6169. "/User/GetLoginID": {
  6170. "get": {
  6171. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "用户信息"
  6177. ],
  6178. "summary": "获取登录ID",
  6179. "parameters": [
  6180. {
  6181. "type": "string",
  6182. "description": "登录代码",
  6183. "name": "username",
  6184. "in": "query",
  6185. "required": true
  6186. }
  6187. ],
  6188. "responses": {
  6189. "200": {
  6190. "description": "OK",
  6191. "schema": {
  6192. "$ref": "#/definitions/app.Response"
  6193. }
  6194. },
  6195. "500": {
  6196. "description": "Internal Server Error",
  6197. "schema": {
  6198. "$ref": "#/definitions/app.Response"
  6199. }
  6200. }
  6201. }
  6202. }
  6203. },
  6204. "/User/GetUserAccount": {
  6205. "get": {
  6206. "security": [
  6207. {
  6208. "ApiKeyAuth": []
  6209. }
  6210. ],
  6211. "produces": [
  6212. "application/json"
  6213. ],
  6214. "tags": [
  6215. "用户信息"
  6216. ],
  6217. "summary": "获取用户账号信息",
  6218. "parameters": [
  6219. {
  6220. "type": "integer",
  6221. "description": "用户ID",
  6222. "name": "userID",
  6223. "in": "query",
  6224. "required": true
  6225. }
  6226. ],
  6227. "responses": {
  6228. "200": {
  6229. "description": "OK",
  6230. "schema": {
  6231. "$ref": "#/definitions/models.Useraccount"
  6232. }
  6233. },
  6234. "500": {
  6235. "description": "Internal Server Error",
  6236. "schema": {
  6237. "$ref": "#/definitions/app.Response"
  6238. }
  6239. }
  6240. }
  6241. }
  6242. },
  6243. "/User/GetUserAuthStatus": {
  6244. "get": {
  6245. "security": [
  6246. {
  6247. "ApiKeyAuth": []
  6248. }
  6249. ],
  6250. "produces": [
  6251. "application/json"
  6252. ],
  6253. "tags": [
  6254. "用户信息"
  6255. ],
  6256. "summary": "获取用户实名认证状态",
  6257. "parameters": [
  6258. {
  6259. "type": "integer",
  6260. "description": "用户ID",
  6261. "name": "userID",
  6262. "in": "query",
  6263. "required": true
  6264. }
  6265. ],
  6266. "responses": {
  6267. "200": {
  6268. "description": "OK",
  6269. "schema": {
  6270. "$ref": "#/definitions/app.Response"
  6271. }
  6272. },
  6273. "500": {
  6274. "description": "Internal Server Error",
  6275. "schema": {
  6276. "$ref": "#/definitions/app.Response"
  6277. }
  6278. }
  6279. }
  6280. }
  6281. },
  6282. "/User/LoginQuery": {
  6283. "get": {
  6284. "security": [
  6285. {
  6286. "ApiKeyAuth": []
  6287. }
  6288. ],
  6289. "produces": [
  6290. "application/json"
  6291. ],
  6292. "tags": [
  6293. "用户信息"
  6294. ],
  6295. "summary": "账户登录后信息查询",
  6296. "parameters": [
  6297. {
  6298. "type": "integer",
  6299. "description": "登录账号",
  6300. "name": "loginID",
  6301. "in": "query",
  6302. "required": true
  6303. }
  6304. ],
  6305. "responses": {
  6306. "200": {
  6307. "description": "OK",
  6308. "schema": {
  6309. "$ref": "#/definitions/user.LoginQueryRsp"
  6310. }
  6311. },
  6312. "500": {
  6313. "description": "Internal Server Error",
  6314. "schema": {
  6315. "$ref": "#/definitions/app.Response"
  6316. }
  6317. }
  6318. }
  6319. }
  6320. },
  6321. "/User/QueryMessageBoard": {
  6322. "get": {
  6323. "security": [
  6324. {
  6325. "ApiKeyAuth": []
  6326. }
  6327. ],
  6328. "produces": [
  6329. "application/json"
  6330. ],
  6331. "tags": [
  6332. "用户信息"
  6333. ],
  6334. "summary": "获取用户留言板信息",
  6335. "parameters": [
  6336. {
  6337. "type": "integer",
  6338. "description": "用户ID",
  6339. "name": "userID",
  6340. "in": "query",
  6341. "required": true
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/models.Messageboard"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/User/QueryUserFavoriteGoodses": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "用户信息"
  6372. ],
  6373. "summary": "获取用户商品收藏信息",
  6374. "parameters": [
  6375. {
  6376. "type": "integer",
  6377. "description": "用户ID",
  6378. "name": "userID",
  6379. "in": "query",
  6380. "required": true
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/models.Userfavoritegoods"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/User/QueryUserInfo": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "produces": [
  6407. "application/json"
  6408. ],
  6409. "tags": [
  6410. "用户信息"
  6411. ],
  6412. "summary": "获取用户信息",
  6413. "parameters": [
  6414. {
  6415. "type": "integer",
  6416. "description": "用户ID",
  6417. "name": "userID",
  6418. "in": "query",
  6419. "required": true
  6420. }
  6421. ],
  6422. "responses": {
  6423. "200": {
  6424. "description": "OK",
  6425. "schema": {
  6426. "$ref": "#/definitions/models.Userinfo"
  6427. }
  6428. },
  6429. "500": {
  6430. "description": "Internal Server Error",
  6431. "schema": {
  6432. "$ref": "#/definitions/app.Response"
  6433. }
  6434. }
  6435. }
  6436. }
  6437. },
  6438. "/User/QueryUserReferNum": {
  6439. "get": {
  6440. "produces": [
  6441. "application/json"
  6442. ],
  6443. "tags": [
  6444. "用户信息"
  6445. ],
  6446. "summary": "获取用户邀请码",
  6447. "parameters": [
  6448. {
  6449. "type": "integer",
  6450. "description": "用户ID",
  6451. "name": "userID",
  6452. "in": "query",
  6453. "required": true
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/User/RemoveUserFavoriteGoods": {
  6473. "post": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "用户信息"
  6484. ],
  6485. "summary": "移除用户商品收藏信息",
  6486. "parameters": [
  6487. {
  6488. "type": "integer",
  6489. "description": "用户ID",
  6490. "name": "userID",
  6491. "in": "query",
  6492. "required": true
  6493. },
  6494. {
  6495. "type": "integer",
  6496. "description": "商品ID",
  6497. "name": "goodsID",
  6498. "in": "query",
  6499. "required": true
  6500. }
  6501. ],
  6502. "responses": {
  6503. "200": {
  6504. "description": "OK",
  6505. "schema": {
  6506. "$ref": "#/definitions/app.Response"
  6507. }
  6508. },
  6509. "500": {
  6510. "description": "Internal Server Error",
  6511. "schema": {
  6512. "$ref": "#/definitions/app.Response"
  6513. }
  6514. }
  6515. }
  6516. }
  6517. },
  6518. "/User/UpdateUserAccountStatus": {
  6519. "post": {
  6520. "security": [
  6521. {
  6522. "ApiKeyAuth": []
  6523. }
  6524. ],
  6525. "produces": [
  6526. "application/json"
  6527. ],
  6528. "tags": [
  6529. "用户信息"
  6530. ],
  6531. "summary": "更新用户状态",
  6532. "parameters": [
  6533. {
  6534. "type": "integer",
  6535. "description": "用户ID",
  6536. "name": "userID",
  6537. "in": "query",
  6538. "required": true
  6539. },
  6540. {
  6541. "type": "integer",
  6542. "description": "账户状态 - 4:正常 6:注销(停用)",
  6543. "name": "accountStatus",
  6544. "in": "query",
  6545. "required": true
  6546. }
  6547. ],
  6548. "responses": {
  6549. "200": {
  6550. "description": "OK",
  6551. "schema": {
  6552. "$ref": "#/definitions/app.Response"
  6553. }
  6554. },
  6555. "500": {
  6556. "description": "Internal Server Error",
  6557. "schema": {
  6558. "$ref": "#/definitions/app.Response"
  6559. }
  6560. }
  6561. }
  6562. }
  6563. },
  6564. "/WR/GetWRCategoryInfo": {
  6565. "get": {
  6566. "produces": [
  6567. "application/json"
  6568. ],
  6569. "tags": [
  6570. "仓单服务"
  6571. ],
  6572. "summary": "获取现货分类信息",
  6573. "responses": {
  6574. "200": {
  6575. "description": "OK",
  6576. "schema": {
  6577. "$ref": "#/definitions/models.WRCategoryTree"
  6578. }
  6579. },
  6580. "500": {
  6581. "description": "Internal Server Error",
  6582. "schema": {
  6583. "$ref": "#/definitions/app.Response"
  6584. }
  6585. }
  6586. }
  6587. }
  6588. },
  6589. "/WRTrade/GetAllDeliveryGoods": {
  6590. "get": {
  6591. "security": [
  6592. {
  6593. "ApiKeyAuth": []
  6594. },
  6595. {
  6596. "ApiKeyAuth": []
  6597. }
  6598. ],
  6599. "produces": [
  6600. "application/json",
  6601. "application/json"
  6602. ],
  6603. "tags": [
  6604. "仓单贸易",
  6605. "仓单贸易"
  6606. ],
  6607. "summary": "获取带仓单分类的种类信息",
  6608. "responses": {
  6609. "200": {
  6610. "description": "OK",
  6611. "schema": {
  6612. "$ref": "#/definitions/app.Response"
  6613. }
  6614. },
  6615. "500": {
  6616. "description": "Internal Server Error",
  6617. "schema": {
  6618. "$ref": "#/definitions/app.Response"
  6619. }
  6620. }
  6621. }
  6622. }
  6623. }
  6624. },
  6625. "definitions": {
  6626. "app.Response": {
  6627. "type": "object",
  6628. "properties": {
  6629. "code": {
  6630. "type": "integer"
  6631. },
  6632. "data": {
  6633. "type": "object"
  6634. },
  6635. "msg": {
  6636. "type": "string"
  6637. },
  6638. "page": {
  6639. "description": "页码",
  6640. "type": "integer"
  6641. },
  6642. "pagesize": {
  6643. "description": "每页条数",
  6644. "type": "integer"
  6645. },
  6646. "total": {
  6647. "description": "总条数",
  6648. "type": "integer"
  6649. }
  6650. }
  6651. },
  6652. "common.QueryImageConfigsRsp": {
  6653. "type": "object",
  6654. "required": [
  6655. "configid"
  6656. ],
  6657. "properties": {
  6658. "areauserid": {
  6659. "description": "所属机构ID",
  6660. "type": "integer"
  6661. },
  6662. "configid": {
  6663. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6664. "type": "integer"
  6665. },
  6666. "createdate": {
  6667. "description": "创建时间",
  6668. "type": "string"
  6669. },
  6670. "creatorid": {
  6671. "description": "创建人",
  6672. "type": "integer"
  6673. },
  6674. "imagepath": {
  6675. "description": "图片",
  6676. "type": "string"
  6677. },
  6678. "imagetype": {
  6679. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6680. "type": "integer"
  6681. },
  6682. "isshow": {
  6683. "description": "是否展示 - 0:不展示 1:展示",
  6684. "type": "integer"
  6685. },
  6686. "marketid": {
  6687. "description": "市场ID",
  6688. "type": "integer"
  6689. },
  6690. "modifierid": {
  6691. "description": "操作人",
  6692. "type": "integer"
  6693. },
  6694. "sort": {
  6695. "description": "排序",
  6696. "type": "integer"
  6697. },
  6698. "title": {
  6699. "description": "标题",
  6700. "type": "string"
  6701. },
  6702. "trademode": {
  6703. "description": "交易模式",
  6704. "type": "integer"
  6705. },
  6706. "updatedate": {
  6707. "description": "修改时间",
  6708. "type": "string"
  6709. },
  6710. "url": {
  6711. "description": "链接(地址或商品ID)",
  6712. "type": "string"
  6713. },
  6714. "urltype": {
  6715. "description": "链接类型 - 1:直接地址 2:商品ID",
  6716. "type": "integer"
  6717. }
  6718. }
  6719. },
  6720. "common.QueryNoticeRsp": {
  6721. "type": "object",
  6722. "required": [
  6723. "autoid"
  6724. ],
  6725. "properties": {
  6726. "auditoruserid": {
  6727. "description": "审核人",
  6728. "type": "integer"
  6729. },
  6730. "auditremark": {
  6731. "description": "审核备注",
  6732. "type": "string"
  6733. },
  6734. "audittime": {
  6735. "description": "审核日期",
  6736. "type": "string"
  6737. },
  6738. "autoid": {
  6739. "description": "自增ID",
  6740. "type": "integer"
  6741. },
  6742. "content": {
  6743. "description": "内容",
  6744. "type": "string"
  6745. },
  6746. "createtime": {
  6747. "description": "创建时间",
  6748. "type": "string"
  6749. },
  6750. "creatorid": {
  6751. "description": "建仓人",
  6752. "type": "integer"
  6753. },
  6754. "endtime": {
  6755. "description": "结束时间",
  6756. "type": "string"
  6757. },
  6758. "istop": {
  6759. "description": "是否置顶 - 0:不置顶 1:置顶",
  6760. "type": "integer"
  6761. },
  6762. "msgiconurl": {
  6763. "description": "消息图标Url",
  6764. "type": "string"
  6765. },
  6766. "msgtype": {
  6767. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6768. "type": "integer"
  6769. },
  6770. "publisher": {
  6771. "description": "消息发布者",
  6772. "type": "string"
  6773. },
  6774. "readed": {
  6775. "description": "是否已读",
  6776. "type": "boolean"
  6777. },
  6778. "scheduletime": {
  6779. "description": "计划发送时间",
  6780. "type": "string"
  6781. },
  6782. "sendtype": {
  6783. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6784. "type": "integer"
  6785. },
  6786. "sentstatus": {
  6787. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6788. "type": "integer"
  6789. },
  6790. "title": {
  6791. "description": "标题",
  6792. "type": "string"
  6793. },
  6794. "userid": {
  6795. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6796. "type": "integer"
  6797. }
  6798. }
  6799. },
  6800. "common.QueryProvincesAndCitiesRsp": {
  6801. "type": "object",
  6802. "properties": {
  6803. "cities": {
  6804. "description": "市",
  6805. "type": "array",
  6806. "items": {
  6807. "$ref": "#/definitions/models.Division"
  6808. }
  6809. },
  6810. "province": {
  6811. "description": "省",
  6812. "type": "object",
  6813. "$ref": "#/definitions/models.Division"
  6814. }
  6815. }
  6816. },
  6817. "common.QueryTableDefineRsp": {
  6818. "type": "object",
  6819. "required": [
  6820. "tablekey"
  6821. ],
  6822. "properties": {
  6823. "columns": {
  6824. "description": "列头信息数组",
  6825. "type": "array",
  6826. "items": {
  6827. "$ref": "#/definitions/models.Tablecolumnconfig"
  6828. }
  6829. },
  6830. "remark": {
  6831. "description": "Remark",
  6832. "type": "string"
  6833. },
  6834. "tabelmenu": {
  6835. "description": "列表菜单",
  6836. "type": "string"
  6837. },
  6838. "tablekey": {
  6839. "description": "列表Key",
  6840. "type": "string"
  6841. },
  6842. "tablename": {
  6843. "description": "列表名称",
  6844. "type": "string"
  6845. },
  6846. "tabletype": {
  6847. "description": "列表类型 - 1:管理端 2:终端",
  6848. "type": "integer"
  6849. }
  6850. }
  6851. },
  6852. "common.QueryTraderMenuRsp": {
  6853. "type": "object",
  6854. "properties": {
  6855. "OperationMenu": {
  6856. "description": "功能菜单",
  6857. "type": "array",
  6858. "items": {
  6859. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6860. }
  6861. },
  6862. "QuoteMenu": {
  6863. "description": "报价牌分类菜单",
  6864. "type": "array",
  6865. "items": {
  6866. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "cptrade.Cptradepositioncancel": {
  6872. "type": "object",
  6873. "required": [
  6874. "cancelid"
  6875. ],
  6876. "properties": {
  6877. "accountid": {
  6878. "description": "申请人账户ID",
  6879. "type": "integer"
  6880. },
  6881. "applystatus": {
  6882. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6883. "type": "integer"
  6884. },
  6885. "applytime": {
  6886. "description": "申请时间",
  6887. "type": "string"
  6888. },
  6889. "cancelid": {
  6890. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6891. "type": "integer"
  6892. },
  6893. "cancelqty": {
  6894. "description": "注销数量",
  6895. "type": "integer"
  6896. },
  6897. "createtime": {
  6898. "description": "创建时间",
  6899. "type": "string"
  6900. },
  6901. "creatorid": {
  6902. "description": "创建人ID",
  6903. "type": "integer"
  6904. },
  6905. "creatorname": {
  6906. "description": "创建人",
  6907. "type": "string"
  6908. },
  6909. "goodscode": {
  6910. "description": "订单商品代码",
  6911. "type": "string"
  6912. },
  6913. "goodsid": {
  6914. "description": "商品ID",
  6915. "type": "integer"
  6916. },
  6917. "goodsname": {
  6918. "description": "订单商品名称",
  6919. "type": "string"
  6920. },
  6921. "goodunit": {
  6922. "description": "报价单位",
  6923. "type": "string"
  6924. },
  6925. "handlestatus": {
  6926. "description": "处理状态",
  6927. "type": "integer"
  6928. },
  6929. "marketid": {
  6930. "description": "市场ID",
  6931. "type": "integer"
  6932. },
  6933. "marketname": {
  6934. "description": "市场名称",
  6935. "type": "string"
  6936. },
  6937. "tradedate": {
  6938. "description": "交易日(yyyyMMdd)",
  6939. "type": "string"
  6940. },
  6941. "userid": {
  6942. "description": "申请人ID",
  6943. "type": "integer"
  6944. }
  6945. }
  6946. },
  6947. "cptrade.Cptradepresaleapply": {
  6948. "type": "object",
  6949. "required": [
  6950. "applyid"
  6951. ],
  6952. "properties": {
  6953. "accountid": {
  6954. "description": "申请人账户ID",
  6955. "type": "integer"
  6956. },
  6957. "applyid": {
  6958. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6959. "type": "integer"
  6960. },
  6961. "applyremark": {
  6962. "description": "申请备注",
  6963. "type": "string"
  6964. },
  6965. "applystatus": {
  6966. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6967. "type": "integer"
  6968. },
  6969. "applytime": {
  6970. "description": "申请时间",
  6971. "type": "string"
  6972. },
  6973. "attachmenturl": {
  6974. "description": "附件地址",
  6975. "type": "string"
  6976. },
  6977. "endtime": {
  6978. "description": "预售结束时间",
  6979. "type": "string"
  6980. },
  6981. "goodscode": {
  6982. "description": "商品代码",
  6983. "type": "string"
  6984. },
  6985. "goodsid": {
  6986. "description": "商品ID",
  6987. "type": "integer"
  6988. },
  6989. "goodsname": {
  6990. "description": "商品名称",
  6991. "type": "string"
  6992. },
  6993. "goodunit": {
  6994. "description": "报价单位",
  6995. "type": "string"
  6996. },
  6997. "handlestatus": {
  6998. "description": "处理状态",
  6999. "type": "integer"
  7000. },
  7001. "marketid": {
  7002. "description": "预售市场ID",
  7003. "type": "integer"
  7004. },
  7005. "marketname": {
  7006. "description": "预售市场名称",
  7007. "type": "string"
  7008. },
  7009. "presaleqty": {
  7010. "description": "预售数量",
  7011. "type": "integer"
  7012. },
  7013. "relatedgoodscode": {
  7014. "description": "关联交易合约代码",
  7015. "type": "string"
  7016. },
  7017. "relatedgoodsid": {
  7018. "description": "关联交易合约ID",
  7019. "type": "integer"
  7020. },
  7021. "relatedgoodsname": {
  7022. "description": "关联交易合约名称",
  7023. "type": "string"
  7024. },
  7025. "starttime": {
  7026. "description": "预售开始时间",
  7027. "type": "string"
  7028. },
  7029. "tradedate": {
  7030. "description": "交易日(yyyyMMdd)",
  7031. "type": "string"
  7032. },
  7033. "trademode": {
  7034. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7035. "type": "integer"
  7036. },
  7037. "userid": {
  7038. "description": "申请人ID",
  7039. "type": "integer"
  7040. }
  7041. }
  7042. },
  7043. "cptrade.Cptradeusergoodsdata": {
  7044. "type": "object",
  7045. "required": [
  7046. "accountid",
  7047. "goodsid"
  7048. ],
  7049. "properties": {
  7050. "EnabledQty": {
  7051. "description": "可用量",
  7052. "type": "integer"
  7053. },
  7054. "GoodsCode": {
  7055. "description": "订单商品代码",
  7056. "type": "string"
  7057. },
  7058. "GoodsName": {
  7059. "description": "订单商品名称",
  7060. "type": "string"
  7061. },
  7062. "WRStandardCode": {
  7063. "description": "仓单标准代码",
  7064. "type": "string"
  7065. },
  7066. "WRStandardName": {
  7067. "description": "仓单标准名称",
  7068. "type": "string"
  7069. },
  7070. "accountid": {
  7071. "description": "账户ID",
  7072. "type": "integer"
  7073. },
  7074. "cancelqty": {
  7075. "description": "注销量",
  7076. "type": "integer"
  7077. },
  7078. "curpresaleqty": {
  7079. "description": "当前预售量",
  7080. "type": "integer"
  7081. },
  7082. "deliveryqty": {
  7083. "description": "交割量",
  7084. "type": "integer"
  7085. },
  7086. "freezeamount": {
  7087. "description": "冻结金额",
  7088. "type": "number"
  7089. },
  7090. "goodsid": {
  7091. "description": "商品ID",
  7092. "type": "integer"
  7093. },
  7094. "goodunit": {
  7095. "description": "报价单位",
  7096. "type": "string"
  7097. },
  7098. "hasspotfreeze": {
  7099. "description": "是否有现货冻结 - 0:否 1:有",
  7100. "type": "integer"
  7101. },
  7102. "inqty": {
  7103. "description": "转入量(总数量)",
  7104. "type": "integer"
  7105. },
  7106. "marketid": {
  7107. "description": "市场ID",
  7108. "type": "integer"
  7109. },
  7110. "presaledamount": {
  7111. "description": "已预售总金额",
  7112. "type": "integer"
  7113. },
  7114. "presaledqty": {
  7115. "description": "已预售量",
  7116. "type": "integer"
  7117. },
  7118. "userid": {
  7119. "description": "用户ID",
  7120. "type": "integer"
  7121. },
  7122. "wrstandardid": {
  7123. "description": "仓单标准ID",
  7124. "type": "integer"
  7125. }
  7126. }
  7127. },
  7128. "cptrade.QueryCPTradeMyBidRsp": {
  7129. "type": "object",
  7130. "required": [
  7131. "accountid",
  7132. "goodsid",
  7133. "marketid",
  7134. "orderid",
  7135. "orderqty",
  7136. "ordertime",
  7137. "tradeprice",
  7138. "tradeqty"
  7139. ],
  7140. "properties": {
  7141. "accountid": {
  7142. "description": "账户ID[报价币种]",
  7143. "type": "integer"
  7144. },
  7145. "goodsid": {
  7146. "description": "商品ID",
  7147. "type": "integer"
  7148. },
  7149. "goodunit": {
  7150. "description": "报价单位",
  7151. "type": "string"
  7152. },
  7153. "marketid": {
  7154. "description": "市场ID",
  7155. "type": "integer"
  7156. },
  7157. "orderid": {
  7158. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7159. "type": "integer"
  7160. },
  7161. "orderprice": {
  7162. "description": "委托价格",
  7163. "type": "number"
  7164. },
  7165. "orderqty": {
  7166. "description": "委托数量",
  7167. "type": "integer"
  7168. },
  7169. "ordertime": {
  7170. "description": "委托时间",
  7171. "type": "string"
  7172. },
  7173. "ordertotalprice": {
  7174. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7175. "type": "number"
  7176. },
  7177. "ordertotalweight": {
  7178. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7179. "type": "integer"
  7180. },
  7181. "totaltotalprice": {
  7182. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7183. "type": "number"
  7184. },
  7185. "tradeprice": {
  7186. "description": "成交价格",
  7187. "type": "number"
  7188. },
  7189. "tradeqty": {
  7190. "description": "成交数量",
  7191. "type": "integer"
  7192. }
  7193. }
  7194. },
  7195. "cptrade.QueryCPTradeOrderDetailRsq": {
  7196. "type": "object",
  7197. "required": [
  7198. "accountid",
  7199. "buildtype",
  7200. "buyorsell",
  7201. "goodsid",
  7202. "marketid",
  7203. "memberuserid",
  7204. "operatetype",
  7205. "orderqty",
  7206. "ordertime",
  7207. "pricemode",
  7208. "strorderid",
  7209. "tradedate",
  7210. "validtype"
  7211. ],
  7212. "properties": {
  7213. "accountid": {
  7214. "description": "账户ID[报价币种]",
  7215. "type": "integer"
  7216. },
  7217. "buildtype": {
  7218. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7219. "type": "integer"
  7220. },
  7221. "buyorsell": {
  7222. "description": "买卖 - 0:买 1:卖",
  7223. "type": "integer"
  7224. },
  7225. "cancelorderid": {
  7226. "description": "撤单单号(撤单时填写)",
  7227. "type": "integer"
  7228. },
  7229. "cancelqty": {
  7230. "description": "撤单数量",
  7231. "type": "integer"
  7232. },
  7233. "clientordertime": {
  7234. "description": "客户端委托时间",
  7235. "type": "string"
  7236. },
  7237. "clientticket": {
  7238. "description": "客户端流水号",
  7239. "type": "string"
  7240. },
  7241. "clienttype": {
  7242. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7243. "type": "integer"
  7244. },
  7245. "closeexchagechargevalue": {
  7246. "description": "平仓交易所手续费设置值",
  7247. "type": "number"
  7248. },
  7249. "closefeealgorithm": {
  7250. "description": "平仓手续费收取方式 1:比率 2:固定",
  7251. "type": "integer"
  7252. },
  7253. "closefreezecharge": {
  7254. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7255. "type": "number"
  7256. },
  7257. "closememberchargevalue": {
  7258. "description": "平仓会员手续费设置值",
  7259. "type": "number"
  7260. },
  7261. "closeqty": {
  7262. "description": "平仓数量(先建后平操作 需要记录)",
  7263. "type": "integer"
  7264. },
  7265. "closetradeqty": {
  7266. "description": "平仓成交数量(先建后平操作,需要记录)",
  7267. "type": "integer"
  7268. },
  7269. "closeunfreezecharge": {
  7270. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7271. "type": "number"
  7272. },
  7273. "delistingtype": {
  7274. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7275. "type": "integer"
  7276. },
  7277. "freezecharge": {
  7278. "description": "冻结手续费",
  7279. "type": "number"
  7280. },
  7281. "freezemargin": {
  7282. "description": "冻结保证金(冻结交易金额)",
  7283. "type": "number"
  7284. },
  7285. "gcaccountid": {
  7286. "description": "账户ID[合约币种]",
  7287. "type": "integer"
  7288. },
  7289. "goodsid": {
  7290. "description": "商品ID",
  7291. "type": "integer"
  7292. },
  7293. "isconfirmexercise": {
  7294. "description": "是否确认行权- 0:否 1:是",
  7295. "type": "integer"
  7296. },
  7297. "ispreexercise": {
  7298. "description": "是否预申报- 0:否 1:是",
  7299. "type": "integer"
  7300. },
  7301. "listingselecttype": {
  7302. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7303. "type": "integer"
  7304. },
  7305. "marginalgorithm": {
  7306. "description": "保证金收取方式 1:比率 2:固定",
  7307. "type": "integer"
  7308. },
  7309. "marginvalue": {
  7310. "description": "即市保证金设置值",
  7311. "type": "number"
  7312. },
  7313. "marketid": {
  7314. "description": "市场ID",
  7315. "type": "integer"
  7316. },
  7317. "marketmaxsub": {
  7318. "description": "市价最大偏移范围",
  7319. "type": "number"
  7320. },
  7321. "memberuserid": {
  7322. "description": "所属会员UserID",
  7323. "type": "integer"
  7324. },
  7325. "openexchagechargevalue": {
  7326. "description": "建仓交易所手续费设置值",
  7327. "type": "number"
  7328. },
  7329. "openfeealgorithm": {
  7330. "description": "建仓手续费收取方式 1:比率 2:固定",
  7331. "type": "integer"
  7332. },
  7333. "openfreezecharge": {
  7334. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7335. "type": "number"
  7336. },
  7337. "openmemberchargevalue": {
  7338. "description": "建仓会员手续费设置值",
  7339. "type": "number"
  7340. },
  7341. "openqty": {
  7342. "description": "开仓数量(先建后平操作,需要记录)",
  7343. "type": "integer"
  7344. },
  7345. "opentradeqty": {
  7346. "description": "开仓成交数量(先建后平操作,需要记录)",
  7347. "type": "integer"
  7348. },
  7349. "openunfreezecharge": {
  7350. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7351. "type": "number"
  7352. },
  7353. "operatetype": {
  7354. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7355. "type": "integer"
  7356. },
  7357. "operatorid": {
  7358. "description": "登录账号(LoginID)",
  7359. "type": "integer"
  7360. },
  7361. "optiontype": {
  7362. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7363. "type": "integer"
  7364. },
  7365. "orderprice": {
  7366. "description": "委托价格",
  7367. "type": "number"
  7368. },
  7369. "orderqty": {
  7370. "description": "委托数量",
  7371. "type": "integer"
  7372. },
  7373. "ordersrc": {
  7374. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7375. "type": "integer"
  7376. },
  7377. "orderstatus": {
  7378. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7379. "type": "integer"
  7380. },
  7381. "ordertime": {
  7382. "description": "委托时间",
  7383. "type": "string"
  7384. },
  7385. "preexerciseprice": {
  7386. "description": "预申报价格",
  7387. "type": "number"
  7388. },
  7389. "premium": {
  7390. "description": "权利金",
  7391. "type": "number"
  7392. },
  7393. "preorderid": {
  7394. "description": "关联预埋单号(止盈止损单时填写)",
  7395. "type": "integer"
  7396. },
  7397. "pricemode": {
  7398. "description": "取价方式 - 1:市价 2: 限价",
  7399. "type": "integer"
  7400. },
  7401. "quoteid": {
  7402. "description": "报价单ID",
  7403. "type": "integer"
  7404. },
  7405. "relatedid": {
  7406. "description": "关联单号(交割单)",
  7407. "type": "integer"
  7408. },
  7409. "retcode": {
  7410. "description": "错误代码",
  7411. "type": "integer"
  7412. },
  7413. "sessionid": {
  7414. "description": "会话ID",
  7415. "type": "integer"
  7416. },
  7417. "strorderid": {
  7418. "description": "委托单号",
  7419. "type": "string"
  7420. },
  7421. "tradedate": {
  7422. "description": "交易日(yyyyMMdd)",
  7423. "type": "string"
  7424. },
  7425. "tradeproperty": {
  7426. "description": "交易属性",
  7427. "type": "integer"
  7428. },
  7429. "tradeqty": {
  7430. "description": "成交数量",
  7431. "type": "integer"
  7432. },
  7433. "unfreezecharge": {
  7434. "description": "解冻手续费",
  7435. "type": "number"
  7436. },
  7437. "unfreezemargin": {
  7438. "description": "解冻保证金",
  7439. "type": "number"
  7440. },
  7441. "updatetime": {
  7442. "description": "更新时间",
  7443. "type": "string"
  7444. },
  7445. "uuid": {
  7446. "description": "发起端唯一id",
  7447. "type": "string"
  7448. },
  7449. "validtime": {
  7450. "description": "有效期限",
  7451. "type": "string"
  7452. },
  7453. "validtype": {
  7454. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7455. "type": "integer"
  7456. },
  7457. "volumetype": {
  7458. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7459. "type": "integer"
  7460. }
  7461. }
  7462. },
  7463. "cptrade.QueryMyCPTradeGoodsRsp": {
  7464. "type": "object",
  7465. "required": [
  7466. "goodscode",
  7467. "goodsid",
  7468. "goodsname",
  7469. "marketid",
  7470. "relatedgoodscode",
  7471. "relatedgoodsname"
  7472. ],
  7473. "properties": {
  7474. "accountid": {
  7475. "description": "卖方账户ID",
  7476. "type": "integer"
  7477. },
  7478. "agreeunit": {
  7479. "description": "合约单位",
  7480. "type": "number"
  7481. },
  7482. "applyid": {
  7483. "description": "关联申请ID",
  7484. "type": "integer"
  7485. },
  7486. "attachmenturl": {
  7487. "description": "附件地址",
  7488. "type": "string"
  7489. },
  7490. "createtime": {
  7491. "description": "创建时间",
  7492. "type": "string"
  7493. },
  7494. "currencyid": {
  7495. "description": "报价货币ID",
  7496. "type": "integer"
  7497. },
  7498. "decimalplace": {
  7499. "description": "报价小数位",
  7500. "type": "integer"
  7501. },
  7502. "endtime": {
  7503. "description": "预售结束时间",
  7504. "type": "string"
  7505. },
  7506. "floorprice": {
  7507. "description": "底价[大宗式竞拍]",
  7508. "type": "number"
  7509. },
  7510. "goodscode": {
  7511. "description": "商品代码(预售)",
  7512. "type": "string"
  7513. },
  7514. "goodsdetail": {
  7515. "description": "详情[大宗]",
  7516. "type": "string"
  7517. },
  7518. "goodsid": {
  7519. "description": "商品ID(自增ID SEQ_GOODS)",
  7520. "type": "integer"
  7521. },
  7522. "goodsname": {
  7523. "description": "商品名称(预售)",
  7524. "type": "string"
  7525. },
  7526. "goodunit": {
  7527. "description": "报价单位",
  7528. "type": "string"
  7529. },
  7530. "goodunitid": {
  7531. "description": "报价单位ID",
  7532. "type": "integer"
  7533. },
  7534. "marketid": {
  7535. "description": "所属市场ID",
  7536. "type": "integer"
  7537. },
  7538. "marketname": {
  7539. "description": "预售市场名称",
  7540. "type": "string"
  7541. },
  7542. "presaledamount": {
  7543. "description": "已预售总金额(预售结束时更新)",
  7544. "type": "number"
  7545. },
  7546. "presaledqty": {
  7547. "description": "已预售量(预售结束时更新)",
  7548. "type": "integer"
  7549. },
  7550. "presalemode": {
  7551. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7552. "type": "integer"
  7553. },
  7554. "presaleqty": {
  7555. "description": "预售数量",
  7556. "type": "integer"
  7557. },
  7558. "refprice": {
  7559. "description": "参考价格[一口价]",
  7560. "type": "number"
  7561. },
  7562. "relatedgoodscode": {
  7563. "description": "商品代码(订单)",
  7564. "type": "string"
  7565. },
  7566. "relatedgoodsid": {
  7567. "description": "关联交易合约ID",
  7568. "type": "integer"
  7569. },
  7570. "relatedgoodsname": {
  7571. "description": "商品名称(订单)",
  7572. "type": "string"
  7573. },
  7574. "relatedmarketid": {
  7575. "description": "关联交易合约市场ID",
  7576. "type": "integer"
  7577. },
  7578. "sellstatus": {
  7579. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7580. "type": "integer"
  7581. },
  7582. "startprice": {
  7583. "description": "起拍价[大宗式竞拍]",
  7584. "type": "number"
  7585. },
  7586. "starttime": {
  7587. "description": "预售开始时间",
  7588. "type": "string"
  7589. },
  7590. "tradedate": {
  7591. "description": "交易日(yyyyMMdd)",
  7592. "type": "string"
  7593. },
  7594. "tradeprice": {
  7595. "description": "成交价[大宗]",
  7596. "type": "number"
  7597. },
  7598. "userid": {
  7599. "description": "卖方用户ID",
  7600. "type": "integer"
  7601. }
  7602. }
  7603. },
  7604. "cptrade.QueryPresaleGoodsExRsp": {
  7605. "type": "object",
  7606. "required": [
  7607. "goodsid"
  7608. ],
  7609. "properties": {
  7610. "attachmenturl": {
  7611. "description": "附件地址",
  7612. "type": "string"
  7613. },
  7614. "createtime": {
  7615. "description": "创建时间",
  7616. "type": "string"
  7617. },
  7618. "endtime": {
  7619. "description": "预售结束时间",
  7620. "type": "string"
  7621. },
  7622. "floorprice": {
  7623. "description": "底价[大宗式竞拍]",
  7624. "type": "number"
  7625. },
  7626. "goodsdetail": {
  7627. "description": "详情[大宗]",
  7628. "type": "string"
  7629. },
  7630. "goodsid": {
  7631. "description": "商品ID(预售)",
  7632. "type": "integer"
  7633. },
  7634. "goodunit": {
  7635. "description": "报价单位",
  7636. "type": "string"
  7637. },
  7638. "marketid": {
  7639. "description": "预售市场ID - 根据预售模式选择市场",
  7640. "type": "integer"
  7641. },
  7642. "presaledamount": {
  7643. "description": "已预售总金额(预售结束时更新)",
  7644. "type": "number"
  7645. },
  7646. "presaledqty": {
  7647. "description": "已预售量(预售结束时更新)",
  7648. "type": "integer"
  7649. },
  7650. "presalemode": {
  7651. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7652. "type": "integer"
  7653. },
  7654. "presaleqty": {
  7655. "description": "预售数量",
  7656. "type": "integer"
  7657. },
  7658. "refprice": {
  7659. "description": "参考价格[一口价]",
  7660. "type": "number"
  7661. },
  7662. "relatedgoodsid": {
  7663. "description": "关联交易合约ID",
  7664. "type": "integer"
  7665. },
  7666. "relatedmarketid": {
  7667. "description": "关联交易合约市场ID",
  7668. "type": "integer"
  7669. },
  7670. "sellstatus": {
  7671. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7672. "type": "integer"
  7673. },
  7674. "startprice": {
  7675. "description": "起拍价[大宗式竞拍]",
  7676. "type": "number"
  7677. },
  7678. "starttime": {
  7679. "description": "预售开始时间",
  7680. "type": "string"
  7681. },
  7682. "tradedate": {
  7683. "description": "交易日(yyyyMMdd)",
  7684. "type": "string"
  7685. },
  7686. "tradeprice": {
  7687. "description": "成交价[大宗]",
  7688. "type": "number"
  7689. }
  7690. }
  7691. },
  7692. "delivery.QueryDeliveryRelationRsp": {
  7693. "type": "object",
  7694. "required": [
  7695. "begindate",
  7696. "enddate",
  7697. "goodsid",
  7698. "mindeliveryqty",
  7699. "xdeliveryratio"
  7700. ],
  7701. "properties": {
  7702. "begindate": {
  7703. "description": "起始日期(yyyyMMdd)",
  7704. "type": "string"
  7705. },
  7706. "buytemplateid": {
  7707. "description": "买履约计划模板ID",
  7708. "type": "integer"
  7709. },
  7710. "deliverygoodscode": {
  7711. "description": "品种代码",
  7712. "type": "string"
  7713. },
  7714. "deliverygoodsid": {
  7715. "description": "交割商品",
  7716. "type": "integer"
  7717. },
  7718. "deliverygoodsname": {
  7719. "description": "品种名称",
  7720. "type": "string"
  7721. },
  7722. "deliverymode": {
  7723. "description": "交割方式 - 1:点选式 2:申报式",
  7724. "type": "integer"
  7725. },
  7726. "deliverypricerule": {
  7727. "description": "交割价规则- 1:行情价 2:建仓价",
  7728. "type": "integer"
  7729. },
  7730. "deliverytype": {
  7731. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7732. "type": "integer"
  7733. },
  7734. "enddate": {
  7735. "description": "结束日期(yyyyMMdd)",
  7736. "type": "string"
  7737. },
  7738. "goodscode": {
  7739. "description": "商品代码",
  7740. "type": "string"
  7741. },
  7742. "goodsid": {
  7743. "description": "交易合约ID",
  7744. "type": "integer"
  7745. },
  7746. "goodsname": {
  7747. "description": "商品名称",
  7748. "type": "string"
  7749. },
  7750. "marketid": {
  7751. "description": "市场ID",
  7752. "type": "integer"
  7753. },
  7754. "mindeliveryqty": {
  7755. "description": "最小交割系数(K)",
  7756. "type": "integer"
  7757. },
  7758. "p2deliveryprice": {
  7759. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7760. "type": "number"
  7761. },
  7762. "p2deliveryratio": {
  7763. "description": "P2合约系数(p)",
  7764. "type": "integer"
  7765. },
  7766. "p2goodsid": {
  7767. "description": "P2合约ID",
  7768. "type": "integer"
  7769. },
  7770. "p2pricemode": {
  7771. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7772. "type": "integer"
  7773. },
  7774. "pdeliveryprice": {
  7775. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7776. "type": "number"
  7777. },
  7778. "pdeliveryratio": {
  7779. "description": "P合约系数(n)",
  7780. "type": "integer"
  7781. },
  7782. "pgoodsid": {
  7783. "description": "P合约ID",
  7784. "type": "integer"
  7785. },
  7786. "ppricemode": {
  7787. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7788. "type": "integer"
  7789. },
  7790. "rratio": {
  7791. "description": "兑换系数(R)",
  7792. "type": "integer"
  7793. },
  7794. "rratio1": {
  7795. "description": "兑换系数(交易合约)(R1)",
  7796. "type": "integer"
  7797. },
  7798. "rratio2": {
  7799. "description": "兑换系数(仓单标准)(R2)",
  7800. "type": "integer"
  7801. },
  7802. "selltemplateid": {
  7803. "description": "卖履约计划模板ID",
  7804. "type": "integer"
  7805. },
  7806. "wrstandardid": {
  7807. "description": "仓单标准ID",
  7808. "type": "integer"
  7809. },
  7810. "xdeliveryratio": {
  7811. "description": "交易合约系数(m)",
  7812. "type": "integer"
  7813. }
  7814. }
  7815. },
  7816. "ermcp.ExposureDetailRsp": {
  7817. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  7818. },
  7819. "ermcp.ExposureHedgePosDetailRsp": {
  7820. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  7821. },
  7822. "ermcp.ExposureHedgePositionRsp": {
  7823. "$ref": "#/definitions/models.ErmcpHedgePosition"
  7824. },
  7825. "ermcp.ExposureSpotDetailRsp": {
  7826. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  7827. },
  7828. "ermcp.ExposureSpotRsp": {
  7829. "$ref": "#/definitions/models.AreaSpotModel"
  7830. },
  7831. "ermcp.HisExposureRsp": {
  7832. "$ref": "#/definitions/models.ErmcpHisExposureS"
  7833. },
  7834. "ermcp.PendingAuditCntRsp": {
  7835. "$ref": "#/definitions/models.ErmcpPendingAudit"
  7836. },
  7837. "ermcp.QryAreaStockApplyRsp": {
  7838. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  7839. },
  7840. "ermcp.QryAvalidGPRsp": {
  7841. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  7842. },
  7843. "ermcp.QryBusinessDjRsp": {
  7844. "type": "object",
  7845. "properties": {
  7846. "amount": {
  7847. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7848. "type": "number"
  7849. },
  7850. "applyid": {
  7851. "description": "申请人",
  7852. "type": "string"
  7853. },
  7854. "applyname": {
  7855. "description": "申请人名称",
  7856. "type": "string"
  7857. },
  7858. "applystatus": {
  7859. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7860. "type": "integer"
  7861. },
  7862. "applytime": {
  7863. "description": "申请时间",
  7864. "type": "string"
  7865. },
  7866. "attachurl": {
  7867. "description": "附件",
  7868. "type": "string"
  7869. },
  7870. "auditname": {
  7871. "description": "审核人名称",
  7872. "type": "string"
  7873. },
  7874. "audittime": {
  7875. "description": "审核时间",
  7876. "type": "string"
  7877. },
  7878. "buyusername": {
  7879. "description": "采购方名称",
  7880. "type": "string"
  7881. },
  7882. "contractno": {
  7883. "description": "合同编号",
  7884. "type": "string"
  7885. },
  7886. "contractstatus": {
  7887. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7888. "type": "integer"
  7889. },
  7890. "contracttype": {
  7891. "description": "现货合同类型 - 1:采购 -1:销售",
  7892. "type": "integer"
  7893. },
  7894. "enumdicname": {
  7895. "description": "单位名称",
  7896. "type": "string"
  7897. },
  7898. "goodscode": {
  7899. "description": "点价合约",
  7900. "type": "string"
  7901. },
  7902. "goodsname": {
  7903. "description": "商品名称",
  7904. "type": "string"
  7905. },
  7906. "operateapplyid": {
  7907. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7908. "type": "string"
  7909. },
  7910. "operateapplytype": {
  7911. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7912. "type": "integer"
  7913. },
  7914. "pricedPrice": {
  7915. "description": "点价价格(非必填)",
  7916. "type": "number"
  7917. },
  7918. "pricedQty": {
  7919. "description": "点价数量(非必填)",
  7920. "type": "number"
  7921. },
  7922. "pricemove": {
  7923. "description": "升贴水",
  7924. "type": "number"
  7925. },
  7926. "pricetype": {
  7927. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7928. "type": "integer"
  7929. },
  7930. "relatedid": {
  7931. "description": "现货合同ID",
  7932. "type": "string"
  7933. },
  7934. "sellusername": {
  7935. "description": "销售方名字",
  7936. "type": "string"
  7937. },
  7938. "userid": {
  7939. "description": "用户ID",
  7940. "type": "integer"
  7941. },
  7942. "wrstandardcode": {
  7943. "description": "现货商品代码",
  7944. "type": "string"
  7945. },
  7946. "wrstandardid": {
  7947. "description": "现货商品id",
  7948. "type": "integer"
  7949. },
  7950. "wrstandardname": {
  7951. "description": "现货商品名称",
  7952. "type": "string"
  7953. }
  7954. }
  7955. },
  7956. "ermcp.QryBussinessFpRsp": {
  7957. "type": "object",
  7958. "properties": {
  7959. "applyid": {
  7960. "description": "申请人",
  7961. "type": "string"
  7962. },
  7963. "applyname": {
  7964. "description": "申请人名称",
  7965. "type": "string"
  7966. },
  7967. "applystatus": {
  7968. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7969. "type": "integer"
  7970. },
  7971. "applytime": {
  7972. "description": "申请时间",
  7973. "type": "string"
  7974. },
  7975. "attachurl": {
  7976. "description": "附件",
  7977. "type": "string"
  7978. },
  7979. "auditname": {
  7980. "description": "审核人名称",
  7981. "type": "string"
  7982. },
  7983. "audittime": {
  7984. "description": "审核时间",
  7985. "type": "string"
  7986. },
  7987. "buyusername": {
  7988. "description": "采购方名称",
  7989. "type": "string"
  7990. },
  7991. "contractno": {
  7992. "description": "合同编号",
  7993. "type": "string"
  7994. },
  7995. "contractstatus": {
  7996. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7997. "type": "integer"
  7998. },
  7999. "contracttype": {
  8000. "description": "现货合同类型 - 1:采购 -1:销售",
  8001. "type": "integer"
  8002. },
  8003. "enumdicname": {
  8004. "description": "单位名称",
  8005. "type": "string"
  8006. },
  8007. "goodscode": {
  8008. "description": "点价合约",
  8009. "type": "string"
  8010. },
  8011. "goodsname": {
  8012. "description": "商品名称",
  8013. "type": "string"
  8014. },
  8015. "invoiceAmount": {
  8016. "description": "已开收票金额(销售为开票,采购为收票)",
  8017. "type": "number"
  8018. },
  8019. "operateapplyid": {
  8020. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8021. "type": "string"
  8022. },
  8023. "operateapplytype": {
  8024. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8025. "type": "integer"
  8026. },
  8027. "pricemove": {
  8028. "description": "升贴水",
  8029. "type": "number"
  8030. },
  8031. "pricetype": {
  8032. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8033. "type": "integer"
  8034. },
  8035. "relatedid": {
  8036. "description": "现货合同ID",
  8037. "type": "string"
  8038. },
  8039. "sellusername": {
  8040. "description": "销售方名字",
  8041. "type": "string"
  8042. },
  8043. "userid": {
  8044. "description": "用户ID",
  8045. "type": "integer"
  8046. },
  8047. "wrstandardcode": {
  8048. "description": "现货商品代码",
  8049. "type": "string"
  8050. },
  8051. "wrstandardid": {
  8052. "description": "现货商品id",
  8053. "type": "integer"
  8054. },
  8055. "wrstandardname": {
  8056. "description": "现货商品名称",
  8057. "type": "string"
  8058. }
  8059. }
  8060. },
  8061. "ermcp.QryBussinessJsExRsp": {
  8062. "type": "object",
  8063. "properties": {
  8064. "applyid": {
  8065. "description": "申请人",
  8066. "type": "string"
  8067. },
  8068. "applyname": {
  8069. "description": "申请人名称",
  8070. "type": "string"
  8071. },
  8072. "applystatus": {
  8073. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8074. "type": "integer"
  8075. },
  8076. "applytime": {
  8077. "description": "申请时间",
  8078. "type": "string"
  8079. },
  8080. "attachurl": {
  8081. "description": "附件",
  8082. "type": "string"
  8083. },
  8084. "auditname": {
  8085. "description": "审核人名称",
  8086. "type": "string"
  8087. },
  8088. "audittime": {
  8089. "description": "审核时间",
  8090. "type": "string"
  8091. },
  8092. "buyusername": {
  8093. "description": "采购方名称",
  8094. "type": "string"
  8095. },
  8096. "contractno": {
  8097. "description": "合同编号",
  8098. "type": "string"
  8099. },
  8100. "contractstatus": {
  8101. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8102. "type": "integer"
  8103. },
  8104. "contracttype": {
  8105. "description": "现货合同类型 - 1:采购 -1:销售",
  8106. "type": "integer"
  8107. },
  8108. "enumdicname": {
  8109. "description": "单位名称",
  8110. "type": "string"
  8111. },
  8112. "goodscode": {
  8113. "description": "点价合约",
  8114. "type": "string"
  8115. },
  8116. "goodsname": {
  8117. "description": "商品名称",
  8118. "type": "string"
  8119. },
  8120. "operateapplyid": {
  8121. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8122. "type": "string"
  8123. },
  8124. "operateapplytype": {
  8125. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8126. "type": "integer"
  8127. },
  8128. "pricemove": {
  8129. "description": "升贴水",
  8130. "type": "number"
  8131. },
  8132. "pricetype": {
  8133. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8134. "type": "integer"
  8135. },
  8136. "reckontype": {
  8137. "description": "结算类型",
  8138. "type": "string"
  8139. },
  8140. "reckonvalue": {
  8141. "description": "值",
  8142. "type": "number"
  8143. },
  8144. "relatedid": {
  8145. "description": "现货合同ID",
  8146. "type": "string"
  8147. },
  8148. "sellusername": {
  8149. "description": "销售方名字",
  8150. "type": "string"
  8151. },
  8152. "userid": {
  8153. "description": "用户ID",
  8154. "type": "integer"
  8155. },
  8156. "wrstandardcode": {
  8157. "description": "现货商品代码",
  8158. "type": "string"
  8159. },
  8160. "wrstandardid": {
  8161. "description": "现货商品id",
  8162. "type": "integer"
  8163. },
  8164. "wrstandardname": {
  8165. "description": "现货商品名称",
  8166. "type": "string"
  8167. }
  8168. }
  8169. },
  8170. "ermcp.QryBussinessJsRsp": {
  8171. "type": "object",
  8172. "properties": {
  8173. "addmargin": {
  8174. "description": "追加保证金(非必填)",
  8175. "type": "number"
  8176. },
  8177. "applyid": {
  8178. "description": "申请人",
  8179. "type": "string"
  8180. },
  8181. "applyname": {
  8182. "description": "申请人名称",
  8183. "type": "string"
  8184. },
  8185. "applystatus": {
  8186. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8187. "type": "integer"
  8188. },
  8189. "applytime": {
  8190. "description": "申请时间",
  8191. "type": "string"
  8192. },
  8193. "attachurl": {
  8194. "description": "附件",
  8195. "type": "string"
  8196. },
  8197. "auditname": {
  8198. "description": "审核人名称",
  8199. "type": "string"
  8200. },
  8201. "audittime": {
  8202. "description": "审核时间",
  8203. "type": "string"
  8204. },
  8205. "buyusername": {
  8206. "description": "采购方名称",
  8207. "type": "string"
  8208. },
  8209. "contractno": {
  8210. "description": "合同编号",
  8211. "type": "string"
  8212. },
  8213. "contractstatus": {
  8214. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8215. "type": "integer"
  8216. },
  8217. "contracttype": {
  8218. "description": "现货合同类型 - 1:采购 -1:销售",
  8219. "type": "integer"
  8220. },
  8221. "decmargin": {
  8222. "description": "减少保证金(非必填)",
  8223. "type": "number"
  8224. },
  8225. "enumdicname": {
  8226. "description": "单位名称",
  8227. "type": "string"
  8228. },
  8229. "goodscode": {
  8230. "description": "点价合约",
  8231. "type": "string"
  8232. },
  8233. "goodsname": {
  8234. "description": "商品名称",
  8235. "type": "string"
  8236. },
  8237. "operateapplyid": {
  8238. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8239. "type": "string"
  8240. },
  8241. "operateapplytype": {
  8242. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8243. "type": "integer"
  8244. },
  8245. "pricemove": {
  8246. "description": "升贴水",
  8247. "type": "number"
  8248. },
  8249. "pricetype": {
  8250. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8251. "type": "integer"
  8252. },
  8253. "reckonadjustamount": {
  8254. "description": "结算调整金额(非必填)",
  8255. "type": "number"
  8256. },
  8257. "reckonosamount": {
  8258. "description": "结算溢短金额(非必填)",
  8259. "type": "number"
  8260. },
  8261. "reckonotheramount": {
  8262. "description": "结算其他费用(非必填)",
  8263. "type": "number"
  8264. },
  8265. "reckonrealqty": {
  8266. "description": "结算实际数量(非必填)",
  8267. "type": "number"
  8268. },
  8269. "relatedid": {
  8270. "description": "现货合同ID",
  8271. "type": "string"
  8272. },
  8273. "sellusername": {
  8274. "description": "销售方名字",
  8275. "type": "string"
  8276. },
  8277. "userid": {
  8278. "description": "用户ID",
  8279. "type": "integer"
  8280. },
  8281. "wrstandardcode": {
  8282. "description": "现货商品代码",
  8283. "type": "string"
  8284. },
  8285. "wrstandardid": {
  8286. "description": "现货商品id",
  8287. "type": "integer"
  8288. },
  8289. "wrstandardname": {
  8290. "description": "现货商品名称",
  8291. "type": "string"
  8292. }
  8293. }
  8294. },
  8295. "ermcp.QryBussinessKxRsp": {
  8296. "type": "object",
  8297. "properties": {
  8298. "applyid": {
  8299. "description": "申请人",
  8300. "type": "string"
  8301. },
  8302. "applyname": {
  8303. "description": "申请人名称",
  8304. "type": "string"
  8305. },
  8306. "applystatus": {
  8307. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8308. "type": "integer"
  8309. },
  8310. "applytime": {
  8311. "description": "申请时间",
  8312. "type": "string"
  8313. },
  8314. "attachurl": {
  8315. "description": "附件",
  8316. "type": "string"
  8317. },
  8318. "auditname": {
  8319. "description": "审核人名称",
  8320. "type": "string"
  8321. },
  8322. "audittime": {
  8323. "description": "审核时间",
  8324. "type": "string"
  8325. },
  8326. "buyusername": {
  8327. "description": "采购方名称",
  8328. "type": "string"
  8329. },
  8330. "contractno": {
  8331. "description": "合同编号",
  8332. "type": "string"
  8333. },
  8334. "contractstatus": {
  8335. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8336. "type": "integer"
  8337. },
  8338. "contracttype": {
  8339. "description": "现货合同类型 - 1:采购 -1:销售",
  8340. "type": "integer"
  8341. },
  8342. "deductamount": {
  8343. "description": "退款(非必填)",
  8344. "type": "number"
  8345. },
  8346. "enumdicname": {
  8347. "description": "单位名称",
  8348. "type": "string"
  8349. },
  8350. "goodscode": {
  8351. "description": "点价合约",
  8352. "type": "string"
  8353. },
  8354. "goodsname": {
  8355. "description": "商品名称",
  8356. "type": "string"
  8357. },
  8358. "kxtype": {
  8359. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8360. "type": "integer"
  8361. },
  8362. "operateapplyid": {
  8363. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8364. "type": "string"
  8365. },
  8366. "operateapplytype": {
  8367. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8368. "type": "integer"
  8369. },
  8370. "payamount": {
  8371. "description": "收付款(非必填)",
  8372. "type": "number"
  8373. },
  8374. "pricemove": {
  8375. "description": "升贴水",
  8376. "type": "number"
  8377. },
  8378. "pricetype": {
  8379. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8380. "type": "integer"
  8381. },
  8382. "relatedid": {
  8383. "description": "现货合同ID",
  8384. "type": "string"
  8385. },
  8386. "sellusername": {
  8387. "description": "销售方名字",
  8388. "type": "string"
  8389. },
  8390. "userid": {
  8391. "description": "用户ID",
  8392. "type": "integer"
  8393. },
  8394. "wrstandardcode": {
  8395. "description": "现货商品代码",
  8396. "type": "string"
  8397. },
  8398. "wrstandardid": {
  8399. "description": "现货商品id",
  8400. "type": "integer"
  8401. },
  8402. "wrstandardname": {
  8403. "description": "现货商品名称",
  8404. "type": "string"
  8405. }
  8406. }
  8407. },
  8408. "ermcp.QryErmcpRsp": {
  8409. "$ref": "#/definitions/models.ErmcpModel"
  8410. },
  8411. "ermcp.QryGGCovertCfgRsp": {
  8412. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8413. },
  8414. "ermcp.QryHedgePlanRsp": {
  8415. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8416. },
  8417. "ermcp.QryMGChangeLogRsp": {
  8418. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8419. },
  8420. "ermcp.QryMiddleGoodsDetailRsp": {
  8421. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8422. },
  8423. "ermcp.QryMiddleGoodsRsp": {
  8424. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8425. },
  8426. "ermcp.QryOPLogRsp": {
  8427. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8428. },
  8429. "ermcp.QryReportDaySpotDetailRsp": {
  8430. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8431. },
  8432. "ermcp.QryReportExposureDayRsp": {
  8433. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8434. },
  8435. "ermcp.QryReportFinanceDayRsp": {
  8436. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8437. },
  8438. "ermcp.QryReportFinanceKxRsp": {
  8439. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8440. },
  8441. "ermcp.QryReportFinanceMonRsp": {
  8442. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8443. },
  8444. "ermcp.QryReportSpotDayRsp": {
  8445. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8446. },
  8447. "ermcp.QryReportSpotMonRsp": {
  8448. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8449. },
  8450. "ermcp.QryReportSpotMonthDetailRsp": {
  8451. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8452. },
  8453. "ermcp.QrySpotContractRsp": {
  8454. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8455. },
  8456. "ermcp.QryUserInfoRsp": {
  8457. "$ref": "#/definitions/models.ErmcpUserModel"
  8458. },
  8459. "ermcp.QryWarehouseRsp": {
  8460. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8461. },
  8462. "ermcp.QryWrStandardDetailRsp": {
  8463. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8464. },
  8465. "ermcp.QryWrStandardRsp": {
  8466. "$ref": "#/definitions/models.ErmcpWrstandard"
  8467. },
  8468. "ermcp.QueryAreaStockApplySumRsp": {
  8469. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8470. },
  8471. "ermcp.QueryErmcpTradePositionRsp": {
  8472. "type": "object",
  8473. "properties": {
  8474. "agreeunit": {
  8475. "description": "合约单位",
  8476. "type": "number"
  8477. },
  8478. "buyorsell": {
  8479. "description": "方向 - 0:买 1:卖",
  8480. "type": "integer"
  8481. },
  8482. "curpositionqty": {
  8483. "description": "持仓(总仓数量, 期末头寸)",
  8484. "type": "integer"
  8485. },
  8486. "curtdposition": {
  8487. "description": "今仓数量(期末今日头寸)",
  8488. "type": "integer"
  8489. },
  8490. "curtdpositionenabled": {
  8491. "description": "今仓可用",
  8492. "type": "integer"
  8493. },
  8494. "decimalplace": {
  8495. "description": "报价小数位",
  8496. "type": "integer"
  8497. },
  8498. "enableqty": {
  8499. "description": "可用(总仓可用)",
  8500. "type": "integer"
  8501. },
  8502. "exexchangename": {
  8503. "description": "外部交易所名称",
  8504. "type": "string"
  8505. },
  8506. "goodscode": {
  8507. "description": "商品代码(内部)",
  8508. "type": "string"
  8509. },
  8510. "goodsid": {
  8511. "description": "商品ID(自增ID SEQ_GOODS)",
  8512. "type": "integer"
  8513. },
  8514. "goodsname": {
  8515. "description": "商品名称",
  8516. "type": "string"
  8517. },
  8518. "last": {
  8519. "description": "现价",
  8520. "type": "number"
  8521. },
  8522. "marketid": {
  8523. "description": "所属市场ID",
  8524. "type": "integer"
  8525. },
  8526. "openaverageprice": {
  8527. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8528. "type": "number"
  8529. },
  8530. "opencost": {
  8531. "description": "开仓成本",
  8532. "type": "number"
  8533. },
  8534. "openpl": {
  8535. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8536. "type": "number"
  8537. },
  8538. "outgoodscode": {
  8539. "description": "商品代码(外部)",
  8540. "type": "string"
  8541. },
  8542. "positionaverageprice": {
  8543. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8544. "type": "number"
  8545. },
  8546. "positioncost": {
  8547. "description": "持仓成本",
  8548. "type": "number"
  8549. },
  8550. "positionpl": {
  8551. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8552. "type": "number"
  8553. },
  8554. "positionplrate": {
  8555. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8556. "type": "number"
  8557. },
  8558. "usedmargin": {
  8559. "description": "占用保证金",
  8560. "type": "number"
  8561. }
  8562. }
  8563. },
  8564. "ermcp.RealtimeExposurePositionRsp": {
  8565. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8566. },
  8567. "ermcp.RealtimeExposureRsp": {
  8568. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8569. },
  8570. "erms2.QueryArbitrageStrategyRsp": {
  8571. "type": "object",
  8572. "required": [
  8573. "asapplyid"
  8574. ],
  8575. "properties": {
  8576. "applybasis": {
  8577. "description": "申请基差",
  8578. "type": "number"
  8579. },
  8580. "asapplyid": {
  8581. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8582. "type": "string"
  8583. },
  8584. "asname": {
  8585. "description": "策略名称",
  8586. "type": "string"
  8587. },
  8588. "asno": {
  8589. "description": "策略编号",
  8590. "type": "string"
  8591. },
  8592. "basischangepl": {
  8593. "description": "基差变动损益[结算更新]",
  8594. "type": "number"
  8595. },
  8596. "biztype": {
  8597. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8598. "type": "integer"
  8599. },
  8600. "closetradedate": {
  8601. "description": "完结交易日(yyyyMMdd)",
  8602. "type": "string"
  8603. },
  8604. "curbasis": {
  8605. "description": "当前基差[结算更新]",
  8606. "type": "number"
  8607. },
  8608. "deliverygoodsid": {
  8609. "description": "现货品种ID",
  8610. "type": "integer"
  8611. },
  8612. "futureavgprice": {
  8613. "description": "期货建仓均价",
  8614. "type": "number"
  8615. },
  8616. "futurecloseamount": {
  8617. "description": "期货平仓金额",
  8618. "type": "number"
  8619. },
  8620. "futurecloseqty": {
  8621. "description": "期货平仓数量",
  8622. "type": "number"
  8623. },
  8624. "futureopenamount": {
  8625. "description": "期货开仓金额",
  8626. "type": "number"
  8627. },
  8628. "futureopenqty": {
  8629. "description": "期货开仓数量",
  8630. "type": "number"
  8631. },
  8632. "futurepl": {
  8633. "description": "期货总盈亏[结算更新]",
  8634. "type": "number"
  8635. },
  8636. "futureqty": {
  8637. "description": "期货持仓数量",
  8638. "type": "number"
  8639. },
  8640. "futurequote": {
  8641. "description": "期货额度",
  8642. "type": "number"
  8643. },
  8644. "goodsgroupid": {
  8645. "description": "期货品种ID",
  8646. "type": "integer"
  8647. },
  8648. "marketid": {
  8649. "description": "市场ID",
  8650. "type": "integer"
  8651. },
  8652. "netexposure": {
  8653. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8654. "type": "number"
  8655. },
  8656. "netexposurepl": {
  8657. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8658. "type": "number"
  8659. },
  8660. "netexposurerate": {
  8661. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8662. "type": "number"
  8663. },
  8664. "openbasis": {
  8665. "description": "建仓基差",
  8666. "type": "number"
  8667. },
  8668. "pricedspotqty": {
  8669. "description": "已定价现货数量",
  8670. "type": "number"
  8671. },
  8672. "pricedspotqtynotax": {
  8673. "description": "已定价现货不含税数量",
  8674. "type": "number"
  8675. },
  8676. "remark": {
  8677. "description": "备注",
  8678. "type": "string"
  8679. },
  8680. "spotavgprice": {
  8681. "description": "现货均价",
  8682. "type": "number"
  8683. },
  8684. "spotbuyamount": {
  8685. "description": "现货采购金额",
  8686. "type": "number"
  8687. },
  8688. "spotbuyqty": {
  8689. "description": "现货采购数量",
  8690. "type": "number"
  8691. },
  8692. "spotpl": {
  8693. "description": "现货总盈亏[结算更新]",
  8694. "type": "number"
  8695. },
  8696. "spotquota": {
  8697. "description": "现货额度",
  8698. "type": "number"
  8699. },
  8700. "spotsellamount": {
  8701. "description": "现货销售金额",
  8702. "type": "number"
  8703. },
  8704. "spotsellqty": {
  8705. "description": "现货销售数量",
  8706. "type": "number"
  8707. },
  8708. "spotusedquota": {
  8709. "description": "现货占用资金",
  8710. "type": "number"
  8711. },
  8712. "strategystatus": {
  8713. "description": "策略状态 - 0:未结束 1:已结束",
  8714. "type": "integer"
  8715. },
  8716. "totalpl": {
  8717. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8718. "type": "number"
  8719. },
  8720. "tradedate": {
  8721. "description": "交易日(yyyyMMdd)",
  8722. "type": "string"
  8723. },
  8724. "updatetime": {
  8725. "description": "更新时间",
  8726. "type": "string"
  8727. },
  8728. "usedquota": {
  8729. "description": "已占用资金",
  8730. "type": "number"
  8731. },
  8732. "userid": {
  8733. "description": "所属机构",
  8734. "type": "integer"
  8735. }
  8736. }
  8737. },
  8738. "erms2.QueryInnerTradeDetailRsp": {
  8739. "type": "object",
  8740. "required": [
  8741. "asapplyid",
  8742. "buyorsell",
  8743. "goodscode",
  8744. "goodsgroupid",
  8745. "goodsgroupname",
  8746. "goodsname",
  8747. "tradeid"
  8748. ],
  8749. "properties": {
  8750. "accountid": {
  8751. "description": "账号ID",
  8752. "type": "integer"
  8753. },
  8754. "agreeunit": {
  8755. "description": "合约单位",
  8756. "type": "number"
  8757. },
  8758. "asapplyid": {
  8759. "description": "策略申请ID",
  8760. "type": "integer"
  8761. },
  8762. "asname": {
  8763. "description": "策略名称",
  8764. "type": "string"
  8765. },
  8766. "asno": {
  8767. "description": "策略编号",
  8768. "type": "string"
  8769. },
  8770. "buyorsell": {
  8771. "description": "方向 - 0:买 1:卖",
  8772. "type": "integer"
  8773. },
  8774. "channelbuildtype": {
  8775. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8776. "type": "integer"
  8777. },
  8778. "closetype": {
  8779. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8780. "type": "integer"
  8781. },
  8782. "decimalplace": {
  8783. "description": "报价小数位",
  8784. "type": "integer"
  8785. },
  8786. "detailtype": {
  8787. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8788. "type": "integer"
  8789. },
  8790. "exexchangecode": {
  8791. "description": "外部交易所代码",
  8792. "type": "string"
  8793. },
  8794. "exexchangename": {
  8795. "description": "外部交易所名称",
  8796. "type": "string"
  8797. },
  8798. "goodscode": {
  8799. "description": "商品代码(合约)",
  8800. "type": "string"
  8801. },
  8802. "goodsgroupid": {
  8803. "description": "商品组ID(品种ID)",
  8804. "type": "integer"
  8805. },
  8806. "goodsgroupname": {
  8807. "description": "商品组名称(品种)",
  8808. "type": "string"
  8809. },
  8810. "goodsid": {
  8811. "description": "商品ID",
  8812. "type": "integer"
  8813. },
  8814. "goodsname": {
  8815. "description": "商品名称(合约)",
  8816. "type": "string"
  8817. },
  8818. "goodunit": {
  8819. "description": "报价单位",
  8820. "type": "string"
  8821. },
  8822. "marketid": {
  8823. "description": "市场ID",
  8824. "type": "integer"
  8825. },
  8826. "orderid": {
  8827. "description": "委托单号",
  8828. "type": "string"
  8829. },
  8830. "outgoodscode": {
  8831. "description": "商品代码(外部)",
  8832. "type": "string"
  8833. },
  8834. "relatedouttradeid": {
  8835. "description": "关联外部成交单ID",
  8836. "type": "string"
  8837. },
  8838. "remark": {
  8839. "description": "备注",
  8840. "type": "string"
  8841. },
  8842. "spotcontractid": {
  8843. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8844. "type": "integer"
  8845. },
  8846. "spotcontractno": {
  8847. "description": "现货合同编号",
  8848. "type": "string"
  8849. },
  8850. "tradeid": {
  8851. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8852. "type": "string"
  8853. },
  8854. "tradeprice": {
  8855. "description": "成交价格",
  8856. "type": "number"
  8857. },
  8858. "tradeqty": {
  8859. "description": "成交数量",
  8860. "type": "integer"
  8861. },
  8862. "tradetime": {
  8863. "description": "成交时间",
  8864. "type": "string"
  8865. },
  8866. "updatetime": {
  8867. "description": "更新时间",
  8868. "type": "string"
  8869. }
  8870. }
  8871. },
  8872. "erms2.QuerySpotContractRsp": {
  8873. "type": "object",
  8874. "required": [
  8875. "spotcontractid"
  8876. ],
  8877. "properties": {
  8878. "accountid": {
  8879. "description": "资金账户ID",
  8880. "type": "integer"
  8881. },
  8882. "areauserid": {
  8883. "description": "所属机构",
  8884. "type": "integer"
  8885. },
  8886. "closedate": {
  8887. "description": "终止日期",
  8888. "type": "string"
  8889. },
  8890. "closeremark": {
  8891. "description": "结束备注",
  8892. "type": "string"
  8893. },
  8894. "closetradedate": {
  8895. "description": "完结交易日(yyyyMMdd)",
  8896. "type": "string"
  8897. },
  8898. "closetype": {
  8899. "description": "终止类型 - 1:违约 2:提前终止",
  8900. "type": "integer"
  8901. },
  8902. "contractamount": {
  8903. "description": "合同金额",
  8904. "type": "number"
  8905. },
  8906. "contractattachment": {
  8907. "description": "合同附件",
  8908. "type": "string"
  8909. },
  8910. "contractno": {
  8911. "description": "现货合同编号",
  8912. "type": "string"
  8913. },
  8914. "contractqty": {
  8915. "description": "合同数量(数值) (用于计算)",
  8916. "type": "number"
  8917. },
  8918. "contractqtychar": {
  8919. "description": "合同数量\\已订价数量 (用于显示)",
  8920. "type": "string"
  8921. },
  8922. "contractstatus": {
  8923. "description": "合同状态 - 0:未结束 1:已结束",
  8924. "type": "integer"
  8925. },
  8926. "contracttype": {
  8927. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8928. "type": "integer"
  8929. },
  8930. "customeraccountid": {
  8931. "description": "客户资金账户ID",
  8932. "type": "integer"
  8933. },
  8934. "customeruserid": {
  8935. "description": "客户ID",
  8936. "type": "integer"
  8937. },
  8938. "deliverygoodsdesc": {
  8939. "description": "品种说明",
  8940. "type": "string"
  8941. },
  8942. "deliverygoodsid": {
  8943. "description": "现货品种ID",
  8944. "type": "integer"
  8945. },
  8946. "handlestatus": {
  8947. "description": "处理状态",
  8948. "type": "integer"
  8949. },
  8950. "invoiceatt": {
  8951. "description": "发票附件",
  8952. "type": "string"
  8953. },
  8954. "invoicedatetime": {
  8955. "description": "开收票更新时间",
  8956. "type": "string"
  8957. },
  8958. "invoiceopentime": {
  8959. "description": "开票时间",
  8960. "type": "string"
  8961. },
  8962. "invoiceremark": {
  8963. "description": "发票备注",
  8964. "type": "string"
  8965. },
  8966. "invoicestatus": {
  8967. "description": "开收票状态 - 0:未开票 1:已开票",
  8968. "type": "integer"
  8969. },
  8970. "lastdate": {
  8971. "description": "交货时间",
  8972. "type": "string"
  8973. },
  8974. "marketid": {
  8975. "description": "市场ID",
  8976. "type": "integer"
  8977. },
  8978. "paydatetime": {
  8979. "description": "收付款更新时间",
  8980. "type": "string"
  8981. },
  8982. "payremark": {
  8983. "description": "收付款备注",
  8984. "type": "string"
  8985. },
  8986. "paystatus": {
  8987. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8988. "type": "integer"
  8989. },
  8990. "positionqty": {
  8991. "description": "头寸数量 - 合同数量去小数部分",
  8992. "type": "integer"
  8993. },
  8994. "producttype": {
  8995. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8996. "type": "integer"
  8997. },
  8998. "relatedqty": {
  8999. "description": "已关联数量",
  9000. "type": "number"
  9001. },
  9002. "relatedstatus": {
  9003. "description": "关联完结状态 - 0:未结束 1:已结束",
  9004. "type": "integer"
  9005. },
  9006. "remark": {
  9007. "description": "备注",
  9008. "type": "string"
  9009. },
  9010. "signdate": {
  9011. "description": "签订日期",
  9012. "type": "string"
  9013. },
  9014. "spotcontractid": {
  9015. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9016. "type": "string"
  9017. },
  9018. "spotdatetime": {
  9019. "description": "收发货更新时间",
  9020. "type": "string"
  9021. },
  9022. "spotprice": {
  9023. "description": "价格",
  9024. "type": "number"
  9025. },
  9026. "spotremark": {
  9027. "description": "收发货备注",
  9028. "type": "string"
  9029. },
  9030. "spotstatus": {
  9031. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9032. "type": "integer"
  9033. },
  9034. "tradedate": {
  9035. "description": "交易日(yyyyMMdd)",
  9036. "type": "string"
  9037. },
  9038. "userid": {
  9039. "description": "业务员用户ID",
  9040. "type": "integer"
  9041. },
  9042. "warehouseid": {
  9043. "description": "仓库ID",
  9044. "type": "integer"
  9045. },
  9046. "wrfactortypeid": {
  9047. "description": "仓单要素类型ID",
  9048. "type": "integer"
  9049. },
  9050. "wrstandardid": {
  9051. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9052. "type": "integer"
  9053. }
  9054. }
  9055. },
  9056. "erms3.AddErms2ASApplyReq": {
  9057. "type": "object",
  9058. "required": [
  9059. "asapplyid"
  9060. ],
  9061. "properties": {
  9062. "applybasis": {
  9063. "description": "申请基差",
  9064. "type": "number"
  9065. },
  9066. "applystatus": {
  9067. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9068. "type": "integer"
  9069. },
  9070. "asapplyid": {
  9071. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9072. "type": "integer"
  9073. },
  9074. "asname": {
  9075. "description": "策略名称",
  9076. "type": "string"
  9077. },
  9078. "asno": {
  9079. "description": "策略编号",
  9080. "type": "string"
  9081. },
  9082. "auditid": {
  9083. "description": "审核人",
  9084. "type": "integer"
  9085. },
  9086. "auditremark": {
  9087. "description": "审核备注",
  9088. "type": "string"
  9089. },
  9090. "audittime": {
  9091. "description": "审核时间",
  9092. "type": "string"
  9093. },
  9094. "biztype": {
  9095. "description": "业务类型 - 1:正向套利 2:反向套利",
  9096. "type": "integer"
  9097. },
  9098. "createtime": {
  9099. "description": "创建时间",
  9100. "type": "string"
  9101. },
  9102. "creatorid": {
  9103. "description": "创建人",
  9104. "type": "integer"
  9105. },
  9106. "deliverygoodsid": {
  9107. "description": "现货品种ID",
  9108. "type": "integer"
  9109. },
  9110. "futurequote": {
  9111. "description": "期货额度",
  9112. "type": "number"
  9113. },
  9114. "goodsgroupid": {
  9115. "description": "期货品种ID",
  9116. "type": "integer"
  9117. },
  9118. "marketid": {
  9119. "description": "市场ID",
  9120. "type": "integer"
  9121. },
  9122. "remark": {
  9123. "description": "备注",
  9124. "type": "string"
  9125. },
  9126. "spotquota": {
  9127. "description": "现货额度",
  9128. "type": "number"
  9129. },
  9130. "tradedate": {
  9131. "description": "交易日(yyyyMMdd)",
  9132. "type": "string"
  9133. },
  9134. "userid": {
  9135. "description": "所属机构",
  9136. "type": "integer"
  9137. }
  9138. }
  9139. },
  9140. "erms3.AddErms2SpotTradeApplyReq": {
  9141. "type": "object",
  9142. "required": [
  9143. "spottradeid"
  9144. ],
  9145. "properties": {
  9146. "applyjsondetail": {
  9147. "description": "申请明细(JSON)",
  9148. "type": "string"
  9149. },
  9150. "applystatus": {
  9151. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9152. "type": "integer"
  9153. },
  9154. "areauserid": {
  9155. "description": "所属机构",
  9156. "type": "integer"
  9157. },
  9158. "auditid": {
  9159. "description": "审核人",
  9160. "type": "integer"
  9161. },
  9162. "auditremark": {
  9163. "description": "审核备注",
  9164. "type": "string"
  9165. },
  9166. "audittime": {
  9167. "description": "审核时间",
  9168. "type": "string"
  9169. },
  9170. "createtime": {
  9171. "description": "创建时间",
  9172. "type": "string"
  9173. },
  9174. "creatorid": {
  9175. "description": "创建人",
  9176. "type": "integer"
  9177. },
  9178. "deliverygoodsid": {
  9179. "description": "现货品种ID",
  9180. "type": "integer"
  9181. },
  9182. "futureaccountid": {
  9183. "description": "期货资金账户",
  9184. "type": "integer"
  9185. },
  9186. "goodsgroupid": {
  9187. "description": "期货品种",
  9188. "type": "integer"
  9189. },
  9190. "marketid": {
  9191. "description": "市场ID",
  9192. "type": "integer"
  9193. },
  9194. "remark": {
  9195. "description": "备注",
  9196. "type": "string"
  9197. },
  9198. "spotaccountid": {
  9199. "description": "现货资金账户",
  9200. "type": "integer"
  9201. },
  9202. "spottradeid": {
  9203. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9204. "type": "integer"
  9205. },
  9206. "spottradename": {
  9207. "description": "业务名称",
  9208. "type": "string"
  9209. },
  9210. "spottradeno": {
  9211. "description": "业务编号",
  9212. "type": "string"
  9213. },
  9214. "tradedate": {
  9215. "description": "交易日(yyyyMMdd)",
  9216. "type": "string"
  9217. },
  9218. "wrstandardid": {
  9219. "description": "仓单标准ID",
  9220. "type": "integer"
  9221. }
  9222. }
  9223. },
  9224. "erms3.AddSpotContractApplyReq": {
  9225. "type": "object",
  9226. "required": [
  9227. "accountid",
  9228. "areauserid",
  9229. "contractno",
  9230. "contracttype",
  9231. "customeraccountid",
  9232. "customeruserid",
  9233. "details",
  9234. "orimargin",
  9235. "signdate"
  9236. ],
  9237. "properties": {
  9238. "accountid": {
  9239. "description": "资金账户ID",
  9240. "type": "integer"
  9241. },
  9242. "areauserid": {
  9243. "description": "所属机构",
  9244. "type": "integer"
  9245. },
  9246. "contractattachment": {
  9247. "description": "合同附件",
  9248. "type": "string"
  9249. },
  9250. "contractno": {
  9251. "description": "现货合同编号",
  9252. "type": "string"
  9253. },
  9254. "contracttype": {
  9255. "description": "现货合同类型 - 1:采购 -1:销售",
  9256. "type": "integer"
  9257. },
  9258. "creatorid": {
  9259. "description": "申请人",
  9260. "type": "integer"
  9261. },
  9262. "customeraccountid": {
  9263. "description": "客户资金账户ID",
  9264. "type": "integer"
  9265. },
  9266. "customeruserid": {
  9267. "description": "客户ID",
  9268. "type": "integer"
  9269. },
  9270. "details": {
  9271. "description": "明细",
  9272. "type": "array",
  9273. "items": {
  9274. "$ref": "#/definitions/erms3.SoptContractDetail"
  9275. }
  9276. },
  9277. "orimargin": {
  9278. "description": "初始保证金",
  9279. "type": "number"
  9280. },
  9281. "remark": {
  9282. "description": "备注",
  9283. "type": "string"
  9284. },
  9285. "signdate": {
  9286. "description": "签订日期",
  9287. "type": "string"
  9288. }
  9289. }
  9290. },
  9291. "erms3.AddSpotContractApplyRsp": {
  9292. "type": "object",
  9293. "required": [
  9294. "contractno"
  9295. ],
  9296. "properties": {
  9297. "contractno": {
  9298. "description": "现货合同编号",
  9299. "type": "string"
  9300. },
  9301. "spotcontractid": {
  9302. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9303. "type": "integer"
  9304. }
  9305. }
  9306. },
  9307. "erms3.AddUserInfoApplyReq": {
  9308. "type": "object",
  9309. "required": [
  9310. "userid"
  9311. ],
  9312. "properties": {
  9313. "accountid": {
  9314. "description": "交易系统帐号Id (加密存储)",
  9315. "type": "integer"
  9316. },
  9317. "areacode": {
  9318. "description": "机构代码",
  9319. "type": "string"
  9320. },
  9321. "areaid": {
  9322. "description": "机构Id",
  9323. "type": "integer"
  9324. },
  9325. "attachment1": {
  9326. "description": "附件1",
  9327. "type": "string"
  9328. },
  9329. "attachment2": {
  9330. "description": "附件2",
  9331. "type": "string"
  9332. },
  9333. "attachment3": {
  9334. "description": "附件3",
  9335. "type": "string"
  9336. },
  9337. "attachment4": {
  9338. "description": "附件4",
  9339. "type": "string"
  9340. },
  9341. "attachment5": {
  9342. "description": "附件5",
  9343. "type": "string"
  9344. },
  9345. "auditedby": {
  9346. "description": "审核人",
  9347. "type": "string"
  9348. },
  9349. "auditime": {
  9350. "description": "审核时间",
  9351. "type": "string"
  9352. },
  9353. "bankaccount": {
  9354. "description": "银行帐号 (加密存储)",
  9355. "type": "string"
  9356. },
  9357. "bankaccountname": {
  9358. "description": "收款人名称",
  9359. "type": "string"
  9360. },
  9361. "bankcardbackphotourl": {
  9362. "description": "银行卡背面照地址",
  9363. "type": "string"
  9364. },
  9365. "bankcardfrontphotourl": {
  9366. "description": "银行卡正面照地址",
  9367. "type": "string"
  9368. },
  9369. "bankid": {
  9370. "description": "银行编码",
  9371. "type": "string"
  9372. },
  9373. "bankname": {
  9374. "description": "银行名称",
  9375. "type": "string"
  9376. },
  9377. "bankpictureurl": {
  9378. "description": "银行卡正面地址",
  9379. "type": "string"
  9380. },
  9381. "biznature": {
  9382. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9383. "type": "integer"
  9384. },
  9385. "bizscope": {
  9386. "description": "企业经营范围(企业)",
  9387. "type": "string"
  9388. },
  9389. "biztype": {
  9390. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9391. "type": "integer"
  9392. },
  9393. "brokerid": {
  9394. "description": "经纪人ID(加密存储)",
  9395. "type": "string"
  9396. },
  9397. "cardaddress": {
  9398. "description": "证件地址 (加密存储)",
  9399. "type": "string"
  9400. },
  9401. "cardbackphotourl": {
  9402. "description": "背面证件照地址",
  9403. "type": "string"
  9404. },
  9405. "cardfrontphotourl": {
  9406. "description": "正面证件照地址",
  9407. "type": "string"
  9408. },
  9409. "cardnum": {
  9410. "description": "证件号码 (加密存储)",
  9411. "type": "string"
  9412. },
  9413. "cardtype": {
  9414. "description": "证件类型",
  9415. "type": "integer"
  9416. },
  9417. "cityid": {
  9418. "description": "市",
  9419. "type": "integer"
  9420. },
  9421. "company": {
  9422. "description": "公司(个人)",
  9423. "type": "string"
  9424. },
  9425. "contactcardbackphotourl": {
  9426. "description": "联系人证件背面图片地址",
  9427. "type": "string"
  9428. },
  9429. "contactcardfrontphotourl": {
  9430. "description": "联系人证件正面图片地址",
  9431. "type": "string"
  9432. },
  9433. "contactname": {
  9434. "description": "联系人",
  9435. "type": "string"
  9436. },
  9437. "countryid": {
  9438. "description": "国家",
  9439. "type": "integer"
  9440. },
  9441. "createtime": {
  9442. "description": "开户申请时间",
  9443. "type": "string"
  9444. },
  9445. "cusbankid": {
  9446. "description": "签约类型",
  9447. "type": "string"
  9448. },
  9449. "cusbankname": {
  9450. "description": "签约类型名称",
  9451. "type": "string"
  9452. },
  9453. "customername": {
  9454. "description": "客户名称(企业名称)",
  9455. "type": "string"
  9456. },
  9457. "districtid": {
  9458. "description": "地区",
  9459. "type": "integer"
  9460. },
  9461. "email": {
  9462. "description": "Email地址(加密存储)",
  9463. "type": "string"
  9464. },
  9465. "halfbodyphotourl": {
  9466. "description": "半身照地址",
  9467. "type": "string"
  9468. },
  9469. "headurl": {
  9470. "description": "头像地址",
  9471. "type": "string"
  9472. },
  9473. "ipaddress": {
  9474. "description": "IP地址",
  9475. "type": "string"
  9476. },
  9477. "isvalidate": {
  9478. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9479. "type": "string"
  9480. },
  9481. "legalcardbackphotourl": {
  9482. "description": "法人身份证背面照地址",
  9483. "type": "string"
  9484. },
  9485. "legalcardfrontphotourl": {
  9486. "description": "法人身份证正面照地址",
  9487. "type": "string"
  9488. },
  9489. "legalpersonname": {
  9490. "description": "法人姓名(企业)",
  9491. "type": "string"
  9492. },
  9493. "logincode": {
  9494. "description": "登录帐号 (加密存储)",
  9495. "type": "string"
  9496. },
  9497. "memberareaid": {
  9498. "description": "所属会员ID",
  9499. "type": "integer"
  9500. },
  9501. "mobile2": {
  9502. "description": "手机号码[明文-尚志]",
  9503. "type": "string"
  9504. },
  9505. "mobilephone": {
  9506. "description": "手机号码 (加密存储)",
  9507. "type": "string"
  9508. },
  9509. "modifiedby": {
  9510. "description": "修改人帐号",
  9511. "type": "integer"
  9512. },
  9513. "modifiedtime": {
  9514. "description": "修改时间",
  9515. "type": "string"
  9516. },
  9517. "nickname": {
  9518. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9519. "type": "string"
  9520. },
  9521. "openmode": {
  9522. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9523. "type": "integer"
  9524. },
  9525. "otherurl": {
  9526. "description": "其它图片地址[使用分号分隔]",
  9527. "type": "string"
  9528. },
  9529. "postalcode": {
  9530. "description": "邮政编码",
  9531. "type": "string"
  9532. },
  9533. "provinceid": {
  9534. "description": "省",
  9535. "type": "integer"
  9536. },
  9537. "proxystatementurl": {
  9538. "description": "授权委托书",
  9539. "type": "string"
  9540. },
  9541. "qq": {
  9542. "description": "QQ(加密存储",
  9543. "type": "string"
  9544. },
  9545. "referral": {
  9546. "description": "推荐人编码",
  9547. "type": "string"
  9548. },
  9549. "remark": {
  9550. "description": "备注",
  9551. "type": "string"
  9552. },
  9553. "removebeforestatus": {
  9554. "description": "REMOVEBEFORESTATUS",
  9555. "type": "integer"
  9556. },
  9557. "sex": {
  9558. "description": "性别 - 0:女 1:男",
  9559. "type": "integer"
  9560. },
  9561. "signedstatus": {
  9562. "description": "账户一号签签约状态",
  9563. "type": "integer"
  9564. },
  9565. "signpdfurl": {
  9566. "description": "签约pdf文件",
  9567. "type": "string"
  9568. },
  9569. "subbranch": {
  9570. "description": "开户支行",
  9571. "type": "string"
  9572. },
  9573. "telphone": {
  9574. "description": "联系电话(加密存储)",
  9575. "type": "string"
  9576. },
  9577. "userid": {
  9578. "description": "用户ID(自增ID)",
  9579. "type": "integer"
  9580. },
  9581. "userinfotype": {
  9582. "description": "用户信息类型 - 1:个人 2:企业",
  9583. "type": "integer"
  9584. },
  9585. "username": {
  9586. "description": "用户姓名",
  9587. "type": "string"
  9588. },
  9589. "userstate": {
  9590. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9591. "type": "integer"
  9592. },
  9593. "usertype": {
  9594. "description": "用户类型 - 1:投资者 2:机构",
  9595. "type": "integer"
  9596. },
  9597. "videourl": {
  9598. "description": "视频地址",
  9599. "type": "string"
  9600. },
  9601. "wechat": {
  9602. "description": "微信号 (加密存储)",
  9603. "type": "string"
  9604. }
  9605. }
  9606. },
  9607. "erms3.CustomerInfo": {
  9608. "type": "object",
  9609. "required": [
  9610. "userid"
  9611. ],
  9612. "properties": {
  9613. "accountids": {
  9614. "description": "资金账户ID列表",
  9615. "type": "array",
  9616. "items": {
  9617. "type": "integer"
  9618. }
  9619. },
  9620. "customername": {
  9621. "description": "名称(企业名称)",
  9622. "type": "string"
  9623. },
  9624. "mobile": {
  9625. "description": "手机号码",
  9626. "type": "string"
  9627. },
  9628. "userid": {
  9629. "description": "用户ID",
  9630. "type": "integer"
  9631. }
  9632. }
  9633. },
  9634. "erms3.ModifyUserInfoApplyReq": {
  9635. "type": "object",
  9636. "required": [
  9637. "userid"
  9638. ],
  9639. "properties": {
  9640. "accountid": {
  9641. "description": "交易系统帐号Id (加密存储)",
  9642. "type": "integer"
  9643. },
  9644. "areacode": {
  9645. "description": "机构代码",
  9646. "type": "string"
  9647. },
  9648. "areaid": {
  9649. "description": "机构Id",
  9650. "type": "integer"
  9651. },
  9652. "attachment1": {
  9653. "description": "附件1",
  9654. "type": "string"
  9655. },
  9656. "attachment2": {
  9657. "description": "附件2",
  9658. "type": "string"
  9659. },
  9660. "attachment3": {
  9661. "description": "附件3",
  9662. "type": "string"
  9663. },
  9664. "attachment4": {
  9665. "description": "附件4",
  9666. "type": "string"
  9667. },
  9668. "attachment5": {
  9669. "description": "附件5",
  9670. "type": "string"
  9671. },
  9672. "auditedby": {
  9673. "description": "审核人",
  9674. "type": "string"
  9675. },
  9676. "auditime": {
  9677. "description": "审核时间",
  9678. "type": "string"
  9679. },
  9680. "bankaccount": {
  9681. "description": "银行帐号 (加密存储)",
  9682. "type": "string"
  9683. },
  9684. "bankaccountname": {
  9685. "description": "收款人名称",
  9686. "type": "string"
  9687. },
  9688. "bankcardbackphotourl": {
  9689. "description": "银行卡背面照地址",
  9690. "type": "string"
  9691. },
  9692. "bankcardfrontphotourl": {
  9693. "description": "银行卡正面照地址",
  9694. "type": "string"
  9695. },
  9696. "bankid": {
  9697. "description": "银行编码",
  9698. "type": "string"
  9699. },
  9700. "bankname": {
  9701. "description": "银行名称",
  9702. "type": "string"
  9703. },
  9704. "bankpictureurl": {
  9705. "description": "银行卡正面地址",
  9706. "type": "string"
  9707. },
  9708. "biznature": {
  9709. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9710. "type": "integer"
  9711. },
  9712. "bizscope": {
  9713. "description": "企业经营范围(企业)",
  9714. "type": "string"
  9715. },
  9716. "biztype": {
  9717. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9718. "type": "integer"
  9719. },
  9720. "brokerid": {
  9721. "description": "经纪人ID(加密存储)",
  9722. "type": "string"
  9723. },
  9724. "cardaddress": {
  9725. "description": "证件地址 (加密存储)",
  9726. "type": "string"
  9727. },
  9728. "cardbackphotourl": {
  9729. "description": "背面证件照地址",
  9730. "type": "string"
  9731. },
  9732. "cardfrontphotourl": {
  9733. "description": "正面证件照地址",
  9734. "type": "string"
  9735. },
  9736. "cardnum": {
  9737. "description": "证件号码 (加密存储)",
  9738. "type": "string"
  9739. },
  9740. "cardtype": {
  9741. "description": "证件类型",
  9742. "type": "integer"
  9743. },
  9744. "cityid": {
  9745. "description": "市",
  9746. "type": "integer"
  9747. },
  9748. "company": {
  9749. "description": "公司(个人)",
  9750. "type": "string"
  9751. },
  9752. "contactcardbackphotourl": {
  9753. "description": "联系人证件背面图片地址",
  9754. "type": "string"
  9755. },
  9756. "contactcardfrontphotourl": {
  9757. "description": "联系人证件正面图片地址",
  9758. "type": "string"
  9759. },
  9760. "contactname": {
  9761. "description": "联系人",
  9762. "type": "string"
  9763. },
  9764. "countryid": {
  9765. "description": "国家",
  9766. "type": "integer"
  9767. },
  9768. "createtime": {
  9769. "description": "开户申请时间",
  9770. "type": "string"
  9771. },
  9772. "cusbankid": {
  9773. "description": "签约类型",
  9774. "type": "string"
  9775. },
  9776. "cusbankname": {
  9777. "description": "签约类型名称",
  9778. "type": "string"
  9779. },
  9780. "customername": {
  9781. "description": "客户名称(企业名称)",
  9782. "type": "string"
  9783. },
  9784. "districtid": {
  9785. "description": "地区",
  9786. "type": "integer"
  9787. },
  9788. "email": {
  9789. "description": "Email地址(加密存储)",
  9790. "type": "string"
  9791. },
  9792. "halfbodyphotourl": {
  9793. "description": "半身照地址",
  9794. "type": "string"
  9795. },
  9796. "headurl": {
  9797. "description": "头像地址",
  9798. "type": "string"
  9799. },
  9800. "ipaddress": {
  9801. "description": "IP地址",
  9802. "type": "string"
  9803. },
  9804. "isvalidate": {
  9805. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9806. "type": "string"
  9807. },
  9808. "legalcardbackphotourl": {
  9809. "description": "法人身份证背面照地址",
  9810. "type": "string"
  9811. },
  9812. "legalcardfrontphotourl": {
  9813. "description": "法人身份证正面照地址",
  9814. "type": "string"
  9815. },
  9816. "legalpersonname": {
  9817. "description": "法人姓名(企业)",
  9818. "type": "string"
  9819. },
  9820. "logincode": {
  9821. "description": "登录帐号 (加密存储)",
  9822. "type": "string"
  9823. },
  9824. "memberareaid": {
  9825. "description": "所属会员ID",
  9826. "type": "integer"
  9827. },
  9828. "mobile2": {
  9829. "description": "手机号码[明文-尚志]",
  9830. "type": "string"
  9831. },
  9832. "mobilephone": {
  9833. "description": "手机号码 (加密存储)",
  9834. "type": "string"
  9835. },
  9836. "modifiedby": {
  9837. "description": "修改人帐号",
  9838. "type": "integer"
  9839. },
  9840. "modifiedtime": {
  9841. "description": "修改时间",
  9842. "type": "string"
  9843. },
  9844. "nickname": {
  9845. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9846. "type": "string"
  9847. },
  9848. "openmode": {
  9849. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9850. "type": "integer"
  9851. },
  9852. "otherurl": {
  9853. "description": "其它图片地址[使用分号分隔]",
  9854. "type": "string"
  9855. },
  9856. "postalcode": {
  9857. "description": "邮政编码",
  9858. "type": "string"
  9859. },
  9860. "provinceid": {
  9861. "description": "省",
  9862. "type": "integer"
  9863. },
  9864. "proxystatementurl": {
  9865. "description": "授权委托书",
  9866. "type": "string"
  9867. },
  9868. "qq": {
  9869. "description": "QQ(加密存储",
  9870. "type": "string"
  9871. },
  9872. "referral": {
  9873. "description": "推荐人编码",
  9874. "type": "string"
  9875. },
  9876. "remark": {
  9877. "description": "备注",
  9878. "type": "string"
  9879. },
  9880. "removebeforestatus": {
  9881. "description": "REMOVEBEFORESTATUS",
  9882. "type": "integer"
  9883. },
  9884. "sex": {
  9885. "description": "性别 - 0:女 1:男",
  9886. "type": "integer"
  9887. },
  9888. "signedstatus": {
  9889. "description": "账户一号签签约状态",
  9890. "type": "integer"
  9891. },
  9892. "signpdfurl": {
  9893. "description": "签约pdf文件",
  9894. "type": "string"
  9895. },
  9896. "subbranch": {
  9897. "description": "开户支行",
  9898. "type": "string"
  9899. },
  9900. "telphone": {
  9901. "description": "联系电话(加密存储)",
  9902. "type": "string"
  9903. },
  9904. "userid": {
  9905. "description": "用户ID(自增ID)",
  9906. "type": "integer"
  9907. },
  9908. "userinfotype": {
  9909. "description": "用户信息类型 - 1:个人 2:企业",
  9910. "type": "integer"
  9911. },
  9912. "username": {
  9913. "description": "用户姓名",
  9914. "type": "string"
  9915. },
  9916. "userstate": {
  9917. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9918. "type": "integer"
  9919. },
  9920. "usertype": {
  9921. "description": "用户类型 - 1:投资者 2:机构",
  9922. "type": "integer"
  9923. },
  9924. "videourl": {
  9925. "description": "视频地址",
  9926. "type": "string"
  9927. },
  9928. "wechat": {
  9929. "description": "微信号 (加密存储)",
  9930. "type": "string"
  9931. }
  9932. }
  9933. },
  9934. "erms3.QryAuditContractRsp": {
  9935. "type": "object",
  9936. "required": [
  9937. "matchcustomername",
  9938. "spotcontractid"
  9939. ],
  9940. "properties": {
  9941. "accountid": {
  9942. "description": "交易员ID",
  9943. "type": "string"
  9944. },
  9945. "applystatus": {
  9946. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9947. "type": "integer"
  9948. },
  9949. "curdeliveryqty": {
  9950. "description": "未交收量",
  9951. "type": "integer"
  9952. },
  9953. "customername": {
  9954. "description": "采购方ID",
  9955. "type": "string"
  9956. },
  9957. "deliverygoodsid": {
  9958. "description": "品种ID",
  9959. "type": "string"
  9960. },
  9961. "deliveryqty": {
  9962. "description": "交收量",
  9963. "type": "integer"
  9964. },
  9965. "enumdicname": {
  9966. "description": "单位名称",
  9967. "type": "string"
  9968. },
  9969. "matchaccountid": {
  9970. "description": "业务员ID",
  9971. "type": "string"
  9972. },
  9973. "matchcustomername": {
  9974. "description": "销售方ID",
  9975. "type": "string"
  9976. },
  9977. "pricedqty": {
  9978. "description": "定价量",
  9979. "type": "number"
  9980. },
  9981. "signdate": {
  9982. "description": "签订日期",
  9983. "type": "string"
  9984. },
  9985. "spotcontractid": {
  9986. "description": "合同ID",
  9987. "type": "string"
  9988. },
  9989. "totaldqty": {
  9990. "description": "合同量",
  9991. "type": "number"
  9992. },
  9993. "unpricedqty": {
  9994. "description": "未定价量",
  9995. "type": "number"
  9996. },
  9997. "wrstandardname": {
  9998. "description": "商品名称",
  9999. "type": "string"
  10000. }
  10001. }
  10002. },
  10003. "erms3.QryPendingBizRsp": {
  10004. "$ref": "#/definitions/models.PendingAuditBizModel"
  10005. },
  10006. "erms3.QueryBusinessInfoRsp": {
  10007. "type": "object",
  10008. "properties": {
  10009. "businessid": {
  10010. "description": "业务ID.",
  10011. "type": "integer"
  10012. },
  10013. "buyamount": {
  10014. "description": "采购额.",
  10015. "type": "number"
  10016. },
  10017. "buyqty": {
  10018. "description": "采购量.",
  10019. "type": "string"
  10020. },
  10021. "futurepl": {
  10022. "description": "期货盈亏.",
  10023. "type": "number"
  10024. },
  10025. "futureqty": {
  10026. "description": "期货敞口.",
  10027. "type": "string"
  10028. },
  10029. "goodsid": {
  10030. "description": "商品名称/商品代码.",
  10031. "type": "string"
  10032. },
  10033. "hedgingqty": {
  10034. "description": "套保量.",
  10035. "type": "string"
  10036. },
  10037. "sellamount": {
  10038. "description": "销售额.",
  10039. "type": "number"
  10040. },
  10041. "sellqty": {
  10042. "description": "销售量.",
  10043. "type": "string"
  10044. },
  10045. "spotmarketvalue": {
  10046. "description": "现货市值.",
  10047. "type": "number"
  10048. },
  10049. "spotpl": {
  10050. "description": "浮动权益.",
  10051. "type": "number"
  10052. },
  10053. "spotqty": {
  10054. "description": "现货量.",
  10055. "type": "string"
  10056. },
  10057. "statu": {
  10058. "description": "状态,0-未结束 1-已结束.",
  10059. "type": "integer"
  10060. },
  10061. "totalpl": {
  10062. "description": "总盈亏.",
  10063. "type": "number"
  10064. },
  10065. "totalqty": {
  10066. "description": "总敞口.",
  10067. "type": "string"
  10068. },
  10069. "type": {
  10070. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10071. "type": "integer"
  10072. }
  10073. }
  10074. },
  10075. "erms3.QuerySpotContractAppleFormRsp": {
  10076. "type": "object",
  10077. "properties": {
  10078. "goodses": {
  10079. "description": "合约列表",
  10080. "type": "array",
  10081. "items": {
  10082. "$ref": "#/definitions/models.GoodsIDAndName"
  10083. }
  10084. },
  10085. "oppositeusers": {
  10086. "description": "对方账号列表",
  10087. "type": "array",
  10088. "items": {
  10089. "$ref": "#/definitions/erms3.CustomerInfo"
  10090. }
  10091. },
  10092. "ouruser": {
  10093. "description": "我方账号",
  10094. "type": "object",
  10095. "$ref": "#/definitions/erms3.CustomerInfo"
  10096. },
  10097. "warehouseinfos": {
  10098. "description": "仓库信息列表",
  10099. "type": "array",
  10100. "items": {
  10101. "$ref": "#/definitions/models.Warehouseinfo"
  10102. }
  10103. },
  10104. "wrstandards": {
  10105. "description": "仓单标准列表",
  10106. "type": "array",
  10107. "items": {
  10108. "$ref": "#/definitions/models.WRStandardInfo"
  10109. }
  10110. }
  10111. }
  10112. },
  10113. "erms3.QuerySpotContractInfoRsp": {
  10114. "type": "object",
  10115. "properties": {
  10116. "accountid": {
  10117. "description": "表示交易员ID.",
  10118. "type": "integer"
  10119. },
  10120. "curdeliveryqty": {
  10121. "description": "表示未交收量.",
  10122. "type": "number"
  10123. },
  10124. "customername": {
  10125. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10126. "type": "string"
  10127. },
  10128. "deliverygoodsid": {
  10129. "description": "表示品种ID.",
  10130. "type": "string"
  10131. },
  10132. "deliveryqty": {
  10133. "description": "表示交收量.",
  10134. "type": "number"
  10135. },
  10136. "matchaccountid": {
  10137. "description": "表示业务员ID.",
  10138. "type": "integer"
  10139. },
  10140. "matchcustomername": {
  10141. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10142. "type": "string"
  10143. },
  10144. "priceqty": {
  10145. "description": "表示定价量.",
  10146. "type": "number"
  10147. },
  10148. "relatedbizid": {
  10149. "description": "表示业务ID.",
  10150. "type": "string"
  10151. },
  10152. "signdate": {
  10153. "description": "表示签订日期.",
  10154. "type": "string"
  10155. },
  10156. "spotcontractid": {
  10157. "description": "合同ID",
  10158. "type": "string"
  10159. },
  10160. "status": {
  10161. "description": "表示状态,0-履约中 1-已完成.",
  10162. "type": "integer"
  10163. },
  10164. "totalqty": {
  10165. "description": "表示合同量.",
  10166. "type": "number"
  10167. },
  10168. "unpricedqty": {
  10169. "description": "表示未定价量.",
  10170. "type": "number"
  10171. },
  10172. "wrstandardname": {
  10173. "description": "表示商品ID.",
  10174. "type": "string"
  10175. }
  10176. }
  10177. },
  10178. "erms3.QueryUserInfoAppliesRsp": {
  10179. "type": "object",
  10180. "required": [
  10181. "userid"
  10182. ],
  10183. "properties": {
  10184. "biznature": {
  10185. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10186. "type": "integer"
  10187. },
  10188. "contactname": {
  10189. "description": "联系人",
  10190. "type": "string"
  10191. },
  10192. "createtime": {
  10193. "description": "开户申请时间",
  10194. "type": "string"
  10195. },
  10196. "userid": {
  10197. "description": "用户ID(自增ID)",
  10198. "type": "integer"
  10199. },
  10200. "userinfotype": {
  10201. "description": "用户信息类型 - 1:个人 2:企业",
  10202. "type": "integer"
  10203. },
  10204. "username": {
  10205. "description": "用户姓名",
  10206. "type": "string"
  10207. },
  10208. "userstate": {
  10209. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10210. "type": "integer"
  10211. }
  10212. }
  10213. },
  10214. "erms3.QueryUserInfosRsp": {
  10215. "type": "object",
  10216. "required": [
  10217. "userid"
  10218. ],
  10219. "properties": {
  10220. "biznature": {
  10221. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10222. "type": "integer"
  10223. },
  10224. "contactname": {
  10225. "description": "联系人",
  10226. "type": "string"
  10227. },
  10228. "customername": {
  10229. "description": "客户名称(企业名称)",
  10230. "type": "string"
  10231. },
  10232. "userid": {
  10233. "description": "用户ID",
  10234. "type": "integer"
  10235. },
  10236. "userinfotype": {
  10237. "description": "用户信息类型 - 1:个人 2:企业",
  10238. "type": "integer"
  10239. },
  10240. "userstatus": {
  10241. "description": "用户状态 - 1:正常 2:注销",
  10242. "type": "integer"
  10243. }
  10244. }
  10245. },
  10246. "erms3.SoptContractDetail": {
  10247. "type": "object",
  10248. "required": [
  10249. "deliverygoodsid",
  10250. "producttype",
  10251. "unitname",
  10252. "warehouseid",
  10253. "wrstandardid",
  10254. "wrstandardname"
  10255. ],
  10256. "properties": {
  10257. "deliverygoodsdesc": {
  10258. "description": "现货品种说明",
  10259. "type": "string"
  10260. },
  10261. "deliverygoodsid": {
  10262. "description": "现货品种ID",
  10263. "type": "integer"
  10264. },
  10265. "deliverygoodsname": {
  10266. "description": "现货品种名称",
  10267. "type": "string"
  10268. },
  10269. "pointdesc": {
  10270. "description": "点价描述",
  10271. "type": "string"
  10272. },
  10273. "producttype": {
  10274. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10275. "type": "integer"
  10276. },
  10277. "producttypename": {
  10278. "description": "产品类型名称",
  10279. "type": "string"
  10280. },
  10281. "spotPointOrderVoList": {
  10282. "description": "点价列表",
  10283. "type": "array",
  10284. "items": {
  10285. "$ref": "#/definitions/erms3.SpotPointOrder"
  10286. }
  10287. },
  10288. "spotPriceOrderList": {
  10289. "description": "定价列表",
  10290. "type": "array",
  10291. "items": {
  10292. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10293. }
  10294. },
  10295. "unitname": {
  10296. "description": "单位名称",
  10297. "type": "string"
  10298. },
  10299. "warehouseid": {
  10300. "description": "仓库ID",
  10301. "type": "integer"
  10302. },
  10303. "warehousename": {
  10304. "description": "仓库名称",
  10305. "type": "string"
  10306. },
  10307. "wrstandardid": {
  10308. "description": "交易标的ID",
  10309. "type": "integer"
  10310. },
  10311. "wrstandardname": {
  10312. "description": "交易标的名称",
  10313. "type": "string"
  10314. }
  10315. }
  10316. },
  10317. "erms3.SpotPointOrder": {
  10318. "type": "object",
  10319. "required": [
  10320. "basic",
  10321. "goodsid",
  10322. "qty"
  10323. ],
  10324. "properties": {
  10325. "basic": {
  10326. "description": "基差",
  10327. "type": "number"
  10328. },
  10329. "deliveryenddate": {
  10330. "description": "交收结束日期",
  10331. "type": "string"
  10332. },
  10333. "deliverystartdate": {
  10334. "description": "交收开始日期",
  10335. "type": "string"
  10336. },
  10337. "enddate": {
  10338. "description": "点价结束日期",
  10339. "type": "string"
  10340. },
  10341. "goodsid": {
  10342. "description": "商品ID",
  10343. "type": "integer"
  10344. },
  10345. "goodsname": {
  10346. "description": "商品名称",
  10347. "type": "string"
  10348. },
  10349. "qty": {
  10350. "description": "数量",
  10351. "type": "number"
  10352. },
  10353. "startdate": {
  10354. "description": "点价开始日期",
  10355. "type": "string"
  10356. }
  10357. }
  10358. },
  10359. "erms3.SpotPriceOrder": {
  10360. "type": "object",
  10361. "required": [
  10362. "amount",
  10363. "price",
  10364. "qty"
  10365. ],
  10366. "properties": {
  10367. "amount": {
  10368. "description": "金额",
  10369. "type": "number"
  10370. },
  10371. "deliveryenddate": {
  10372. "description": "交收结束日期",
  10373. "type": "string"
  10374. },
  10375. "deliverystartdate": {
  10376. "description": "交收开始日期",
  10377. "type": "string"
  10378. },
  10379. "price": {
  10380. "description": "价格",
  10381. "type": "number"
  10382. },
  10383. "qty": {
  10384. "description": "数量",
  10385. "type": "number"
  10386. }
  10387. }
  10388. },
  10389. "hsby.GetHsbyMyCountRsp": {
  10390. "type": "object",
  10391. "properties": {
  10392. "myCouponCount": {
  10393. "description": "我的优惠卷数量",
  10394. "type": "integer"
  10395. },
  10396. "myOrderDetailListingCount": {
  10397. "description": "我的订单求购中数量",
  10398. "type": "integer"
  10399. },
  10400. "myOrderDetailPreCount": {
  10401. "description": "我的订单抢购中数量",
  10402. "type": "integer"
  10403. },
  10404. "myPackageUnReceiveCount": {
  10405. "description": "我的包裹待收货数量",
  10406. "type": "integer"
  10407. },
  10408. "myPackageUnSendCount": {
  10409. "description": "我的包裹待发货数量",
  10410. "type": "integer"
  10411. },
  10412. "myPayOrderCount": {
  10413. "description": "我的订单待付款数量",
  10414. "type": "integer"
  10415. }
  10416. }
  10417. },
  10418. "hsby.QueryProvincesAndCitiesRsp": {
  10419. "type": "object",
  10420. "properties": {
  10421. "cities": {
  10422. "description": "市",
  10423. "type": "array",
  10424. "items": {
  10425. "$ref": "#/definitions/models.Division"
  10426. }
  10427. },
  10428. "province": {
  10429. "description": "省",
  10430. "type": "object",
  10431. "$ref": "#/definitions/models.Division"
  10432. }
  10433. }
  10434. },
  10435. "models.AreaSpotModel": {
  10436. "type": "object",
  10437. "properties": {
  10438. "areauserid": {
  10439. "description": "所属机构",
  10440. "type": "integer"
  10441. },
  10442. "decreaseqty": {
  10443. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10444. "type": "number"
  10445. },
  10446. "increaseqty": {
  10447. "description": "增加数量=销售计划数量+采购已定价数量",
  10448. "type": "number"
  10449. },
  10450. "oritoalspotqty": {
  10451. "description": "昨日数量",
  10452. "type": "number"
  10453. },
  10454. "totalspotqty": {
  10455. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10456. "type": "number"
  10457. },
  10458. "updatetime": {
  10459. "description": "更新时间",
  10460. "type": "string"
  10461. },
  10462. "wrstandardcode": {
  10463. "description": "现货品种代码",
  10464. "type": "string"
  10465. },
  10466. "wrstandardid": {
  10467. "description": "现货商品ID",
  10468. "type": "integer"
  10469. },
  10470. "wrstandardname": {
  10471. "description": "现货品种",
  10472. "type": "string"
  10473. }
  10474. }
  10475. },
  10476. "models.Clientfixedadconfig": {
  10477. "type": "object",
  10478. "required": [
  10479. "adsort",
  10480. "adtype"
  10481. ],
  10482. "properties": {
  10483. "adsort": {
  10484. "description": "排序",
  10485. "type": "integer"
  10486. },
  10487. "adtype": {
  10488. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10489. "type": "integer"
  10490. },
  10491. "areauserid": {
  10492. "description": "所属机构ID",
  10493. "type": "integer"
  10494. },
  10495. "createdate": {
  10496. "description": "创建时间",
  10497. "type": "string"
  10498. },
  10499. "creatorid": {
  10500. "description": "创建人",
  10501. "type": "integer"
  10502. },
  10503. "imagepath": {
  10504. "description": "图片",
  10505. "type": "string"
  10506. },
  10507. "isshow": {
  10508. "description": "是否展示 - 0:不展示 1:展示",
  10509. "type": "integer"
  10510. },
  10511. "modifierid": {
  10512. "description": "操作人",
  10513. "type": "integer"
  10514. },
  10515. "recsize": {
  10516. "description": "推荐尺寸",
  10517. "type": "string"
  10518. },
  10519. "title": {
  10520. "description": "标题",
  10521. "type": "string"
  10522. },
  10523. "updatedate": {
  10524. "description": "更新时间",
  10525. "type": "string"
  10526. },
  10527. "urlcontent": {
  10528. "description": "链接(地址或商品ID)",
  10529. "type": "string"
  10530. },
  10531. "urltype": {
  10532. "description": "链接类型 - 1:直接地址 2:商品ID",
  10533. "type": "integer"
  10534. }
  10535. }
  10536. },
  10537. "models.Division": {
  10538. "type": "object",
  10539. "required": [
  10540. "autoid",
  10541. "divisioncode"
  10542. ],
  10543. "properties": {
  10544. "autoid": {
  10545. "description": "自增ID",
  10546. "type": "integer"
  10547. },
  10548. "divisioncode": {
  10549. "description": "行政代码",
  10550. "type": "string"
  10551. },
  10552. "divisionlevel": {
  10553. "description": "行政级别",
  10554. "type": "string"
  10555. },
  10556. "divisionname": {
  10557. "description": "行政名称",
  10558. "type": "string"
  10559. },
  10560. "modifierid": {
  10561. "description": "修改人",
  10562. "type": "integer"
  10563. },
  10564. "modifytime": {
  10565. "description": "修改时间",
  10566. "type": "string"
  10567. },
  10568. "parentcode": {
  10569. "description": "上级行政代码",
  10570. "type": "string"
  10571. },
  10572. "pathname": {
  10573. "description": "路径名称",
  10574. "type": "string"
  10575. },
  10576. "postcode": {
  10577. "description": "邮政编码",
  10578. "type": "string"
  10579. },
  10580. "separablename": {
  10581. "description": "可拆分的全称",
  10582. "type": "string"
  10583. },
  10584. "shortcode": {
  10585. "description": "地区简码",
  10586. "type": "string"
  10587. }
  10588. }
  10589. },
  10590. "models.Enumdicitem": {
  10591. "type": "object",
  10592. "required": [
  10593. "autoid",
  10594. "enumdiccode",
  10595. "enumdicid",
  10596. "enumitemname"
  10597. ],
  10598. "properties": {
  10599. "autoid": {
  10600. "description": "自增ID",
  10601. "type": "integer"
  10602. },
  10603. "bankmappedvalue": {
  10604. "description": "银行服务对应值",
  10605. "type": "string"
  10606. },
  10607. "enumdiccode": {
  10608. "description": "所属枚举代码",
  10609. "type": "string"
  10610. },
  10611. "enumdicid": {
  10612. "description": "所属枚举ID",
  10613. "type": "integer"
  10614. },
  10615. "enumdicname": {
  10616. "description": "枚举项名称",
  10617. "type": "string"
  10618. },
  10619. "enumitemname": {
  10620. "description": "枚举项值",
  10621. "type": "integer"
  10622. },
  10623. "enumitemstatus": {
  10624. "description": "枚举项状态 - 1.启用 2.不启用",
  10625. "type": "integer"
  10626. },
  10627. "enumitemvalue": {
  10628. "description": "通用值 - [币种通用简写]",
  10629. "type": "string"
  10630. },
  10631. "param1": {
  10632. "description": "参数1[币种:币种小数位]",
  10633. "type": "string"
  10634. },
  10635. "param2": {
  10636. "description": "参数1[币种:币种显示单位]",
  10637. "type": "string"
  10638. },
  10639. "remark": {
  10640. "description": "备注",
  10641. "type": "string"
  10642. }
  10643. }
  10644. },
  10645. "models.ErmcpAreaSpotDetailModel": {
  10646. "type": "object",
  10647. "properties": {
  10648. "contracttype": {
  10649. "description": "合同类型 1-采购 -1-销售",
  10650. "type": "integer"
  10651. },
  10652. "createtime": {
  10653. "description": "创建时间",
  10654. "type": "string"
  10655. },
  10656. "enumdicname": {
  10657. "description": "现货商品单位名称",
  10658. "type": "string"
  10659. },
  10660. "logtype": {
  10661. "description": "记录类型 1-套保 2-现货合同",
  10662. "type": "integer"
  10663. },
  10664. "qty": {
  10665. "description": "数量",
  10666. "type": "number"
  10667. },
  10668. "recordname": {
  10669. "description": "类型名称",
  10670. "type": "string"
  10671. },
  10672. "relatedid": {
  10673. "description": "套保计划ID/现货合同ID",
  10674. "type": "string"
  10675. },
  10676. "relatedno": {
  10677. "description": "编号",
  10678. "type": "string"
  10679. },
  10680. "strtime": {
  10681. "description": "时间",
  10682. "type": "string"
  10683. },
  10684. "wrstandardcode": {
  10685. "description": "现货商品代码",
  10686. "type": "string"
  10687. },
  10688. "wrstandardname": {
  10689. "description": "现货商品名称",
  10690. "type": "string"
  10691. }
  10692. }
  10693. },
  10694. "models.ErmcpAreaStockApply": {
  10695. "type": "object",
  10696. "properties": {
  10697. "applyid": {
  10698. "description": "申请人",
  10699. "type": "integer"
  10700. },
  10701. "applyname": {
  10702. "description": "申请人名称",
  10703. "type": "string"
  10704. },
  10705. "applyremark": {
  10706. "description": "申请备注",
  10707. "type": "string"
  10708. },
  10709. "applysrc": {
  10710. "description": "申请来源 - 1:管理端 2:终端",
  10711. "type": "integer"
  10712. },
  10713. "applystatus": {
  10714. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10715. "type": "integer"
  10716. },
  10717. "applytime": {
  10718. "description": "申请时间",
  10719. "type": "string"
  10720. },
  10721. "auditid": {
  10722. "description": "审核人",
  10723. "type": "integer"
  10724. },
  10725. "auditname": {
  10726. "description": "审核人名称",
  10727. "type": "string"
  10728. },
  10729. "auditremark": {
  10730. "description": "审核备注",
  10731. "type": "string"
  10732. },
  10733. "auditsrc": {
  10734. "description": "审核来源 - 1:管理端 2:终端",
  10735. "type": "integer"
  10736. },
  10737. "audittime": {
  10738. "description": "审核时间",
  10739. "type": "string"
  10740. },
  10741. "audittradedate": {
  10742. "description": "审核交易日(yyyyMMdd)",
  10743. "type": "string"
  10744. },
  10745. "brandname": {
  10746. "description": "品牌名称",
  10747. "type": "string"
  10748. },
  10749. "buyuserid": {
  10750. "description": "采购方userid",
  10751. "type": "integer"
  10752. },
  10753. "buyusername": {
  10754. "description": "采购方名称",
  10755. "type": "string"
  10756. },
  10757. "contractno": {
  10758. "description": "合同编号",
  10759. "type": "string"
  10760. },
  10761. "contractqty": {
  10762. "description": "合同量",
  10763. "type": "number"
  10764. },
  10765. "contracttype": {
  10766. "description": "现货合同类型 - 1:采购 -1:销售",
  10767. "type": "integer"
  10768. },
  10769. "deliverygoodsid": {
  10770. "description": "现货品种ID",
  10771. "type": "integer"
  10772. },
  10773. "enumdicname": {
  10774. "description": "现货商品单位名称",
  10775. "type": "string"
  10776. },
  10777. "inoutapplyid": {
  10778. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  10779. "type": "string"
  10780. },
  10781. "inouttype": {
  10782. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10783. "type": "integer"
  10784. },
  10785. "modelname": {
  10786. "description": "型号名称",
  10787. "type": "string"
  10788. },
  10789. "pricetype": {
  10790. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10791. "type": "integer"
  10792. },
  10793. "qty": {
  10794. "description": "数量",
  10795. "type": "number"
  10796. },
  10797. "selluserid": {
  10798. "description": "销售方userid",
  10799. "type": "integer"
  10800. },
  10801. "sellusername": {
  10802. "description": "销售方名称",
  10803. "type": "string"
  10804. },
  10805. "spotcontractid": {
  10806. "description": "关联现货合同ID",
  10807. "type": "string"
  10808. },
  10809. "spotgoodsbrandid": {
  10810. "description": "现货品牌ID",
  10811. "type": "integer"
  10812. },
  10813. "spotgoodsmodelid": {
  10814. "description": "现货型号ID",
  10815. "type": "integer"
  10816. },
  10817. "unitid": {
  10818. "description": "单位id",
  10819. "type": "integer"
  10820. },
  10821. "userid": {
  10822. "description": "机构ID",
  10823. "type": "string"
  10824. },
  10825. "warehousecode": {
  10826. "description": "仓库代码",
  10827. "type": "string"
  10828. },
  10829. "warehouseinfoid": {
  10830. "description": "现货仓库ID",
  10831. "type": "string"
  10832. },
  10833. "warehousename": {
  10834. "description": "仓库名称",
  10835. "type": "string"
  10836. },
  10837. "warehousetype": {
  10838. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10839. "type": "integer"
  10840. },
  10841. "wrstandardcode": {
  10842. "description": "现货商品代码",
  10843. "type": "string"
  10844. },
  10845. "wrstandardid": {
  10846. "description": "现货商品ID",
  10847. "type": "string"
  10848. },
  10849. "wrstandardname": {
  10850. "description": "现货商品名称",
  10851. "type": "string"
  10852. }
  10853. }
  10854. },
  10855. "models.ErmcpAreaStockApplySum": {
  10856. "type": "object",
  10857. "properties": {
  10858. "brandname": {
  10859. "description": "品牌名称",
  10860. "type": "string"
  10861. },
  10862. "inouttype": {
  10863. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10864. "type": "integer"
  10865. },
  10866. "modelname": {
  10867. "description": "型号名称",
  10868. "type": "string"
  10869. },
  10870. "spotcontractid": {
  10871. "description": "关联现货合同ID",
  10872. "type": "string"
  10873. },
  10874. "spotgoodsbrandid": {
  10875. "description": "品牌id",
  10876. "type": "integer"
  10877. },
  10878. "spotgoodsmodelid": {
  10879. "description": "型号id",
  10880. "type": "integer"
  10881. },
  10882. "totalqty": {
  10883. "description": "总数量",
  10884. "type": "number"
  10885. }
  10886. }
  10887. },
  10888. "models.ErmcpAvalidGoodsGroupModel": {
  10889. "type": "object",
  10890. "properties": {
  10891. "goodsgroupid": {
  10892. "description": "期货品种id",
  10893. "type": "integer"
  10894. },
  10895. "goodsgroupname": {
  10896. "description": "期货品种名称",
  10897. "type": "string"
  10898. },
  10899. "goodunitid": {
  10900. "description": "品种单位id",
  10901. "type": "integer"
  10902. },
  10903. "goodunitname": {
  10904. "description": "品种单位名称",
  10905. "type": "string"
  10906. },
  10907. "outergroupcode": {
  10908. "description": "期货品种代码",
  10909. "type": "string"
  10910. }
  10911. }
  10912. },
  10913. "models.ErmcpExposureDetailModel": {
  10914. "type": "object",
  10915. "properties": {
  10916. "areauserid": {
  10917. "description": "机构ID",
  10918. "type": "integer"
  10919. },
  10920. "changeQty": {
  10921. "description": "套保变动量",
  10922. "type": "number"
  10923. },
  10924. "contracttype": {
  10925. "description": "现货合同类型 - 1:采购 -1:销售",
  10926. "type": "integer"
  10927. },
  10928. "convertfactor": {
  10929. "description": "标仓系数",
  10930. "type": "number"
  10931. },
  10932. "convertratio": {
  10933. "description": "套保系数",
  10934. "type": "number"
  10935. },
  10936. "createtime": {
  10937. "description": "时间",
  10938. "type": "string"
  10939. },
  10940. "enumdicname": {
  10941. "description": "现货商品单位名称",
  10942. "type": "string"
  10943. },
  10944. "logtype": {
  10945. "description": "类型 - 1:套保计划 2:现货合同",
  10946. "type": "integer"
  10947. },
  10948. "middlegoodsId": {
  10949. "description": "套保商品id",
  10950. "type": "integer"
  10951. },
  10952. "middlegoodscode": {
  10953. "description": "套保商品代码",
  10954. "type": "string"
  10955. },
  10956. "middlegoodsname": {
  10957. "description": "套保商品名称",
  10958. "type": "string"
  10959. },
  10960. "qty": {
  10961. "description": "数量",
  10962. "type": "number"
  10963. },
  10964. "relateNo": {
  10965. "description": "现货合同/套保计划编号",
  10966. "type": "string"
  10967. },
  10968. "wrstandardcode": {
  10969. "description": "现货商品代码",
  10970. "type": "string"
  10971. },
  10972. "wrstandardid": {
  10973. "description": "现货商品ID",
  10974. "type": "integer"
  10975. },
  10976. "wrstandardname": {
  10977. "description": "现货商品名称",
  10978. "type": "string"
  10979. }
  10980. }
  10981. },
  10982. "models.ErmcpExposurePostion": {
  10983. "type": "object",
  10984. "properties": {
  10985. "agreeunit": {
  10986. "description": "合约单位",
  10987. "type": "string"
  10988. },
  10989. "areauserid": {
  10990. "description": "所属机构id",
  10991. "type": "integer"
  10992. },
  10993. "convertratio": {
  10994. "description": "期货品种系数(折算系数)",
  10995. "type": "number"
  10996. },
  10997. "curqty": {
  10998. "description": "当前持仓",
  10999. "type": "integer"
  11000. },
  11001. "diffhedgeqty": {
  11002. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11003. "type": "number"
  11004. },
  11005. "diffqty": {
  11006. "description": "持仓变动量=当前持仓-昨日持仓",
  11007. "type": "integer"
  11008. },
  11009. "goodscode": {
  11010. "description": "商品代码",
  11011. "type": "string"
  11012. },
  11013. "goodsid": {
  11014. "description": "商品id",
  11015. "type": "integer"
  11016. },
  11017. "goodsname": {
  11018. "description": "商品名称",
  11019. "type": "string"
  11020. },
  11021. "middlegoodsid": {
  11022. "description": "套保商品id",
  11023. "type": "integer"
  11024. },
  11025. "ydqty": {
  11026. "description": "昨日持仓",
  11027. "type": "integer"
  11028. }
  11029. }
  11030. },
  11031. "models.ErmcpGGConvertCfg": {
  11032. "type": "object",
  11033. "properties": {
  11034. "convertratio": {
  11035. "description": "折算系数",
  11036. "type": "number"
  11037. },
  11038. "destgoodsgroupid": {
  11039. "description": "目标品种ID",
  11040. "type": "integer"
  11041. },
  11042. "dstcode": {
  11043. "description": "目录品种代码",
  11044. "type": "string"
  11045. },
  11046. "dstexchangecode": {
  11047. "description": "目标期货交易所",
  11048. "type": "string"
  11049. },
  11050. "dstname": {
  11051. "description": "目标品种名称",
  11052. "type": "string"
  11053. },
  11054. "dstunitid": {
  11055. "description": "目标品种单位ID",
  11056. "type": "integer"
  11057. },
  11058. "dstunitidname": {
  11059. "description": "目标品种单位名称",
  11060. "type": "string"
  11061. },
  11062. "modifytime": {
  11063. "description": "修改时间",
  11064. "type": "string"
  11065. },
  11066. "srccode": {
  11067. "description": "源品种代码",
  11068. "type": "string"
  11069. },
  11070. "srcexchangecode": {
  11071. "description": "源期货交易所",
  11072. "type": "string"
  11073. },
  11074. "srcgoodsgroupid": {
  11075. "description": "源品种ID",
  11076. "type": "integer"
  11077. },
  11078. "srcname": {
  11079. "description": "源品种名称",
  11080. "type": "string"
  11081. },
  11082. "srcunitid": {
  11083. "description": "源品种单位ID",
  11084. "type": "integer"
  11085. },
  11086. "srcunitidname": {
  11087. "description": "源品种单位名称",
  11088. "type": "string"
  11089. }
  11090. }
  11091. },
  11092. "models.ErmcpHedgePlan": {
  11093. "type": "object",
  11094. "properties": {
  11095. "areauserid": {
  11096. "description": "用户ID",
  11097. "type": "integer"
  11098. },
  11099. "audittime": {
  11100. "description": "审核时间",
  11101. "type": "string"
  11102. },
  11103. "contracttype": {
  11104. "description": "计划类型 - 1:采购 -1:销售",
  11105. "type": "integer"
  11106. },
  11107. "convertfactor": {
  11108. "description": "标仓系数",
  11109. "type": "number"
  11110. },
  11111. "createtime": {
  11112. "description": "创建时间",
  11113. "type": "string"
  11114. },
  11115. "deliverygoodsid": {
  11116. "description": "现货品种ID",
  11117. "type": "integer"
  11118. },
  11119. "deliverygoodsname": {
  11120. "description": "现货品种名称",
  11121. "type": "string"
  11122. },
  11123. "enumdicname": {
  11124. "description": "单位名称",
  11125. "type": "string"
  11126. },
  11127. "hedgeplanid": {
  11128. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11129. "type": "string"
  11130. },
  11131. "hedgeplanno": {
  11132. "description": "套保计划编号(名称)",
  11133. "type": "string"
  11134. },
  11135. "hedgeplanstatus": {
  11136. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11137. "type": "integer"
  11138. },
  11139. "planqty": {
  11140. "description": "计划数量",
  11141. "type": "number"
  11142. },
  11143. "plantime": {
  11144. "description": "计划时间",
  11145. "type": "string"
  11146. },
  11147. "producttype": {
  11148. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11149. "type": "integer"
  11150. },
  11151. "remark": {
  11152. "description": "备注",
  11153. "type": "string"
  11154. },
  11155. "spotgoodsdesc": {
  11156. "description": "商品型号",
  11157. "type": "string"
  11158. },
  11159. "unitid": {
  11160. "description": "单位id",
  11161. "type": "integer"
  11162. },
  11163. "updatetime": {
  11164. "description": "更新时间",
  11165. "type": "string"
  11166. },
  11167. "wrstandardid": {
  11168. "description": "现货商品ID",
  11169. "type": "integer"
  11170. },
  11171. "wrstandardname": {
  11172. "description": "现货商品名称",
  11173. "type": "string"
  11174. }
  11175. }
  11176. },
  11177. "models.ErmcpHedgePosition": {
  11178. "type": "object",
  11179. "properties": {
  11180. "accountid": {
  11181. "description": "资金账号[外部母账户]",
  11182. "type": "integer"
  11183. },
  11184. "curbuyposition": {
  11185. "description": "期末买头寸",
  11186. "type": "integer"
  11187. },
  11188. "cursellposition": {
  11189. "description": "期末卖头寸",
  11190. "type": "integer"
  11191. },
  11192. "curtdbuyposition": {
  11193. "description": "期末今日买头寸",
  11194. "type": "integer"
  11195. },
  11196. "curtdsellposition": {
  11197. "description": "期末今日卖头寸",
  11198. "type": "integer"
  11199. },
  11200. "curydbuyposition": {
  11201. "description": "期末上日买头寸",
  11202. "type": "integer"
  11203. },
  11204. "curydsellposition": {
  11205. "description": "期末上日卖头寸",
  11206. "type": "integer"
  11207. },
  11208. "decreaseqty": {
  11209. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11210. "type": "integer"
  11211. },
  11212. "fretdbuyposition": {
  11213. "description": "冻结今日买头寸",
  11214. "type": "integer"
  11215. },
  11216. "fretdsellposition": {
  11217. "description": "冻结今日卖头寸",
  11218. "type": "integer"
  11219. },
  11220. "freydbuyposition": {
  11221. "description": "冻结上日买头寸",
  11222. "type": "integer"
  11223. },
  11224. "freydsellposition": {
  11225. "description": "冻结上日卖头寸",
  11226. "type": "integer"
  11227. },
  11228. "goodscode": {
  11229. "description": "商品代码",
  11230. "type": "string"
  11231. },
  11232. "goodsid": {
  11233. "description": "商品id",
  11234. "type": "integer"
  11235. },
  11236. "goodsname": {
  11237. "description": "商品名称",
  11238. "type": "string"
  11239. },
  11240. "hedgeaccountcode": {
  11241. "description": "对冲账号",
  11242. "type": "string"
  11243. },
  11244. "hedgegoodsid": {
  11245. "description": "对冲合约ID",
  11246. "type": "integer"
  11247. },
  11248. "increaseqty": {
  11249. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11250. "type": "integer"
  11251. },
  11252. "marketid": {
  11253. "description": "市场ID",
  11254. "type": "integer"
  11255. },
  11256. "relateduserid": {
  11257. "description": "关联用户id",
  11258. "type": "integer"
  11259. },
  11260. "totalcurqty": {
  11261. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11262. "type": "integer"
  11263. },
  11264. "totalydqty": {
  11265. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11266. "type": "integer"
  11267. },
  11268. "tradedate": {
  11269. "description": "交易日(yyyyMMdd)",
  11270. "type": "string"
  11271. },
  11272. "ydbuyposition": {
  11273. "description": "期初买头寸",
  11274. "type": "integer"
  11275. },
  11276. "ydsellposition": {
  11277. "description": "期初卖头寸",
  11278. "type": "integer"
  11279. }
  11280. }
  11281. },
  11282. "models.ErmcpHedgePositionDetail": {
  11283. "type": "object",
  11284. "properties": {
  11285. "buyorsell": {
  11286. "description": "买卖方向 0-买 1-卖",
  11287. "type": "integer"
  11288. },
  11289. "channelbuildtype": {
  11290. "description": "开平方向 1-建仓 2-平仓",
  11291. "type": "integer"
  11292. },
  11293. "goodscode": {
  11294. "description": "商品代码",
  11295. "type": "string"
  11296. },
  11297. "goodsname": {
  11298. "description": "商品名称",
  11299. "type": "string"
  11300. },
  11301. "hedgegoodsid": {
  11302. "description": "商品id",
  11303. "type": "integer"
  11304. },
  11305. "tradeqty": {
  11306. "description": "数量(成交数量)",
  11307. "type": "integer"
  11308. },
  11309. "tradetime": {
  11310. "description": "时间(成交时间)",
  11311. "type": "string"
  11312. }
  11313. }
  11314. },
  11315. "models.ErmcpHisExposure": {
  11316. "type": "object",
  11317. "properties": {
  11318. "needhedgeexposoure": {
  11319. "description": "应套保敞口",
  11320. "type": "number"
  11321. },
  11322. "reckondate": {
  11323. "description": "日照时期(yyyyMMdd)",
  11324. "type": "string"
  11325. },
  11326. "totalexposure": {
  11327. "description": "总敞口",
  11328. "type": "number"
  11329. }
  11330. }
  11331. },
  11332. "models.ErmcpHisExposureS": {
  11333. "type": "object",
  11334. "properties": {
  11335. "data": {
  11336. "description": "历史敞口",
  11337. "type": "array",
  11338. "items": {
  11339. "$ref": "#/definitions/models.ErmcpHisExposure"
  11340. }
  11341. },
  11342. "enumdicname": {
  11343. "description": "单位名称",
  11344. "type": "string"
  11345. },
  11346. "middlegoodscode": {
  11347. "description": "套保品种代码",
  11348. "type": "string"
  11349. },
  11350. "middlegoodsid": {
  11351. "description": "套保品种ID",
  11352. "type": "integer"
  11353. },
  11354. "middlegoodsname": {
  11355. "description": "套保品种名称",
  11356. "type": "string"
  11357. }
  11358. }
  11359. },
  11360. "models.ErmcpMiddleGoodsChangeLog": {
  11361. "type": "object",
  11362. "properties": {
  11363. "aftervalue": {
  11364. "description": "变更后",
  11365. "type": "number"
  11366. },
  11367. "applyid": {
  11368. "description": "操作人",
  11369. "type": "integer"
  11370. },
  11371. "applyname": {
  11372. "description": "操作人名称",
  11373. "type": "string"
  11374. },
  11375. "applysrc": {
  11376. "description": "操作来源 - 1:管理端 2:终端",
  11377. "type": "integer"
  11378. },
  11379. "beforevalue": {
  11380. "description": "变更前",
  11381. "type": "number"
  11382. },
  11383. "changelogtype": {
  11384. "description": "变更流水类型 - 1:套保比率变更",
  11385. "type": "integer"
  11386. },
  11387. "handlestatus": {
  11388. "description": "处理状态",
  11389. "type": "integer"
  11390. },
  11391. "logdatetime": {
  11392. "description": "流水日期",
  11393. "type": "string"
  11394. },
  11395. "logid": {
  11396. "description": "流水ID",
  11397. "type": "integer"
  11398. },
  11399. "logremark": {
  11400. "description": "流水备注",
  11401. "type": "string"
  11402. },
  11403. "middlegoodsid": {
  11404. "description": "套保品种ID",
  11405. "type": "integer"
  11406. },
  11407. "tradedate": {
  11408. "description": "交易日(yyyyMMdd)",
  11409. "type": "string"
  11410. },
  11411. "updatetime": {
  11412. "description": "更新时间",
  11413. "type": "string"
  11414. }
  11415. }
  11416. },
  11417. "models.ErmcpMiddleGoodsDetail": {
  11418. "type": "object",
  11419. "properties": {
  11420. "cvList": {
  11421. "description": "期货品种折算列表",
  11422. "type": "array",
  11423. "items": {
  11424. "$ref": "#/definitions/models.GoodsGroupConvert"
  11425. }
  11426. },
  11427. "mg": {
  11428. "description": "套保品种基本信息",
  11429. "type": "object",
  11430. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11431. }
  11432. }
  11433. },
  11434. "models.ErmcpMiddleGoodsModel": {
  11435. "type": "object",
  11436. "properties": {
  11437. "areauserid": {
  11438. "description": "机构用户ID",
  11439. "type": "integer"
  11440. },
  11441. "createtime": {
  11442. "description": "修改时间",
  11443. "type": "string"
  11444. },
  11445. "enumdicname": {
  11446. "description": "单位名称",
  11447. "type": "string"
  11448. },
  11449. "evaluateratio": {
  11450. "description": "估价系数",
  11451. "type": "number"
  11452. },
  11453. "goodsgroupid": {
  11454. "description": "关联期货品种ID",
  11455. "type": "integer"
  11456. },
  11457. "isvalid": {
  11458. "description": "状态 0-无效(停用) 1-有效(正常)",
  11459. "type": "integer"
  11460. },
  11461. "middlegoodscode": {
  11462. "description": "套保品种代码",
  11463. "type": "string"
  11464. },
  11465. "middlegoodsid": {
  11466. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11467. "type": "integer"
  11468. },
  11469. "middlegoodsname": {
  11470. "description": "套保品种名称",
  11471. "type": "string"
  11472. },
  11473. "modifytime": {
  11474. "description": "修改时间",
  11475. "type": "string"
  11476. },
  11477. "needhedgeratio": {
  11478. "description": "套保比率",
  11479. "type": "number"
  11480. },
  11481. "qtydecimalplace": {
  11482. "description": "数量小数位",
  11483. "type": "integer"
  11484. },
  11485. "relatedgoodsid": {
  11486. "description": "关联交易商品ID",
  11487. "type": "integer"
  11488. },
  11489. "relatedgoodstype": {
  11490. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11491. "type": "integer"
  11492. }
  11493. }
  11494. },
  11495. "models.ErmcpModel": {
  11496. "type": "object",
  11497. "properties": {
  11498. "accountname": {
  11499. "description": "账户名称",
  11500. "type": "string"
  11501. },
  11502. "attachment": {
  11503. "description": "附件",
  11504. "type": "string"
  11505. },
  11506. "audittime": {
  11507. "description": "审核时间",
  11508. "type": "string"
  11509. },
  11510. "contracctstatus": {
  11511. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11512. "type": "integer"
  11513. },
  11514. "contractmargin": {
  11515. "description": "合同保证金",
  11516. "type": "number"
  11517. },
  11518. "contractno": {
  11519. "description": "合同编号",
  11520. "type": "string"
  11521. },
  11522. "contracttype": {
  11523. "description": "合同类型 1-采购, -1-销售",
  11524. "type": "integer"
  11525. },
  11526. "convertfactor": {
  11527. "description": "标仓系数",
  11528. "type": "number"
  11529. },
  11530. "createtime": {
  11531. "description": "创建时间",
  11532. "type": "string"
  11533. },
  11534. "daikaiamount": {
  11535. "description": "待开票额",
  11536. "type": "number"
  11537. },
  11538. "deliveryenddate": {
  11539. "description": "交割结束日",
  11540. "type": "string"
  11541. },
  11542. "deliverygoodscode": {
  11543. "description": "现货商品代码",
  11544. "type": "string"
  11545. },
  11546. "deliverygoodsid": {
  11547. "description": "现货商品ID",
  11548. "type": "integer"
  11549. },
  11550. "deliverygoodsname": {
  11551. "description": "现货商品名称",
  11552. "type": "string"
  11553. },
  11554. "deliverystartdate": {
  11555. "description": "交割开始日",
  11556. "type": "string"
  11557. },
  11558. "enddate": {
  11559. "description": "点价结束日",
  11560. "type": "string"
  11561. },
  11562. "enumdicname": {
  11563. "description": "单位名称",
  11564. "type": "string"
  11565. },
  11566. "goodscode": {
  11567. "description": "点价商品代码",
  11568. "type": "string"
  11569. },
  11570. "goodsid": {
  11571. "description": "点价商品ID",
  11572. "type": "integer"
  11573. },
  11574. "goodsname": {
  11575. "description": "点价商品名称",
  11576. "type": "string"
  11577. },
  11578. "invoiceamount": {
  11579. "description": "已开票额",
  11580. "type": "number"
  11581. },
  11582. "loanamount": {
  11583. "description": "贷款总额=已定价额+调整金额",
  11584. "type": "number"
  11585. },
  11586. "margin": {
  11587. "description": "保证金",
  11588. "type": "number"
  11589. },
  11590. "payamount": {
  11591. "description": "已收付额(收款或付款)",
  11592. "type": "number"
  11593. },
  11594. "price": {
  11595. "description": "价格",
  11596. "type": "number"
  11597. },
  11598. "pricedamount": {
  11599. "description": "已定价额",
  11600. "type": "number"
  11601. },
  11602. "pricedavg": {
  11603. "description": "已点均价",
  11604. "type": "number"
  11605. },
  11606. "pricedqty": {
  11607. "description": "已定价量",
  11608. "type": "number"
  11609. },
  11610. "pricemove": {
  11611. "description": "升贴水",
  11612. "type": "number"
  11613. },
  11614. "pricetype": {
  11615. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11616. "type": "integer"
  11617. },
  11618. "producttype": {
  11619. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11620. "type": "integer"
  11621. },
  11622. "qty": {
  11623. "description": "合同量",
  11624. "type": "number"
  11625. },
  11626. "reckonadjustamount": {
  11627. "description": "调整金额",
  11628. "type": "number"
  11629. },
  11630. "reckonedamount": {
  11631. "description": "已收付额(已确定额)",
  11632. "type": "number"
  11633. },
  11634. "reckonotheramount": {
  11635. "description": "其它费用",
  11636. "type": "number"
  11637. },
  11638. "reckonrealqty": {
  11639. "description": "已确定量",
  11640. "type": "number"
  11641. },
  11642. "remark": {
  11643. "description": "备注",
  11644. "type": "string"
  11645. },
  11646. "spotcontractid": {
  11647. "description": "合同ID",
  11648. "type": "string"
  11649. },
  11650. "spotgoodsdesc": {
  11651. "description": "商品型号(商品规格)",
  11652. "type": "string"
  11653. },
  11654. "startdate": {
  11655. "description": "点价开始日",
  11656. "type": "string"
  11657. },
  11658. "totalamount": {
  11659. "description": "合计总额",
  11660. "type": "number"
  11661. },
  11662. "unpayamount": {
  11663. "description": "待支收额(支付或收款)",
  11664. "type": "number"
  11665. },
  11666. "unpricedqty": {
  11667. "description": "未定价量",
  11668. "type": "number"
  11669. },
  11670. "unsureqty": {
  11671. "description": "未确定量",
  11672. "type": "number"
  11673. },
  11674. "userid": {
  11675. "description": "用户ID",
  11676. "type": "integer"
  11677. }
  11678. }
  11679. },
  11680. "models.ErmcpOPLogModel": {
  11681. "type": "object",
  11682. "properties": {
  11683. "aftervalue": {
  11684. "description": "变更后",
  11685. "type": "number"
  11686. },
  11687. "applyid": {
  11688. "description": "操作人ID",
  11689. "type": "string"
  11690. },
  11691. "applyname": {
  11692. "description": "操作人名称",
  11693. "type": "string"
  11694. },
  11695. "beforevalue": {
  11696. "description": "变更前",
  11697. "type": "number"
  11698. },
  11699. "biztype": {
  11700. "description": "业务类型 - 1:套保计划 2:现货合同",
  11701. "type": "integer"
  11702. },
  11703. "contracttype": {
  11704. "description": "现货合同类型 - 1:采购 -1:销售",
  11705. "type": "integer"
  11706. },
  11707. "logvalue": {
  11708. "description": "数值",
  11709. "type": "number"
  11710. },
  11711. "operatelogtype": {
  11712. "description": "操作流水类型",
  11713. "type": "integer"
  11714. },
  11715. "operatelogtypedesc": {
  11716. "description": "操作流水类型名称",
  11717. "type": "string"
  11718. },
  11719. "relatedid": {
  11720. "description": "现货合同ID\\套保计划",
  11721. "type": "string"
  11722. },
  11723. "updatetime": {
  11724. "description": "更新时间",
  11725. "type": "string"
  11726. }
  11727. }
  11728. },
  11729. "models.ErmcpPendingAudit": {
  11730. "type": "object",
  11731. "properties": {
  11732. "businessdjqty": {
  11733. "description": "待审核数量: 点价",
  11734. "type": "integer"
  11735. },
  11736. "businessfpqty": {
  11737. "description": "待审核数量: 发票",
  11738. "type": "integer"
  11739. },
  11740. "businessjsqty": {
  11741. "description": "待审核数量: 结算",
  11742. "type": "integer"
  11743. },
  11744. "businesskxqty": {
  11745. "description": "待审核数量: 款项",
  11746. "type": "integer"
  11747. },
  11748. "hedgeplanqty": {
  11749. "description": "待审核数量: 套保计划",
  11750. "type": "integer"
  11751. },
  11752. "spotcontractqty": {
  11753. "description": "待审核数量: 现货合同",
  11754. "type": "integer"
  11755. },
  11756. "userqty": {
  11757. "description": "待审核数量: 用户",
  11758. "type": "integer"
  11759. }
  11760. }
  11761. },
  11762. "models.ErmcpRealExposureModel": {
  11763. "type": "object",
  11764. "properties": {
  11765. "areaUserID": {
  11766. "description": "所属机构",
  11767. "type": "integer"
  11768. },
  11769. "buyFutureQty": {
  11770. "description": "买入期货数量",
  11771. "type": "number"
  11772. },
  11773. "buyPlanQty": {
  11774. "description": "采购计划数量",
  11775. "type": "number"
  11776. },
  11777. "buyPricedQty": {
  11778. "description": "采购合同已定价数量",
  11779. "type": "number"
  11780. },
  11781. "diffFutuQty": {
  11782. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11783. "type": "number"
  11784. },
  11785. "diffSpotQty": {
  11786. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11787. "type": "number"
  11788. },
  11789. "enumdicname": {
  11790. "description": "单位名称",
  11791. "type": "string"
  11792. },
  11793. "middleGoodsCode": {
  11794. "description": "套保品种代码",
  11795. "type": "string"
  11796. },
  11797. "middleGoodsHedgeRatio": {
  11798. "description": "应套保比例",
  11799. "type": "number"
  11800. },
  11801. "middleGoodsID": {
  11802. "description": "套保品种",
  11803. "type": "integer"
  11804. },
  11805. "middleGoodsName": {
  11806. "description": "套保品种名称",
  11807. "type": "string"
  11808. },
  11809. "needHedgeExposoure": {
  11810. "description": "应套保敞口",
  11811. "type": "number"
  11812. },
  11813. "needHedgeRatio": {
  11814. "description": "应套保敞口比例",
  11815. "type": "number"
  11816. },
  11817. "oriBuyFutureQty": {
  11818. "description": "期初买入期货数量",
  11819. "type": "number"
  11820. },
  11821. "oriBuyPlanQty": {
  11822. "description": "期初采购计划数量",
  11823. "type": "number"
  11824. },
  11825. "oriBuyPricedQty": {
  11826. "description": "期初采购合同已定价数量",
  11827. "type": "number"
  11828. },
  11829. "oriSellFutureQty": {
  11830. "description": "期初卖出期货数量",
  11831. "type": "number"
  11832. },
  11833. "oriSellPlanQty": {
  11834. "description": "期初销售计划数量",
  11835. "type": "number"
  11836. },
  11837. "oriSellPricedQty": {
  11838. "description": "期初销售合同已定价数量",
  11839. "type": "number"
  11840. },
  11841. "oriTotalFutuQty": {
  11842. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11843. "type": "number"
  11844. },
  11845. "oriTotalSpotQty": {
  11846. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11847. "type": "number"
  11848. },
  11849. "sellFutureQty": {
  11850. "description": "卖出期货数量",
  11851. "type": "number"
  11852. },
  11853. "sellPlanQty": {
  11854. "description": "销售计划数量",
  11855. "type": "number"
  11856. },
  11857. "sellPricedQty": {
  11858. "description": "销售合同已定价数量",
  11859. "type": "number"
  11860. },
  11861. "totalExposure": {
  11862. "description": "总敞口",
  11863. "type": "number"
  11864. },
  11865. "totalFutureQty": {
  11866. "description": "期货数量",
  11867. "type": "number"
  11868. },
  11869. "totalHedgeRatio": {
  11870. "description": "敞口比例",
  11871. "type": "number"
  11872. },
  11873. "totalNeedHedgeQty": {
  11874. "description": "期货应套保量",
  11875. "type": "number"
  11876. },
  11877. "totalSpotQty": {
  11878. "description": "现货数量",
  11879. "type": "number"
  11880. }
  11881. }
  11882. },
  11883. "models.ErmcpReportDayExposure": {
  11884. "type": "object",
  11885. "properties": {
  11886. "areauserid": {
  11887. "description": "所属机构",
  11888. "type": "integer"
  11889. },
  11890. "buyfutureqty": {
  11891. "description": "买入期货数量",
  11892. "type": "number"
  11893. },
  11894. "buyplanqty": {
  11895. "description": "采购计划数量",
  11896. "type": "number"
  11897. },
  11898. "buypricedqty": {
  11899. "description": "采购合同已定价数量",
  11900. "type": "number"
  11901. },
  11902. "diffFutuQty": {
  11903. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11904. "type": "number"
  11905. },
  11906. "diffSpotQty": {
  11907. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11908. "type": "number"
  11909. },
  11910. "enumdicname": {
  11911. "description": "单位名称",
  11912. "type": "string"
  11913. },
  11914. "middlegoodscode": {
  11915. "description": "套保品种代码",
  11916. "type": "string"
  11917. },
  11918. "middlegoodshedgeratio": {
  11919. "description": "应套保比例",
  11920. "type": "number"
  11921. },
  11922. "middlegoodsid": {
  11923. "description": "套保品种ID",
  11924. "type": "integer"
  11925. },
  11926. "middlegoodsname": {
  11927. "description": "套保品种名称",
  11928. "type": "string"
  11929. },
  11930. "needhedgeexposoure": {
  11931. "description": "应套保敞口",
  11932. "type": "number"
  11933. },
  11934. "needhedgeratio": {
  11935. "description": "应套保敞口比例",
  11936. "type": "number"
  11937. },
  11938. "oriTotalFutuQty": {
  11939. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11940. "type": "number"
  11941. },
  11942. "oriTotalSpotQty": {
  11943. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11944. "type": "number"
  11945. },
  11946. "oribuyfutureqty": {
  11947. "description": "期初买入期货数量",
  11948. "type": "number"
  11949. },
  11950. "oribuyplanqty": {
  11951. "description": "期初采购计划数量",
  11952. "type": "number"
  11953. },
  11954. "oribuypricedqty": {
  11955. "description": "期初采购合同已定价数量",
  11956. "type": "number"
  11957. },
  11958. "orisellfutureqty": {
  11959. "description": "期初卖出期货数量",
  11960. "type": "number"
  11961. },
  11962. "orisellplanqty": {
  11963. "description": "期初销售计划数量",
  11964. "type": "number"
  11965. },
  11966. "orisellpricedqty": {
  11967. "description": "期初销售合同已定价数量",
  11968. "type": "number"
  11969. },
  11970. "reckondate": {
  11971. "description": "日照时期(yyyyMMdd)",
  11972. "type": "string"
  11973. },
  11974. "sellfutureqty": {
  11975. "description": "卖出期货数量",
  11976. "type": "number"
  11977. },
  11978. "sellplanqty": {
  11979. "description": "销售计划数量",
  11980. "type": "number"
  11981. },
  11982. "sellpricedqty": {
  11983. "description": "销售合同已定价数量",
  11984. "type": "number"
  11985. },
  11986. "totalexposure": {
  11987. "description": "总敞口",
  11988. "type": "number"
  11989. },
  11990. "totalfutureqty": {
  11991. "description": "期货数量",
  11992. "type": "number"
  11993. },
  11994. "totalhedgeratio": {
  11995. "description": "敞口比例",
  11996. "type": "number"
  11997. },
  11998. "totalneedhedgeqty": {
  11999. "description": "期货应套保量",
  12000. "type": "number"
  12001. },
  12002. "totalspotqty": {
  12003. "description": "现货数量",
  12004. "type": "number"
  12005. }
  12006. }
  12007. },
  12008. "models.ErmcpReportDayFR": {
  12009. "type": "object",
  12010. "properties": {
  12011. "areauserid": {
  12012. "description": "所属机构",
  12013. "type": "integer"
  12014. },
  12015. "collectinvoiceamount": {
  12016. "description": "今日开票金额",
  12017. "type": "number"
  12018. },
  12019. "collectinvoicecount": {
  12020. "description": "今日开票笔数",
  12021. "type": "integer"
  12022. },
  12023. "collectmoneyamount": {
  12024. "description": "今日收款金额",
  12025. "type": "number"
  12026. },
  12027. "collectmoneycount": {
  12028. "description": "今日收款笔数",
  12029. "type": "integer"
  12030. },
  12031. "payinvoiceamount": {
  12032. "description": "今日收票金额",
  12033. "type": "number"
  12034. },
  12035. "payinvoicecount": {
  12036. "description": "今日收票笔数",
  12037. "type": "integer"
  12038. },
  12039. "paymoneyamount": {
  12040. "description": "今日付款金额",
  12041. "type": "number"
  12042. },
  12043. "paymoneycount": {
  12044. "description": "今日付款笔数",
  12045. "type": "integer"
  12046. },
  12047. "reckondate": {
  12048. "description": "日照时期(yyyyMMdd)",
  12049. "type": "string"
  12050. },
  12051. "updatetime": {
  12052. "description": "更新时间",
  12053. "type": "string"
  12054. }
  12055. }
  12056. },
  12057. "models.ErmcpReportDaySpot": {
  12058. "type": "object",
  12059. "properties": {
  12060. "areauserid": {
  12061. "description": "所属机构T",
  12062. "type": "integer"
  12063. },
  12064. "enumdicname": {
  12065. "description": "现货商品单位名称",
  12066. "type": "string"
  12067. },
  12068. "reckondate": {
  12069. "description": "日照时期(yyyyMMdd)",
  12070. "type": "string"
  12071. },
  12072. "todaybuyreckonqty": {
  12073. "description": "采购确定量",
  12074. "type": "number"
  12075. },
  12076. "todaysellreckonqty": {
  12077. "description": "销售确定量",
  12078. "type": "number"
  12079. },
  12080. "totalbuypricedqty": {
  12081. "description": "采购定价量 = 期末 - 期初",
  12082. "type": "number"
  12083. },
  12084. "totalsellpricedqty": {
  12085. "description": "销售定价量 = 期末 - 期初",
  12086. "type": "number"
  12087. },
  12088. "wrstandardcode": {
  12089. "description": "现货商品代码",
  12090. "type": "string"
  12091. },
  12092. "wrstandardid": {
  12093. "description": "现货商品ID",
  12094. "type": "integer"
  12095. },
  12096. "wrstandardname": {
  12097. "description": "现货商品名称",
  12098. "type": "string"
  12099. }
  12100. }
  12101. },
  12102. "models.ErmcpReportMonSpot": {
  12103. "type": "object",
  12104. "properties": {
  12105. "areauserid": {
  12106. "description": "所属机构T",
  12107. "type": "integer"
  12108. },
  12109. "cycletime": {
  12110. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12111. "type": "string"
  12112. },
  12113. "cycletype": {
  12114. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12115. "type": "integer"
  12116. },
  12117. "enumdicname": {
  12118. "description": "现货商品单位名称",
  12119. "type": "string"
  12120. },
  12121. "todaybuyreckonqty": {
  12122. "description": "采购确定量",
  12123. "type": "number"
  12124. },
  12125. "todaysellreckonqty": {
  12126. "description": "销售确定量",
  12127. "type": "number"
  12128. },
  12129. "totalbuypricedqty": {
  12130. "description": "采购定价量 = 期末 - 期初",
  12131. "type": "number"
  12132. },
  12133. "totalsellpricedqty": {
  12134. "description": "销售定价量 = 期末 - 期初",
  12135. "type": "number"
  12136. },
  12137. "wrstandardcode": {
  12138. "description": "现货商品代码",
  12139. "type": "string"
  12140. },
  12141. "wrstandardid": {
  12142. "description": "现货商品ID",
  12143. "type": "integer"
  12144. },
  12145. "wrstandardname": {
  12146. "description": "现货商品名称",
  12147. "type": "string"
  12148. }
  12149. }
  12150. },
  12151. "models.ErmcpReportMonthFR": {
  12152. "type": "object",
  12153. "properties": {
  12154. "areauserid": {
  12155. "description": "所属机构【原值】",
  12156. "type": "integer"
  12157. },
  12158. "collectinvoiceamount": {
  12159. "description": "今日开票金额【汇总】",
  12160. "type": "number"
  12161. },
  12162. "collectinvoicecount": {
  12163. "description": "今日开票笔数【汇总】",
  12164. "type": "integer"
  12165. },
  12166. "collectmoneyamount": {
  12167. "description": "今日收款金额【汇总】",
  12168. "type": "number"
  12169. },
  12170. "collectmoneycount": {
  12171. "description": "今日收款笔数 【汇总】",
  12172. "type": "integer"
  12173. },
  12174. "cycletime": {
  12175. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12176. "type": "string"
  12177. },
  12178. "cycletype": {
  12179. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12180. "type": "integer"
  12181. },
  12182. "dayFr": {
  12183. "description": "日报表明细",
  12184. "type": "array",
  12185. "items": {
  12186. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12187. }
  12188. },
  12189. "payinvoiceamount": {
  12190. "description": "今日收票金额【汇总】",
  12191. "type": "number"
  12192. },
  12193. "payinvoicecount": {
  12194. "description": "今日收票笔数【汇总】",
  12195. "type": "integer"
  12196. },
  12197. "paymoneyamount": {
  12198. "description": "今日付款金额【汇总】",
  12199. "type": "number"
  12200. },
  12201. "paymoneycount": {
  12202. "description": "今日付款笔数【汇总】",
  12203. "type": "integer"
  12204. },
  12205. "updatetime": {
  12206. "description": "更新时间",
  12207. "type": "string"
  12208. }
  12209. }
  12210. },
  12211. "models.ErmcpReportOPLog": {
  12212. "type": "object",
  12213. "properties": {
  12214. "applyid": {
  12215. "description": "操作人",
  12216. "type": "integer"
  12217. },
  12218. "applyname": {
  12219. "description": "操作人名称",
  12220. "type": "string"
  12221. },
  12222. "biztype": {
  12223. "description": "业务类型 - 1:套保计划 2:现货合同",
  12224. "type": "integer"
  12225. },
  12226. "contracttype": {
  12227. "description": "现货合同类型 - 1:采购 -1:销售",
  12228. "type": "integer"
  12229. },
  12230. "enumdicName": {
  12231. "description": "单位名称",
  12232. "type": "string"
  12233. },
  12234. "logdatetime": {
  12235. "description": "流水日期(时间)",
  12236. "type": "string"
  12237. },
  12238. "logid": {
  12239. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12240. "type": "string"
  12241. },
  12242. "logtypename": {
  12243. "description": "合同类型(名称)",
  12244. "type": "string"
  12245. },
  12246. "logvalue": {
  12247. "description": "数值",
  12248. "type": "string"
  12249. },
  12250. "operatelogtype": {
  12251. "description": "操作流水类型 -",
  12252. "type": "integer"
  12253. },
  12254. "optypename": {
  12255. "description": "流水类型名称",
  12256. "type": "string"
  12257. },
  12258. "relatedid": {
  12259. "description": "现货合同ID\\套保计划",
  12260. "type": "string"
  12261. },
  12262. "relatedno": {
  12263. "description": "合同编号",
  12264. "type": "string"
  12265. },
  12266. "tradedate": {
  12267. "description": "交易日(yyyyMMdd)",
  12268. "type": "string"
  12269. },
  12270. "userid": {
  12271. "description": "机构ID",
  12272. "type": "integer"
  12273. },
  12274. "wrstandardcode": {
  12275. "description": "现货商品代码",
  12276. "type": "string"
  12277. },
  12278. "wrstandardid": {
  12279. "description": "现货商品ID",
  12280. "type": "integer"
  12281. },
  12282. "wrstandardname": {
  12283. "description": "现货商品名称",
  12284. "type": "string"
  12285. }
  12286. }
  12287. },
  12288. "models.ErmcpSpotContractModel": {
  12289. "type": "object",
  12290. "properties": {
  12291. "amount": {
  12292. "description": "金额 [1:一口价、3:暂定价]",
  12293. "type": "number"
  12294. },
  12295. "attachment": {
  12296. "description": "附件",
  12297. "type": "string"
  12298. },
  12299. "auditremark": {
  12300. "description": "审核意见",
  12301. "type": "string"
  12302. },
  12303. "audittime": {
  12304. "description": "审核时间",
  12305. "type": "string"
  12306. },
  12307. "brandname": {
  12308. "description": "品牌名称",
  12309. "type": "string"
  12310. },
  12311. "buyuserid": {
  12312. "description": "采购方ID",
  12313. "type": "integer"
  12314. },
  12315. "buyusername": {
  12316. "description": "采购方名称",
  12317. "type": "string"
  12318. },
  12319. "contracctstatus": {
  12320. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12321. "type": "integer"
  12322. },
  12323. "contractmargin": {
  12324. "description": "合同保证金",
  12325. "type": "number"
  12326. },
  12327. "contractno": {
  12328. "description": "现货合同编号",
  12329. "type": "string"
  12330. },
  12331. "contracttype": {
  12332. "description": "现货合同类型 - 1:采购 -1:销售",
  12333. "type": "integer"
  12334. },
  12335. "convertfactor": {
  12336. "description": "标仓系数",
  12337. "type": "number"
  12338. },
  12339. "createtime": {
  12340. "description": "创建时间",
  12341. "type": "string"
  12342. },
  12343. "deliveryenddate": {
  12344. "description": "交收期(结束)",
  12345. "type": "string"
  12346. },
  12347. "deliverygoodscode": {
  12348. "description": "现货品种代码",
  12349. "type": "string"
  12350. },
  12351. "deliverygoodsid": {
  12352. "description": "现货品种ID",
  12353. "type": "integer"
  12354. },
  12355. "deliverygoodsname": {
  12356. "description": "现货品种名称",
  12357. "type": "string"
  12358. },
  12359. "deliverystartdate": {
  12360. "description": "交收期(开始)",
  12361. "type": "string"
  12362. },
  12363. "enddate": {
  12364. "description": "点价结束日期 [2:点价 3:暂定价]",
  12365. "type": "string"
  12366. },
  12367. "enumdicname": {
  12368. "description": "单位名称",
  12369. "type": "string"
  12370. },
  12371. "goodscode": {
  12372. "description": "点价合约代码",
  12373. "type": "string"
  12374. },
  12375. "goodsid": {
  12376. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12377. "type": "integer"
  12378. },
  12379. "goodsname": {
  12380. "description": "点价商品名称",
  12381. "type": "string"
  12382. },
  12383. "margin": {
  12384. "description": "当前保证金",
  12385. "type": "number"
  12386. },
  12387. "modelname": {
  12388. "description": "型号名称",
  12389. "type": "string"
  12390. },
  12391. "price": {
  12392. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12393. "type": "number"
  12394. },
  12395. "pricemove": {
  12396. "description": "升贴水 [2:点价 3:暂定价]",
  12397. "type": "number"
  12398. },
  12399. "pricetype": {
  12400. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12401. "type": "integer"
  12402. },
  12403. "producttype": {
  12404. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12405. "type": "integer"
  12406. },
  12407. "qty": {
  12408. "description": "数量",
  12409. "type": "number"
  12410. },
  12411. "remark": {
  12412. "description": "备注",
  12413. "type": "string"
  12414. },
  12415. "selluserid": {
  12416. "description": "销售方ID",
  12417. "type": "integer"
  12418. },
  12419. "sellusername": {
  12420. "description": "销售方名称",
  12421. "type": "string"
  12422. },
  12423. "spotcontractid": {
  12424. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12425. "type": "string"
  12426. },
  12427. "spotgoodsbrandid": {
  12428. "description": "现货品牌ID",
  12429. "type": "integer"
  12430. },
  12431. "spotgoodsdesc": {
  12432. "description": "商品型号",
  12433. "type": "string"
  12434. },
  12435. "spotgoodsmodelid": {
  12436. "description": "现货型号ID",
  12437. "type": "integer"
  12438. },
  12439. "startdate": {
  12440. "description": "点价开始日期 [2:点价 3:暂定价]",
  12441. "type": "string"
  12442. },
  12443. "updatetime": {
  12444. "description": "更新时间",
  12445. "type": "string"
  12446. },
  12447. "userid": {
  12448. "description": "机构ID",
  12449. "type": "integer"
  12450. },
  12451. "wrstandardid": {
  12452. "description": "现货商品ID",
  12453. "type": "integer"
  12454. }
  12455. }
  12456. },
  12457. "models.ErmcpUserModel": {
  12458. "type": "object",
  12459. "properties": {
  12460. "address": {
  12461. "description": "通讯地址",
  12462. "type": "string"
  12463. },
  12464. "attachment1": {
  12465. "description": "附件1",
  12466. "type": "string"
  12467. },
  12468. "audittime": {
  12469. "description": "审核时间",
  12470. "type": "string"
  12471. },
  12472. "cardfrontphotourl": {
  12473. "description": "证件正面图片地址",
  12474. "type": "string"
  12475. },
  12476. "cardnum": {
  12477. "description": "证件号码",
  12478. "type": "string"
  12479. },
  12480. "cardtype": {
  12481. "description": "证件类型",
  12482. "type": "integer"
  12483. },
  12484. "cardtypename": {
  12485. "description": "证件类型名称",
  12486. "type": "string"
  12487. },
  12488. "cityid": {
  12489. "description": "市",
  12490. "type": "integer"
  12491. },
  12492. "countryid": {
  12493. "description": "国家",
  12494. "type": "integer"
  12495. },
  12496. "createtime": {
  12497. "description": "创建时间",
  12498. "type": "string"
  12499. },
  12500. "customername": {
  12501. "description": "企业名称",
  12502. "type": "string"
  12503. },
  12504. "memberuserid": {
  12505. "description": "所属机构ID",
  12506. "type": "integer"
  12507. },
  12508. "mobile": {
  12509. "description": "手机号码",
  12510. "type": "string"
  12511. },
  12512. "modifytime": {
  12513. "description": "修改时间",
  12514. "type": "string"
  12515. },
  12516. "provinceid": {
  12517. "description": "省",
  12518. "type": "integer"
  12519. },
  12520. "remark": {
  12521. "description": "备注",
  12522. "type": "string"
  12523. },
  12524. "status": {
  12525. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12526. "type": "integer"
  12527. },
  12528. "statusdesc": {
  12529. "description": "账户状态中文描述",
  12530. "type": "string"
  12531. },
  12532. "telphone": {
  12533. "description": "联系电话",
  12534. "type": "string"
  12535. },
  12536. "userid": {
  12537. "description": "用户ID",
  12538. "type": "integer"
  12539. },
  12540. "userinfotype": {
  12541. "description": "客户类型",
  12542. "type": "string"
  12543. }
  12544. }
  12545. },
  12546. "models.ErmcpWareHouseInfo": {
  12547. "type": "object",
  12548. "properties": {
  12549. "address": {
  12550. "description": "详细地址",
  12551. "type": "string"
  12552. },
  12553. "areauserid": {
  12554. "description": "所属机构",
  12555. "type": "integer"
  12556. },
  12557. "autoid": {
  12558. "description": "自增ID(仓库ID)",
  12559. "type": "integer"
  12560. },
  12561. "cityid": {
  12562. "description": "市",
  12563. "type": "integer"
  12564. },
  12565. "contactname": {
  12566. "description": "联系人",
  12567. "type": "string"
  12568. },
  12569. "contactnum": {
  12570. "description": "联系电话",
  12571. "type": "string"
  12572. },
  12573. "countryid": {
  12574. "description": "国家",
  12575. "type": "integer"
  12576. },
  12577. "createtime": {
  12578. "description": "创建时间",
  12579. "type": "string"
  12580. },
  12581. "districtid": {
  12582. "description": "区",
  12583. "type": "integer"
  12584. },
  12585. "hasvideo": {
  12586. "description": "是否有视频 - 0:无 1:有",
  12587. "type": "integer"
  12588. },
  12589. "provinceid": {
  12590. "description": "省",
  12591. "type": "integer"
  12592. },
  12593. "remark": {
  12594. "description": "审核备注",
  12595. "type": "string"
  12596. },
  12597. "videourl": {
  12598. "description": "视频地址",
  12599. "type": "string"
  12600. },
  12601. "warehousecode": {
  12602. "description": "仓库代码",
  12603. "type": "string"
  12604. },
  12605. "warehousename": {
  12606. "description": "仓库名称",
  12607. "type": "string"
  12608. },
  12609. "warehousestatus": {
  12610. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12611. "type": "integer"
  12612. },
  12613. "warehousetype": {
  12614. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12615. "type": "integer"
  12616. }
  12617. }
  12618. },
  12619. "models.ErmcpWrstandDetail": {
  12620. "type": "object",
  12621. "properties": {
  12622. "gbList": {
  12623. "description": "品牌列表",
  12624. "type": "array",
  12625. "items": {
  12626. "$ref": "#/definitions/models.GoodsBrand"
  12627. }
  12628. },
  12629. "goodsList": {
  12630. "description": "关联交易商品列表",
  12631. "type": "array",
  12632. "items": {
  12633. "$ref": "#/definitions/models.RelatedGoodsEx"
  12634. }
  12635. },
  12636. "gtList": {
  12637. "description": "型号列表",
  12638. "type": "array",
  12639. "items": {
  12640. "$ref": "#/definitions/models.GoodsTypeModel"
  12641. }
  12642. },
  12643. "wrd": {
  12644. "description": "基本信息",
  12645. "type": "object",
  12646. "$ref": "#/definitions/models.ErmcpWrstandard"
  12647. },
  12648. "wrsList": {
  12649. "description": "套保信息列表",
  12650. "type": "array",
  12651. "items": {
  12652. "$ref": "#/definitions/models.WRSConverTDetail"
  12653. }
  12654. }
  12655. }
  12656. },
  12657. "models.ErmcpWrstandard": {
  12658. "type": "object",
  12659. "properties": {
  12660. "areauserid": {
  12661. "description": "所属机构",
  12662. "type": "integer"
  12663. },
  12664. "createtime": {
  12665. "description": "创建时间",
  12666. "type": "string"
  12667. },
  12668. "creatorid": {
  12669. "description": "创建人",
  12670. "type": "integer"
  12671. },
  12672. "deliverygoodsid": {
  12673. "description": "品种ID",
  12674. "type": "integer"
  12675. },
  12676. "enumdicname": {
  12677. "description": "单位名称",
  12678. "type": "string"
  12679. },
  12680. "isvalid": {
  12681. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12682. "type": "integer"
  12683. },
  12684. "minivalue": {
  12685. "description": "最小变动值",
  12686. "type": "integer"
  12687. },
  12688. "minivaluedp": {
  12689. "description": "最小变动值小数位",
  12690. "type": "integer"
  12691. },
  12692. "realminivalue": {
  12693. "description": "实际最小变动值",
  12694. "type": "integer"
  12695. },
  12696. "realminivaluedp": {
  12697. "description": "实际最小变动值小数位",
  12698. "type": "integer"
  12699. },
  12700. "remark": {
  12701. "description": "备注",
  12702. "type": "string"
  12703. },
  12704. "unitid": {
  12705. "description": "单位ID",
  12706. "type": "integer"
  12707. },
  12708. "updatetime": {
  12709. "description": "更新时间",
  12710. "type": "string"
  12711. },
  12712. "wrstandardcode": {
  12713. "description": "现货商品代码",
  12714. "type": "string"
  12715. },
  12716. "wrstandardid": {
  12717. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12718. "type": "integer"
  12719. },
  12720. "wrstandardname": {
  12721. "description": "现货商品名称",
  12722. "type": "string"
  12723. }
  12724. }
  12725. },
  12726. "models.Externalexchange": {
  12727. "type": "object",
  12728. "required": [
  12729. "autoid"
  12730. ],
  12731. "properties": {
  12732. "autoid": {
  12733. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12734. "type": "integer"
  12735. },
  12736. "exchangefullname": {
  12737. "description": "外部交易所全称",
  12738. "type": "string"
  12739. },
  12740. "exexchangecode": {
  12741. "description": "外部交易所代码",
  12742. "type": "string"
  12743. },
  12744. "exexchangename": {
  12745. "description": "外部交易所名称(简称)",
  12746. "type": "string"
  12747. },
  12748. "ismarketprice": {
  12749. "description": "是否支持市价 - 0:不支持 1:支持",
  12750. "type": "integer"
  12751. },
  12752. "quotegear": {
  12753. "description": "行情档位(1-10)",
  12754. "type": "integer"
  12755. },
  12756. "showbrokerflag": {
  12757. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12758. "type": "integer"
  12759. },
  12760. "updatetime": {
  12761. "description": "更新时间",
  12762. "type": "string"
  12763. }
  12764. }
  12765. },
  12766. "models.Funcmenulist": {
  12767. "type": "object",
  12768. "required": [
  12769. "resourcecode"
  12770. ],
  12771. "properties": {
  12772. "iconame": {
  12773. "description": "菜单图标",
  12774. "type": "string"
  12775. },
  12776. "menutype": {
  12777. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  12778. "type": "integer"
  12779. },
  12780. "parentcode": {
  12781. "description": "上级资源代码",
  12782. "type": "string"
  12783. },
  12784. "remark": {
  12785. "description": "备注",
  12786. "type": "string"
  12787. },
  12788. "resourcecode": {
  12789. "description": "资源代码",
  12790. "type": "string"
  12791. },
  12792. "resourcelevel": {
  12793. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  12794. "type": "integer"
  12795. },
  12796. "resourcename": {
  12797. "description": "资源名",
  12798. "type": "string"
  12799. },
  12800. "sort": {
  12801. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  12802. "type": "integer"
  12803. },
  12804. "url": {
  12805. "description": "URL",
  12806. "type": "string"
  12807. }
  12808. }
  12809. },
  12810. "models.Goods": {
  12811. "type": "object",
  12812. "required": [
  12813. "goodscode",
  12814. "goodsid",
  12815. "goodsname",
  12816. "marketid"
  12817. ],
  12818. "properties": {
  12819. "agreeunit": {
  12820. "description": "合约单位",
  12821. "type": "number"
  12822. },
  12823. "auditaccountid": {
  12824. "description": "审核操作员账号",
  12825. "type": "integer"
  12826. },
  12827. "audittime": {
  12828. "description": "审核时间",
  12829. "type": "string"
  12830. },
  12831. "cancelaccountid": {
  12832. "description": "注销操作员账号",
  12833. "type": "integer"
  12834. },
  12835. "canceltime": {
  12836. "description": "注销时间",
  12837. "type": "string"
  12838. },
  12839. "closepricemode": {
  12840. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12841. "type": "integer"
  12842. },
  12843. "closepriceparam": {
  12844. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12845. "type": "number"
  12846. },
  12847. "createtime": {
  12848. "description": "创建时间",
  12849. "type": "string"
  12850. },
  12851. "creatorid": {
  12852. "description": "创建人",
  12853. "type": "integer"
  12854. },
  12855. "currencyid": {
  12856. "description": "报价货币ID",
  12857. "type": "integer"
  12858. },
  12859. "cutmode": {
  12860. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12861. "type": "integer"
  12862. },
  12863. "decimalplace": {
  12864. "description": "报价小数位",
  12865. "type": "integer"
  12866. },
  12867. "delistingdate": {
  12868. "description": "商品退市时间(状态:退市) -- 已作废",
  12869. "type": "string"
  12870. },
  12871. "delistingmode": {
  12872. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12873. "type": "integer"
  12874. },
  12875. "deliveryflag": {
  12876. "description": "交割标志 - 0:不可交割 1:可交割",
  12877. "type": "integer"
  12878. },
  12879. "forceclosemode": {
  12880. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12881. "type": "integer"
  12882. },
  12883. "forceclosevalue": {
  12884. "description": "定期强平参数 [收益权]",
  12885. "type": "integer"
  12886. },
  12887. "goodscode": {
  12888. "description": "商品代码(内部)",
  12889. "type": "string"
  12890. },
  12891. "goodscurrencyid": {
  12892. "description": "合约货币ID",
  12893. "type": "integer"
  12894. },
  12895. "goodsgroupid": {
  12896. "description": "所属商品组ID",
  12897. "type": "integer"
  12898. },
  12899. "goodsid": {
  12900. "description": "商品ID(自增ID SEQ_GOODS)",
  12901. "type": "integer"
  12902. },
  12903. "goodsname": {
  12904. "description": "商品名称",
  12905. "type": "string"
  12906. },
  12907. "goodsquotetype": {
  12908. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12909. "type": "integer"
  12910. },
  12911. "goodsstatus": {
  12912. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12913. "type": "integer"
  12914. },
  12915. "goodstradetype": {
  12916. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12917. "type": "integer"
  12918. },
  12919. "goodunitid": {
  12920. "description": "报价单位ID",
  12921. "type": "integer"
  12922. },
  12923. "hasquoter": {
  12924. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12925. "type": "integer"
  12926. },
  12927. "hqprotecttime": {
  12928. "description": "行情保护时间(秒)",
  12929. "type": "integer"
  12930. },
  12931. "innerdealmode": {
  12932. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12933. "type": "integer"
  12934. },
  12935. "isbuylimited": {
  12936. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12937. "type": "integer"
  12938. },
  12939. "lasttradedate": {
  12940. "description": "最后交易日期(状态:待退市)",
  12941. "type": "string"
  12942. },
  12943. "listingdate": {
  12944. "description": "交易开始日期",
  12945. "type": "string"
  12946. },
  12947. "marketid": {
  12948. "description": "所属市场ID",
  12949. "type": "integer"
  12950. },
  12951. "modifierid": {
  12952. "description": "修改人",
  12953. "type": "integer"
  12954. },
  12955. "modifystatus": {
  12956. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12957. "type": "integer"
  12958. },
  12959. "modifytime": {
  12960. "description": "修改时间",
  12961. "type": "string"
  12962. },
  12963. "outerdealmode": {
  12964. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12965. "type": "integer"
  12966. },
  12967. "outgoodscode": {
  12968. "description": "商品代码(外部)",
  12969. "type": "string"
  12970. },
  12971. "qtydecimalplace": {
  12972. "description": "成交量小数位",
  12973. "type": "integer"
  12974. },
  12975. "quotegear": {
  12976. "description": "行情档位(1-10)",
  12977. "type": "integer"
  12978. },
  12979. "quoteminunit": {
  12980. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12981. "type": "integer"
  12982. },
  12983. "quoteshowtype": {
  12984. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12985. "type": "integer"
  12986. },
  12987. "quoteshowtypeinterval": {
  12988. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12989. "type": "integer"
  12990. },
  12991. "remark": {
  12992. "description": "备注",
  12993. "type": "string"
  12994. }
  12995. }
  12996. },
  12997. "models.GoodsBrand": {
  12998. "type": "object",
  12999. "properties": {
  13000. "brandid": {
  13001. "description": "品牌ID",
  13002. "type": "integer"
  13003. },
  13004. "brandname": {
  13005. "description": "品牌名称",
  13006. "type": "string"
  13007. },
  13008. "isvalid": {
  13009. "description": "是否有效 - 0:无效 1:有效",
  13010. "type": "integer"
  13011. }
  13012. }
  13013. },
  13014. "models.GoodsGroupConvert": {
  13015. "type": "object",
  13016. "properties": {
  13017. "convertratio": {
  13018. "description": "折算系数",
  13019. "type": "number"
  13020. },
  13021. "dstgoodsgroupid": {
  13022. "description": "目标期货品种ID",
  13023. "type": "integer"
  13024. },
  13025. "goodsgroupname": {
  13026. "description": "期货品种名称",
  13027. "type": "string"
  13028. },
  13029. "outergroupcode": {
  13030. "description": "期货品种代码",
  13031. "type": "string"
  13032. },
  13033. "srcgoodsgroupid": {
  13034. "description": "源期货品种ID",
  13035. "type": "integer"
  13036. }
  13037. }
  13038. },
  13039. "models.GoodsIDAndName": {
  13040. "type": "object",
  13041. "required": [
  13042. "goodscode",
  13043. "goodsid",
  13044. "goodsname",
  13045. "marketid"
  13046. ],
  13047. "properties": {
  13048. "goodscode": {
  13049. "description": "商品代码(内部)",
  13050. "type": "string"
  13051. },
  13052. "goodsid": {
  13053. "description": "商品ID(自增ID SEQ_GOODS)",
  13054. "type": "integer"
  13055. },
  13056. "goodsname": {
  13057. "description": "商品名称",
  13058. "type": "string"
  13059. },
  13060. "marketid": {
  13061. "description": "所属市场ID",
  13062. "type": "integer"
  13063. }
  13064. }
  13065. },
  13066. "models.GoodsTypeModel": {
  13067. "type": "object",
  13068. "properties": {
  13069. "modelid": {
  13070. "description": "型号ID",
  13071. "type": "integer"
  13072. },
  13073. "modelname": {
  13074. "description": "型号名称",
  13075. "type": "string"
  13076. },
  13077. "updatetime": {
  13078. "description": "更新时间",
  13079. "type": "string"
  13080. }
  13081. }
  13082. },
  13083. "models.Goodsgroup": {
  13084. "type": "object",
  13085. "required": [
  13086. "goodsgroupid",
  13087. "goodsgroupname",
  13088. "goodsgroupstatus",
  13089. "marketid"
  13090. ],
  13091. "properties": {
  13092. "agreeunit": {
  13093. "description": "合约单位",
  13094. "type": "number"
  13095. },
  13096. "canshort": {
  13097. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13098. "type": "integer"
  13099. },
  13100. "closepricemode": {
  13101. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13102. "type": "integer"
  13103. },
  13104. "closepriceparam": {
  13105. "description": "强平最新价浮动比例 - 方式为2时使用",
  13106. "type": "number"
  13107. },
  13108. "createtime": {
  13109. "description": "创建时间",
  13110. "type": "string"
  13111. },
  13112. "creatorid": {
  13113. "description": "创建人",
  13114. "type": "integer"
  13115. },
  13116. "currencyid": {
  13117. "description": "报价货币ID",
  13118. "type": "integer"
  13119. },
  13120. "decimalplace": {
  13121. "description": "报价小数位",
  13122. "type": "integer"
  13123. },
  13124. "exercisetype": {
  13125. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13126. "type": "integer"
  13127. },
  13128. "exexchangeid": {
  13129. "description": "外部交易所ID[通道交易]",
  13130. "type": "integer"
  13131. },
  13132. "goodsgroupid": {
  13133. "description": "商品组ID(自增ID)",
  13134. "type": "integer"
  13135. },
  13136. "goodsgroupname": {
  13137. "description": "商品组名称",
  13138. "type": "string"
  13139. },
  13140. "goodsgroupstatus": {
  13141. "description": "商品组状态 - 1:正常 2:注销",
  13142. "type": "integer"
  13143. },
  13144. "goodunitid": {
  13145. "description": "报价单位ID",
  13146. "type": "integer"
  13147. },
  13148. "innerdealmode": {
  13149. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13150. "type": "integer"
  13151. },
  13152. "isbuylimited": {
  13153. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13154. "type": "integer"
  13155. },
  13156. "marketid": {
  13157. "description": "所属市场ID",
  13158. "type": "integer"
  13159. },
  13160. "modifierid": {
  13161. "description": "修改人",
  13162. "type": "integer"
  13163. },
  13164. "modifytime": {
  13165. "description": "修改时间",
  13166. "type": "string"
  13167. },
  13168. "outerdealmode": {
  13169. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13170. "type": "integer"
  13171. },
  13172. "outergroupcode": {
  13173. "description": "外部商品组代码[通道交易]",
  13174. "type": "string"
  13175. },
  13176. "premiumdecimalplace": {
  13177. "description": "权利金小数位[场外期权]",
  13178. "type": "integer"
  13179. },
  13180. "premiumspreadalgorithm": {
  13181. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13182. "type": "integer"
  13183. },
  13184. "premiumspreadvalue": {
  13185. "description": "权利金点差值[场外期权]",
  13186. "type": "number"
  13187. },
  13188. "qtydecimalplace": {
  13189. "description": "成交量小数位",
  13190. "type": "integer"
  13191. },
  13192. "quotegear": {
  13193. "description": "行情档位(1-10)",
  13194. "type": "integer"
  13195. },
  13196. "quoteminunit": {
  13197. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13198. "type": "integer"
  13199. },
  13200. "quoterid": {
  13201. "description": "报价商ID[场外期权]",
  13202. "type": "integer"
  13203. },
  13204. "quotesourcegroupid": {
  13205. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13206. "type": "integer"
  13207. },
  13208. "syncgoodsqty": {
  13209. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13210. "type": "integer"
  13211. }
  13212. }
  13213. },
  13214. "models.HsbyBuyMyPayOrder": {
  13215. "type": "object",
  13216. "required": [
  13217. "goodscode",
  13218. "goodsname",
  13219. "tradeid",
  13220. "trademode"
  13221. ],
  13222. "properties": {
  13223. "agreeunit": {
  13224. "description": "合约单位",
  13225. "type": "number"
  13226. },
  13227. "buyaccountid": {
  13228. "description": "买方账号ID[报价币种]",
  13229. "type": "integer"
  13230. },
  13231. "buyorderid": {
  13232. "description": "买方委托单号",
  13233. "type": "string"
  13234. },
  13235. "createtime": {
  13236. "description": "创建时间",
  13237. "type": "string"
  13238. },
  13239. "currencysign": {
  13240. "description": "货币符号",
  13241. "type": "string"
  13242. },
  13243. "decimalplace": {
  13244. "description": "报价小数位",
  13245. "type": "integer"
  13246. },
  13247. "goodscode": {
  13248. "description": "商品代码(内部)",
  13249. "type": "string"
  13250. },
  13251. "goodsid": {
  13252. "description": "商品ID",
  13253. "type": "integer"
  13254. },
  13255. "goodsname": {
  13256. "description": "商品名称",
  13257. "type": "string"
  13258. },
  13259. "marketid": {
  13260. "description": "市场ID",
  13261. "type": "integer"
  13262. },
  13263. "offamount": {
  13264. "description": "优惠金额",
  13265. "type": "number"
  13266. },
  13267. "originalamount": {
  13268. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13269. "type": "number"
  13270. },
  13271. "payamount": {
  13272. "description": "支付金额 = TradeAmount + TradeCharge",
  13273. "type": "number"
  13274. },
  13275. "payflag": {
  13276. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13277. "type": "integer"
  13278. },
  13279. "paylimitedtime": {
  13280. "description": "支付期限",
  13281. "type": "string"
  13282. },
  13283. "paytime": {
  13284. "description": "付款时间",
  13285. "type": "string"
  13286. },
  13287. "picurls1": {
  13288. "description": "预售商品介绍图片[多张用逗号分隔]",
  13289. "type": "string"
  13290. },
  13291. "picurls2": {
  13292. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13293. "type": "string"
  13294. },
  13295. "sellaccountid": {
  13296. "description": "卖方账号ID[报价币种]",
  13297. "type": "integer"
  13298. },
  13299. "sellorderid": {
  13300. "description": "卖方委托单号",
  13301. "type": "string"
  13302. },
  13303. "tradeamount": {
  13304. "description": "成交金额",
  13305. "type": "number"
  13306. },
  13307. "tradecharge": {
  13308. "description": "成交手续费(买方)",
  13309. "type": "number"
  13310. },
  13311. "tradedate": {
  13312. "description": "交易日(yyyyMMdd)",
  13313. "type": "string"
  13314. },
  13315. "tradeid": {
  13316. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13317. "type": "string"
  13318. },
  13319. "trademode": {
  13320. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13321. "type": "integer"
  13322. },
  13323. "tradeprice": {
  13324. "description": "成交价格",
  13325. "type": "number"
  13326. },
  13327. "tradeqty": {
  13328. "description": "成交数量",
  13329. "type": "integer"
  13330. },
  13331. "vendorname1": {
  13332. "description": "预售商品供应商名称",
  13333. "type": "string"
  13334. },
  13335. "vendorname2": {
  13336. "description": "挂牌商品供应商名称",
  13337. "type": "string"
  13338. }
  13339. }
  13340. },
  13341. "models.HsbyBuyMyTradeDetail": {
  13342. "type": "object",
  13343. "required": [
  13344. "accountid",
  13345. "buyorsell",
  13346. "goodscode",
  13347. "goodsid",
  13348. "goodsname",
  13349. "marketid",
  13350. "orderid",
  13351. "qty",
  13352. "time",
  13353. "trademode"
  13354. ],
  13355. "properties": {
  13356. "accountid": {
  13357. "description": "账户ID[报价币种]",
  13358. "type": "integer"
  13359. },
  13360. "agreeunit": {
  13361. "description": "合约单位",
  13362. "type": "number"
  13363. },
  13364. "amount": {
  13365. "description": "金额 = 价格 * 数量 * 合约单位",
  13366. "type": "number"
  13367. },
  13368. "buyorsell": {
  13369. "description": "买卖 - 0:买 1:卖",
  13370. "type": "integer"
  13371. },
  13372. "currencysign": {
  13373. "description": "货币符号",
  13374. "type": "string"
  13375. },
  13376. "decimalplace": {
  13377. "description": "报价小数位",
  13378. "type": "integer"
  13379. },
  13380. "goodscode": {
  13381. "description": "商品代码(内部)",
  13382. "type": "string"
  13383. },
  13384. "goodsid": {
  13385. "description": "商品ID",
  13386. "type": "integer"
  13387. },
  13388. "goodsname": {
  13389. "description": "商品名称",
  13390. "type": "string"
  13391. },
  13392. "marketid": {
  13393. "description": "市场ID",
  13394. "type": "integer"
  13395. },
  13396. "orderid": {
  13397. "description": "单号(成交单号)",
  13398. "type": "string"
  13399. },
  13400. "picurls1": {
  13401. "description": "预售商品介绍图片[多张用逗号分隔]",
  13402. "type": "string"
  13403. },
  13404. "picurls2": {
  13405. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13406. "type": "string"
  13407. },
  13408. "price": {
  13409. "description": "价格",
  13410. "type": "number"
  13411. },
  13412. "qty": {
  13413. "description": "数量",
  13414. "type": "integer"
  13415. },
  13416. "time": {
  13417. "description": "时间",
  13418. "type": "string"
  13419. },
  13420. "trademode": {
  13421. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13422. "type": "integer"
  13423. },
  13424. "vendorname1": {
  13425. "description": "预售商品供应商名称",
  13426. "type": "string"
  13427. },
  13428. "vendorname2": {
  13429. "description": "挂牌商品供应商名称",
  13430. "type": "string"
  13431. }
  13432. }
  13433. },
  13434. "models.HsbyGoodsOrderDetail": {
  13435. "type": "object",
  13436. "required": [
  13437. "buyorsell",
  13438. "orderid",
  13439. "ordertime"
  13440. ],
  13441. "properties": {
  13442. "buyorsell": {
  13443. "description": "买卖 - 0:买 1:卖",
  13444. "type": "integer"
  13445. },
  13446. "currencysign": {
  13447. "description": "货币符号",
  13448. "type": "string"
  13449. },
  13450. "customername": {
  13451. "description": "客户名称(企业名称),已脱敏",
  13452. "type": "string"
  13453. },
  13454. "enableqty": {
  13455. "description": "可用数量",
  13456. "type": "integer"
  13457. },
  13458. "goodunit": {
  13459. "description": "报价单位",
  13460. "type": "string"
  13461. },
  13462. "orderid": {
  13463. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13464. "type": "string"
  13465. },
  13466. "orderprice": {
  13467. "description": "委托价格",
  13468. "type": "number"
  13469. },
  13470. "ordertime": {
  13471. "description": "委托时间",
  13472. "type": "string"
  13473. }
  13474. }
  13475. },
  13476. "models.HsbyListingGoodsDetail": {
  13477. "type": "object",
  13478. "required": [
  13479. "goodscode",
  13480. "goodsid",
  13481. "goodsname",
  13482. "marketid",
  13483. "trademode"
  13484. ],
  13485. "properties": {
  13486. "agreeunit": {
  13487. "description": "合约单位",
  13488. "type": "number"
  13489. },
  13490. "buymaxqty": {
  13491. "description": "购买上限 [71] - 0为不限",
  13492. "type": "integer"
  13493. },
  13494. "currency": {
  13495. "description": "货币",
  13496. "type": "string"
  13497. },
  13498. "currencysign": {
  13499. "description": "货币符号",
  13500. "type": "string"
  13501. },
  13502. "decimalplace": {
  13503. "description": "报价小数位",
  13504. "type": "integer"
  13505. },
  13506. "desccityid": {
  13507. "description": "目的地(市)ID",
  13508. "type": "integer"
  13509. },
  13510. "descprovinceid": {
  13511. "description": "目的地(省)ID",
  13512. "type": "integer"
  13513. },
  13514. "goodscode": {
  13515. "description": "商品代码(内部)",
  13516. "type": "string"
  13517. },
  13518. "goodsdesc": {
  13519. "description": "商品详情",
  13520. "type": "string"
  13521. },
  13522. "goodsid": {
  13523. "description": "商品ID(自增ID SEQ_GOODS)",
  13524. "type": "integer"
  13525. },
  13526. "goodsname": {
  13527. "description": "商品名称",
  13528. "type": "string"
  13529. },
  13530. "goodsprice": {
  13531. "description": "商品价格",
  13532. "type": "number"
  13533. },
  13534. "hotindex": {
  13535. "description": "景点热度",
  13536. "type": "integer"
  13537. },
  13538. "last": {
  13539. "description": "现价",
  13540. "type": "number"
  13541. },
  13542. "limitdown": {
  13543. "description": "跌停价",
  13544. "type": "number"
  13545. },
  13546. "limitup": {
  13547. "description": "涨停价",
  13548. "type": "number"
  13549. },
  13550. "lotsize": {
  13551. "description": "手数最小变动单位",
  13552. "type": "integer"
  13553. },
  13554. "marketid": {
  13555. "description": "所属市场ID",
  13556. "type": "integer"
  13557. },
  13558. "picurls": {
  13559. "description": "介绍图片[多张用逗号分隔]",
  13560. "type": "string"
  13561. },
  13562. "quoteminunit": {
  13563. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13564. "type": "integer"
  13565. },
  13566. "stepvalue": {
  13567. "description": "价格最小变动单位",
  13568. "type": "number"
  13569. },
  13570. "trademode": {
  13571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13572. "type": "integer"
  13573. },
  13574. "vendorattr": {
  13575. "description": "供应商附件(多张,逗号分隔)",
  13576. "type": "string"
  13577. },
  13578. "vendorname": {
  13579. "description": "供应商名称",
  13580. "type": "string"
  13581. },
  13582. "vendorphone": {
  13583. "description": "供应商客服电话",
  13584. "type": "string"
  13585. },
  13586. "videourls": {
  13587. "description": "介绍视频[多张用逗号分隔]",
  13588. "type": "string"
  13589. }
  13590. }
  13591. },
  13592. "models.HsbyMarketGoods": {
  13593. "type": "object",
  13594. "required": [
  13595. "accountid",
  13596. "buyorsell",
  13597. "goodscode",
  13598. "goodsid",
  13599. "goodsname",
  13600. "marketid",
  13601. "orderid",
  13602. "trademode"
  13603. ],
  13604. "properties": {
  13605. "accountid": {
  13606. "description": "账户ID[报价币种]",
  13607. "type": "integer"
  13608. },
  13609. "agreeunit": {
  13610. "description": "合约单位",
  13611. "type": "number"
  13612. },
  13613. "buyorsell": {
  13614. "description": "买卖 - 0:买 1:卖",
  13615. "type": "integer"
  13616. },
  13617. "categoryid": {
  13618. "description": "类别ID(WRCATEGORY)",
  13619. "type": "integer"
  13620. },
  13621. "currency": {
  13622. "description": "货币",
  13623. "type": "string"
  13624. },
  13625. "currencysign": {
  13626. "description": "货币符号",
  13627. "type": "string"
  13628. },
  13629. "customername": {
  13630. "description": "卖家名称",
  13631. "type": "string"
  13632. },
  13633. "decimalplace": {
  13634. "description": "报价小数位",
  13635. "type": "integer"
  13636. },
  13637. "goodscode": {
  13638. "description": "商品代码(内部)",
  13639. "type": "string"
  13640. },
  13641. "goodsid": {
  13642. "description": "商品ID",
  13643. "type": "integer"
  13644. },
  13645. "goodsname": {
  13646. "description": "商品名称",
  13647. "type": "string"
  13648. },
  13649. "goodsprice": {
  13650. "description": "商品价格",
  13651. "type": "number"
  13652. },
  13653. "hascoupon": {
  13654. "description": "是否可用优惠卷",
  13655. "type": "boolean"
  13656. },
  13657. "hotindex": {
  13658. "description": "景点热度",
  13659. "type": "integer"
  13660. },
  13661. "marketid": {
  13662. "description": "市场ID",
  13663. "type": "integer"
  13664. },
  13665. "orderid": {
  13666. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13667. "type": "string"
  13668. },
  13669. "orderprice": {
  13670. "description": "委托价格",
  13671. "type": "number"
  13672. },
  13673. "orderstatus": {
  13674. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13675. "type": "integer"
  13676. },
  13677. "picurls": {
  13678. "description": "介绍图片[多张用逗号分隔]",
  13679. "type": "string"
  13680. },
  13681. "quoteminunit": {
  13682. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13683. "type": "integer"
  13684. },
  13685. "sellUserID": {
  13686. "description": "卖方UserID",
  13687. "type": "integer"
  13688. },
  13689. "trademode": {
  13690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13691. "type": "integer"
  13692. },
  13693. "videourls": {
  13694. "description": "介绍视频[多张用逗号分隔]",
  13695. "type": "string"
  13696. }
  13697. }
  13698. },
  13699. "models.HsbyMarketGoodsDetail": {
  13700. "type": "object",
  13701. "required": [
  13702. "accountid",
  13703. "buyorsell",
  13704. "goodscode",
  13705. "goodsid",
  13706. "goodsname",
  13707. "marketid",
  13708. "orderid",
  13709. "orderqty",
  13710. "trademode"
  13711. ],
  13712. "properties": {
  13713. "accountid": {
  13714. "description": "账户ID[报价币种]",
  13715. "type": "integer"
  13716. },
  13717. "agreeunit": {
  13718. "description": "合约单位",
  13719. "type": "number"
  13720. },
  13721. "buymaxqty": {
  13722. "description": "购买上限 [71] - 0为不限",
  13723. "type": "integer"
  13724. },
  13725. "buyorsell": {
  13726. "description": "买卖 - 0:买 1:卖",
  13727. "type": "integer"
  13728. },
  13729. "cancelqty": {
  13730. "description": "撤单数量",
  13731. "type": "integer"
  13732. },
  13733. "categoryid": {
  13734. "description": "类别ID(WRCATEGORY)",
  13735. "type": "integer"
  13736. },
  13737. "currency": {
  13738. "description": "货币",
  13739. "type": "string"
  13740. },
  13741. "currencysign": {
  13742. "description": "货币符号",
  13743. "type": "string"
  13744. },
  13745. "customername": {
  13746. "description": "卖家名称",
  13747. "type": "string"
  13748. },
  13749. "decimalplace": {
  13750. "description": "报价小数位",
  13751. "type": "integer"
  13752. },
  13753. "goodscode": {
  13754. "description": "商品代码(内部)",
  13755. "type": "string"
  13756. },
  13757. "goodsdesc": {
  13758. "description": "商品详情",
  13759. "type": "string"
  13760. },
  13761. "goodsid": {
  13762. "description": "商品ID",
  13763. "type": "integer"
  13764. },
  13765. "goodsname": {
  13766. "description": "商品名称",
  13767. "type": "string"
  13768. },
  13769. "goodsprice": {
  13770. "description": "商品价格",
  13771. "type": "number"
  13772. },
  13773. "hotindex": {
  13774. "description": "景点热度",
  13775. "type": "integer"
  13776. },
  13777. "lotsize": {
  13778. "description": "手数最小变动单位",
  13779. "type": "integer"
  13780. },
  13781. "marketid": {
  13782. "description": "市场ID",
  13783. "type": "integer"
  13784. },
  13785. "orderid": {
  13786. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13787. "type": "string"
  13788. },
  13789. "orderprice": {
  13790. "description": "委托价格",
  13791. "type": "number"
  13792. },
  13793. "orderqty": {
  13794. "description": "委托数量",
  13795. "type": "integer"
  13796. },
  13797. "orderstatus": {
  13798. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13799. "type": "integer"
  13800. },
  13801. "picurls": {
  13802. "description": "介绍图片[多张用逗号分隔]",
  13803. "type": "string"
  13804. },
  13805. "quoteminunit": {
  13806. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13807. "type": "integer"
  13808. },
  13809. "sellUserID": {
  13810. "description": "卖方UserID",
  13811. "type": "integer"
  13812. },
  13813. "trademode": {
  13814. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13815. "type": "integer"
  13816. },
  13817. "tradeqty": {
  13818. "description": "成交数量",
  13819. "type": "integer"
  13820. },
  13821. "vendorattr": {
  13822. "description": "供应商附件(多张,逗号分隔)",
  13823. "type": "string"
  13824. },
  13825. "vendorname": {
  13826. "description": "供应商名称",
  13827. "type": "string"
  13828. },
  13829. "vendorphone": {
  13830. "description": "供应商客服电话",
  13831. "type": "string"
  13832. },
  13833. "videourls": {
  13834. "description": "介绍视频[多张用逗号分隔]",
  13835. "type": "string"
  13836. }
  13837. }
  13838. },
  13839. "models.HsbyMarketInfo": {
  13840. "type": "object",
  13841. "required": [
  13842. "marketid",
  13843. "marketstatus",
  13844. "trademode"
  13845. ],
  13846. "properties": {
  13847. "marketid": {
  13848. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13849. "type": "integer"
  13850. },
  13851. "marketname": {
  13852. "description": "市场名称",
  13853. "type": "string"
  13854. },
  13855. "marketstatus": {
  13856. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13857. "type": "integer"
  13858. },
  13859. "trademode": {
  13860. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13861. "type": "integer"
  13862. }
  13863. }
  13864. },
  13865. "models.HsbyMyGoods": {
  13866. "type": "object",
  13867. "required": [
  13868. "accountid",
  13869. "goodscode",
  13870. "goodsid",
  13871. "goodsname",
  13872. "marketid",
  13873. "trademode"
  13874. ],
  13875. "properties": {
  13876. "accountid": {
  13877. "description": "账号Id",
  13878. "type": "integer"
  13879. },
  13880. "agreeunit": {
  13881. "description": "合约单位",
  13882. "type": "number"
  13883. },
  13884. "buyaverageprice": {
  13885. "description": "持仓均价",
  13886. "type": "number"
  13887. },
  13888. "buycurholderamount": {
  13889. "description": "买当前持仓总金额[商品币种]",
  13890. "type": "number"
  13891. },
  13892. "buycurpositionqty": {
  13893. "description": "买当前持仓总数量",
  13894. "type": "integer"
  13895. },
  13896. "buymaxqty": {
  13897. "description": "购买上限 [71] - 0为不限",
  13898. "type": "integer"
  13899. },
  13900. "currencysign": {
  13901. "description": "货币符号",
  13902. "type": "string"
  13903. },
  13904. "decimalplace": {
  13905. "description": "报价小数位",
  13906. "type": "integer"
  13907. },
  13908. "enableqty": {
  13909. "description": "可用数量",
  13910. "type": "integer"
  13911. },
  13912. "goodscode": {
  13913. "description": "商品代码(内部)",
  13914. "type": "string"
  13915. },
  13916. "goodsid": {
  13917. "description": "商品Id",
  13918. "type": "integer"
  13919. },
  13920. "goodsname": {
  13921. "description": "商品名称",
  13922. "type": "string"
  13923. },
  13924. "goodsprice": {
  13925. "description": "商品价格",
  13926. "type": "number"
  13927. },
  13928. "goodsstatus": {
  13929. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13930. "type": "integer"
  13931. },
  13932. "last": {
  13933. "description": "现价(仅使用于挂牌点选)",
  13934. "type": "number"
  13935. },
  13936. "limitdown": {
  13937. "description": "跌停价(仅使用于挂牌点选)",
  13938. "type": "number"
  13939. },
  13940. "limitup": {
  13941. "description": "涨停价(仅使用于挂牌点选)",
  13942. "type": "number"
  13943. },
  13944. "lotsize": {
  13945. "description": "手数最小变动单位",
  13946. "type": "integer"
  13947. },
  13948. "marketid": {
  13949. "description": "所属市场ID",
  13950. "type": "integer"
  13951. },
  13952. "picurls": {
  13953. "description": "介绍图片[多张用逗号分隔]",
  13954. "type": "string"
  13955. },
  13956. "quoteminunit": {
  13957. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13958. "type": "integer"
  13959. },
  13960. "stepvalue": {
  13961. "description": "价格最小变动单位",
  13962. "type": "number"
  13963. },
  13964. "trademode": {
  13965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13966. "type": "integer"
  13967. }
  13968. }
  13969. },
  13970. "models.HsbyMyPackage": {
  13971. "type": "object",
  13972. "required": [
  13973. "goodscode",
  13974. "goodsname",
  13975. "takeorderid",
  13976. "trademode"
  13977. ],
  13978. "properties": {
  13979. "accountid": {
  13980. "description": "账户ID",
  13981. "type": "integer"
  13982. },
  13983. "address": {
  13984. "description": "提货人详细地址",
  13985. "type": "string"
  13986. },
  13987. "agreeunit": {
  13988. "description": "合约单位",
  13989. "type": "number"
  13990. },
  13991. "amount": {
  13992. "description": "提货金额",
  13993. "type": "number"
  13994. },
  13995. "auditer": {
  13996. "description": "审核人",
  13997. "type": "integer"
  13998. },
  13999. "audittime": {
  14000. "description": "审核时间",
  14001. "type": "string"
  14002. },
  14003. "averageprice": {
  14004. "description": "均价",
  14005. "type": "number"
  14006. },
  14007. "cardnum": {
  14008. "description": "提货人证件号码",
  14009. "type": "string"
  14010. },
  14011. "cardtypeid": {
  14012. "description": "提货人证件类型",
  14013. "type": "integer"
  14014. },
  14015. "checkremark": {
  14016. "description": "审核备注",
  14017. "type": "string"
  14018. },
  14019. "currencysign": {
  14020. "description": "货币符号",
  14021. "type": "string"
  14022. },
  14023. "decimalplace": {
  14024. "description": "报价小数位",
  14025. "type": "integer"
  14026. },
  14027. "goodscode": {
  14028. "description": "商品代码(内部)",
  14029. "type": "string"
  14030. },
  14031. "goodsid": {
  14032. "description": "商品ID",
  14033. "type": "integer"
  14034. },
  14035. "goodsname": {
  14036. "description": "商品名称",
  14037. "type": "string"
  14038. },
  14039. "handlestatus": {
  14040. "description": "处理状态",
  14041. "type": "integer"
  14042. },
  14043. "marketid": {
  14044. "description": "市场ID",
  14045. "type": "integer"
  14046. },
  14047. "phonenum": {
  14048. "description": "提货人联系方式",
  14049. "type": "string"
  14050. },
  14051. "picurls": {
  14052. "description": "介绍图片[多张用逗号分隔]",
  14053. "type": "string"
  14054. },
  14055. "qty": {
  14056. "description": "提货数量",
  14057. "type": "number"
  14058. },
  14059. "recivername": {
  14060. "description": "提货人姓名",
  14061. "type": "string"
  14062. },
  14063. "reqtime": {
  14064. "description": "更新时间",
  14065. "type": "string"
  14066. },
  14067. "takemode": {
  14068. "description": "提货方式 - 2:自提 3:配送",
  14069. "type": "integer"
  14070. },
  14071. "takeorderid": {
  14072. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14073. "type": "string"
  14074. },
  14075. "takeorderstatus": {
  14076. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14077. "type": "integer"
  14078. },
  14079. "takeremark": {
  14080. "description": "提货备注",
  14081. "type": "string"
  14082. },
  14083. "tradedate": {
  14084. "description": "交易日(yyyyMMdd)",
  14085. "type": "string"
  14086. },
  14087. "trademode": {
  14088. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14089. "type": "integer"
  14090. },
  14091. "userid": {
  14092. "description": "用户ID",
  14093. "type": "integer"
  14094. },
  14095. "vendorname": {
  14096. "description": "供应商名称",
  14097. "type": "string"
  14098. }
  14099. }
  14100. },
  14101. "models.HsbyPreGoods": {
  14102. "type": "object",
  14103. "required": [
  14104. "goodscode",
  14105. "goodsid",
  14106. "goodsname",
  14107. "marketid",
  14108. "trademode"
  14109. ],
  14110. "properties": {
  14111. "agreeunit": {
  14112. "description": "合约单位",
  14113. "type": "number"
  14114. },
  14115. "currency": {
  14116. "description": "货币",
  14117. "type": "string"
  14118. },
  14119. "currencysign": {
  14120. "description": "货币符号",
  14121. "type": "string"
  14122. },
  14123. "decimalplace": {
  14124. "description": "报价小数位",
  14125. "type": "integer"
  14126. },
  14127. "desccityid": {
  14128. "description": "目的地(市)",
  14129. "type": "integer"
  14130. },
  14131. "descprovinceid": {
  14132. "description": "目的地(省)",
  14133. "type": "integer"
  14134. },
  14135. "enableqty": {
  14136. "description": "剩余数量",
  14137. "type": "integer"
  14138. },
  14139. "goodscode": {
  14140. "description": "商品代码(内部)",
  14141. "type": "string"
  14142. },
  14143. "goodsid": {
  14144. "description": "商品ID(自增ID SEQ_GOODS)",
  14145. "type": "integer"
  14146. },
  14147. "goodsname": {
  14148. "description": "商品名称",
  14149. "type": "string"
  14150. },
  14151. "goodsstatus": {
  14152. "description": "商品状态- 2:未上市 3:上市",
  14153. "type": "integer"
  14154. },
  14155. "lasttradedate": {
  14156. "description": "最后交易日期(状态:待退市)",
  14157. "type": "string"
  14158. },
  14159. "listingdate": {
  14160. "description": "交易开始日期",
  14161. "type": "string"
  14162. },
  14163. "marketid": {
  14164. "description": "所属市场ID",
  14165. "type": "integer"
  14166. },
  14167. "picurls": {
  14168. "description": "介绍图片[多张用逗号分隔]",
  14169. "type": "string"
  14170. },
  14171. "presaledqty": {
  14172. "description": "已预售量(预售结束时更新)",
  14173. "type": "integer"
  14174. },
  14175. "presaleqty": {
  14176. "description": "预售数量",
  14177. "type": "integer"
  14178. },
  14179. "quoteminunit": {
  14180. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14181. "type": "integer"
  14182. },
  14183. "refprice": {
  14184. "description": "参考价格[一口价]",
  14185. "type": "number"
  14186. },
  14187. "relatedgoodsid": {
  14188. "description": "关联交易合约ID",
  14189. "type": "integer"
  14190. },
  14191. "trademode": {
  14192. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14193. "type": "integer"
  14194. },
  14195. "videourls": {
  14196. "description": "介绍视频[多张用逗号分隔]",
  14197. "type": "string"
  14198. }
  14199. }
  14200. },
  14201. "models.HsbyPreGoodsDetail": {
  14202. "type": "object",
  14203. "required": [
  14204. "goodscode",
  14205. "goodsid",
  14206. "goodsname",
  14207. "marketid",
  14208. "trademode"
  14209. ],
  14210. "properties": {
  14211. "agreeunit": {
  14212. "description": "合约单位",
  14213. "type": "number"
  14214. },
  14215. "buymaxqty": {
  14216. "description": "购买上限 [71] - 0为不限",
  14217. "type": "integer"
  14218. },
  14219. "currency": {
  14220. "description": "货币",
  14221. "type": "string"
  14222. },
  14223. "currencysign": {
  14224. "description": "货币符号",
  14225. "type": "string"
  14226. },
  14227. "customername": {
  14228. "description": "发行单位",
  14229. "type": "string"
  14230. },
  14231. "decimalplace": {
  14232. "description": "报价小数位",
  14233. "type": "integer"
  14234. },
  14235. "desccityid": {
  14236. "description": "目的地(市)ID",
  14237. "type": "integer"
  14238. },
  14239. "descprovinceid": {
  14240. "description": "目的地(省)ID",
  14241. "type": "integer"
  14242. },
  14243. "enableqty": {
  14244. "description": "剩余数量",
  14245. "type": "integer"
  14246. },
  14247. "goodscode": {
  14248. "description": "商品代码(内部)",
  14249. "type": "string"
  14250. },
  14251. "goodsdesc": {
  14252. "description": "商品详情",
  14253. "type": "string"
  14254. },
  14255. "goodsid": {
  14256. "description": "商品ID(自增ID SEQ_GOODS)",
  14257. "type": "integer"
  14258. },
  14259. "goodsname": {
  14260. "description": "商品名称",
  14261. "type": "string"
  14262. },
  14263. "goodsstatus": {
  14264. "description": "商品状态- 2:未上市 3:上市",
  14265. "type": "integer"
  14266. },
  14267. "goodunit": {
  14268. "description": "报价单位",
  14269. "type": "string"
  14270. },
  14271. "lasttradedate": {
  14272. "description": "最后交易日期(状态:待退市)",
  14273. "type": "string"
  14274. },
  14275. "listingdate": {
  14276. "description": "交易开始日期",
  14277. "type": "string"
  14278. },
  14279. "lotsize": {
  14280. "description": "手数最小变动单位",
  14281. "type": "integer"
  14282. },
  14283. "marketid": {
  14284. "description": "所属市场ID",
  14285. "type": "integer"
  14286. },
  14287. "picurls": {
  14288. "description": "介绍图片[多张用逗号分隔]",
  14289. "type": "string"
  14290. },
  14291. "presaledqty": {
  14292. "description": "已预售量(预售结束时更新)",
  14293. "type": "integer"
  14294. },
  14295. "presaleqty": {
  14296. "description": "预售数量",
  14297. "type": "integer"
  14298. },
  14299. "quoteminunit": {
  14300. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14301. "type": "integer"
  14302. },
  14303. "refprice": {
  14304. "description": "参考价格[一口价]",
  14305. "type": "number"
  14306. },
  14307. "relatedgoodsid": {
  14308. "description": "关联交易合约ID",
  14309. "type": "integer"
  14310. },
  14311. "stepvalue": {
  14312. "description": "价格最小变动单位",
  14313. "type": "number"
  14314. },
  14315. "trademode": {
  14316. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14317. "type": "integer"
  14318. },
  14319. "vendorattr": {
  14320. "description": "供应商附件(多张,逗号分隔)",
  14321. "type": "string"
  14322. },
  14323. "vendorname": {
  14324. "description": "供应商名称",
  14325. "type": "string"
  14326. },
  14327. "vendorphone": {
  14328. "description": "供应商客服电话",
  14329. "type": "string"
  14330. },
  14331. "videourls": {
  14332. "description": "介绍视频[多张用逗号分隔]",
  14333. "type": "string"
  14334. }
  14335. }
  14336. },
  14337. "models.HsbySellCollectionOrder": {
  14338. "type": "object",
  14339. "required": [
  14340. "goodscode",
  14341. "goodsname",
  14342. "tradeid",
  14343. "trademode"
  14344. ],
  14345. "properties": {
  14346. "agreeunit": {
  14347. "description": "合约单位",
  14348. "type": "number"
  14349. },
  14350. "buyaccountid": {
  14351. "description": "买方账号ID[报价币种]",
  14352. "type": "integer"
  14353. },
  14354. "buyorderid": {
  14355. "description": "买方委托单号",
  14356. "type": "string"
  14357. },
  14358. "createtime": {
  14359. "description": "创建时间",
  14360. "type": "string"
  14361. },
  14362. "currencysign": {
  14363. "description": "货币符号",
  14364. "type": "string"
  14365. },
  14366. "decimalplace": {
  14367. "description": "报价小数位",
  14368. "type": "integer"
  14369. },
  14370. "goodscode": {
  14371. "description": "商品代码(内部)",
  14372. "type": "string"
  14373. },
  14374. "goodsid": {
  14375. "description": "商品ID",
  14376. "type": "integer"
  14377. },
  14378. "goodsname": {
  14379. "description": "商品名称",
  14380. "type": "string"
  14381. },
  14382. "marketid": {
  14383. "description": "市场ID",
  14384. "type": "integer"
  14385. },
  14386. "offamount": {
  14387. "description": "优惠金额",
  14388. "type": "number"
  14389. },
  14390. "payamount": {
  14391. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  14392. "type": "number"
  14393. },
  14394. "payflag": {
  14395. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14396. "type": "integer"
  14397. },
  14398. "paylimitedtime": {
  14399. "description": "支付期限",
  14400. "type": "string"
  14401. },
  14402. "paytime": {
  14403. "description": "付款时间",
  14404. "type": "string"
  14405. },
  14406. "picurls": {
  14407. "description": "商品介绍图片[多张用逗号分隔]",
  14408. "type": "string"
  14409. },
  14410. "sellaccountid": {
  14411. "description": "卖方账号ID[报价币种]",
  14412. "type": "integer"
  14413. },
  14414. "sellorderid": {
  14415. "description": "卖方委托单号",
  14416. "type": "string"
  14417. },
  14418. "tradeamount": {
  14419. "description": "成交金额",
  14420. "type": "number"
  14421. },
  14422. "tradecharge": {
  14423. "description": "成交手续费(买方)",
  14424. "type": "number"
  14425. },
  14426. "tradedate": {
  14427. "description": "交易日(yyyyMMdd)",
  14428. "type": "string"
  14429. },
  14430. "tradeid": {
  14431. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14432. "type": "string"
  14433. },
  14434. "trademode": {
  14435. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14436. "type": "integer"
  14437. },
  14438. "tradeprice": {
  14439. "description": "成交价格",
  14440. "type": "number"
  14441. },
  14442. "tradeqty": {
  14443. "description": "成交数量",
  14444. "type": "integer"
  14445. }
  14446. }
  14447. },
  14448. "models.HsbySellMyDetail": {
  14449. "type": "object",
  14450. "required": [
  14451. "accountid",
  14452. "buyorsell",
  14453. "goodscode",
  14454. "goodsid",
  14455. "goodsname",
  14456. "marketid",
  14457. "orderid",
  14458. "time",
  14459. "trademode"
  14460. ],
  14461. "properties": {
  14462. "accountid": {
  14463. "description": "账户ID[报价币种]",
  14464. "type": "integer"
  14465. },
  14466. "agreeunit": {
  14467. "description": "合约单位",
  14468. "type": "number"
  14469. },
  14470. "buyorsell": {
  14471. "description": "买卖 - 0:买 1:卖",
  14472. "type": "integer"
  14473. },
  14474. "currencysign": {
  14475. "description": "货币符号",
  14476. "type": "string"
  14477. },
  14478. "decimalplace": {
  14479. "description": "报价小数位",
  14480. "type": "integer"
  14481. },
  14482. "goodscode": {
  14483. "description": "商品代码(内部)",
  14484. "type": "string"
  14485. },
  14486. "goodsid": {
  14487. "description": "商品ID",
  14488. "type": "integer"
  14489. },
  14490. "goodsname": {
  14491. "description": "商品名称",
  14492. "type": "string"
  14493. },
  14494. "marketid": {
  14495. "description": "市场ID",
  14496. "type": "integer"
  14497. },
  14498. "orderid": {
  14499. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14500. "type": "string"
  14501. },
  14502. "ordertype": {
  14503. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14504. "type": "integer"
  14505. },
  14506. "picurls": {
  14507. "description": "介绍图片[多张用逗号分隔]",
  14508. "type": "string"
  14509. },
  14510. "price": {
  14511. "description": "价格",
  14512. "type": "number"
  14513. },
  14514. "qty": {
  14515. "description": "数量",
  14516. "type": "integer"
  14517. },
  14518. "time": {
  14519. "description": "时间",
  14520. "type": "string"
  14521. },
  14522. "trademode": {
  14523. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14524. "type": "integer"
  14525. },
  14526. "vendorname": {
  14527. "description": "供应商名称",
  14528. "type": "string"
  14529. }
  14530. }
  14531. },
  14532. "models.HsbyTopGoods": {
  14533. "type": "object",
  14534. "required": [
  14535. "goodscode",
  14536. "goodsid",
  14537. "goodsname",
  14538. "marketid",
  14539. "trademode"
  14540. ],
  14541. "properties": {
  14542. "agreeunit": {
  14543. "description": "合约单位",
  14544. "type": "number"
  14545. },
  14546. "currency": {
  14547. "description": "货币",
  14548. "type": "string"
  14549. },
  14550. "currencysign": {
  14551. "description": "货币符号",
  14552. "type": "string"
  14553. },
  14554. "decimalplace": {
  14555. "description": "报价小数位",
  14556. "type": "integer"
  14557. },
  14558. "desccityid": {
  14559. "description": "目的地(市)",
  14560. "type": "integer"
  14561. },
  14562. "descprovinceid": {
  14563. "description": "目的地(省)",
  14564. "type": "integer"
  14565. },
  14566. "goodscode": {
  14567. "description": "商品代码(内部)",
  14568. "type": "string"
  14569. },
  14570. "goodsid": {
  14571. "description": "商品ID(自增ID SEQ_GOODS)",
  14572. "type": "integer"
  14573. },
  14574. "goodsname": {
  14575. "description": "商品名称",
  14576. "type": "string"
  14577. },
  14578. "hotindex": {
  14579. "description": "景点热度",
  14580. "type": "integer"
  14581. },
  14582. "last": {
  14583. "description": "现价",
  14584. "type": "number"
  14585. },
  14586. "marketid": {
  14587. "description": "所属市场ID",
  14588. "type": "integer"
  14589. },
  14590. "picurls": {
  14591. "description": "介绍图片[多张用逗号分隔]",
  14592. "type": "string"
  14593. },
  14594. "quoteminunit": {
  14595. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14596. "type": "integer"
  14597. },
  14598. "trademode": {
  14599. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14600. "type": "integer"
  14601. },
  14602. "videourls": {
  14603. "description": "介绍视频[多张用逗号分隔]",
  14604. "type": "string"
  14605. }
  14606. }
  14607. },
  14608. "models.HybsMyBuyOrderDetail": {
  14609. "type": "object",
  14610. "required": [
  14611. "accountid",
  14612. "buyorsell",
  14613. "goodscode",
  14614. "goodsid",
  14615. "goodsname",
  14616. "marketid",
  14617. "orderid",
  14618. "orderqty",
  14619. "ordertime",
  14620. "trademode"
  14621. ],
  14622. "properties": {
  14623. "accountid": {
  14624. "description": "账户ID[报价币种]",
  14625. "type": "integer"
  14626. },
  14627. "agreeunit": {
  14628. "description": "合约单位",
  14629. "type": "number"
  14630. },
  14631. "buyorsell": {
  14632. "description": "买卖 - 0:买 1:卖",
  14633. "type": "integer"
  14634. },
  14635. "cancelqty": {
  14636. "description": "撤单数量",
  14637. "type": "integer"
  14638. },
  14639. "currencysign": {
  14640. "description": "货币符号",
  14641. "type": "string"
  14642. },
  14643. "decimalplace": {
  14644. "description": "报价小数位",
  14645. "type": "integer"
  14646. },
  14647. "goodscode": {
  14648. "description": "商品代码(内部)",
  14649. "type": "string"
  14650. },
  14651. "goodsid": {
  14652. "description": "商品ID",
  14653. "type": "integer"
  14654. },
  14655. "goodsname": {
  14656. "description": "商品名称",
  14657. "type": "string"
  14658. },
  14659. "listingselecttype": {
  14660. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14661. "type": "integer"
  14662. },
  14663. "marketid": {
  14664. "description": "市场ID",
  14665. "type": "integer"
  14666. },
  14667. "mybuystatus": {
  14668. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14669. "type": "integer"
  14670. },
  14671. "orderamount": {
  14672. "description": "委托金额",
  14673. "type": "number"
  14674. },
  14675. "orderid": {
  14676. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14677. "type": "string"
  14678. },
  14679. "orderprice": {
  14680. "description": "委托价格",
  14681. "type": "number"
  14682. },
  14683. "orderqty": {
  14684. "description": "委托数量",
  14685. "type": "integer"
  14686. },
  14687. "orderstatus": {
  14688. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14689. "type": "integer"
  14690. },
  14691. "ordertime": {
  14692. "description": "委托时间",
  14693. "type": "string"
  14694. },
  14695. "picurls1": {
  14696. "description": "预售商品介绍图片[多张用逗号分隔]",
  14697. "type": "string"
  14698. },
  14699. "picurls2": {
  14700. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14701. "type": "string"
  14702. },
  14703. "trademode": {
  14704. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14705. "type": "integer"
  14706. },
  14707. "tradeqty": {
  14708. "description": "成交数量",
  14709. "type": "integer"
  14710. },
  14711. "vendorname1": {
  14712. "description": "预售商品供应商名称",
  14713. "type": "string"
  14714. },
  14715. "vendorname2": {
  14716. "description": "挂牌商品供应商名称",
  14717. "type": "string"
  14718. }
  14719. }
  14720. },
  14721. "models.Loginaccount": {
  14722. "type": "object",
  14723. "required": [
  14724. "loginid"
  14725. ],
  14726. "properties": {
  14727. "canoutin": {
  14728. "description": "是否可出入金 - 0:不可 1:可",
  14729. "type": "integer"
  14730. },
  14731. "clientroleid": {
  14732. "description": "终端角色ID",
  14733. "type": "integer"
  14734. },
  14735. "haslogined": {
  14736. "description": "是否已登录 - 0:未登录 1:已登录",
  14737. "type": "integer"
  14738. },
  14739. "hasupdatedpwd": {
  14740. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14741. "type": "integer"
  14742. },
  14743. "lastloginip": {
  14744. "description": "最新登录地址",
  14745. "type": "string"
  14746. },
  14747. "lastloginmode": {
  14748. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14749. "type": "integer"
  14750. },
  14751. "lastloginremark": {
  14752. "description": "最新登录描述",
  14753. "type": "string"
  14754. },
  14755. "lastlogintime": {
  14756. "description": "最新登录时间",
  14757. "type": "string"
  14758. },
  14759. "logincode": {
  14760. "description": "登录代码",
  14761. "type": "string"
  14762. },
  14763. "loginfailnum": {
  14764. "description": "连续登录失败次数(登录成功时清零)",
  14765. "type": "integer"
  14766. },
  14767. "loginid": {
  14768. "description": "登陆账号",
  14769. "type": "integer"
  14770. },
  14771. "loginport": {
  14772. "description": "最新登录端口",
  14773. "type": "integer"
  14774. },
  14775. "loginstatus": {
  14776. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14777. "type": "integer"
  14778. },
  14779. "loginusertype": {
  14780. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14781. "type": "integer"
  14782. },
  14783. "modifierid": {
  14784. "description": "修改人",
  14785. "type": "integer"
  14786. },
  14787. "modifytime": {
  14788. "description": "修改时间",
  14789. "type": "string"
  14790. },
  14791. "pwdwrongcount": {
  14792. "description": "密码错误次数",
  14793. "type": "integer"
  14794. },
  14795. "taaccountrighttype": {
  14796. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14797. "type": "integer"
  14798. },
  14799. "unfreezetime": {
  14800. "description": "账户解冻时间",
  14801. "type": "string"
  14802. },
  14803. "userid": {
  14804. "description": "用户ID",
  14805. "type": "integer"
  14806. }
  14807. }
  14808. },
  14809. "models.Market": {
  14810. "type": "object",
  14811. "required": [
  14812. "marketid",
  14813. "marketstatus",
  14814. "openmethod",
  14815. "reckonpricealgorithm",
  14816. "trademode",
  14817. "tradeproperty"
  14818. ],
  14819. "properties": {
  14820. "auctionwrtype": {
  14821. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14822. "type": "integer"
  14823. },
  14824. "canacceptquote": {
  14825. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14826. "type": "integer"
  14827. },
  14828. "cangoodsexercise": {
  14829. "description": "[期权]是否可现货行权- 0:否 1:是",
  14830. "type": "integer"
  14831. },
  14832. "cangoodsexercisetype": {
  14833. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14834. "type": "integer"
  14835. },
  14836. "canmanualquotestrike": {
  14837. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14838. "type": "integer"
  14839. },
  14840. "canmutistage": {
  14841. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14842. "type": "integer"
  14843. },
  14844. "canpreexercise": {
  14845. "description": "[期权]是否可预申报- 0:否 1:是",
  14846. "type": "integer"
  14847. },
  14848. "clearinterval": {
  14849. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14850. "type": "integer"
  14851. },
  14852. "contracttmp": {
  14853. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14854. "type": "string"
  14855. },
  14856. "exchareaid": {
  14857. "description": "所属交易所,可以没有",
  14858. "type": "integer"
  14859. },
  14860. "goodstype": {
  14861. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14862. "type": "integer"
  14863. },
  14864. "hasrebate": {
  14865. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14866. "type": "integer"
  14867. },
  14868. "hastradecredit": {
  14869. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14870. "type": "integer"
  14871. },
  14872. "haswr": {
  14873. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14874. "type": "integer"
  14875. },
  14876. "isdeductmargin": {
  14877. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14878. "type": "integer"
  14879. },
  14880. "isrecordsource": {
  14881. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14882. "type": "integer"
  14883. },
  14884. "isreleasemargin": {
  14885. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14886. "type": "integer"
  14887. },
  14888. "marginformula": {
  14889. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14890. "type": "integer"
  14891. },
  14892. "marginformula2": {
  14893. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14894. "type": "integer"
  14895. },
  14896. "marketid": {
  14897. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14898. "type": "integer"
  14899. },
  14900. "marketname": {
  14901. "description": "市场名称",
  14902. "type": "string"
  14903. },
  14904. "marketserviceid": {
  14905. "description": "市场服务ID",
  14906. "type": "integer"
  14907. },
  14908. "marketstatus": {
  14909. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14910. "type": "integer"
  14911. },
  14912. "markettype": {
  14913. "description": "市场类型- 1:非交易服务 2:交易服务",
  14914. "type": "integer"
  14915. },
  14916. "matchermode": {
  14917. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14918. "type": "integer"
  14919. },
  14920. "openmethod": {
  14921. "description": "开盘模式 - 0 自动 1手动",
  14922. "type": "integer"
  14923. },
  14924. "otcuserid": {
  14925. "description": "场外期权做市商[场外期权]",
  14926. "type": "integer"
  14927. },
  14928. "outersynctime": {
  14929. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14930. "type": "string"
  14931. },
  14932. "pendingflag": {
  14933. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14934. "type": "integer"
  14935. },
  14936. "pendingtime": {
  14937. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14938. "type": "string"
  14939. },
  14940. "performancetempid": {
  14941. "description": "履约计划模板ID - 作废",
  14942. "type": "integer"
  14943. },
  14944. "premiumquotemode": {
  14945. "description": "权利金报价方式 - 1:自动 2:手动",
  14946. "type": "integer"
  14947. },
  14948. "rebateratio": {
  14949. "description": "返利比率[竞价式]",
  14950. "type": "number"
  14951. },
  14952. "reckonorder": {
  14953. "description": "结算顺序",
  14954. "type": "integer"
  14955. },
  14956. "reckonpricealgorithm": {
  14957. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14958. "type": "integer"
  14959. },
  14960. "reckonpriceparam": {
  14961. "description": "结算价参数",
  14962. "type": "integer"
  14963. },
  14964. "reckontime": {
  14965. "description": "结算时间[通道交易-对冲](HH:mm)",
  14966. "type": "string"
  14967. },
  14968. "roleprioritytype": {
  14969. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14970. "type": "integer"
  14971. },
  14972. "selllistingauditflag": {
  14973. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14974. "type": "integer"
  14975. },
  14976. "trademarkettype": {
  14977. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14978. "type": "integer"
  14979. },
  14980. "trademode": {
  14981. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14982. "type": "integer"
  14983. },
  14984. "tradeproperty": {
  14985. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14986. "type": "integer"
  14987. },
  14988. "tradetype": {
  14989. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14990. "type": "integer"
  14991. }
  14992. }
  14993. },
  14994. "models.Marketrun": {
  14995. "type": "object",
  14996. "required": [
  14997. "marketid",
  14998. "nexttradedate",
  14999. "reckonflag",
  15000. "runstatus",
  15001. "tradedate",
  15002. "tradedate2"
  15003. ],
  15004. "properties": {
  15005. "afternexttradedate": {
  15006. "description": "下下交易日",
  15007. "type": "string"
  15008. },
  15009. "clearquoteflag": {
  15010. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15011. "type": "integer"
  15012. },
  15013. "lastreckondate": {
  15014. "description": "最新交易日(结算成功)",
  15015. "type": "string"
  15016. },
  15017. "machinedate": {
  15018. "description": "机器时间",
  15019. "type": "string"
  15020. },
  15021. "manualflag": {
  15022. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15023. "type": "integer"
  15024. },
  15025. "marketid": {
  15026. "description": "市场ID",
  15027. "type": "integer"
  15028. },
  15029. "nexttradedate": {
  15030. "description": "下一交易日",
  15031. "type": "string"
  15032. },
  15033. "pretradedate": {
  15034. "description": "上一交易日",
  15035. "type": "string"
  15036. },
  15037. "reckonflag": {
  15038. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15039. "type": "integer"
  15040. },
  15041. "runstatus": {
  15042. "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.今日免清算",
  15043. "type": "integer"
  15044. },
  15045. "sectionid": {
  15046. "description": "时间段号[多时段时用]",
  15047. "type": "integer"
  15048. },
  15049. "tradedate": {
  15050. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15051. "type": "string"
  15052. },
  15053. "tradedate2": {
  15054. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15055. "type": "string"
  15056. },
  15057. "updatetime": {
  15058. "description": "更新时间",
  15059. "type": "string"
  15060. }
  15061. }
  15062. },
  15063. "models.Messageboard": {
  15064. "type": "object",
  15065. "required": [
  15066. "messageboardid"
  15067. ],
  15068. "properties": {
  15069. "contactnum": {
  15070. "description": "联系电话",
  15071. "type": "string"
  15072. },
  15073. "createtime": {
  15074. "description": "创建时间",
  15075. "type": "string"
  15076. },
  15077. "message": {
  15078. "description": "留言信息",
  15079. "type": "string"
  15080. },
  15081. "messageboardid": {
  15082. "description": "留言簿ID(SEQ_MessageBoard)",
  15083. "type": "integer"
  15084. },
  15085. "userid": {
  15086. "description": "用户ID",
  15087. "type": "integer"
  15088. }
  15089. }
  15090. },
  15091. "models.MyCoupon": {
  15092. "type": "object",
  15093. "required": [
  15094. "accountid",
  15095. "coupontypeid"
  15096. ],
  15097. "properties": {
  15098. "accountid": {
  15099. "description": "资金账户ID",
  15100. "type": "integer"
  15101. },
  15102. "areauserid": {
  15103. "description": "所属机构",
  15104. "type": "integer"
  15105. },
  15106. "conditionvalue": {
  15107. "description": "条件阈值(可为0)",
  15108. "type": "number"
  15109. },
  15110. "couponcategroy": {
  15111. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15112. "type": "integer"
  15113. },
  15114. "couponname": {
  15115. "description": "优惠券名称",
  15116. "type": "string"
  15117. },
  15118. "coupontypeid": {
  15119. "description": "优惠券类型ID",
  15120. "type": "string"
  15121. },
  15122. "couponvalue": {
  15123. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15124. "type": "number"
  15125. },
  15126. "curfreezeqty": {
  15127. "description": "期末冻结数量",
  15128. "type": "integer"
  15129. },
  15130. "curqty": {
  15131. "description": "期末数量",
  15132. "type": "integer"
  15133. },
  15134. "isgeneral": {
  15135. "description": "是否通用券 - 0:否 1:是",
  15136. "type": "integer"
  15137. },
  15138. "isunusable": {
  15139. "description": "是否不可用",
  15140. "type": "boolean"
  15141. },
  15142. "limitedflag": {
  15143. "description": "是否指定商品 - 0:不限 1:限制",
  15144. "type": "integer"
  15145. },
  15146. "limitedgoodsids": {
  15147. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15148. "type": "string"
  15149. },
  15150. "orifreezeqty": {
  15151. "description": "期初冻结数量",
  15152. "type": "integer"
  15153. },
  15154. "oriqty": {
  15155. "description": "期初数量",
  15156. "type": "integer"
  15157. },
  15158. "reasontype": {
  15159. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15160. "type": "integer"
  15161. },
  15162. "todaydecrease": {
  15163. "description": "今日减少",
  15164. "type": "integer"
  15165. },
  15166. "todayincrease": {
  15167. "description": "今日增加",
  15168. "type": "integer"
  15169. },
  15170. "userid": {
  15171. "description": "用户ID",
  15172. "type": "integer"
  15173. },
  15174. "userscope": {
  15175. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15176. "type": "string"
  15177. }
  15178. }
  15179. },
  15180. "models.MyCouponHold": {
  15181. "type": "object",
  15182. "required": [
  15183. "couponholdid"
  15184. ],
  15185. "properties": {
  15186. "accountid": {
  15187. "description": "资金账户ID",
  15188. "type": "integer"
  15189. },
  15190. "conditionvalue": {
  15191. "description": "条件阈值(可为0)",
  15192. "type": "number"
  15193. },
  15194. "couponcategroy": {
  15195. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15196. "type": "integer"
  15197. },
  15198. "couponholdid": {
  15199. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15200. "type": "string"
  15201. },
  15202. "couponname": {
  15203. "description": "优惠券名称",
  15204. "type": "string"
  15205. },
  15206. "coupontypeid": {
  15207. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15208. "type": "string"
  15209. },
  15210. "couponvalue": {
  15211. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15212. "type": "number"
  15213. },
  15214. "createtime": {
  15215. "description": "创建时间",
  15216. "type": "string"
  15217. },
  15218. "enddate": {
  15219. "description": "结束日期",
  15220. "type": "string"
  15221. },
  15222. "giveapplyid": {
  15223. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15224. "type": "integer"
  15225. },
  15226. "holdstatus": {
  15227. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15228. "type": "integer"
  15229. },
  15230. "isgeneral": {
  15231. "description": "是否通用券 - 0:否 1:是",
  15232. "type": "integer"
  15233. },
  15234. "limitedflag": {
  15235. "description": "是否指定商品 - 0:不限 1:限制",
  15236. "type": "integer"
  15237. },
  15238. "limitedgoodsids": {
  15239. "description": "指定商品IDs[逗号分隔]",
  15240. "type": "string"
  15241. },
  15242. "qty": {
  15243. "description": "数量(按1平铺)",
  15244. "type": "integer"
  15245. },
  15246. "startdate": {
  15247. "description": "开始日期",
  15248. "type": "string"
  15249. },
  15250. "userid": {
  15251. "description": "用户ID",
  15252. "type": "integer"
  15253. },
  15254. "userscope": {
  15255. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15256. "type": "string"
  15257. }
  15258. }
  15259. },
  15260. "models.MyUsedCoupon": {
  15261. "type": "object",
  15262. "required": [
  15263. "coupontypeid",
  15264. "orderid"
  15265. ],
  15266. "properties": {
  15267. "accountid": {
  15268. "description": "资金账户ID(买方)",
  15269. "type": "integer"
  15270. },
  15271. "conditionvalue": {
  15272. "description": "条件阈值(可为0)",
  15273. "type": "number"
  15274. },
  15275. "couponcategroy": {
  15276. "description": "种类 - 1:现金券 2:折扣券",
  15277. "type": "integer"
  15278. },
  15279. "couponname": {
  15280. "description": "优惠券名称",
  15281. "type": "string"
  15282. },
  15283. "coupontypeid": {
  15284. "description": "优惠券类型ID(买方)",
  15285. "type": "string"
  15286. },
  15287. "couponvalue": {
  15288. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15289. "type": "number"
  15290. },
  15291. "createtime": {
  15292. "description": "创建时间",
  15293. "type": "string"
  15294. },
  15295. "goodsid": {
  15296. "description": "商品ID",
  15297. "type": "integer"
  15298. },
  15299. "handlestatus": {
  15300. "description": "处理状态",
  15301. "type": "integer"
  15302. },
  15303. "marketid": {
  15304. "description": "市场ID",
  15305. "type": "integer"
  15306. },
  15307. "offamount": {
  15308. "description": "优惠金额",
  15309. "type": "number"
  15310. },
  15311. "orderid": {
  15312. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15313. "type": "string"
  15314. },
  15315. "sellaccountid": {
  15316. "description": "资金账户ID(卖方)",
  15317. "type": "integer"
  15318. },
  15319. "tradeamount": {
  15320. "description": "成交金额",
  15321. "type": "number"
  15322. },
  15323. "tradeid": {
  15324. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15325. "type": "string"
  15326. },
  15327. "usedqty": {
  15328. "description": "使用数量",
  15329. "type": "integer"
  15330. }
  15331. }
  15332. },
  15333. "models.OperationPrimaryMenu": {
  15334. "type": "object",
  15335. "properties": {
  15336. "Children": {
  15337. "description": "二级功能菜单",
  15338. "type": "array",
  15339. "items": {
  15340. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15341. }
  15342. },
  15343. "Key": {
  15344. "description": "菜单KEY",
  15345. "type": "string"
  15346. },
  15347. "Label": {
  15348. "description": "菜单标题",
  15349. "type": "string"
  15350. }
  15351. }
  15352. },
  15353. "models.OperationSecondaryMenu": {
  15354. "type": "object",
  15355. "properties": {
  15356. "Key": {
  15357. "description": "菜单KEY",
  15358. "type": "string"
  15359. },
  15360. "Label": {
  15361. "description": "菜单标题",
  15362. "type": "string"
  15363. },
  15364. "TabList": {
  15365. "description": "三级功能菜单",
  15366. "type": "array",
  15367. "items": {
  15368. "$ref": "#/definitions/models.OperationTabMenu"
  15369. }
  15370. }
  15371. }
  15372. },
  15373. "models.OperationTabMenu": {
  15374. "type": "object",
  15375. "properties": {
  15376. "Key": {
  15377. "description": "菜单KEY",
  15378. "type": "string"
  15379. },
  15380. "Label": {
  15381. "description": "菜单标题",
  15382. "type": "string"
  15383. }
  15384. }
  15385. },
  15386. "models.PendingAuditBizModel": {
  15387. "type": "object",
  15388. "properties": {
  15389. "accountid": {
  15390. "description": "现货账户",
  15391. "type": "string"
  15392. },
  15393. "areaname": {
  15394. "description": "所属部门",
  15395. "type": "string"
  15396. },
  15397. "bizid": {
  15398. "description": "业务ID",
  15399. "type": "string"
  15400. },
  15401. "bizname": {
  15402. "description": "业务名称",
  15403. "type": "string"
  15404. },
  15405. "status": {
  15406. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15407. "type": "integer"
  15408. },
  15409. "type": {
  15410. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  15411. "type": "integer"
  15412. }
  15413. }
  15414. },
  15415. "models.QueryErrorInfosRsp": {
  15416. "type": "object",
  15417. "required": [
  15418. "errorid"
  15419. ],
  15420. "properties": {
  15421. "description": {
  15422. "description": "异常描述",
  15423. "type": "string"
  15424. },
  15425. "errorcode": {
  15426. "description": "异常代码",
  15427. "type": "string"
  15428. },
  15429. "errorid": {
  15430. "description": "异常ID",
  15431. "type": "integer"
  15432. },
  15433. "modulecode": {
  15434. "description": "所属模块",
  15435. "type": "string"
  15436. },
  15437. "operatecode": {
  15438. "description": "所属操作",
  15439. "type": "string"
  15440. },
  15441. "rownumber": {
  15442. "description": "行号",
  15443. "type": "string"
  15444. }
  15445. }
  15446. },
  15447. "models.QueryHedgeOrderDetailRsp": {
  15448. "type": "object",
  15449. "properties": {
  15450. "accountid": {
  15451. "description": "账户ID",
  15452. "type": "integer"
  15453. },
  15454. "buyorsell": {
  15455. "description": "买卖 - 0:买 1:卖",
  15456. "type": "integer"
  15457. },
  15458. "channelbuildtype": {
  15459. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15460. "type": "integer"
  15461. },
  15462. "channelinnerorderstatus": {
  15463. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15464. "type": "integer"
  15465. },
  15466. "channeloperatetype": {
  15467. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15468. "type": "integer"
  15469. },
  15470. "closetype": {
  15471. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15472. "type": "integer"
  15473. },
  15474. "curexchangerate": {
  15475. "description": "当前汇率",
  15476. "type": "number"
  15477. },
  15478. "exchangefullname": {
  15479. "description": "外部交易所全称",
  15480. "type": "string"
  15481. },
  15482. "goodscode": {
  15483. "description": "商品代码(内部)",
  15484. "type": "string"
  15485. },
  15486. "goodsid": {
  15487. "description": "商品ID",
  15488. "type": "integer"
  15489. },
  15490. "goodsname": {
  15491. "description": "商品名称",
  15492. "type": "string"
  15493. },
  15494. "marketid": {
  15495. "description": "市场ID",
  15496. "type": "integer"
  15497. },
  15498. "openfreezemargin": {
  15499. "description": "冻结保证金(冻结交易金额)",
  15500. "type": "number"
  15501. },
  15502. "orderid": {
  15503. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15504. "type": "string"
  15505. },
  15506. "orderprice": {
  15507. "description": "委托价格(账户)",
  15508. "type": "number"
  15509. },
  15510. "orderqty": {
  15511. "description": "委托数量",
  15512. "type": "integer"
  15513. },
  15514. "ordertime": {
  15515. "description": "委托时间",
  15516. "type": "string"
  15517. },
  15518. "pricemode": {
  15519. "description": "取价方式 - 1:市价 2: 限价",
  15520. "type": "integer"
  15521. },
  15522. "tradedate": {
  15523. "description": "交易日(yyyyMMdd)",
  15524. "type": "string"
  15525. },
  15526. "tradeqty": {
  15527. "description": "成交数量",
  15528. "type": "integer"
  15529. }
  15530. }
  15531. },
  15532. "models.QueryHedgeTradeDetailRsp": {
  15533. "type": "object",
  15534. "properties": {
  15535. "accountid": {
  15536. "description": "账号ID",
  15537. "type": "integer"
  15538. },
  15539. "buyorsell": {
  15540. "description": "方向 - 0:买 1:卖",
  15541. "type": "integer"
  15542. },
  15543. "channelbuildtype": {
  15544. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15545. "type": "integer"
  15546. },
  15547. "closecharge": {
  15548. "description": "平仓手续费(账户)",
  15549. "type": "number"
  15550. },
  15551. "closecharge2": {
  15552. "description": "平仓手续费(商品)",
  15553. "type": "number"
  15554. },
  15555. "closetype": {
  15556. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15557. "type": "integer"
  15558. },
  15559. "curexchangerate": {
  15560. "description": "当前汇率",
  15561. "type": "number"
  15562. },
  15563. "exchangefullname": {
  15564. "description": "外部交易所全称",
  15565. "type": "string"
  15566. },
  15567. "goodscode": {
  15568. "description": "商品代码(内部)",
  15569. "type": "string"
  15570. },
  15571. "goodsid": {
  15572. "description": "商品ID",
  15573. "type": "integer"
  15574. },
  15575. "goodsname": {
  15576. "description": "商品名称",
  15577. "type": "string"
  15578. },
  15579. "marketid": {
  15580. "description": "市场ID",
  15581. "type": "integer"
  15582. },
  15583. "opencharge": {
  15584. "description": "建仓手续费(账户)",
  15585. "type": "number"
  15586. },
  15587. "opencharge2": {
  15588. "description": "建仓手续费(商品)",
  15589. "type": "number"
  15590. },
  15591. "orderid": {
  15592. "description": "委托单号",
  15593. "type": "string"
  15594. },
  15595. "tradeamount": {
  15596. "description": "成交金额(账户)",
  15597. "type": "number"
  15598. },
  15599. "tradedate": {
  15600. "description": "交易日(yyyyMMdd)",
  15601. "type": "string"
  15602. },
  15603. "tradeid": {
  15604. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15605. "type": "string"
  15606. },
  15607. "tradeprice": {
  15608. "description": "成交价格",
  15609. "type": "number"
  15610. },
  15611. "tradeqty": {
  15612. "description": "成交数量",
  15613. "type": "integer"
  15614. },
  15615. "tradetime": {
  15616. "description": "成交时间",
  15617. "type": "string"
  15618. },
  15619. "tradetype": {
  15620. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15621. "type": "integer"
  15622. }
  15623. }
  15624. },
  15625. "models.QuotePrimaryMenu": {
  15626. "type": "object",
  15627. "properties": {
  15628. "Index": {
  15629. "description": "序号",
  15630. "type": "integer"
  15631. },
  15632. "Key": {
  15633. "description": "键名",
  15634. "type": "string"
  15635. },
  15636. "Name": {
  15637. "description": "菜单名称",
  15638. "type": "string"
  15639. },
  15640. "SubMenus": {
  15641. "description": "子菜单",
  15642. "type": "array",
  15643. "items": {
  15644. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15645. }
  15646. },
  15647. "SubTitleType": {
  15648. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15649. "type": "integer"
  15650. },
  15651. "TradeModes": {
  15652. "description": "包含市场交易类型",
  15653. "type": "string"
  15654. }
  15655. }
  15656. },
  15657. "models.QuoteSecondaryMenu": {
  15658. "type": "object",
  15659. "properties": {
  15660. "ExExchangeCode": {
  15661. "description": "外部交易所代码",
  15662. "type": "string"
  15663. },
  15664. "ExExchangeID": {
  15665. "description": "外部交易所ID",
  15666. "type": "integer"
  15667. },
  15668. "GoodsGroupIDs": {
  15669. "description": "商品组ID列表",
  15670. "type": "array",
  15671. "items": {
  15672. "type": "integer"
  15673. }
  15674. },
  15675. "Index": {
  15676. "description": "序号",
  15677. "type": "integer"
  15678. },
  15679. "MarketID": {
  15680. "description": "市场ID",
  15681. "type": "integer"
  15682. },
  15683. "MenuTitle": {
  15684. "description": "菜单标题(市场名称或外部交易所名称)",
  15685. "type": "string"
  15686. },
  15687. "TradeMode": {
  15688. "description": "交易模式",
  15689. "type": "integer"
  15690. }
  15691. }
  15692. },
  15693. "models.RelatedGoodsEx": {
  15694. "type": "object",
  15695. "properties": {
  15696. "goodscode": {
  15697. "description": "商品代码",
  15698. "type": "string"
  15699. },
  15700. "goodsid": {
  15701. "description": "商品id",
  15702. "type": "integer"
  15703. },
  15704. "goodsname": {
  15705. "description": "商品名称",
  15706. "type": "string"
  15707. }
  15708. }
  15709. },
  15710. "models.SearchGoods": {
  15711. "type": "object",
  15712. "required": [
  15713. "goodscode",
  15714. "goodsid",
  15715. "goodsname",
  15716. "marketid",
  15717. "trademode"
  15718. ],
  15719. "properties": {
  15720. "goodscode": {
  15721. "description": "商品代码(内部)",
  15722. "type": "string"
  15723. },
  15724. "goodsid": {
  15725. "description": "商品ID(自增ID SEQ_GOODS)",
  15726. "type": "integer"
  15727. },
  15728. "goodsname": {
  15729. "description": "商品名称",
  15730. "type": "string"
  15731. },
  15732. "marketid": {
  15733. "description": "所属市场ID",
  15734. "type": "integer"
  15735. },
  15736. "marketname": {
  15737. "description": "市场名称",
  15738. "type": "string"
  15739. },
  15740. "trademode": {
  15741. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15742. "type": "integer"
  15743. }
  15744. }
  15745. },
  15746. "models.Systemparam": {
  15747. "type": "object",
  15748. "required": [
  15749. "paramcode"
  15750. ],
  15751. "properties": {
  15752. "loginid": {
  15753. "description": "更新用户账号,登录账号",
  15754. "type": "string"
  15755. },
  15756. "modifyflag": {
  15757. "description": "修改标志0 不允许修改 1 允许修改",
  15758. "type": "integer"
  15759. },
  15760. "paramcode": {
  15761. "description": "参数代码",
  15762. "type": "string"
  15763. },
  15764. "paramname": {
  15765. "description": "参数名",
  15766. "type": "string"
  15767. },
  15768. "paramtype": {
  15769. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15770. "type": "integer"
  15771. },
  15772. "paramvalue": {
  15773. "description": "参数值",
  15774. "type": "string"
  15775. },
  15776. "paramvalue2": {
  15777. "description": "参数值(CLOB)",
  15778. "type": "string"
  15779. },
  15780. "regexpress": {
  15781. "description": "正则表达式",
  15782. "type": "string"
  15783. },
  15784. "remark": {
  15785. "description": "备注",
  15786. "type": "string"
  15787. },
  15788. "serverip": {
  15789. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15790. "type": "string"
  15791. },
  15792. "showflag": {
  15793. "description": "是否显示0 不显示 1 显示",
  15794. "type": "integer"
  15795. },
  15796. "updatetime": {
  15797. "description": "更新时间",
  15798. "type": "string"
  15799. },
  15800. "userid": {
  15801. "description": "更新用户ID",
  15802. "type": "integer"
  15803. }
  15804. }
  15805. },
  15806. "models.Szdz3convertconfig": {
  15807. "type": "object",
  15808. "required": [
  15809. "converttype",
  15810. "innergoodsid",
  15811. "outergoodscode"
  15812. ],
  15813. "properties": {
  15814. "canin": {
  15815. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15816. "type": "integer"
  15817. },
  15818. "canout": {
  15819. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15820. "type": "integer"
  15821. },
  15822. "converttype": {
  15823. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15824. "type": "integer"
  15825. },
  15826. "createtime": {
  15827. "description": "创建时间",
  15828. "type": "string"
  15829. },
  15830. "creatorid": {
  15831. "description": "创建人",
  15832. "type": "integer"
  15833. },
  15834. "daymaxvalue": {
  15835. "description": "当日最大转入限制",
  15836. "type": "number"
  15837. },
  15838. "freezedays": {
  15839. "description": "冻结天数 [5:花生米转交易]",
  15840. "type": "integer"
  15841. },
  15842. "innergoodsid": {
  15843. "description": "内部商品ID[交易]",
  15844. "type": "integer"
  15845. },
  15846. "inratio": {
  15847. "description": "目标值",
  15848. "type": "integer"
  15849. },
  15850. "modifierid": {
  15851. "description": "修改人",
  15852. "type": "integer"
  15853. },
  15854. "modifytime": {
  15855. "description": "修改时间",
  15856. "type": "string"
  15857. },
  15858. "outergoodscode": {
  15859. "description": "外部商品代码[JD\\PD]",
  15860. "type": "string"
  15861. },
  15862. "outratio": {
  15863. "description": "源值",
  15864. "type": "integer"
  15865. },
  15866. "pddecimalplace": {
  15867. "description": "PD小数位",
  15868. "type": "integer"
  15869. },
  15870. "timemaxvalue": {
  15871. "description": "单次最大转入限制",
  15872. "type": "number"
  15873. },
  15874. "timeminvalue": {
  15875. "description": "单次最小转入限制",
  15876. "type": "number"
  15877. }
  15878. }
  15879. },
  15880. "models.Szdz3searchwhitelist": {
  15881. "type": "object",
  15882. "required": [
  15883. "userid"
  15884. ],
  15885. "properties": {
  15886. "createtime": {
  15887. "description": "创建时间",
  15888. "type": "string"
  15889. },
  15890. "creatorid": {
  15891. "description": "创建人",
  15892. "type": "integer"
  15893. },
  15894. "modifierid": {
  15895. "description": "修改人",
  15896. "type": "integer"
  15897. },
  15898. "modifytime": {
  15899. "description": "修改时间",
  15900. "type": "string"
  15901. },
  15902. "userid": {
  15903. "description": "用户ID",
  15904. "type": "integer"
  15905. }
  15906. }
  15907. },
  15908. "models.Taaccount": {
  15909. "type": "object",
  15910. "required": [
  15911. "accountid",
  15912. "userid"
  15913. ],
  15914. "properties": {
  15915. "accountflag": {
  15916. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15917. "type": "integer"
  15918. },
  15919. "accountid": {
  15920. "description": "资金账户ID",
  15921. "type": "integer"
  15922. },
  15923. "accountname": {
  15924. "description": "账户名称",
  15925. "type": "string"
  15926. },
  15927. "balance": {
  15928. "description": "期初余额",
  15929. "type": "number"
  15930. },
  15931. "capitalbalance": {
  15932. "description": "本金余额[外部子账户实际出入金余额]",
  15933. "type": "number"
  15934. },
  15935. "changeflag": {
  15936. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15937. "type": "integer"
  15938. },
  15939. "changetime": {
  15940. "description": "账户状态变更时间",
  15941. "type": "string"
  15942. },
  15943. "closepl": {
  15944. "description": "今日平仓盈亏",
  15945. "type": "number"
  15946. },
  15947. "creditdecrease": {
  15948. "description": "今日授信减少",
  15949. "type": "number"
  15950. },
  15951. "creditincrease": {
  15952. "description": "今日授信增加",
  15953. "type": "number"
  15954. },
  15955. "currencyid": {
  15956. "description": "货币ID",
  15957. "type": "integer"
  15958. },
  15959. "currentbalance": {
  15960. "description": "期末余额",
  15961. "type": "number"
  15962. },
  15963. "freezecharge": {
  15964. "description": "手续费冻结",
  15965. "type": "number"
  15966. },
  15967. "freezemargin": {
  15968. "description": "冻结保证金",
  15969. "type": "number"
  15970. },
  15971. "fromaccountid": {
  15972. "description": "所属上级账户",
  15973. "type": "integer"
  15974. },
  15975. "inamount": {
  15976. "description": "今日入金金额(包括三方入金)",
  15977. "type": "number"
  15978. },
  15979. "ismain": {
  15980. "description": "是否母账号 0:不是母账户 1:是母账户",
  15981. "type": "integer"
  15982. },
  15983. "ismarketaccount": {
  15984. "description": "是否机构接单账号 0:不是 1:是",
  15985. "type": "integer"
  15986. },
  15987. "isreckonaccount": {
  15988. "description": "是否机构分润账号 0:不是 1:是",
  15989. "type": "integer"
  15990. },
  15991. "mortgagecredit": {
  15992. "description": "授信金额",
  15993. "type": "number"
  15994. },
  15995. "orifreezecharge": {
  15996. "description": "期初手续费冻结",
  15997. "type": "number"
  15998. },
  15999. "orifreezemargin": {
  16000. "description": "期初冻结保证金",
  16001. "type": "number"
  16002. },
  16003. "orimortgagecredit": {
  16004. "description": "期初授信金额",
  16005. "type": "number"
  16006. },
  16007. "oriothercredit": {
  16008. "description": "期初其它授信金额",
  16009. "type": "number"
  16010. },
  16011. "oriotherfreezemargin": {
  16012. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16013. "type": "number"
  16014. },
  16015. "orioutamountfreeze": {
  16016. "description": "期初出金冻结",
  16017. "type": "number"
  16018. },
  16019. "oriusedmargin": {
  16020. "description": "期初占用保证金",
  16021. "type": "number"
  16022. },
  16023. "othercredit": {
  16024. "description": "其它授信金额",
  16025. "type": "number"
  16026. },
  16027. "othercreditdecrease": {
  16028. "description": "今日其它授信减少",
  16029. "type": "number"
  16030. },
  16031. "othercreditincrease": {
  16032. "description": "今日其它授信增加",
  16033. "type": "number"
  16034. },
  16035. "otherfreezemargin": {
  16036. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16037. "type": "number"
  16038. },
  16039. "otherincome": {
  16040. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16041. "type": "number"
  16042. },
  16043. "otherpay": {
  16044. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16045. "type": "number"
  16046. },
  16047. "outamount": {
  16048. "description": "今日出金金额(包括三方出金)",
  16049. "type": "number"
  16050. },
  16051. "outamountfreeze": {
  16052. "description": "出金冻结",
  16053. "type": "number"
  16054. },
  16055. "outthreshold": {
  16056. "description": "出金阈值",
  16057. "type": "number"
  16058. },
  16059. "parentaccountid": {
  16060. "description": "所属根账号",
  16061. "type": "integer"
  16062. },
  16063. "paycharge": {
  16064. "description": "今日手续费支出",
  16065. "type": "number"
  16066. },
  16067. "relatedaccountstatus": {
  16068. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16069. "type": "integer"
  16070. },
  16071. "relateduserid": {
  16072. "description": "关联用户",
  16073. "type": "integer"
  16074. },
  16075. "serivcegroup": {
  16076. "description": "服务分组",
  16077. "type": "integer"
  16078. },
  16079. "signstatus": {
  16080. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16081. "type": "integer"
  16082. },
  16083. "sublevelpath": {
  16084. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16085. "type": "string"
  16086. },
  16087. "taaccounttype": {
  16088. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16089. "type": "integer"
  16090. },
  16091. "thirdinamount": {
  16092. "description": "今日三方入金",
  16093. "type": "number"
  16094. },
  16095. "thirdoutamount": {
  16096. "description": "今日三方出金",
  16097. "type": "number"
  16098. },
  16099. "tradestatus": {
  16100. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16101. "type": "integer"
  16102. },
  16103. "tradestatuschangetime": {
  16104. "description": "激活时间",
  16105. "type": "string"
  16106. },
  16107. "transferamount": {
  16108. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16109. "type": "number"
  16110. },
  16111. "usedmargin": {
  16112. "description": "占用保证金",
  16113. "type": "number"
  16114. },
  16115. "userid": {
  16116. "description": "用户ID",
  16117. "type": "integer"
  16118. }
  16119. }
  16120. },
  16121. "models.Tablecolumnconfig": {
  16122. "type": "object",
  16123. "required": [
  16124. "autoid"
  16125. ],
  16126. "properties": {
  16127. "aligntype": {
  16128. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16129. "type": "integer"
  16130. },
  16131. "autoid": {
  16132. "description": "AutoID",
  16133. "type": "integer"
  16134. },
  16135. "columnfield": {
  16136. "description": "列字段",
  16137. "type": "string"
  16138. },
  16139. "columntitle": {
  16140. "description": "列Title",
  16141. "type": "string"
  16142. },
  16143. "columnwidth": {
  16144. "description": "列宽",
  16145. "type": "string"
  16146. },
  16147. "formatterstring": {
  16148. "description": "格式化字符",
  16149. "type": "string"
  16150. },
  16151. "formattertype": {
  16152. "description": "格式化类型",
  16153. "type": "string"
  16154. },
  16155. "groupname": {
  16156. "description": "表头分组名称",
  16157. "type": "string"
  16158. },
  16159. "isshow": {
  16160. "description": "是否显示 - 0:不显示 1:显示",
  16161. "type": "integer"
  16162. },
  16163. "needsummary": {
  16164. "description": "是否需要汇总 - 0:不需要 1:需要",
  16165. "type": "integer"
  16166. },
  16167. "orderindex": {
  16168. "description": "顺序",
  16169. "type": "integer"
  16170. },
  16171. "remark": {
  16172. "description": "备注",
  16173. "type": "string"
  16174. },
  16175. "summarytype": {
  16176. "description": "汇总类型 - 1:加总 2:最后一个",
  16177. "type": "integer"
  16178. },
  16179. "tablekey": {
  16180. "description": "列表Key",
  16181. "type": "string"
  16182. }
  16183. }
  16184. },
  16185. "models.Useraccount": {
  16186. "type": "object",
  16187. "required": [
  16188. "userid"
  16189. ],
  16190. "properties": {
  16191. "accountname": {
  16192. "description": "账户名称(机构名称)",
  16193. "type": "string"
  16194. },
  16195. "accountstatus": {
  16196. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16197. "type": "integer"
  16198. },
  16199. "auditremark": {
  16200. "description": "审核备注",
  16201. "type": "string"
  16202. },
  16203. "audittime": {
  16204. "description": "审核时间",
  16205. "type": "string"
  16206. },
  16207. "audituserid": {
  16208. "description": "审核人",
  16209. "type": "integer"
  16210. },
  16211. "broker": {
  16212. "description": "所属经纪人ID",
  16213. "type": "integer"
  16214. },
  16215. "canceltime": {
  16216. "description": "销户时间",
  16217. "type": "string"
  16218. },
  16219. "canceluserid": {
  16220. "description": "销户人",
  16221. "type": "integer"
  16222. },
  16223. "createtime": {
  16224. "description": "创建时间",
  16225. "type": "string"
  16226. },
  16227. "creatorid": {
  16228. "description": "创建人",
  16229. "type": "integer"
  16230. },
  16231. "hasauth": {
  16232. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16233. "type": "integer"
  16234. },
  16235. "isanonymous": {
  16236. "description": "是否匿名下单 - 0:否 1:是",
  16237. "type": "integer"
  16238. },
  16239. "maxinvestornum": {
  16240. "description": "最大用户数(经纪会员下投资者个数)",
  16241. "type": "integer"
  16242. },
  16243. "memberuserid": {
  16244. "description": "所属会员ID",
  16245. "type": "integer"
  16246. },
  16247. "modifierid": {
  16248. "description": "修改人",
  16249. "type": "integer"
  16250. },
  16251. "modifyremark": {
  16252. "description": "变更备注",
  16253. "type": "string"
  16254. },
  16255. "modifystatus": {
  16256. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16257. "type": "integer"
  16258. },
  16259. "modifytime": {
  16260. "description": "修改时间",
  16261. "type": "string"
  16262. },
  16263. "parentuserid": {
  16264. "description": "所属机构ID",
  16265. "type": "integer"
  16266. },
  16267. "reckonaccountid": {
  16268. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16269. "type": "integer"
  16270. },
  16271. "refercount": {
  16272. "description": "推荐总人数",
  16273. "type": "integer"
  16274. },
  16275. "refereeuserid": {
  16276. "description": "推荐人ID",
  16277. "type": "integer"
  16278. },
  16279. "refernum": {
  16280. "description": "推荐码",
  16281. "type": "string"
  16282. },
  16283. "subarealevelpath": {
  16284. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16285. "type": "string"
  16286. },
  16287. "userid": {
  16288. "description": "用户ID",
  16289. "type": "integer"
  16290. },
  16291. "usertype": {
  16292. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16293. "type": "integer"
  16294. }
  16295. }
  16296. },
  16297. "models.Userfavoritegoods": {
  16298. "type": "object",
  16299. "required": [
  16300. "goodsid"
  16301. ],
  16302. "properties": {
  16303. "goodsid": {
  16304. "description": "商品ID",
  16305. "type": "integer"
  16306. }
  16307. }
  16308. },
  16309. "models.Userinfo": {
  16310. "type": "object",
  16311. "required": [
  16312. "userid"
  16313. ],
  16314. "properties": {
  16315. "address": {
  16316. "description": "地址",
  16317. "type": "string"
  16318. },
  16319. "attachment1": {
  16320. "description": "附件1",
  16321. "type": "string"
  16322. },
  16323. "attachment2": {
  16324. "description": "附件2",
  16325. "type": "string"
  16326. },
  16327. "bankaccount": {
  16328. "description": "银行帐号 (加密存储)",
  16329. "type": "string"
  16330. },
  16331. "bankaccountname": {
  16332. "description": "收款人名称",
  16333. "type": "string"
  16334. },
  16335. "bankcardfrontphotourl": {
  16336. "description": "银行卡正面照地址",
  16337. "type": "string"
  16338. },
  16339. "bankid": {
  16340. "description": "银行编码",
  16341. "type": "string"
  16342. },
  16343. "bankname": {
  16344. "description": "银行名称",
  16345. "type": "string"
  16346. },
  16347. "biznature": {
  16348. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16349. "type": "integer"
  16350. },
  16351. "bizscope": {
  16352. "description": "企业经营范围(企业)",
  16353. "type": "string"
  16354. },
  16355. "cardbackphotourl": {
  16356. "description": "证件背面图片地址",
  16357. "type": "string"
  16358. },
  16359. "cardfrontphotourl": {
  16360. "description": "证件正面图片地址",
  16361. "type": "string"
  16362. },
  16363. "cardnum": {
  16364. "description": "证件号码(加密存储)",
  16365. "type": "string"
  16366. },
  16367. "cardtypeid": {
  16368. "description": "证件类型ID",
  16369. "type": "integer"
  16370. },
  16371. "cityid": {
  16372. "description": "市",
  16373. "type": "integer"
  16374. },
  16375. "company": {
  16376. "description": "公司(个人)",
  16377. "type": "string"
  16378. },
  16379. "contactname": {
  16380. "description": "联系人",
  16381. "type": "string"
  16382. },
  16383. "countryid": {
  16384. "description": "国家",
  16385. "type": "integer"
  16386. },
  16387. "createtime": {
  16388. "description": "创建时间",
  16389. "type": "string"
  16390. },
  16391. "creatorid": {
  16392. "description": "创建人",
  16393. "type": "integer"
  16394. },
  16395. "customername": {
  16396. "description": "客户名称(企业名称)",
  16397. "type": "string"
  16398. },
  16399. "districtid": {
  16400. "description": "地区",
  16401. "type": "integer"
  16402. },
  16403. "email": {
  16404. "description": "邮件(加密存储)",
  16405. "type": "string"
  16406. },
  16407. "fax": {
  16408. "description": "传真(加密存储)",
  16409. "type": "string"
  16410. },
  16411. "halfbodyphotourl": {
  16412. "description": "半身照地址",
  16413. "type": "string"
  16414. },
  16415. "hasencrypt": {
  16416. "description": "数据是否已加密 - 0:未加密 1:已加密",
  16417. "type": "integer"
  16418. },
  16419. "headurl": {
  16420. "description": "头像地址",
  16421. "type": "string"
  16422. },
  16423. "legalcardbackphotourl": {
  16424. "description": "法人身份证背面照地址",
  16425. "type": "string"
  16426. },
  16427. "legalcardfrontphotourl": {
  16428. "description": "法人身份证正面照地址",
  16429. "type": "string"
  16430. },
  16431. "legalpersonname": {
  16432. "description": "法人姓名(企业)",
  16433. "type": "string"
  16434. },
  16435. "mobile": {
  16436. "description": "手机号码(加密存储)",
  16437. "type": "string"
  16438. },
  16439. "mobile2": {
  16440. "description": "手机号码[明文-尚志]",
  16441. "type": "string"
  16442. },
  16443. "modifierid": {
  16444. "description": "修改人",
  16445. "type": "integer"
  16446. },
  16447. "modifiertime": {
  16448. "description": "修改时间",
  16449. "type": "string"
  16450. },
  16451. "needinvoice": {
  16452. "description": "是否需要发票 - 0:不需要 1:需要",
  16453. "type": "integer"
  16454. },
  16455. "nickname": {
  16456. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16457. "type": "string"
  16458. },
  16459. "openmode": {
  16460. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16461. "type": "integer"
  16462. },
  16463. "otherurl": {
  16464. "description": "其它图片地址[使用分号分隔]",
  16465. "type": "string"
  16466. },
  16467. "postalcode": {
  16468. "description": "邮政编码",
  16469. "type": "string"
  16470. },
  16471. "provinceid": {
  16472. "description": "省",
  16473. "type": "integer"
  16474. },
  16475. "qq": {
  16476. "description": "QQ(加密存储",
  16477. "type": "string"
  16478. },
  16479. "remark": {
  16480. "description": "备注",
  16481. "type": "string"
  16482. },
  16483. "sex": {
  16484. "description": "用户性别 0: 女 1: 男",
  16485. "type": "integer"
  16486. },
  16487. "signpdfurl": {
  16488. "description": "签约pdf文件",
  16489. "type": "string"
  16490. },
  16491. "telphone": {
  16492. "description": "联系电话(加密存储)",
  16493. "type": "string"
  16494. },
  16495. "userid": {
  16496. "description": "用户ID",
  16497. "type": "integer"
  16498. },
  16499. "userinfotype": {
  16500. "description": "用户信息类型 - 1:个人 2:企业",
  16501. "type": "integer"
  16502. },
  16503. "userstatus": {
  16504. "description": "用户状态 - 1:正常 2:注销",
  16505. "type": "integer"
  16506. },
  16507. "usertype": {
  16508. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16509. "type": "integer"
  16510. },
  16511. "wechat": {
  16512. "description": "微信(加密存储)",
  16513. "type": "string"
  16514. },
  16515. "wskhinfo": {
  16516. "description": "开户申请信息(JSON)",
  16517. "type": "string"
  16518. }
  16519. }
  16520. },
  16521. "models.WRCategoryTree": {
  16522. "type": "object",
  16523. "required": [
  16524. "categoryid"
  16525. ],
  16526. "properties": {
  16527. "areauserid": {
  16528. "description": "所属机构",
  16529. "type": "integer"
  16530. },
  16531. "categorydesc": {
  16532. "description": "类别描述",
  16533. "type": "string"
  16534. },
  16535. "categoryid": {
  16536. "description": "类别ID(SEQ_WRCATEGORY)",
  16537. "type": "integer"
  16538. },
  16539. "categoryname": {
  16540. "description": "类别名称",
  16541. "type": "string"
  16542. },
  16543. "iconurl": {
  16544. "description": "图标地址",
  16545. "type": "string"
  16546. },
  16547. "orderindex": {
  16548. "description": "顺序",
  16549. "type": "integer"
  16550. },
  16551. "parentcategoryid": {
  16552. "description": "父类别ID",
  16553. "type": "integer"
  16554. },
  16555. "subcategory": {
  16556. "description": "子分类",
  16557. "type": "array",
  16558. "items": {
  16559. "$ref": "#/definitions/models.WRCategoryTree"
  16560. }
  16561. }
  16562. }
  16563. },
  16564. "models.WRSConverTDetail": {
  16565. "type": "object",
  16566. "properties": {
  16567. "convertratio": {
  16568. "description": "套保系数",
  16569. "type": "number"
  16570. },
  16571. "deliverygoodsid": {
  16572. "description": "现货品种ID",
  16573. "type": "integer"
  16574. },
  16575. "middlegoodscode": {
  16576. "description": "套保品种代码",
  16577. "type": "string"
  16578. },
  16579. "middlegoodsid": {
  16580. "description": "套保品种ID",
  16581. "type": "integer"
  16582. },
  16583. "middlegoodsname": {
  16584. "description": "套保品种名称",
  16585. "type": "string"
  16586. },
  16587. "modifytime": {
  16588. "description": "修改时间",
  16589. "type": "string"
  16590. },
  16591. "wrstandardid": {
  16592. "description": "现货商品ID",
  16593. "type": "integer"
  16594. }
  16595. }
  16596. },
  16597. "models.WRStandardInfo": {
  16598. "type": "object",
  16599. "required": [
  16600. "wrstandardid"
  16601. ],
  16602. "properties": {
  16603. "createtime": {
  16604. "description": "创建时间",
  16605. "type": "string"
  16606. },
  16607. "creatorid": {
  16608. "description": "创建人",
  16609. "type": "integer"
  16610. },
  16611. "deliverygoodsid": {
  16612. "description": "品种ID",
  16613. "type": "integer"
  16614. },
  16615. "deliverygoodsname": {
  16616. "description": "交割商品名称",
  16617. "type": "string"
  16618. },
  16619. "factoryitemjson": {
  16620. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16621. "type": "string"
  16622. },
  16623. "isvalid": {
  16624. "description": "是否有效 - 0:无效 1:有效",
  16625. "type": "integer"
  16626. },
  16627. "minivalue": {
  16628. "description": "最小变动值",
  16629. "type": "integer"
  16630. },
  16631. "minivaluedp": {
  16632. "description": "最小变动值小数位",
  16633. "type": "integer"
  16634. },
  16635. "realminivalue": {
  16636. "description": "实际最小变动值",
  16637. "type": "integer"
  16638. },
  16639. "realminivaluedp": {
  16640. "description": "实际最小变动值小数位",
  16641. "type": "integer"
  16642. },
  16643. "unitid": {
  16644. "description": "单位ID",
  16645. "type": "integer"
  16646. },
  16647. "unitname": {
  16648. "description": "单位",
  16649. "type": "string"
  16650. },
  16651. "updatetime": {
  16652. "description": "更新时间",
  16653. "type": "string"
  16654. },
  16655. "updatorid": {
  16656. "description": "更新人",
  16657. "type": "integer"
  16658. },
  16659. "wrsstatus": {
  16660. "description": "状态 - 作废 - 0:未激活 1:正常",
  16661. "type": "integer"
  16662. },
  16663. "wrstandardcode": {
  16664. "description": "仓单标准代码",
  16665. "type": "string"
  16666. },
  16667. "wrstandardid": {
  16668. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16669. "type": "integer"
  16670. },
  16671. "wrstandardname": {
  16672. "description": "仓单标准名称",
  16673. "type": "string"
  16674. }
  16675. }
  16676. },
  16677. "models.Warehouseinfo": {
  16678. "type": "object",
  16679. "required": [
  16680. "autoid",
  16681. "warehousecode"
  16682. ],
  16683. "properties": {
  16684. "address": {
  16685. "description": "详细地址",
  16686. "type": "string"
  16687. },
  16688. "areauserid": {
  16689. "description": "所属机构",
  16690. "type": "integer"
  16691. },
  16692. "autoid": {
  16693. "description": "自增ID",
  16694. "type": "integer"
  16695. },
  16696. "cityid": {
  16697. "description": "市",
  16698. "type": "integer"
  16699. },
  16700. "contactname": {
  16701. "description": "联系人",
  16702. "type": "string"
  16703. },
  16704. "contactnum": {
  16705. "description": "联系电话",
  16706. "type": "string"
  16707. },
  16708. "countryid": {
  16709. "description": "国家",
  16710. "type": "integer"
  16711. },
  16712. "createtime": {
  16713. "description": "创建时间",
  16714. "type": "string"
  16715. },
  16716. "districtid": {
  16717. "description": "区",
  16718. "type": "integer"
  16719. },
  16720. "hasvideo": {
  16721. "description": "是否有视频 - 0:无 1:有",
  16722. "type": "integer"
  16723. },
  16724. "provinceid": {
  16725. "description": "省",
  16726. "type": "integer"
  16727. },
  16728. "remark": {
  16729. "description": "审核备注",
  16730. "type": "string"
  16731. },
  16732. "videourl": {
  16733. "description": "视频地址",
  16734. "type": "string"
  16735. },
  16736. "warehousecode": {
  16737. "description": "仓库代码",
  16738. "type": "string"
  16739. },
  16740. "warehousename": {
  16741. "description": "仓库名称",
  16742. "type": "string"
  16743. },
  16744. "warehousestatus": {
  16745. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16746. "type": "integer"
  16747. },
  16748. "warehousetype": {
  16749. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16750. "type": "integer"
  16751. }
  16752. }
  16753. },
  16754. "order.QueryHisTradeDetailRsp": {
  16755. "type": "object",
  16756. "required": [
  16757. "accountid",
  16758. "buyorsell",
  16759. "goodsid",
  16760. "histradedate",
  16761. "marketid",
  16762. "memberuserid",
  16763. "orderid",
  16764. "tradeamount",
  16765. "tradedate",
  16766. "tradeid",
  16767. "tradeprice",
  16768. "tradeqty",
  16769. "tradetime"
  16770. ],
  16771. "properties": {
  16772. "accountid": {
  16773. "description": "账户ID[报价币种]",
  16774. "type": "integer"
  16775. },
  16776. "buildtype": {
  16777. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16778. "type": "integer"
  16779. },
  16780. "buyorsell": {
  16781. "description": "方向 - 0:买 1:卖",
  16782. "type": "integer"
  16783. },
  16784. "charge": {
  16785. "description": "手续费",
  16786. "type": "number"
  16787. },
  16788. "closecharge": {
  16789. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16790. "type": "number"
  16791. },
  16792. "closeexchagechargevalue": {
  16793. "description": "平仓交易所手续费设置值",
  16794. "type": "number"
  16795. },
  16796. "closefeealgorithm": {
  16797. "description": "平仓手续费收取方式 1:比率 2:固定",
  16798. "type": "integer"
  16799. },
  16800. "closememberchargevalue": {
  16801. "description": "平仓会员手续费设置值",
  16802. "type": "number"
  16803. },
  16804. "closepl": {
  16805. "description": "平仓盈亏",
  16806. "type": "number"
  16807. },
  16808. "closepl2": {
  16809. "description": "平仓盈亏[逐笔]",
  16810. "type": "number"
  16811. },
  16812. "closeqty": {
  16813. "description": "平仓数量(先建后平操作 需要记录)",
  16814. "type": "integer"
  16815. },
  16816. "creditamount": {
  16817. "description": "授信金额",
  16818. "type": "number"
  16819. },
  16820. "gcaccountid": {
  16821. "description": "账户ID[合约币种]",
  16822. "type": "integer"
  16823. },
  16824. "goodscode": {
  16825. "description": "商品代码",
  16826. "type": "string"
  16827. },
  16828. "goodsid": {
  16829. "description": "商品ID",
  16830. "type": "integer"
  16831. },
  16832. "goodsname": {
  16833. "description": "商品名称",
  16834. "type": "string"
  16835. },
  16836. "histradedate": {
  16837. "description": "历史交易日",
  16838. "type": "string"
  16839. },
  16840. "intclosepl": {
  16841. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16842. "type": "integer"
  16843. },
  16844. "isconfirmexercise": {
  16845. "description": "是否确认行权- 0:否 1:是",
  16846. "type": "integer"
  16847. },
  16848. "ismain": {
  16849. "description": "是否主单 - 0:不是 1:是",
  16850. "type": "integer"
  16851. },
  16852. "ispreexercise": {
  16853. "description": "是否预申报- 0:否 1:是",
  16854. "type": "integer"
  16855. },
  16856. "isreckoned": {
  16857. "description": "是否结算 - 0:未结算 1:已结算",
  16858. "type": "integer"
  16859. },
  16860. "isvaliddata": {
  16861. "description": "是否有效 - 0:无效 1:有效",
  16862. "type": "integer"
  16863. },
  16864. "listingselecttype": {
  16865. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16866. "type": "integer"
  16867. },
  16868. "marketid": {
  16869. "description": "市场ID",
  16870. "type": "integer"
  16871. },
  16872. "marketname": {
  16873. "description": "市场名称",
  16874. "type": "string"
  16875. },
  16876. "matchaccountid": {
  16877. "description": "对手账号id",
  16878. "type": "integer"
  16879. },
  16880. "memberuserid": {
  16881. "description": "会员id 个人投资者 需要填写",
  16882. "type": "integer"
  16883. },
  16884. "opencharge": {
  16885. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16886. "type": "number"
  16887. },
  16888. "openexchagechargevalue": {
  16889. "description": "建仓交易所手续费设置值",
  16890. "type": "number"
  16891. },
  16892. "openfeealgorithm": {
  16893. "description": "建仓手续费收取方式 1:比率 2:固定",
  16894. "type": "integer"
  16895. },
  16896. "openmemberchargevalue": {
  16897. "description": "建仓会员手续费设置值",
  16898. "type": "number"
  16899. },
  16900. "openqty": {
  16901. "description": "开仓数量(先建后平操作 需要记录)",
  16902. "type": "integer"
  16903. },
  16904. "optiontype": {
  16905. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16906. "type": "integer"
  16907. },
  16908. "orderid": {
  16909. "description": "委托单号",
  16910. "type": "string"
  16911. },
  16912. "performanceplanid": {
  16913. "description": "履约计划ID[期权]",
  16914. "type": "integer"
  16915. },
  16916. "performancestatus": {
  16917. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16918. "type": "integer"
  16919. },
  16920. "preexerciseprice": {
  16921. "description": "预申报价格",
  16922. "type": "number"
  16923. },
  16924. "premium": {
  16925. "description": "权利金 - [持仓单的权利金]",
  16926. "type": "number"
  16927. },
  16928. "relatedouttradeid": {
  16929. "description": "关联外部成交单ID",
  16930. "type": "integer"
  16931. },
  16932. "status": {
  16933. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16934. "type": "integer"
  16935. },
  16936. "tradeamount": {
  16937. "description": "成交金额[账户币种,用于所有权]",
  16938. "type": "number"
  16939. },
  16940. "tradedate": {
  16941. "description": "交易日(yyyyMMdd)",
  16942. "type": "string"
  16943. },
  16944. "tradeid": {
  16945. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16946. "type": "string"
  16947. },
  16948. "trademode": {
  16949. "description": "交易模式",
  16950. "type": "integer"
  16951. },
  16952. "tradeprice": {
  16953. "description": "成交价格",
  16954. "type": "number"
  16955. },
  16956. "tradeproperty": {
  16957. "description": "交易属性",
  16958. "type": "integer"
  16959. },
  16960. "tradeqty": {
  16961. "description": "成交数量",
  16962. "type": "integer"
  16963. },
  16964. "tradetime": {
  16965. "description": "成交时间",
  16966. "type": "string"
  16967. },
  16968. "tradetype": {
  16969. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16970. "type": "integer"
  16971. }
  16972. }
  16973. },
  16974. "order.QueryHisTradeOrderDetailRsp": {
  16975. "type": "object",
  16976. "required": [
  16977. "accountid",
  16978. "buildtype",
  16979. "buyorsell",
  16980. "goodsid",
  16981. "histradedate",
  16982. "marketid",
  16983. "memberuserid",
  16984. "operatetype",
  16985. "orderid",
  16986. "orderqty",
  16987. "ordertime",
  16988. "pricemode",
  16989. "tradedate",
  16990. "validtype"
  16991. ],
  16992. "properties": {
  16993. "accountid": {
  16994. "description": "账户ID[报价币种]",
  16995. "type": "integer"
  16996. },
  16997. "buildtype": {
  16998. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16999. "type": "integer"
  17000. },
  17001. "buyorsell": {
  17002. "description": "买卖 - 0:买 1:卖",
  17003. "type": "integer"
  17004. },
  17005. "cancelorderid": {
  17006. "description": "撤单单号(撤单时填写)",
  17007. "type": "string"
  17008. },
  17009. "cancelqty": {
  17010. "description": "撤单数量",
  17011. "type": "integer"
  17012. },
  17013. "clientordertime": {
  17014. "description": "客户端委托时间",
  17015. "type": "string"
  17016. },
  17017. "clientticket": {
  17018. "description": "客户端流水号",
  17019. "type": "string"
  17020. },
  17021. "clienttype": {
  17022. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17023. "type": "integer"
  17024. },
  17025. "closeexchagechargevalue": {
  17026. "description": "平仓交易所手续费设置值",
  17027. "type": "number"
  17028. },
  17029. "closefeealgorithm": {
  17030. "description": "平仓手续费收取方式 1:比率 2:固定",
  17031. "type": "integer"
  17032. },
  17033. "closefreezecharge": {
  17034. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17035. "type": "number"
  17036. },
  17037. "closememberchargevalue": {
  17038. "description": "平仓会员手续费设置值",
  17039. "type": "number"
  17040. },
  17041. "closeqty": {
  17042. "description": "平仓数量(先建后平操作 需要记录)",
  17043. "type": "integer"
  17044. },
  17045. "closetradeqty": {
  17046. "description": "平仓成交数量(先建后平操作,需要记录)",
  17047. "type": "integer"
  17048. },
  17049. "closeunfreezecharge": {
  17050. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17051. "type": "number"
  17052. },
  17053. "delistingtype": {
  17054. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17055. "type": "integer"
  17056. },
  17057. "freezecharge": {
  17058. "description": "冻结手续费",
  17059. "type": "number"
  17060. },
  17061. "freezemargin": {
  17062. "description": "冻结保证金(冻结交易金额)",
  17063. "type": "number"
  17064. },
  17065. "gcaccountid": {
  17066. "description": "账户ID[合约币种]",
  17067. "type": "integer"
  17068. },
  17069. "goodscode": {
  17070. "description": "商品代码",
  17071. "type": "string"
  17072. },
  17073. "goodsid": {
  17074. "description": "商品ID",
  17075. "type": "integer"
  17076. },
  17077. "goodsname": {
  17078. "description": "商品名称",
  17079. "type": "string"
  17080. },
  17081. "histradedate": {
  17082. "description": "历史交易日",
  17083. "type": "string"
  17084. },
  17085. "isconfirmexercise": {
  17086. "description": "是否确认行权- 0:否 1:是",
  17087. "type": "integer"
  17088. },
  17089. "ispreexercise": {
  17090. "description": "是否预申报- 0:否 1:是",
  17091. "type": "integer"
  17092. },
  17093. "isvaliddata": {
  17094. "description": "是否有效 - 0:无效 1:有效",
  17095. "type": "integer"
  17096. },
  17097. "listingselecttype": {
  17098. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17099. "type": "integer"
  17100. },
  17101. "marginalgorithm": {
  17102. "description": "保证金收取方式 1:比率 2:固定",
  17103. "type": "integer"
  17104. },
  17105. "marginvalue": {
  17106. "description": "即市保证金设置值",
  17107. "type": "number"
  17108. },
  17109. "marketid": {
  17110. "description": "市场ID",
  17111. "type": "integer"
  17112. },
  17113. "marketmaxsub": {
  17114. "description": "市价最大偏移范围",
  17115. "type": "number"
  17116. },
  17117. "marketname": {
  17118. "description": "市场名称",
  17119. "type": "string"
  17120. },
  17121. "memberuserid": {
  17122. "description": "所属会员UserID",
  17123. "type": "integer"
  17124. },
  17125. "openexchagechargevalue": {
  17126. "description": "建仓交易所手续费设置值",
  17127. "type": "number"
  17128. },
  17129. "openfeealgorithm": {
  17130. "description": "建仓手续费收取方式 1:比率 2:固定",
  17131. "type": "integer"
  17132. },
  17133. "openfreezecharge": {
  17134. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17135. "type": "number"
  17136. },
  17137. "openmemberchargevalue": {
  17138. "description": "建仓会员手续费设置值",
  17139. "type": "number"
  17140. },
  17141. "openqty": {
  17142. "description": "开仓数量(先建后平操作,需要记录)",
  17143. "type": "integer"
  17144. },
  17145. "opentradeqty": {
  17146. "description": "开仓成交数量(先建后平操作,需要记录)",
  17147. "type": "integer"
  17148. },
  17149. "openunfreezecharge": {
  17150. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17151. "type": "number"
  17152. },
  17153. "operatetype": {
  17154. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17155. "type": "integer"
  17156. },
  17157. "operatorid": {
  17158. "description": "登录账号(LoginID)",
  17159. "type": "integer"
  17160. },
  17161. "optiontype": {
  17162. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17163. "type": "integer"
  17164. },
  17165. "orderid": {
  17166. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17167. "type": "string"
  17168. },
  17169. "orderprice": {
  17170. "description": "委托价格",
  17171. "type": "number"
  17172. },
  17173. "orderqty": {
  17174. "description": "委托数量",
  17175. "type": "integer"
  17176. },
  17177. "ordersrc": {
  17178. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17179. "type": "integer"
  17180. },
  17181. "orderstatus": {
  17182. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17183. "type": "integer"
  17184. },
  17185. "ordertime": {
  17186. "description": "委托时间",
  17187. "type": "string"
  17188. },
  17189. "preexerciseprice": {
  17190. "description": "预申报价格",
  17191. "type": "number"
  17192. },
  17193. "premium": {
  17194. "description": "权利金",
  17195. "type": "number"
  17196. },
  17197. "preorderid": {
  17198. "description": "关联预埋单号(止盈止损单时填写)",
  17199. "type": "string"
  17200. },
  17201. "pricemode": {
  17202. "description": "取价方式 - 1:市价 2: 限价",
  17203. "type": "integer"
  17204. },
  17205. "quoteid": {
  17206. "description": "报价单ID",
  17207. "type": "integer"
  17208. },
  17209. "relatedid": {
  17210. "description": "关联单号(交割单)",
  17211. "type": "string"
  17212. },
  17213. "retcode": {
  17214. "description": "错误代码",
  17215. "type": "integer"
  17216. },
  17217. "sessionid": {
  17218. "description": "会话ID",
  17219. "type": "integer"
  17220. },
  17221. "tradedate": {
  17222. "description": "交易日(yyyyMMdd)",
  17223. "type": "string"
  17224. },
  17225. "trademode": {
  17226. "description": "交易模式",
  17227. "type": "integer"
  17228. },
  17229. "tradeproperty": {
  17230. "description": "交易属性",
  17231. "type": "integer"
  17232. },
  17233. "tradeqty": {
  17234. "description": "成交数量",
  17235. "type": "integer"
  17236. },
  17237. "unfreezecharge": {
  17238. "description": "解冻手续费",
  17239. "type": "number"
  17240. },
  17241. "unfreezemargin": {
  17242. "description": "解冻保证金",
  17243. "type": "number"
  17244. },
  17245. "updatetime": {
  17246. "description": "更新时间",
  17247. "type": "string"
  17248. },
  17249. "uuid": {
  17250. "description": "发起端唯一id",
  17251. "type": "string"
  17252. },
  17253. "validtime": {
  17254. "description": "有效期限",
  17255. "type": "string"
  17256. },
  17257. "validtype": {
  17258. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17259. "type": "integer"
  17260. },
  17261. "volumetype": {
  17262. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17263. "type": "integer"
  17264. }
  17265. }
  17266. },
  17267. "order.QueryTradeDetailRsp": {
  17268. "type": "object",
  17269. "required": [
  17270. "accountid",
  17271. "buyorsell",
  17272. "goodsid",
  17273. "marketid",
  17274. "memberuserid",
  17275. "orderid",
  17276. "tradeamount",
  17277. "tradedate",
  17278. "tradeid",
  17279. "tradeprice",
  17280. "tradeqty",
  17281. "tradetime"
  17282. ],
  17283. "properties": {
  17284. "accountid": {
  17285. "description": "账户ID[报价币种]",
  17286. "type": "integer"
  17287. },
  17288. "buildtype": {
  17289. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17290. "type": "integer"
  17291. },
  17292. "buyorsell": {
  17293. "description": "方向 - 0:买 1:卖",
  17294. "type": "integer"
  17295. },
  17296. "charge": {
  17297. "description": "手续费",
  17298. "type": "number"
  17299. },
  17300. "closecharge": {
  17301. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17302. "type": "number"
  17303. },
  17304. "closeexchagechargevalue": {
  17305. "description": "平仓交易所手续费设置值",
  17306. "type": "number"
  17307. },
  17308. "closefeealgorithm": {
  17309. "description": "平仓手续费收取方式 1:比率 2:固定",
  17310. "type": "integer"
  17311. },
  17312. "closememberchargevalue": {
  17313. "description": "平仓会员手续费设置值",
  17314. "type": "number"
  17315. },
  17316. "closepl": {
  17317. "description": "平仓盈亏",
  17318. "type": "number"
  17319. },
  17320. "closepl2": {
  17321. "description": "平仓盈亏[逐笔]",
  17322. "type": "number"
  17323. },
  17324. "closeqty": {
  17325. "description": "平仓数量(先建后平操作 需要记录)",
  17326. "type": "integer"
  17327. },
  17328. "creditamount": {
  17329. "description": "授信金额",
  17330. "type": "number"
  17331. },
  17332. "gcaccountid": {
  17333. "description": "账户ID[合约币种]",
  17334. "type": "integer"
  17335. },
  17336. "goodscode": {
  17337. "description": "商品代码",
  17338. "type": "string"
  17339. },
  17340. "goodsid": {
  17341. "description": "商品ID",
  17342. "type": "integer"
  17343. },
  17344. "goodsname": {
  17345. "description": "商品名称",
  17346. "type": "string"
  17347. },
  17348. "intclosepl": {
  17349. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17350. "type": "integer"
  17351. },
  17352. "isconfirmexercise": {
  17353. "description": "是否确认行权- 0:否 1:是",
  17354. "type": "integer"
  17355. },
  17356. "ismain": {
  17357. "description": "是否主单 - 0:不是 1:是",
  17358. "type": "integer"
  17359. },
  17360. "ispreexercise": {
  17361. "description": "是否预申报- 0:否 1:是",
  17362. "type": "integer"
  17363. },
  17364. "isreckoned": {
  17365. "description": "是否结算 - 0:未结算 1:已结算",
  17366. "type": "integer"
  17367. },
  17368. "listingselecttype": {
  17369. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17370. "type": "integer"
  17371. },
  17372. "marketid": {
  17373. "description": "市场ID",
  17374. "type": "integer"
  17375. },
  17376. "marketname": {
  17377. "description": "市场名称",
  17378. "type": "string"
  17379. },
  17380. "matchaccountid": {
  17381. "description": "对手账号id",
  17382. "type": "integer"
  17383. },
  17384. "memberuserid": {
  17385. "description": "会员id 个人投资者 需要填写",
  17386. "type": "integer"
  17387. },
  17388. "opencharge": {
  17389. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17390. "type": "number"
  17391. },
  17392. "openexchagechargevalue": {
  17393. "description": "建仓交易所手续费设置值",
  17394. "type": "number"
  17395. },
  17396. "openfeealgorithm": {
  17397. "description": "建仓手续费收取方式 1:比率 2:固定",
  17398. "type": "integer"
  17399. },
  17400. "openmemberchargevalue": {
  17401. "description": "建仓会员手续费设置值",
  17402. "type": "number"
  17403. },
  17404. "openqty": {
  17405. "description": "开仓数量(先建后平操作 需要记录)",
  17406. "type": "integer"
  17407. },
  17408. "optiontype": {
  17409. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17410. "type": "integer"
  17411. },
  17412. "orderid": {
  17413. "description": "委托单号",
  17414. "type": "string"
  17415. },
  17416. "performanceplanid": {
  17417. "description": "履约计划ID[期权]",
  17418. "type": "integer"
  17419. },
  17420. "performancestatus": {
  17421. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17422. "type": "integer"
  17423. },
  17424. "preexerciseprice": {
  17425. "description": "预申报价格",
  17426. "type": "number"
  17427. },
  17428. "premium": {
  17429. "description": "权利金 - [持仓单的权利金]",
  17430. "type": "number"
  17431. },
  17432. "relatedouttradeid": {
  17433. "description": "关联外部成交单ID",
  17434. "type": "integer"
  17435. },
  17436. "status": {
  17437. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17438. "type": "integer"
  17439. },
  17440. "tradeamount": {
  17441. "description": "成交金额[账户币种,用于所有权]",
  17442. "type": "number"
  17443. },
  17444. "tradedate": {
  17445. "description": "交易日(yyyyMMdd)",
  17446. "type": "string"
  17447. },
  17448. "tradeid": {
  17449. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17450. "type": "string"
  17451. },
  17452. "trademode": {
  17453. "description": "交易模式",
  17454. "type": "integer"
  17455. },
  17456. "tradeprice": {
  17457. "description": "成交价格",
  17458. "type": "number"
  17459. },
  17460. "tradeproperty": {
  17461. "description": "交易属性",
  17462. "type": "integer"
  17463. },
  17464. "tradeqty": {
  17465. "description": "成交数量",
  17466. "type": "integer"
  17467. },
  17468. "tradetime": {
  17469. "description": "成交时间",
  17470. "type": "string"
  17471. },
  17472. "tradetype": {
  17473. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17474. "type": "integer"
  17475. }
  17476. }
  17477. },
  17478. "order.QueryTradeOrderDetailRsp": {
  17479. "type": "object",
  17480. "required": [
  17481. "accountid",
  17482. "buildtype",
  17483. "buyorsell",
  17484. "goodsid",
  17485. "marketid",
  17486. "operatetype",
  17487. "orderqty",
  17488. "ordertime",
  17489. "pricemode",
  17490. "tradedate",
  17491. "validtype"
  17492. ],
  17493. "properties": {
  17494. "accountid": {
  17495. "description": "账户ID[报价币种]",
  17496. "type": "integer"
  17497. },
  17498. "buildtype": {
  17499. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17500. "type": "integer"
  17501. },
  17502. "buyorsell": {
  17503. "description": "买卖 - 0:买 1:卖",
  17504. "type": "integer"
  17505. },
  17506. "cancelorderid": {
  17507. "description": "撤单单号(撤单时填写)",
  17508. "type": "string"
  17509. },
  17510. "cancelqty": {
  17511. "description": "撤单数量",
  17512. "type": "integer"
  17513. },
  17514. "clienttype": {
  17515. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17516. "type": "integer"
  17517. },
  17518. "closefreezecharge": {
  17519. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17520. "type": "number"
  17521. },
  17522. "closeqty": {
  17523. "description": "平仓数量(先建后平操作 需要记录)",
  17524. "type": "integer"
  17525. },
  17526. "closetradeqty": {
  17527. "description": "平仓成交数量(先建后平操作,需要记录)",
  17528. "type": "integer"
  17529. },
  17530. "closeunfreezecharge": {
  17531. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17532. "type": "number"
  17533. },
  17534. "delistingtype": {
  17535. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17536. "type": "integer"
  17537. },
  17538. "enableqty": {
  17539. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17540. "type": "integer"
  17541. },
  17542. "freezecharge": {
  17543. "description": "冻结手续费",
  17544. "type": "number"
  17545. },
  17546. "freezemargin": {
  17547. "description": "冻结保证金(冻结交易金额)",
  17548. "type": "number"
  17549. },
  17550. "goodscode": {
  17551. "description": "商品代码",
  17552. "type": "string"
  17553. },
  17554. "goodsid": {
  17555. "description": "商品ID",
  17556. "type": "integer"
  17557. },
  17558. "goodsname": {
  17559. "description": "商品名称",
  17560. "type": "string"
  17561. },
  17562. "listingselecttype": {
  17563. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17564. "type": "integer"
  17565. },
  17566. "marketid": {
  17567. "description": "市场ID",
  17568. "type": "integer"
  17569. },
  17570. "marketname": {
  17571. "description": "市场名称",
  17572. "type": "string"
  17573. },
  17574. "openfreezecharge": {
  17575. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17576. "type": "number"
  17577. },
  17578. "openqty": {
  17579. "description": "开仓数量(先建后平操作,需要记录)",
  17580. "type": "integer"
  17581. },
  17582. "opentradeqty": {
  17583. "description": "开仓成交数量(先建后平操作,需要记录)",
  17584. "type": "integer"
  17585. },
  17586. "openunfreezecharge": {
  17587. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17588. "type": "number"
  17589. },
  17590. "operatetype": {
  17591. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17592. "type": "integer"
  17593. },
  17594. "operatorid": {
  17595. "description": "登录账号(LoginID)",
  17596. "type": "integer"
  17597. },
  17598. "orderid": {
  17599. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17600. "type": "string"
  17601. },
  17602. "orderprice": {
  17603. "description": "委托价格",
  17604. "type": "number"
  17605. },
  17606. "orderqty": {
  17607. "description": "委托数量",
  17608. "type": "integer"
  17609. },
  17610. "ordersrc": {
  17611. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17612. "type": "integer"
  17613. },
  17614. "orderstatus": {
  17615. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17616. "type": "integer"
  17617. },
  17618. "ordertime": {
  17619. "description": "委托时间",
  17620. "type": "string"
  17621. },
  17622. "preorderid": {
  17623. "description": "关联预埋单号(止盈止损单时填写)",
  17624. "type": "string"
  17625. },
  17626. "pricemode": {
  17627. "description": "取价方式 - 1:市价 2: 限价",
  17628. "type": "integer"
  17629. },
  17630. "relatedid": {
  17631. "description": "关联单号(交割单)",
  17632. "type": "string"
  17633. },
  17634. "tradedate": {
  17635. "description": "交易日(yyyyMMdd)",
  17636. "type": "string"
  17637. },
  17638. "trademode": {
  17639. "description": "交易模式",
  17640. "type": "integer"
  17641. },
  17642. "tradeqty": {
  17643. "description": "成交数量",
  17644. "type": "integer"
  17645. },
  17646. "unfreezecharge": {
  17647. "description": "解冻手续费",
  17648. "type": "number"
  17649. },
  17650. "unfreezemargin": {
  17651. "description": "解冻保证金",
  17652. "type": "number"
  17653. },
  17654. "validtime": {
  17655. "description": "有效期限",
  17656. "type": "string"
  17657. },
  17658. "validtype": {
  17659. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17660. "type": "integer"
  17661. },
  17662. "volumetype": {
  17663. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17664. "type": "integer"
  17665. }
  17666. }
  17667. },
  17668. "order.QueryTradePositionRsp": {
  17669. "type": "object",
  17670. "required": [
  17671. "goodsid"
  17672. ],
  17673. "properties": {
  17674. "accountid": {
  17675. "description": "资金账户",
  17676. "type": "integer"
  17677. },
  17678. "agreeunit": {
  17679. "description": "合约单位",
  17680. "type": "number"
  17681. },
  17682. "averageprice": {
  17683. "description": "持仓均价",
  17684. "type": "number"
  17685. },
  17686. "buyorsell": {
  17687. "description": "方向 - 0:买 1:卖",
  17688. "type": "integer"
  17689. },
  17690. "closetotalqty": {
  17691. "description": "平仓总数量",
  17692. "type": "integer"
  17693. },
  17694. "curholderamount": {
  17695. "description": "当前持仓总金额[商品币种]",
  17696. "type": "number"
  17697. },
  17698. "curpositionqty": {
  17699. "description": "当前持仓总数量",
  17700. "type": "integer"
  17701. },
  17702. "currencyid": {
  17703. "description": "报价货币ID",
  17704. "type": "integer"
  17705. },
  17706. "curtdposition": {
  17707. "description": "期末今日头寸",
  17708. "type": "integer"
  17709. },
  17710. "decimalplace": {
  17711. "description": "报价小数位",
  17712. "type": "integer"
  17713. },
  17714. "enableqty": {
  17715. "description": "可用量",
  17716. "type": "integer"
  17717. },
  17718. "fretdposition": {
  17719. "description": "冻结今日头寸",
  17720. "type": "integer"
  17721. },
  17722. "frozenqty": {
  17723. "description": "持仓冻结数量",
  17724. "type": "integer"
  17725. },
  17726. "goodscode": {
  17727. "description": "商品代码",
  17728. "type": "string"
  17729. },
  17730. "goodsid": {
  17731. "description": "商品Id",
  17732. "type": "integer"
  17733. },
  17734. "goodsname": {
  17735. "description": "商品名称",
  17736. "type": "string"
  17737. },
  17738. "goodunit": {
  17739. "description": "报价单位",
  17740. "type": "string"
  17741. },
  17742. "goodunitid": {
  17743. "description": "报价单位ID",
  17744. "type": "integer"
  17745. },
  17746. "holderamount": {
  17747. "description": "期初持仓总金额[商品币种]",
  17748. "type": "number"
  17749. },
  17750. "marketid": {
  17751. "description": "所属市场ID",
  17752. "type": "integer"
  17753. },
  17754. "openreqqty": {
  17755. "description": "开仓申请数量(用于比较最大持仓数量)",
  17756. "type": "integer"
  17757. },
  17758. "opentotalqty": {
  17759. "description": "开仓总数量",
  17760. "type": "integer"
  17761. },
  17762. "otherfrozenqty": {
  17763. "description": "持仓其他冻结数量(交割冻结)",
  17764. "type": "integer"
  17765. },
  17766. "positionqty": {
  17767. "description": "期初持仓数量",
  17768. "type": "integer"
  17769. },
  17770. "tnqty": {
  17771. "description": "T+N冻结总量",
  17772. "type": "integer"
  17773. },
  17774. "tnusedqty": {
  17775. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17776. "type": "integer"
  17777. },
  17778. "trademode": {
  17779. "description": "交易模式",
  17780. "type": "integer"
  17781. },
  17782. "usedmargin": {
  17783. "description": "占用保证金[商品币种]",
  17784. "type": "number"
  17785. }
  17786. }
  17787. },
  17788. "quote.HistoryData": {
  17789. "type": "object",
  17790. "properties": {
  17791. "c": {
  17792. "description": "收盘价",
  17793. "type": "number"
  17794. },
  17795. "f": {
  17796. "description": "是否补充数据",
  17797. "type": "boolean"
  17798. },
  17799. "h": {
  17800. "description": "最高价",
  17801. "type": "number"
  17802. },
  17803. "hv": {
  17804. "description": "持仓量",
  17805. "type": "integer"
  17806. },
  17807. "l": {
  17808. "description": "最低价",
  17809. "type": "number"
  17810. },
  17811. "o": {
  17812. "description": "开盘价",
  17813. "type": "number"
  17814. },
  17815. "s": {
  17816. "description": "结算价,日线周期(包括)以上才有",
  17817. "type": "number"
  17818. },
  17819. "ts": {
  17820. "description": "时间",
  17821. "type": "string"
  17822. },
  17823. "tt": {
  17824. "description": "总金额",
  17825. "type": "number"
  17826. },
  17827. "tv": {
  17828. "description": "总量",
  17829. "type": "integer"
  17830. }
  17831. }
  17832. },
  17833. "quote.HistoryTikData": {
  17834. "type": "object",
  17835. "properties": {
  17836. "AV": {
  17837. "description": "卖量",
  17838. "type": "integer"
  17839. },
  17840. "Ask": {
  17841. "description": "卖价",
  17842. "type": "number"
  17843. },
  17844. "BV": {
  17845. "description": "买量",
  17846. "type": "integer"
  17847. },
  17848. "Bid": {
  17849. "description": "买价",
  17850. "type": "number"
  17851. },
  17852. "HI": {
  17853. "description": "单笔持仓",
  17854. "type": "integer"
  17855. },
  17856. "HV": {
  17857. "description": "持仓量",
  17858. "type": "integer"
  17859. },
  17860. "PE": {
  17861. "description": "现价",
  17862. "type": "number"
  17863. },
  17864. "TDR": {
  17865. "description": "交易方向,0:买 1:卖",
  17866. "type": "integer"
  17867. },
  17868. "TK": {
  17869. "description": "交易类型",
  17870. "type": "integer"
  17871. },
  17872. "TS": {
  17873. "description": "行情时间文本",
  17874. "type": "string"
  17875. },
  17876. "TT": {
  17877. "description": "现金额",
  17878. "type": "number"
  17879. },
  17880. "Vol": {
  17881. "description": "现量",
  17882. "type": "integer"
  17883. }
  17884. }
  17885. },
  17886. "quote.QueryQuoteDayRsp": {
  17887. "type": "object",
  17888. "properties": {
  17889. "ask": {
  17890. "description": "卖1",
  17891. "type": "number"
  17892. },
  17893. "ask10": {
  17894. "description": "卖10",
  17895. "type": "number"
  17896. },
  17897. "ask2": {
  17898. "description": "卖2",
  17899. "type": "number"
  17900. },
  17901. "ask3": {
  17902. "description": "卖3",
  17903. "type": "number"
  17904. },
  17905. "ask4": {
  17906. "description": "卖4",
  17907. "type": "number"
  17908. },
  17909. "ask5": {
  17910. "description": "卖5",
  17911. "type": "number"
  17912. },
  17913. "ask6": {
  17914. "description": "卖6",
  17915. "type": "number"
  17916. },
  17917. "ask7": {
  17918. "description": "卖7",
  17919. "type": "number"
  17920. },
  17921. "ask8": {
  17922. "description": "卖8",
  17923. "type": "number"
  17924. },
  17925. "ask9": {
  17926. "description": "卖9",
  17927. "type": "number"
  17928. },
  17929. "askorderid": {
  17930. "description": "卖单号1",
  17931. "type": "integer"
  17932. },
  17933. "askorderid2": {
  17934. "description": "卖单号2",
  17935. "type": "integer"
  17936. },
  17937. "askorderid3": {
  17938. "description": "卖单号3",
  17939. "type": "integer"
  17940. },
  17941. "askorderid4": {
  17942. "description": "卖单号4",
  17943. "type": "integer"
  17944. },
  17945. "askorderid5": {
  17946. "description": "卖单号5",
  17947. "type": "integer"
  17948. },
  17949. "askordervolume": {
  17950. "description": "卖单量1",
  17951. "type": "integer"
  17952. },
  17953. "askordervolume10": {
  17954. "description": "卖单量10",
  17955. "type": "integer"
  17956. },
  17957. "askordervolume2": {
  17958. "description": "卖单量2",
  17959. "type": "integer"
  17960. },
  17961. "askordervolume3": {
  17962. "description": "卖单量3",
  17963. "type": "integer"
  17964. },
  17965. "askordervolume4": {
  17966. "description": "卖单量4",
  17967. "type": "integer"
  17968. },
  17969. "askordervolume5": {
  17970. "description": "卖单量5",
  17971. "type": "integer"
  17972. },
  17973. "askordervolume6": {
  17974. "description": "卖单量6",
  17975. "type": "integer"
  17976. },
  17977. "askordervolume7": {
  17978. "description": "卖单量7",
  17979. "type": "integer"
  17980. },
  17981. "askordervolume8": {
  17982. "description": "卖单量8",
  17983. "type": "integer"
  17984. },
  17985. "askordervolume9": {
  17986. "description": "卖单量9",
  17987. "type": "integer"
  17988. },
  17989. "askqueueinfo": {
  17990. "description": "大利市卖港股用",
  17991. "type": "string"
  17992. },
  17993. "askvolume": {
  17994. "description": "卖量1",
  17995. "type": "integer"
  17996. },
  17997. "askvolume10": {
  17998. "description": "卖量10",
  17999. "type": "integer"
  18000. },
  18001. "askvolume2": {
  18002. "description": "卖量2",
  18003. "type": "integer"
  18004. },
  18005. "askvolume3": {
  18006. "description": "卖量3",
  18007. "type": "integer"
  18008. },
  18009. "askvolume4": {
  18010. "description": "卖量4",
  18011. "type": "integer"
  18012. },
  18013. "askvolume5": {
  18014. "description": "卖量5",
  18015. "type": "integer"
  18016. },
  18017. "askvolume6": {
  18018. "description": "卖量6",
  18019. "type": "integer"
  18020. },
  18021. "askvolume7": {
  18022. "description": "卖量7",
  18023. "type": "integer"
  18024. },
  18025. "askvolume8": {
  18026. "description": "卖量8",
  18027. "type": "integer"
  18028. },
  18029. "askvolume9": {
  18030. "description": "卖量9",
  18031. "type": "integer"
  18032. },
  18033. "averageprice": {
  18034. "description": "均价",
  18035. "type": "number"
  18036. },
  18037. "bid": {
  18038. "description": "买1",
  18039. "type": "number"
  18040. },
  18041. "bid10": {
  18042. "description": "买10",
  18043. "type": "number"
  18044. },
  18045. "bid2": {
  18046. "description": "买2",
  18047. "type": "number"
  18048. },
  18049. "bid3": {
  18050. "description": "买3",
  18051. "type": "number"
  18052. },
  18053. "bid4": {
  18054. "description": "买4",
  18055. "type": "number"
  18056. },
  18057. "bid5": {
  18058. "description": "买5",
  18059. "type": "number"
  18060. },
  18061. "bid6": {
  18062. "description": "买6",
  18063. "type": "number"
  18064. },
  18065. "bid7": {
  18066. "description": "买7",
  18067. "type": "number"
  18068. },
  18069. "bid8": {
  18070. "description": "买8",
  18071. "type": "number"
  18072. },
  18073. "bid9": {
  18074. "description": "买9",
  18075. "type": "number"
  18076. },
  18077. "bidorderid": {
  18078. "description": "买单号1",
  18079. "type": "integer"
  18080. },
  18081. "bidorderid2": {
  18082. "description": "买单号2",
  18083. "type": "integer"
  18084. },
  18085. "bidorderid3": {
  18086. "description": "买单号3",
  18087. "type": "integer"
  18088. },
  18089. "bidorderid4": {
  18090. "description": "买单号4",
  18091. "type": "integer"
  18092. },
  18093. "bidorderid5": {
  18094. "description": "买单号5",
  18095. "type": "integer"
  18096. },
  18097. "bidordervolume": {
  18098. "description": "买单量1",
  18099. "type": "integer"
  18100. },
  18101. "bidordervolume10": {
  18102. "description": "买单量10",
  18103. "type": "integer"
  18104. },
  18105. "bidordervolume2": {
  18106. "description": "买单量2",
  18107. "type": "integer"
  18108. },
  18109. "bidordervolume3": {
  18110. "description": "买单量3",
  18111. "type": "integer"
  18112. },
  18113. "bidordervolume4": {
  18114. "description": "买单量4",
  18115. "type": "integer"
  18116. },
  18117. "bidordervolume5": {
  18118. "description": "买单量5",
  18119. "type": "integer"
  18120. },
  18121. "bidordervolume6": {
  18122. "description": "买单量6",
  18123. "type": "integer"
  18124. },
  18125. "bidordervolume7": {
  18126. "description": "买单量7",
  18127. "type": "integer"
  18128. },
  18129. "bidordervolume8": {
  18130. "description": "买单量8",
  18131. "type": "integer"
  18132. },
  18133. "bidordervolume9": {
  18134. "description": "买单量9",
  18135. "type": "integer"
  18136. },
  18137. "bidqueueinfo": {
  18138. "description": "大利市买港股用",
  18139. "type": "string"
  18140. },
  18141. "bidvolume": {
  18142. "description": "买量1",
  18143. "type": "integer"
  18144. },
  18145. "bidvolume10": {
  18146. "description": "买量10",
  18147. "type": "integer"
  18148. },
  18149. "bidvolume2": {
  18150. "description": "买量2",
  18151. "type": "integer"
  18152. },
  18153. "bidvolume3": {
  18154. "description": "买量3",
  18155. "type": "integer"
  18156. },
  18157. "bidvolume4": {
  18158. "description": "买量4",
  18159. "type": "integer"
  18160. },
  18161. "bidvolume5": {
  18162. "description": "买量5",
  18163. "type": "integer"
  18164. },
  18165. "bidvolume6": {
  18166. "description": "买量6",
  18167. "type": "integer"
  18168. },
  18169. "bidvolume7": {
  18170. "description": "买量7",
  18171. "type": "integer"
  18172. },
  18173. "bidvolume8": {
  18174. "description": "买量8",
  18175. "type": "integer"
  18176. },
  18177. "bidvolume9": {
  18178. "description": "买量9",
  18179. "type": "integer"
  18180. },
  18181. "calloptionpremiums": {
  18182. "description": "认购期权1",
  18183. "type": "integer"
  18184. },
  18185. "calloptionpremiums2": {
  18186. "description": "认购期权2",
  18187. "type": "integer"
  18188. },
  18189. "calloptionpremiums3": {
  18190. "description": "认购期权3",
  18191. "type": "integer"
  18192. },
  18193. "calloptionpremiums4": {
  18194. "description": "认购期权4",
  18195. "type": "integer"
  18196. },
  18197. "calloptionpremiums5": {
  18198. "description": "认购期权5",
  18199. "type": "integer"
  18200. },
  18201. "cleartime": {
  18202. "description": "清盘时间",
  18203. "type": "integer"
  18204. },
  18205. "exchangecode": {
  18206. "description": "交易所代码",
  18207. "type": "integer"
  18208. },
  18209. "exchangedate": {
  18210. "description": "交易日",
  18211. "type": "integer"
  18212. },
  18213. "goodscode": {
  18214. "description": "商品代码",
  18215. "type": "string"
  18216. },
  18217. "grepmarketprice": {
  18218. "description": "暗盘价 港股专用",
  18219. "type": "number"
  18220. },
  18221. "highest": {
  18222. "description": "最高价",
  18223. "type": "number"
  18224. },
  18225. "holdincrement": {
  18226. "description": "单笔持仓",
  18227. "type": "integer"
  18228. },
  18229. "holdvolume": {
  18230. "description": "持仓",
  18231. "type": "integer"
  18232. },
  18233. "iep": {
  18234. "description": "平衡价 港股专用",
  18235. "type": "number"
  18236. },
  18237. "iev": {
  18238. "description": "平衡量 港股专用",
  18239. "type": "number"
  18240. },
  18241. "inventory": {
  18242. "description": "库存",
  18243. "type": "integer"
  18244. },
  18245. "iscleared": {
  18246. "description": "是否清盘标志",
  18247. "type": "integer"
  18248. },
  18249. "issettled": {
  18250. "description": "是否结算标志",
  18251. "type": "integer"
  18252. },
  18253. "last": {
  18254. "description": "最新价",
  18255. "type": "number"
  18256. },
  18257. "lastlot": {
  18258. "description": "最新成交手数",
  18259. "type": "integer"
  18260. },
  18261. "lasttime": {
  18262. "description": "行情时间(只有现价变化行情时间才变化)",
  18263. "type": "string"
  18264. },
  18265. "lastturnover": {
  18266. "description": "最新成交金额",
  18267. "type": "number"
  18268. },
  18269. "lastvolume": {
  18270. "description": "最新成交量",
  18271. "type": "integer"
  18272. },
  18273. "limitdown": {
  18274. "description": "跌停价",
  18275. "type": "number"
  18276. },
  18277. "limitup": {
  18278. "description": "涨停价",
  18279. "type": "number"
  18280. },
  18281. "lowest": {
  18282. "description": "最低价",
  18283. "type": "number"
  18284. },
  18285. "nontotalholdervolume": {
  18286. "description": "非交易持仓量",
  18287. "type": "integer"
  18288. },
  18289. "nontotallot": {
  18290. "description": "非交易总手数",
  18291. "type": "integer"
  18292. },
  18293. "nontotalturnover": {
  18294. "description": "非交易总金额",
  18295. "type": "integer"
  18296. },
  18297. "nontotalvolume": {
  18298. "description": "非交易总量",
  18299. "type": "integer"
  18300. },
  18301. "opened": {
  18302. "description": "开盘价",
  18303. "type": "number"
  18304. },
  18305. "opentime": {
  18306. "description": "开盘时间",
  18307. "type": "string"
  18308. },
  18309. "orderid": {
  18310. "description": "序号",
  18311. "type": "integer"
  18312. },
  18313. "preclose": {
  18314. "description": "昨收",
  18315. "type": "number"
  18316. },
  18317. "preholdvolume": {
  18318. "description": "昨持仓",
  18319. "type": "integer"
  18320. },
  18321. "presettle": {
  18322. "description": "昨结价",
  18323. "type": "number"
  18324. },
  18325. "publictradetype": {
  18326. "description": "公共交易标志类型 港股专用",
  18327. "type": "string"
  18328. },
  18329. "putoptionpremiums": {
  18330. "description": "认沽期权1",
  18331. "type": "integer"
  18332. },
  18333. "putoptionpremiums2": {
  18334. "description": "认沽期权2",
  18335. "type": "integer"
  18336. },
  18337. "putoptionpremiums3": {
  18338. "description": "认沽期权3",
  18339. "type": "integer"
  18340. },
  18341. "putoptionpremiums4": {
  18342. "description": "认沽期权4",
  18343. "type": "integer"
  18344. },
  18345. "putoptionpremiums5": {
  18346. "description": "认沽期权5",
  18347. "type": "integer"
  18348. },
  18349. "settle": {
  18350. "description": "结算价",
  18351. "type": "number"
  18352. },
  18353. "strikeprice": {
  18354. "description": "发行价",
  18355. "type": "number"
  18356. },
  18357. "totalaskvolume": {
  18358. "description": "内盘",
  18359. "type": "integer"
  18360. },
  18361. "totalbidvolume": {
  18362. "description": "外盘",
  18363. "type": "integer"
  18364. },
  18365. "totallot": {
  18366. "description": "总手数",
  18367. "type": "integer"
  18368. },
  18369. "totalturnover": {
  18370. "description": "总金额",
  18371. "type": "number"
  18372. },
  18373. "totalvolume": {
  18374. "description": "总量",
  18375. "type": "integer"
  18376. },
  18377. "utclasttime": {
  18378. "description": "utc的行情时间",
  18379. "type": "string"
  18380. }
  18381. }
  18382. },
  18383. "quote.QueryTSDataRsp": {
  18384. "type": "object",
  18385. "properties": {
  18386. "decimalPlace": {
  18387. "description": "小数位",
  18388. "type": "integer"
  18389. },
  18390. "endTime": {
  18391. "description": "结束时间",
  18392. "type": "string"
  18393. },
  18394. "goodsCode": {
  18395. "description": "商品代码",
  18396. "type": "string"
  18397. },
  18398. "historyDatas": {
  18399. "description": "历史数据",
  18400. "type": "array",
  18401. "items": {
  18402. "$ref": "#/definitions/quote.HistoryData"
  18403. }
  18404. },
  18405. "outGoodsCode": {
  18406. "description": "外部商品代码",
  18407. "type": "string"
  18408. },
  18409. "preSettle": {
  18410. "description": "昨结",
  18411. "type": "number"
  18412. },
  18413. "startTime": {
  18414. "description": "开始时间",
  18415. "type": "string"
  18416. },
  18417. "tradeDate": {
  18418. "description": "交易日",
  18419. "type": "string"
  18420. }
  18421. }
  18422. },
  18423. "szdz.QueryConvertLogRsp": {
  18424. "type": "object",
  18425. "required": [
  18426. "logid"
  18427. ],
  18428. "properties": {
  18429. "accountid": {
  18430. "description": "资金账户ID",
  18431. "type": "integer"
  18432. },
  18433. "clientticket": {
  18434. "description": "客户端流水号",
  18435. "type": "string"
  18436. },
  18437. "converttype": {
  18438. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  18439. "type": "integer"
  18440. },
  18441. "createtime": {
  18442. "description": "记账时间",
  18443. "type": "string"
  18444. },
  18445. "daymaxvalue": {
  18446. "description": "配置当日最大转入限制",
  18447. "type": "number"
  18448. },
  18449. "daymaxvalue2": {
  18450. "description": "配置当日最大转入限制(转入)",
  18451. "type": "number"
  18452. },
  18453. "goodscode": {
  18454. "description": "商品代码",
  18455. "type": "string"
  18456. },
  18457. "goodsname": {
  18458. "description": "商品名称",
  18459. "type": "string"
  18460. },
  18461. "handlestatus": {
  18462. "description": "处理状态",
  18463. "type": "integer"
  18464. },
  18465. "innergoodsid": {
  18466. "description": "内部商品ID",
  18467. "type": "integer"
  18468. },
  18469. "inratio": {
  18470. "description": "配置转入比值",
  18471. "type": "integer"
  18472. },
  18473. "invalue": {
  18474. "description": "目标值",
  18475. "type": "number"
  18476. },
  18477. "logid": {
  18478. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18479. "type": "integer"
  18480. },
  18481. "mobile": {
  18482. "description": "手机号码(加密存储)",
  18483. "type": "string"
  18484. },
  18485. "outergoodscode": {
  18486. "description": "外部商品代码[JD\\PD]",
  18487. "type": "string"
  18488. },
  18489. "outratio": {
  18490. "description": "配置转出比值",
  18491. "type": "integer"
  18492. },
  18493. "outvalue": {
  18494. "description": "源值",
  18495. "type": "number"
  18496. },
  18497. "pddecimalplace": {
  18498. "description": "PD小数位",
  18499. "type": "integer"
  18500. },
  18501. "qty": {
  18502. "description": "数量",
  18503. "type": "string"
  18504. },
  18505. "remark": {
  18506. "description": "备注",
  18507. "type": "string"
  18508. },
  18509. "sessionid": {
  18510. "description": "会话ID",
  18511. "type": "integer"
  18512. },
  18513. "timemaxvalue": {
  18514. "description": "配置单次最大转入限制",
  18515. "type": "number"
  18516. },
  18517. "timemaxvalue2": {
  18518. "description": "配置单次最大转入限制(转入)",
  18519. "type": "number"
  18520. },
  18521. "timeminvalue": {
  18522. "description": "配置单次最小数量限制",
  18523. "type": "number"
  18524. },
  18525. "timeminvalue2": {
  18526. "description": "配置单次最小数量限制(转入)",
  18527. "type": "number"
  18528. },
  18529. "tradedate": {
  18530. "description": "交易日(yyyyMMdd)",
  18531. "type": "string"
  18532. },
  18533. "userid": {
  18534. "description": "用户ID",
  18535. "type": "integer"
  18536. }
  18537. }
  18538. },
  18539. "szdz.QueryGoodsPickupRsp": {
  18540. "type": "object",
  18541. "required": [
  18542. "takeorderid"
  18543. ],
  18544. "properties": {
  18545. "accountid": {
  18546. "description": "账户ID",
  18547. "type": "integer"
  18548. },
  18549. "address": {
  18550. "description": "提货人详细地址",
  18551. "type": "string"
  18552. },
  18553. "auditer": {
  18554. "description": "审核人",
  18555. "type": "integer"
  18556. },
  18557. "audittime": {
  18558. "description": "审核时间",
  18559. "type": "string"
  18560. },
  18561. "cardnum": {
  18562. "description": "提货人证件号码",
  18563. "type": "string"
  18564. },
  18565. "cardtypeid": {
  18566. "description": "提货人证件类型",
  18567. "type": "integer"
  18568. },
  18569. "checkremark": {
  18570. "description": "审核备注",
  18571. "type": "string"
  18572. },
  18573. "goodscode": {
  18574. "description": "商品代码",
  18575. "type": "string"
  18576. },
  18577. "goodsid": {
  18578. "description": "商品ID",
  18579. "type": "integer"
  18580. },
  18581. "goodsname": {
  18582. "description": "商品名称",
  18583. "type": "string"
  18584. },
  18585. "handlestatus": {
  18586. "description": "处理状态",
  18587. "type": "integer"
  18588. },
  18589. "marketid": {
  18590. "description": "市场ID",
  18591. "type": "integer"
  18592. },
  18593. "phonenum": {
  18594. "description": "提货人联系方式",
  18595. "type": "string"
  18596. },
  18597. "qty": {
  18598. "description": "提货数量",
  18599. "type": "number"
  18600. },
  18601. "recivername": {
  18602. "description": "提货人姓名",
  18603. "type": "string"
  18604. },
  18605. "reqtime": {
  18606. "description": "更新时间",
  18607. "type": "string"
  18608. },
  18609. "takemode": {
  18610. "description": "提货方式 - 2:自提 3:配送",
  18611. "type": "integer"
  18612. },
  18613. "takeorderid": {
  18614. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18615. "type": "string"
  18616. },
  18617. "takeorderstatus": {
  18618. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18619. "type": "integer"
  18620. },
  18621. "takeremark": {
  18622. "description": "提货备注",
  18623. "type": "string"
  18624. },
  18625. "tradedate": {
  18626. "description": "交易日(yyyyMMdd)",
  18627. "type": "string"
  18628. },
  18629. "userid": {
  18630. "description": "用户ID",
  18631. "type": "integer"
  18632. }
  18633. }
  18634. },
  18635. "szdz.QueryRecieptOrderRsp": {
  18636. "type": "object",
  18637. "required": [
  18638. "ordertime"
  18639. ],
  18640. "properties": {
  18641. "accountName": {
  18642. "description": "所属账号名称(已脱敏)",
  18643. "type": "string"
  18644. },
  18645. "accountid": {
  18646. "description": "资金账号",
  18647. "type": "integer"
  18648. },
  18649. "buyorsell": {
  18650. "description": "方向 - 0:买 1:卖",
  18651. "type": "integer"
  18652. },
  18653. "enableqty": {
  18654. "description": "可摘数量",
  18655. "type": "integer"
  18656. },
  18657. "goodscode": {
  18658. "description": "商品代码",
  18659. "type": "string"
  18660. },
  18661. "goodsid": {
  18662. "description": "商品ID",
  18663. "type": "integer"
  18664. },
  18665. "goodsname": {
  18666. "description": "商品名称",
  18667. "type": "string"
  18668. },
  18669. "orderid": {
  18670. "description": "委托单号",
  18671. "type": "string"
  18672. },
  18673. "orderprice": {
  18674. "description": "委托价格",
  18675. "type": "number"
  18676. },
  18677. "ordertime": {
  18678. "description": "委托时间",
  18679. "type": "string"
  18680. },
  18681. "tradedate": {
  18682. "description": "交易日(yyyyMMdd)",
  18683. "type": "string"
  18684. }
  18685. }
  18686. },
  18687. "szdz.QuerySZDZTradePositionRsp": {
  18688. "type": "object",
  18689. "properties": {
  18690. "accountid": {
  18691. "description": "账号Id",
  18692. "type": "integer"
  18693. },
  18694. "agreeunit": {
  18695. "description": "合约单位",
  18696. "type": "number"
  18697. },
  18698. "averageprice": {
  18699. "description": "持仓均价",
  18700. "type": "number"
  18701. },
  18702. "buyorsell": {
  18703. "description": "方向 - 0:买 1:卖",
  18704. "type": "integer"
  18705. },
  18706. "closetotalqty": {
  18707. "description": "平仓总数量",
  18708. "type": "integer"
  18709. },
  18710. "curholderamount": {
  18711. "description": "当前持仓总金额",
  18712. "type": "number"
  18713. },
  18714. "curpositionqty": {
  18715. "description": "当前持仓总数量",
  18716. "type": "integer"
  18717. },
  18718. "currencyid": {
  18719. "description": "报价货币ID",
  18720. "type": "integer"
  18721. },
  18722. "curtdposition": {
  18723. "description": "期末今日头寸",
  18724. "type": "integer"
  18725. },
  18726. "decimalplace": {
  18727. "description": "报价小数位",
  18728. "type": "integer"
  18729. },
  18730. "enableqty": {
  18731. "description": "可用量",
  18732. "type": "integer"
  18733. },
  18734. "fretdposition": {
  18735. "description": "冻结今日头寸",
  18736. "type": "integer"
  18737. },
  18738. "frozenqty": {
  18739. "description": "持仓冻结数量",
  18740. "type": "integer"
  18741. },
  18742. "goodscode": {
  18743. "description": "商品代码(内部)",
  18744. "type": "string"
  18745. },
  18746. "goodsid": {
  18747. "description": "商品Id",
  18748. "type": "integer"
  18749. },
  18750. "goodsname": {
  18751. "description": "商品名称",
  18752. "type": "string"
  18753. },
  18754. "goodunit": {
  18755. "description": "报价单位",
  18756. "type": "string"
  18757. },
  18758. "goodunitid": {
  18759. "description": "报价单位ID",
  18760. "type": "integer"
  18761. },
  18762. "holderamount": {
  18763. "description": "期初持仓总金额",
  18764. "type": "number"
  18765. },
  18766. "marketid": {
  18767. "description": "市场ID",
  18768. "type": "integer"
  18769. },
  18770. "openreqqty": {
  18771. "description": "开仓申请数量",
  18772. "type": "integer"
  18773. },
  18774. "opentotalqty": {
  18775. "description": "开仓总数量",
  18776. "type": "integer"
  18777. },
  18778. "otherfrozenqty": {
  18779. "description": "持仓其他冻结数量(交割冻结)",
  18780. "type": "integer"
  18781. },
  18782. "positionqty": {
  18783. "description": "期初持仓数量",
  18784. "type": "integer"
  18785. },
  18786. "szdz3freezqty": {
  18787. "description": "尚志大宗转换冻结总数量",
  18788. "type": "integer"
  18789. },
  18790. "tnqty": {
  18791. "description": "T+N冻结总量",
  18792. "type": "integer"
  18793. },
  18794. "tnusedqty": {
  18795. "description": "T+N使用量",
  18796. "type": "integer"
  18797. },
  18798. "trademode": {
  18799. "description": "交易模式",
  18800. "type": "integer"
  18801. },
  18802. "usedmargin": {
  18803. "description": "占用保证金",
  18804. "type": "number"
  18805. }
  18806. }
  18807. },
  18808. "taaccount.QueryAmountLogRsp": {
  18809. "type": "object",
  18810. "required": [
  18811. "accountid",
  18812. "amount",
  18813. "amountadjusttype",
  18814. "autoid",
  18815. "balance",
  18816. "createtime",
  18817. "currentbalance",
  18818. "operatetype"
  18819. ],
  18820. "properties": {
  18821. "OPERATETYPENAME": {
  18822. "description": "资金操作类型名称",
  18823. "type": "string"
  18824. },
  18825. "accountid": {
  18826. "description": "资金账户ID",
  18827. "type": "integer"
  18828. },
  18829. "agoodscode": {
  18830. "description": "竞拍商品代码",
  18831. "type": "string"
  18832. },
  18833. "agoodsname": {
  18834. "description": "竞拍商品名称",
  18835. "type": "string"
  18836. },
  18837. "amount": {
  18838. "description": "资金金额",
  18839. "type": "number"
  18840. },
  18841. "amountadjusttype": {
  18842. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18843. "type": "integer"
  18844. },
  18845. "autoid": {
  18846. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18847. "type": "integer"
  18848. },
  18849. "balance": {
  18850. "description": "期初余额",
  18851. "type": "number"
  18852. },
  18853. "businesscode": {
  18854. "description": "业务编号",
  18855. "type": "integer"
  18856. },
  18857. "createtime": {
  18858. "description": "发生时间",
  18859. "type": "string"
  18860. },
  18861. "currencyid": {
  18862. "description": "币种ID",
  18863. "type": "integer"
  18864. },
  18865. "currentbalance": {
  18866. "description": "期末余额(变动后金额)",
  18867. "type": "number"
  18868. },
  18869. "dgoodscode": {
  18870. "description": "交割商品代码",
  18871. "type": "string"
  18872. },
  18873. "dgoodsname": {
  18874. "description": "交割商品名称",
  18875. "type": "string"
  18876. },
  18877. "goodscode": {
  18878. "description": "商品代码",
  18879. "type": "string"
  18880. },
  18881. "goodsid": {
  18882. "description": "商品ID",
  18883. "type": "integer"
  18884. },
  18885. "goodsname": {
  18886. "description": "商品名称",
  18887. "type": "string"
  18888. },
  18889. "marketid": {
  18890. "description": "市场ID",
  18891. "type": "integer"
  18892. },
  18893. "marketname": {
  18894. "description": "市场名称",
  18895. "type": "string"
  18896. },
  18897. "moneyticket": {
  18898. "description": "资金流水号:银行端流水号",
  18899. "type": "integer"
  18900. },
  18901. "operatetype": {
  18902. "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:营销收款",
  18903. "type": "integer"
  18904. },
  18905. "relationorderid": {
  18906. "description": "关联单号",
  18907. "type": "string"
  18908. },
  18909. "remark": {
  18910. "description": "备注",
  18911. "type": "string"
  18912. },
  18913. "trademode": {
  18914. "description": "交易模式",
  18915. "type": "integer"
  18916. }
  18917. }
  18918. },
  18919. "taaccount.QueryHisAmountLogRsp": {
  18920. "type": "object",
  18921. "required": [
  18922. "accountid",
  18923. "amount",
  18924. "amountadjusttype",
  18925. "autoid",
  18926. "balance",
  18927. "createtime",
  18928. "currentbalance",
  18929. "histradedate",
  18930. "operatetype"
  18931. ],
  18932. "properties": {
  18933. "OPERATETYPENAME": {
  18934. "description": "资金操作类型名称",
  18935. "type": "string"
  18936. },
  18937. "accountid": {
  18938. "description": "资金账户ID",
  18939. "type": "integer"
  18940. },
  18941. "agoodscode": {
  18942. "description": "竞拍商品代码",
  18943. "type": "string"
  18944. },
  18945. "agoodsname": {
  18946. "description": "竞拍商品名称",
  18947. "type": "string"
  18948. },
  18949. "amount": {
  18950. "description": "资金金额",
  18951. "type": "number"
  18952. },
  18953. "amountadjusttype": {
  18954. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18955. "type": "integer"
  18956. },
  18957. "autoid": {
  18958. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18959. "type": "integer"
  18960. },
  18961. "balance": {
  18962. "description": "期初余额",
  18963. "type": "number"
  18964. },
  18965. "businesscode": {
  18966. "description": "业务编号",
  18967. "type": "integer"
  18968. },
  18969. "createtime": {
  18970. "description": "发生时间",
  18971. "type": "string"
  18972. },
  18973. "currencyid": {
  18974. "description": "币种ID",
  18975. "type": "integer"
  18976. },
  18977. "currentbalance": {
  18978. "description": "期末余额(变动后金额)",
  18979. "type": "number"
  18980. },
  18981. "dgoodscode": {
  18982. "description": "交割商品代码",
  18983. "type": "string"
  18984. },
  18985. "dgoodsname": {
  18986. "description": "交割商品名称",
  18987. "type": "string"
  18988. },
  18989. "goodscode": {
  18990. "description": "商品代码",
  18991. "type": "string"
  18992. },
  18993. "goodsid": {
  18994. "description": "商品ID",
  18995. "type": "integer"
  18996. },
  18997. "goodsname": {
  18998. "description": "商品名称",
  18999. "type": "string"
  19000. },
  19001. "histradedate": {
  19002. "description": "历史交易日",
  19003. "type": "string"
  19004. },
  19005. "isvaliddata": {
  19006. "description": "是否有效 - 0:无效 1:有效",
  19007. "type": "integer"
  19008. },
  19009. "marketid": {
  19010. "description": "市场ID",
  19011. "type": "integer"
  19012. },
  19013. "marketname": {
  19014. "description": "市场名称",
  19015. "type": "string"
  19016. },
  19017. "moneyticket": {
  19018. "description": "资金流水号:银行端流水号",
  19019. "type": "integer"
  19020. },
  19021. "operatetype": {
  19022. "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:营销收款",
  19023. "type": "integer"
  19024. },
  19025. "relationorderid": {
  19026. "description": "关联单号",
  19027. "type": "string"
  19028. },
  19029. "remark": {
  19030. "description": "备注",
  19031. "type": "string"
  19032. },
  19033. "trademode": {
  19034. "description": "交易模式",
  19035. "type": "integer"
  19036. }
  19037. }
  19038. },
  19039. "trade.QueryRecieptOrderRsp": {
  19040. "type": "object",
  19041. "required": [
  19042. "ordertime"
  19043. ],
  19044. "properties": {
  19045. "accountName": {
  19046. "description": "所属账号名称(已脱敏)",
  19047. "type": "string"
  19048. },
  19049. "accountid": {
  19050. "description": "资金账号",
  19051. "type": "integer"
  19052. },
  19053. "buyorsell": {
  19054. "description": "方向 - 0:买 1:卖",
  19055. "type": "integer"
  19056. },
  19057. "enableqty": {
  19058. "description": "可摘数量",
  19059. "type": "integer"
  19060. },
  19061. "goodscode": {
  19062. "description": "商品代码",
  19063. "type": "string"
  19064. },
  19065. "goodsid": {
  19066. "description": "商品ID",
  19067. "type": "integer"
  19068. },
  19069. "goodsname": {
  19070. "description": "商品名称",
  19071. "type": "string"
  19072. },
  19073. "orderid": {
  19074. "description": "委托单号",
  19075. "type": "string"
  19076. },
  19077. "orderprice": {
  19078. "description": "委托价格",
  19079. "type": "number"
  19080. },
  19081. "ordertime": {
  19082. "description": "委托时间",
  19083. "type": "string"
  19084. },
  19085. "tradedate": {
  19086. "description": "交易日(yyyyMMdd)",
  19087. "type": "string"
  19088. }
  19089. }
  19090. },
  19091. "user.LoginQueryRsp": {
  19092. "type": "object",
  19093. "properties": {
  19094. "externalExchanges": {
  19095. "description": "外部交易所",
  19096. "type": "array",
  19097. "items": {
  19098. "$ref": "#/definitions/models.Externalexchange"
  19099. }
  19100. },
  19101. "goodsgroups": {
  19102. "description": "商品组",
  19103. "type": "array",
  19104. "items": {
  19105. "$ref": "#/definitions/models.Goodsgroup"
  19106. }
  19107. },
  19108. "loginAccount": {
  19109. "description": "登录账号",
  19110. "type": "object",
  19111. "$ref": "#/definitions/models.Loginaccount"
  19112. },
  19113. "markets": {
  19114. "description": "市场",
  19115. "type": "array",
  19116. "items": {
  19117. "$ref": "#/definitions/models.Market"
  19118. }
  19119. },
  19120. "systemParams": {
  19121. "description": "系统参数",
  19122. "type": "array",
  19123. "items": {
  19124. "$ref": "#/definitions/models.Systemparam"
  19125. }
  19126. },
  19127. "userAccount": {
  19128. "description": "用户账号",
  19129. "type": "object",
  19130. "$ref": "#/definitions/models.Useraccount"
  19131. },
  19132. "userInfo": {
  19133. "description": "用户信息",
  19134. "type": "object",
  19135. "$ref": "#/definitions/models.Userinfo"
  19136. },
  19137. "username": {
  19138. "description": "用户姓名",
  19139. "type": "string"
  19140. }
  19141. }
  19142. }
  19143. },
  19144. "securityDefinitions": {
  19145. "ApiKeyAuth": {
  19146. "type": "apiKey",
  19147. "name": "Authorization",
  19148. "in": "header"
  19149. }
  19150. }
  19151. }`
  19152. type swaggerInfo struct {
  19153. Version string
  19154. Host string
  19155. BasePath string
  19156. Schemes []string
  19157. Title string
  19158. Description string
  19159. }
  19160. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19161. var SwaggerInfo = swaggerInfo{
  19162. Version: "1.0",
  19163. Host: "",
  19164. BasePath: "/api",
  19165. Schemes: []string{},
  19166. Title: "MTP2.0 查询服务 API",
  19167. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19168. }
  19169. type s struct{}
  19170. func (s *s) ReadDoc() string {
  19171. sInfo := SwaggerInfo
  19172. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19173. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19174. "marshal": func(v interface{}) string {
  19175. a, _ := json.Marshal(v)
  19176. return string(a)
  19177. },
  19178. }).Parse(doc)
  19179. if err != nil {
  19180. return doc
  19181. }
  19182. var tpl bytes.Buffer
  19183. if err := t.Execute(&tpl, sInfo); err != nil {
  19184. return doc
  19185. }
  19186. return tpl.String()
  19187. }
  19188. func init() {
  19189. swag.Register(swag.Name, &s{})
  19190. }