docs.go 904 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130
  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://www.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/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  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/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  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. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  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": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "币种id(明细必填)",
  3127. "name": "currencyid",
  3128. "in": "query"
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "type": "array",
  3136. "items": {
  3137. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3138. }
  3139. }
  3140. },
  3141. "500": {
  3142. "description": "Internal Server Error",
  3143. "schema": {
  3144. "$ref": "#/definitions/app.Response"
  3145. }
  3146. }
  3147. }
  3148. }
  3149. },
  3150. "/Ermcp3/QryAreaStockReport": {
  3151. "get": {
  3152. "security": [
  3153. {
  3154. "ApiKeyAuth": []
  3155. }
  3156. ],
  3157. "produces": [
  3158. "application/json"
  3159. ],
  3160. "tags": [
  3161. "企业风险管理v3(app)"
  3162. ],
  3163. "summary": "查询库存报表",
  3164. "parameters": [
  3165. {
  3166. "type": "integer",
  3167. "description": "用户ID",
  3168. "name": "userid",
  3169. "in": "query",
  3170. "required": true
  3171. },
  3172. {
  3173. "type": "integer",
  3174. "description": "查询类型 1-报表 2-报表明细",
  3175. "name": "querytype",
  3176. "in": "query",
  3177. "required": true
  3178. },
  3179. {
  3180. "type": "integer",
  3181. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3182. "name": "cycletype",
  3183. "in": "query",
  3184. "required": true
  3185. },
  3186. {
  3187. "type": "string",
  3188. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3189. "name": "cycletime",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "string",
  3195. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3196. "name": "sumfields",
  3197. "in": "query"
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "品种ID",
  3202. "name": "deliverygoodsid",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品类ID",
  3208. "name": "wrstandardid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品牌ID",
  3214. "name": "spotgoodsbrandid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "仓库ID",
  3220. "name": "warehouseinfoid",
  3221. "in": "query"
  3222. }
  3223. ],
  3224. "responses": {
  3225. "200": {
  3226. "description": "OK",
  3227. "schema": {
  3228. "type": "array",
  3229. "items": {
  3230. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3231. }
  3232. }
  3233. },
  3234. "500": {
  3235. "description": "Internal Server Error",
  3236. "schema": {
  3237. "$ref": "#/definitions/app.Response"
  3238. }
  3239. }
  3240. }
  3241. }
  3242. },
  3243. "/Ermcp3/QryAreaSumPL": {
  3244. "get": {
  3245. "security": [
  3246. {
  3247. "ApiKeyAuth": []
  3248. }
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "企业风险管理v3(app)"
  3255. ],
  3256. "summary": "查询汇总损益表",
  3257. "parameters": [
  3258. {
  3259. "type": "integer",
  3260. "description": "用户ID",
  3261. "name": "userid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "查询类型 1-报表 2-报表明细",
  3268. "name": "querytype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "integer",
  3274. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3275. "name": "cycletype",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3282. "name": "cycletime",
  3283. "in": "query",
  3284. "required": true
  3285. },
  3286. {
  3287. "type": "integer",
  3288. "description": "币种id(明细必填)",
  3289. "name": "currencyid",
  3290. "in": "query"
  3291. }
  3292. ],
  3293. "responses": {
  3294. "200": {
  3295. "description": "OK",
  3296. "schema": {
  3297. "type": "array",
  3298. "items": {
  3299. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3300. }
  3301. }
  3302. },
  3303. "500": {
  3304. "description": "Internal Server Error",
  3305. "schema": {
  3306. "$ref": "#/definitions/app.Response"
  3307. }
  3308. }
  3309. }
  3310. }
  3311. },
  3312. "/Ermcp3/QryFinanceReport": {
  3313. "get": {
  3314. "security": [
  3315. {
  3316. "ApiKeyAuth": []
  3317. }
  3318. ],
  3319. "produces": [
  3320. "application/json"
  3321. ],
  3322. "tags": [
  3323. "企业风险管理v3(app)"
  3324. ],
  3325. "summary": "查询财务报表",
  3326. "parameters": [
  3327. {
  3328. "type": "integer",
  3329. "description": "用户ID",
  3330. "name": "userid",
  3331. "in": "query",
  3332. "required": true
  3333. },
  3334. {
  3335. "type": "integer",
  3336. "description": "查询类型 1-报表 2-报表明细",
  3337. "name": "querytype",
  3338. "in": "query",
  3339. "required": true
  3340. },
  3341. {
  3342. "type": "integer",
  3343. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3344. "name": "cycletype",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "string",
  3350. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3351. "name": "cycletime",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "币种id(报表明细必填)",
  3358. "name": "currencyid",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "string",
  3363. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3364. "name": "sumfields",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3375. }
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/Ermcp3/QueryAreaStock": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "企业风险管理v3(app)"
  3399. ],
  3400. "summary": "查询机构库存(库存管理/当前库存)",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "用户ID",
  3405. "name": "userid",
  3406. "in": "query",
  3407. "required": true
  3408. }
  3409. ],
  3410. "responses": {
  3411. "200": {
  3412. "description": "OK",
  3413. "schema": {
  3414. "type": "array",
  3415. "items": {
  3416. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3417. }
  3418. }
  3419. },
  3420. "500": {
  3421. "description": "Internal Server Error",
  3422. "schema": {
  3423. "$ref": "#/definitions/app.Response"
  3424. }
  3425. }
  3426. }
  3427. }
  3428. },
  3429. "/Ermcp3/QueryAreaStockApply": {
  3430. "get": {
  3431. "security": [
  3432. {
  3433. "ApiKeyAuth": []
  3434. }
  3435. ],
  3436. "produces": [
  3437. "application/json"
  3438. ],
  3439. "tags": [
  3440. "企业风险管理v3(app)"
  3441. ],
  3442. "summary": "查询库存申请(出入库记录|库存审核)",
  3443. "parameters": [
  3444. {
  3445. "type": "integer",
  3446. "description": "用户ID",
  3447. "name": "userid",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "用户类型 2-机构 7-企业成员",
  3454. "name": "usertype",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "现货商品ID",
  3460. "name": "deliverygoodsid",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "string",
  3465. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3466. "name": "inouttype",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "合同ID",
  3472. "name": "spotcontractid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "品类ID",
  3478. "name": "wrstandardid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品牌ID",
  3484. "name": "spotgoodsbrandid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "仓库ID",
  3490. "name": "warehouseinfoid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "string",
  3495. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3496. "name": "applystatus",
  3497. "in": "query"
  3498. }
  3499. ],
  3500. "responses": {
  3501. "200": {
  3502. "description": "OK",
  3503. "schema": {
  3504. "type": "array",
  3505. "items": {
  3506. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3507. }
  3508. }
  3509. },
  3510. "500": {
  3511. "description": "Internal Server Error",
  3512. "schema": {
  3513. "$ref": "#/definitions/app.Response"
  3514. }
  3515. }
  3516. }
  3517. }
  3518. },
  3519. "/Ermcp3/QueryAreaStockApplySum": {
  3520. "get": {
  3521. "security": [
  3522. {
  3523. "ApiKeyAuth": []
  3524. }
  3525. ],
  3526. "produces": [
  3527. "application/json"
  3528. ],
  3529. "tags": [
  3530. "企业风险管理v3(app)"
  3531. ],
  3532. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3533. "parameters": [
  3534. {
  3535. "type": "integer",
  3536. "description": "合同ID",
  3537. "name": "spotcontractid",
  3538. "in": "query"
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "type": "array",
  3546. "items": {
  3547. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3548. }
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/Ermcp3/QueryDGFactoryItem": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "企业风险管理v3(app)"
  3572. ],
  3573. "summary": "查询品种要素定义项",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户id",
  3578. "name": "userid",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "用户类型 2-机构 7-企业成员",
  3584. "name": "usertype",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3590. "name": "dgfactoryitemid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "现货品种ID",
  3596. "name": "deliverygoodsid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "要素项类型",
  3602. "name": "dgfactoryitemtypeid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "顺序",
  3608. "name": "orderindex",
  3609. "in": "query"
  3610. }
  3611. ],
  3612. "responses": {
  3613. "200": {
  3614. "description": "OK",
  3615. "schema": {
  3616. "type": "array",
  3617. "items": {
  3618. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3619. }
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Ermcp3/QueryDeliveryGoods": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "企业风险管理v3(app)"
  3643. ],
  3644. "summary": "查询现货商品",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "用户id",
  3649. "name": "userid",
  3650. "in": "query",
  3651. "required": true
  3652. },
  3653. {
  3654. "type": "integer",
  3655. "description": "用户类型 2-机构 7-企业成员",
  3656. "name": "usertype",
  3657. "in": "query"
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3662. "name": "excludecfg",
  3663. "in": "query"
  3664. }
  3665. ],
  3666. "responses": {
  3667. "200": {
  3668. "description": "OK",
  3669. "schema": {
  3670. "type": "array",
  3671. "items": {
  3672. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3673. }
  3674. }
  3675. },
  3676. "500": {
  3677. "description": "Internal Server Error",
  3678. "schema": {
  3679. "$ref": "#/definitions/app.Response"
  3680. }
  3681. }
  3682. }
  3683. }
  3684. },
  3685. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3686. "get": {
  3687. "security": [
  3688. {
  3689. "ApiKeyAuth": []
  3690. }
  3691. ],
  3692. "produces": [
  3693. "application/json"
  3694. ],
  3695. "tags": [
  3696. "企业风险管理v3(app)"
  3697. ],
  3698. "summary": "查询现货商品详情",
  3699. "parameters": [
  3700. {
  3701. "type": "integer",
  3702. "description": "用户id",
  3703. "name": "userid",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "用户类型 2-机构 7-企业成员",
  3710. "name": "usertype",
  3711. "in": "query"
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "现货商品id",
  3716. "name": "deliverygoodsid",
  3717. "in": "query"
  3718. }
  3719. ],
  3720. "responses": {
  3721. "200": {
  3722. "description": "OK",
  3723. "schema": {
  3724. "type": "array",
  3725. "items": {
  3726. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3727. }
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/Ermcp3/QueryExposureDetail": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "企业风险管理v3(app)"
  3751. ],
  3752. "summary": "查询敞口现货明细",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "用户id",
  3757. "name": "userid",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "用户类型 2-机构 7-企业成员",
  3764. "name": "usertype",
  3765. "in": "query"
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "套保商品",
  3770. "name": "middlegoodsid",
  3771. "in": "query",
  3772. "required": true
  3773. }
  3774. ],
  3775. "responses": {
  3776. "200": {
  3777. "description": "OK",
  3778. "schema": {
  3779. "type": "array",
  3780. "items": {
  3781. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3782. }
  3783. }
  3784. },
  3785. "500": {
  3786. "description": "Internal Server Error",
  3787. "schema": {
  3788. "$ref": "#/definitions/app.Response"
  3789. }
  3790. }
  3791. }
  3792. }
  3793. },
  3794. "/Ermcp3/QueryExposureSpot": {
  3795. "get": {
  3796. "security": [
  3797. {
  3798. "ApiKeyAuth": []
  3799. }
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "企业风险管理v3(app)"
  3806. ],
  3807. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "用户id",
  3812. "name": "userid",
  3813. "in": "query",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "用户类型 2-机构 7-企业成员",
  3819. "name": "usertype",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QueryExposureSpotDetail": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户id",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "用户类型 2-机构 7-企业成员",
  3867. "name": "usertype",
  3868. "in": "query"
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "现货品种ID",
  3873. "name": "deliverygoodsid",
  3874. "in": "query",
  3875. "required": true
  3876. }
  3877. ],
  3878. "responses": {
  3879. "200": {
  3880. "description": "OK",
  3881. "schema": {
  3882. "type": "array",
  3883. "items": {
  3884. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3885. }
  3886. }
  3887. },
  3888. "500": {
  3889. "description": "Internal Server Error",
  3890. "schema": {
  3891. "$ref": "#/definitions/app.Response"
  3892. }
  3893. }
  3894. }
  3895. }
  3896. },
  3897. "/Ermcp3/QueryGoodsGroup": {
  3898. "get": {
  3899. "security": [
  3900. {
  3901. "ApiKeyAuth": []
  3902. }
  3903. ],
  3904. "produces": [
  3905. "application/json"
  3906. ],
  3907. "tags": [
  3908. "企业风险管理v3(app)"
  3909. ],
  3910. "summary": "查询期货商品组",
  3911. "parameters": [
  3912. {
  3913. "type": "integer",
  3914. "description": "用户id",
  3915. "name": "userid",
  3916. "in": "query",
  3917. "required": true
  3918. },
  3919. {
  3920. "type": "integer",
  3921. "description": "用户类型 2-机构 7-企业成员",
  3922. "name": "usertype",
  3923. "in": "query"
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "排除套保品中已关联的商品组 1-排除",
  3928. "name": "excludecfg",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp3/QueryGoodsWrstandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理v3(app)"
  3963. ],
  3964. "summary": "查询商品品类",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "用户id",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "用户类型 2-机构 7-企业成员",
  3976. "name": "usertype",
  3977. "in": "query"
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "现货商品id",
  3982. "name": "deliverygoodsid",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "type": "array",
  3991. "items": {
  3992. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3993. }
  3994. }
  3995. },
  3996. "500": {
  3997. "description": "Internal Server Error",
  3998. "schema": {
  3999. "$ref": "#/definitions/app.Response"
  4000. }
  4001. }
  4002. }
  4003. }
  4004. },
  4005. "/Ermcp3/QueryGoodsbrand": {
  4006. "get": {
  4007. "security": [
  4008. {
  4009. "ApiKeyAuth": []
  4010. }
  4011. ],
  4012. "produces": [
  4013. "application/json"
  4014. ],
  4015. "tags": [
  4016. "企业风险管理v3(app)"
  4017. ],
  4018. "summary": "查询商品品牌",
  4019. "parameters": [
  4020. {
  4021. "type": "integer",
  4022. "description": "用户id",
  4023. "name": "userid",
  4024. "in": "query",
  4025. "required": true
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "用户类型 2-机构 7-企业成员",
  4030. "name": "usertype",
  4031. "in": "query"
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "type": "array",
  4039. "items": {
  4040. "$ref": "#/definitions/models.Ermcp3Brand"
  4041. }
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "Internal Server Error",
  4046. "schema": {
  4047. "$ref": "#/definitions/app.Response"
  4048. }
  4049. }
  4050. }
  4051. }
  4052. },
  4053. "/Ermcp3/QueryHedgePlan": {
  4054. "get": {
  4055. "security": [
  4056. {
  4057. "ApiKeyAuth": []
  4058. }
  4059. ],
  4060. "produces": [
  4061. "application/json"
  4062. ],
  4063. "tags": [
  4064. "企业风险管理v3(app)"
  4065. ],
  4066. "summary": "查询套保计划",
  4067. "parameters": [
  4068. {
  4069. "type": "integer",
  4070. "description": "用户ID",
  4071. "name": "userid",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "用户类型 2-机构 7-企业成员",
  4078. "name": "usertype",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "string",
  4083. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4084. "name": "hedgeplanstatus",
  4085. "in": "query",
  4086. "required": true
  4087. }
  4088. ],
  4089. "responses": {
  4090. "200": {
  4091. "description": "OK",
  4092. "schema": {
  4093. "type": "array",
  4094. "items": {
  4095. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4096. }
  4097. }
  4098. },
  4099. "500": {
  4100. "description": "Internal Server Error",
  4101. "schema": {
  4102. "$ref": "#/definitions/app.Response"
  4103. }
  4104. }
  4105. }
  4106. }
  4107. },
  4108. "/Ermcp3/QueryMiddleGoodsDetail": {
  4109. "get": {
  4110. "security": [
  4111. {
  4112. "ApiKeyAuth": []
  4113. }
  4114. ],
  4115. "produces": [
  4116. "application/json"
  4117. ],
  4118. "tags": [
  4119. "企业风险管理v3(app)"
  4120. ],
  4121. "summary": "查询套保品种详情(套保品种/商品详情)",
  4122. "parameters": [
  4123. {
  4124. "type": "integer",
  4125. "description": "用户id",
  4126. "name": "userid",
  4127. "in": "query",
  4128. "required": true
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": "用户类型 2-机构 7-企业成员",
  4133. "name": "usertype",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "套保品种id",
  4139. "name": "middlegoodsid",
  4140. "in": "query"
  4141. }
  4142. ],
  4143. "responses": {
  4144. "200": {
  4145. "description": "OK",
  4146. "schema": {
  4147. "type": "array",
  4148. "items": {
  4149. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4150. }
  4151. }
  4152. },
  4153. "500": {
  4154. "description": "Internal Server Error",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "/Ermcp3/QuerySpotContract": {
  4163. "get": {
  4164. "security": [
  4165. {
  4166. "ApiKeyAuth": []
  4167. }
  4168. ],
  4169. "produces": [
  4170. "application/json"
  4171. ],
  4172. "tags": [
  4173. "企业风险管理v3(app)"
  4174. ],
  4175. "summary": "查询现货合同",
  4176. "parameters": [
  4177. {
  4178. "type": "integer",
  4179. "description": "用户id",
  4180. "name": "userid",
  4181. "in": "query",
  4182. "required": true
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "用户类型 2-机构 7-企业成员",
  4187. "name": "usertype",
  4188. "in": "query"
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4193. "name": "querytype",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "合同ID(SpotContractId)",
  4200. "name": "contractid",
  4201. "in": "query"
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "type": "array",
  4209. "items": {
  4210. "$ref": "#/definitions/models.Ermcp3Contract"
  4211. }
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/Ermcp3/QuerySpotContractBS": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "企业风险管理v3(app)"
  4235. ],
  4236. "summary": "查询合同(采购/销售)",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户id",
  4241. "name": "userid",
  4242. "in": "query",
  4243. "required": true
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "用户类型 2-机构 7-企业成员",
  4248. "name": "usertype",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "合同类型 1-采购, -1-销售",
  4254. "name": "contracttype",
  4255. "in": "query",
  4256. "required": true
  4257. },
  4258. {
  4259. "type": "integer",
  4260. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4261. "name": "querytype",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "合同ID(SpotContractId)",
  4268. "name": "contractid",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QuerySpotGoodsPrice": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询现货市价(现货市价)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户ID",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询现货市价详情(现货市价/详情)",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户ID",
  4351. "name": "userid",
  4352. "in": "query",
  4353. "required": true
  4354. },
  4355. {
  4356. "type": "integer",
  4357. "description": "现货商品ID",
  4358. "name": "deliverygoodsid",
  4359. "in": "query",
  4360. "required": true
  4361. },
  4362. {
  4363. "type": "integer",
  4364. "description": "品牌ID",
  4365. "name": "brandid",
  4366. "in": "query"
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品类ID",
  4371. "name": "wrstandardid",
  4372. "in": "query"
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "type": "array",
  4380. "items": {
  4381. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4382. }
  4383. }
  4384. },
  4385. "500": {
  4386. "description": "Internal Server Error",
  4387. "schema": {
  4388. "$ref": "#/definitions/app.Response"
  4389. }
  4390. }
  4391. }
  4392. }
  4393. },
  4394. "/Erms2/QueryArbitrageStrategy": {
  4395. "get": {
  4396. "security": [
  4397. {
  4398. "ApiKeyAuth": []
  4399. }
  4400. ],
  4401. "produces": [
  4402. "application/json"
  4403. ],
  4404. "tags": [
  4405. "风险管理"
  4406. ],
  4407. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4408. "parameters": [
  4409. {
  4410. "type": "integer",
  4411. "description": "账户ID",
  4412. "name": "userid",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "string",
  4418. "description": "商品组ID(品种ID)",
  4419. "name": "goodsgroupid",
  4420. "in": "query"
  4421. }
  4422. ],
  4423. "responses": {
  4424. "200": {
  4425. "description": "OK",
  4426. "schema": {
  4427. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4428. }
  4429. },
  4430. "500": {
  4431. "description": "Internal Server Error",
  4432. "schema": {
  4433. "$ref": "#/definitions/app.Response"
  4434. }
  4435. }
  4436. }
  4437. }
  4438. },
  4439. "/Erms2/QueryInnerTradeDetail": {
  4440. "get": {
  4441. "security": [
  4442. {
  4443. "ApiKeyAuth": []
  4444. }
  4445. ],
  4446. "produces": [
  4447. "application/json"
  4448. ],
  4449. "tags": [
  4450. "风险管理"
  4451. ],
  4452. "summary": "查询内部成交单信息",
  4453. "parameters": [
  4454. {
  4455. "type": "integer",
  4456. "description": "资金账户",
  4457. "name": "accountid",
  4458. "in": "query",
  4459. "required": true
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Erms2/QuerySpotContract": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "风险管理"
  4490. ],
  4491. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "策略申请ID",
  4496. "name": "asapplyid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货合同ID",
  4503. "name": "spotcontractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/Erms3/AddErms2ASApply": {
  4524. "post": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. }
  4529. ],
  4530. "produces": [
  4531. "application/json"
  4532. ],
  4533. "tags": [
  4534. "风险管理v3"
  4535. ],
  4536. "summary": "新增期现套利业务申请",
  4537. "parameters": [
  4538. {
  4539. "description": "申请参数",
  4540. "name": "jsonBody",
  4541. "in": "body",
  4542. "required": true,
  4543. "schema": {
  4544. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4545. }
  4546. }
  4547. ],
  4548. "responses": {
  4549. "200": {
  4550. "description": "OK",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. },
  4555. "500": {
  4556. "description": "Internal Server Error",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/Erms3/AddErms2SpotTradeApply": {
  4565. "post": {
  4566. "security": [
  4567. {
  4568. "ApiKeyAuth": []
  4569. }
  4570. ],
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "风险管理v3"
  4576. ],
  4577. "summary": "新增现货贸易业务申请",
  4578. "parameters": [
  4579. {
  4580. "description": "申请参数",
  4581. "name": "jsonBody",
  4582. "in": "body",
  4583. "required": true,
  4584. "schema": {
  4585. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4586. }
  4587. }
  4588. ],
  4589. "responses": {
  4590. "200": {
  4591. "description": "OK",
  4592. "schema": {
  4593. "$ref": "#/definitions/app.Response"
  4594. }
  4595. },
  4596. "500": {
  4597. "description": "Internal Server Error",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. }
  4602. }
  4603. }
  4604. },
  4605. "/Erms3/AddSpotContractApply": {
  4606. "post": {
  4607. "security": [
  4608. {
  4609. "ApiKeyAuth": []
  4610. }
  4611. ],
  4612. "produces": [
  4613. "application/json"
  4614. ],
  4615. "tags": [
  4616. "风险管理v3"
  4617. ],
  4618. "summary": "新增现货合同申请",
  4619. "parameters": [
  4620. {
  4621. "description": "申请参数",
  4622. "name": "jsonBody",
  4623. "in": "body",
  4624. "required": true,
  4625. "schema": {
  4626. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4627. }
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/Erms3/AddUserInfoApply": {
  4647. "post": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "produces": [
  4654. "application/json"
  4655. ],
  4656. "tags": [
  4657. "风险管理v3"
  4658. ],
  4659. "summary": "新增客户申请",
  4660. "parameters": [
  4661. {
  4662. "description": "用户信息",
  4663. "name": "jsonBody",
  4664. "in": "body",
  4665. "required": true,
  4666. "schema": {
  4667. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4668. }
  4669. }
  4670. ],
  4671. "responses": {
  4672. "200": {
  4673. "description": "OK",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. },
  4678. "500": {
  4679. "description": "Internal Server Error",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. }
  4684. }
  4685. }
  4686. },
  4687. "/Erms3/DeleteUserInfoApply": {
  4688. "get": {
  4689. "security": [
  4690. {
  4691. "ApiKeyAuth": []
  4692. }
  4693. ],
  4694. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4695. "produces": [
  4696. "application/json"
  4697. ],
  4698. "tags": [
  4699. "风险管理v3"
  4700. ],
  4701. "summary": "删除客户申请",
  4702. "parameters": [
  4703. {
  4704. "type": "integer",
  4705. "description": "用户ID",
  4706. "name": "userID",
  4707. "in": "query",
  4708. "required": true
  4709. }
  4710. ],
  4711. "responses": {
  4712. "200": {
  4713. "description": "OK",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Erms3/ModifyUserInfoApply": {
  4728. "post": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "风险管理v3"
  4740. ],
  4741. "summary": "修改客户申请",
  4742. "parameters": [
  4743. {
  4744. "description": "用户信息",
  4745. "name": "jsonBody",
  4746. "in": "body",
  4747. "required": true,
  4748. "schema": {
  4749. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4750. }
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Erms3/QueryBusinessInfo": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "风险管理v3"
  4781. ],
  4782. "summary": "查询业务表单数据",
  4783. "parameters": [
  4784. {
  4785. "type": "string",
  4786. "description": "资金账号ID列表,用逗号分隔",
  4787. "name": "accountids",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "状态,0为未结束 1为已结束",
  4794. "name": "status",
  4795. "in": "query",
  4796. "required": true
  4797. }
  4798. ],
  4799. "responses": {
  4800. "200": {
  4801. "description": "OK",
  4802. "schema": {
  4803. "type": "array",
  4804. "items": {
  4805. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4806. }
  4807. }
  4808. },
  4809. "500": {
  4810. "description": "Internal Server Error",
  4811. "schema": {
  4812. "$ref": "#/definitions/app.Response"
  4813. }
  4814. }
  4815. }
  4816. }
  4817. },
  4818. "/Erms3/QueryPendingAuditContract": {
  4819. "get": {
  4820. "security": [
  4821. {
  4822. "ApiKeyAuth": []
  4823. }
  4824. ],
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "风险管理v3"
  4830. ],
  4831. "summary": "查询待审核合同",
  4832. "parameters": [
  4833. {
  4834. "type": "string",
  4835. "description": "资金账号ID列表,逗号隔开",
  4836. "name": "accountids",
  4837. "in": "query",
  4838. "required": true
  4839. },
  4840. {
  4841. "type": "integer",
  4842. "description": "合同类型 1-采购 -1-销售",
  4843. "name": "contracttype",
  4844. "in": "query",
  4845. "required": true
  4846. },
  4847. {
  4848. "type": "integer",
  4849. "description": "合同模式 1-普通 2-回购",
  4850. "name": "contractmode",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Erms3/QueryPendingBusiness": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "风险管理v3"
  4886. ],
  4887. "summary": "查询待审核基差贸易业务",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "资金账号ID列表,逗号隔开",
  4892. "name": "accountids",
  4893. "in": "query",
  4894. "required": true
  4895. }
  4896. ],
  4897. "responses": {
  4898. "200": {
  4899. "description": "OK",
  4900. "schema": {
  4901. "type": "array",
  4902. "items": {
  4903. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4904. }
  4905. }
  4906. },
  4907. "500": {
  4908. "description": "Internal Server Error",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. }
  4913. }
  4914. }
  4915. },
  4916. "/Erms3/QuerySpotContractAppleForm": {
  4917. "get": {
  4918. "security": [
  4919. {
  4920. "ApiKeyAuth": []
  4921. }
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "风险管理v3"
  4928. ],
  4929. "summary": "查询合同申请表单数据",
  4930. "parameters": [
  4931. {
  4932. "type": "integer",
  4933. "description": "登录账号",
  4934. "name": "loginID",
  4935. "in": "query",
  4936. "required": true
  4937. }
  4938. ],
  4939. "responses": {
  4940. "200": {
  4941. "description": "OK",
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4944. }
  4945. },
  4946. "500": {
  4947. "description": "Internal Server Error",
  4948. "schema": {
  4949. "$ref": "#/definitions/app.Response"
  4950. }
  4951. }
  4952. }
  4953. }
  4954. },
  4955. "/Erms3/QuerySpotContractDetail": {
  4956. "get": {
  4957. "security": [
  4958. {
  4959. "ApiKeyAuth": []
  4960. }
  4961. ],
  4962. "produces": [
  4963. "application/json"
  4964. ],
  4965. "tags": [
  4966. "风险管理v3"
  4967. ],
  4968. "summary": "查询合同详细信息",
  4969. "parameters": [
  4970. {
  4971. "type": "string",
  4972. "description": "资金账号ID列表,用逗号分隔",
  4973. "name": "accountids",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "合同类型,1为采购合同 -1为销售合同",
  4980. "name": "contracttype",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "合同模式,1为普通合同 2为回购销售合同",
  4987. "name": "contractmode",
  4988. "in": "query",
  4989. "required": true
  4990. },
  4991. {
  4992. "type": "integer",
  4993. "description": "状态,0为履约中 1为已完成",
  4994. "name": "status",
  4995. "in": "query",
  4996. "required": true
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/QueryUserInfoApplies": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "客户申请信息查询",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "页码",
  5036. "name": "page",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "每页条数",
  5042. "name": "pagesize",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "string",
  5047. "description": "客户名称,支持模糊查询",
  5048. "name": "userName",
  5049. "in": "query"
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/Erms3/QueryUserInfos": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "produces": [
  5076. "application/json"
  5077. ],
  5078. "tags": [
  5079. "风险管理v3"
  5080. ],
  5081. "summary": "客户信息查询",
  5082. "parameters": [
  5083. {
  5084. "type": "integer",
  5085. "description": "页码",
  5086. "name": "page",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "每页条数",
  5092. "name": "pagesize",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "string",
  5097. "description": "客户名称,支持模糊查询",
  5098. "name": "userName",
  5099. "in": "query"
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/HSBY/GetHsbyMyCount": {
  5119. "get": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "description": "说明: 不包括已完成的数量。",
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "定制【海商报业】"
  5131. ],
  5132. "summary": "获取我的订单与包裹数量",
  5133. "parameters": [
  5134. {
  5135. "type": "string",
  5136. "description": "资金账户列表,格式:1,2,3",
  5137. "name": "accountIDs",
  5138. "in": "query",
  5139. "required": true
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5147. }
  5148. },
  5149. "500": {
  5150. "description": "Internal Server Error",
  5151. "schema": {
  5152. "$ref": "#/definitions/app.Response"
  5153. }
  5154. }
  5155. }
  5156. }
  5157. },
  5158. "/HSBY/QueryClientFixedADConfigs": {
  5159. "get": {
  5160. "security": [
  5161. {
  5162. "ApiKeyAuth": []
  5163. }
  5164. ],
  5165. "produces": [
  5166. "application/json"
  5167. ],
  5168. "tags": [
  5169. "定制【海商报业】"
  5170. ],
  5171. "summary": "获取终端固定广告配置",
  5172. "responses": {
  5173. "200": {
  5174. "description": "OK",
  5175. "schema": {
  5176. "$ref": "#/definitions/models.Clientfixedadconfig"
  5177. }
  5178. },
  5179. "500": {
  5180. "description": "Internal Server Error",
  5181. "schema": {
  5182. "$ref": "#/definitions/app.Response"
  5183. }
  5184. }
  5185. }
  5186. }
  5187. },
  5188. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5189. "get": {
  5190. "security": [
  5191. {
  5192. "ApiKeyAuth": []
  5193. }
  5194. ],
  5195. "produces": [
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "定制【海商报业】"
  5200. ],
  5201. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5202. "parameters": [
  5203. {
  5204. "type": "integer",
  5205. "description": "页码",
  5206. "name": "page",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "每页条数",
  5212. "name": "pagesize",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "资金账户列表,格式:1,2,3",
  5218. "name": "accountIDs",
  5219. "in": "query",
  5220. "required": true
  5221. }
  5222. ],
  5223. "responses": {
  5224. "200": {
  5225. "description": "OK",
  5226. "schema": {
  5227. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5228. }
  5229. },
  5230. "500": {
  5231. "description": "Internal Server Error",
  5232. "schema": {
  5233. "$ref": "#/definitions/app.Response"
  5234. }
  5235. }
  5236. }
  5237. }
  5238. },
  5239. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5240. "get": {
  5241. "security": [
  5242. {
  5243. "ApiKeyAuth": []
  5244. }
  5245. ],
  5246. "description": "说明:查询结果已按委托价格和委托时间排序",
  5247. "produces": [
  5248. "application/json"
  5249. ],
  5250. "tags": [
  5251. "定制【海商报业】"
  5252. ],
  5253. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5254. "parameters": [
  5255. {
  5256. "type": "integer",
  5257. "description": "商品ID",
  5258. "name": "goodsID",
  5259. "in": "query",
  5260. "required": true
  5261. },
  5262. {
  5263. "type": "string",
  5264. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5265. "name": "accountIDs",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5271. "name": "buyOrSell",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "number",
  5276. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5277. "name": "price",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "档位,不传则默认为3档",
  5283. "name": "speed",
  5284. "in": "query"
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5292. }
  5293. },
  5294. "500": {
  5295. "description": "Internal Server Error",
  5296. "schema": {
  5297. "$ref": "#/definitions/app.Response"
  5298. }
  5299. }
  5300. }
  5301. }
  5302. },
  5303. "/HSBY/QueryHsbyListingGoodsDetail": {
  5304. "get": {
  5305. "security": [
  5306. {
  5307. "ApiKeyAuth": []
  5308. }
  5309. ],
  5310. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "定制【海商报业】"
  5316. ],
  5317. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "商品ID",
  5322. "name": "goodsID",
  5323. "in": "query",
  5324. "required": true
  5325. },
  5326. {
  5327. "type": "integer",
  5328. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5329. "name": "accountID",
  5330. "in": "query"
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5338. }
  5339. },
  5340. "500": {
  5341. "description": "Internal Server Error",
  5342. "schema": {
  5343. "$ref": "#/definitions/app.Response"
  5344. }
  5345. }
  5346. }
  5347. }
  5348. },
  5349. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5350. "get": {
  5351. "security": [
  5352. {
  5353. "ApiKeyAuth": []
  5354. }
  5355. ],
  5356. "produces": [
  5357. "application/json"
  5358. ],
  5359. "tags": [
  5360. "定制【海商报业】"
  5361. ],
  5362. "summary": "查询三级市场(商城)商品信息详情",
  5363. "parameters": [
  5364. {
  5365. "type": "integer",
  5366. "description": "委托单号",
  5367. "name": "orderID",
  5368. "in": "query",
  5369. "required": true
  5370. },
  5371. {
  5372. "type": "integer",
  5373. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5374. "name": "accountID",
  5375. "in": "query"
  5376. }
  5377. ],
  5378. "responses": {
  5379. "200": {
  5380. "description": "OK",
  5381. "schema": {
  5382. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5383. }
  5384. },
  5385. "500": {
  5386. "description": "Internal Server Error",
  5387. "schema": {
  5388. "$ref": "#/definitions/app.Response"
  5389. }
  5390. }
  5391. }
  5392. }
  5393. },
  5394. "/HSBY/QueryHsbyMarketGoodses": {
  5395. "get": {
  5396. "security": [
  5397. {
  5398. "ApiKeyAuth": []
  5399. }
  5400. ],
  5401. "produces": [
  5402. "application/json"
  5403. ],
  5404. "tags": [
  5405. "定制【海商报业】"
  5406. ],
  5407. "summary": "查询特卖商品列表(三级商城)",
  5408. "parameters": [
  5409. {
  5410. "type": "integer",
  5411. "description": "页码",
  5412. "name": "page",
  5413. "in": "query"
  5414. },
  5415. {
  5416. "type": "integer",
  5417. "description": "每页条数",
  5418. "name": "pagesize",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "string",
  5423. "description": "市场ID列表,格式:1,2,3",
  5424. "name": "marketIDs",
  5425. "in": "query",
  5426. "required": true
  5427. },
  5428. {
  5429. "type": "integer",
  5430. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5431. "name": "accountID",
  5432. "in": "query",
  5433. "required": true
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "类别ID",
  5438. "name": "categoryID",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5444. "name": "goodsIDs",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5450. "name": "couponTypeID",
  5451. "in": "query"
  5452. }
  5453. ],
  5454. "responses": {
  5455. "200": {
  5456. "description": "OK",
  5457. "schema": {
  5458. "$ref": "#/definitions/models.HsbyMarketGoods"
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/HSBY/QueryHsbyMarkets": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "produces": [
  5478. "application/json"
  5479. ],
  5480. "tags": [
  5481. "定制【海商报业】"
  5482. ],
  5483. "summary": "查询海商报业相关市场信息",
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/models.HsbyMarketInfo"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5508. "produces": [
  5509. "application/json"
  5510. ],
  5511. "tags": [
  5512. "定制【海商报业】"
  5513. ],
  5514. "summary": "查询“我的订单”信息",
  5515. "parameters": [
  5516. {
  5517. "type": "string",
  5518. "description": "资金账户列表,格式:1,2,3",
  5519. "name": "accountIDs",
  5520. "in": "query",
  5521. "required": true
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/HSBY/QueryHsbyMyGoods": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "定制【海商报业】"
  5553. ],
  5554. "summary": "查询“我的商品”信息",
  5555. "parameters": [
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户列表,格式:1,2,3",
  5559. "name": "accountIDs",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/models.HsbyMyGoods"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/HSBY/QueryHsbyMyPackages": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "定制【海商报业】"
  5592. ],
  5593. "summary": "查询我的包裹信息",
  5594. "parameters": [
  5595. {
  5596. "type": "string",
  5597. "description": "资金账户列表,格式:1,2,3",
  5598. "name": "accountIDs",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5605. "name": "takeOrderStatus",
  5606. "in": "query"
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/models.HsbyMyPackage"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/HSBY/QueryHsbyPreGoodsDetail": {
  5626. "get": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "定制【海商报业】"
  5637. ],
  5638. "summary": "查询一级市场(预售)商品信息详情",
  5639. "parameters": [
  5640. {
  5641. "type": "integer",
  5642. "description": "商品ID",
  5643. "name": "goodsID",
  5644. "in": "query",
  5645. "required": true
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "资金账户,主要用于获取预售商品购买上限",
  5650. "name": "accountID",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5659. }
  5660. },
  5661. "500": {
  5662. "description": "Internal Server Error",
  5663. "schema": {
  5664. "$ref": "#/definitions/app.Response"
  5665. }
  5666. }
  5667. }
  5668. }
  5669. },
  5670. "/HSBY/QueryHsbyPreGoodses": {
  5671. "get": {
  5672. "security": [
  5673. {
  5674. "ApiKeyAuth": []
  5675. }
  5676. ],
  5677. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5678. "produces": [
  5679. "application/json"
  5680. ],
  5681. "tags": [
  5682. "定制【海商报业】"
  5683. ],
  5684. "summary": "查询新品上市商品列表(一级市场预售)",
  5685. "parameters": [
  5686. {
  5687. "type": "integer",
  5688. "description": "页码",
  5689. "name": "page",
  5690. "in": "query"
  5691. },
  5692. {
  5693. "type": "integer",
  5694. "description": "每页条数",
  5695. "name": "pagesize",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "市场ID列表,格式:1,2,3",
  5701. "name": "marketIDs",
  5702. "in": "query",
  5703. "required": true
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "目的地(省)ID",
  5708. "name": "descProvinceID",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(市)ID",
  5714. "name": "descCityID",
  5715. "in": "query"
  5716. }
  5717. ],
  5718. "responses": {
  5719. "200": {
  5720. "description": "OK",
  5721. "schema": {
  5722. "$ref": "#/definitions/models.HsbyPreGoods"
  5723. }
  5724. },
  5725. "500": {
  5726. "description": "Internal Server Error",
  5727. "schema": {
  5728. "$ref": "#/definitions/app.Response"
  5729. }
  5730. }
  5731. }
  5732. }
  5733. },
  5734. "/HSBY/QueryHsbySellMyDetails": {
  5735. "get": {
  5736. "security": [
  5737. {
  5738. "ApiKeyAuth": []
  5739. }
  5740. ],
  5741. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5742. "produces": [
  5743. "application/json"
  5744. ],
  5745. "tags": [
  5746. "定制【海商报业】"
  5747. ],
  5748. "summary": "查询\"我的闲置\"单据信息",
  5749. "parameters": [
  5750. {
  5751. "type": "integer",
  5752. "description": "页码",
  5753. "name": "page",
  5754. "in": "query"
  5755. },
  5756. {
  5757. "type": "integer",
  5758. "description": "每页条数",
  5759. "name": "pagesize",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "string",
  5764. "description": "资金账户列表,格式:1,2,3",
  5765. "name": "accountIDs",
  5766. "in": "query",
  5767. "required": true
  5768. },
  5769. {
  5770. "type": "integer",
  5771. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5772. "name": "orderType",
  5773. "in": "query"
  5774. }
  5775. ],
  5776. "responses": {
  5777. "200": {
  5778. "description": "OK",
  5779. "schema": {
  5780. "$ref": "#/definitions/models.HsbySellMyDetail"
  5781. }
  5782. },
  5783. "500": {
  5784. "description": "Internal Server Error",
  5785. "schema": {
  5786. "$ref": "#/definitions/app.Response"
  5787. }
  5788. }
  5789. }
  5790. }
  5791. },
  5792. "/HSBY/QueryHsbyTopGoodses": {
  5793. "get": {
  5794. "security": [
  5795. {
  5796. "ApiKeyAuth": []
  5797. }
  5798. ],
  5799. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5800. "produces": [
  5801. "application/json"
  5802. ],
  5803. "tags": [
  5804. "定制【海商报业】"
  5805. ],
  5806. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5807. "parameters": [
  5808. {
  5809. "type": "integer",
  5810. "description": "页码",
  5811. "name": "page",
  5812. "in": "query"
  5813. },
  5814. {
  5815. "type": "integer",
  5816. "description": "每页条数",
  5817. "name": "pagesize",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "string",
  5822. "description": "市场ID列表,格式:1,2,3",
  5823. "name": "marketIDs",
  5824. "in": "query",
  5825. "required": true
  5826. },
  5827. {
  5828. "type": "integer",
  5829. "description": "目的地(省)ID",
  5830. "name": "descProvinceID",
  5831. "in": "query"
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(市)ID",
  5836. "name": "descCityID",
  5837. "in": "query"
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.HsbyTopGoods"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5864. "produces": [
  5865. "application/json"
  5866. ],
  5867. "tags": [
  5868. "定制【海商报业】"
  5869. ],
  5870. "summary": "查询游客三级市场(商城)商品信息详情",
  5871. "parameters": [
  5872. {
  5873. "type": "integer",
  5874. "description": "商品ID",
  5875. "name": "goodsID",
  5876. "in": "query",
  5877. "required": true
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "OK",
  5883. "schema": {
  5884. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5885. }
  5886. },
  5887. "500": {
  5888. "description": "Internal Server Error",
  5889. "schema": {
  5890. "$ref": "#/definitions/app.Response"
  5891. }
  5892. }
  5893. }
  5894. }
  5895. },
  5896. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5897. "get": {
  5898. "security": [
  5899. {
  5900. "ApiKeyAuth": []
  5901. }
  5902. ],
  5903. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "定制【海商报业】"
  5909. ],
  5910. "summary": "查询游客特卖商品列表(三级商城)",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "页码",
  5915. "name": "page",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "每页条数",
  5921. "name": "pagesize",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "string",
  5926. "description": "市场ID列表,格式:1,2,3",
  5927. "name": "marketIDs",
  5928. "in": "query",
  5929. "required": true
  5930. },
  5931. {
  5932. "type": "integer",
  5933. "description": "类别ID",
  5934. "name": "categoryID",
  5935. "in": "query"
  5936. },
  5937. {
  5938. "type": "string",
  5939. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5940. "name": "goodsIDs",
  5941. "in": "query"
  5942. }
  5943. ],
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.HsbyMarketGoods"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/HSBY/QueryMyCollectionOrders": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "produces": [
  5968. "application/json"
  5969. ],
  5970. "tags": [
  5971. "定制【海商报业】"
  5972. ],
  5973. "summary": "我的闲置中收款信息查询",
  5974. "parameters": [
  5975. {
  5976. "type": "integer",
  5977. "description": "页码",
  5978. "name": "page",
  5979. "in": "query"
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "每页条数",
  5984. "name": "pagesize",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户,格式:1,2,3",
  5990. "name": "accountIDs",
  5991. "in": "query",
  5992. "required": true
  5993. }
  5994. ],
  5995. "responses": {
  5996. "200": {
  5997. "description": "OK",
  5998. "schema": {
  5999. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6000. }
  6001. },
  6002. "500": {
  6003. "description": "Internal Server Error",
  6004. "schema": {
  6005. "$ref": "#/definitions/app.Response"
  6006. }
  6007. }
  6008. }
  6009. }
  6010. },
  6011. "/HSBY/QueryMyCouponHolds": {
  6012. "get": {
  6013. "security": [
  6014. {
  6015. "ApiKeyAuth": []
  6016. }
  6017. ],
  6018. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6019. "produces": [
  6020. "application/json"
  6021. ],
  6022. "tags": [
  6023. "定制【海商报业】"
  6024. ],
  6025. "summary": "我的优惠卷持仓查询",
  6026. "parameters": [
  6027. {
  6028. "type": "string",
  6029. "description": "资金账户列表,格式:1,2,3",
  6030. "name": "accountIDs",
  6031. "in": "query",
  6032. "required": true
  6033. },
  6034. {
  6035. "type": "string",
  6036. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6037. "name": "holdStatus",
  6038. "in": "query"
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/models.MyCouponHold"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/HSBY/QueryMyCoupons": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【海商报业】"
  6069. ],
  6070. "summary": "我的优惠卷查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "资金账户列表,格式:1,2,3",
  6075. "name": "accountIDs",
  6076. "in": "query",
  6077. "required": true
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "商品ID, 一般与sellUserID配套传入",
  6082. "name": "goodsID",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "卖方UserID",
  6088. "name": "sellUserID",
  6089. "in": "query"
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/models.MyCoupon"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/HSBY/QueryMyPayOrders": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "定制【海商报业】"
  6120. ],
  6121. "summary": "获取我的订单中待付款信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "页码",
  6126. "name": "page",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "integer",
  6131. "description": "每页条数",
  6132. "name": "pagesize",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "string",
  6137. "description": "资金账户列表,格式:1,2,3",
  6138. "name": "accountIDs",
  6139. "in": "query",
  6140. "required": true
  6141. },
  6142. {
  6143. "type": "integer",
  6144. "description": "买方委托单号",
  6145. "name": "buyOrderID",
  6146. "in": "query"
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "卖方委托单号",
  6151. "name": "sellOrderID",
  6152. "in": "query"
  6153. }
  6154. ],
  6155. "responses": {
  6156. "200": {
  6157. "description": "OK",
  6158. "schema": {
  6159. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6160. }
  6161. },
  6162. "500": {
  6163. "description": "Internal Server Error",
  6164. "schema": {
  6165. "$ref": "#/definitions/app.Response"
  6166. }
  6167. }
  6168. }
  6169. }
  6170. },
  6171. "/HSBY/QueryMyUsedCoupon": {
  6172. "get": {
  6173. "security": [
  6174. {
  6175. "ApiKeyAuth": []
  6176. }
  6177. ],
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "定制【海商报业】"
  6183. ],
  6184. "summary": "已使用优惠卷查询",
  6185. "parameters": [
  6186. {
  6187. "type": "string",
  6188. "description": "资金账户列表,格式:1,2,3",
  6189. "name": "accountIDs",
  6190. "in": "query",
  6191. "required": true
  6192. }
  6193. ],
  6194. "responses": {
  6195. "200": {
  6196. "description": "OK",
  6197. "schema": {
  6198. "$ref": "#/definitions/models.MyUsedCoupon"
  6199. }
  6200. },
  6201. "500": {
  6202. "description": "Internal Server Error",
  6203. "schema": {
  6204. "$ref": "#/definitions/app.Response"
  6205. }
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "/HSBY/QueryProvincesAndCities": {
  6211. "get": {
  6212. "security": [
  6213. {
  6214. "ApiKeyAuth": []
  6215. }
  6216. ],
  6217. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6218. "produces": [
  6219. "application/json"
  6220. ],
  6221. "tags": [
  6222. "定制【海商报业】"
  6223. ],
  6224. "summary": "查询省市信息(不包括区)",
  6225. "parameters": [
  6226. {
  6227. "type": "integer",
  6228. "description": "省ID",
  6229. "name": "provinceID",
  6230. "in": "query"
  6231. }
  6232. ],
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/SetHsbyMyPackagesStatus": {
  6250. "post": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "设置我的包裹已收货状态",
  6263. "parameters": [
  6264. {
  6265. "type": "string",
  6266. "description": "提货单号",
  6267. "name": "takeOrderID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "资金账号",
  6274. "name": "accountID",
  6275. "in": "query",
  6276. "required": true
  6277. }
  6278. ],
  6279. "responses": {
  6280. "200": {
  6281. "description": "OK",
  6282. "schema": {
  6283. "$ref": "#/definitions/app.Response"
  6284. }
  6285. },
  6286. "500": {
  6287. "description": "Internal Server Error",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. }
  6292. }
  6293. }
  6294. },
  6295. "/Market/QueryGoodsesByLoginID": {
  6296. "get": {
  6297. "security": [
  6298. {
  6299. "ApiKeyAuth": []
  6300. }
  6301. ],
  6302. "produces": [
  6303. "application/json"
  6304. ],
  6305. "tags": [
  6306. "通用市场"
  6307. ],
  6308. "summary": "获取登录账号有权限的商品信息",
  6309. "parameters": [
  6310. {
  6311. "type": "integer",
  6312. "description": "登录账号",
  6313. "name": "loginID",
  6314. "in": "query",
  6315. "required": true
  6316. },
  6317. {
  6318. "type": "string",
  6319. "description": "市场ID列表,格式:1,2,3",
  6320. "name": "marketIDs",
  6321. "in": "query"
  6322. }
  6323. ],
  6324. "responses": {
  6325. "200": {
  6326. "description": "OK",
  6327. "schema": {
  6328. "$ref": "#/definitions/models.Goods"
  6329. }
  6330. },
  6331. "500": {
  6332. "description": "Internal Server Error",
  6333. "schema": {
  6334. "$ref": "#/definitions/app.Response"
  6335. }
  6336. }
  6337. }
  6338. }
  6339. },
  6340. "/Market/QueryMarketRun": {
  6341. "get": {
  6342. "security": [
  6343. {
  6344. "ApiKeyAuth": []
  6345. }
  6346. ],
  6347. "produces": [
  6348. "application/json"
  6349. ],
  6350. "tags": [
  6351. "通用市场"
  6352. ],
  6353. "summary": "查询市场运行信息",
  6354. "parameters": [
  6355. {
  6356. "type": "integer",
  6357. "description": "市场ID,不传返回所有",
  6358. "name": "marketID",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Marketrun"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/Market/QueryMarketsByLoginID": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "通用市场"
  6390. ],
  6391. "summary": "获取登录账号有权限的市场信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "登录账号",
  6396. "name": "loginID",
  6397. "in": "query",
  6398. "required": true
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/models.Market"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/Order/QueryHisTradeDetail": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "通用单据"
  6429. ],
  6430. "summary": "历史成交单查询(合约市场)",
  6431. "parameters": [
  6432. {
  6433. "type": "string",
  6434. "description": "资金账户 - 格式:1,2,3",
  6435. "name": "accountID",
  6436. "in": "query",
  6437. "required": true
  6438. },
  6439. {
  6440. "type": "integer",
  6441. "description": "成交单号",
  6442. "name": "tradeID",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "委托单号",
  6448. "name": "orderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "交易模式 - 格式:1,2,3",
  6454. "name": "tradeMode",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "委托单据类型",
  6460. "name": "buildType",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "成交类别 - 格式:1,2,3",
  6466. "name": "tradeType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6472. "name": "startDate",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "endDate",
  6479. "in": "query"
  6480. }
  6481. ],
  6482. "responses": {
  6483. "200": {
  6484. "description": "OK",
  6485. "schema": {
  6486. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6487. }
  6488. },
  6489. "500": {
  6490. "description": "Internal Server Error",
  6491. "schema": {
  6492. "$ref": "#/definitions/app.Response"
  6493. }
  6494. }
  6495. }
  6496. }
  6497. },
  6498. "/Order/QueryHisTradeOrderDetail": {
  6499. "get": {
  6500. "security": [
  6501. {
  6502. "ApiKeyAuth": []
  6503. }
  6504. ],
  6505. "produces": [
  6506. "application/json"
  6507. ],
  6508. "tags": [
  6509. "通用单据"
  6510. ],
  6511. "summary": "历史委托单查询请求(合约市场)",
  6512. "parameters": [
  6513. {
  6514. "type": "string",
  6515. "description": "资金账户 - 格式:1,2,3",
  6516. "name": "accountID",
  6517. "in": "query",
  6518. "required": true
  6519. },
  6520. {
  6521. "type": "string",
  6522. "description": "交易模式 - 格式:1,2,3",
  6523. "name": "tradeMode",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "委托状态 - 格式:1,2,3",
  6529. "name": "orderStatus",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "integer",
  6534. "description": "委托单号",
  6535. "name": "orderID",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "string",
  6540. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6541. "name": "startDate",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "endDate",
  6548. "in": "query"
  6549. }
  6550. ],
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/Order/QueryTradeDetail": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "produces": [
  6575. "application/json"
  6576. ],
  6577. "tags": [
  6578. "通用单据"
  6579. ],
  6580. "summary": "成交单查询(合约市场)",
  6581. "parameters": [
  6582. {
  6583. "type": "string",
  6584. "description": "资金账户 - 格式:1,2,3",
  6585. "name": "accountID",
  6586. "in": "query",
  6587. "required": true
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "成交单号",
  6592. "name": "tradeID",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单号",
  6598. "name": "orderID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "交易模式 - 格式:1,2,3",
  6604. "name": "tradeMode",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "integer",
  6609. "description": "委托单据类型",
  6610. "name": "buildType",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "string",
  6615. "description": "成交类别 - 格式:1,2,3",
  6616. "name": "tradeType",
  6617. "in": "query"
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Order/QueryTradeOrderDetail": {
  6637. "get": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "通用单据"
  6648. ],
  6649. "summary": "委托单查询请求(合约市场)",
  6650. "parameters": [
  6651. {
  6652. "type": "string",
  6653. "description": "资金账户 - 格式:1,2,3",
  6654. "name": "accountID",
  6655. "in": "query",
  6656. "required": true
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "交易模式 - 格式:1,2,3",
  6661. "name": "tradeMode",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "委托状态 - 格式:1,2,3",
  6667. "name": "orderStatus",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "委托单号",
  6673. "name": "orderID",
  6674. "in": "query"
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "OK",
  6680. "schema": {
  6681. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/Order/QueryTradePosition": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "通用单据"
  6705. ],
  6706. "summary": "持仓汇总查询(合约市场)",
  6707. "parameters": [
  6708. {
  6709. "type": "string",
  6710. "description": "资金账户 - 格式:1,2,3",
  6711. "name": "accountID",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "string",
  6717. "description": "交易模式 - 格式:1,2,3",
  6718. "name": "tradeMode",
  6719. "in": "query"
  6720. }
  6721. ],
  6722. "responses": {
  6723. "200": {
  6724. "description": "OK",
  6725. "schema": {
  6726. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6727. }
  6728. },
  6729. "500": {
  6730. "description": "Internal Server Error",
  6731. "schema": {
  6732. "$ref": "#/definitions/app.Response"
  6733. }
  6734. }
  6735. }
  6736. }
  6737. },
  6738. "/Qhj/QueryBankAccountSign": {
  6739. "get": {
  6740. "security": [
  6741. {
  6742. "ApiKeyAuth": []
  6743. }
  6744. ],
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "大连千海金"
  6750. ],
  6751. "summary": "查询签约银行信息(提现账户管理)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "用户ID",
  6756. "name": "userid",
  6757. "in": "query",
  6758. "required": true
  6759. }
  6760. ],
  6761. "responses": {
  6762. "200": {
  6763. "description": "OK",
  6764. "schema": {
  6765. "type": "array",
  6766. "items": {
  6767. "$ref": "#/definitions/models.QhjBankAccountSign"
  6768. }
  6769. }
  6770. },
  6771. "500": {
  6772. "description": "Internal Server Error",
  6773. "schema": {
  6774. "$ref": "#/definitions/app.Response"
  6775. }
  6776. }
  6777. }
  6778. }
  6779. },
  6780. "/Qhj/QueryBankInfo": {
  6781. "get": {
  6782. "security": [
  6783. {
  6784. "ApiKeyAuth": []
  6785. }
  6786. ],
  6787. "produces": [
  6788. "application/json"
  6789. ],
  6790. "tags": [
  6791. "大连千海金"
  6792. ],
  6793. "summary": "查询开户行",
  6794. "responses": {
  6795. "200": {
  6796. "description": "OK",
  6797. "schema": {
  6798. "type": "array",
  6799. "items": {
  6800. "$ref": "#/definitions/models.QhjBankInfo"
  6801. }
  6802. }
  6803. },
  6804. "500": {
  6805. "description": "Internal Server Error",
  6806. "schema": {
  6807. "$ref": "#/definitions/app.Response"
  6808. }
  6809. }
  6810. }
  6811. }
  6812. },
  6813. "/Qhj/QueryContract": {
  6814. "get": {
  6815. "security": [
  6816. {
  6817. "ApiKeyAuth": []
  6818. }
  6819. ],
  6820. "produces": [
  6821. "application/json"
  6822. ],
  6823. "tags": [
  6824. "大连千海金"
  6825. ],
  6826. "summary": "查询融资明细(合同)",
  6827. "parameters": [
  6828. {
  6829. "type": "integer",
  6830. "description": "用户ID",
  6831. "name": "userid",
  6832. "in": "query",
  6833. "required": true
  6834. },
  6835. {
  6836. "type": "integer",
  6837. "description": "scf合同id",
  6838. "name": "scfcontractid",
  6839. "in": "query"
  6840. }
  6841. ],
  6842. "responses": {
  6843. "200": {
  6844. "description": "OK",
  6845. "schema": {
  6846. "type": "array",
  6847. "items": {
  6848. "$ref": "#/definitions/models.QhjContract"
  6849. }
  6850. }
  6851. },
  6852. "500": {
  6853. "description": "Internal Server Error",
  6854. "schema": {
  6855. "$ref": "#/definitions/app.Response"
  6856. }
  6857. }
  6858. }
  6859. }
  6860. },
  6861. "/Qhj/QueryContractLog": {
  6862. "get": {
  6863. "security": [
  6864. {
  6865. "ApiKeyAuth": []
  6866. }
  6867. ],
  6868. "produces": [
  6869. "application/json"
  6870. ],
  6871. "tags": [
  6872. "大连千海金"
  6873. ],
  6874. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6875. "parameters": [
  6876. {
  6877. "type": "integer",
  6878. "description": "scf合同id",
  6879. "name": "scfcontractid",
  6880. "in": "query",
  6881. "required": true
  6882. },
  6883. {
  6884. "type": "string",
  6885. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6886. "name": "amounttype",
  6887. "in": "query"
  6888. }
  6889. ],
  6890. "responses": {
  6891. "200": {
  6892. "description": "OK",
  6893. "schema": {
  6894. "type": "array",
  6895. "items": {
  6896. "$ref": "#/definitions/models.QhjContractLog"
  6897. }
  6898. }
  6899. },
  6900. "500": {
  6901. "description": "Internal Server Error",
  6902. "schema": {
  6903. "$ref": "#/definitions/app.Response"
  6904. }
  6905. }
  6906. }
  6907. }
  6908. },
  6909. "/Qhj/QueryPickArea": {
  6910. "get": {
  6911. "security": [
  6912. {
  6913. "ApiKeyAuth": []
  6914. }
  6915. ],
  6916. "produces": [
  6917. "application/json"
  6918. ],
  6919. "tags": [
  6920. "大连千海金"
  6921. ],
  6922. "summary": "查询提货门店",
  6923. "parameters": [
  6924. {
  6925. "type": "integer",
  6926. "description": "用户ID",
  6927. "name": "userid",
  6928. "in": "query"
  6929. }
  6930. ],
  6931. "responses": {
  6932. "200": {
  6933. "description": "OK",
  6934. "schema": {
  6935. "type": "array",
  6936. "items": {
  6937. "$ref": "#/definitions/models.QhjPickArea"
  6938. }
  6939. }
  6940. },
  6941. "500": {
  6942. "description": "Internal Server Error",
  6943. "schema": {
  6944. "$ref": "#/definitions/app.Response"
  6945. }
  6946. }
  6947. }
  6948. }
  6949. },
  6950. "/Qhj/QueryPickGoods": {
  6951. "get": {
  6952. "security": [
  6953. {
  6954. "ApiKeyAuth": []
  6955. }
  6956. ],
  6957. "produces": [
  6958. "application/json"
  6959. ],
  6960. "tags": [
  6961. "大连千海金"
  6962. ],
  6963. "summary": "查询提货商品",
  6964. "parameters": [
  6965. {
  6966. "type": "string",
  6967. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6968. "name": "status",
  6969. "in": "query"
  6970. }
  6971. ],
  6972. "responses": {
  6973. "200": {
  6974. "description": "OK",
  6975. "schema": {
  6976. "type": "array",
  6977. "items": {
  6978. "$ref": "#/definitions/models.QhjPickGoods"
  6979. }
  6980. }
  6981. },
  6982. "500": {
  6983. "description": "Internal Server Error",
  6984. "schema": {
  6985. "$ref": "#/definitions/app.Response"
  6986. }
  6987. }
  6988. }
  6989. }
  6990. },
  6991. "/Qhj/QueryRSTriggerLog": {
  6992. "get": {
  6993. "security": [
  6994. {
  6995. "ApiKeyAuth": []
  6996. }
  6997. ],
  6998. "produces": [
  6999. "application/json"
  7000. ],
  7001. "tags": [
  7002. "大连千海金"
  7003. ],
  7004. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7005. "parameters": [
  7006. {
  7007. "type": "integer",
  7008. "description": "用户ID",
  7009. "name": "userid",
  7010. "in": "query",
  7011. "required": true
  7012. },
  7013. {
  7014. "type": "integer",
  7015. "description": "定投策略id",
  7016. "name": "regularlystrategyid",
  7017. "in": "query"
  7018. }
  7019. ],
  7020. "responses": {
  7021. "200": {
  7022. "description": "OK",
  7023. "schema": {
  7024. "type": "array",
  7025. "items": {
  7026. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7027. }
  7028. }
  7029. },
  7030. "500": {
  7031. "description": "Internal Server Error",
  7032. "schema": {
  7033. "$ref": "#/definitions/app.Response"
  7034. }
  7035. }
  7036. }
  7037. }
  7038. },
  7039. "/Qhj/QueryRStrategy": {
  7040. "get": {
  7041. "security": [
  7042. {
  7043. "ApiKeyAuth": []
  7044. }
  7045. ],
  7046. "produces": [
  7047. "application/json"
  7048. ],
  7049. "tags": [
  7050. "大连千海金"
  7051. ],
  7052. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7053. "parameters": [
  7054. {
  7055. "type": "integer",
  7056. "description": "用户ID",
  7057. "name": "userid",
  7058. "in": "query",
  7059. "required": true
  7060. },
  7061. {
  7062. "type": "string",
  7063. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7064. "name": "status",
  7065. "in": "query"
  7066. }
  7067. ],
  7068. "responses": {
  7069. "200": {
  7070. "description": "OK",
  7071. "schema": {
  7072. "type": "array",
  7073. "items": {
  7074. "$ref": "#/definitions/models.QhjRStrategy"
  7075. }
  7076. }
  7077. },
  7078. "500": {
  7079. "description": "Internal Server Error",
  7080. "schema": {
  7081. "$ref": "#/definitions/app.Response"
  7082. }
  7083. }
  7084. }
  7085. }
  7086. },
  7087. "/Qhj/QueryReckonPriceLog": {
  7088. "get": {
  7089. "security": [
  7090. {
  7091. "ApiKeyAuth": []
  7092. }
  7093. ],
  7094. "produces": [
  7095. "application/json"
  7096. ],
  7097. "tags": [
  7098. "大连千海金"
  7099. ],
  7100. "summary": "查询定投价(结算价)",
  7101. "parameters": [
  7102. {
  7103. "type": "integer",
  7104. "description": "商品ID",
  7105. "name": "goodsid",
  7106. "in": "query"
  7107. },
  7108. {
  7109. "type": "string",
  7110. "description": "交易日 格式(yyyymmdd)",
  7111. "name": "tradedate",
  7112. "in": "query"
  7113. }
  7114. ],
  7115. "responses": {
  7116. "200": {
  7117. "description": "OK",
  7118. "schema": {
  7119. "type": "array",
  7120. "items": {
  7121. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7122. }
  7123. }
  7124. },
  7125. "500": {
  7126. "description": "Internal Server Error",
  7127. "schema": {
  7128. "$ref": "#/definitions/app.Response"
  7129. }
  7130. }
  7131. }
  7132. }
  7133. },
  7134. "/Qhj/QueryTradeGoodsPickup": {
  7135. "get": {
  7136. "security": [
  7137. {
  7138. "ApiKeyAuth": []
  7139. }
  7140. ],
  7141. "produces": [
  7142. "application/json"
  7143. ],
  7144. "tags": [
  7145. "大连千海金"
  7146. ],
  7147. "summary": "查询提货",
  7148. "parameters": [
  7149. {
  7150. "type": "integer",
  7151. "description": "用户ID",
  7152. "name": "userid",
  7153. "in": "query",
  7154. "required": true
  7155. }
  7156. ],
  7157. "responses": {
  7158. "200": {
  7159. "description": "OK",
  7160. "schema": {
  7161. "type": "array",
  7162. "items": {
  7163. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7164. }
  7165. }
  7166. },
  7167. "500": {
  7168. "description": "Internal Server Error",
  7169. "schema": {
  7170. "$ref": "#/definitions/app.Response"
  7171. }
  7172. }
  7173. }
  7174. }
  7175. },
  7176. "/Qhj/QueryUserCollectConfig": {
  7177. "get": {
  7178. "security": [
  7179. {
  7180. "ApiKeyAuth": []
  7181. }
  7182. ],
  7183. "produces": [
  7184. "application/json"
  7185. ],
  7186. "tags": [
  7187. "大连千海金"
  7188. ],
  7189. "summary": "查询提现账户设置",
  7190. "parameters": [
  7191. {
  7192. "type": "integer",
  7193. "description": "用户ID",
  7194. "name": "userid",
  7195. "in": "query",
  7196. "required": true
  7197. }
  7198. ],
  7199. "responses": {
  7200. "200": {
  7201. "description": "OK",
  7202. "schema": {
  7203. "type": "array",
  7204. "items": {
  7205. "$ref": "#/definitions/models.UserCollectConfig"
  7206. }
  7207. }
  7208. },
  7209. "500": {
  7210. "description": "Internal Server Error",
  7211. "schema": {
  7212. "$ref": "#/definitions/app.Response"
  7213. }
  7214. }
  7215. }
  7216. }
  7217. },
  7218. "/Qhj/QueryUserReceiveInfo": {
  7219. "get": {
  7220. "security": [
  7221. {
  7222. "ApiKeyAuth": []
  7223. }
  7224. ],
  7225. "produces": [
  7226. "application/json"
  7227. ],
  7228. "tags": [
  7229. "大连千海金"
  7230. ],
  7231. "summary": "查询收货地址信息",
  7232. "parameters": [
  7233. {
  7234. "type": "integer",
  7235. "description": "用户ID",
  7236. "name": "userid",
  7237. "in": "query",
  7238. "required": true
  7239. }
  7240. ],
  7241. "responses": {
  7242. "200": {
  7243. "description": "OK",
  7244. "schema": {
  7245. "type": "array",
  7246. "items": {
  7247. "$ref": "#/definitions/models.UserReceiveInfo"
  7248. }
  7249. }
  7250. },
  7251. "500": {
  7252. "description": "Internal Server Error",
  7253. "schema": {
  7254. "$ref": "#/definitions/app.Response"
  7255. }
  7256. }
  7257. }
  7258. }
  7259. },
  7260. "/Quote/QueryHistoryDatas": {
  7261. "get": {
  7262. "security": [
  7263. {
  7264. "ApiKeyAuth": []
  7265. }
  7266. ],
  7267. "produces": [
  7268. "application/json"
  7269. ],
  7270. "tags": [
  7271. "行情服务"
  7272. ],
  7273. "summary": "查询行情历史数据",
  7274. "parameters": [
  7275. {
  7276. "type": "integer",
  7277. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7278. "name": "cycleType",
  7279. "in": "query",
  7280. "required": true
  7281. },
  7282. {
  7283. "type": "string",
  7284. "description": "商品代码",
  7285. "name": "goodsCode",
  7286. "in": "query",
  7287. "required": true
  7288. },
  7289. {
  7290. "type": "string",
  7291. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7292. "name": "startTime",
  7293. "in": "query"
  7294. },
  7295. {
  7296. "type": "string",
  7297. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7298. "name": "endTime",
  7299. "in": "query"
  7300. },
  7301. {
  7302. "type": "integer",
  7303. "description": "条数",
  7304. "name": "count",
  7305. "in": "query"
  7306. },
  7307. {
  7308. "type": "boolean",
  7309. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7310. "name": "isAsc",
  7311. "in": "query"
  7312. }
  7313. ],
  7314. "responses": {
  7315. "200": {
  7316. "description": "OK",
  7317. "schema": {
  7318. "$ref": "#/definitions/quote.HistoryData"
  7319. }
  7320. },
  7321. "500": {
  7322. "description": "Internal Server Error",
  7323. "schema": {
  7324. "$ref": "#/definitions/app.Response"
  7325. }
  7326. }
  7327. }
  7328. }
  7329. },
  7330. "/Quote/QueryHistoryTikDatas": {
  7331. "get": {
  7332. "security": [
  7333. {
  7334. "ApiKeyAuth": []
  7335. }
  7336. ],
  7337. "produces": [
  7338. "application/json"
  7339. ],
  7340. "tags": [
  7341. "行情服务"
  7342. ],
  7343. "summary": "查询行情Tik数据",
  7344. "parameters": [
  7345. {
  7346. "type": "string",
  7347. "description": "商品代码",
  7348. "name": "goodsCode",
  7349. "in": "query",
  7350. "required": true
  7351. },
  7352. {
  7353. "type": "string",
  7354. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7355. "name": "startTime",
  7356. "in": "query"
  7357. },
  7358. {
  7359. "type": "string",
  7360. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7361. "name": "endTime",
  7362. "in": "query"
  7363. },
  7364. {
  7365. "type": "integer",
  7366. "description": "条数",
  7367. "name": "count",
  7368. "in": "query"
  7369. },
  7370. {
  7371. "type": "boolean",
  7372. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7373. "name": "isAsc",
  7374. "in": "query"
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/quote.HistoryTikData"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/Quote/QueryQuoteDay": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "行情服务"
  7405. ],
  7406. "summary": "获取商品盘面信息",
  7407. "parameters": [
  7408. {
  7409. "type": "string",
  7410. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7411. "name": "goodsCodes",
  7412. "in": "query",
  7413. "required": true
  7414. }
  7415. ],
  7416. "responses": {
  7417. "200": {
  7418. "description": "OK",
  7419. "schema": {
  7420. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7421. }
  7422. },
  7423. "500": {
  7424. "description": "Internal Server Error",
  7425. "schema": {
  7426. "$ref": "#/definitions/app.Response"
  7427. }
  7428. }
  7429. }
  7430. }
  7431. },
  7432. "/Quote/QueryTSData": {
  7433. "get": {
  7434. "security": [
  7435. {
  7436. "ApiKeyAuth": []
  7437. }
  7438. ],
  7439. "produces": [
  7440. "application/json"
  7441. ],
  7442. "tags": [
  7443. "行情服务"
  7444. ],
  7445. "summary": "分时图数据查询",
  7446. "parameters": [
  7447. {
  7448. "type": "string",
  7449. "description": "商品代码",
  7450. "name": "goodsCode",
  7451. "in": "query",
  7452. "required": true
  7453. }
  7454. ],
  7455. "responses": {
  7456. "200": {
  7457. "description": "OK",
  7458. "schema": {
  7459. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7460. }
  7461. },
  7462. "500": {
  7463. "description": "Internal Server Error",
  7464. "schema": {
  7465. "$ref": "#/definitions/app.Response"
  7466. }
  7467. }
  7468. }
  7469. }
  7470. },
  7471. "/SZDZ/QueryConvertConfig": {
  7472. "get": {
  7473. "security": [
  7474. {
  7475. "ApiKeyAuth": []
  7476. }
  7477. ],
  7478. "produces": [
  7479. "application/json"
  7480. ],
  7481. "tags": [
  7482. "定制【尚志大宗】"
  7483. ],
  7484. "summary": "查询交易系统转换设置",
  7485. "parameters": [
  7486. {
  7487. "type": "integer",
  7488. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7489. "name": "convertType",
  7490. "in": "query"
  7491. },
  7492. {
  7493. "type": "string",
  7494. "description": "外部商品代码[JD\\PD]",
  7495. "name": "outerGoodsCode",
  7496. "in": "query"
  7497. },
  7498. {
  7499. "type": "string",
  7500. "description": "内部商品ID列表[交易],格式:1,2,3",
  7501. "name": "innerGoodsIDs",
  7502. "in": "query"
  7503. }
  7504. ],
  7505. "responses": {
  7506. "200": {
  7507. "description": "OK",
  7508. "schema": {
  7509. "$ref": "#/definitions/models.Szdz3convertconfig"
  7510. }
  7511. },
  7512. "500": {
  7513. "description": "Internal Server Error",
  7514. "schema": {
  7515. "$ref": "#/definitions/app.Response"
  7516. }
  7517. }
  7518. }
  7519. }
  7520. },
  7521. "/SZDZ/QueryConvertLog": {
  7522. "get": {
  7523. "security": [
  7524. {
  7525. "ApiKeyAuth": []
  7526. }
  7527. ],
  7528. "produces": [
  7529. "application/json"
  7530. ],
  7531. "tags": [
  7532. "定制【尚志大宗】"
  7533. ],
  7534. "summary": "交易系统转换流水查询",
  7535. "parameters": [
  7536. {
  7537. "type": "string",
  7538. "description": "资金账户 - 格式:1,2,3",
  7539. "name": "accountID",
  7540. "in": "query",
  7541. "required": true
  7542. },
  7543. {
  7544. "type": "string",
  7545. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7546. "name": "startDate",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7552. "name": "endDate",
  7553. "in": "query"
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/SZDZ/QueryGoodsPickup": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "定制【尚志大宗】"
  7584. ],
  7585. "summary": "商品提货单查询",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户 - 格式:1,2,3",
  7590. "name": "accountID",
  7591. "in": "query",
  7592. "required": true
  7593. },
  7594. {
  7595. "type": "integer",
  7596. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7597. "name": "takeOrderStatus",
  7598. "in": "query"
  7599. }
  7600. ],
  7601. "responses": {
  7602. "200": {
  7603. "description": "OK",
  7604. "schema": {
  7605. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7606. }
  7607. },
  7608. "500": {
  7609. "description": "Internal Server Error",
  7610. "schema": {
  7611. "$ref": "#/definitions/app.Response"
  7612. }
  7613. }
  7614. }
  7615. }
  7616. },
  7617. "/SZDZ/QueryRecieptOrder": {
  7618. "get": {
  7619. "security": [
  7620. {
  7621. "ApiKeyAuth": []
  7622. }
  7623. ],
  7624. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7625. "produces": [
  7626. "application/json"
  7627. ],
  7628. "tags": [
  7629. "定制【尚志大宗】"
  7630. ],
  7631. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7632. "parameters": [
  7633. {
  7634. "type": "integer",
  7635. "description": "页码",
  7636. "name": "page",
  7637. "in": "query"
  7638. },
  7639. {
  7640. "type": "integer",
  7641. "description": "每页条数",
  7642. "name": "pagesize",
  7643. "in": "query"
  7644. },
  7645. {
  7646. "type": "integer",
  7647. "description": "商品ID",
  7648. "name": "goodsID",
  7649. "in": "query",
  7650. "required": true
  7651. },
  7652. {
  7653. "type": "string",
  7654. "description": "所属账户名称",
  7655. "name": "accountName",
  7656. "in": "query"
  7657. },
  7658. {
  7659. "type": "integer",
  7660. "description": "市场ID",
  7661. "name": "marketID",
  7662. "in": "query"
  7663. },
  7664. {
  7665. "type": "integer",
  7666. "description": "方向 - 0:买 1:卖",
  7667. "name": "buyorsell",
  7668. "in": "query",
  7669. "required": true
  7670. }
  7671. ],
  7672. "responses": {
  7673. "200": {
  7674. "description": "OK",
  7675. "schema": {
  7676. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/SZDZ/QuerySZDZTradePosition": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "定制【尚志大宗】"
  7700. ],
  7701. "summary": "持仓汇总查询(尚志大宗)",
  7702. "parameters": [
  7703. {
  7704. "type": "integer",
  7705. "description": "资金账户",
  7706. "name": "accountID",
  7707. "in": "query",
  7708. "required": true
  7709. }
  7710. ],
  7711. "responses": {
  7712. "200": {
  7713. "description": "OK",
  7714. "schema": {
  7715. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7716. }
  7717. },
  7718. "500": {
  7719. "description": "Internal Server Error",
  7720. "schema": {
  7721. "$ref": "#/definitions/app.Response"
  7722. }
  7723. }
  7724. }
  7725. }
  7726. },
  7727. "/SZDZ/SearchWhite": {
  7728. "get": {
  7729. "security": [
  7730. {
  7731. "ApiKeyAuth": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "定制【尚志大宗】"
  7739. ],
  7740. "summary": "搜索白名单",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "用户ID",
  7745. "name": "userID",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7755. }
  7756. },
  7757. "500": {
  7758. "description": "Internal Server Error",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. }
  7763. }
  7764. }
  7765. },
  7766. "/Search/SearchGoodses": {
  7767. "get": {
  7768. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7769. "produces": [
  7770. "application/json"
  7771. ],
  7772. "tags": [
  7773. "检索服务"
  7774. ],
  7775. "summary": "检索商品信息",
  7776. "parameters": [
  7777. {
  7778. "type": "string",
  7779. "description": "检索内容",
  7780. "name": "content",
  7781. "in": "query",
  7782. "required": true
  7783. },
  7784. {
  7785. "type": "string",
  7786. "description": "交易模式,格式:1,2,3",
  7787. "name": "tradeModes",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "$ref": "#/definitions/models.SearchGoods"
  7796. }
  7797. },
  7798. "500": {
  7799. "description": "Internal Server Error",
  7800. "schema": {
  7801. "$ref": "#/definitions/app.Response"
  7802. }
  7803. }
  7804. }
  7805. }
  7806. },
  7807. "/TaAccount/GetTaAccounts": {
  7808. "get": {
  7809. "security": [
  7810. {
  7811. "ApiKeyAuth": []
  7812. }
  7813. ],
  7814. "produces": [
  7815. "application/json"
  7816. ],
  7817. "tags": [
  7818. "资金账户"
  7819. ],
  7820. "summary": "获取资金账户信息",
  7821. "parameters": [
  7822. {
  7823. "type": "integer",
  7824. "description": "登录账户",
  7825. "name": "loginID",
  7826. "in": "query",
  7827. "required": true
  7828. },
  7829. {
  7830. "type": "integer",
  7831. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7832. "name": "taAccountType",
  7833. "in": "query"
  7834. }
  7835. ],
  7836. "responses": {
  7837. "200": {
  7838. "description": "OK",
  7839. "schema": {
  7840. "$ref": "#/definitions/models.Taaccount"
  7841. }
  7842. },
  7843. "500": {
  7844. "description": "Internal Server Error",
  7845. "schema": {
  7846. "$ref": "#/definitions/app.Response"
  7847. }
  7848. }
  7849. }
  7850. }
  7851. },
  7852. "/TaAccount/QueryAmountLog": {
  7853. "get": {
  7854. "security": [
  7855. {
  7856. "ApiKeyAuth": []
  7857. }
  7858. ],
  7859. "produces": [
  7860. "application/json"
  7861. ],
  7862. "tags": [
  7863. "资金账户"
  7864. ],
  7865. "summary": "资金流水查询(当前)",
  7866. "parameters": [
  7867. {
  7868. "type": "integer",
  7869. "description": "页码",
  7870. "name": "page",
  7871. "in": "query"
  7872. },
  7873. {
  7874. "type": "integer",
  7875. "description": "每页条数",
  7876. "name": "pagesize",
  7877. "in": "query"
  7878. },
  7879. {
  7880. "type": "string",
  7881. "description": "资金账户 - 格式:1,2,3",
  7882. "name": "accountID",
  7883. "in": "query",
  7884. "required": true
  7885. },
  7886. {
  7887. "type": "string",
  7888. "description": "资金操作类型 - 格式:1,2,3",
  7889. "name": "OperateType",
  7890. "in": "query"
  7891. }
  7892. ],
  7893. "responses": {
  7894. "200": {
  7895. "description": "OK",
  7896. "schema": {
  7897. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7898. }
  7899. },
  7900. "500": {
  7901. "description": "Internal Server Error",
  7902. "schema": {
  7903. "$ref": "#/definitions/app.Response"
  7904. }
  7905. }
  7906. }
  7907. }
  7908. },
  7909. "/TaAccount/QueryHisAmountLog": {
  7910. "get": {
  7911. "security": [
  7912. {
  7913. "ApiKeyAuth": []
  7914. }
  7915. ],
  7916. "produces": [
  7917. "application/json"
  7918. ],
  7919. "tags": [
  7920. "资金账户"
  7921. ],
  7922. "summary": "资金流水查询(历史)",
  7923. "parameters": [
  7924. {
  7925. "type": "integer",
  7926. "description": "页码",
  7927. "name": "page",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "每页条数",
  7933. "name": "pagesize",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "资金账户 - 格式:1,2,3",
  7939. "name": "accountID",
  7940. "in": "query",
  7941. "required": true
  7942. },
  7943. {
  7944. "type": "string",
  7945. "description": "资金操作类型 - 格式:1,2,3",
  7946. "name": "OperateType",
  7947. "in": "query"
  7948. },
  7949. {
  7950. "type": "string",
  7951. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7952. "name": "startDate",
  7953. "in": "query"
  7954. },
  7955. {
  7956. "type": "string",
  7957. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7958. "name": "endDate",
  7959. "in": "query"
  7960. }
  7961. ],
  7962. "responses": {
  7963. "200": {
  7964. "description": "OK",
  7965. "schema": {
  7966. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7967. }
  7968. },
  7969. "500": {
  7970. "description": "Internal Server Error",
  7971. "schema": {
  7972. "$ref": "#/definitions/app.Response"
  7973. }
  7974. }
  7975. }
  7976. }
  7977. },
  7978. "/Trade/QueryRecieptOrder": {
  7979. "get": {
  7980. "security": [
  7981. {
  7982. "ApiKeyAuth": []
  7983. }
  7984. ],
  7985. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "通用交易"
  7991. ],
  7992. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "页码",
  7997. "name": "page",
  7998. "in": "query"
  7999. },
  8000. {
  8001. "type": "integer",
  8002. "description": "每页条数",
  8003. "name": "pagesize",
  8004. "in": "query"
  8005. },
  8006. {
  8007. "type": "integer",
  8008. "description": "商品ID",
  8009. "name": "goodsID",
  8010. "in": "query",
  8011. "required": true
  8012. },
  8013. {
  8014. "type": "string",
  8015. "description": "所属账户名称",
  8016. "name": "accountName",
  8017. "in": "query"
  8018. },
  8019. {
  8020. "type": "integer",
  8021. "description": "市场ID",
  8022. "name": "marketID",
  8023. "in": "query"
  8024. },
  8025. {
  8026. "type": "integer",
  8027. "description": "方向 - 0:买 1:卖",
  8028. "name": "buyorsell",
  8029. "in": "query",
  8030. "required": true
  8031. }
  8032. ],
  8033. "responses": {
  8034. "200": {
  8035. "description": "OK",
  8036. "schema": {
  8037. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8038. }
  8039. },
  8040. "500": {
  8041. "description": "Internal Server Error",
  8042. "schema": {
  8043. "$ref": "#/definitions/app.Response"
  8044. }
  8045. }
  8046. }
  8047. }
  8048. },
  8049. "/User/AddMessageBoard": {
  8050. "post": {
  8051. "security": [
  8052. {
  8053. "ApiKeyAuth": []
  8054. }
  8055. ],
  8056. "produces": [
  8057. "application/json"
  8058. ],
  8059. "tags": [
  8060. "用户信息"
  8061. ],
  8062. "summary": "添加用户留言板信息",
  8063. "parameters": [
  8064. {
  8065. "type": "integer",
  8066. "description": "用户ID",
  8067. "name": "userID",
  8068. "in": "query",
  8069. "required": true
  8070. },
  8071. {
  8072. "type": "string",
  8073. "description": "留言信息",
  8074. "name": "message",
  8075. "in": "query",
  8076. "required": true
  8077. },
  8078. {
  8079. "type": "string",
  8080. "description": "联系电话",
  8081. "name": "contactNum",
  8082. "in": "query",
  8083. "required": true
  8084. }
  8085. ],
  8086. "responses": {
  8087. "200": {
  8088. "description": "OK",
  8089. "schema": {
  8090. "$ref": "#/definitions/app.Response"
  8091. }
  8092. },
  8093. "500": {
  8094. "description": "Internal Server Error",
  8095. "schema": {
  8096. "$ref": "#/definitions/app.Response"
  8097. }
  8098. }
  8099. }
  8100. }
  8101. },
  8102. "/User/AddUserFavoriteGoods": {
  8103. "post": {
  8104. "security": [
  8105. {
  8106. "ApiKeyAuth": []
  8107. }
  8108. ],
  8109. "produces": [
  8110. "application/json"
  8111. ],
  8112. "tags": [
  8113. "用户信息"
  8114. ],
  8115. "summary": "添加用户商品收藏信息",
  8116. "parameters": [
  8117. {
  8118. "type": "integer",
  8119. "description": "用户ID",
  8120. "name": "userID",
  8121. "in": "query",
  8122. "required": true
  8123. },
  8124. {
  8125. "type": "integer",
  8126. "description": "商品ID",
  8127. "name": "goodsID",
  8128. "in": "query",
  8129. "required": true
  8130. }
  8131. ],
  8132. "responses": {
  8133. "200": {
  8134. "description": "OK",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. },
  8139. "500": {
  8140. "description": "Internal Server Error",
  8141. "schema": {
  8142. "$ref": "#/definitions/app.Response"
  8143. }
  8144. }
  8145. }
  8146. }
  8147. },
  8148. "/User/GetLoginID": {
  8149. "get": {
  8150. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8151. "produces": [
  8152. "application/json"
  8153. ],
  8154. "tags": [
  8155. "用户信息"
  8156. ],
  8157. "summary": "获取登录ID",
  8158. "parameters": [
  8159. {
  8160. "type": "string",
  8161. "description": "登录代码",
  8162. "name": "username",
  8163. "in": "query",
  8164. "required": true
  8165. }
  8166. ],
  8167. "responses": {
  8168. "200": {
  8169. "description": "OK",
  8170. "schema": {
  8171. "$ref": "#/definitions/app.Response"
  8172. }
  8173. },
  8174. "500": {
  8175. "description": "Internal Server Error",
  8176. "schema": {
  8177. "$ref": "#/definitions/app.Response"
  8178. }
  8179. }
  8180. }
  8181. }
  8182. },
  8183. "/User/GetUserAccount": {
  8184. "get": {
  8185. "security": [
  8186. {
  8187. "ApiKeyAuth": []
  8188. }
  8189. ],
  8190. "produces": [
  8191. "application/json"
  8192. ],
  8193. "tags": [
  8194. "用户信息"
  8195. ],
  8196. "summary": "获取用户账号信息",
  8197. "parameters": [
  8198. {
  8199. "type": "integer",
  8200. "description": "用户ID",
  8201. "name": "userID",
  8202. "in": "query",
  8203. "required": true
  8204. }
  8205. ],
  8206. "responses": {
  8207. "200": {
  8208. "description": "OK",
  8209. "schema": {
  8210. "$ref": "#/definitions/models.Useraccount"
  8211. }
  8212. },
  8213. "500": {
  8214. "description": "Internal Server Error",
  8215. "schema": {
  8216. "$ref": "#/definitions/app.Response"
  8217. }
  8218. }
  8219. }
  8220. }
  8221. },
  8222. "/User/GetUserAuthStatus": {
  8223. "get": {
  8224. "security": [
  8225. {
  8226. "ApiKeyAuth": []
  8227. }
  8228. ],
  8229. "produces": [
  8230. "application/json"
  8231. ],
  8232. "tags": [
  8233. "用户信息"
  8234. ],
  8235. "summary": "获取用户实名认证状态",
  8236. "parameters": [
  8237. {
  8238. "type": "integer",
  8239. "description": "用户ID",
  8240. "name": "userID",
  8241. "in": "query",
  8242. "required": true
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "$ref": "#/definitions/app.Response"
  8250. }
  8251. },
  8252. "500": {
  8253. "description": "Internal Server Error",
  8254. "schema": {
  8255. "$ref": "#/definitions/app.Response"
  8256. }
  8257. }
  8258. }
  8259. }
  8260. },
  8261. "/User/LoginQuery": {
  8262. "get": {
  8263. "security": [
  8264. {
  8265. "ApiKeyAuth": []
  8266. }
  8267. ],
  8268. "produces": [
  8269. "application/json"
  8270. ],
  8271. "tags": [
  8272. "用户信息"
  8273. ],
  8274. "summary": "账户登录后信息查询",
  8275. "parameters": [
  8276. {
  8277. "type": "integer",
  8278. "description": "登录账号",
  8279. "name": "loginID",
  8280. "in": "query",
  8281. "required": true
  8282. }
  8283. ],
  8284. "responses": {
  8285. "200": {
  8286. "description": "OK",
  8287. "schema": {
  8288. "$ref": "#/definitions/user.LoginQueryRsp"
  8289. }
  8290. },
  8291. "500": {
  8292. "description": "Internal Server Error",
  8293. "schema": {
  8294. "$ref": "#/definitions/app.Response"
  8295. }
  8296. }
  8297. }
  8298. }
  8299. },
  8300. "/User/QueryMessageBoard": {
  8301. "get": {
  8302. "security": [
  8303. {
  8304. "ApiKeyAuth": []
  8305. }
  8306. ],
  8307. "produces": [
  8308. "application/json"
  8309. ],
  8310. "tags": [
  8311. "用户信息"
  8312. ],
  8313. "summary": "获取用户留言板信息",
  8314. "parameters": [
  8315. {
  8316. "type": "integer",
  8317. "description": "用户ID",
  8318. "name": "userID",
  8319. "in": "query",
  8320. "required": true
  8321. }
  8322. ],
  8323. "responses": {
  8324. "200": {
  8325. "description": "OK",
  8326. "schema": {
  8327. "$ref": "#/definitions/models.Messageboard"
  8328. }
  8329. },
  8330. "500": {
  8331. "description": "Internal Server Error",
  8332. "schema": {
  8333. "$ref": "#/definitions/app.Response"
  8334. }
  8335. }
  8336. }
  8337. }
  8338. },
  8339. "/User/QueryUserFavoriteGoodses": {
  8340. "get": {
  8341. "security": [
  8342. {
  8343. "ApiKeyAuth": []
  8344. }
  8345. ],
  8346. "produces": [
  8347. "application/json"
  8348. ],
  8349. "tags": [
  8350. "用户信息"
  8351. ],
  8352. "summary": "获取用户商品收藏信息",
  8353. "parameters": [
  8354. {
  8355. "type": "integer",
  8356. "description": "用户ID",
  8357. "name": "userID",
  8358. "in": "query",
  8359. "required": true
  8360. }
  8361. ],
  8362. "responses": {
  8363. "200": {
  8364. "description": "OK",
  8365. "schema": {
  8366. "$ref": "#/definitions/models.Userfavoritegoods"
  8367. }
  8368. },
  8369. "500": {
  8370. "description": "Internal Server Error",
  8371. "schema": {
  8372. "$ref": "#/definitions/app.Response"
  8373. }
  8374. }
  8375. }
  8376. }
  8377. },
  8378. "/User/QueryUserInfo": {
  8379. "get": {
  8380. "security": [
  8381. {
  8382. "ApiKeyAuth": []
  8383. }
  8384. ],
  8385. "produces": [
  8386. "application/json"
  8387. ],
  8388. "tags": [
  8389. "用户信息"
  8390. ],
  8391. "summary": "获取用户信息",
  8392. "parameters": [
  8393. {
  8394. "type": "integer",
  8395. "description": "用户ID",
  8396. "name": "userID",
  8397. "in": "query",
  8398. "required": true
  8399. },
  8400. {
  8401. "type": "boolean",
  8402. "description": "是否解密",
  8403. "name": "isDecrypt",
  8404. "in": "query"
  8405. }
  8406. ],
  8407. "responses": {
  8408. "200": {
  8409. "description": "OK",
  8410. "schema": {
  8411. "$ref": "#/definitions/models.Userinfo"
  8412. }
  8413. },
  8414. "500": {
  8415. "description": "Internal Server Error",
  8416. "schema": {
  8417. "$ref": "#/definitions/app.Response"
  8418. }
  8419. }
  8420. }
  8421. }
  8422. },
  8423. "/User/QueryUserReferNum": {
  8424. "get": {
  8425. "produces": [
  8426. "application/json"
  8427. ],
  8428. "tags": [
  8429. "用户信息"
  8430. ],
  8431. "summary": "获取用户邀请码",
  8432. "parameters": [
  8433. {
  8434. "type": "integer",
  8435. "description": "用户ID",
  8436. "name": "userID",
  8437. "in": "query",
  8438. "required": true
  8439. }
  8440. ],
  8441. "responses": {
  8442. "200": {
  8443. "description": "OK",
  8444. "schema": {
  8445. "$ref": "#/definitions/app.Response"
  8446. }
  8447. },
  8448. "500": {
  8449. "description": "Internal Server Error",
  8450. "schema": {
  8451. "$ref": "#/definitions/app.Response"
  8452. }
  8453. }
  8454. }
  8455. }
  8456. },
  8457. "/User/RemoveUserFavoriteGoods": {
  8458. "post": {
  8459. "security": [
  8460. {
  8461. "ApiKeyAuth": []
  8462. }
  8463. ],
  8464. "produces": [
  8465. "application/json"
  8466. ],
  8467. "tags": [
  8468. "用户信息"
  8469. ],
  8470. "summary": "移除用户商品收藏信息",
  8471. "parameters": [
  8472. {
  8473. "type": "integer",
  8474. "description": "用户ID",
  8475. "name": "userID",
  8476. "in": "query",
  8477. "required": true
  8478. },
  8479. {
  8480. "type": "integer",
  8481. "description": "商品ID",
  8482. "name": "goodsID",
  8483. "in": "query",
  8484. "required": true
  8485. }
  8486. ],
  8487. "responses": {
  8488. "200": {
  8489. "description": "OK",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. },
  8494. "500": {
  8495. "description": "Internal Server Error",
  8496. "schema": {
  8497. "$ref": "#/definitions/app.Response"
  8498. }
  8499. }
  8500. }
  8501. }
  8502. },
  8503. "/User/UpdateUserAccountStatus": {
  8504. "post": {
  8505. "security": [
  8506. {
  8507. "ApiKeyAuth": []
  8508. }
  8509. ],
  8510. "produces": [
  8511. "application/json"
  8512. ],
  8513. "tags": [
  8514. "用户信息"
  8515. ],
  8516. "summary": "更新用户状态",
  8517. "parameters": [
  8518. {
  8519. "type": "integer",
  8520. "description": "用户ID",
  8521. "name": "userID",
  8522. "in": "query",
  8523. "required": true
  8524. },
  8525. {
  8526. "type": "integer",
  8527. "description": "账户状态 - 4:正常 6:注销(停用)",
  8528. "name": "accountStatus",
  8529. "in": "query",
  8530. "required": true
  8531. }
  8532. ],
  8533. "responses": {
  8534. "200": {
  8535. "description": "OK",
  8536. "schema": {
  8537. "$ref": "#/definitions/app.Response"
  8538. }
  8539. },
  8540. "500": {
  8541. "description": "Internal Server Error",
  8542. "schema": {
  8543. "$ref": "#/definitions/app.Response"
  8544. }
  8545. }
  8546. }
  8547. }
  8548. },
  8549. "/WRTrade/GetAllDeliveryGoods": {
  8550. "get": {
  8551. "security": [
  8552. {
  8553. "ApiKeyAuth": []
  8554. },
  8555. {
  8556. "ApiKeyAuth": []
  8557. }
  8558. ],
  8559. "produces": [
  8560. "application/json",
  8561. "application/json"
  8562. ],
  8563. "tags": [
  8564. "仓单贸易",
  8565. "仓单贸易"
  8566. ],
  8567. "summary": "获取带仓单分类的种类信息",
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "$ref": "#/definitions/app.Response"
  8573. }
  8574. },
  8575. "500": {
  8576. "description": "Internal Server Error",
  8577. "schema": {
  8578. "$ref": "#/definitions/app.Response"
  8579. }
  8580. }
  8581. }
  8582. }
  8583. }
  8584. },
  8585. "definitions": {
  8586. "app.Response": {
  8587. "type": "object",
  8588. "properties": {
  8589. "code": {
  8590. "type": "integer"
  8591. },
  8592. "data": {
  8593. "type": "object"
  8594. },
  8595. "msg": {
  8596. "type": "string"
  8597. },
  8598. "page": {
  8599. "description": "页码",
  8600. "type": "integer"
  8601. },
  8602. "pagesize": {
  8603. "description": "每页条数",
  8604. "type": "integer"
  8605. },
  8606. "total": {
  8607. "description": "总条数",
  8608. "type": "integer"
  8609. }
  8610. }
  8611. },
  8612. "common.ClientMenu": {
  8613. "type": "object",
  8614. "properties": {
  8615. "children": {
  8616. "description": "子菜单列表",
  8617. "type": "array",
  8618. "items": {
  8619. "$ref": "#/definitions/common.ClientMenu"
  8620. }
  8621. },
  8622. "code": {
  8623. "description": "ID",
  8624. "type": "string"
  8625. },
  8626. "isshow": {
  8627. "description": "是否显示",
  8628. "type": "boolean"
  8629. },
  8630. "rulekey": {
  8631. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8632. "type": "string"
  8633. },
  8634. "sort": {
  8635. "description": "排序",
  8636. "type": "integer"
  8637. },
  8638. "title": {
  8639. "description": "标题",
  8640. "type": "string"
  8641. },
  8642. "type": {
  8643. "description": "类型,1:菜单 2:按钮",
  8644. "type": "integer"
  8645. }
  8646. }
  8647. },
  8648. "common.QueryImageConfigsRsp": {
  8649. "type": "object",
  8650. "required": [
  8651. "configid"
  8652. ],
  8653. "properties": {
  8654. "areauserid": {
  8655. "description": "所属机构ID",
  8656. "type": "integer"
  8657. },
  8658. "configid": {
  8659. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8660. "type": "integer"
  8661. },
  8662. "createdate": {
  8663. "description": "创建时间",
  8664. "type": "string"
  8665. },
  8666. "creatorid": {
  8667. "description": "创建人",
  8668. "type": "integer"
  8669. },
  8670. "imagepath": {
  8671. "description": "图片",
  8672. "type": "string"
  8673. },
  8674. "imagetype": {
  8675. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8676. "type": "integer"
  8677. },
  8678. "isshow": {
  8679. "description": "是否展示 - 0:不展示 1:展示",
  8680. "type": "integer"
  8681. },
  8682. "marketid": {
  8683. "description": "市场ID",
  8684. "type": "integer"
  8685. },
  8686. "modifierid": {
  8687. "description": "操作人",
  8688. "type": "integer"
  8689. },
  8690. "sort": {
  8691. "description": "排序",
  8692. "type": "integer"
  8693. },
  8694. "title": {
  8695. "description": "标题",
  8696. "type": "string"
  8697. },
  8698. "trademode": {
  8699. "description": "交易模式",
  8700. "type": "integer"
  8701. },
  8702. "updatedate": {
  8703. "description": "修改时间",
  8704. "type": "string"
  8705. },
  8706. "url": {
  8707. "description": "链接(地址或商品ID)",
  8708. "type": "string"
  8709. },
  8710. "urltype": {
  8711. "description": "链接类型 - 1:直接地址 2:商品ID",
  8712. "type": "integer"
  8713. }
  8714. }
  8715. },
  8716. "common.QueryNoticeRsp": {
  8717. "type": "object",
  8718. "required": [
  8719. "autoid"
  8720. ],
  8721. "properties": {
  8722. "auditoruserid": {
  8723. "description": "审核人",
  8724. "type": "integer"
  8725. },
  8726. "auditremark": {
  8727. "description": "审核备注",
  8728. "type": "string"
  8729. },
  8730. "audittime": {
  8731. "description": "审核日期",
  8732. "type": "string"
  8733. },
  8734. "autoid": {
  8735. "description": "自增ID",
  8736. "type": "integer"
  8737. },
  8738. "content": {
  8739. "description": "内容",
  8740. "type": "string"
  8741. },
  8742. "createtime": {
  8743. "description": "创建时间",
  8744. "type": "string"
  8745. },
  8746. "creatorid": {
  8747. "description": "建仓人",
  8748. "type": "integer"
  8749. },
  8750. "endtime": {
  8751. "description": "结束时间",
  8752. "type": "string"
  8753. },
  8754. "istop": {
  8755. "description": "是否置顶 - 0:不置顶 1:置顶",
  8756. "type": "integer"
  8757. },
  8758. "msgiconurl": {
  8759. "description": "消息图标Url",
  8760. "type": "string"
  8761. },
  8762. "msgtype": {
  8763. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8764. "type": "integer"
  8765. },
  8766. "publisher": {
  8767. "description": "消息发布者",
  8768. "type": "string"
  8769. },
  8770. "readed": {
  8771. "description": "是否已读",
  8772. "type": "boolean"
  8773. },
  8774. "scheduletime": {
  8775. "description": "计划发送时间",
  8776. "type": "string"
  8777. },
  8778. "sendtype": {
  8779. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8780. "type": "integer"
  8781. },
  8782. "sentstatus": {
  8783. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8784. "type": "integer"
  8785. },
  8786. "title": {
  8787. "description": "标题",
  8788. "type": "string"
  8789. },
  8790. "userid": {
  8791. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8792. "type": "integer"
  8793. }
  8794. }
  8795. },
  8796. "common.QueryProvincesAndCitiesRsp": {
  8797. "type": "object",
  8798. "properties": {
  8799. "cities": {
  8800. "description": "市",
  8801. "type": "array",
  8802. "items": {
  8803. "$ref": "#/definitions/models.Division"
  8804. }
  8805. },
  8806. "province": {
  8807. "description": "省",
  8808. "type": "object",
  8809. "$ref": "#/definitions/models.Division"
  8810. }
  8811. }
  8812. },
  8813. "common.QueryTableDefineRsp": {
  8814. "type": "object",
  8815. "required": [
  8816. "tablekey"
  8817. ],
  8818. "properties": {
  8819. "columns": {
  8820. "description": "列头信息数组",
  8821. "type": "array",
  8822. "items": {
  8823. "$ref": "#/definitions/models.Tablecolumnconfig"
  8824. }
  8825. },
  8826. "remark": {
  8827. "description": "Remark",
  8828. "type": "string"
  8829. },
  8830. "tabelmenu": {
  8831. "description": "列表菜单",
  8832. "type": "string"
  8833. },
  8834. "tablekey": {
  8835. "description": "列表Key",
  8836. "type": "string"
  8837. },
  8838. "tablename": {
  8839. "description": "列表名称",
  8840. "type": "string"
  8841. },
  8842. "tabletype": {
  8843. "description": "列表类型 - 1:管理端 2:终端",
  8844. "type": "integer"
  8845. }
  8846. }
  8847. },
  8848. "common.QueryTraderMenuRsp": {
  8849. "type": "object",
  8850. "properties": {
  8851. "OperationMenu": {
  8852. "description": "功能菜单",
  8853. "type": "array",
  8854. "items": {
  8855. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8856. }
  8857. },
  8858. "QuoteMenu": {
  8859. "description": "报价牌分类菜单",
  8860. "type": "array",
  8861. "items": {
  8862. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8863. }
  8864. }
  8865. }
  8866. },
  8867. "cptrade.Cptradepositioncancel": {
  8868. "type": "object",
  8869. "required": [
  8870. "cancelid"
  8871. ],
  8872. "properties": {
  8873. "accountid": {
  8874. "description": "申请人账户ID",
  8875. "type": "integer"
  8876. },
  8877. "applystatus": {
  8878. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8879. "type": "integer"
  8880. },
  8881. "applytime": {
  8882. "description": "申请时间",
  8883. "type": "string"
  8884. },
  8885. "cancelid": {
  8886. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8887. "type": "integer"
  8888. },
  8889. "cancelqty": {
  8890. "description": "注销数量",
  8891. "type": "integer"
  8892. },
  8893. "createtime": {
  8894. "description": "创建时间",
  8895. "type": "string"
  8896. },
  8897. "creatorid": {
  8898. "description": "创建人ID",
  8899. "type": "integer"
  8900. },
  8901. "creatorname": {
  8902. "description": "创建人",
  8903. "type": "string"
  8904. },
  8905. "goodscode": {
  8906. "description": "订单商品代码",
  8907. "type": "string"
  8908. },
  8909. "goodsid": {
  8910. "description": "商品ID",
  8911. "type": "integer"
  8912. },
  8913. "goodsname": {
  8914. "description": "订单商品名称",
  8915. "type": "string"
  8916. },
  8917. "goodunit": {
  8918. "description": "报价单位",
  8919. "type": "string"
  8920. },
  8921. "handlestatus": {
  8922. "description": "处理状态",
  8923. "type": "integer"
  8924. },
  8925. "marketid": {
  8926. "description": "市场ID",
  8927. "type": "integer"
  8928. },
  8929. "marketname": {
  8930. "description": "市场名称",
  8931. "type": "string"
  8932. },
  8933. "tradedate": {
  8934. "description": "交易日(yyyyMMdd)",
  8935. "type": "string"
  8936. },
  8937. "userid": {
  8938. "description": "申请人ID",
  8939. "type": "integer"
  8940. }
  8941. }
  8942. },
  8943. "cptrade.Cptradepresaleapply": {
  8944. "type": "object",
  8945. "required": [
  8946. "applyid"
  8947. ],
  8948. "properties": {
  8949. "accountid": {
  8950. "description": "申请人账户ID",
  8951. "type": "integer"
  8952. },
  8953. "applyid": {
  8954. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8955. "type": "integer"
  8956. },
  8957. "applyremark": {
  8958. "description": "申请备注",
  8959. "type": "string"
  8960. },
  8961. "applystatus": {
  8962. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8963. "type": "integer"
  8964. },
  8965. "applytime": {
  8966. "description": "申请时间",
  8967. "type": "string"
  8968. },
  8969. "attachmenturl": {
  8970. "description": "附件地址",
  8971. "type": "string"
  8972. },
  8973. "endtime": {
  8974. "description": "预售结束时间",
  8975. "type": "string"
  8976. },
  8977. "goodscode": {
  8978. "description": "商品代码",
  8979. "type": "string"
  8980. },
  8981. "goodsid": {
  8982. "description": "商品ID",
  8983. "type": "integer"
  8984. },
  8985. "goodsname": {
  8986. "description": "商品名称",
  8987. "type": "string"
  8988. },
  8989. "goodunit": {
  8990. "description": "报价单位",
  8991. "type": "string"
  8992. },
  8993. "handlestatus": {
  8994. "description": "处理状态",
  8995. "type": "integer"
  8996. },
  8997. "marketid": {
  8998. "description": "预售市场ID",
  8999. "type": "integer"
  9000. },
  9001. "marketname": {
  9002. "description": "预售市场名称",
  9003. "type": "string"
  9004. },
  9005. "presaleqty": {
  9006. "description": "预售数量",
  9007. "type": "integer"
  9008. },
  9009. "relatedgoodscode": {
  9010. "description": "关联交易合约代码",
  9011. "type": "string"
  9012. },
  9013. "relatedgoodsid": {
  9014. "description": "关联交易合约ID",
  9015. "type": "integer"
  9016. },
  9017. "relatedgoodsname": {
  9018. "description": "关联交易合约名称",
  9019. "type": "string"
  9020. },
  9021. "starttime": {
  9022. "description": "预售开始时间",
  9023. "type": "string"
  9024. },
  9025. "tradedate": {
  9026. "description": "交易日(yyyyMMdd)",
  9027. "type": "string"
  9028. },
  9029. "trademode": {
  9030. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9031. "type": "integer"
  9032. },
  9033. "userid": {
  9034. "description": "申请人ID",
  9035. "type": "integer"
  9036. }
  9037. }
  9038. },
  9039. "cptrade.Cptradeusergoodsdata": {
  9040. "type": "object",
  9041. "required": [
  9042. "accountid",
  9043. "goodsid"
  9044. ],
  9045. "properties": {
  9046. "EnabledQty": {
  9047. "description": "可用量",
  9048. "type": "integer"
  9049. },
  9050. "GoodsCode": {
  9051. "description": "订单商品代码",
  9052. "type": "string"
  9053. },
  9054. "GoodsName": {
  9055. "description": "订单商品名称",
  9056. "type": "string"
  9057. },
  9058. "WRStandardCode": {
  9059. "description": "仓单标准代码",
  9060. "type": "string"
  9061. },
  9062. "WRStandardName": {
  9063. "description": "仓单标准名称",
  9064. "type": "string"
  9065. },
  9066. "accountid": {
  9067. "description": "账户ID",
  9068. "type": "integer"
  9069. },
  9070. "cancelqty": {
  9071. "description": "注销量",
  9072. "type": "integer"
  9073. },
  9074. "curpresaleqty": {
  9075. "description": "当前预售量",
  9076. "type": "integer"
  9077. },
  9078. "deliveryqty": {
  9079. "description": "交割量",
  9080. "type": "integer"
  9081. },
  9082. "freezeamount": {
  9083. "description": "冻结金额",
  9084. "type": "number"
  9085. },
  9086. "goodsid": {
  9087. "description": "商品ID",
  9088. "type": "integer"
  9089. },
  9090. "goodunit": {
  9091. "description": "报价单位",
  9092. "type": "string"
  9093. },
  9094. "hasspotfreeze": {
  9095. "description": "是否有现货冻结 - 0:否 1:有",
  9096. "type": "integer"
  9097. },
  9098. "inqty": {
  9099. "description": "转入量(总数量)",
  9100. "type": "integer"
  9101. },
  9102. "marketid": {
  9103. "description": "市场ID",
  9104. "type": "integer"
  9105. },
  9106. "presaledamount": {
  9107. "description": "已预售总金额",
  9108. "type": "integer"
  9109. },
  9110. "presaledqty": {
  9111. "description": "已预售量",
  9112. "type": "integer"
  9113. },
  9114. "userid": {
  9115. "description": "用户ID",
  9116. "type": "integer"
  9117. },
  9118. "wrstandardid": {
  9119. "description": "仓单标准ID",
  9120. "type": "integer"
  9121. }
  9122. }
  9123. },
  9124. "cptrade.QueryCPTradeMyBidRsp": {
  9125. "type": "object",
  9126. "required": [
  9127. "accountid",
  9128. "goodsid",
  9129. "marketid",
  9130. "orderid",
  9131. "orderqty",
  9132. "ordertime",
  9133. "tradeprice",
  9134. "tradeqty"
  9135. ],
  9136. "properties": {
  9137. "accountid": {
  9138. "description": "账户ID[报价币种]",
  9139. "type": "integer"
  9140. },
  9141. "goodsid": {
  9142. "description": "商品ID",
  9143. "type": "integer"
  9144. },
  9145. "goodunit": {
  9146. "description": "报价单位",
  9147. "type": "string"
  9148. },
  9149. "marketid": {
  9150. "description": "市场ID",
  9151. "type": "integer"
  9152. },
  9153. "orderid": {
  9154. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9155. "type": "integer"
  9156. },
  9157. "orderprice": {
  9158. "description": "委托价格",
  9159. "type": "number"
  9160. },
  9161. "orderqty": {
  9162. "description": "委托数量",
  9163. "type": "integer"
  9164. },
  9165. "ordertime": {
  9166. "description": "委托时间",
  9167. "type": "string"
  9168. },
  9169. "ordertotalprice": {
  9170. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9171. "type": "number"
  9172. },
  9173. "ordertotalweight": {
  9174. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9175. "type": "integer"
  9176. },
  9177. "totaltotalprice": {
  9178. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9179. "type": "number"
  9180. },
  9181. "tradeprice": {
  9182. "description": "成交价格",
  9183. "type": "number"
  9184. },
  9185. "tradeqty": {
  9186. "description": "成交数量",
  9187. "type": "integer"
  9188. }
  9189. }
  9190. },
  9191. "cptrade.QueryCPTradeOrderDetailRsq": {
  9192. "type": "object",
  9193. "required": [
  9194. "accountid",
  9195. "buildtype",
  9196. "buyorsell",
  9197. "goodsid",
  9198. "marketid",
  9199. "memberuserid",
  9200. "operatetype",
  9201. "orderqty",
  9202. "ordertime",
  9203. "pricemode",
  9204. "strorderid",
  9205. "tradedate",
  9206. "validtype"
  9207. ],
  9208. "properties": {
  9209. "accountid": {
  9210. "description": "账户ID[报价币种]",
  9211. "type": "integer"
  9212. },
  9213. "buildtype": {
  9214. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9215. "type": "integer"
  9216. },
  9217. "buyorsell": {
  9218. "description": "买卖 - 0:买 1:卖",
  9219. "type": "integer"
  9220. },
  9221. "cancelorderid": {
  9222. "description": "撤单单号(撤单时填写)",
  9223. "type": "integer"
  9224. },
  9225. "cancelqty": {
  9226. "description": "撤单数量",
  9227. "type": "integer"
  9228. },
  9229. "clientordertime": {
  9230. "description": "客户端委托时间",
  9231. "type": "string"
  9232. },
  9233. "clientticket": {
  9234. "description": "客户端流水号",
  9235. "type": "string"
  9236. },
  9237. "clienttype": {
  9238. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9239. "type": "integer"
  9240. },
  9241. "closeexchagechargevalue": {
  9242. "description": "平仓交易所手续费设置值",
  9243. "type": "number"
  9244. },
  9245. "closefeealgorithm": {
  9246. "description": "平仓手续费收取方式 1:比率 2:固定",
  9247. "type": "integer"
  9248. },
  9249. "closefreezecharge": {
  9250. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9251. "type": "number"
  9252. },
  9253. "closememberchargevalue": {
  9254. "description": "平仓会员手续费设置值",
  9255. "type": "number"
  9256. },
  9257. "closeqty": {
  9258. "description": "平仓数量(先建后平操作 需要记录)",
  9259. "type": "integer"
  9260. },
  9261. "closetradeqty": {
  9262. "description": "平仓成交数量(先建后平操作,需要记录)",
  9263. "type": "integer"
  9264. },
  9265. "closeunfreezecharge": {
  9266. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9267. "type": "number"
  9268. },
  9269. "delistingtype": {
  9270. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9271. "type": "integer"
  9272. },
  9273. "freezecharge": {
  9274. "description": "冻结手续费",
  9275. "type": "number"
  9276. },
  9277. "freezemargin": {
  9278. "description": "冻结保证金(冻结交易金额)",
  9279. "type": "number"
  9280. },
  9281. "gcaccountid": {
  9282. "description": "账户ID[合约币种]",
  9283. "type": "integer"
  9284. },
  9285. "goodsid": {
  9286. "description": "商品ID",
  9287. "type": "integer"
  9288. },
  9289. "isconfirmexercise": {
  9290. "description": "是否确认行权- 0:否 1:是",
  9291. "type": "integer"
  9292. },
  9293. "ispreexercise": {
  9294. "description": "是否预申报- 0:否 1:是",
  9295. "type": "integer"
  9296. },
  9297. "listingselecttype": {
  9298. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9299. "type": "integer"
  9300. },
  9301. "marginalgorithm": {
  9302. "description": "保证金收取方式 1:比率 2:固定",
  9303. "type": "integer"
  9304. },
  9305. "marginvalue": {
  9306. "description": "即市保证金设置值",
  9307. "type": "number"
  9308. },
  9309. "marketid": {
  9310. "description": "市场ID",
  9311. "type": "integer"
  9312. },
  9313. "marketmaxsub": {
  9314. "description": "市价最大偏移范围",
  9315. "type": "number"
  9316. },
  9317. "memberuserid": {
  9318. "description": "所属会员UserID",
  9319. "type": "integer"
  9320. },
  9321. "openexchagechargevalue": {
  9322. "description": "建仓交易所手续费设置值",
  9323. "type": "number"
  9324. },
  9325. "openfeealgorithm": {
  9326. "description": "建仓手续费收取方式 1:比率 2:固定",
  9327. "type": "integer"
  9328. },
  9329. "openfreezecharge": {
  9330. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9331. "type": "number"
  9332. },
  9333. "openmemberchargevalue": {
  9334. "description": "建仓会员手续费设置值",
  9335. "type": "number"
  9336. },
  9337. "openqty": {
  9338. "description": "开仓数量(先建后平操作,需要记录)",
  9339. "type": "integer"
  9340. },
  9341. "opentradeqty": {
  9342. "description": "开仓成交数量(先建后平操作,需要记录)",
  9343. "type": "integer"
  9344. },
  9345. "openunfreezecharge": {
  9346. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9347. "type": "number"
  9348. },
  9349. "operatetype": {
  9350. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9351. "type": "integer"
  9352. },
  9353. "operatorid": {
  9354. "description": "登录账号(LoginID)",
  9355. "type": "integer"
  9356. },
  9357. "optiontype": {
  9358. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9359. "type": "integer"
  9360. },
  9361. "orderprice": {
  9362. "description": "委托价格",
  9363. "type": "number"
  9364. },
  9365. "orderqty": {
  9366. "description": "委托数量",
  9367. "type": "integer"
  9368. },
  9369. "ordersrc": {
  9370. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9371. "type": "integer"
  9372. },
  9373. "orderstatus": {
  9374. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9375. "type": "integer"
  9376. },
  9377. "ordertime": {
  9378. "description": "委托时间",
  9379. "type": "string"
  9380. },
  9381. "preexerciseprice": {
  9382. "description": "预申报价格",
  9383. "type": "number"
  9384. },
  9385. "premium": {
  9386. "description": "权利金",
  9387. "type": "number"
  9388. },
  9389. "preorderid": {
  9390. "description": "关联预埋单号(止盈止损单时填写)",
  9391. "type": "integer"
  9392. },
  9393. "pricemode": {
  9394. "description": "取价方式 - 1:市价 2: 限价",
  9395. "type": "integer"
  9396. },
  9397. "quoteid": {
  9398. "description": "报价单ID",
  9399. "type": "integer"
  9400. },
  9401. "relatedid": {
  9402. "description": "关联单号(交割单)",
  9403. "type": "integer"
  9404. },
  9405. "retcode": {
  9406. "description": "错误代码",
  9407. "type": "integer"
  9408. },
  9409. "sessionid": {
  9410. "description": "会话ID",
  9411. "type": "integer"
  9412. },
  9413. "strorderid": {
  9414. "description": "委托单号",
  9415. "type": "string"
  9416. },
  9417. "tradedate": {
  9418. "description": "交易日(yyyyMMdd)",
  9419. "type": "string"
  9420. },
  9421. "tradeproperty": {
  9422. "description": "交易属性",
  9423. "type": "integer"
  9424. },
  9425. "tradeqty": {
  9426. "description": "成交数量",
  9427. "type": "integer"
  9428. },
  9429. "unfreezecharge": {
  9430. "description": "解冻手续费",
  9431. "type": "number"
  9432. },
  9433. "unfreezemargin": {
  9434. "description": "解冻保证金",
  9435. "type": "number"
  9436. },
  9437. "updatetime": {
  9438. "description": "更新时间",
  9439. "type": "string"
  9440. },
  9441. "uuid": {
  9442. "description": "发起端唯一id",
  9443. "type": "string"
  9444. },
  9445. "validtime": {
  9446. "description": "有效期限",
  9447. "type": "string"
  9448. },
  9449. "validtype": {
  9450. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9451. "type": "integer"
  9452. },
  9453. "volumetype": {
  9454. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9455. "type": "integer"
  9456. }
  9457. }
  9458. },
  9459. "cptrade.QueryMyCPTradeGoodsRsp": {
  9460. "type": "object",
  9461. "required": [
  9462. "goodscode",
  9463. "goodsid",
  9464. "goodsname",
  9465. "marketid",
  9466. "relatedgoodscode",
  9467. "relatedgoodsname"
  9468. ],
  9469. "properties": {
  9470. "accountid": {
  9471. "description": "卖方账户ID",
  9472. "type": "integer"
  9473. },
  9474. "agreeunit": {
  9475. "description": "合约单位",
  9476. "type": "number"
  9477. },
  9478. "applyid": {
  9479. "description": "关联申请ID",
  9480. "type": "integer"
  9481. },
  9482. "attachmenturl": {
  9483. "description": "附件地址",
  9484. "type": "string"
  9485. },
  9486. "createtime": {
  9487. "description": "创建时间",
  9488. "type": "string"
  9489. },
  9490. "currencyid": {
  9491. "description": "报价货币ID",
  9492. "type": "integer"
  9493. },
  9494. "decimalplace": {
  9495. "description": "报价小数位",
  9496. "type": "integer"
  9497. },
  9498. "endtime": {
  9499. "description": "预售结束时间",
  9500. "type": "string"
  9501. },
  9502. "floorprice": {
  9503. "description": "底价[大宗式竞拍]",
  9504. "type": "number"
  9505. },
  9506. "goodscode": {
  9507. "description": "商品代码(预售)",
  9508. "type": "string"
  9509. },
  9510. "goodsdetail": {
  9511. "description": "详情[大宗]",
  9512. "type": "string"
  9513. },
  9514. "goodsid": {
  9515. "description": "商品ID(自增ID SEQ_GOODS)",
  9516. "type": "integer"
  9517. },
  9518. "goodsname": {
  9519. "description": "商品名称(预售)",
  9520. "type": "string"
  9521. },
  9522. "goodunit": {
  9523. "description": "报价单位",
  9524. "type": "string"
  9525. },
  9526. "goodunitid": {
  9527. "description": "报价单位ID",
  9528. "type": "integer"
  9529. },
  9530. "marketid": {
  9531. "description": "所属市场ID",
  9532. "type": "integer"
  9533. },
  9534. "marketname": {
  9535. "description": "预售市场名称",
  9536. "type": "string"
  9537. },
  9538. "presaledamount": {
  9539. "description": "已预售总金额(预售结束时更新)",
  9540. "type": "number"
  9541. },
  9542. "presaledqty": {
  9543. "description": "已预售量(预售结束时更新)",
  9544. "type": "integer"
  9545. },
  9546. "presalemode": {
  9547. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9548. "type": "integer"
  9549. },
  9550. "presaleqty": {
  9551. "description": "预售数量",
  9552. "type": "integer"
  9553. },
  9554. "refprice": {
  9555. "description": "参考价格[一口价]",
  9556. "type": "number"
  9557. },
  9558. "relatedgoodscode": {
  9559. "description": "商品代码(订单)",
  9560. "type": "string"
  9561. },
  9562. "relatedgoodsid": {
  9563. "description": "关联交易合约ID",
  9564. "type": "integer"
  9565. },
  9566. "relatedgoodsname": {
  9567. "description": "商品名称(订单)",
  9568. "type": "string"
  9569. },
  9570. "relatedmarketid": {
  9571. "description": "关联交易合约市场ID",
  9572. "type": "integer"
  9573. },
  9574. "sellstatus": {
  9575. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9576. "type": "integer"
  9577. },
  9578. "startprice": {
  9579. "description": "起拍价[大宗式竞拍]",
  9580. "type": "number"
  9581. },
  9582. "starttime": {
  9583. "description": "预售开始时间",
  9584. "type": "string"
  9585. },
  9586. "tradedate": {
  9587. "description": "交易日(yyyyMMdd)",
  9588. "type": "string"
  9589. },
  9590. "tradeprice": {
  9591. "description": "成交价[大宗]",
  9592. "type": "number"
  9593. },
  9594. "userid": {
  9595. "description": "卖方用户ID",
  9596. "type": "integer"
  9597. }
  9598. }
  9599. },
  9600. "cptrade.QueryPresaleGoodsExRsp": {
  9601. "type": "object",
  9602. "required": [
  9603. "goodsid"
  9604. ],
  9605. "properties": {
  9606. "attachmenturl": {
  9607. "description": "附件地址",
  9608. "type": "string"
  9609. },
  9610. "createtime": {
  9611. "description": "创建时间",
  9612. "type": "string"
  9613. },
  9614. "endtime": {
  9615. "description": "预售结束时间",
  9616. "type": "string"
  9617. },
  9618. "floorprice": {
  9619. "description": "底价[大宗式竞拍]",
  9620. "type": "number"
  9621. },
  9622. "goodsdetail": {
  9623. "description": "详情[大宗]",
  9624. "type": "string"
  9625. },
  9626. "goodsid": {
  9627. "description": "商品ID(预售)",
  9628. "type": "integer"
  9629. },
  9630. "goodunit": {
  9631. "description": "报价单位",
  9632. "type": "string"
  9633. },
  9634. "marketid": {
  9635. "description": "预售市场ID - 根据预售模式选择市场",
  9636. "type": "integer"
  9637. },
  9638. "presaledamount": {
  9639. "description": "已预售总金额(预售结束时更新)",
  9640. "type": "number"
  9641. },
  9642. "presaledqty": {
  9643. "description": "已预售量(预售结束时更新)",
  9644. "type": "integer"
  9645. },
  9646. "presalemode": {
  9647. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9648. "type": "integer"
  9649. },
  9650. "presaleqty": {
  9651. "description": "预售数量",
  9652. "type": "integer"
  9653. },
  9654. "refprice": {
  9655. "description": "参考价格[一口价]",
  9656. "type": "number"
  9657. },
  9658. "relatedgoodsid": {
  9659. "description": "关联交易合约ID",
  9660. "type": "integer"
  9661. },
  9662. "relatedmarketid": {
  9663. "description": "关联交易合约市场ID",
  9664. "type": "integer"
  9665. },
  9666. "sellstatus": {
  9667. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9668. "type": "integer"
  9669. },
  9670. "startprice": {
  9671. "description": "起拍价[大宗式竞拍]",
  9672. "type": "number"
  9673. },
  9674. "starttime": {
  9675. "description": "预售开始时间",
  9676. "type": "string"
  9677. },
  9678. "tradedate": {
  9679. "description": "交易日(yyyyMMdd)",
  9680. "type": "string"
  9681. },
  9682. "tradeprice": {
  9683. "description": "成交价[大宗]",
  9684. "type": "number"
  9685. }
  9686. }
  9687. },
  9688. "delivery.QueryDeliveryRelationRsp": {
  9689. "type": "object",
  9690. "required": [
  9691. "begindate",
  9692. "enddate",
  9693. "goodsid",
  9694. "mindeliveryqty",
  9695. "xdeliveryratio"
  9696. ],
  9697. "properties": {
  9698. "begindate": {
  9699. "description": "起始日期(yyyyMMdd)",
  9700. "type": "string"
  9701. },
  9702. "buytemplateid": {
  9703. "description": "买履约计划模板ID",
  9704. "type": "integer"
  9705. },
  9706. "deliverygoodscode": {
  9707. "description": "品种代码",
  9708. "type": "string"
  9709. },
  9710. "deliverygoodsid": {
  9711. "description": "交割商品",
  9712. "type": "integer"
  9713. },
  9714. "deliverygoodsname": {
  9715. "description": "品种名称",
  9716. "type": "string"
  9717. },
  9718. "deliverymode": {
  9719. "description": "交割方式 - 1:点选式 2:申报式",
  9720. "type": "integer"
  9721. },
  9722. "deliverypricerule": {
  9723. "description": "交割价规则- 1:行情价 2:建仓价",
  9724. "type": "integer"
  9725. },
  9726. "deliverytype": {
  9727. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9728. "type": "integer"
  9729. },
  9730. "enddate": {
  9731. "description": "结束日期(yyyyMMdd)",
  9732. "type": "string"
  9733. },
  9734. "goodscode": {
  9735. "description": "商品代码",
  9736. "type": "string"
  9737. },
  9738. "goodsid": {
  9739. "description": "交易合约ID",
  9740. "type": "integer"
  9741. },
  9742. "goodsname": {
  9743. "description": "商品名称",
  9744. "type": "string"
  9745. },
  9746. "marketid": {
  9747. "description": "市场ID",
  9748. "type": "integer"
  9749. },
  9750. "mindeliveryqty": {
  9751. "description": "最小交割系数(K)",
  9752. "type": "integer"
  9753. },
  9754. "p2deliveryprice": {
  9755. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9756. "type": "number"
  9757. },
  9758. "p2deliveryratio": {
  9759. "description": "P2合约系数(p)",
  9760. "type": "integer"
  9761. },
  9762. "p2goodsid": {
  9763. "description": "P2合约ID",
  9764. "type": "integer"
  9765. },
  9766. "p2pricemode": {
  9767. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9768. "type": "integer"
  9769. },
  9770. "pdeliveryprice": {
  9771. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9772. "type": "number"
  9773. },
  9774. "pdeliveryratio": {
  9775. "description": "P合约系数(n)",
  9776. "type": "integer"
  9777. },
  9778. "pgoodsid": {
  9779. "description": "P合约ID",
  9780. "type": "integer"
  9781. },
  9782. "ppricemode": {
  9783. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9784. "type": "integer"
  9785. },
  9786. "rratio": {
  9787. "description": "兑换系数(R)",
  9788. "type": "integer"
  9789. },
  9790. "rratio1": {
  9791. "description": "兑换系数(交易合约)(R1)",
  9792. "type": "integer"
  9793. },
  9794. "rratio2": {
  9795. "description": "兑换系数(仓单标准)(R2)",
  9796. "type": "integer"
  9797. },
  9798. "selltemplateid": {
  9799. "description": "卖履约计划模板ID",
  9800. "type": "integer"
  9801. },
  9802. "wrstandardid": {
  9803. "description": "仓单标准ID",
  9804. "type": "integer"
  9805. },
  9806. "xdeliveryratio": {
  9807. "description": "交易合约系数(m)",
  9808. "type": "integer"
  9809. }
  9810. }
  9811. },
  9812. "ermcp.ExposureDetailRsp": {
  9813. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9814. },
  9815. "ermcp.ExposureHedgePosDetailRsp": {
  9816. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9817. },
  9818. "ermcp.ExposureHedgePositionRsp": {
  9819. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9820. },
  9821. "ermcp.ExposureSpotDetailRsp": {
  9822. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9823. },
  9824. "ermcp.ExposureSpotRsp": {
  9825. "$ref": "#/definitions/models.AreaSpotModel"
  9826. },
  9827. "ermcp.HisExposureRsp": {
  9828. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9829. },
  9830. "ermcp.PendingAuditCntRsp": {
  9831. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9832. },
  9833. "ermcp.QryAvalidGPRsp": {
  9834. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9835. },
  9836. "ermcp.QryBusinessDjRsp": {
  9837. "type": "object",
  9838. "properties": {
  9839. "amount": {
  9840. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9841. "type": "number"
  9842. },
  9843. "applyid": {
  9844. "description": "申请人",
  9845. "type": "string"
  9846. },
  9847. "applyname": {
  9848. "description": "申请人名称",
  9849. "type": "string"
  9850. },
  9851. "applystatus": {
  9852. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9853. "type": "integer"
  9854. },
  9855. "applytime": {
  9856. "description": "申请时间",
  9857. "type": "string"
  9858. },
  9859. "attachurl": {
  9860. "description": "附件",
  9861. "type": "string"
  9862. },
  9863. "auditid": {
  9864. "description": "审核人ID",
  9865. "type": "string"
  9866. },
  9867. "auditname": {
  9868. "description": "审核人名称",
  9869. "type": "string"
  9870. },
  9871. "audittime": {
  9872. "description": "审核时间",
  9873. "type": "string"
  9874. },
  9875. "buyusername": {
  9876. "description": "采购方名称",
  9877. "type": "string"
  9878. },
  9879. "contractno": {
  9880. "description": "合同编号",
  9881. "type": "string"
  9882. },
  9883. "contractstatus": {
  9884. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9885. "type": "integer"
  9886. },
  9887. "contracttype": {
  9888. "description": "现货合同类型 - 1:采购 -1:销售",
  9889. "type": "integer"
  9890. },
  9891. "deliverygoodscode": {
  9892. "description": "现货品种代码",
  9893. "type": "string"
  9894. },
  9895. "deliverygoodsid": {
  9896. "description": "现货商品ID",
  9897. "type": "integer"
  9898. },
  9899. "deliverygoodsname": {
  9900. "description": "现货品种名称",
  9901. "type": "string"
  9902. },
  9903. "enumdicname": {
  9904. "description": "单位名称",
  9905. "type": "string"
  9906. },
  9907. "goodscode": {
  9908. "description": "点价合约",
  9909. "type": "string"
  9910. },
  9911. "goodsname": {
  9912. "description": "商品名称",
  9913. "type": "string"
  9914. },
  9915. "operateapplyid": {
  9916. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9917. "type": "string"
  9918. },
  9919. "operateapplytype": {
  9920. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9921. "type": "integer"
  9922. },
  9923. "pricedPrice": {
  9924. "description": "点价价格(非必填)",
  9925. "type": "number"
  9926. },
  9927. "pricedQty": {
  9928. "description": "点价数量(非必填)",
  9929. "type": "number"
  9930. },
  9931. "pricemove": {
  9932. "description": "升贴水",
  9933. "type": "number"
  9934. },
  9935. "pricetype": {
  9936. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9937. "type": "integer"
  9938. },
  9939. "relatedid": {
  9940. "description": "现货合同ID",
  9941. "type": "string"
  9942. },
  9943. "sellusername": {
  9944. "description": "销售方名字",
  9945. "type": "string"
  9946. },
  9947. "userid": {
  9948. "description": "用户ID",
  9949. "type": "integer"
  9950. },
  9951. "wrstandardcode": {
  9952. "description": "品类代码",
  9953. "type": "string"
  9954. },
  9955. "wrstandardid": {
  9956. "description": "品类id",
  9957. "type": "integer"
  9958. },
  9959. "wrstandardname": {
  9960. "description": "品类名称",
  9961. "type": "string"
  9962. }
  9963. }
  9964. },
  9965. "ermcp.QryBussinessFpRsp": {
  9966. "type": "object",
  9967. "properties": {
  9968. "applyid": {
  9969. "description": "申请人",
  9970. "type": "string"
  9971. },
  9972. "applyname": {
  9973. "description": "申请人名称",
  9974. "type": "string"
  9975. },
  9976. "applystatus": {
  9977. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9978. "type": "integer"
  9979. },
  9980. "applytime": {
  9981. "description": "申请时间",
  9982. "type": "string"
  9983. },
  9984. "attachurl": {
  9985. "description": "附件",
  9986. "type": "string"
  9987. },
  9988. "auditid": {
  9989. "description": "审核人ID",
  9990. "type": "string"
  9991. },
  9992. "auditname": {
  9993. "description": "审核人名称",
  9994. "type": "string"
  9995. },
  9996. "audittime": {
  9997. "description": "审核时间",
  9998. "type": "string"
  9999. },
  10000. "buyusername": {
  10001. "description": "采购方名称",
  10002. "type": "string"
  10003. },
  10004. "contractno": {
  10005. "description": "合同编号",
  10006. "type": "string"
  10007. },
  10008. "contractstatus": {
  10009. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10010. "type": "integer"
  10011. },
  10012. "contracttype": {
  10013. "description": "现货合同类型 - 1:采购 -1:销售",
  10014. "type": "integer"
  10015. },
  10016. "deliverygoodscode": {
  10017. "description": "现货品种代码",
  10018. "type": "string"
  10019. },
  10020. "deliverygoodsid": {
  10021. "description": "现货商品ID",
  10022. "type": "integer"
  10023. },
  10024. "deliverygoodsname": {
  10025. "description": "现货品种名称",
  10026. "type": "string"
  10027. },
  10028. "enumdicname": {
  10029. "description": "单位名称",
  10030. "type": "string"
  10031. },
  10032. "goodscode": {
  10033. "description": "点价合约",
  10034. "type": "string"
  10035. },
  10036. "goodsname": {
  10037. "description": "商品名称",
  10038. "type": "string"
  10039. },
  10040. "invoiceAmount": {
  10041. "description": "已开收票金额(销售为开票,采购为收票)",
  10042. "type": "number"
  10043. },
  10044. "operateapplyid": {
  10045. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10046. "type": "string"
  10047. },
  10048. "operateapplytype": {
  10049. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10050. "type": "integer"
  10051. },
  10052. "pricemove": {
  10053. "description": "升贴水",
  10054. "type": "number"
  10055. },
  10056. "pricetype": {
  10057. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10058. "type": "integer"
  10059. },
  10060. "relatedid": {
  10061. "description": "现货合同ID",
  10062. "type": "string"
  10063. },
  10064. "sellusername": {
  10065. "description": "销售方名字",
  10066. "type": "string"
  10067. },
  10068. "userid": {
  10069. "description": "用户ID",
  10070. "type": "integer"
  10071. },
  10072. "wrstandardcode": {
  10073. "description": "品类代码",
  10074. "type": "string"
  10075. },
  10076. "wrstandardid": {
  10077. "description": "品类id",
  10078. "type": "integer"
  10079. },
  10080. "wrstandardname": {
  10081. "description": "品类名称",
  10082. "type": "string"
  10083. }
  10084. }
  10085. },
  10086. "ermcp.QryBussinessJsExRsp": {
  10087. "type": "object",
  10088. "properties": {
  10089. "applyid": {
  10090. "description": "申请人",
  10091. "type": "string"
  10092. },
  10093. "applyname": {
  10094. "description": "申请人名称",
  10095. "type": "string"
  10096. },
  10097. "applystatus": {
  10098. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10099. "type": "integer"
  10100. },
  10101. "applytime": {
  10102. "description": "申请时间",
  10103. "type": "string"
  10104. },
  10105. "attachurl": {
  10106. "description": "附件",
  10107. "type": "string"
  10108. },
  10109. "auditid": {
  10110. "description": "审核人ID",
  10111. "type": "string"
  10112. },
  10113. "auditname": {
  10114. "description": "审核人名称",
  10115. "type": "string"
  10116. },
  10117. "audittime": {
  10118. "description": "审核时间",
  10119. "type": "string"
  10120. },
  10121. "buyusername": {
  10122. "description": "采购方名称",
  10123. "type": "string"
  10124. },
  10125. "contractno": {
  10126. "description": "合同编号",
  10127. "type": "string"
  10128. },
  10129. "contractstatus": {
  10130. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10131. "type": "integer"
  10132. },
  10133. "contracttype": {
  10134. "description": "现货合同类型 - 1:采购 -1:销售",
  10135. "type": "integer"
  10136. },
  10137. "deliverygoodscode": {
  10138. "description": "现货品种代码",
  10139. "type": "string"
  10140. },
  10141. "deliverygoodsid": {
  10142. "description": "现货商品ID",
  10143. "type": "integer"
  10144. },
  10145. "deliverygoodsname": {
  10146. "description": "现货品种名称",
  10147. "type": "string"
  10148. },
  10149. "enumdicname": {
  10150. "description": "单位名称",
  10151. "type": "string"
  10152. },
  10153. "goodscode": {
  10154. "description": "点价合约",
  10155. "type": "string"
  10156. },
  10157. "goodsname": {
  10158. "description": "商品名称",
  10159. "type": "string"
  10160. },
  10161. "operateapplyid": {
  10162. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10163. "type": "string"
  10164. },
  10165. "operateapplytype": {
  10166. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10167. "type": "integer"
  10168. },
  10169. "pricemove": {
  10170. "description": "升贴水",
  10171. "type": "number"
  10172. },
  10173. "pricetype": {
  10174. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10175. "type": "integer"
  10176. },
  10177. "reckontype": {
  10178. "description": "结算类型",
  10179. "type": "string"
  10180. },
  10181. "reckonvalue": {
  10182. "description": "值",
  10183. "type": "number"
  10184. },
  10185. "relatedid": {
  10186. "description": "现货合同ID",
  10187. "type": "string"
  10188. },
  10189. "sellusername": {
  10190. "description": "销售方名字",
  10191. "type": "string"
  10192. },
  10193. "userid": {
  10194. "description": "用户ID",
  10195. "type": "integer"
  10196. },
  10197. "wrstandardcode": {
  10198. "description": "品类代码",
  10199. "type": "string"
  10200. },
  10201. "wrstandardid": {
  10202. "description": "品类id",
  10203. "type": "integer"
  10204. },
  10205. "wrstandardname": {
  10206. "description": "品类名称",
  10207. "type": "string"
  10208. }
  10209. }
  10210. },
  10211. "ermcp.QryBussinessJsRsp": {
  10212. "type": "object",
  10213. "properties": {
  10214. "addmargin": {
  10215. "description": "追加保证金(非必填)",
  10216. "type": "number"
  10217. },
  10218. "applyid": {
  10219. "description": "申请人",
  10220. "type": "string"
  10221. },
  10222. "applyname": {
  10223. "description": "申请人名称",
  10224. "type": "string"
  10225. },
  10226. "applystatus": {
  10227. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10228. "type": "integer"
  10229. },
  10230. "applytime": {
  10231. "description": "申请时间",
  10232. "type": "string"
  10233. },
  10234. "attachurl": {
  10235. "description": "附件",
  10236. "type": "string"
  10237. },
  10238. "auditid": {
  10239. "description": "审核人ID",
  10240. "type": "string"
  10241. },
  10242. "auditname": {
  10243. "description": "审核人名称",
  10244. "type": "string"
  10245. },
  10246. "audittime": {
  10247. "description": "审核时间",
  10248. "type": "string"
  10249. },
  10250. "buyusername": {
  10251. "description": "采购方名称",
  10252. "type": "string"
  10253. },
  10254. "contractno": {
  10255. "description": "合同编号",
  10256. "type": "string"
  10257. },
  10258. "contractstatus": {
  10259. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10260. "type": "integer"
  10261. },
  10262. "contracttype": {
  10263. "description": "现货合同类型 - 1:采购 -1:销售",
  10264. "type": "integer"
  10265. },
  10266. "decmargin": {
  10267. "description": "减少保证金(非必填)",
  10268. "type": "number"
  10269. },
  10270. "deliverygoodscode": {
  10271. "description": "现货品种代码",
  10272. "type": "string"
  10273. },
  10274. "deliverygoodsid": {
  10275. "description": "现货商品ID",
  10276. "type": "integer"
  10277. },
  10278. "deliverygoodsname": {
  10279. "description": "现货品种名称",
  10280. "type": "string"
  10281. },
  10282. "enumdicname": {
  10283. "description": "单位名称",
  10284. "type": "string"
  10285. },
  10286. "goodscode": {
  10287. "description": "点价合约",
  10288. "type": "string"
  10289. },
  10290. "goodsname": {
  10291. "description": "商品名称",
  10292. "type": "string"
  10293. },
  10294. "operateapplyid": {
  10295. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10296. "type": "string"
  10297. },
  10298. "operateapplytype": {
  10299. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10300. "type": "integer"
  10301. },
  10302. "pricemove": {
  10303. "description": "升贴水",
  10304. "type": "number"
  10305. },
  10306. "pricetype": {
  10307. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10308. "type": "integer"
  10309. },
  10310. "reckonadjustamount": {
  10311. "description": "结算调整金额(非必填)",
  10312. "type": "number"
  10313. },
  10314. "reckonosamount": {
  10315. "description": "结算溢短金额(非必填)",
  10316. "type": "number"
  10317. },
  10318. "reckonotheramount": {
  10319. "description": "结算其他费用(非必填)",
  10320. "type": "number"
  10321. },
  10322. "reckonrealqty": {
  10323. "description": "结算实际数量(非必填)",
  10324. "type": "number"
  10325. },
  10326. "relatedid": {
  10327. "description": "现货合同ID",
  10328. "type": "string"
  10329. },
  10330. "sellusername": {
  10331. "description": "销售方名字",
  10332. "type": "string"
  10333. },
  10334. "userid": {
  10335. "description": "用户ID",
  10336. "type": "integer"
  10337. },
  10338. "wrstandardcode": {
  10339. "description": "品类代码",
  10340. "type": "string"
  10341. },
  10342. "wrstandardid": {
  10343. "description": "品类id",
  10344. "type": "integer"
  10345. },
  10346. "wrstandardname": {
  10347. "description": "品类名称",
  10348. "type": "string"
  10349. }
  10350. }
  10351. },
  10352. "ermcp.QryBussinessKxRsp": {
  10353. "type": "object",
  10354. "properties": {
  10355. "applyid": {
  10356. "description": "申请人",
  10357. "type": "string"
  10358. },
  10359. "applyname": {
  10360. "description": "申请人名称",
  10361. "type": "string"
  10362. },
  10363. "applystatus": {
  10364. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10365. "type": "integer"
  10366. },
  10367. "applytime": {
  10368. "description": "申请时间",
  10369. "type": "string"
  10370. },
  10371. "attachurl": {
  10372. "description": "附件",
  10373. "type": "string"
  10374. },
  10375. "auditid": {
  10376. "description": "审核人ID",
  10377. "type": "string"
  10378. },
  10379. "auditname": {
  10380. "description": "审核人名称",
  10381. "type": "string"
  10382. },
  10383. "audittime": {
  10384. "description": "审核时间",
  10385. "type": "string"
  10386. },
  10387. "buyusername": {
  10388. "description": "采购方名称",
  10389. "type": "string"
  10390. },
  10391. "contractno": {
  10392. "description": "合同编号",
  10393. "type": "string"
  10394. },
  10395. "contractstatus": {
  10396. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10397. "type": "integer"
  10398. },
  10399. "contracttype": {
  10400. "description": "现货合同类型 - 1:采购 -1:销售",
  10401. "type": "integer"
  10402. },
  10403. "deductamount": {
  10404. "description": "退款(非必填)",
  10405. "type": "number"
  10406. },
  10407. "deliverygoodscode": {
  10408. "description": "现货品种代码",
  10409. "type": "string"
  10410. },
  10411. "deliverygoodsid": {
  10412. "description": "现货商品ID",
  10413. "type": "integer"
  10414. },
  10415. "deliverygoodsname": {
  10416. "description": "现货品种名称",
  10417. "type": "string"
  10418. },
  10419. "enumdicname": {
  10420. "description": "单位名称",
  10421. "type": "string"
  10422. },
  10423. "goodscode": {
  10424. "description": "点价合约",
  10425. "type": "string"
  10426. },
  10427. "goodsname": {
  10428. "description": "商品名称",
  10429. "type": "string"
  10430. },
  10431. "kxtype": {
  10432. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10433. "type": "integer"
  10434. },
  10435. "operateapplyid": {
  10436. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10437. "type": "string"
  10438. },
  10439. "operateapplytype": {
  10440. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10441. "type": "integer"
  10442. },
  10443. "payamount": {
  10444. "description": "收付款(非必填)",
  10445. "type": "number"
  10446. },
  10447. "pricemove": {
  10448. "description": "升贴水",
  10449. "type": "number"
  10450. },
  10451. "pricetype": {
  10452. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10453. "type": "integer"
  10454. },
  10455. "relatedid": {
  10456. "description": "现货合同ID",
  10457. "type": "string"
  10458. },
  10459. "sellusername": {
  10460. "description": "销售方名字",
  10461. "type": "string"
  10462. },
  10463. "userid": {
  10464. "description": "用户ID",
  10465. "type": "integer"
  10466. },
  10467. "wrstandardcode": {
  10468. "description": "品类代码",
  10469. "type": "string"
  10470. },
  10471. "wrstandardid": {
  10472. "description": "品类id",
  10473. "type": "integer"
  10474. },
  10475. "wrstandardname": {
  10476. "description": "品类名称",
  10477. "type": "string"
  10478. }
  10479. }
  10480. },
  10481. "ermcp.QryGGCovertCfgRsp": {
  10482. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10483. },
  10484. "ermcp.QryMGChangeLogRsp": {
  10485. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10486. },
  10487. "ermcp.QryMiddleGoodsDetailRsp": {
  10488. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10489. },
  10490. "ermcp.QryMiddleGoodsRsp": {
  10491. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10492. },
  10493. "ermcp.QryOPLogRsp": {
  10494. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10495. },
  10496. "ermcp.QryUserInfoRsp": {
  10497. "$ref": "#/definitions/models.ErmcpUserModel"
  10498. },
  10499. "ermcp.QryWarehouseRsp": {
  10500. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10501. },
  10502. "ermcp.QueryErmcpTradePositionRsp": {
  10503. "type": "object",
  10504. "properties": {
  10505. "agreeunit": {
  10506. "description": "合约单位",
  10507. "type": "number"
  10508. },
  10509. "buyorsell": {
  10510. "description": "方向 - 0:买 1:卖",
  10511. "type": "integer"
  10512. },
  10513. "curpositionqty": {
  10514. "description": "持仓(总仓数量, 期末头寸)",
  10515. "type": "integer"
  10516. },
  10517. "curtdposition": {
  10518. "description": "今仓数量(期末今日头寸)",
  10519. "type": "integer"
  10520. },
  10521. "curtdpositionenabled": {
  10522. "description": "今仓可用",
  10523. "type": "integer"
  10524. },
  10525. "decimalplace": {
  10526. "description": "报价小数位",
  10527. "type": "integer"
  10528. },
  10529. "enableqty": {
  10530. "description": "可用(总仓可用)",
  10531. "type": "integer"
  10532. },
  10533. "exexchangename": {
  10534. "description": "外部交易所名称",
  10535. "type": "string"
  10536. },
  10537. "goodscode": {
  10538. "description": "商品代码(内部)",
  10539. "type": "string"
  10540. },
  10541. "goodsid": {
  10542. "description": "商品ID(自增ID SEQ_GOODS)",
  10543. "type": "integer"
  10544. },
  10545. "goodsname": {
  10546. "description": "商品名称",
  10547. "type": "string"
  10548. },
  10549. "last": {
  10550. "description": "现价",
  10551. "type": "number"
  10552. },
  10553. "marketid": {
  10554. "description": "所属市场ID",
  10555. "type": "integer"
  10556. },
  10557. "openaverageprice": {
  10558. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10559. "type": "number"
  10560. },
  10561. "opencost": {
  10562. "description": "开仓成本",
  10563. "type": "number"
  10564. },
  10565. "openpl": {
  10566. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10567. "type": "number"
  10568. },
  10569. "outgoodscode": {
  10570. "description": "商品代码(外部)",
  10571. "type": "string"
  10572. },
  10573. "positionaverageprice": {
  10574. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10575. "type": "number"
  10576. },
  10577. "positioncost": {
  10578. "description": "持仓成本",
  10579. "type": "number"
  10580. },
  10581. "positionpl": {
  10582. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10583. "type": "number"
  10584. },
  10585. "positionplrate": {
  10586. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10587. "type": "number"
  10588. },
  10589. "usedmargin": {
  10590. "description": "占用保证金",
  10591. "type": "number"
  10592. }
  10593. }
  10594. },
  10595. "ermcp.RealtimeExposurePositionRsp": {
  10596. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10597. },
  10598. "ermcp.RealtimeExposureRsp": {
  10599. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10600. },
  10601. "erms2.QueryArbitrageStrategyRsp": {
  10602. "type": "object",
  10603. "required": [
  10604. "asapplyid"
  10605. ],
  10606. "properties": {
  10607. "applybasis": {
  10608. "description": "申请基差",
  10609. "type": "number"
  10610. },
  10611. "asapplyid": {
  10612. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10613. "type": "string"
  10614. },
  10615. "asname": {
  10616. "description": "策略名称",
  10617. "type": "string"
  10618. },
  10619. "asno": {
  10620. "description": "策略编号",
  10621. "type": "string"
  10622. },
  10623. "basischangepl": {
  10624. "description": "基差变动损益[结算更新]",
  10625. "type": "number"
  10626. },
  10627. "biztype": {
  10628. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10629. "type": "integer"
  10630. },
  10631. "closetradedate": {
  10632. "description": "完结交易日(yyyyMMdd)",
  10633. "type": "string"
  10634. },
  10635. "curbasis": {
  10636. "description": "当前基差[结算更新]",
  10637. "type": "number"
  10638. },
  10639. "deliverygoodsid": {
  10640. "description": "现货品种ID",
  10641. "type": "integer"
  10642. },
  10643. "futureavgprice": {
  10644. "description": "期货建仓均价",
  10645. "type": "number"
  10646. },
  10647. "futurecloseamount": {
  10648. "description": "期货平仓金额",
  10649. "type": "number"
  10650. },
  10651. "futurecloseqty": {
  10652. "description": "期货平仓数量",
  10653. "type": "number"
  10654. },
  10655. "futureopenamount": {
  10656. "description": "期货开仓金额",
  10657. "type": "number"
  10658. },
  10659. "futureopenqty": {
  10660. "description": "期货开仓数量",
  10661. "type": "number"
  10662. },
  10663. "futurepl": {
  10664. "description": "期货总盈亏[结算更新]",
  10665. "type": "number"
  10666. },
  10667. "futureqty": {
  10668. "description": "期货持仓数量",
  10669. "type": "number"
  10670. },
  10671. "futurequote": {
  10672. "description": "期货额度",
  10673. "type": "number"
  10674. },
  10675. "goodsgroupid": {
  10676. "description": "期货品种ID",
  10677. "type": "integer"
  10678. },
  10679. "marketid": {
  10680. "description": "市场ID",
  10681. "type": "integer"
  10682. },
  10683. "netexposure": {
  10684. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10685. "type": "number"
  10686. },
  10687. "netexposurepl": {
  10688. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10689. "type": "number"
  10690. },
  10691. "netexposurerate": {
  10692. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10693. "type": "number"
  10694. },
  10695. "openbasis": {
  10696. "description": "建仓基差",
  10697. "type": "number"
  10698. },
  10699. "pricedspotqty": {
  10700. "description": "已定价现货数量",
  10701. "type": "number"
  10702. },
  10703. "pricedspotqtynotax": {
  10704. "description": "已定价现货不含税数量",
  10705. "type": "number"
  10706. },
  10707. "remark": {
  10708. "description": "备注",
  10709. "type": "string"
  10710. },
  10711. "spotavgprice": {
  10712. "description": "现货均价",
  10713. "type": "number"
  10714. },
  10715. "spotbuyamount": {
  10716. "description": "现货采购金额",
  10717. "type": "number"
  10718. },
  10719. "spotbuyqty": {
  10720. "description": "现货采购数量",
  10721. "type": "number"
  10722. },
  10723. "spotpl": {
  10724. "description": "现货总盈亏[结算更新]",
  10725. "type": "number"
  10726. },
  10727. "spotquota": {
  10728. "description": "现货额度",
  10729. "type": "number"
  10730. },
  10731. "spotsellamount": {
  10732. "description": "现货销售金额",
  10733. "type": "number"
  10734. },
  10735. "spotsellqty": {
  10736. "description": "现货销售数量",
  10737. "type": "number"
  10738. },
  10739. "spotusedquota": {
  10740. "description": "现货占用资金",
  10741. "type": "number"
  10742. },
  10743. "strategystatus": {
  10744. "description": "策略状态 - 0:未结束 1:已结束",
  10745. "type": "integer"
  10746. },
  10747. "totalpl": {
  10748. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10749. "type": "number"
  10750. },
  10751. "tradedate": {
  10752. "description": "交易日(yyyyMMdd)",
  10753. "type": "string"
  10754. },
  10755. "updatetime": {
  10756. "description": "更新时间",
  10757. "type": "string"
  10758. },
  10759. "usedquota": {
  10760. "description": "已占用资金",
  10761. "type": "number"
  10762. },
  10763. "userid": {
  10764. "description": "所属机构",
  10765. "type": "integer"
  10766. }
  10767. }
  10768. },
  10769. "erms2.QueryInnerTradeDetailRsp": {
  10770. "type": "object",
  10771. "required": [
  10772. "asapplyid",
  10773. "buyorsell",
  10774. "goodscode",
  10775. "goodsgroupid",
  10776. "goodsgroupname",
  10777. "goodsname",
  10778. "tradeid"
  10779. ],
  10780. "properties": {
  10781. "accountid": {
  10782. "description": "账号ID",
  10783. "type": "integer"
  10784. },
  10785. "agreeunit": {
  10786. "description": "合约单位",
  10787. "type": "number"
  10788. },
  10789. "asapplyid": {
  10790. "description": "策略申请ID",
  10791. "type": "integer"
  10792. },
  10793. "asname": {
  10794. "description": "策略名称",
  10795. "type": "string"
  10796. },
  10797. "asno": {
  10798. "description": "策略编号",
  10799. "type": "string"
  10800. },
  10801. "buyorsell": {
  10802. "description": "方向 - 0:买 1:卖",
  10803. "type": "integer"
  10804. },
  10805. "channelbuildtype": {
  10806. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10807. "type": "integer"
  10808. },
  10809. "closetype": {
  10810. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10811. "type": "integer"
  10812. },
  10813. "decimalplace": {
  10814. "description": "报价小数位",
  10815. "type": "integer"
  10816. },
  10817. "detailtype": {
  10818. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10819. "type": "integer"
  10820. },
  10821. "exexchangecode": {
  10822. "description": "外部交易所代码",
  10823. "type": "string"
  10824. },
  10825. "exexchangename": {
  10826. "description": "外部交易所名称",
  10827. "type": "string"
  10828. },
  10829. "goodscode": {
  10830. "description": "商品代码(合约)",
  10831. "type": "string"
  10832. },
  10833. "goodsgroupid": {
  10834. "description": "商品组ID(品种ID)",
  10835. "type": "integer"
  10836. },
  10837. "goodsgroupname": {
  10838. "description": "商品组名称(品种)",
  10839. "type": "string"
  10840. },
  10841. "goodsid": {
  10842. "description": "商品ID",
  10843. "type": "integer"
  10844. },
  10845. "goodsname": {
  10846. "description": "商品名称(合约)",
  10847. "type": "string"
  10848. },
  10849. "goodunit": {
  10850. "description": "报价单位",
  10851. "type": "string"
  10852. },
  10853. "marketid": {
  10854. "description": "市场ID",
  10855. "type": "integer"
  10856. },
  10857. "orderid": {
  10858. "description": "委托单号",
  10859. "type": "string"
  10860. },
  10861. "outgoodscode": {
  10862. "description": "商品代码(外部)",
  10863. "type": "string"
  10864. },
  10865. "relatedouttradeid": {
  10866. "description": "关联外部成交单ID",
  10867. "type": "string"
  10868. },
  10869. "remark": {
  10870. "description": "备注",
  10871. "type": "string"
  10872. },
  10873. "spotcontractid": {
  10874. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10875. "type": "integer"
  10876. },
  10877. "spotcontractno": {
  10878. "description": "现货合同编号",
  10879. "type": "string"
  10880. },
  10881. "tradeid": {
  10882. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10883. "type": "string"
  10884. },
  10885. "tradeprice": {
  10886. "description": "成交价格",
  10887. "type": "number"
  10888. },
  10889. "tradeqty": {
  10890. "description": "成交数量",
  10891. "type": "integer"
  10892. },
  10893. "tradetime": {
  10894. "description": "成交时间",
  10895. "type": "string"
  10896. },
  10897. "updatetime": {
  10898. "description": "更新时间",
  10899. "type": "string"
  10900. }
  10901. }
  10902. },
  10903. "erms2.QuerySpotContractRsp": {
  10904. "type": "object",
  10905. "required": [
  10906. "spotcontractid"
  10907. ],
  10908. "properties": {
  10909. "accountid": {
  10910. "description": "资金账户ID",
  10911. "type": "integer"
  10912. },
  10913. "areauserid": {
  10914. "description": "所属机构",
  10915. "type": "integer"
  10916. },
  10917. "closedate": {
  10918. "description": "终止日期",
  10919. "type": "string"
  10920. },
  10921. "closeremark": {
  10922. "description": "结束备注",
  10923. "type": "string"
  10924. },
  10925. "closetradedate": {
  10926. "description": "完结交易日(yyyyMMdd)",
  10927. "type": "string"
  10928. },
  10929. "closetype": {
  10930. "description": "终止类型 - 1:违约 2:提前终止",
  10931. "type": "integer"
  10932. },
  10933. "contractamount": {
  10934. "description": "合同金额",
  10935. "type": "number"
  10936. },
  10937. "contractattachment": {
  10938. "description": "合同附件",
  10939. "type": "string"
  10940. },
  10941. "contractno": {
  10942. "description": "现货合同编号",
  10943. "type": "string"
  10944. },
  10945. "contractqty": {
  10946. "description": "合同数量(数值) (用于计算)",
  10947. "type": "number"
  10948. },
  10949. "contractqtychar": {
  10950. "description": "合同数量\\已订价数量 (用于显示)",
  10951. "type": "string"
  10952. },
  10953. "contractstatus": {
  10954. "description": "合同状态 - 0:未结束 1:已结束",
  10955. "type": "integer"
  10956. },
  10957. "contracttype": {
  10958. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10959. "type": "integer"
  10960. },
  10961. "customeraccountid": {
  10962. "description": "客户资金账户ID",
  10963. "type": "integer"
  10964. },
  10965. "customeruserid": {
  10966. "description": "客户ID",
  10967. "type": "integer"
  10968. },
  10969. "deliverygoodsdesc": {
  10970. "description": "品种说明",
  10971. "type": "string"
  10972. },
  10973. "deliverygoodsid": {
  10974. "description": "现货品种ID",
  10975. "type": "integer"
  10976. },
  10977. "handlestatus": {
  10978. "description": "处理状态",
  10979. "type": "integer"
  10980. },
  10981. "invoiceatt": {
  10982. "description": "发票附件",
  10983. "type": "string"
  10984. },
  10985. "invoicedatetime": {
  10986. "description": "开收票更新时间",
  10987. "type": "string"
  10988. },
  10989. "invoiceopentime": {
  10990. "description": "开票时间",
  10991. "type": "string"
  10992. },
  10993. "invoiceremark": {
  10994. "description": "发票备注",
  10995. "type": "string"
  10996. },
  10997. "invoicestatus": {
  10998. "description": "开收票状态 - 0:未开票 1:已开票",
  10999. "type": "integer"
  11000. },
  11001. "lastdate": {
  11002. "description": "交货时间",
  11003. "type": "string"
  11004. },
  11005. "marketid": {
  11006. "description": "市场ID",
  11007. "type": "integer"
  11008. },
  11009. "paydatetime": {
  11010. "description": "收付款更新时间",
  11011. "type": "string"
  11012. },
  11013. "payremark": {
  11014. "description": "收付款备注",
  11015. "type": "string"
  11016. },
  11017. "paystatus": {
  11018. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11019. "type": "integer"
  11020. },
  11021. "positionqty": {
  11022. "description": "头寸数量 - 合同数量去小数部分",
  11023. "type": "integer"
  11024. },
  11025. "producttype": {
  11026. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11027. "type": "integer"
  11028. },
  11029. "relatedqty": {
  11030. "description": "已关联数量",
  11031. "type": "number"
  11032. },
  11033. "relatedstatus": {
  11034. "description": "关联完结状态 - 0:未结束 1:已结束",
  11035. "type": "integer"
  11036. },
  11037. "remark": {
  11038. "description": "备注",
  11039. "type": "string"
  11040. },
  11041. "signdate": {
  11042. "description": "签订日期",
  11043. "type": "string"
  11044. },
  11045. "spotcontractid": {
  11046. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11047. "type": "string"
  11048. },
  11049. "spotdatetime": {
  11050. "description": "收发货更新时间",
  11051. "type": "string"
  11052. },
  11053. "spotprice": {
  11054. "description": "价格",
  11055. "type": "number"
  11056. },
  11057. "spotremark": {
  11058. "description": "收发货备注",
  11059. "type": "string"
  11060. },
  11061. "spotstatus": {
  11062. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11063. "type": "integer"
  11064. },
  11065. "tradedate": {
  11066. "description": "交易日(yyyyMMdd)",
  11067. "type": "string"
  11068. },
  11069. "userid": {
  11070. "description": "业务员用户ID",
  11071. "type": "integer"
  11072. },
  11073. "warehouseid": {
  11074. "description": "仓库ID",
  11075. "type": "integer"
  11076. },
  11077. "wrfactortypeid": {
  11078. "description": "仓单要素类型ID",
  11079. "type": "integer"
  11080. },
  11081. "wrstandardid": {
  11082. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11083. "type": "integer"
  11084. }
  11085. }
  11086. },
  11087. "erms3.AddErms2ASApplyReq": {
  11088. "type": "object",
  11089. "required": [
  11090. "asapplyid"
  11091. ],
  11092. "properties": {
  11093. "applybasis": {
  11094. "description": "申请基差",
  11095. "type": "number"
  11096. },
  11097. "applystatus": {
  11098. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11099. "type": "integer"
  11100. },
  11101. "asapplyid": {
  11102. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11103. "type": "integer"
  11104. },
  11105. "asname": {
  11106. "description": "策略名称",
  11107. "type": "string"
  11108. },
  11109. "asno": {
  11110. "description": "策略编号",
  11111. "type": "string"
  11112. },
  11113. "auditid": {
  11114. "description": "审核人",
  11115. "type": "integer"
  11116. },
  11117. "auditremark": {
  11118. "description": "审核备注",
  11119. "type": "string"
  11120. },
  11121. "audittime": {
  11122. "description": "审核时间",
  11123. "type": "string"
  11124. },
  11125. "biztype": {
  11126. "description": "业务类型 - 1:正向套利 2:反向套利",
  11127. "type": "integer"
  11128. },
  11129. "createtime": {
  11130. "description": "创建时间",
  11131. "type": "string"
  11132. },
  11133. "creatorid": {
  11134. "description": "创建人",
  11135. "type": "integer"
  11136. },
  11137. "deliverygoodsid": {
  11138. "description": "现货品种ID",
  11139. "type": "integer"
  11140. },
  11141. "futurequote": {
  11142. "description": "期货额度",
  11143. "type": "number"
  11144. },
  11145. "goodsgroupid": {
  11146. "description": "期货品种ID",
  11147. "type": "integer"
  11148. },
  11149. "marketid": {
  11150. "description": "市场ID",
  11151. "type": "integer"
  11152. },
  11153. "remark": {
  11154. "description": "备注",
  11155. "type": "string"
  11156. },
  11157. "spotquota": {
  11158. "description": "现货额度",
  11159. "type": "number"
  11160. },
  11161. "tradedate": {
  11162. "description": "交易日(yyyyMMdd)",
  11163. "type": "string"
  11164. },
  11165. "userid": {
  11166. "description": "所属机构",
  11167. "type": "integer"
  11168. }
  11169. }
  11170. },
  11171. "erms3.AddErms2SpotTradeApplyReq": {
  11172. "type": "object",
  11173. "required": [
  11174. "spottradeid"
  11175. ],
  11176. "properties": {
  11177. "applyjsondetail": {
  11178. "description": "申请明细(JSON)",
  11179. "type": "string"
  11180. },
  11181. "applystatus": {
  11182. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11183. "type": "integer"
  11184. },
  11185. "areauserid": {
  11186. "description": "所属机构",
  11187. "type": "integer"
  11188. },
  11189. "auditid": {
  11190. "description": "审核人",
  11191. "type": "integer"
  11192. },
  11193. "auditremark": {
  11194. "description": "审核备注",
  11195. "type": "string"
  11196. },
  11197. "audittime": {
  11198. "description": "审核时间",
  11199. "type": "string"
  11200. },
  11201. "createtime": {
  11202. "description": "创建时间",
  11203. "type": "string"
  11204. },
  11205. "creatorid": {
  11206. "description": "创建人",
  11207. "type": "integer"
  11208. },
  11209. "deliverygoodsid": {
  11210. "description": "现货品种ID",
  11211. "type": "integer"
  11212. },
  11213. "futureaccountid": {
  11214. "description": "期货资金账户",
  11215. "type": "integer"
  11216. },
  11217. "goodsgroupid": {
  11218. "description": "期货品种",
  11219. "type": "integer"
  11220. },
  11221. "marketid": {
  11222. "description": "市场ID",
  11223. "type": "integer"
  11224. },
  11225. "remark": {
  11226. "description": "备注",
  11227. "type": "string"
  11228. },
  11229. "spotaccountid": {
  11230. "description": "现货资金账户",
  11231. "type": "integer"
  11232. },
  11233. "spottradeid": {
  11234. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11235. "type": "integer"
  11236. },
  11237. "spottradename": {
  11238. "description": "业务名称",
  11239. "type": "string"
  11240. },
  11241. "spottradeno": {
  11242. "description": "业务编号",
  11243. "type": "string"
  11244. },
  11245. "tradedate": {
  11246. "description": "交易日(yyyyMMdd)",
  11247. "type": "string"
  11248. },
  11249. "wrstandardid": {
  11250. "description": "仓单标准ID",
  11251. "type": "integer"
  11252. }
  11253. }
  11254. },
  11255. "erms3.AddSpotContractApplyReq": {
  11256. "type": "object",
  11257. "required": [
  11258. "accountid",
  11259. "areauserid",
  11260. "contractno",
  11261. "contracttype",
  11262. "customeraccountid",
  11263. "customeruserid",
  11264. "details",
  11265. "orimargin",
  11266. "signdate"
  11267. ],
  11268. "properties": {
  11269. "accountid": {
  11270. "description": "资金账户ID",
  11271. "type": "integer"
  11272. },
  11273. "areauserid": {
  11274. "description": "所属机构",
  11275. "type": "integer"
  11276. },
  11277. "contractattachment": {
  11278. "description": "合同附件",
  11279. "type": "string"
  11280. },
  11281. "contractno": {
  11282. "description": "现货合同编号",
  11283. "type": "string"
  11284. },
  11285. "contracttype": {
  11286. "description": "现货合同类型 - 1:采购 -1:销售",
  11287. "type": "integer"
  11288. },
  11289. "creatorid": {
  11290. "description": "申请人",
  11291. "type": "integer"
  11292. },
  11293. "customeraccountid": {
  11294. "description": "客户资金账户ID",
  11295. "type": "integer"
  11296. },
  11297. "customeruserid": {
  11298. "description": "客户ID",
  11299. "type": "integer"
  11300. },
  11301. "details": {
  11302. "description": "明细",
  11303. "type": "array",
  11304. "items": {
  11305. "$ref": "#/definitions/erms3.SoptContractDetail"
  11306. }
  11307. },
  11308. "orimargin": {
  11309. "description": "初始保证金",
  11310. "type": "number"
  11311. },
  11312. "remark": {
  11313. "description": "备注",
  11314. "type": "string"
  11315. },
  11316. "signdate": {
  11317. "description": "签订日期",
  11318. "type": "string"
  11319. }
  11320. }
  11321. },
  11322. "erms3.AddSpotContractApplyRsp": {
  11323. "type": "object",
  11324. "required": [
  11325. "contractno"
  11326. ],
  11327. "properties": {
  11328. "contractno": {
  11329. "description": "现货合同编号",
  11330. "type": "string"
  11331. },
  11332. "spotcontractid": {
  11333. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11334. "type": "integer"
  11335. }
  11336. }
  11337. },
  11338. "erms3.AddUserInfoApplyReq": {
  11339. "type": "object",
  11340. "required": [
  11341. "userid"
  11342. ],
  11343. "properties": {
  11344. "accountid": {
  11345. "description": "交易系统帐号Id (加密存储)",
  11346. "type": "integer"
  11347. },
  11348. "areacode": {
  11349. "description": "机构代码",
  11350. "type": "string"
  11351. },
  11352. "areaid": {
  11353. "description": "机构Id",
  11354. "type": "integer"
  11355. },
  11356. "attachment1": {
  11357. "description": "附件1",
  11358. "type": "string"
  11359. },
  11360. "attachment2": {
  11361. "description": "附件2",
  11362. "type": "string"
  11363. },
  11364. "attachment3": {
  11365. "description": "附件3",
  11366. "type": "string"
  11367. },
  11368. "attachment4": {
  11369. "description": "附件4",
  11370. "type": "string"
  11371. },
  11372. "attachment5": {
  11373. "description": "附件5",
  11374. "type": "string"
  11375. },
  11376. "auditedby": {
  11377. "description": "审核人",
  11378. "type": "string"
  11379. },
  11380. "auditime": {
  11381. "description": "审核时间",
  11382. "type": "string"
  11383. },
  11384. "auditsrc": {
  11385. "description": "审核来源 - 1:管理端 2:终端",
  11386. "type": "integer"
  11387. },
  11388. "bankaccount": {
  11389. "description": "银行帐号 (加密存储)",
  11390. "type": "string"
  11391. },
  11392. "bankaccountname": {
  11393. "description": "收款人名称",
  11394. "type": "string"
  11395. },
  11396. "bankcardbackphotourl": {
  11397. "description": "银行卡背面照地址",
  11398. "type": "string"
  11399. },
  11400. "bankcardfrontphotourl": {
  11401. "description": "银行卡正面照地址",
  11402. "type": "string"
  11403. },
  11404. "bankid": {
  11405. "description": "银行编码",
  11406. "type": "string"
  11407. },
  11408. "bankname": {
  11409. "description": "银行名称",
  11410. "type": "string"
  11411. },
  11412. "bankpictureurl": {
  11413. "description": "银行卡正面地址",
  11414. "type": "string"
  11415. },
  11416. "biznature": {
  11417. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11418. "type": "integer"
  11419. },
  11420. "bizscope": {
  11421. "description": "企业经营范围(企业)",
  11422. "type": "string"
  11423. },
  11424. "biztype": {
  11425. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11426. "type": "integer"
  11427. },
  11428. "brokerid": {
  11429. "description": "经纪人ID(加密存储)",
  11430. "type": "string"
  11431. },
  11432. "cardaddress": {
  11433. "description": "证件地址 (加密存储)",
  11434. "type": "string"
  11435. },
  11436. "cardbackphotourl": {
  11437. "description": "背面证件照地址",
  11438. "type": "string"
  11439. },
  11440. "cardfrontphotourl": {
  11441. "description": "正面证件照地址",
  11442. "type": "string"
  11443. },
  11444. "cardnum": {
  11445. "description": "证件号码 (加密存储)",
  11446. "type": "string"
  11447. },
  11448. "cardtype": {
  11449. "description": "证件类型",
  11450. "type": "integer"
  11451. },
  11452. "cityid": {
  11453. "description": "市",
  11454. "type": "integer"
  11455. },
  11456. "company": {
  11457. "description": "公司(个人)",
  11458. "type": "string"
  11459. },
  11460. "contactcardbackphotourl": {
  11461. "description": "联系人证件背面图片地址",
  11462. "type": "string"
  11463. },
  11464. "contactcardfrontphotourl": {
  11465. "description": "联系人证件正面图片地址",
  11466. "type": "string"
  11467. },
  11468. "contactname": {
  11469. "description": "联系人",
  11470. "type": "string"
  11471. },
  11472. "countryid": {
  11473. "description": "国家",
  11474. "type": "integer"
  11475. },
  11476. "createtime": {
  11477. "description": "开户申请时间",
  11478. "type": "string"
  11479. },
  11480. "cusbankid": {
  11481. "description": "签约类型",
  11482. "type": "string"
  11483. },
  11484. "cusbankname": {
  11485. "description": "签约类型名称",
  11486. "type": "string"
  11487. },
  11488. "customername": {
  11489. "description": "客户名称(企业名称)",
  11490. "type": "string"
  11491. },
  11492. "districtid": {
  11493. "description": "地区",
  11494. "type": "integer"
  11495. },
  11496. "email": {
  11497. "description": "Email地址(加密存储)",
  11498. "type": "string"
  11499. },
  11500. "halfbodyphotourl": {
  11501. "description": "半身照地址",
  11502. "type": "string"
  11503. },
  11504. "headurl": {
  11505. "description": "头像地址",
  11506. "type": "string"
  11507. },
  11508. "ipaddress": {
  11509. "description": "IP地址",
  11510. "type": "string"
  11511. },
  11512. "isvalidate": {
  11513. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11514. "type": "string"
  11515. },
  11516. "legalcardbackphotourl": {
  11517. "description": "法人身份证背面照地址",
  11518. "type": "string"
  11519. },
  11520. "legalcardfrontphotourl": {
  11521. "description": "法人身份证正面照地址",
  11522. "type": "string"
  11523. },
  11524. "legalpersonname": {
  11525. "description": "法人姓名(企业)",
  11526. "type": "string"
  11527. },
  11528. "logincode": {
  11529. "description": "登录帐号 (加密存储)",
  11530. "type": "string"
  11531. },
  11532. "memberareaid": {
  11533. "description": "所属会员ID",
  11534. "type": "integer"
  11535. },
  11536. "mobile2": {
  11537. "description": "手机号码[明文-尚志]",
  11538. "type": "string"
  11539. },
  11540. "mobilephone": {
  11541. "description": "手机号码 (加密存储)",
  11542. "type": "string"
  11543. },
  11544. "modifiedby": {
  11545. "description": "修改人帐号",
  11546. "type": "integer"
  11547. },
  11548. "modifiedtime": {
  11549. "description": "修改时间",
  11550. "type": "string"
  11551. },
  11552. "nickname": {
  11553. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11554. "type": "string"
  11555. },
  11556. "openmode": {
  11557. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11558. "type": "integer"
  11559. },
  11560. "otherurl": {
  11561. "description": "其它图片地址[使用分号分隔]",
  11562. "type": "string"
  11563. },
  11564. "postalcode": {
  11565. "description": "邮政编码",
  11566. "type": "string"
  11567. },
  11568. "provinceid": {
  11569. "description": "省",
  11570. "type": "integer"
  11571. },
  11572. "proxystatementurl": {
  11573. "description": "授权委托书",
  11574. "type": "string"
  11575. },
  11576. "qq": {
  11577. "description": "QQ(加密存储",
  11578. "type": "string"
  11579. },
  11580. "referral": {
  11581. "description": "推荐人编码",
  11582. "type": "string"
  11583. },
  11584. "remark": {
  11585. "description": "备注",
  11586. "type": "string"
  11587. },
  11588. "removebeforestatus": {
  11589. "description": "REMOVEBEFORESTATUS",
  11590. "type": "integer"
  11591. },
  11592. "sex": {
  11593. "description": "性别 - 0:女 1:男",
  11594. "type": "integer"
  11595. },
  11596. "signedstatus": {
  11597. "description": "账户一号签签约状态",
  11598. "type": "integer"
  11599. },
  11600. "signpdfurl": {
  11601. "description": "签约pdf文件",
  11602. "type": "string"
  11603. },
  11604. "subbranch": {
  11605. "description": "开户支行",
  11606. "type": "string"
  11607. },
  11608. "taxpayernum": {
  11609. "description": "纳税人识别号",
  11610. "type": "string"
  11611. },
  11612. "telphone": {
  11613. "description": "联系电话(加密存储)",
  11614. "type": "string"
  11615. },
  11616. "userid": {
  11617. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11618. "type": "integer"
  11619. },
  11620. "userinfotype": {
  11621. "description": "用户信息类型 - 1:个人 2:企业",
  11622. "type": "integer"
  11623. },
  11624. "username": {
  11625. "description": "用户姓名",
  11626. "type": "string"
  11627. },
  11628. "userstate": {
  11629. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11630. "type": "integer"
  11631. },
  11632. "usertype": {
  11633. "description": "用户类型 - 1:投资者 2:机构",
  11634. "type": "integer"
  11635. },
  11636. "videourl": {
  11637. "description": "视频地址",
  11638. "type": "string"
  11639. },
  11640. "wechat": {
  11641. "description": "微信号 (加密存储)",
  11642. "type": "string"
  11643. }
  11644. }
  11645. },
  11646. "erms3.CustomerInfo": {
  11647. "type": "object",
  11648. "required": [
  11649. "userid"
  11650. ],
  11651. "properties": {
  11652. "accountids": {
  11653. "description": "资金账户ID列表",
  11654. "type": "array",
  11655. "items": {
  11656. "type": "integer"
  11657. }
  11658. },
  11659. "customername": {
  11660. "description": "名称(企业名称)",
  11661. "type": "string"
  11662. },
  11663. "mobile": {
  11664. "description": "手机号码",
  11665. "type": "string"
  11666. },
  11667. "userid": {
  11668. "description": "用户ID",
  11669. "type": "integer"
  11670. }
  11671. }
  11672. },
  11673. "erms3.ModifyUserInfoApplyReq": {
  11674. "type": "object",
  11675. "required": [
  11676. "userid"
  11677. ],
  11678. "properties": {
  11679. "accountid": {
  11680. "description": "交易系统帐号Id (加密存储)",
  11681. "type": "integer"
  11682. },
  11683. "areacode": {
  11684. "description": "机构代码",
  11685. "type": "string"
  11686. },
  11687. "areaid": {
  11688. "description": "机构Id",
  11689. "type": "integer"
  11690. },
  11691. "attachment1": {
  11692. "description": "附件1",
  11693. "type": "string"
  11694. },
  11695. "attachment2": {
  11696. "description": "附件2",
  11697. "type": "string"
  11698. },
  11699. "attachment3": {
  11700. "description": "附件3",
  11701. "type": "string"
  11702. },
  11703. "attachment4": {
  11704. "description": "附件4",
  11705. "type": "string"
  11706. },
  11707. "attachment5": {
  11708. "description": "附件5",
  11709. "type": "string"
  11710. },
  11711. "auditedby": {
  11712. "description": "审核人",
  11713. "type": "string"
  11714. },
  11715. "auditime": {
  11716. "description": "审核时间",
  11717. "type": "string"
  11718. },
  11719. "auditsrc": {
  11720. "description": "审核来源 - 1:管理端 2:终端",
  11721. "type": "integer"
  11722. },
  11723. "bankaccount": {
  11724. "description": "银行帐号 (加密存储)",
  11725. "type": "string"
  11726. },
  11727. "bankaccountname": {
  11728. "description": "收款人名称",
  11729. "type": "string"
  11730. },
  11731. "bankcardbackphotourl": {
  11732. "description": "银行卡背面照地址",
  11733. "type": "string"
  11734. },
  11735. "bankcardfrontphotourl": {
  11736. "description": "银行卡正面照地址",
  11737. "type": "string"
  11738. },
  11739. "bankid": {
  11740. "description": "银行编码",
  11741. "type": "string"
  11742. },
  11743. "bankname": {
  11744. "description": "银行名称",
  11745. "type": "string"
  11746. },
  11747. "bankpictureurl": {
  11748. "description": "银行卡正面地址",
  11749. "type": "string"
  11750. },
  11751. "biznature": {
  11752. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11753. "type": "integer"
  11754. },
  11755. "bizscope": {
  11756. "description": "企业经营范围(企业)",
  11757. "type": "string"
  11758. },
  11759. "biztype": {
  11760. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11761. "type": "integer"
  11762. },
  11763. "brokerid": {
  11764. "description": "经纪人ID(加密存储)",
  11765. "type": "string"
  11766. },
  11767. "cardaddress": {
  11768. "description": "证件地址 (加密存储)",
  11769. "type": "string"
  11770. },
  11771. "cardbackphotourl": {
  11772. "description": "背面证件照地址",
  11773. "type": "string"
  11774. },
  11775. "cardfrontphotourl": {
  11776. "description": "正面证件照地址",
  11777. "type": "string"
  11778. },
  11779. "cardnum": {
  11780. "description": "证件号码 (加密存储)",
  11781. "type": "string"
  11782. },
  11783. "cardtype": {
  11784. "description": "证件类型",
  11785. "type": "integer"
  11786. },
  11787. "cityid": {
  11788. "description": "市",
  11789. "type": "integer"
  11790. },
  11791. "company": {
  11792. "description": "公司(个人)",
  11793. "type": "string"
  11794. },
  11795. "contactcardbackphotourl": {
  11796. "description": "联系人证件背面图片地址",
  11797. "type": "string"
  11798. },
  11799. "contactcardfrontphotourl": {
  11800. "description": "联系人证件正面图片地址",
  11801. "type": "string"
  11802. },
  11803. "contactname": {
  11804. "description": "联系人",
  11805. "type": "string"
  11806. },
  11807. "countryid": {
  11808. "description": "国家",
  11809. "type": "integer"
  11810. },
  11811. "createtime": {
  11812. "description": "开户申请时间",
  11813. "type": "string"
  11814. },
  11815. "cusbankid": {
  11816. "description": "签约类型",
  11817. "type": "string"
  11818. },
  11819. "cusbankname": {
  11820. "description": "签约类型名称",
  11821. "type": "string"
  11822. },
  11823. "customername": {
  11824. "description": "客户名称(企业名称)",
  11825. "type": "string"
  11826. },
  11827. "districtid": {
  11828. "description": "地区",
  11829. "type": "integer"
  11830. },
  11831. "email": {
  11832. "description": "Email地址(加密存储)",
  11833. "type": "string"
  11834. },
  11835. "halfbodyphotourl": {
  11836. "description": "半身照地址",
  11837. "type": "string"
  11838. },
  11839. "headurl": {
  11840. "description": "头像地址",
  11841. "type": "string"
  11842. },
  11843. "ipaddress": {
  11844. "description": "IP地址",
  11845. "type": "string"
  11846. },
  11847. "isvalidate": {
  11848. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11849. "type": "string"
  11850. },
  11851. "legalcardbackphotourl": {
  11852. "description": "法人身份证背面照地址",
  11853. "type": "string"
  11854. },
  11855. "legalcardfrontphotourl": {
  11856. "description": "法人身份证正面照地址",
  11857. "type": "string"
  11858. },
  11859. "legalpersonname": {
  11860. "description": "法人姓名(企业)",
  11861. "type": "string"
  11862. },
  11863. "logincode": {
  11864. "description": "登录帐号 (加密存储)",
  11865. "type": "string"
  11866. },
  11867. "memberareaid": {
  11868. "description": "所属会员ID",
  11869. "type": "integer"
  11870. },
  11871. "mobile2": {
  11872. "description": "手机号码[明文-尚志]",
  11873. "type": "string"
  11874. },
  11875. "mobilephone": {
  11876. "description": "手机号码 (加密存储)",
  11877. "type": "string"
  11878. },
  11879. "modifiedby": {
  11880. "description": "修改人帐号",
  11881. "type": "integer"
  11882. },
  11883. "modifiedtime": {
  11884. "description": "修改时间",
  11885. "type": "string"
  11886. },
  11887. "nickname": {
  11888. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11889. "type": "string"
  11890. },
  11891. "openmode": {
  11892. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11893. "type": "integer"
  11894. },
  11895. "otherurl": {
  11896. "description": "其它图片地址[使用分号分隔]",
  11897. "type": "string"
  11898. },
  11899. "postalcode": {
  11900. "description": "邮政编码",
  11901. "type": "string"
  11902. },
  11903. "provinceid": {
  11904. "description": "省",
  11905. "type": "integer"
  11906. },
  11907. "proxystatementurl": {
  11908. "description": "授权委托书",
  11909. "type": "string"
  11910. },
  11911. "qq": {
  11912. "description": "QQ(加密存储",
  11913. "type": "string"
  11914. },
  11915. "referral": {
  11916. "description": "推荐人编码",
  11917. "type": "string"
  11918. },
  11919. "remark": {
  11920. "description": "备注",
  11921. "type": "string"
  11922. },
  11923. "removebeforestatus": {
  11924. "description": "REMOVEBEFORESTATUS",
  11925. "type": "integer"
  11926. },
  11927. "sex": {
  11928. "description": "性别 - 0:女 1:男",
  11929. "type": "integer"
  11930. },
  11931. "signedstatus": {
  11932. "description": "账户一号签签约状态",
  11933. "type": "integer"
  11934. },
  11935. "signpdfurl": {
  11936. "description": "签约pdf文件",
  11937. "type": "string"
  11938. },
  11939. "subbranch": {
  11940. "description": "开户支行",
  11941. "type": "string"
  11942. },
  11943. "taxpayernum": {
  11944. "description": "纳税人识别号",
  11945. "type": "string"
  11946. },
  11947. "telphone": {
  11948. "description": "联系电话(加密存储)",
  11949. "type": "string"
  11950. },
  11951. "userid": {
  11952. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11953. "type": "integer"
  11954. },
  11955. "userinfotype": {
  11956. "description": "用户信息类型 - 1:个人 2:企业",
  11957. "type": "integer"
  11958. },
  11959. "username": {
  11960. "description": "用户姓名",
  11961. "type": "string"
  11962. },
  11963. "userstate": {
  11964. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11965. "type": "integer"
  11966. },
  11967. "usertype": {
  11968. "description": "用户类型 - 1:投资者 2:机构",
  11969. "type": "integer"
  11970. },
  11971. "videourl": {
  11972. "description": "视频地址",
  11973. "type": "string"
  11974. },
  11975. "wechat": {
  11976. "description": "微信号 (加密存储)",
  11977. "type": "string"
  11978. }
  11979. }
  11980. },
  11981. "erms3.QryAuditContractRsp": {
  11982. "type": "object",
  11983. "required": [
  11984. "matchcustomername",
  11985. "spotcontractid"
  11986. ],
  11987. "properties": {
  11988. "accountid": {
  11989. "description": "交易员ID",
  11990. "type": "string"
  11991. },
  11992. "applystatus": {
  11993. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11994. "type": "integer"
  11995. },
  11996. "curdeliveryqty": {
  11997. "description": "未交收量",
  11998. "type": "integer"
  11999. },
  12000. "customername": {
  12001. "description": "采购方ID",
  12002. "type": "string"
  12003. },
  12004. "deliverygoodsid": {
  12005. "description": "品种ID",
  12006. "type": "string"
  12007. },
  12008. "deliveryqty": {
  12009. "description": "交收量",
  12010. "type": "integer"
  12011. },
  12012. "enumdicname": {
  12013. "description": "单位名称",
  12014. "type": "string"
  12015. },
  12016. "matchaccountid": {
  12017. "description": "业务员ID",
  12018. "type": "string"
  12019. },
  12020. "matchcustomername": {
  12021. "description": "销售方ID",
  12022. "type": "string"
  12023. },
  12024. "pricedqty": {
  12025. "description": "定价量",
  12026. "type": "number"
  12027. },
  12028. "signdate": {
  12029. "description": "签订日期",
  12030. "type": "string"
  12031. },
  12032. "spotcontractid": {
  12033. "description": "合同ID",
  12034. "type": "string"
  12035. },
  12036. "totaldqty": {
  12037. "description": "合同量",
  12038. "type": "number"
  12039. },
  12040. "unpricedqty": {
  12041. "description": "未定价量",
  12042. "type": "number"
  12043. },
  12044. "wrstandardname": {
  12045. "description": "商品名称",
  12046. "type": "string"
  12047. }
  12048. }
  12049. },
  12050. "erms3.QryPendingBizRsp": {
  12051. "$ref": "#/definitions/models.PendingAuditBizModel"
  12052. },
  12053. "erms3.QueryBusinessInfoRsp": {
  12054. "type": "object",
  12055. "properties": {
  12056. "businessid": {
  12057. "description": "业务ID.",
  12058. "type": "integer"
  12059. },
  12060. "buyamount": {
  12061. "description": "采购额.",
  12062. "type": "number"
  12063. },
  12064. "buyqty": {
  12065. "description": "采购量.",
  12066. "type": "string"
  12067. },
  12068. "futurepl": {
  12069. "description": "期货盈亏.",
  12070. "type": "number"
  12071. },
  12072. "futureqty": {
  12073. "description": "期货敞口.",
  12074. "type": "string"
  12075. },
  12076. "goodsid": {
  12077. "description": "商品名称/商品代码.",
  12078. "type": "string"
  12079. },
  12080. "hedgingqty": {
  12081. "description": "套保量.",
  12082. "type": "string"
  12083. },
  12084. "sellamount": {
  12085. "description": "销售额.",
  12086. "type": "number"
  12087. },
  12088. "sellqty": {
  12089. "description": "销售量.",
  12090. "type": "string"
  12091. },
  12092. "spotmarketvalue": {
  12093. "description": "现货市值.",
  12094. "type": "number"
  12095. },
  12096. "spotpl": {
  12097. "description": "浮动权益.",
  12098. "type": "number"
  12099. },
  12100. "spotqty": {
  12101. "description": "现货量.",
  12102. "type": "string"
  12103. },
  12104. "statu": {
  12105. "description": "状态,0-未结束 1-已结束.",
  12106. "type": "integer"
  12107. },
  12108. "totalpl": {
  12109. "description": "总盈亏.",
  12110. "type": "number"
  12111. },
  12112. "totalqty": {
  12113. "description": "总敞口.",
  12114. "type": "string"
  12115. },
  12116. "type": {
  12117. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12118. "type": "integer"
  12119. }
  12120. }
  12121. },
  12122. "erms3.QuerySpotContractAppleFormRsp": {
  12123. "type": "object",
  12124. "properties": {
  12125. "goodses": {
  12126. "description": "合约列表",
  12127. "type": "array",
  12128. "items": {
  12129. "$ref": "#/definitions/models.GoodsIDAndName"
  12130. }
  12131. },
  12132. "oppositeusers": {
  12133. "description": "对方账号列表",
  12134. "type": "array",
  12135. "items": {
  12136. "$ref": "#/definitions/erms3.CustomerInfo"
  12137. }
  12138. },
  12139. "ouruser": {
  12140. "description": "我方账号",
  12141. "type": "object",
  12142. "$ref": "#/definitions/erms3.CustomerInfo"
  12143. },
  12144. "warehouseinfos": {
  12145. "description": "仓库信息列表",
  12146. "type": "array",
  12147. "items": {
  12148. "$ref": "#/definitions/models.Warehouseinfo"
  12149. }
  12150. },
  12151. "wrstandards": {
  12152. "description": "仓单标准列表",
  12153. "type": "array",
  12154. "items": {
  12155. "$ref": "#/definitions/models.WRStandardInfo"
  12156. }
  12157. }
  12158. }
  12159. },
  12160. "erms3.QuerySpotContractInfoRsp": {
  12161. "type": "object",
  12162. "properties": {
  12163. "accountid": {
  12164. "description": "表示交易员ID.",
  12165. "type": "integer"
  12166. },
  12167. "curdeliveryqty": {
  12168. "description": "表示未交收量.",
  12169. "type": "number"
  12170. },
  12171. "customername": {
  12172. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12173. "type": "string"
  12174. },
  12175. "deliverygoodsid": {
  12176. "description": "表示品种ID.",
  12177. "type": "string"
  12178. },
  12179. "deliveryqty": {
  12180. "description": "表示交收量.",
  12181. "type": "number"
  12182. },
  12183. "matchaccountid": {
  12184. "description": "表示业务员ID.",
  12185. "type": "integer"
  12186. },
  12187. "matchcustomername": {
  12188. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12189. "type": "string"
  12190. },
  12191. "priceqty": {
  12192. "description": "表示定价量.",
  12193. "type": "number"
  12194. },
  12195. "relatedbizid": {
  12196. "description": "表示业务ID.",
  12197. "type": "string"
  12198. },
  12199. "signdate": {
  12200. "description": "表示签订日期.",
  12201. "type": "string"
  12202. },
  12203. "spotcontractid": {
  12204. "description": "合同ID",
  12205. "type": "string"
  12206. },
  12207. "status": {
  12208. "description": "表示状态,0-履约中 1-已完成.",
  12209. "type": "integer"
  12210. },
  12211. "totalqty": {
  12212. "description": "表示合同量.",
  12213. "type": "number"
  12214. },
  12215. "unpricedqty": {
  12216. "description": "表示未定价量.",
  12217. "type": "number"
  12218. },
  12219. "wrstandardname": {
  12220. "description": "表示商品ID.",
  12221. "type": "string"
  12222. }
  12223. }
  12224. },
  12225. "erms3.QueryUserInfoAppliesRsp": {
  12226. "type": "object",
  12227. "required": [
  12228. "userid"
  12229. ],
  12230. "properties": {
  12231. "biznature": {
  12232. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12233. "type": "integer"
  12234. },
  12235. "contactname": {
  12236. "description": "联系人",
  12237. "type": "string"
  12238. },
  12239. "createtime": {
  12240. "description": "开户申请时间",
  12241. "type": "string"
  12242. },
  12243. "userid": {
  12244. "description": "用户ID(自增ID)",
  12245. "type": "integer"
  12246. },
  12247. "userinfotype": {
  12248. "description": "用户信息类型 - 1:个人 2:企业",
  12249. "type": "integer"
  12250. },
  12251. "username": {
  12252. "description": "用户姓名",
  12253. "type": "string"
  12254. },
  12255. "userstate": {
  12256. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12257. "type": "integer"
  12258. }
  12259. }
  12260. },
  12261. "erms3.QueryUserInfosRsp": {
  12262. "type": "object",
  12263. "required": [
  12264. "userid"
  12265. ],
  12266. "properties": {
  12267. "biznature": {
  12268. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12269. "type": "integer"
  12270. },
  12271. "contactname": {
  12272. "description": "联系人",
  12273. "type": "string"
  12274. },
  12275. "customername": {
  12276. "description": "客户名称(企业名称)",
  12277. "type": "string"
  12278. },
  12279. "userid": {
  12280. "description": "用户ID",
  12281. "type": "integer"
  12282. },
  12283. "userinfotype": {
  12284. "description": "用户信息类型 - 1:个人 2:企业",
  12285. "type": "integer"
  12286. },
  12287. "userstatus": {
  12288. "description": "用户状态 - 1:正常 2:注销",
  12289. "type": "integer"
  12290. }
  12291. }
  12292. },
  12293. "erms3.SoptContractDetail": {
  12294. "type": "object",
  12295. "required": [
  12296. "deliverygoodsid",
  12297. "producttype",
  12298. "unitname",
  12299. "warehouseid",
  12300. "wrstandardid",
  12301. "wrstandardname"
  12302. ],
  12303. "properties": {
  12304. "deliverygoodsdesc": {
  12305. "description": "现货品种说明",
  12306. "type": "string"
  12307. },
  12308. "deliverygoodsid": {
  12309. "description": "现货品种ID",
  12310. "type": "integer"
  12311. },
  12312. "deliverygoodsname": {
  12313. "description": "现货品种名称",
  12314. "type": "string"
  12315. },
  12316. "pointdesc": {
  12317. "description": "点价描述",
  12318. "type": "string"
  12319. },
  12320. "producttype": {
  12321. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12322. "type": "integer"
  12323. },
  12324. "producttypename": {
  12325. "description": "产品类型名称",
  12326. "type": "string"
  12327. },
  12328. "spotPointOrderVoList": {
  12329. "description": "点价列表",
  12330. "type": "array",
  12331. "items": {
  12332. "$ref": "#/definitions/erms3.SpotPointOrder"
  12333. }
  12334. },
  12335. "spotPriceOrderList": {
  12336. "description": "定价列表",
  12337. "type": "array",
  12338. "items": {
  12339. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12340. }
  12341. },
  12342. "unitname": {
  12343. "description": "单位名称",
  12344. "type": "string"
  12345. },
  12346. "warehouseid": {
  12347. "description": "仓库ID",
  12348. "type": "integer"
  12349. },
  12350. "warehousename": {
  12351. "description": "仓库名称",
  12352. "type": "string"
  12353. },
  12354. "wrstandardid": {
  12355. "description": "交易标的ID",
  12356. "type": "integer"
  12357. },
  12358. "wrstandardname": {
  12359. "description": "交易标的名称",
  12360. "type": "string"
  12361. }
  12362. }
  12363. },
  12364. "erms3.SpotPointOrder": {
  12365. "type": "object",
  12366. "required": [
  12367. "basic",
  12368. "goodsid",
  12369. "qty"
  12370. ],
  12371. "properties": {
  12372. "basic": {
  12373. "description": "基差",
  12374. "type": "number"
  12375. },
  12376. "deliveryenddate": {
  12377. "description": "交收结束日期",
  12378. "type": "string"
  12379. },
  12380. "deliverystartdate": {
  12381. "description": "交收开始日期",
  12382. "type": "string"
  12383. },
  12384. "enddate": {
  12385. "description": "点价结束日期",
  12386. "type": "string"
  12387. },
  12388. "goodsid": {
  12389. "description": "商品ID",
  12390. "type": "integer"
  12391. },
  12392. "goodsname": {
  12393. "description": "商品名称",
  12394. "type": "string"
  12395. },
  12396. "qty": {
  12397. "description": "数量",
  12398. "type": "number"
  12399. },
  12400. "startdate": {
  12401. "description": "点价开始日期",
  12402. "type": "string"
  12403. }
  12404. }
  12405. },
  12406. "erms3.SpotPriceOrder": {
  12407. "type": "object",
  12408. "required": [
  12409. "amount",
  12410. "price",
  12411. "qty"
  12412. ],
  12413. "properties": {
  12414. "amount": {
  12415. "description": "金额",
  12416. "type": "number"
  12417. },
  12418. "deliveryenddate": {
  12419. "description": "交收结束日期",
  12420. "type": "string"
  12421. },
  12422. "deliverystartdate": {
  12423. "description": "交收开始日期",
  12424. "type": "string"
  12425. },
  12426. "price": {
  12427. "description": "价格",
  12428. "type": "number"
  12429. },
  12430. "qty": {
  12431. "description": "数量",
  12432. "type": "number"
  12433. }
  12434. }
  12435. },
  12436. "hsby.GetHsbyMyCountRsp": {
  12437. "type": "object",
  12438. "properties": {
  12439. "myCouponCount": {
  12440. "description": "我的优惠卷数量",
  12441. "type": "integer"
  12442. },
  12443. "myOrderDetailListingCount": {
  12444. "description": "我的订单求购中数量",
  12445. "type": "integer"
  12446. },
  12447. "myOrderDetailPreCount": {
  12448. "description": "我的订单抢购中数量",
  12449. "type": "integer"
  12450. },
  12451. "myPackageUnReceiveCount": {
  12452. "description": "我的包裹待收货数量",
  12453. "type": "integer"
  12454. },
  12455. "myPackageUnSendCount": {
  12456. "description": "我的包裹待发货数量",
  12457. "type": "integer"
  12458. },
  12459. "myPayOrderCount": {
  12460. "description": "我的订单待付款数量",
  12461. "type": "integer"
  12462. }
  12463. }
  12464. },
  12465. "hsby.QueryProvincesAndCitiesRsp": {
  12466. "type": "object",
  12467. "properties": {
  12468. "cities": {
  12469. "description": "市",
  12470. "type": "array",
  12471. "items": {
  12472. "$ref": "#/definitions/models.Division"
  12473. }
  12474. },
  12475. "province": {
  12476. "description": "省",
  12477. "type": "object",
  12478. "$ref": "#/definitions/models.Division"
  12479. }
  12480. }
  12481. },
  12482. "models.AreaSpotModel": {
  12483. "type": "object",
  12484. "properties": {
  12485. "areauserid": {
  12486. "description": "所属机构",
  12487. "type": "integer"
  12488. },
  12489. "decreaseqty": {
  12490. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12491. "type": "number"
  12492. },
  12493. "increaseqty": {
  12494. "description": "增加数量=销售计划数量+采购已定价数量",
  12495. "type": "number"
  12496. },
  12497. "oritoalspotqty": {
  12498. "description": "昨日数量",
  12499. "type": "number"
  12500. },
  12501. "totalspotqty": {
  12502. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12503. "type": "number"
  12504. },
  12505. "updatetime": {
  12506. "description": "更新时间",
  12507. "type": "string"
  12508. },
  12509. "wrstandardcode": {
  12510. "description": "现货品种代码",
  12511. "type": "string"
  12512. },
  12513. "wrstandardid": {
  12514. "description": "现货商品ID",
  12515. "type": "integer"
  12516. },
  12517. "wrstandardname": {
  12518. "description": "现货品种",
  12519. "type": "string"
  12520. }
  12521. }
  12522. },
  12523. "models.Arearole": {
  12524. "type": "object",
  12525. "required": [
  12526. "roletype",
  12527. "userid"
  12528. ],
  12529. "properties": {
  12530. "createtime": {
  12531. "description": "创建时间",
  12532. "type": "string"
  12533. },
  12534. "creatorid": {
  12535. "description": "创建人ID",
  12536. "type": "integer"
  12537. },
  12538. "isreturnscore": {
  12539. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12540. "type": "integer"
  12541. },
  12542. "modifierid": {
  12543. "description": "修改人ID",
  12544. "type": "integer"
  12545. },
  12546. "modifytime": {
  12547. "description": "修改时间",
  12548. "type": "string"
  12549. },
  12550. "orgtype": {
  12551. "description": "组织机构类型 1:机构 2:交易员",
  12552. "type": "integer"
  12553. },
  12554. "outuserid": {
  12555. "description": "外部账户[场外期权做市商]",
  12556. "type": "string"
  12557. },
  12558. "parentuserid": {
  12559. "description": "上级组织机构(组织机构)",
  12560. "type": "integer"
  12561. },
  12562. "roletype": {
  12563. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12564. "type": "integer"
  12565. },
  12566. "rootuserid": {
  12567. "description": "顶级组织机构用户ID(组织机构)",
  12568. "type": "integer"
  12569. },
  12570. "shoppassword": {
  12571. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12572. "type": "string"
  12573. },
  12574. "sublevelpath": {
  12575. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12576. "type": "string"
  12577. },
  12578. "tradeaccountid": {
  12579. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12580. "type": "integer"
  12581. },
  12582. "transurl": {
  12583. "description": "物流地址(物流机构)",
  12584. "type": "string"
  12585. },
  12586. "userid": {
  12587. "description": "机构用户ID其他做市关系,都设置为 1",
  12588. "type": "integer"
  12589. }
  12590. }
  12591. },
  12592. "models.Clientfixedadconfig": {
  12593. "type": "object",
  12594. "required": [
  12595. "adsort",
  12596. "adtype"
  12597. ],
  12598. "properties": {
  12599. "adsort": {
  12600. "description": "排序",
  12601. "type": "integer"
  12602. },
  12603. "adtype": {
  12604. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12605. "type": "integer"
  12606. },
  12607. "areauserid": {
  12608. "description": "所属机构ID",
  12609. "type": "integer"
  12610. },
  12611. "createdate": {
  12612. "description": "创建时间",
  12613. "type": "string"
  12614. },
  12615. "creatorid": {
  12616. "description": "创建人",
  12617. "type": "integer"
  12618. },
  12619. "imagepath": {
  12620. "description": "图片",
  12621. "type": "string"
  12622. },
  12623. "isshow": {
  12624. "description": "是否展示 - 0:不展示 1:展示",
  12625. "type": "integer"
  12626. },
  12627. "modifierid": {
  12628. "description": "操作人",
  12629. "type": "integer"
  12630. },
  12631. "recsize": {
  12632. "description": "推荐尺寸",
  12633. "type": "string"
  12634. },
  12635. "title": {
  12636. "description": "标题",
  12637. "type": "string"
  12638. },
  12639. "updatedate": {
  12640. "description": "更新时间",
  12641. "type": "string"
  12642. },
  12643. "urlcontent": {
  12644. "description": "链接(地址或商品ID)",
  12645. "type": "string"
  12646. },
  12647. "urltype": {
  12648. "description": "链接类型 - 1:直接地址 2:商品ID",
  12649. "type": "integer"
  12650. }
  12651. }
  12652. },
  12653. "models.Division": {
  12654. "type": "object",
  12655. "required": [
  12656. "autoid",
  12657. "divisioncode"
  12658. ],
  12659. "properties": {
  12660. "autoid": {
  12661. "description": "自增ID",
  12662. "type": "integer"
  12663. },
  12664. "divisioncode": {
  12665. "description": "行政代码",
  12666. "type": "string"
  12667. },
  12668. "divisionlevel": {
  12669. "description": "行政级别",
  12670. "type": "string"
  12671. },
  12672. "divisionname": {
  12673. "description": "行政名称",
  12674. "type": "string"
  12675. },
  12676. "modifierid": {
  12677. "description": "修改人",
  12678. "type": "integer"
  12679. },
  12680. "modifytime": {
  12681. "description": "修改时间",
  12682. "type": "string"
  12683. },
  12684. "parentcode": {
  12685. "description": "上级行政代码",
  12686. "type": "string"
  12687. },
  12688. "pathname": {
  12689. "description": "路径名称",
  12690. "type": "string"
  12691. },
  12692. "postcode": {
  12693. "description": "邮政编码",
  12694. "type": "string"
  12695. },
  12696. "separablename": {
  12697. "description": "可拆分的全称",
  12698. "type": "string"
  12699. },
  12700. "shortcode": {
  12701. "description": "地区简码",
  12702. "type": "string"
  12703. }
  12704. }
  12705. },
  12706. "models.Enumdicitem": {
  12707. "type": "object",
  12708. "required": [
  12709. "autoid",
  12710. "enumdiccode",
  12711. "enumdicid",
  12712. "enumitemname"
  12713. ],
  12714. "properties": {
  12715. "autoid": {
  12716. "description": "自增ID",
  12717. "type": "integer"
  12718. },
  12719. "bankmappedvalue": {
  12720. "description": "银行服务对应值",
  12721. "type": "string"
  12722. },
  12723. "enumdiccode": {
  12724. "description": "所属枚举代码",
  12725. "type": "string"
  12726. },
  12727. "enumdicid": {
  12728. "description": "所属枚举ID",
  12729. "type": "integer"
  12730. },
  12731. "enumdicname": {
  12732. "description": "枚举项名称",
  12733. "type": "string"
  12734. },
  12735. "enumitemname": {
  12736. "description": "枚举项值",
  12737. "type": "integer"
  12738. },
  12739. "enumitemstatus": {
  12740. "description": "枚举项状态 - 1.启用 2.不启用",
  12741. "type": "integer"
  12742. },
  12743. "enumitemvalue": {
  12744. "description": "通用值 - [币种通用简写]",
  12745. "type": "string"
  12746. },
  12747. "param1": {
  12748. "description": "参数1[币种:币种小数位]",
  12749. "type": "string"
  12750. },
  12751. "param2": {
  12752. "description": "参数1[币种:币种显示单位]",
  12753. "type": "string"
  12754. },
  12755. "remark": {
  12756. "description": "备注",
  12757. "type": "string"
  12758. }
  12759. }
  12760. },
  12761. "models.Ermcp3AreaSpot": {
  12762. "type": "object",
  12763. "properties": {
  12764. "areauserid": {
  12765. "description": "所属机构",
  12766. "type": "integer"
  12767. },
  12768. "decreaseqty": {
  12769. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12770. "type": "number"
  12771. },
  12772. "deliverygoodscode": {
  12773. "description": "现货品种代码",
  12774. "type": "string"
  12775. },
  12776. "deliverygoodsid": {
  12777. "description": "现货品种id",
  12778. "type": "integer"
  12779. },
  12780. "deliverygoodsname": {
  12781. "description": "现货品种名称",
  12782. "type": "string"
  12783. },
  12784. "enumdicname": {
  12785. "description": "单位名称",
  12786. "type": "string"
  12787. },
  12788. "goodsunitid": {
  12789. "description": "现货品种单位id",
  12790. "type": "integer"
  12791. },
  12792. "increaseqty": {
  12793. "description": "增加数量=销售计划数量+采购已定价数量",
  12794. "type": "number"
  12795. },
  12796. "oritoalspotqty": {
  12797. "description": "昨日数量",
  12798. "type": "number"
  12799. },
  12800. "totalspotqty": {
  12801. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12802. "type": "number"
  12803. },
  12804. "updatetime": {
  12805. "description": "更新时间",
  12806. "type": "string"
  12807. }
  12808. }
  12809. },
  12810. "models.Ermcp3AreaSpotDetail": {
  12811. "type": "object",
  12812. "properties": {
  12813. "contracttype": {
  12814. "description": "合同类型 1-采购 -1-销售",
  12815. "type": "integer"
  12816. },
  12817. "createtime": {
  12818. "description": "创建时间",
  12819. "type": "string"
  12820. },
  12821. "deliverygoodscode": {
  12822. "description": "现货品种代码",
  12823. "type": "string"
  12824. },
  12825. "deliverygoodsid": {
  12826. "description": "现货品种id",
  12827. "type": "integer"
  12828. },
  12829. "deliverygoodsname": {
  12830. "description": "现货品种名称",
  12831. "type": "string"
  12832. },
  12833. "enumdicname": {
  12834. "description": "现货商品单位名称",
  12835. "type": "string"
  12836. },
  12837. "logtype": {
  12838. "description": "记录类型 1-套保 2-现货合同",
  12839. "type": "integer"
  12840. },
  12841. "qty": {
  12842. "description": "数量",
  12843. "type": "number"
  12844. },
  12845. "recordname": {
  12846. "description": "类型名称",
  12847. "type": "string"
  12848. },
  12849. "relatedid": {
  12850. "description": "套保计划ID/现货合同ID",
  12851. "type": "string"
  12852. },
  12853. "relatedno": {
  12854. "description": "编号",
  12855. "type": "string"
  12856. },
  12857. "strtime": {
  12858. "description": "时间",
  12859. "type": "string"
  12860. }
  12861. }
  12862. },
  12863. "models.Ermcp3AreaSpotPLReport": {
  12864. "type": "object",
  12865. "properties": {
  12866. "accountid": {
  12867. "description": "期货账户ID (作废, 默认为0)",
  12868. "type": "integer"
  12869. },
  12870. "accountname": {
  12871. "description": "机构名称",
  12872. "type": "string"
  12873. },
  12874. "actualpl": {
  12875. "description": "现货损益",
  12876. "type": "number"
  12877. },
  12878. "areauserid": {
  12879. "description": "所属机构\\交易用户ID",
  12880. "type": "integer"
  12881. },
  12882. "begindate": {
  12883. "description": "开始交易日",
  12884. "type": "string"
  12885. },
  12886. "biztype": {
  12887. "description": "业务类型 - 1:套保 2:套利",
  12888. "type": "integer"
  12889. },
  12890. "brandname": {
  12891. "description": "品牌名称",
  12892. "type": "string"
  12893. },
  12894. "curamount": {
  12895. "description": "期末额",
  12896. "type": "number"
  12897. },
  12898. "curaverageprice": {
  12899. "description": "期末均价",
  12900. "type": "number"
  12901. },
  12902. "curbuyamount": {
  12903. "description": "期末采购总额",
  12904. "type": "number"
  12905. },
  12906. "curbuyqty": {
  12907. "description": "期末采购总量",
  12908. "type": "number"
  12909. },
  12910. "curmarketvalue": {
  12911. "description": "参考市值(期末市值)",
  12912. "type": "number"
  12913. },
  12914. "curqty": {
  12915. "description": "期末量",
  12916. "type": "number"
  12917. },
  12918. "currencyid": {
  12919. "description": "结算币种ID【原值】",
  12920. "type": "integer"
  12921. },
  12922. "currencyname": {
  12923. "description": "币种名称",
  12924. "type": "string"
  12925. },
  12926. "cursellamount": {
  12927. "description": "期末销售总额",
  12928. "type": "number"
  12929. },
  12930. "cursellqty": {
  12931. "description": "期末销售总量",
  12932. "type": "number"
  12933. },
  12934. "curspotprice": {
  12935. "description": "参考市价(最新价)",
  12936. "type": "number"
  12937. },
  12938. "cycletime": {
  12939. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12940. "type": "string"
  12941. },
  12942. "cycletype": {
  12943. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12944. "type": "integer"
  12945. },
  12946. "deliverygoodscode": {
  12947. "description": "现货商品代码",
  12948. "type": "string"
  12949. },
  12950. "deliverygoodsid": {
  12951. "description": "现货品种ID",
  12952. "type": "integer"
  12953. },
  12954. "deliverygoodsname": {
  12955. "description": "现货商品名称",
  12956. "type": "string"
  12957. },
  12958. "enddate": {
  12959. "description": "结束交易日",
  12960. "type": "string"
  12961. },
  12962. "enumdicname": {
  12963. "description": "现货商品单位名称",
  12964. "type": "string"
  12965. },
  12966. "floatpl": {
  12967. "description": "浮动损益",
  12968. "type": "number"
  12969. },
  12970. "goodsunitid": {
  12971. "description": "现货商品单位id",
  12972. "type": "integer"
  12973. },
  12974. "oriamount": {
  12975. "description": "期初额",
  12976. "type": "number"
  12977. },
  12978. "oriaverageprice": {
  12979. "description": "期初均价",
  12980. "type": "number"
  12981. },
  12982. "oribuyamount": {
  12983. "description": "期初采购总额",
  12984. "type": "number"
  12985. },
  12986. "oribuyqty": {
  12987. "description": "期初采购总量",
  12988. "type": "number"
  12989. },
  12990. "oriqty": {
  12991. "description": "期初量",
  12992. "type": "number"
  12993. },
  12994. "orisellamount": {
  12995. "description": "期初销售总额",
  12996. "type": "number"
  12997. },
  12998. "orisellqty": {
  12999. "description": "期初销售总量",
  13000. "type": "number"
  13001. },
  13002. "reckondate": {
  13003. "description": "日照时期(yyyyMMdd)",
  13004. "type": "string"
  13005. },
  13006. "spotgoodsbrandid": {
  13007. "description": "现货品牌ID",
  13008. "type": "integer"
  13009. },
  13010. "todaybuyamount": {
  13011. "description": "今日采购额(今采购额)",
  13012. "type": "number"
  13013. },
  13014. "todaybuyaverageprice": {
  13015. "description": "今日采购均价",
  13016. "type": "number"
  13017. },
  13018. "todaybuyqty": {
  13019. "description": "今日采购量(今采购量)",
  13020. "type": "number"
  13021. },
  13022. "todayinqty": {
  13023. "description": "今日入库量(今入库量)",
  13024. "type": "number"
  13025. },
  13026. "todayoutqty": {
  13027. "description": "今日出库量(今出库量)",
  13028. "type": "number"
  13029. },
  13030. "todaysellamount": {
  13031. "description": "今日销售额(今销售额)",
  13032. "type": "number"
  13033. },
  13034. "todaysellaverageprice": {
  13035. "description": "今日销售均价",
  13036. "type": "number"
  13037. },
  13038. "todaysellqty": {
  13039. "description": "今日销售量(今销售量)",
  13040. "type": "number"
  13041. },
  13042. "unitid": {
  13043. "description": "品类单位id",
  13044. "type": "integer"
  13045. },
  13046. "unitidname": {
  13047. "description": "品类单位名称",
  13048. "type": "string"
  13049. },
  13050. "updatetime": {
  13051. "description": "更新时间",
  13052. "type": "string"
  13053. },
  13054. "wrfactortypeid": {
  13055. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13056. "type": "integer"
  13057. },
  13058. "wrstandardcode": {
  13059. "description": "品类代码",
  13060. "type": "string"
  13061. },
  13062. "wrstandardid": {
  13063. "description": "现货品类ID",
  13064. "type": "integer"
  13065. },
  13066. "wrstandardname": {
  13067. "description": "品类名称",
  13068. "type": "string"
  13069. }
  13070. }
  13071. },
  13072. "models.Ermcp3AreaStock": {
  13073. "type": "object",
  13074. "required": [
  13075. "userid"
  13076. ],
  13077. "properties": {
  13078. "brandname": {
  13079. "description": "品牌名称",
  13080. "type": "string"
  13081. },
  13082. "curstock": {
  13083. "description": "期末库存量(今日量)",
  13084. "type": "number"
  13085. },
  13086. "deliverygoodscode": {
  13087. "description": "现货品种代码",
  13088. "type": "string"
  13089. },
  13090. "deliverygoodsid": {
  13091. "description": "现货品种id",
  13092. "type": "integer"
  13093. },
  13094. "deliverygoodsname": {
  13095. "description": "现货品种名称",
  13096. "type": "string"
  13097. },
  13098. "enumdicname": {
  13099. "description": "单位名称",
  13100. "type": "string"
  13101. },
  13102. "goodsunitid": {
  13103. "description": "现货商品单位id",
  13104. "type": "integer"
  13105. },
  13106. "oristock": {
  13107. "description": "期初库存量(昨日量)",
  13108. "type": "number"
  13109. },
  13110. "spotgoodsbrandid": {
  13111. "description": "现货品牌ID",
  13112. "type": "integer"
  13113. },
  13114. "todaybuyinqty": {
  13115. "description": "今日采购入库量",
  13116. "type": "number"
  13117. },
  13118. "todayproduceinqty": {
  13119. "description": "今日生产入库量",
  13120. "type": "number"
  13121. },
  13122. "todayproduceoutqty": {
  13123. "description": "今日生产出库量",
  13124. "type": "number"
  13125. },
  13126. "todayselloutqty": {
  13127. "description": "今日销售出库量",
  13128. "type": "number"
  13129. },
  13130. "unitid": {
  13131. "description": "单位id",
  13132. "type": "integer"
  13133. },
  13134. "updatetime": {
  13135. "description": "更新时间",
  13136. "type": "string"
  13137. },
  13138. "userid": {
  13139. "description": "机构ID",
  13140. "type": "integer"
  13141. },
  13142. "username": {
  13143. "description": "机构名称",
  13144. "type": "string"
  13145. },
  13146. "warehousecode": {
  13147. "description": "仓库代码",
  13148. "type": "string"
  13149. },
  13150. "warehouseinfoid": {
  13151. "description": "仓库ID",
  13152. "type": "string"
  13153. },
  13154. "warehousename": {
  13155. "description": "仓库名称",
  13156. "type": "string"
  13157. },
  13158. "warehousetype": {
  13159. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13160. "type": "integer"
  13161. },
  13162. "wrstandardcode": {
  13163. "description": "品类代码",
  13164. "type": "string"
  13165. },
  13166. "wrstandardid": {
  13167. "description": "品类ID",
  13168. "type": "string"
  13169. },
  13170. "wrstandardname": {
  13171. "description": "品类名称",
  13172. "type": "string"
  13173. }
  13174. }
  13175. },
  13176. "models.Ermcp3AreaStockApply": {
  13177. "type": "object",
  13178. "properties": {
  13179. "applyid": {
  13180. "description": "申请人",
  13181. "type": "integer"
  13182. },
  13183. "applyname": {
  13184. "description": "申请人名称",
  13185. "type": "string"
  13186. },
  13187. "applyremark": {
  13188. "description": "申请备注",
  13189. "type": "string"
  13190. },
  13191. "applysrc": {
  13192. "description": "申请来源 - 1:管理端 2:终端",
  13193. "type": "integer"
  13194. },
  13195. "applystatus": {
  13196. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13197. "type": "integer"
  13198. },
  13199. "applytime": {
  13200. "description": "申请时间",
  13201. "type": "string"
  13202. },
  13203. "auditid": {
  13204. "description": "审核人",
  13205. "type": "integer"
  13206. },
  13207. "auditname": {
  13208. "description": "审核人名称",
  13209. "type": "string"
  13210. },
  13211. "auditremark": {
  13212. "description": "审核备注",
  13213. "type": "string"
  13214. },
  13215. "auditsrc": {
  13216. "description": "审核来源 - 1:管理端 2:终端",
  13217. "type": "integer"
  13218. },
  13219. "audittime": {
  13220. "description": "审核时间",
  13221. "type": "string"
  13222. },
  13223. "audittradedate": {
  13224. "description": "审核交易日(yyyyMMdd)",
  13225. "type": "string"
  13226. },
  13227. "brandname": {
  13228. "description": "品牌名称",
  13229. "type": "string"
  13230. },
  13231. "buynickname": {
  13232. "description": "采购方昵称",
  13233. "type": "string"
  13234. },
  13235. "buyuserid": {
  13236. "description": "采购方userid",
  13237. "type": "integer"
  13238. },
  13239. "buyusername": {
  13240. "description": "采购方名称",
  13241. "type": "string"
  13242. },
  13243. "contractno": {
  13244. "description": "合同编号",
  13245. "type": "string"
  13246. },
  13247. "contractqty": {
  13248. "description": "合同量",
  13249. "type": "number"
  13250. },
  13251. "contracttype": {
  13252. "description": "现货合同类型 - 1:采购 -1:销售",
  13253. "type": "integer"
  13254. },
  13255. "deliverygoodscode": {
  13256. "description": "现货品种代码",
  13257. "type": "string"
  13258. },
  13259. "deliverygoodsid": {
  13260. "description": "现货品种id",
  13261. "type": "integer"
  13262. },
  13263. "deliverygoodsname": {
  13264. "description": "现货品种名称",
  13265. "type": "string"
  13266. },
  13267. "detailjson": {
  13268. "description": "明细数据",
  13269. "type": "string"
  13270. },
  13271. "enumdicname": {
  13272. "description": "现货商品单位名称",
  13273. "type": "string"
  13274. },
  13275. "inoutapplyid": {
  13276. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13277. "type": "string"
  13278. },
  13279. "inouttype": {
  13280. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13281. "type": "integer"
  13282. },
  13283. "pricetype": {
  13284. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13285. "type": "integer"
  13286. },
  13287. "qty": {
  13288. "description": "数量",
  13289. "type": "number"
  13290. },
  13291. "sellnickname": {
  13292. "description": "销售方昵称",
  13293. "type": "string"
  13294. },
  13295. "selluserid": {
  13296. "description": "销售方userid",
  13297. "type": "integer"
  13298. },
  13299. "sellusername": {
  13300. "description": "销售方名称",
  13301. "type": "string"
  13302. },
  13303. "spotcontractid": {
  13304. "description": "关联现货合同ID",
  13305. "type": "string"
  13306. },
  13307. "spotgoodsbrandid": {
  13308. "description": "现货品牌ID",
  13309. "type": "integer"
  13310. },
  13311. "unitid": {
  13312. "description": "单位id",
  13313. "type": "integer"
  13314. },
  13315. "userid": {
  13316. "description": "机构ID",
  13317. "type": "integer"
  13318. },
  13319. "warehousecode": {
  13320. "description": "仓库代码",
  13321. "type": "string"
  13322. },
  13323. "warehouseinfoid": {
  13324. "description": "现货仓库ID",
  13325. "type": "string"
  13326. },
  13327. "warehousename": {
  13328. "description": "仓库名称",
  13329. "type": "string"
  13330. },
  13331. "warehousetype": {
  13332. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13333. "type": "integer"
  13334. },
  13335. "wrstandardcode": {
  13336. "description": "品类代码",
  13337. "type": "string"
  13338. },
  13339. "wrstandardid": {
  13340. "description": "品类ID",
  13341. "type": "integer"
  13342. },
  13343. "wrstandardname": {
  13344. "description": "品类名称",
  13345. "type": "string"
  13346. }
  13347. }
  13348. },
  13349. "models.Ermcp3AreaStockApplySum": {
  13350. "type": "object",
  13351. "properties": {
  13352. "brandname": {
  13353. "description": "品牌名称",
  13354. "type": "string"
  13355. },
  13356. "inouttype": {
  13357. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13358. "type": "integer"
  13359. },
  13360. "spotcontractid": {
  13361. "description": "关联现货合同ID",
  13362. "type": "string"
  13363. },
  13364. "spotgoodsbrandid": {
  13365. "description": "品牌id",
  13366. "type": "integer"
  13367. },
  13368. "totalqty": {
  13369. "description": "总数量",
  13370. "type": "number"
  13371. },
  13372. "wrstandardid": {
  13373. "description": "品类id",
  13374. "type": "integer"
  13375. },
  13376. "wrstandardname": {
  13377. "description": "品类名称",
  13378. "type": "string"
  13379. }
  13380. }
  13381. },
  13382. "models.Ermcp3AreaStockReportEx": {
  13383. "type": "object",
  13384. "properties": {
  13385. "begindate": {
  13386. "description": "开始交易日",
  13387. "type": "string"
  13388. },
  13389. "brandname": {
  13390. "description": "品牌名称",
  13391. "type": "string"
  13392. },
  13393. "curstock": {
  13394. "description": "期末库存量",
  13395. "type": "number"
  13396. },
  13397. "cycletime": {
  13398. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13399. "type": "string"
  13400. },
  13401. "cycletype": {
  13402. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13403. "type": "integer"
  13404. },
  13405. "deliverygoodscode": {
  13406. "description": "现货品种代码",
  13407. "type": "string"
  13408. },
  13409. "deliverygoodsid": {
  13410. "description": "现货品种id",
  13411. "type": "integer"
  13412. },
  13413. "deliverygoodsname": {
  13414. "description": "现货品种名称",
  13415. "type": "string"
  13416. },
  13417. "diffqty": {
  13418. "description": "库存变化量 = 期末 - 期初",
  13419. "type": "number"
  13420. },
  13421. "enddate": {
  13422. "description": "结束交易日",
  13423. "type": "string"
  13424. },
  13425. "enumdicname": {
  13426. "description": "单位名称",
  13427. "type": "string"
  13428. },
  13429. "goodsunitid": {
  13430. "description": "现货单位id",
  13431. "type": "integer"
  13432. },
  13433. "oristock": {
  13434. "description": "期初库存量",
  13435. "type": "number"
  13436. },
  13437. "reckondate": {
  13438. "description": "日照时期(yyyyMMdd)",
  13439. "type": "string"
  13440. },
  13441. "spotgoodsbrandid": {
  13442. "description": "现货品牌ID",
  13443. "type": "integer"
  13444. },
  13445. "todaybuyinqty": {
  13446. "description": "今采购入库量",
  13447. "type": "number"
  13448. },
  13449. "todayproduceinqty": {
  13450. "description": "今内部入库量",
  13451. "type": "number"
  13452. },
  13453. "todayproduceoutqty": {
  13454. "description": "今内部出库量",
  13455. "type": "number"
  13456. },
  13457. "todayselloutqty": {
  13458. "description": "今销售出库量",
  13459. "type": "number"
  13460. },
  13461. "unbuyinqty": {
  13462. "description": "采购未入库量(数据库未找到相关字段?)",
  13463. "type": "number"
  13464. },
  13465. "unitid": {
  13466. "description": "品类单位id",
  13467. "type": "integer"
  13468. },
  13469. "unselloutqty": {
  13470. "description": "销售未出库量(数据库未找到相关字段?)",
  13471. "type": "number"
  13472. },
  13473. "updatetime": {
  13474. "description": "更新时间",
  13475. "type": "string"
  13476. },
  13477. "userid": {
  13478. "description": "机构ID",
  13479. "type": "integer"
  13480. },
  13481. "username": {
  13482. "description": "机构名称",
  13483. "type": "string"
  13484. },
  13485. "warehousecode": {
  13486. "description": "仓库代码",
  13487. "type": "string"
  13488. },
  13489. "warehouseinfoid": {
  13490. "description": "仓库ID",
  13491. "type": "string"
  13492. },
  13493. "warehousename": {
  13494. "description": "仓库名称",
  13495. "type": "string"
  13496. },
  13497. "warehousetype": {
  13498. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13499. "type": "integer"
  13500. },
  13501. "wrstandardcode": {
  13502. "description": "品类代码",
  13503. "type": "string"
  13504. },
  13505. "wrstandardid": {
  13506. "description": "品类ID",
  13507. "type": "integer"
  13508. },
  13509. "wrstandardname": {
  13510. "description": "品类名称",
  13511. "type": "string"
  13512. }
  13513. }
  13514. },
  13515. "models.Ermcp3ArealSumPL": {
  13516. "type": "object",
  13517. "properties": {
  13518. "accountname": {
  13519. "description": "机构名称",
  13520. "type": "string"
  13521. },
  13522. "areauserid": {
  13523. "description": "所属机构\\交易用户ID",
  13524. "type": "integer"
  13525. },
  13526. "begindate": {
  13527. "description": "开始交易日",
  13528. "type": "string"
  13529. },
  13530. "currencyid": {
  13531. "description": "结算币种ID",
  13532. "type": "integer"
  13533. },
  13534. "currencyname": {
  13535. "description": "币种名称",
  13536. "type": "string"
  13537. },
  13538. "cycletime": {
  13539. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13540. "type": "string"
  13541. },
  13542. "cycletype": {
  13543. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13544. "type": "integer"
  13545. },
  13546. "enddate": {
  13547. "description": "结束交易日",
  13548. "type": "string"
  13549. },
  13550. "enumdicname": {
  13551. "description": "单位名称(套保品种)",
  13552. "type": "string"
  13553. },
  13554. "futureactualpl": {
  13555. "description": "期货损益",
  13556. "type": "number"
  13557. },
  13558. "futurefloatpl": {
  13559. "description": "期货浮动损益",
  13560. "type": "number"
  13561. },
  13562. "goodsunitid": {
  13563. "description": "套保品种单位id",
  13564. "type": "integer"
  13565. },
  13566. "middlegoodscode": {
  13567. "description": "套保品种代码",
  13568. "type": "string"
  13569. },
  13570. "middlegoodsid": {
  13571. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13572. "type": "integer"
  13573. },
  13574. "middlegoodsname": {
  13575. "description": "套保品种名称",
  13576. "type": "string"
  13577. },
  13578. "reckondate": {
  13579. "description": "日照时期(yyyyMMdd)",
  13580. "type": "string"
  13581. },
  13582. "spotactualpl": {
  13583. "description": "现货损益",
  13584. "type": "number"
  13585. },
  13586. "spotfloatpl": {
  13587. "description": "现货浮动损益",
  13588. "type": "number"
  13589. },
  13590. "sumactualpl": {
  13591. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13592. "type": "number"
  13593. },
  13594. "sumpl": {
  13595. "description": "汇总损益",
  13596. "type": "number"
  13597. },
  13598. "updatetime": {
  13599. "description": "更新时间",
  13600. "type": "string"
  13601. }
  13602. }
  13603. },
  13604. "models.Ermcp3Brand": {
  13605. "type": "object",
  13606. "properties": {
  13607. "areauserid": {
  13608. "description": "用户id",
  13609. "type": "integer"
  13610. },
  13611. "brandid": {
  13612. "description": "品牌id",
  13613. "type": "integer"
  13614. },
  13615. "brandname": {
  13616. "description": "品牌名称",
  13617. "type": "string"
  13618. },
  13619. "deliverygoodsid": {
  13620. "description": "品种ID",
  13621. "type": "integer"
  13622. }
  13623. }
  13624. },
  13625. "models.Ermcp3Contract": {
  13626. "type": "object",
  13627. "properties": {
  13628. "accountid": {
  13629. "description": "期货账户id",
  13630. "type": "string"
  13631. },
  13632. "amount": {
  13633. "description": "金额 [1:一口价、3:暂定价]",
  13634. "type": "number"
  13635. },
  13636. "attachment": {
  13637. "description": "附件",
  13638. "type": "string"
  13639. },
  13640. "auditremark": {
  13641. "description": "审核意见",
  13642. "type": "string"
  13643. },
  13644. "audittime": {
  13645. "description": "审核时间",
  13646. "type": "string"
  13647. },
  13648. "biztype": {
  13649. "description": "业务类型 1-套保 2-套利",
  13650. "type": "integer"
  13651. },
  13652. "brandname": {
  13653. "description": "品牌名称",
  13654. "type": "string"
  13655. },
  13656. "buynickname": {
  13657. "description": "销售方昵称",
  13658. "type": "string"
  13659. },
  13660. "buyuserid": {
  13661. "description": "采购方ID",
  13662. "type": "integer"
  13663. },
  13664. "buyusername": {
  13665. "description": "采购方名称",
  13666. "type": "string"
  13667. },
  13668. "contracctstatus": {
  13669. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13670. "type": "integer"
  13671. },
  13672. "contractmargin": {
  13673. "description": "合同保证金",
  13674. "type": "number"
  13675. },
  13676. "contractno": {
  13677. "description": "现货合同编号",
  13678. "type": "string"
  13679. },
  13680. "contracttype": {
  13681. "description": "现货合同类型 - 1:采购 -1:销售",
  13682. "type": "integer"
  13683. },
  13684. "convertfactor": {
  13685. "description": "标仓系数(品类)",
  13686. "type": "number"
  13687. },
  13688. "createtime": {
  13689. "description": "创建时间",
  13690. "type": "string"
  13691. },
  13692. "currencyid": {
  13693. "description": "币种id",
  13694. "type": "integer"
  13695. },
  13696. "currencyname": {
  13697. "description": "币种名称",
  13698. "type": "string"
  13699. },
  13700. "deliveryenddate": {
  13701. "description": "交收期(结束)",
  13702. "type": "string"
  13703. },
  13704. "deliverygoodscode": {
  13705. "description": "现货品种代码",
  13706. "type": "string"
  13707. },
  13708. "deliverygoodsid": {
  13709. "description": "现货品种ID",
  13710. "type": "integer"
  13711. },
  13712. "deliverygoodsname": {
  13713. "description": "现货品种名称",
  13714. "type": "string"
  13715. },
  13716. "deliverystartdate": {
  13717. "description": "交收期(开始)",
  13718. "type": "string"
  13719. },
  13720. "enddate": {
  13721. "description": "点价结束日期 [2:点价 3:暂定价]",
  13722. "type": "string"
  13723. },
  13724. "enumdicname": {
  13725. "description": "单位名称",
  13726. "type": "string"
  13727. },
  13728. "goodscode": {
  13729. "description": "点价合约代码",
  13730. "type": "string"
  13731. },
  13732. "goodsid": {
  13733. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13734. "type": "integer"
  13735. },
  13736. "goodsname": {
  13737. "description": "点价商品名称",
  13738. "type": "string"
  13739. },
  13740. "margin": {
  13741. "description": "当前保证金",
  13742. "type": "number"
  13743. },
  13744. "meruserid": {
  13745. "description": "跟单员id",
  13746. "type": "integer"
  13747. },
  13748. "meruserlogincode": {
  13749. "description": "跟单员登录代码",
  13750. "type": "string"
  13751. },
  13752. "price": {
  13753. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13754. "type": "number"
  13755. },
  13756. "pricemove": {
  13757. "description": "升贴水 [2:点价 3:暂定价]",
  13758. "type": "number"
  13759. },
  13760. "pricetype": {
  13761. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13762. "type": "integer"
  13763. },
  13764. "producttype": {
  13765. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13766. "type": "integer"
  13767. },
  13768. "qty": {
  13769. "description": "数量",
  13770. "type": "number"
  13771. },
  13772. "remark": {
  13773. "description": "备注",
  13774. "type": "string"
  13775. },
  13776. "saleuserid": {
  13777. "description": "业务员id",
  13778. "type": "integer"
  13779. },
  13780. "saleuserlogincode": {
  13781. "description": "业务员登录代码",
  13782. "type": "string"
  13783. },
  13784. "sellnickname": {
  13785. "description": "采购方昵称",
  13786. "type": "string"
  13787. },
  13788. "selluserid": {
  13789. "description": "销售方ID",
  13790. "type": "integer"
  13791. },
  13792. "sellusername": {
  13793. "description": "销售方名称",
  13794. "type": "string"
  13795. },
  13796. "spotcontractid": {
  13797. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13798. "type": "string"
  13799. },
  13800. "spotgoodsbrandid": {
  13801. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13802. "type": "integer"
  13803. },
  13804. "spotgoodsdesc": {
  13805. "description": "商品型号",
  13806. "type": "string"
  13807. },
  13808. "startdate": {
  13809. "description": "点价开始日期 [2:点价 3:暂定价]",
  13810. "type": "string"
  13811. },
  13812. "tradeuserid": {
  13813. "description": "交易员id",
  13814. "type": "integer"
  13815. },
  13816. "tradeuserlogincode": {
  13817. "description": "交易员登录代码",
  13818. "type": "string"
  13819. },
  13820. "tradeusername": {
  13821. "description": "交易员名称",
  13822. "type": "string"
  13823. },
  13824. "unitid": {
  13825. "description": "单位id(取品类上的单位id)",
  13826. "type": "integer"
  13827. },
  13828. "updatetime": {
  13829. "description": "更新时间",
  13830. "type": "string"
  13831. },
  13832. "userid": {
  13833. "description": "所属机构ID",
  13834. "type": "integer"
  13835. },
  13836. "wrstandardcode": {
  13837. "description": "品类代码",
  13838. "type": "string"
  13839. },
  13840. "wrstandardid": {
  13841. "description": "品类ID",
  13842. "type": "integer"
  13843. },
  13844. "wrstandardname": {
  13845. "description": "品类名称",
  13846. "type": "string"
  13847. }
  13848. }
  13849. },
  13850. "models.Ermcp3ExposureContractDetail": {
  13851. "type": "object",
  13852. "properties": {
  13853. "biztype": {
  13854. "description": "业务类型 1-套保 2-套利",
  13855. "type": "integer"
  13856. },
  13857. "brandname": {
  13858. "description": "品牌名称",
  13859. "type": "string"
  13860. },
  13861. "buyuserid": {
  13862. "description": "采购方id",
  13863. "type": "integer"
  13864. },
  13865. "buyusername": {
  13866. "description": "采购方名称",
  13867. "type": "string"
  13868. },
  13869. "contractno": {
  13870. "description": "合同编号",
  13871. "type": "string"
  13872. },
  13873. "contracttype": {
  13874. "description": "现货合同类型 - 1:采购 -1:销售",
  13875. "type": "integer"
  13876. },
  13877. "convertratio": {
  13878. "description": "折算系数(套保品种)",
  13879. "type": "number"
  13880. },
  13881. "curqty": {
  13882. "description": "今定价量",
  13883. "type": "number"
  13884. },
  13885. "deliverygoodscode": {
  13886. "description": "现货商品代码",
  13887. "type": "string"
  13888. },
  13889. "deliverygoodsid": {
  13890. "description": "现货商品id",
  13891. "type": "integer"
  13892. },
  13893. "deliverygoodsname": {
  13894. "description": "现货商品名称",
  13895. "type": "string"
  13896. },
  13897. "diffqty": {
  13898. "description": "套保品种今变动量",
  13899. "type": "number"
  13900. },
  13901. "enumdicname": {
  13902. "description": "单位名称",
  13903. "type": "string"
  13904. },
  13905. "middlegoodscode": {
  13906. "description": "套保品种代码",
  13907. "type": "string"
  13908. },
  13909. "middlegoodsid": {
  13910. "description": "套保品种id",
  13911. "type": "integer"
  13912. },
  13913. "middlegoodsname": {
  13914. "description": "套保品种名称",
  13915. "type": "string"
  13916. },
  13917. "needarbitrageratio": {
  13918. "description": "应套利比例",
  13919. "type": "number"
  13920. },
  13921. "needhedgeratio": {
  13922. "description": "应套保比例",
  13923. "type": "number"
  13924. },
  13925. "pricedqty": {
  13926. "description": "已定价量",
  13927. "type": "number"
  13928. },
  13929. "qty": {
  13930. "description": "合同量",
  13931. "type": "number"
  13932. },
  13933. "selluserid": {
  13934. "description": "销售方id",
  13935. "type": "integer"
  13936. },
  13937. "sellusername": {
  13938. "description": "销售方名称",
  13939. "type": "string"
  13940. },
  13941. "spotcontractid": {
  13942. "description": "合同id",
  13943. "type": "string"
  13944. },
  13945. "tradedate": {
  13946. "description": "交易日",
  13947. "type": "string"
  13948. },
  13949. "unitid": {
  13950. "description": "品类单位id",
  13951. "type": "integer"
  13952. },
  13953. "userid": {
  13954. "description": "机构id",
  13955. "type": "integer"
  13956. },
  13957. "wrstandardcode": {
  13958. "description": "品类代码",
  13959. "type": "string"
  13960. },
  13961. "wrstandardid": {
  13962. "description": "品类id",
  13963. "type": "integer"
  13964. },
  13965. "wrstandardname": {
  13966. "description": "品类名称",
  13967. "type": "string"
  13968. }
  13969. }
  13970. },
  13971. "models.Ermcp3ExposureDetail": {
  13972. "type": "object",
  13973. "properties": {
  13974. "areauserid": {
  13975. "description": "机构ID",
  13976. "type": "integer"
  13977. },
  13978. "changeQty": {
  13979. "description": "套保变动量",
  13980. "type": "number"
  13981. },
  13982. "contracttype": {
  13983. "description": "现货合同类型 - 1:采购 -1:销售",
  13984. "type": "integer"
  13985. },
  13986. "convertfactor": {
  13987. "description": "标仓系数",
  13988. "type": "number"
  13989. },
  13990. "convertratio": {
  13991. "description": "套保系数",
  13992. "type": "number"
  13993. },
  13994. "createtime": {
  13995. "description": "时间",
  13996. "type": "string"
  13997. },
  13998. "deliverygoodscode": {
  13999. "description": "现货品种代码",
  14000. "type": "string"
  14001. },
  14002. "deliverygoodsid": {
  14003. "description": "现货品种id",
  14004. "type": "integer"
  14005. },
  14006. "deliverygoodsname": {
  14007. "description": "现货品种名称",
  14008. "type": "string"
  14009. },
  14010. "enumdicname": {
  14011. "description": "现货商品单位名称",
  14012. "type": "string"
  14013. },
  14014. "logtype": {
  14015. "description": "类型 - 1:套保计划 2:现货合同",
  14016. "type": "integer"
  14017. },
  14018. "mgunitid": {
  14019. "description": "套保品种单位id",
  14020. "type": "integer"
  14021. },
  14022. "mgunitidname": {
  14023. "description": "套保品种单位名称",
  14024. "type": "string"
  14025. },
  14026. "middlegoodsId": {
  14027. "description": "套保商品id",
  14028. "type": "integer"
  14029. },
  14030. "middlegoodscode": {
  14031. "description": "套保商品代码",
  14032. "type": "string"
  14033. },
  14034. "middlegoodsname": {
  14035. "description": "套保商品名称",
  14036. "type": "string"
  14037. },
  14038. "qty": {
  14039. "description": "数量",
  14040. "type": "number"
  14041. },
  14042. "relateNo": {
  14043. "description": "现货合同/套保计划编号",
  14044. "type": "string"
  14045. }
  14046. }
  14047. },
  14048. "models.Ermcp3ExposureHedgeplanDetail": {
  14049. "type": "object",
  14050. "properties": {
  14051. "biztype": {
  14052. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  14053. "type": "integer"
  14054. },
  14055. "changqty": {
  14056. "description": "应套保总量变化量",
  14057. "type": "number"
  14058. },
  14059. "contracttype": {
  14060. "description": "计划类型 - 1:采购 -1:销售",
  14061. "type": "integer"
  14062. },
  14063. "convertratio": {
  14064. "description": "折算系数(套保品种)",
  14065. "type": "number"
  14066. },
  14067. "deliverygoodscode": {
  14068. "description": "现货商品代码",
  14069. "type": "string"
  14070. },
  14071. "deliverygoodsid": {
  14072. "description": "现货商品id",
  14073. "type": "integer"
  14074. },
  14075. "deliverygoodsname": {
  14076. "description": "现货商吕名称",
  14077. "type": "string"
  14078. },
  14079. "dgunitid": {
  14080. "description": "现货商品单位id",
  14081. "type": "integer"
  14082. },
  14083. "dgunitidname": {
  14084. "description": "单位名称(现货商品)",
  14085. "type": "string"
  14086. },
  14087. "diffqty": {
  14088. "description": "套保品种今变动量",
  14089. "type": "number"
  14090. },
  14091. "enumdicname": {
  14092. "description": "单位名称(品类)",
  14093. "type": "string"
  14094. },
  14095. "hedgeplanid": {
  14096. "description": "套保计划id",
  14097. "type": "string"
  14098. },
  14099. "hedgeplanno": {
  14100. "description": "套保计划编号",
  14101. "type": "string"
  14102. },
  14103. "hedgeplanstatus": {
  14104. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14105. "type": "integer"
  14106. },
  14107. "mgunitidname": {
  14108. "description": "单位名称(套保商品)",
  14109. "type": "string"
  14110. },
  14111. "middlegoodscode": {
  14112. "description": "套保品种代码",
  14113. "type": "string"
  14114. },
  14115. "middlegoodsid": {
  14116. "description": "套保品种id",
  14117. "type": "integer"
  14118. },
  14119. "middlegoodsname": {
  14120. "description": "套保品种名称",
  14121. "type": "string"
  14122. },
  14123. "needarbitrageratio": {
  14124. "description": "应套利比例",
  14125. "type": "number"
  14126. },
  14127. "needhedgeratio": {
  14128. "description": "应套保比例",
  14129. "type": "number"
  14130. },
  14131. "pricedqty": {
  14132. "description": "已定价量",
  14133. "type": "number"
  14134. },
  14135. "qty": {
  14136. "description": "合同量",
  14137. "type": "number"
  14138. },
  14139. "tradedate": {
  14140. "description": "交易日(登记日)",
  14141. "type": "string"
  14142. },
  14143. "unitid": {
  14144. "description": "品类单位id",
  14145. "type": "integer"
  14146. },
  14147. "userid": {
  14148. "description": "机构id",
  14149. "type": "integer"
  14150. },
  14151. "wrstandardcode": {
  14152. "description": "品类代码",
  14153. "type": "string"
  14154. },
  14155. "wrstandardid": {
  14156. "description": "品类id",
  14157. "type": "integer"
  14158. },
  14159. "wrstandardname": {
  14160. "description": "品类名称",
  14161. "type": "string"
  14162. }
  14163. }
  14164. },
  14165. "models.Ermcp3ExpourseReport": {
  14166. "type": "object",
  14167. "properties": {
  14168. "accountid": {
  14169. "description": "期货账户ID (作废, 默认为0)",
  14170. "type": "integer"
  14171. },
  14172. "accountname": {
  14173. "description": "机构名称",
  14174. "type": "string"
  14175. },
  14176. "arbitrageqty": {
  14177. "description": "套利量",
  14178. "type": "number"
  14179. },
  14180. "areauserid": {
  14181. "description": "所属机构\\交易用户ID",
  14182. "type": "integer"
  14183. },
  14184. "begindate": {
  14185. "description": "开始交易日",
  14186. "type": "string"
  14187. },
  14188. "buyfutureqty": {
  14189. "description": "买入期货数量",
  14190. "type": "number"
  14191. },
  14192. "buyplanqty": {
  14193. "description": "采购计划数量",
  14194. "type": "number"
  14195. },
  14196. "buypricedqty": {
  14197. "description": "采购合同已定价数量",
  14198. "type": "number"
  14199. },
  14200. "cycletime": {
  14201. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14202. "type": "string"
  14203. },
  14204. "cycletype": {
  14205. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14206. "type": "integer"
  14207. },
  14208. "diffexposure": {
  14209. "description": "变动量(套保敞口)",
  14210. "type": "number"
  14211. },
  14212. "difffutuqty": {
  14213. "description": "变动量(期货)",
  14214. "type": "number"
  14215. },
  14216. "diffhedgeqty": {
  14217. "description": "变动量(现货应套保总量)",
  14218. "type": "number"
  14219. },
  14220. "diffmgqtya": {
  14221. "description": "套保变动量",
  14222. "type": "number"
  14223. },
  14224. "diffmgqtyb": {
  14225. "description": "套利变动量",
  14226. "type": "number"
  14227. },
  14228. "diffqty": {
  14229. "description": "变动量(总敞口)",
  14230. "type": "number"
  14231. },
  14232. "diffspotqty": {
  14233. "description": "变动量(现货)",
  14234. "type": "number"
  14235. },
  14236. "enddate": {
  14237. "description": "结束交易日",
  14238. "type": "string"
  14239. },
  14240. "enumdicname": {
  14241. "description": "单位名称",
  14242. "type": "string"
  14243. },
  14244. "hedgeqty": {
  14245. "description": "套保量",
  14246. "type": "number"
  14247. },
  14248. "mgneedhedgeratio": {
  14249. "description": "套保比例(套保品的)",
  14250. "type": "number"
  14251. },
  14252. "middlegoodsid": {
  14253. "description": "套保品种ID",
  14254. "type": "integer"
  14255. },
  14256. "middlegoodsname": {
  14257. "description": "套保商品名称",
  14258. "type": "string"
  14259. },
  14260. "middlgoodscode": {
  14261. "description": "套保商品代码",
  14262. "type": "string"
  14263. },
  14264. "needarbitrageqty": {
  14265. "description": "应套利量",
  14266. "type": "number"
  14267. },
  14268. "needarbitrageratio": {
  14269. "description": "套利比例(套保品的)",
  14270. "type": "number"
  14271. },
  14272. "needhedgeexposoure": {
  14273. "description": "应套保敞口(套保敞口)",
  14274. "type": "number"
  14275. },
  14276. "needhedgeqty": {
  14277. "description": "应套保量",
  14278. "type": "number"
  14279. },
  14280. "needhedgeratio": {
  14281. "description": "应套保敞口比例",
  14282. "type": "number"
  14283. },
  14284. "oriarbitrageqty": {
  14285. "description": "期初套利量",
  14286. "type": "number"
  14287. },
  14288. "oribuyfutureqty": {
  14289. "description": "期初买入期货数量",
  14290. "type": "number"
  14291. },
  14292. "oribuyplanqty": {
  14293. "description": "期初采购计划数量",
  14294. "type": "number"
  14295. },
  14296. "oribuypricedqty": {
  14297. "description": "期初采购合同已定价数量",
  14298. "type": "number"
  14299. },
  14300. "orihedgeqty": {
  14301. "description": "期初套保量",
  14302. "type": "number"
  14303. },
  14304. "orineedarbitrageqty": {
  14305. "description": "期初应套利量",
  14306. "type": "number"
  14307. },
  14308. "orineedhedgeexposoure": {
  14309. "description": "期初应套保敞口",
  14310. "type": "number"
  14311. },
  14312. "orineedhedgeqty": {
  14313. "description": "期初应套保量",
  14314. "type": "number"
  14315. },
  14316. "orisellfutureqty": {
  14317. "description": "期初卖出期货数量",
  14318. "type": "number"
  14319. },
  14320. "orisellplanqty": {
  14321. "description": "期初销售计划数量",
  14322. "type": "number"
  14323. },
  14324. "orisellpricedqty": {
  14325. "description": "期初销售合同已定价数量",
  14326. "type": "number"
  14327. },
  14328. "oritotalexposure": {
  14329. "description": "期初实时总敞口",
  14330. "type": "number"
  14331. },
  14332. "oritotalfutureqty": {
  14333. "description": "期初期货头寸总量",
  14334. "type": "number"
  14335. },
  14336. "oritotalneedhedgeqty": {
  14337. "description": "期初应套保总量",
  14338. "type": "number"
  14339. },
  14340. "oritotalspotqty": {
  14341. "description": "期初现货头寸总量",
  14342. "type": "number"
  14343. },
  14344. "reckondate": {
  14345. "description": "日照时期(yyyyMMdd)",
  14346. "type": "string"
  14347. },
  14348. "sellfutureqty": {
  14349. "description": "卖出期货数量",
  14350. "type": "number"
  14351. },
  14352. "sellplanqty": {
  14353. "description": "销售计划数量",
  14354. "type": "number"
  14355. },
  14356. "sellpricedqty": {
  14357. "description": "销售合同已定价数量",
  14358. "type": "number"
  14359. },
  14360. "totalexposure": {
  14361. "description": "实时总敞口(总敞口)",
  14362. "type": "number"
  14363. },
  14364. "totalfutureqty": {
  14365. "description": "期货头寸总量(期货总量)",
  14366. "type": "number"
  14367. },
  14368. "totalhedgeratio": {
  14369. "description": "敞口比例",
  14370. "type": "number"
  14371. },
  14372. "totalneedhedgeqty": {
  14373. "description": "应套保总量(现货应套保总量)",
  14374. "type": "number"
  14375. },
  14376. "totalspotqty": {
  14377. "description": "现货头寸总量",
  14378. "type": "number"
  14379. },
  14380. "unitid": {
  14381. "description": "单位id",
  14382. "type": "integer"
  14383. },
  14384. "updatetime": {
  14385. "description": "更新时间",
  14386. "type": "string"
  14387. }
  14388. }
  14389. },
  14390. "models.Ermcp3FinanceReport": {
  14391. "type": "object",
  14392. "properties": {
  14393. "accountname": {
  14394. "description": "机构名称",
  14395. "type": "string"
  14396. },
  14397. "areauserid": {
  14398. "description": "所属机构\\交易用户ID",
  14399. "type": "integer"
  14400. },
  14401. "begindate": {
  14402. "description": "开始交易日",
  14403. "type": "string"
  14404. },
  14405. "biztype": {
  14406. "description": "业务类型 - 1:套保 2:套利",
  14407. "type": "integer"
  14408. },
  14409. "brandname": {
  14410. "description": "品牌名称",
  14411. "type": "string"
  14412. },
  14413. "buypreinvoicedamount": {
  14414. "description": "采购预收票额(预收票额)",
  14415. "type": "number"
  14416. },
  14417. "buyprepaidamount": {
  14418. "description": "采购预付款额(预付货款额)",
  14419. "type": "number"
  14420. },
  14421. "buytodayinvoiceamount": {
  14422. "description": "采购今收票额(今收票额)",
  14423. "type": "number"
  14424. },
  14425. "buytodayrefundamount": {
  14426. "description": "采购今收退款额(今收退款额)",
  14427. "type": "number"
  14428. },
  14429. "buytodaysettleamount": {
  14430. "description": "采购今付款额(今付货款额)",
  14431. "type": "number"
  14432. },
  14433. "buyuninvoicedamount": {
  14434. "description": "采购应收票额(应收票额)",
  14435. "type": "number"
  14436. },
  14437. "buyunpaidamount": {
  14438. "description": "采购应付款额(应付货款额)",
  14439. "type": "number"
  14440. },
  14441. "currencyid": {
  14442. "description": "结算币种ID",
  14443. "type": "integer"
  14444. },
  14445. "currencyname": {
  14446. "description": "币种名称",
  14447. "type": "string"
  14448. },
  14449. "cycletime": {
  14450. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14451. "type": "string"
  14452. },
  14453. "cycletype": {
  14454. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14455. "type": "integer"
  14456. },
  14457. "deliverygoodscode": {
  14458. "description": "现货品种代码",
  14459. "type": "string"
  14460. },
  14461. "deliverygoodsid": {
  14462. "description": "现货品种ID",
  14463. "type": "integer"
  14464. },
  14465. "deliverygoodsname": {
  14466. "description": "现货品种名称",
  14467. "type": "string"
  14468. },
  14469. "enddate": {
  14470. "description": "结束交易日",
  14471. "type": "string"
  14472. },
  14473. "reckondate": {
  14474. "description": "日照时期(yyyyMMdd)",
  14475. "type": "string"
  14476. },
  14477. "sellpreinvoicedamount": {
  14478. "description": "销售预开票额(预开票额)",
  14479. "type": "number"
  14480. },
  14481. "sellprepaidamount": {
  14482. "description": "销售预收款额(预收货款额)",
  14483. "type": "number"
  14484. },
  14485. "selltodayinvoiceamount": {
  14486. "description": "销售今开票额(今开票额)",
  14487. "type": "number"
  14488. },
  14489. "selltodayrefundamount": {
  14490. "description": "销售今付退款额(今付退款额)",
  14491. "type": "number"
  14492. },
  14493. "selltodaysettleamount": {
  14494. "description": "销售今收款额(今收货款额)",
  14495. "type": "number"
  14496. },
  14497. "selluninvoicedamount": {
  14498. "description": "销售应开票额(应开票额)",
  14499. "type": "number"
  14500. },
  14501. "sellunpaidamount": {
  14502. "description": "销售应收款额(应收货款额)",
  14503. "type": "number"
  14504. },
  14505. "spotgoodsbrandid": {
  14506. "description": "现货品牌ID",
  14507. "type": "integer"
  14508. },
  14509. "todaypaysum": {
  14510. "description": "今付款合计",
  14511. "type": "number"
  14512. },
  14513. "todayreceivesum": {
  14514. "description": "今收款合计",
  14515. "type": "number"
  14516. },
  14517. "updatetime": {
  14518. "description": "更新时间",
  14519. "type": "string"
  14520. },
  14521. "wrfactortypeid": {
  14522. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14523. "type": "integer"
  14524. },
  14525. "wrstandardcode": {
  14526. "description": "品类代码",
  14527. "type": "string"
  14528. },
  14529. "wrstandardid": {
  14530. "description": "现货商品ID",
  14531. "type": "integer"
  14532. },
  14533. "wrstandardname": {
  14534. "description": "品类名称",
  14535. "type": "string"
  14536. }
  14537. }
  14538. },
  14539. "models.Ermcp3Goods": {
  14540. "type": "object",
  14541. "properties": {
  14542. "agreeunit": {
  14543. "description": "合约单位(合约乘数)",
  14544. "type": "number"
  14545. },
  14546. "enumdicname": {
  14547. "description": "单位名称",
  14548. "type": "string"
  14549. },
  14550. "exexchangecode": {
  14551. "description": "交易所代码",
  14552. "type": "string"
  14553. },
  14554. "goodscode": {
  14555. "description": "期货商品代码",
  14556. "type": "string"
  14557. },
  14558. "goodsid": {
  14559. "description": "期货商品id",
  14560. "type": "integer"
  14561. },
  14562. "goodsname": {
  14563. "description": "期货商品名称",
  14564. "type": "string"
  14565. }
  14566. }
  14567. },
  14568. "models.Ermcp3GoodsGroup": {
  14569. "type": "object",
  14570. "required": [
  14571. "areauserid"
  14572. ],
  14573. "properties": {
  14574. "agreeunit": {
  14575. "description": "合约单位",
  14576. "type": "number"
  14577. },
  14578. "areauserid": {
  14579. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14580. "type": "integer"
  14581. },
  14582. "canshort": {
  14583. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14584. "type": "integer"
  14585. },
  14586. "closepricemode": {
  14587. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14588. "type": "integer"
  14589. },
  14590. "createtime": {
  14591. "description": "创建时间",
  14592. "type": "string"
  14593. },
  14594. "creatorid": {
  14595. "description": "创建人",
  14596. "type": "integer"
  14597. },
  14598. "currencyid": {
  14599. "description": "报价货币ID",
  14600. "type": "integer"
  14601. },
  14602. "decimalplace": {
  14603. "description": "报价小数位",
  14604. "type": "integer"
  14605. },
  14606. "enumdicname": {
  14607. "description": "单位名称",
  14608. "type": "string"
  14609. },
  14610. "excludecfg": {
  14611. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14612. "type": "integer"
  14613. },
  14614. "exexchangeid": {
  14615. "description": "外部交易所ID[通道交易]",
  14616. "type": "integer"
  14617. },
  14618. "goodsgroupid": {
  14619. "description": "商品组ID(自增ID)",
  14620. "type": "integer"
  14621. },
  14622. "goodsgroupname": {
  14623. "description": "商品组名称",
  14624. "type": "string"
  14625. },
  14626. "goodsgroupstatus": {
  14627. "description": "商品组状态 - 1:正常 2:注销",
  14628. "type": "integer"
  14629. },
  14630. "goodunitid": {
  14631. "description": "报价单位ID",
  14632. "type": "integer"
  14633. },
  14634. "groupcategroyid": {
  14635. "description": "品种分类ID",
  14636. "type": "integer"
  14637. },
  14638. "innerdealmode": {
  14639. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14640. "type": "integer"
  14641. },
  14642. "marketid": {
  14643. "description": "所属市场ID",
  14644. "type": "integer"
  14645. },
  14646. "modifierid": {
  14647. "description": "修改人",
  14648. "type": "integer"
  14649. },
  14650. "modifytime": {
  14651. "description": "修改时间",
  14652. "type": "string"
  14653. },
  14654. "outerdealmode": {
  14655. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14656. "type": "integer"
  14657. },
  14658. "outergroupcode": {
  14659. "description": "外部商品组代码[通道交易]",
  14660. "type": "string"
  14661. },
  14662. "quoteminunit": {
  14663. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14664. "type": "integer"
  14665. },
  14666. "quotesourcegroupid": {
  14667. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14668. "type": "integer"
  14669. },
  14670. "syncgoodsqty": {
  14671. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14672. "type": "integer"
  14673. }
  14674. }
  14675. },
  14676. "models.Ermcp3GoodsGroupEx": {
  14677. "type": "object",
  14678. "properties": {
  14679. "convertratio": {
  14680. "description": "折算系数(品种系数)",
  14681. "type": "number"
  14682. },
  14683. "enumdicname": {
  14684. "description": "单位名称",
  14685. "type": "string"
  14686. },
  14687. "exexchangecode": {
  14688. "description": "交易所代码",
  14689. "type": "string"
  14690. },
  14691. "glist": {
  14692. "description": "合约列表",
  14693. "type": "array",
  14694. "items": {
  14695. "$ref": "#/definitions/models.Ermcp3Goods"
  14696. }
  14697. },
  14698. "goodsgroupid": {
  14699. "description": "商品组id",
  14700. "type": "integer"
  14701. },
  14702. "goodsgroupname": {
  14703. "description": "商品组名称",
  14704. "type": "string"
  14705. },
  14706. "goodsunitid": {
  14707. "description": "单位id",
  14708. "type": "integer"
  14709. },
  14710. "middlegoodsid": {
  14711. "description": "套保商品id",
  14712. "type": "integer"
  14713. }
  14714. }
  14715. },
  14716. "models.Ermcp3HedgePlan": {
  14717. "type": "object",
  14718. "properties": {
  14719. "accountid": {
  14720. "description": "资金账号",
  14721. "type": "integer"
  14722. },
  14723. "areauserid": {
  14724. "description": "用户ID",
  14725. "type": "integer"
  14726. },
  14727. "audittime": {
  14728. "description": "审核时间",
  14729. "type": "string"
  14730. },
  14731. "contracttype": {
  14732. "description": "计划类型 - 1:采购 -1:销售",
  14733. "type": "integer"
  14734. },
  14735. "convertfactor": {
  14736. "description": "标仓系数",
  14737. "type": "number"
  14738. },
  14739. "createtime": {
  14740. "description": "创建时间",
  14741. "type": "string"
  14742. },
  14743. "currencyid": {
  14744. "description": "币种id",
  14745. "type": "integer"
  14746. },
  14747. "currencyname": {
  14748. "description": "币种名称",
  14749. "type": "string"
  14750. },
  14751. "deliverygoodscode": {
  14752. "description": "现货品种代码",
  14753. "type": "string"
  14754. },
  14755. "deliverygoodsid": {
  14756. "description": "现货品种ID",
  14757. "type": "integer"
  14758. },
  14759. "deliverygoodsname": {
  14760. "description": "现货品种名称",
  14761. "type": "string"
  14762. },
  14763. "enumdicname": {
  14764. "description": "单位名称(现货商品)",
  14765. "type": "string"
  14766. },
  14767. "hedgeplanid": {
  14768. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14769. "type": "string"
  14770. },
  14771. "hedgeplanno": {
  14772. "description": "套保计划编号(名称)",
  14773. "type": "string"
  14774. },
  14775. "hedgeplanstatus": {
  14776. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14777. "type": "integer"
  14778. },
  14779. "planqty": {
  14780. "description": "计划数量",
  14781. "type": "number"
  14782. },
  14783. "plantime": {
  14784. "description": "计划时间",
  14785. "type": "string"
  14786. },
  14787. "producttype": {
  14788. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14789. "type": "integer"
  14790. },
  14791. "remark": {
  14792. "description": "备注",
  14793. "type": "string"
  14794. },
  14795. "spotgoodsdesc": {
  14796. "description": "商品型号",
  14797. "type": "string"
  14798. },
  14799. "taaccountname": {
  14800. "description": "资金账号名称",
  14801. "type": "string"
  14802. },
  14803. "tradeuserid": {
  14804. "description": "交易用户id",
  14805. "type": "integer"
  14806. },
  14807. "tradeusername": {
  14808. "description": "交易用户名称",
  14809. "type": "string"
  14810. },
  14811. "unitid": {
  14812. "description": "单位id(现货商品)",
  14813. "type": "integer"
  14814. },
  14815. "updatetime": {
  14816. "description": "更新时间",
  14817. "type": "string"
  14818. },
  14819. "wrstandardcode": {
  14820. "description": "品类代码",
  14821. "type": "string"
  14822. },
  14823. "wrstandardid": {
  14824. "description": "品类id",
  14825. "type": "integer"
  14826. },
  14827. "wrstandardname": {
  14828. "description": "品类名称",
  14829. "type": "string"
  14830. },
  14831. "wrunitid": {
  14832. "description": "品类单位id",
  14833. "type": "integer"
  14834. },
  14835. "wrunitidame": {
  14836. "description": "品类单位名称",
  14837. "type": "string"
  14838. }
  14839. }
  14840. },
  14841. "models.Ermcp3MiddleGoodsDetail2": {
  14842. "type": "object",
  14843. "properties": {
  14844. "convertratio": {
  14845. "description": "套保系数(折算系数)",
  14846. "type": "number"
  14847. },
  14848. "gplist": {
  14849. "description": "关联商品组列表",
  14850. "type": "array",
  14851. "items": {
  14852. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14853. }
  14854. },
  14855. "mg": {
  14856. "description": "套保商品信息",
  14857. "type": "object",
  14858. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14859. }
  14860. }
  14861. },
  14862. "models.Ermcp3MiddleGoodsDetailEx": {
  14863. "type": "object",
  14864. "properties": {
  14865. "dglist": {
  14866. "description": "关联的现货品种列表",
  14867. "type": "array",
  14868. "items": {
  14869. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14870. }
  14871. },
  14872. "gplist": {
  14873. "description": "关联商品组列表",
  14874. "type": "array",
  14875. "items": {
  14876. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14877. }
  14878. },
  14879. "mg": {
  14880. "description": "套保商品信息",
  14881. "type": "object",
  14882. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14883. }
  14884. }
  14885. },
  14886. "models.Ermcp3SellBuyContract": {
  14887. "type": "object",
  14888. "properties": {
  14889. "accountid": {
  14890. "description": "期货账户id",
  14891. "type": "string"
  14892. },
  14893. "accountname": {
  14894. "description": "账户名称",
  14895. "type": "string"
  14896. },
  14897. "attachment": {
  14898. "description": "附件",
  14899. "type": "string"
  14900. },
  14901. "audittime": {
  14902. "description": "审核时间",
  14903. "type": "string"
  14904. },
  14905. "biztype": {
  14906. "description": "业务类型 1-套保 2-套利",
  14907. "type": "integer"
  14908. },
  14909. "brandname": {
  14910. "description": "品牌名称",
  14911. "type": "string"
  14912. },
  14913. "contracctstatus": {
  14914. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14915. "type": "integer"
  14916. },
  14917. "contractmargin": {
  14918. "description": "合同保证金",
  14919. "type": "number"
  14920. },
  14921. "contractno": {
  14922. "description": "合同编号",
  14923. "type": "string"
  14924. },
  14925. "contracttype": {
  14926. "description": "合同类型 1-采购, -1-销售",
  14927. "type": "integer"
  14928. },
  14929. "convertfactor": {
  14930. "description": "标仓系数(品类)",
  14931. "type": "number"
  14932. },
  14933. "createtime": {
  14934. "description": "创建时间",
  14935. "type": "string"
  14936. },
  14937. "currencyid": {
  14938. "description": "币种id",
  14939. "type": "integer"
  14940. },
  14941. "currencyname": {
  14942. "description": "币种名称",
  14943. "type": "string"
  14944. },
  14945. "daikaiamount": {
  14946. "description": "应收(开)票额",
  14947. "type": "number"
  14948. },
  14949. "deliveryenddate": {
  14950. "description": "交割结束日",
  14951. "type": "string"
  14952. },
  14953. "deliverygoodscode": {
  14954. "description": "现货品种代码",
  14955. "type": "string"
  14956. },
  14957. "deliverygoodsid": {
  14958. "description": "现货商品ID",
  14959. "type": "integer"
  14960. },
  14961. "deliverygoodsname": {
  14962. "description": "现货品种名称",
  14963. "type": "string"
  14964. },
  14965. "deliverystartdate": {
  14966. "description": "交割开始日",
  14967. "type": "string"
  14968. },
  14969. "enddate": {
  14970. "description": "点价结束日",
  14971. "type": "string"
  14972. },
  14973. "enumdicname": {
  14974. "description": "单位名称",
  14975. "type": "string"
  14976. },
  14977. "goodscode": {
  14978. "description": "点价商品代码",
  14979. "type": "string"
  14980. },
  14981. "goodsid": {
  14982. "description": "点价商品ID",
  14983. "type": "integer"
  14984. },
  14985. "goodsname": {
  14986. "description": "点价商品名称",
  14987. "type": "string"
  14988. },
  14989. "invoiceamount": {
  14990. "description": "已开票额",
  14991. "type": "number"
  14992. },
  14993. "loanamount": {
  14994. "description": "贷款总额=已定价额+调整金额",
  14995. "type": "number"
  14996. },
  14997. "margin": {
  14998. "description": "保证金",
  14999. "type": "number"
  15000. },
  15001. "meruserid": {
  15002. "description": "跟单员id",
  15003. "type": "integer"
  15004. },
  15005. "meruserlogincode": {
  15006. "description": "跟单员登录代码",
  15007. "type": "string"
  15008. },
  15009. "nickname": {
  15010. "description": "账户昵称",
  15011. "type": "string"
  15012. },
  15013. "payamount": {
  15014. "description": "已收付额(收款或付款)",
  15015. "type": "number"
  15016. },
  15017. "preinvoiceamount": {
  15018. "description": "预收(开)票额",
  15019. "type": "number"
  15020. },
  15021. "prepayamount": {
  15022. "description": "预收付额",
  15023. "type": "number"
  15024. },
  15025. "price": {
  15026. "description": "价格",
  15027. "type": "number"
  15028. },
  15029. "pricedamount": {
  15030. "description": "已定价额",
  15031. "type": "number"
  15032. },
  15033. "pricedavg": {
  15034. "description": "已点均价",
  15035. "type": "number"
  15036. },
  15037. "pricedqty": {
  15038. "description": "已定价量",
  15039. "type": "number"
  15040. },
  15041. "pricemove": {
  15042. "description": "升贴水",
  15043. "type": "number"
  15044. },
  15045. "pricetype": {
  15046. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15047. "type": "integer"
  15048. },
  15049. "producttype": {
  15050. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15051. "type": "integer"
  15052. },
  15053. "qty": {
  15054. "description": "合同量",
  15055. "type": "number"
  15056. },
  15057. "reckonadjustamount": {
  15058. "description": "调整金额",
  15059. "type": "number"
  15060. },
  15061. "reckonedamount": {
  15062. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15063. "type": "number"
  15064. },
  15065. "reckonotheramount": {
  15066. "description": "其它费用",
  15067. "type": "number"
  15068. },
  15069. "reckonrealqty": {
  15070. "description": "已确定量",
  15071. "type": "number"
  15072. },
  15073. "remark": {
  15074. "description": "备注",
  15075. "type": "string"
  15076. },
  15077. "saleuserid": {
  15078. "description": "业务员id",
  15079. "type": "integer"
  15080. },
  15081. "saleuserlogincode": {
  15082. "description": "业务员登录代码",
  15083. "type": "string"
  15084. },
  15085. "spotcontractid": {
  15086. "description": "合同ID",
  15087. "type": "string"
  15088. },
  15089. "spotgoodsbrandid": {
  15090. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15091. "type": "integer"
  15092. },
  15093. "spotgoodsdesc": {
  15094. "description": "商品型号(商品规格)",
  15095. "type": "string"
  15096. },
  15097. "startdate": {
  15098. "description": "点价开始日",
  15099. "type": "string"
  15100. },
  15101. "totalamount": {
  15102. "description": "合计总额",
  15103. "type": "number"
  15104. },
  15105. "tradeuserid": {
  15106. "description": "交易员id",
  15107. "type": "integer"
  15108. },
  15109. "tradeuserlogincode": {
  15110. "description": "交易员登录代码",
  15111. "type": "string"
  15112. },
  15113. "tradeusername": {
  15114. "description": "交易员名称",
  15115. "type": "string"
  15116. },
  15117. "unpayamount": {
  15118. "description": "应收付款额(应支付或应收款)",
  15119. "type": "number"
  15120. },
  15121. "unpricedqty": {
  15122. "description": "未定价量",
  15123. "type": "number"
  15124. },
  15125. "unsureqty": {
  15126. "description": "未确定量",
  15127. "type": "number"
  15128. },
  15129. "userid": {
  15130. "description": "机构ID",
  15131. "type": "integer"
  15132. },
  15133. "wrstandardcode": {
  15134. "description": "品类代码",
  15135. "type": "string"
  15136. },
  15137. "wrstandardid": {
  15138. "description": "品类ID",
  15139. "type": "integer"
  15140. },
  15141. "wrstandardname": {
  15142. "description": "品类名称",
  15143. "type": "string"
  15144. }
  15145. }
  15146. },
  15147. "models.Ermcp3SpotGoodsPrice": {
  15148. "type": "object",
  15149. "properties": {
  15150. "areauserid": {
  15151. "description": "所属机构id",
  15152. "type": "integer"
  15153. },
  15154. "brandname": {
  15155. "description": "品牌名称",
  15156. "type": "string"
  15157. },
  15158. "currencyid": {
  15159. "description": "报价货币ID",
  15160. "type": "integer"
  15161. },
  15162. "currencyname": {
  15163. "description": "币种名称",
  15164. "type": "string"
  15165. },
  15166. "deliverygoodscode": {
  15167. "description": "现货商品代码",
  15168. "type": "string"
  15169. },
  15170. "deliverygoodsid": {
  15171. "description": "现货商品id",
  15172. "type": "integer"
  15173. },
  15174. "deliverygoodsname": {
  15175. "description": "现货商品名称",
  15176. "type": "string"
  15177. },
  15178. "enumdicname": {
  15179. "description": "现货商品单位名称",
  15180. "type": "string"
  15181. },
  15182. "gbenumdicname": {
  15183. "description": "品类单位名称",
  15184. "type": "string"
  15185. },
  15186. "gmunitid": {
  15187. "description": "品类单位id",
  15188. "type": "integer"
  15189. },
  15190. "isvalid": {
  15191. "description": "是否有效 - 0:无效 1:有效",
  15192. "type": "integer"
  15193. },
  15194. "operateid": {
  15195. "description": "最后操作人",
  15196. "type": "integer"
  15197. },
  15198. "operatesrc": {
  15199. "description": "最后操作来源 - 1:管理端 2:终端",
  15200. "type": "integer"
  15201. },
  15202. "operatetime": {
  15203. "description": "最后操作时间",
  15204. "type": "string"
  15205. },
  15206. "operatorname": {
  15207. "description": "操作人名称",
  15208. "type": "string"
  15209. },
  15210. "spotgoodsbrandid": {
  15211. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15212. "type": "integer"
  15213. },
  15214. "spotgoodsprice": {
  15215. "description": "现货价格",
  15216. "type": "number"
  15217. },
  15218. "tradedate": {
  15219. "description": "交易日(yyyyMMdd)",
  15220. "type": "string"
  15221. },
  15222. "unitid": {
  15223. "description": "现货商品单位id",
  15224. "type": "integer"
  15225. },
  15226. "wrstandardcode": {
  15227. "description": "品类代码",
  15228. "type": "string"
  15229. },
  15230. "wrstandardid": {
  15231. "description": "现货品类ID(通用则为0)",
  15232. "type": "integer"
  15233. },
  15234. "wrstandardname": {
  15235. "description": "品类名称",
  15236. "type": "string"
  15237. }
  15238. }
  15239. },
  15240. "models.Ermcp3SpotGoodsPriceLog": {
  15241. "type": "object",
  15242. "properties": {
  15243. "areauserid": {
  15244. "description": "所属机构id",
  15245. "type": "integer"
  15246. },
  15247. "brandname": {
  15248. "description": "品牌名称",
  15249. "type": "string"
  15250. },
  15251. "currencyid": {
  15252. "description": "报价货币ID",
  15253. "type": "integer"
  15254. },
  15255. "deliverygoodscode": {
  15256. "description": "现货商品代码",
  15257. "type": "string"
  15258. },
  15259. "deliverygoodsid": {
  15260. "description": "现货商品id",
  15261. "type": "integer"
  15262. },
  15263. "deliverygoodsname": {
  15264. "description": "现货商品名称",
  15265. "type": "string"
  15266. },
  15267. "enumdicname": {
  15268. "description": "现货商品单位名称",
  15269. "type": "string"
  15270. },
  15271. "gbenumdicname": {
  15272. "description": "品类单位名称",
  15273. "type": "string"
  15274. },
  15275. "gmunitid": {
  15276. "description": "品类单位id",
  15277. "type": "integer"
  15278. },
  15279. "logid": {
  15280. "description": "日志id",
  15281. "type": "integer"
  15282. },
  15283. "operateid": {
  15284. "description": "最后操作人",
  15285. "type": "integer"
  15286. },
  15287. "operatesrc": {
  15288. "description": "最后操作来源 - 1:管理端 2:终端",
  15289. "type": "integer"
  15290. },
  15291. "operatetime": {
  15292. "description": "最后操作时间",
  15293. "type": "string"
  15294. },
  15295. "operatorname": {
  15296. "description": "操作人名称",
  15297. "type": "string"
  15298. },
  15299. "spotgoodsbrandid": {
  15300. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15301. "type": "integer"
  15302. },
  15303. "spotgoodsprice": {
  15304. "description": "现货价格",
  15305. "type": "number"
  15306. },
  15307. "tradedate": {
  15308. "description": "交易日(yyyyMMdd)",
  15309. "type": "string"
  15310. },
  15311. "unitid": {
  15312. "description": "现货商品单位id",
  15313. "type": "integer"
  15314. },
  15315. "wrstandardcode": {
  15316. "description": "品类代码",
  15317. "type": "string"
  15318. },
  15319. "wrstandardid": {
  15320. "description": "现货品类ID(通用则为0)",
  15321. "type": "integer"
  15322. },
  15323. "wrstandardname": {
  15324. "description": "品类名称",
  15325. "type": "string"
  15326. }
  15327. }
  15328. },
  15329. "models.Ermcp3Wrstandard": {
  15330. "type": "object",
  15331. "properties": {
  15332. "areauserid": {
  15333. "description": "所属机构",
  15334. "type": "integer"
  15335. },
  15336. "convertfactor": {
  15337. "description": "标仓系数",
  15338. "type": "number"
  15339. },
  15340. "createtime": {
  15341. "description": "创建时间",
  15342. "type": "string"
  15343. },
  15344. "creatorid": {
  15345. "description": "创建人",
  15346. "type": "integer"
  15347. },
  15348. "deliverygoodsid": {
  15349. "description": "现货品种ID",
  15350. "type": "integer"
  15351. },
  15352. "enumdicname": {
  15353. "description": "品类单位名称",
  15354. "type": "string"
  15355. },
  15356. "isvalid": {
  15357. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15358. "type": "integer"
  15359. },
  15360. "minivalue": {
  15361. "description": "最小变动值",
  15362. "type": "integer"
  15363. },
  15364. "minivaluedp": {
  15365. "description": "最小变动值小数位",
  15366. "type": "integer"
  15367. },
  15368. "realminivalue": {
  15369. "description": "实际最小变动值",
  15370. "type": "integer"
  15371. },
  15372. "realminivaluedp": {
  15373. "description": "实际最小变动值小数位",
  15374. "type": "integer"
  15375. },
  15376. "remark": {
  15377. "description": "备注",
  15378. "type": "string"
  15379. },
  15380. "unitid": {
  15381. "description": "品类单位ID",
  15382. "type": "integer"
  15383. },
  15384. "updatetime": {
  15385. "description": "更新时间",
  15386. "type": "string"
  15387. },
  15388. "wrstandardcode": {
  15389. "description": "品类代码",
  15390. "type": "string"
  15391. },
  15392. "wrstandardid": {
  15393. "description": "品类ID(SEQ_WRSTANDARD)",
  15394. "type": "integer"
  15395. },
  15396. "wrstandardname": {
  15397. "description": "品类名称",
  15398. "type": "string"
  15399. }
  15400. }
  15401. },
  15402. "models.ErmcpAreaSpotDetailModel": {
  15403. "type": "object",
  15404. "properties": {
  15405. "contracttype": {
  15406. "description": "合同类型 1-采购 -1-销售",
  15407. "type": "integer"
  15408. },
  15409. "createtime": {
  15410. "description": "创建时间",
  15411. "type": "string"
  15412. },
  15413. "enumdicname": {
  15414. "description": "现货商品单位名称",
  15415. "type": "string"
  15416. },
  15417. "logtype": {
  15418. "description": "记录类型 1-套保 2-现货合同",
  15419. "type": "integer"
  15420. },
  15421. "qty": {
  15422. "description": "数量",
  15423. "type": "number"
  15424. },
  15425. "recordname": {
  15426. "description": "类型名称",
  15427. "type": "string"
  15428. },
  15429. "relatedid": {
  15430. "description": "套保计划ID/现货合同ID",
  15431. "type": "string"
  15432. },
  15433. "relatedno": {
  15434. "description": "编号",
  15435. "type": "string"
  15436. },
  15437. "strtime": {
  15438. "description": "时间",
  15439. "type": "string"
  15440. },
  15441. "wrstandardcode": {
  15442. "description": "现货商品代码",
  15443. "type": "string"
  15444. },
  15445. "wrstandardname": {
  15446. "description": "现货商品名称",
  15447. "type": "string"
  15448. }
  15449. }
  15450. },
  15451. "models.ErmcpAvalidGoodsGroupModel": {
  15452. "type": "object",
  15453. "properties": {
  15454. "goodsgroupid": {
  15455. "description": "期货品种id",
  15456. "type": "integer"
  15457. },
  15458. "goodsgroupname": {
  15459. "description": "期货品种名称",
  15460. "type": "string"
  15461. },
  15462. "goodunitid": {
  15463. "description": "品种单位id",
  15464. "type": "integer"
  15465. },
  15466. "goodunitname": {
  15467. "description": "品种单位名称",
  15468. "type": "string"
  15469. },
  15470. "outergroupcode": {
  15471. "description": "期货品种代码",
  15472. "type": "string"
  15473. }
  15474. }
  15475. },
  15476. "models.ErmcpBizGroupEx": {
  15477. "type": "object",
  15478. "properties": {
  15479. "acclist": {
  15480. "description": "账号列表",
  15481. "type": "array",
  15482. "items": {
  15483. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15484. }
  15485. },
  15486. "bizgroupid": {
  15487. "description": "业务分组id",
  15488. "type": "integer"
  15489. },
  15490. "biztype": {
  15491. "description": "业务类型 1-套保 2-套利",
  15492. "type": "integer"
  15493. },
  15494. "wrlist": {
  15495. "description": "现货商品表",
  15496. "type": "array",
  15497. "items": {
  15498. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15499. }
  15500. }
  15501. }
  15502. },
  15503. "models.ErmcpBizGroupSpotGoods": {
  15504. "type": "object",
  15505. "properties": {
  15506. "areauserid": {
  15507. "description": "所属机构id",
  15508. "type": "integer"
  15509. },
  15510. "bizgroupid": {
  15511. "description": "分组id",
  15512. "type": "integer"
  15513. },
  15514. "biztype": {
  15515. "description": "业务类型 1-套保 2-套利",
  15516. "type": "integer"
  15517. },
  15518. "deliverygoodscode": {
  15519. "description": "现货商品代码",
  15520. "type": "string"
  15521. },
  15522. "deliverygoodsid": {
  15523. "description": "现货商品id",
  15524. "type": "integer"
  15525. },
  15526. "deliverygoodsname": {
  15527. "description": "现货商品名称",
  15528. "type": "string"
  15529. },
  15530. "unitid": {
  15531. "description": "现货商品单位id",
  15532. "type": "integer"
  15533. }
  15534. }
  15535. },
  15536. "models.ErmcpBizGroupTaAccount": {
  15537. "type": "object",
  15538. "properties": {
  15539. "accountid": {
  15540. "description": "账号id",
  15541. "type": "integer"
  15542. },
  15543. "accountname": {
  15544. "description": "账号名称",
  15545. "type": "string"
  15546. },
  15547. "areauserid": {
  15548. "description": "所属机构id",
  15549. "type": "integer"
  15550. },
  15551. "bizgroupid": {
  15552. "description": "业务分组id",
  15553. "type": "integer"
  15554. },
  15555. "ismain": {
  15556. "description": "是否主账号 1-是 0-否",
  15557. "type": "integer"
  15558. }
  15559. }
  15560. },
  15561. "models.ErmcpDGFactoryItem": {
  15562. "type": "object",
  15563. "properties": {
  15564. "areauserid": {
  15565. "description": "用户id",
  15566. "type": "integer"
  15567. },
  15568. "deliverygoodsid": {
  15569. "description": "现货品种ID",
  15570. "type": "integer"
  15571. },
  15572. "dgfactoryitemid": {
  15573. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15574. "type": "integer"
  15575. },
  15576. "dgfactoryitemtypeid": {
  15577. "description": "要素项类型",
  15578. "type": "integer"
  15579. },
  15580. "dgfactoryitemvalue": {
  15581. "description": "要素项值(类型为仓库时填写仓库名称)",
  15582. "type": "string"
  15583. },
  15584. "isvalid": {
  15585. "description": "是否有效 - 0:无效 1:有效",
  15586. "type": "integer"
  15587. },
  15588. "orderindex": {
  15589. "description": "顺序",
  15590. "type": "integer"
  15591. },
  15592. "warehouseid": {
  15593. "description": "仓库ID(类型为仓库时填写)",
  15594. "type": "integer"
  15595. }
  15596. }
  15597. },
  15598. "models.ErmcpDeliveryGoods": {
  15599. "type": "object",
  15600. "properties": {
  15601. "agreeunit": {
  15602. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15603. "type": "integer"
  15604. },
  15605. "areauserid": {
  15606. "description": "所属机构",
  15607. "type": "integer"
  15608. },
  15609. "auditflag": {
  15610. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15611. "type": "integer"
  15612. },
  15613. "categoryid": {
  15614. "description": "类别ID(SEQ_WRCATEGORY)",
  15615. "type": "integer"
  15616. },
  15617. "deliverygoodscode": {
  15618. "description": "现货品种代码",
  15619. "type": "string"
  15620. },
  15621. "deliverygoodsid": {
  15622. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15623. "type": "integer"
  15624. },
  15625. "deliverygoodsname": {
  15626. "description": "现货品种名称",
  15627. "type": "string"
  15628. },
  15629. "deliverygoodstype": {
  15630. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15631. "type": "integer"
  15632. },
  15633. "dgstatus": {
  15634. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15635. "type": "integer"
  15636. },
  15637. "enumdicname": {
  15638. "description": "现货品种单位名称",
  15639. "type": "string"
  15640. },
  15641. "goodsunitid": {
  15642. "description": "现货品种单位ID",
  15643. "type": "integer"
  15644. },
  15645. "isvalid": {
  15646. "description": "是否有效 - 0:无效 1:有效",
  15647. "type": "integer"
  15648. },
  15649. "qtydecimalplace": {
  15650. "description": "成交量小数位",
  15651. "type": "integer"
  15652. },
  15653. "remark": {
  15654. "description": "备注",
  15655. "type": "string"
  15656. },
  15657. "standardqty": {
  15658. "description": "标准数量(库位数量) [标准品特有]",
  15659. "type": "integer"
  15660. },
  15661. "standardqtyrange": {
  15662. "description": "标准数量偏差范围 [标准品特有]",
  15663. "type": "integer"
  15664. }
  15665. }
  15666. },
  15667. "models.ErmcpDeliveryGoodsDetail2": {
  15668. "type": "object",
  15669. "properties": {
  15670. "convertratio": {
  15671. "description": "套保系数(折算系数)",
  15672. "type": "number"
  15673. },
  15674. "data": {
  15675. "description": "现货商品基本信息(交割品种)",
  15676. "type": "object",
  15677. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15678. },
  15679. "gblist": {
  15680. "description": "品牌列表",
  15681. "type": "array",
  15682. "items": {
  15683. "$ref": "#/definitions/models.Ermcp3Brand"
  15684. }
  15685. },
  15686. "gmlist": {
  15687. "description": "品类列表(仓单标准)",
  15688. "type": "array",
  15689. "items": {
  15690. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15691. }
  15692. }
  15693. }
  15694. },
  15695. "models.ErmcpDeliveryGoodsDetailEx": {
  15696. "type": "object",
  15697. "properties": {
  15698. "data": {
  15699. "description": "现货商品基本信息(交割品种)",
  15700. "type": "object",
  15701. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15702. },
  15703. "gblist": {
  15704. "description": "品牌列表",
  15705. "type": "array",
  15706. "items": {
  15707. "$ref": "#/definitions/models.Ermcp3Brand"
  15708. }
  15709. },
  15710. "gmlist": {
  15711. "description": "品类列表(仓单标准)",
  15712. "type": "array",
  15713. "items": {
  15714. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15715. }
  15716. },
  15717. "mgList": {
  15718. "description": "套保列表",
  15719. "type": "array",
  15720. "items": {
  15721. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15722. }
  15723. }
  15724. }
  15725. },
  15726. "models.ErmcpExposureDetailModel": {
  15727. "type": "object",
  15728. "properties": {
  15729. "areauserid": {
  15730. "description": "机构ID",
  15731. "type": "integer"
  15732. },
  15733. "changeQty": {
  15734. "description": "套保变动量",
  15735. "type": "number"
  15736. },
  15737. "contracttype": {
  15738. "description": "现货合同类型 - 1:采购 -1:销售",
  15739. "type": "integer"
  15740. },
  15741. "convertfactor": {
  15742. "description": "标仓系数",
  15743. "type": "number"
  15744. },
  15745. "convertratio": {
  15746. "description": "套保系数",
  15747. "type": "number"
  15748. },
  15749. "createtime": {
  15750. "description": "时间",
  15751. "type": "string"
  15752. },
  15753. "enumdicname": {
  15754. "description": "现货商品单位名称",
  15755. "type": "string"
  15756. },
  15757. "logtype": {
  15758. "description": "类型 - 1:套保计划 2:现货合同",
  15759. "type": "integer"
  15760. },
  15761. "middlegoodsId": {
  15762. "description": "套保商品id",
  15763. "type": "integer"
  15764. },
  15765. "middlegoodscode": {
  15766. "description": "套保商品代码",
  15767. "type": "string"
  15768. },
  15769. "middlegoodsname": {
  15770. "description": "套保商品名称",
  15771. "type": "string"
  15772. },
  15773. "qty": {
  15774. "description": "数量",
  15775. "type": "number"
  15776. },
  15777. "relateNo": {
  15778. "description": "现货合同/套保计划编号",
  15779. "type": "string"
  15780. },
  15781. "wrstandardcode": {
  15782. "description": "现货商品代码",
  15783. "type": "string"
  15784. },
  15785. "wrstandardid": {
  15786. "description": "现货商品ID",
  15787. "type": "integer"
  15788. },
  15789. "wrstandardname": {
  15790. "description": "现货商品名称",
  15791. "type": "string"
  15792. }
  15793. }
  15794. },
  15795. "models.ErmcpExposurePostion": {
  15796. "type": "object",
  15797. "properties": {
  15798. "agreeunit": {
  15799. "description": "合约单位",
  15800. "type": "string"
  15801. },
  15802. "areauserid": {
  15803. "description": "所属机构id",
  15804. "type": "integer"
  15805. },
  15806. "convertratio": {
  15807. "description": "期货品种系数(折算系数)",
  15808. "type": "number"
  15809. },
  15810. "curqty": {
  15811. "description": "当前持仓",
  15812. "type": "integer"
  15813. },
  15814. "diffhedgeqty": {
  15815. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15816. "type": "number"
  15817. },
  15818. "diffqty": {
  15819. "description": "持仓变动量=当前持仓-昨日持仓",
  15820. "type": "integer"
  15821. },
  15822. "goodscode": {
  15823. "description": "商品代码",
  15824. "type": "string"
  15825. },
  15826. "goodsid": {
  15827. "description": "商品id",
  15828. "type": "integer"
  15829. },
  15830. "goodsname": {
  15831. "description": "商品名称",
  15832. "type": "string"
  15833. },
  15834. "middlegoodsid": {
  15835. "description": "套保商品id",
  15836. "type": "integer"
  15837. },
  15838. "ydqty": {
  15839. "description": "昨日持仓",
  15840. "type": "integer"
  15841. }
  15842. }
  15843. },
  15844. "models.ErmcpFuturesCompany": {
  15845. "type": "object",
  15846. "properties": {
  15847. "brokerid": {
  15848. "description": "经纪公司代码",
  15849. "type": "string"
  15850. },
  15851. "channeladdress": {
  15852. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15853. "type": "string"
  15854. },
  15855. "channelid": {
  15856. "description": "对冲渠道ID",
  15857. "type": "string"
  15858. },
  15859. "createtime": {
  15860. "description": "创建时间",
  15861. "type": "string"
  15862. },
  15863. "creatorid": {
  15864. "description": "创建人",
  15865. "type": "string"
  15866. },
  15867. "fcid": {
  15868. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15869. "type": "integer"
  15870. },
  15871. "fcname": {
  15872. "description": "期货公司名称",
  15873. "type": "string"
  15874. },
  15875. "isvalid": {
  15876. "description": "是否有效 - 0:无效 1:有效",
  15877. "type": "integer"
  15878. },
  15879. "mhpaddress": {
  15880. "description": "MHP服务地址(IP:Port)",
  15881. "type": "string"
  15882. },
  15883. "riskrulegroupid": {
  15884. "description": "风控规则组ID",
  15885. "type": "string"
  15886. },
  15887. "tradefeetmpid": {
  15888. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15889. "type": "string"
  15890. },
  15891. "trademargintmpid": {
  15892. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15893. "type": "string"
  15894. },
  15895. "traderatetmpid": {
  15896. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15897. "type": "string"
  15898. },
  15899. "updatetime": {
  15900. "description": "更新时间",
  15901. "type": "string"
  15902. },
  15903. "updatorid": {
  15904. "description": "更新人",
  15905. "type": "string"
  15906. }
  15907. }
  15908. },
  15909. "models.ErmcpGGConvertCfg": {
  15910. "type": "object",
  15911. "properties": {
  15912. "convertratio": {
  15913. "description": "折算系数",
  15914. "type": "number"
  15915. },
  15916. "destgoodsgroupid": {
  15917. "description": "目标品种ID",
  15918. "type": "integer"
  15919. },
  15920. "dstcode": {
  15921. "description": "目录品种代码",
  15922. "type": "string"
  15923. },
  15924. "dstexchangecode": {
  15925. "description": "目标期货交易所",
  15926. "type": "string"
  15927. },
  15928. "dstname": {
  15929. "description": "目标品种名称",
  15930. "type": "string"
  15931. },
  15932. "dstunitid": {
  15933. "description": "目标品种单位ID",
  15934. "type": "integer"
  15935. },
  15936. "dstunitidname": {
  15937. "description": "目标品种单位名称",
  15938. "type": "string"
  15939. },
  15940. "modifytime": {
  15941. "description": "修改时间",
  15942. "type": "string"
  15943. },
  15944. "srccode": {
  15945. "description": "源品种代码",
  15946. "type": "string"
  15947. },
  15948. "srcexchangecode": {
  15949. "description": "源期货交易所",
  15950. "type": "string"
  15951. },
  15952. "srcgoodsgroupid": {
  15953. "description": "源品种ID",
  15954. "type": "integer"
  15955. },
  15956. "srcname": {
  15957. "description": "源品种名称",
  15958. "type": "string"
  15959. },
  15960. "srcunitid": {
  15961. "description": "源品种单位ID",
  15962. "type": "integer"
  15963. },
  15964. "srcunitidname": {
  15965. "description": "源品种单位名称",
  15966. "type": "string"
  15967. }
  15968. }
  15969. },
  15970. "models.ErmcpGoodsBrand": {
  15971. "type": "object",
  15972. "properties": {
  15973. "areauserid": {
  15974. "description": "所属机构",
  15975. "type": "integer"
  15976. },
  15977. "brandid": {
  15978. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15979. "type": "integer"
  15980. },
  15981. "brandname": {
  15982. "description": "品牌名称",
  15983. "type": "string"
  15984. },
  15985. "createtime": {
  15986. "description": "创建时间",
  15987. "type": "string"
  15988. },
  15989. "creatorid": {
  15990. "description": "创建人",
  15991. "type": "integer"
  15992. },
  15993. "creatorsrc": {
  15994. "description": "创建人来源 - 1:管理端 2:终端",
  15995. "type": "integer"
  15996. },
  15997. "deliverygoodsid": {
  15998. "description": "现货品种ID",
  15999. "type": "integer"
  16000. },
  16001. "isvalid": {
  16002. "description": "是否有效 - 0:无效 1:有效",
  16003. "type": "integer"
  16004. },
  16005. "updatetime": {
  16006. "description": "更新时间",
  16007. "type": "string"
  16008. },
  16009. "updatorid": {
  16010. "description": "更新人",
  16011. "type": "integer"
  16012. },
  16013. "updatorsrc": {
  16014. "description": "更新人来源 - 1:管理端 2:终端",
  16015. "type": "integer"
  16016. },
  16017. "wrstandardid": {
  16018. "description": "现货商品ID",
  16019. "type": "integer"
  16020. }
  16021. }
  16022. },
  16023. "models.ErmcpGoodsModel": {
  16024. "type": "object",
  16025. "properties": {
  16026. "areauserid": {
  16027. "description": "所属机构",
  16028. "type": "integer"
  16029. },
  16030. "convertfactor": {
  16031. "description": "标仓系数",
  16032. "type": "number"
  16033. },
  16034. "createtime": {
  16035. "description": "创建时间",
  16036. "type": "string"
  16037. },
  16038. "creatorid": {
  16039. "description": "创建人",
  16040. "type": "integer"
  16041. },
  16042. "creatorsrc": {
  16043. "description": "创建人来源 - 1:管理端 2:终端",
  16044. "type": "integer"
  16045. },
  16046. "deliverygoodsid": {
  16047. "description": "现货品种ID",
  16048. "type": "integer"
  16049. },
  16050. "isvalid": {
  16051. "description": "是否有效 - 0:无效 1:有效",
  16052. "type": "integer"
  16053. },
  16054. "modelid": {
  16055. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16056. "type": "integer"
  16057. },
  16058. "modelname": {
  16059. "description": "型号名称",
  16060. "type": "string"
  16061. },
  16062. "updatetime": {
  16063. "description": "更新时间",
  16064. "type": "string"
  16065. },
  16066. "updatorid": {
  16067. "description": "更新人",
  16068. "type": "integer"
  16069. },
  16070. "updatorsrc": {
  16071. "description": "更新人来源 - 1:管理端 2:终端",
  16072. "type": "integer"
  16073. },
  16074. "wrstandardid": {
  16075. "description": "现货商品ID",
  16076. "type": "integer"
  16077. }
  16078. }
  16079. },
  16080. "models.ErmcpHedgePosition": {
  16081. "type": "object",
  16082. "properties": {
  16083. "accountid": {
  16084. "description": "资金账号[外部母账户]",
  16085. "type": "integer"
  16086. },
  16087. "curbuyposition": {
  16088. "description": "期末买头寸",
  16089. "type": "integer"
  16090. },
  16091. "cursellposition": {
  16092. "description": "期末卖头寸",
  16093. "type": "integer"
  16094. },
  16095. "curtdbuyposition": {
  16096. "description": "期末今日买头寸",
  16097. "type": "integer"
  16098. },
  16099. "curtdsellposition": {
  16100. "description": "期末今日卖头寸",
  16101. "type": "integer"
  16102. },
  16103. "curydbuyposition": {
  16104. "description": "期末上日买头寸",
  16105. "type": "integer"
  16106. },
  16107. "curydsellposition": {
  16108. "description": "期末上日卖头寸",
  16109. "type": "integer"
  16110. },
  16111. "decreaseqty": {
  16112. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16113. "type": "integer"
  16114. },
  16115. "fretdbuyposition": {
  16116. "description": "冻结今日买头寸",
  16117. "type": "integer"
  16118. },
  16119. "fretdsellposition": {
  16120. "description": "冻结今日卖头寸",
  16121. "type": "integer"
  16122. },
  16123. "freydbuyposition": {
  16124. "description": "冻结上日买头寸",
  16125. "type": "integer"
  16126. },
  16127. "freydsellposition": {
  16128. "description": "冻结上日卖头寸",
  16129. "type": "integer"
  16130. },
  16131. "goodscode": {
  16132. "description": "商品代码",
  16133. "type": "string"
  16134. },
  16135. "goodsid": {
  16136. "description": "商品id",
  16137. "type": "integer"
  16138. },
  16139. "goodsname": {
  16140. "description": "商品名称",
  16141. "type": "string"
  16142. },
  16143. "hedgeaccountcode": {
  16144. "description": "对冲账号",
  16145. "type": "string"
  16146. },
  16147. "hedgegoodsid": {
  16148. "description": "对冲合约ID",
  16149. "type": "integer"
  16150. },
  16151. "increaseqty": {
  16152. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16153. "type": "integer"
  16154. },
  16155. "marketid": {
  16156. "description": "市场ID",
  16157. "type": "integer"
  16158. },
  16159. "relateduserid": {
  16160. "description": "关联用户id",
  16161. "type": "integer"
  16162. },
  16163. "totalcurqty": {
  16164. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16165. "type": "integer"
  16166. },
  16167. "totalydqty": {
  16168. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16169. "type": "integer"
  16170. },
  16171. "tradedate": {
  16172. "description": "交易日(yyyyMMdd)",
  16173. "type": "string"
  16174. },
  16175. "ydbuyposition": {
  16176. "description": "期初买头寸",
  16177. "type": "integer"
  16178. },
  16179. "ydsellposition": {
  16180. "description": "期初卖头寸",
  16181. "type": "integer"
  16182. }
  16183. }
  16184. },
  16185. "models.ErmcpHedgePositionDetail": {
  16186. "type": "object",
  16187. "properties": {
  16188. "buyorsell": {
  16189. "description": "买卖方向 0-买 1-卖",
  16190. "type": "integer"
  16191. },
  16192. "channelbuildtype": {
  16193. "description": "开平方向 1-建仓 2-平仓",
  16194. "type": "integer"
  16195. },
  16196. "goodscode": {
  16197. "description": "商品代码",
  16198. "type": "string"
  16199. },
  16200. "goodsname": {
  16201. "description": "商品名称",
  16202. "type": "string"
  16203. },
  16204. "hedgegoodsid": {
  16205. "description": "商品id",
  16206. "type": "integer"
  16207. },
  16208. "tradeqty": {
  16209. "description": "数量(成交数量)",
  16210. "type": "integer"
  16211. },
  16212. "tradetime": {
  16213. "description": "时间(成交时间)",
  16214. "type": "string"
  16215. }
  16216. }
  16217. },
  16218. "models.ErmcpHisExposure": {
  16219. "type": "object",
  16220. "properties": {
  16221. "needhedgeexposoure": {
  16222. "description": "应套保敞口",
  16223. "type": "number"
  16224. },
  16225. "reckondate": {
  16226. "description": "日照时期(yyyyMMdd)",
  16227. "type": "string"
  16228. },
  16229. "totalexposure": {
  16230. "description": "总敞口",
  16231. "type": "number"
  16232. }
  16233. }
  16234. },
  16235. "models.ErmcpHisExposureS": {
  16236. "type": "object",
  16237. "properties": {
  16238. "data": {
  16239. "description": "历史敞口",
  16240. "type": "array",
  16241. "items": {
  16242. "$ref": "#/definitions/models.ErmcpHisExposure"
  16243. }
  16244. },
  16245. "enumdicname": {
  16246. "description": "单位名称",
  16247. "type": "string"
  16248. },
  16249. "middlegoodscode": {
  16250. "description": "套保品种代码",
  16251. "type": "string"
  16252. },
  16253. "middlegoodsid": {
  16254. "description": "套保品种ID",
  16255. "type": "integer"
  16256. },
  16257. "middlegoodsname": {
  16258. "description": "套保品种名称",
  16259. "type": "string"
  16260. }
  16261. }
  16262. },
  16263. "models.ErmcpLoginTaAccount": {
  16264. "type": "object",
  16265. "properties": {
  16266. "accountid": {
  16267. "description": "账号id",
  16268. "type": "integer"
  16269. },
  16270. "accountname": {
  16271. "description": "账号名称",
  16272. "type": "string"
  16273. }
  16274. }
  16275. },
  16276. "models.ErmcpLoginUser": {
  16277. "type": "object",
  16278. "properties": {
  16279. "acclist": {
  16280. "description": "关联资金账号",
  16281. "type": "array",
  16282. "items": {
  16283. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16284. }
  16285. },
  16286. "accountname": {
  16287. "description": "用户名称",
  16288. "type": "string"
  16289. },
  16290. "clientroleid": {
  16291. "description": "角色id(usertype=2)",
  16292. "type": "integer"
  16293. },
  16294. "createtime": {
  16295. "description": "创建时间",
  16296. "type": "string"
  16297. },
  16298. "logincode": {
  16299. "description": "登录代码",
  16300. "type": "string"
  16301. },
  16302. "loginid": {
  16303. "description": "登录id(LOGINID)",
  16304. "type": "integer"
  16305. },
  16306. "loginname": {
  16307. "description": "登录名称(loginaccount表中的accountname字段)",
  16308. "type": "string"
  16309. },
  16310. "loginstatus": {
  16311. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16312. "type": "integer"
  16313. },
  16314. "memberuserid": {
  16315. "description": "所属会员id",
  16316. "type": "integer"
  16317. },
  16318. "mobile": {
  16319. "description": "手机号",
  16320. "type": "string"
  16321. },
  16322. "modifytime": {
  16323. "description": "修改时间",
  16324. "type": "string"
  16325. },
  16326. "password": {
  16327. "description": "密码(不可解密)",
  16328. "type": "string"
  16329. },
  16330. "rolename": {
  16331. "description": "角色名称",
  16332. "type": "string"
  16333. },
  16334. "rolestatus": {
  16335. "description": "角色状态 1-启用 2-停用",
  16336. "type": "integer"
  16337. },
  16338. "roletype": {
  16339. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16340. "type": "string"
  16341. },
  16342. "userid": {
  16343. "description": "用户id",
  16344. "type": "integer"
  16345. },
  16346. "usertype": {
  16347. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16348. "type": "integer"
  16349. }
  16350. }
  16351. },
  16352. "models.ErmcpLoginUserEx": {
  16353. "type": "object",
  16354. "properties": {
  16355. "accountstatus": {
  16356. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16357. "type": "integer"
  16358. },
  16359. "mobile": {
  16360. "description": "手机号",
  16361. "type": "string"
  16362. },
  16363. "querytype": {
  16364. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16365. "type": "integer"
  16366. },
  16367. "roleid": {
  16368. "description": "角色id(交易账户-\u003e用户id)",
  16369. "type": "integer"
  16370. },
  16371. "rolename": {
  16372. "description": "角色名称(交易账户-\u003e用户名称)",
  16373. "type": "string"
  16374. },
  16375. "userlist": {
  16376. "description": "用户列表",
  16377. "type": "array",
  16378. "items": {
  16379. "$ref": "#/definitions/models.ErmcpLoginUser"
  16380. }
  16381. },
  16382. "usertype": {
  16383. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16384. "type": "integer"
  16385. }
  16386. }
  16387. },
  16388. "models.ErmcpMiddleGoodsChangeLog": {
  16389. "type": "object",
  16390. "properties": {
  16391. "aftervalue": {
  16392. "description": "变更后",
  16393. "type": "number"
  16394. },
  16395. "applyid": {
  16396. "description": "操作人",
  16397. "type": "integer"
  16398. },
  16399. "applyname": {
  16400. "description": "操作人名称",
  16401. "type": "string"
  16402. },
  16403. "applysrc": {
  16404. "description": "操作来源 - 1:管理端 2:终端",
  16405. "type": "integer"
  16406. },
  16407. "beforevalue": {
  16408. "description": "变更前",
  16409. "type": "number"
  16410. },
  16411. "changelogtype": {
  16412. "description": "变更流水类型 - 1:套保比率变更",
  16413. "type": "integer"
  16414. },
  16415. "handlestatus": {
  16416. "description": "处理状态",
  16417. "type": "integer"
  16418. },
  16419. "logdatetime": {
  16420. "description": "流水日期",
  16421. "type": "string"
  16422. },
  16423. "logid": {
  16424. "description": "流水ID",
  16425. "type": "integer"
  16426. },
  16427. "logremark": {
  16428. "description": "流水备注",
  16429. "type": "string"
  16430. },
  16431. "middlegoodsid": {
  16432. "description": "套保品种ID",
  16433. "type": "integer"
  16434. },
  16435. "tradedate": {
  16436. "description": "交易日(yyyyMMdd)",
  16437. "type": "string"
  16438. },
  16439. "updatetime": {
  16440. "description": "更新时间",
  16441. "type": "string"
  16442. }
  16443. }
  16444. },
  16445. "models.ErmcpMiddleGoodsDetail": {
  16446. "type": "object",
  16447. "properties": {
  16448. "cvList": {
  16449. "description": "期货品种折算列表",
  16450. "type": "array",
  16451. "items": {
  16452. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16453. }
  16454. },
  16455. "mg": {
  16456. "description": "套保品种基本信息",
  16457. "type": "object",
  16458. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16459. },
  16460. "wrcList": {
  16461. "description": "现货品种列表(现货商品折算配置)",
  16462. "type": "array",
  16463. "items": {
  16464. "$ref": "#/definitions/models.WRSConverTDetail"
  16465. }
  16466. }
  16467. }
  16468. },
  16469. "models.ErmcpMiddleGoodsModel": {
  16470. "type": "object",
  16471. "properties": {
  16472. "areauserid": {
  16473. "description": "机构用户ID",
  16474. "type": "integer"
  16475. },
  16476. "createtime": {
  16477. "description": "修改时间",
  16478. "type": "string"
  16479. },
  16480. "enumdicname": {
  16481. "description": "单位名称",
  16482. "type": "string"
  16483. },
  16484. "evaluateratio": {
  16485. "description": "估价系数",
  16486. "type": "number"
  16487. },
  16488. "goodsgroupid": {
  16489. "description": "关联期货品种ID",
  16490. "type": "integer"
  16491. },
  16492. "goodsunitid": {
  16493. "description": "单位ID",
  16494. "type": "integer"
  16495. },
  16496. "isvalid": {
  16497. "description": "状态 0-无效(停用) 1-有效(正常)",
  16498. "type": "integer"
  16499. },
  16500. "middlegoodscode": {
  16501. "description": "套保品种代码",
  16502. "type": "string"
  16503. },
  16504. "middlegoodsid": {
  16505. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16506. "type": "integer"
  16507. },
  16508. "middlegoodsname": {
  16509. "description": "套保品种名称",
  16510. "type": "string"
  16511. },
  16512. "modifytime": {
  16513. "description": "修改时间",
  16514. "type": "string"
  16515. },
  16516. "needarbitrageratio": {
  16517. "description": "套利比例",
  16518. "type": "number"
  16519. },
  16520. "needhedgeratio": {
  16521. "description": "套保比率",
  16522. "type": "number"
  16523. },
  16524. "qtydecimalplace": {
  16525. "description": "数量小数位",
  16526. "type": "integer"
  16527. },
  16528. "relatedgoodsid": {
  16529. "description": "关联交易商品ID",
  16530. "type": "integer"
  16531. },
  16532. "relatedgoodstype": {
  16533. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16534. "type": "integer"
  16535. },
  16536. "remark": {
  16537. "description": "备注",
  16538. "type": "string"
  16539. }
  16540. }
  16541. },
  16542. "models.ErmcpOPLogModel": {
  16543. "type": "object",
  16544. "properties": {
  16545. "aftervalue": {
  16546. "description": "变更后",
  16547. "type": "number"
  16548. },
  16549. "applyid": {
  16550. "description": "操作人ID",
  16551. "type": "string"
  16552. },
  16553. "applyname": {
  16554. "description": "操作人名称",
  16555. "type": "string"
  16556. },
  16557. "beforevalue": {
  16558. "description": "变更前",
  16559. "type": "number"
  16560. },
  16561. "biztype": {
  16562. "description": "业务类型 - 1:套保计划 2:现货合同",
  16563. "type": "integer"
  16564. },
  16565. "contracttype": {
  16566. "description": "现货合同类型 - 1:采购 -1:销售",
  16567. "type": "integer"
  16568. },
  16569. "logvalue": {
  16570. "description": "数值",
  16571. "type": "number"
  16572. },
  16573. "operatelogtype": {
  16574. "description": "操作流水类型",
  16575. "type": "integer"
  16576. },
  16577. "operatelogtypedesc": {
  16578. "description": "操作流水类型名称",
  16579. "type": "string"
  16580. },
  16581. "relatedid": {
  16582. "description": "现货合同ID\\套保计划",
  16583. "type": "string"
  16584. },
  16585. "updatetime": {
  16586. "description": "更新时间",
  16587. "type": "string"
  16588. }
  16589. }
  16590. },
  16591. "models.ErmcpPendingAudit": {
  16592. "type": "object",
  16593. "properties": {
  16594. "areastockqty": {
  16595. "description": "待审核数量: 库存申请",
  16596. "type": "integer"
  16597. },
  16598. "businessdjqty": {
  16599. "description": "待审核数量: 点价",
  16600. "type": "integer"
  16601. },
  16602. "businessfpqty": {
  16603. "description": "待审核数量: 发票",
  16604. "type": "integer"
  16605. },
  16606. "businessjsqty": {
  16607. "description": "待审核数量: 结算",
  16608. "type": "integer"
  16609. },
  16610. "businesskxqty": {
  16611. "description": "待审核数量: 款项",
  16612. "type": "integer"
  16613. },
  16614. "hedgeplanqty": {
  16615. "description": "待审核数量: 套保计划",
  16616. "type": "integer"
  16617. },
  16618. "spotcontractqty": {
  16619. "description": "待审核数量: 现货合同",
  16620. "type": "integer"
  16621. },
  16622. "userqty": {
  16623. "description": "待审核数量: 用户",
  16624. "type": "integer"
  16625. }
  16626. }
  16627. },
  16628. "models.ErmcpRealExposureModel": {
  16629. "type": "object",
  16630. "properties": {
  16631. "AreaUserID": {
  16632. "description": "所属机构",
  16633. "type": "integer"
  16634. },
  16635. "BuyFutureQty": {
  16636. "description": "买入期货数量",
  16637. "type": "number"
  16638. },
  16639. "BuyPlanQty": {
  16640. "description": "采购计划数量",
  16641. "type": "number"
  16642. },
  16643. "BuyPricedQty": {
  16644. "description": "采购合同已定价数量",
  16645. "type": "number"
  16646. },
  16647. "MiddleGoodsCode": {
  16648. "description": "套保品种代码",
  16649. "type": "string"
  16650. },
  16651. "MiddleGoodsHedgeRatio": {
  16652. "description": "套保比例",
  16653. "type": "number"
  16654. },
  16655. "MiddleGoodsID": {
  16656. "description": "套保品种",
  16657. "type": "integer"
  16658. },
  16659. "MiddleGoodsName": {
  16660. "description": "套保品种名称",
  16661. "type": "string"
  16662. },
  16663. "NeedHedgeExposoure": {
  16664. "description": "应套保敞口(套保敞口)",
  16665. "type": "number"
  16666. },
  16667. "NeedHedgeRatio": {
  16668. "description": "应套保敞口比例",
  16669. "type": "number"
  16670. },
  16671. "OriBuyFutureQty": {
  16672. "description": "期初买入期货数量",
  16673. "type": "number"
  16674. },
  16675. "OriBuyPlanQty": {
  16676. "description": "期初采购计划数量",
  16677. "type": "number"
  16678. },
  16679. "OriBuyPricedQty": {
  16680. "description": "期初采购合同已定价数量",
  16681. "type": "number"
  16682. },
  16683. "OriSellFutureQty": {
  16684. "description": "期初卖出期货数量",
  16685. "type": "number"
  16686. },
  16687. "OriSellPlanQty": {
  16688. "description": "期初销售计划数量",
  16689. "type": "number"
  16690. },
  16691. "OriSellPricedQty": {
  16692. "description": "期初销售合同已定价数量",
  16693. "type": "number"
  16694. },
  16695. "SellFutureQty": {
  16696. "description": "卖出期货数量",
  16697. "type": "number"
  16698. },
  16699. "SellPlanQty": {
  16700. "description": "销售计划数量",
  16701. "type": "number"
  16702. },
  16703. "SellPricedQty": {
  16704. "description": "销售合同已定价数量",
  16705. "type": "number"
  16706. },
  16707. "TotalExposure": {
  16708. "description": "总敞口",
  16709. "type": "number"
  16710. },
  16711. "TotalFutureQty": {
  16712. "description": "期货总量",
  16713. "type": "number"
  16714. },
  16715. "TotalHedgeRatio": {
  16716. "description": "敞口比例",
  16717. "type": "number"
  16718. },
  16719. "TotalNeedHedgeQty": {
  16720. "description": "应套保总量(现货应套保总量)",
  16721. "type": "number"
  16722. },
  16723. "TotalSpotQty": {
  16724. "description": "现货总量",
  16725. "type": "number"
  16726. },
  16727. "arbitrageqty": {
  16728. "description": "套利量",
  16729. "type": "number"
  16730. },
  16731. "diffArbitrageQty": {
  16732. "description": "套利变动量",
  16733. "type": "number"
  16734. },
  16735. "diffExposoureQty": {
  16736. "description": "变动量(套保敞口)",
  16737. "type": "number"
  16738. },
  16739. "diffFutuQty": {
  16740. "description": "变动量(期货总量)",
  16741. "type": "number"
  16742. },
  16743. "diffHedgeQty": {
  16744. "description": "套保变动量",
  16745. "type": "number"
  16746. },
  16747. "diffQty": {
  16748. "description": "变动量(总敞口)",
  16749. "type": "number"
  16750. },
  16751. "diffSpotHedgeQty": {
  16752. "description": "变动量(现货应套保总量)",
  16753. "type": "number"
  16754. },
  16755. "diffSpotQty": {
  16756. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16757. "type": "number"
  16758. },
  16759. "enumdicname": {
  16760. "description": "单位名称",
  16761. "type": "string"
  16762. },
  16763. "hedgeqty": {
  16764. "description": "套保量",
  16765. "type": "number"
  16766. },
  16767. "needarbitrageqty": {
  16768. "description": "应套利量",
  16769. "type": "number"
  16770. },
  16771. "needarbitrageratio": {
  16772. "description": "套利比例",
  16773. "type": "number"
  16774. },
  16775. "needhedgeqty": {
  16776. "description": "应套保量",
  16777. "type": "number"
  16778. },
  16779. "oriTotalFutuQty": {
  16780. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16781. "type": "number"
  16782. },
  16783. "oriTotalSpotQty": {
  16784. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16785. "type": "number"
  16786. },
  16787. "oriarbitrageqty": {
  16788. "description": "期初套利量",
  16789. "type": "number"
  16790. },
  16791. "orihedgeqty": {
  16792. "description": "期初套保量",
  16793. "type": "number"
  16794. },
  16795. "orineedhedgeexposoure": {
  16796. "description": "期初套保敞口",
  16797. "type": "number"
  16798. },
  16799. "oritotalexposure": {
  16800. "description": "期初总敞口",
  16801. "type": "number"
  16802. },
  16803. "oritotalfutureqty": {
  16804. "description": "期初期货总量",
  16805. "type": "number"
  16806. },
  16807. "oritotalneedhedgeqty": {
  16808. "description": "期初现货应套保量",
  16809. "type": "number"
  16810. }
  16811. }
  16812. },
  16813. "models.ErmcpRole": {
  16814. "type": "object",
  16815. "properties": {
  16816. "areauserid": {
  16817. "description": "所属机构",
  16818. "type": "integer"
  16819. },
  16820. "autoid": {
  16821. "description": "角色ID(自增ID)",
  16822. "type": "integer"
  16823. },
  16824. "modifierid": {
  16825. "description": "修改人(创建人)",
  16826. "type": "integer"
  16827. },
  16828. "modifiername": {
  16829. "description": "修改人名称",
  16830. "type": "string"
  16831. },
  16832. "modifytime": {
  16833. "description": "修改时间(创建时间)",
  16834. "type": "string"
  16835. },
  16836. "rolename": {
  16837. "description": "角色名称",
  16838. "type": "string"
  16839. },
  16840. "rolestatus": {
  16841. "description": "角色状态 - 1:启用 2:停用",
  16842. "type": "integer"
  16843. },
  16844. "roletype": {
  16845. "description": "角色类型 - 1- 管理端 2- 交易端",
  16846. "type": "integer"
  16847. }
  16848. }
  16849. },
  16850. "models.ErmcpRoleMenu": {
  16851. "type": "object",
  16852. "properties": {
  16853. "iconame": {
  16854. "description": "菜单图标",
  16855. "type": "string"
  16856. },
  16857. "ishadrole": {
  16858. "description": "是否有权限",
  16859. "type": "boolean"
  16860. },
  16861. "menutype": {
  16862. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16863. "type": "integer"
  16864. },
  16865. "parentcode": {
  16866. "description": "上级资源代码",
  16867. "type": "string"
  16868. },
  16869. "remark": {
  16870. "description": "菜单备注",
  16871. "type": "string"
  16872. },
  16873. "resourcecode": {
  16874. "description": "菜单代码",
  16875. "type": "string"
  16876. },
  16877. "resourcelevel": {
  16878. "description": "级别",
  16879. "type": "integer"
  16880. },
  16881. "resourcename": {
  16882. "description": "菜单名称",
  16883. "type": "string"
  16884. },
  16885. "roleid": {
  16886. "description": "角色id",
  16887. "type": "integer"
  16888. },
  16889. "sort": {
  16890. "description": "排序",
  16891. "type": "integer"
  16892. },
  16893. "url": {
  16894. "description": "URL",
  16895. "type": "string"
  16896. },
  16897. "userid": {
  16898. "description": "用户id",
  16899. "type": "integer"
  16900. }
  16901. }
  16902. },
  16903. "models.ErmcpRoleMenuEx": {
  16904. "type": "object",
  16905. "properties": {
  16906. "menu": {
  16907. "description": "父级菜单",
  16908. "type": "object",
  16909. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16910. },
  16911. "subMenu": {
  16912. "description": "子级菜单",
  16913. "type": "array",
  16914. "items": {
  16915. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16916. }
  16917. }
  16918. }
  16919. },
  16920. "models.ErmcpTaAccount": {
  16921. "type": "object",
  16922. "properties": {
  16923. "accountid": {
  16924. "description": "账户id",
  16925. "type": "integer"
  16926. },
  16927. "accountname": {
  16928. "description": "账户名称",
  16929. "type": "string"
  16930. },
  16931. "currencyid": {
  16932. "description": "币种id",
  16933. "type": "integer"
  16934. },
  16935. "hedgeaccountcode": {
  16936. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16937. "type": "string"
  16938. },
  16939. "ismain": {
  16940. "description": "是否主账户 0-否 1-是",
  16941. "type": "integer"
  16942. },
  16943. "parentaccountid": {
  16944. "description": "父账户id",
  16945. "type": "integer"
  16946. },
  16947. "relateduserid": {
  16948. "description": "关联userid",
  16949. "type": "integer"
  16950. },
  16951. "tradestatus": {
  16952. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16953. "type": "integer"
  16954. },
  16955. "userid": {
  16956. "description": "用户id",
  16957. "type": "integer"
  16958. }
  16959. }
  16960. },
  16961. "models.ErmcpTaAccountEx": {
  16962. "type": "object",
  16963. "properties": {
  16964. "mainAcc": {
  16965. "description": "主账号",
  16966. "type": "object",
  16967. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16968. },
  16969. "subacclist": {
  16970. "description": "子账号列表",
  16971. "type": "array",
  16972. "items": {
  16973. "$ref": "#/definitions/models.ErmcpTaAccount"
  16974. }
  16975. }
  16976. }
  16977. },
  16978. "models.ErmcpTaAccountInfo": {
  16979. "type": "object",
  16980. "properties": {
  16981. "accountid": {
  16982. "description": "资金账户ID",
  16983. "type": "integer"
  16984. },
  16985. "accountname": {
  16986. "description": "账户名称",
  16987. "type": "string"
  16988. },
  16989. "balance": {
  16990. "description": "期初余额",
  16991. "type": "number"
  16992. },
  16993. "capitalbalance": {
  16994. "description": "本金余额[外部子账户实际出入金余额]",
  16995. "type": "number"
  16996. },
  16997. "closepl": {
  16998. "description": "今日平仓盈亏",
  16999. "type": "number"
  17000. },
  17001. "creditdecrease": {
  17002. "description": "今日授信减少",
  17003. "type": "number"
  17004. },
  17005. "creditincrease": {
  17006. "description": "今日授信增加",
  17007. "type": "number"
  17008. },
  17009. "curdebt": {
  17010. "description": "期末欠款",
  17011. "type": "number"
  17012. },
  17013. "currencyid": {
  17014. "description": "货币ID",
  17015. "type": "integer"
  17016. },
  17017. "currentbalance": {
  17018. "description": "期末余额",
  17019. "type": "number"
  17020. },
  17021. "freezecharge": {
  17022. "description": "手续费冻结",
  17023. "type": "number"
  17024. },
  17025. "freezemargin": {
  17026. "description": "冻结保证金",
  17027. "type": "number"
  17028. },
  17029. "fromaccountid": {
  17030. "description": "所属上级账户",
  17031. "type": "integer"
  17032. },
  17033. "inamount": {
  17034. "description": "今日入金金额(包括三方入金)",
  17035. "type": "number"
  17036. },
  17037. "ismain": {
  17038. "description": "是否母账号 0:不是母账户 1:是母账户",
  17039. "type": "integer"
  17040. },
  17041. "mortgagecredit": {
  17042. "description": "授信金额",
  17043. "type": "number"
  17044. },
  17045. "oridebt": {
  17046. "description": "期初欠款",
  17047. "type": "number"
  17048. },
  17049. "orifreezecharge": {
  17050. "description": "期初手续费冻结",
  17051. "type": "number"
  17052. },
  17053. "orifreezemargin": {
  17054. "description": "期初冻结保证金",
  17055. "type": "number"
  17056. },
  17057. "orimortgagecredit": {
  17058. "description": "期初授信金额",
  17059. "type": "number"
  17060. },
  17061. "oriothercredit": {
  17062. "description": "期初其它授信金额",
  17063. "type": "number"
  17064. },
  17065. "oriotherfreezemargin": {
  17066. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17067. "type": "number"
  17068. },
  17069. "orioutamountfreeze": {
  17070. "description": "期初出金冻结",
  17071. "type": "number"
  17072. },
  17073. "oriusedmargin": {
  17074. "description": "期初占用保证金",
  17075. "type": "number"
  17076. },
  17077. "othercredit": {
  17078. "description": "其它授信金额",
  17079. "type": "number"
  17080. },
  17081. "othercreditdecrease": {
  17082. "description": "今日其它授信减少",
  17083. "type": "number"
  17084. },
  17085. "othercreditincrease": {
  17086. "description": "今日其它授信增加",
  17087. "type": "number"
  17088. },
  17089. "otherfreezemargin": {
  17090. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17091. "type": "number"
  17092. },
  17093. "outamount": {
  17094. "description": "今日出金金额(包括三方出金)",
  17095. "type": "number"
  17096. },
  17097. "outamountfreeze": {
  17098. "description": "出金冻结",
  17099. "type": "number"
  17100. },
  17101. "outthreshold": {
  17102. "description": "出金阈值",
  17103. "type": "number"
  17104. },
  17105. "parentaccountid": {
  17106. "description": "所属根账号",
  17107. "type": "integer"
  17108. },
  17109. "paycharge": {
  17110. "description": "今日手续费支出",
  17111. "type": "number"
  17112. },
  17113. "relateduserid": {
  17114. "description": "关联用户",
  17115. "type": "integer"
  17116. },
  17117. "signstatus": {
  17118. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17119. "type": "integer"
  17120. },
  17121. "sublevelpath": {
  17122. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17123. "type": "string"
  17124. },
  17125. "taaccounttype": {
  17126. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17127. "type": "integer"
  17128. },
  17129. "thirdinamount": {
  17130. "description": "今日三方入金",
  17131. "type": "number"
  17132. },
  17133. "thirdoutamount": {
  17134. "description": "今日三方出金",
  17135. "type": "number"
  17136. },
  17137. "tradestatus": {
  17138. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17139. "type": "integer"
  17140. },
  17141. "transferamount": {
  17142. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17143. "type": "number"
  17144. },
  17145. "usedmargin": {
  17146. "description": "占用保证金",
  17147. "type": "number"
  17148. },
  17149. "userid": {
  17150. "description": "用户ID",
  17151. "type": "integer"
  17152. }
  17153. }
  17154. },
  17155. "models.ErmcpTaAccountM": {
  17156. "type": "object",
  17157. "properties": {
  17158. "accountid": {
  17159. "description": "账户id",
  17160. "type": "integer"
  17161. },
  17162. "accountname": {
  17163. "description": "账户名称",
  17164. "type": "string"
  17165. },
  17166. "currencyid": {
  17167. "description": "币种id",
  17168. "type": "integer"
  17169. },
  17170. "fcid": {
  17171. "description": "期货公司id",
  17172. "type": "integer"
  17173. },
  17174. "fcname": {
  17175. "description": "期货公司代码",
  17176. "type": "string"
  17177. },
  17178. "hedgeaccountcode": {
  17179. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17180. "type": "string"
  17181. },
  17182. "ismain": {
  17183. "description": "是否主账户 0-否 1-是",
  17184. "type": "integer"
  17185. },
  17186. "parentaccountid": {
  17187. "description": "父账户id",
  17188. "type": "integer"
  17189. },
  17190. "relateduserid": {
  17191. "description": "关联userid",
  17192. "type": "integer"
  17193. },
  17194. "tradestatus": {
  17195. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17196. "type": "integer"
  17197. },
  17198. "userid": {
  17199. "description": "用户id",
  17200. "type": "integer"
  17201. }
  17202. }
  17203. },
  17204. "models.ErmcpTradeConfigTMP": {
  17205. "type": "object",
  17206. "properties": {
  17207. "areauserid": {
  17208. "description": "所属机构",
  17209. "type": "integer"
  17210. },
  17211. "basiccurrencyid": {
  17212. "description": "基本币种ID[汇率] - 目标币种",
  17213. "type": "integer"
  17214. },
  17215. "mainaccountid": {
  17216. "description": "主账户ID",
  17217. "type": "integer"
  17218. },
  17219. "modifierid": {
  17220. "description": "修改人",
  17221. "type": "integer"
  17222. },
  17223. "remark": {
  17224. "description": "备注",
  17225. "type": "string"
  17226. },
  17227. "tradeconfigtmpid": {
  17228. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17229. "type": "integer"
  17230. },
  17231. "tradeconfigtmpname": {
  17232. "description": "交易配置模板名称",
  17233. "type": "string"
  17234. },
  17235. "tradeconfigtmptype": {
  17236. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17237. "type": "integer"
  17238. },
  17239. "updatetime": {
  17240. "description": "更新时间",
  17241. "type": "string"
  17242. }
  17243. }
  17244. },
  17245. "models.ErmcpUserModel": {
  17246. "type": "object",
  17247. "properties": {
  17248. "address": {
  17249. "description": "通讯地址",
  17250. "type": "string"
  17251. },
  17252. "attachment1": {
  17253. "description": "附件1",
  17254. "type": "string"
  17255. },
  17256. "audittime": {
  17257. "description": "审核时间",
  17258. "type": "string"
  17259. },
  17260. "cardbackphotourl": {
  17261. "description": "证件反面图片地址",
  17262. "type": "string"
  17263. },
  17264. "cardfrontphotourl": {
  17265. "description": "证件正面图片地址",
  17266. "type": "string"
  17267. },
  17268. "cardnum": {
  17269. "description": "证件号码",
  17270. "type": "string"
  17271. },
  17272. "cardtype": {
  17273. "description": "证件类型",
  17274. "type": "integer"
  17275. },
  17276. "cardtypename": {
  17277. "description": "证件类型名称",
  17278. "type": "string"
  17279. },
  17280. "cityid": {
  17281. "description": "市",
  17282. "type": "integer"
  17283. },
  17284. "contactname": {
  17285. "description": "联系人",
  17286. "type": "string"
  17287. },
  17288. "countryid": {
  17289. "description": "国家",
  17290. "type": "integer"
  17291. },
  17292. "createtime": {
  17293. "description": "创建时间",
  17294. "type": "string"
  17295. },
  17296. "customername": {
  17297. "description": "企业名称",
  17298. "type": "string"
  17299. },
  17300. "districtid": {
  17301. "description": "区域",
  17302. "type": "integer"
  17303. },
  17304. "email": {
  17305. "description": "邮件",
  17306. "type": "string"
  17307. },
  17308. "legalpersonname": {
  17309. "description": "法人姓名(企业)",
  17310. "type": "string"
  17311. },
  17312. "memberuserid": {
  17313. "description": "所属机构ID",
  17314. "type": "integer"
  17315. },
  17316. "mobile": {
  17317. "description": "手机号码",
  17318. "type": "string"
  17319. },
  17320. "modifytime": {
  17321. "description": "修改时间",
  17322. "type": "string"
  17323. },
  17324. "nickname": {
  17325. "description": "昵称",
  17326. "type": "string"
  17327. },
  17328. "provinceid": {
  17329. "description": "省",
  17330. "type": "integer"
  17331. },
  17332. "remark": {
  17333. "description": "备注",
  17334. "type": "string"
  17335. },
  17336. "status": {
  17337. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17338. "type": "integer"
  17339. },
  17340. "statusdesc": {
  17341. "description": "账户状态中文描述",
  17342. "type": "string"
  17343. },
  17344. "taxpayernum": {
  17345. "description": "纳税人识别号",
  17346. "type": "string"
  17347. },
  17348. "telphone": {
  17349. "description": "联系电话",
  17350. "type": "string"
  17351. },
  17352. "userid": {
  17353. "description": "用户ID",
  17354. "type": "integer"
  17355. },
  17356. "userinfotype": {
  17357. "description": "客户类型",
  17358. "type": "string"
  17359. }
  17360. }
  17361. },
  17362. "models.ErmcpWareHouseInfo": {
  17363. "type": "object",
  17364. "properties": {
  17365. "address": {
  17366. "description": "详细地址",
  17367. "type": "string"
  17368. },
  17369. "areauserid": {
  17370. "description": "所属机构",
  17371. "type": "integer"
  17372. },
  17373. "autoid": {
  17374. "description": "自增ID(仓库ID)",
  17375. "type": "integer"
  17376. },
  17377. "cityid": {
  17378. "description": "市",
  17379. "type": "integer"
  17380. },
  17381. "contactname": {
  17382. "description": "联系人",
  17383. "type": "string"
  17384. },
  17385. "contactnum": {
  17386. "description": "联系电话",
  17387. "type": "string"
  17388. },
  17389. "countryid": {
  17390. "description": "国家",
  17391. "type": "integer"
  17392. },
  17393. "createtime": {
  17394. "description": "创建时间",
  17395. "type": "string"
  17396. },
  17397. "districtid": {
  17398. "description": "区",
  17399. "type": "integer"
  17400. },
  17401. "hasvideo": {
  17402. "description": "是否有视频 - 0:无 1:有",
  17403. "type": "integer"
  17404. },
  17405. "provinceid": {
  17406. "description": "省",
  17407. "type": "integer"
  17408. },
  17409. "remark": {
  17410. "description": "审核备注",
  17411. "type": "string"
  17412. },
  17413. "videourl": {
  17414. "description": "视频地址",
  17415. "type": "string"
  17416. },
  17417. "warehousecode": {
  17418. "description": "仓库代码",
  17419. "type": "string"
  17420. },
  17421. "warehousename": {
  17422. "description": "仓库名称",
  17423. "type": "string"
  17424. },
  17425. "warehousestatus": {
  17426. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17427. "type": "integer"
  17428. },
  17429. "warehousetype": {
  17430. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17431. "type": "integer"
  17432. }
  17433. }
  17434. },
  17435. "models.Externalexchange": {
  17436. "type": "object",
  17437. "required": [
  17438. "autoid"
  17439. ],
  17440. "properties": {
  17441. "autoid": {
  17442. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17443. "type": "integer"
  17444. },
  17445. "exchangefullname": {
  17446. "description": "外部交易所全称",
  17447. "type": "string"
  17448. },
  17449. "exexchangecode": {
  17450. "description": "外部交易所代码",
  17451. "type": "string"
  17452. },
  17453. "exexchangename": {
  17454. "description": "外部交易所名称(简称)",
  17455. "type": "string"
  17456. },
  17457. "ismarketprice": {
  17458. "description": "是否支持市价 - 0:不支持 1:支持",
  17459. "type": "integer"
  17460. },
  17461. "quotegear": {
  17462. "description": "行情档位(1-10)",
  17463. "type": "integer"
  17464. },
  17465. "showbrokerflag": {
  17466. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17467. "type": "integer"
  17468. },
  17469. "updatetime": {
  17470. "description": "更新时间",
  17471. "type": "string"
  17472. }
  17473. }
  17474. },
  17475. "models.Funcmenulist": {
  17476. "type": "object",
  17477. "required": [
  17478. "resourcecode"
  17479. ],
  17480. "properties": {
  17481. "iconame": {
  17482. "description": "菜单图标",
  17483. "type": "string"
  17484. },
  17485. "menutype": {
  17486. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17487. "type": "integer"
  17488. },
  17489. "parentcode": {
  17490. "description": "上级资源代码",
  17491. "type": "string"
  17492. },
  17493. "remark": {
  17494. "description": "备注",
  17495. "type": "string"
  17496. },
  17497. "resourcecode": {
  17498. "description": "资源代码",
  17499. "type": "string"
  17500. },
  17501. "resourcelevel": {
  17502. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17503. "type": "integer"
  17504. },
  17505. "resourcename": {
  17506. "description": "资源名",
  17507. "type": "string"
  17508. },
  17509. "sort": {
  17510. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17511. "type": "integer"
  17512. },
  17513. "url": {
  17514. "description": "URL",
  17515. "type": "string"
  17516. }
  17517. }
  17518. },
  17519. "models.Goods": {
  17520. "type": "object",
  17521. "required": [
  17522. "goodscode",
  17523. "goodsid",
  17524. "goodsname",
  17525. "marketid"
  17526. ],
  17527. "properties": {
  17528. "agreeunit": {
  17529. "description": "合约单位",
  17530. "type": "number"
  17531. },
  17532. "auditaccountid": {
  17533. "description": "审核操作员账号",
  17534. "type": "integer"
  17535. },
  17536. "audittime": {
  17537. "description": "审核时间",
  17538. "type": "string"
  17539. },
  17540. "cancelaccountid": {
  17541. "description": "注销操作员账号",
  17542. "type": "integer"
  17543. },
  17544. "canceltime": {
  17545. "description": "注销时间",
  17546. "type": "string"
  17547. },
  17548. "closepricemode": {
  17549. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17550. "type": "integer"
  17551. },
  17552. "closepriceparam": {
  17553. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17554. "type": "number"
  17555. },
  17556. "createtime": {
  17557. "description": "创建时间",
  17558. "type": "string"
  17559. },
  17560. "creatorid": {
  17561. "description": "创建人",
  17562. "type": "integer"
  17563. },
  17564. "currencyid": {
  17565. "description": "报价货币ID",
  17566. "type": "integer"
  17567. },
  17568. "cutmode": {
  17569. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17570. "type": "integer"
  17571. },
  17572. "decimalplace": {
  17573. "description": "报价小数位",
  17574. "type": "integer"
  17575. },
  17576. "delistingdate": {
  17577. "description": "商品退市时间(状态:退市) -- 已作废",
  17578. "type": "string"
  17579. },
  17580. "delistingmode": {
  17581. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17582. "type": "integer"
  17583. },
  17584. "deliveryflag": {
  17585. "description": "交割标志 - 0:不可交割 1:可交割",
  17586. "type": "integer"
  17587. },
  17588. "forceclosemode": {
  17589. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17590. "type": "integer"
  17591. },
  17592. "forceclosevalue": {
  17593. "description": "定期强平参数 [收益权]",
  17594. "type": "integer"
  17595. },
  17596. "goodscode": {
  17597. "description": "商品代码(内部)",
  17598. "type": "string"
  17599. },
  17600. "goodscurrencyid": {
  17601. "description": "合约货币ID",
  17602. "type": "integer"
  17603. },
  17604. "goodsgroupid": {
  17605. "description": "所属商品组ID",
  17606. "type": "integer"
  17607. },
  17608. "goodsid": {
  17609. "description": "商品ID(自增ID SEQ_GOODS)",
  17610. "type": "integer"
  17611. },
  17612. "goodsname": {
  17613. "description": "商品名称",
  17614. "type": "string"
  17615. },
  17616. "goodsquotetype": {
  17617. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17618. "type": "integer"
  17619. },
  17620. "goodsstatus": {
  17621. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17622. "type": "integer"
  17623. },
  17624. "goodstradetype": {
  17625. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17626. "type": "integer"
  17627. },
  17628. "goodunitid": {
  17629. "description": "报价单位ID",
  17630. "type": "integer"
  17631. },
  17632. "hasquoter": {
  17633. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17634. "type": "integer"
  17635. },
  17636. "hqprotecttime": {
  17637. "description": "行情保护时间(秒)",
  17638. "type": "integer"
  17639. },
  17640. "innerdealmode": {
  17641. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17642. "type": "integer"
  17643. },
  17644. "isbuylimited": {
  17645. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17646. "type": "integer"
  17647. },
  17648. "lasttradedate": {
  17649. "description": "最后交易日期(状态:待退市)",
  17650. "type": "string"
  17651. },
  17652. "listingdate": {
  17653. "description": "交易开始日期",
  17654. "type": "string"
  17655. },
  17656. "marketid": {
  17657. "description": "所属市场ID",
  17658. "type": "integer"
  17659. },
  17660. "modifierid": {
  17661. "description": "修改人",
  17662. "type": "integer"
  17663. },
  17664. "modifystatus": {
  17665. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17666. "type": "integer"
  17667. },
  17668. "modifytime": {
  17669. "description": "修改时间",
  17670. "type": "string"
  17671. },
  17672. "outerdealmode": {
  17673. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17674. "type": "integer"
  17675. },
  17676. "outgoodscode": {
  17677. "description": "商品代码(外部)",
  17678. "type": "string"
  17679. },
  17680. "qtydecimalplace": {
  17681. "description": "成交量小数位",
  17682. "type": "integer"
  17683. },
  17684. "quotegear": {
  17685. "description": "行情档位(1-10)",
  17686. "type": "integer"
  17687. },
  17688. "quoteminunit": {
  17689. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17690. "type": "integer"
  17691. },
  17692. "quoteshowtype": {
  17693. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17694. "type": "integer"
  17695. },
  17696. "quoteshowtypeinterval": {
  17697. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17698. "type": "integer"
  17699. },
  17700. "remark": {
  17701. "description": "备注",
  17702. "type": "string"
  17703. }
  17704. }
  17705. },
  17706. "models.GoodsIDAndName": {
  17707. "type": "object",
  17708. "required": [
  17709. "goodscode",
  17710. "goodsid",
  17711. "goodsname",
  17712. "marketid"
  17713. ],
  17714. "properties": {
  17715. "goodscode": {
  17716. "description": "商品代码(内部)",
  17717. "type": "string"
  17718. },
  17719. "goodsid": {
  17720. "description": "商品ID(自增ID SEQ_GOODS)",
  17721. "type": "integer"
  17722. },
  17723. "goodsname": {
  17724. "description": "商品名称",
  17725. "type": "string"
  17726. },
  17727. "marketid": {
  17728. "description": "所属市场ID",
  17729. "type": "integer"
  17730. }
  17731. }
  17732. },
  17733. "models.Goodsgroup": {
  17734. "type": "object",
  17735. "required": [
  17736. "goodsgroupid",
  17737. "goodsgroupname",
  17738. "goodsgroupstatus",
  17739. "marketid"
  17740. ],
  17741. "properties": {
  17742. "agreeunit": {
  17743. "description": "合约单位",
  17744. "type": "number"
  17745. },
  17746. "canshort": {
  17747. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17748. "type": "integer"
  17749. },
  17750. "closepricemode": {
  17751. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17752. "type": "integer"
  17753. },
  17754. "closepriceparam": {
  17755. "description": "强平最新价浮动比例 - 方式为2时使用",
  17756. "type": "number"
  17757. },
  17758. "createtime": {
  17759. "description": "创建时间",
  17760. "type": "string"
  17761. },
  17762. "creatorid": {
  17763. "description": "创建人",
  17764. "type": "integer"
  17765. },
  17766. "currencyid": {
  17767. "description": "报价货币ID",
  17768. "type": "integer"
  17769. },
  17770. "decimalplace": {
  17771. "description": "报价小数位",
  17772. "type": "integer"
  17773. },
  17774. "exercisetype": {
  17775. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17776. "type": "integer"
  17777. },
  17778. "exexchangeid": {
  17779. "description": "外部交易所ID[通道交易]",
  17780. "type": "integer"
  17781. },
  17782. "goodsgroupid": {
  17783. "description": "商品组ID(自增ID)",
  17784. "type": "integer"
  17785. },
  17786. "goodsgroupname": {
  17787. "description": "商品组名称",
  17788. "type": "string"
  17789. },
  17790. "goodsgroupstatus": {
  17791. "description": "商品组状态 - 1:正常 2:注销",
  17792. "type": "integer"
  17793. },
  17794. "goodunitid": {
  17795. "description": "报价单位ID",
  17796. "type": "integer"
  17797. },
  17798. "innerdealmode": {
  17799. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17800. "type": "integer"
  17801. },
  17802. "isbuylimited": {
  17803. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17804. "type": "integer"
  17805. },
  17806. "marketid": {
  17807. "description": "所属市场ID",
  17808. "type": "integer"
  17809. },
  17810. "modifierid": {
  17811. "description": "修改人",
  17812. "type": "integer"
  17813. },
  17814. "modifytime": {
  17815. "description": "修改时间",
  17816. "type": "string"
  17817. },
  17818. "outerdealmode": {
  17819. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17820. "type": "integer"
  17821. },
  17822. "outergroupcode": {
  17823. "description": "外部商品组代码[通道交易]",
  17824. "type": "string"
  17825. },
  17826. "premiumdecimalplace": {
  17827. "description": "权利金小数位[场外期权]",
  17828. "type": "integer"
  17829. },
  17830. "premiumspreadalgorithm": {
  17831. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17832. "type": "integer"
  17833. },
  17834. "premiumspreadvalue": {
  17835. "description": "权利金点差值[场外期权]",
  17836. "type": "number"
  17837. },
  17838. "qtydecimalplace": {
  17839. "description": "成交量小数位",
  17840. "type": "integer"
  17841. },
  17842. "quotegear": {
  17843. "description": "行情档位(1-10)",
  17844. "type": "integer"
  17845. },
  17846. "quoteminunit": {
  17847. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17848. "type": "integer"
  17849. },
  17850. "quoterid": {
  17851. "description": "报价商ID[场外期权]",
  17852. "type": "integer"
  17853. },
  17854. "quotesourcegroupid": {
  17855. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17856. "type": "integer"
  17857. },
  17858. "syncgoodsqty": {
  17859. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17860. "type": "integer"
  17861. }
  17862. }
  17863. },
  17864. "models.Goodssortbypreposition": {
  17865. "type": "object",
  17866. "required": [
  17867. "goodscode",
  17868. "tradedate"
  17869. ],
  17870. "properties": {
  17871. "goodscode": {
  17872. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17873. "type": "string"
  17874. },
  17875. "goodsgroupcode": {
  17876. "description": "品种代码",
  17877. "type": "string"
  17878. },
  17879. "prepositionqty": {
  17880. "description": "昨持仓量",
  17881. "type": "integer"
  17882. },
  17883. "sortindex": {
  17884. "description": "排序",
  17885. "type": "integer"
  17886. },
  17887. "tradedate": {
  17888. "description": "交易日",
  17889. "type": "string"
  17890. },
  17891. "updatetime": {
  17892. "description": "更新时间",
  17893. "type": "string"
  17894. }
  17895. }
  17896. },
  17897. "models.Hedgeinnerholderdetail": {
  17898. "type": "object",
  17899. "required": [
  17900. "buyorsell",
  17901. "tradeid"
  17902. ],
  17903. "properties": {
  17904. "accountid": {
  17905. "description": "账号ID",
  17906. "type": "integer"
  17907. },
  17908. "buyorsell": {
  17909. "description": "方向 - 0:买 1:卖",
  17910. "type": "integer"
  17911. },
  17912. "freezeqty": {
  17913. "description": "冻结数量 - 按单平使用",
  17914. "type": "integer"
  17915. },
  17916. "goodsid": {
  17917. "description": "商品ID",
  17918. "type": "integer"
  17919. },
  17920. "holderamount": {
  17921. "description": "持仓金额 [商品币种]",
  17922. "type": "number"
  17923. },
  17924. "holderdays": {
  17925. "description": "剩余冻结天数",
  17926. "type": "integer"
  17927. },
  17928. "holderprice": {
  17929. "description": "持仓价格",
  17930. "type": "number"
  17931. },
  17932. "holderqty": {
  17933. "description": "持仓数量",
  17934. "type": "integer"
  17935. },
  17936. "marketid": {
  17937. "description": "市场ID",
  17938. "type": "integer"
  17939. },
  17940. "openprice": {
  17941. "description": "建仓价格",
  17942. "type": "number"
  17943. },
  17944. "openqty": {
  17945. "description": "建仓数量",
  17946. "type": "integer"
  17947. },
  17948. "parentaccountid": {
  17949. "description": "所属母账户",
  17950. "type": "integer"
  17951. },
  17952. "releaseamount": {
  17953. "description": "释放持仓金额[商品币种]",
  17954. "type": "number"
  17955. },
  17956. "tradeamount": {
  17957. "description": "成交金额[账户]",
  17958. "type": "number"
  17959. },
  17960. "tradedate": {
  17961. "description": "交易日(yyyyMMdd)",
  17962. "type": "string"
  17963. },
  17964. "tradeid": {
  17965. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17966. "type": "string"
  17967. },
  17968. "tradetime": {
  17969. "description": "交易时间",
  17970. "type": "string"
  17971. }
  17972. }
  17973. },
  17974. "models.Hedgemarketopenlog": {
  17975. "type": "object",
  17976. "required": [
  17977. "accountid"
  17978. ],
  17979. "properties": {
  17980. "accountid": {
  17981. "description": "资金账号[外部母账户]",
  17982. "type": "integer"
  17983. },
  17984. "fcname": {
  17985. "description": "期货公司名称",
  17986. "type": "string"
  17987. },
  17988. "handlestatus": {
  17989. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17990. "type": "integer"
  17991. },
  17992. "marketid": {
  17993. "description": "市场ID",
  17994. "type": "integer"
  17995. },
  17996. "status": {
  17997. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17998. "type": "integer"
  17999. },
  18000. "tradedate": {
  18001. "description": "交易日(yyyyMMdd)",
  18002. "type": "string"
  18003. },
  18004. "updatetime": {
  18005. "description": "更新时间",
  18006. "type": "string"
  18007. }
  18008. }
  18009. },
  18010. "models.HsbyBuyMyPayOrder": {
  18011. "type": "object",
  18012. "required": [
  18013. "goodscode",
  18014. "goodsname",
  18015. "tradeid",
  18016. "trademode"
  18017. ],
  18018. "properties": {
  18019. "agreeunit": {
  18020. "description": "合约单位",
  18021. "type": "number"
  18022. },
  18023. "buyaccountid": {
  18024. "description": "买方账号ID[报价币种]",
  18025. "type": "integer"
  18026. },
  18027. "buyorderid": {
  18028. "description": "买方委托单号",
  18029. "type": "string"
  18030. },
  18031. "createtime": {
  18032. "description": "创建时间",
  18033. "type": "string"
  18034. },
  18035. "currencysign": {
  18036. "description": "货币符号",
  18037. "type": "string"
  18038. },
  18039. "decimalplace": {
  18040. "description": "报价小数位",
  18041. "type": "integer"
  18042. },
  18043. "goodscode": {
  18044. "description": "商品代码(内部)",
  18045. "type": "string"
  18046. },
  18047. "goodsid": {
  18048. "description": "商品ID",
  18049. "type": "integer"
  18050. },
  18051. "goodsname": {
  18052. "description": "商品名称",
  18053. "type": "string"
  18054. },
  18055. "marketid": {
  18056. "description": "市场ID",
  18057. "type": "integer"
  18058. },
  18059. "offamount": {
  18060. "description": "优惠金额",
  18061. "type": "number"
  18062. },
  18063. "originalamount": {
  18064. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18065. "type": "number"
  18066. },
  18067. "payamount": {
  18068. "description": "支付金额 = TradeAmount + TradeCharge",
  18069. "type": "number"
  18070. },
  18071. "payflag": {
  18072. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18073. "type": "integer"
  18074. },
  18075. "paylimitedtime": {
  18076. "description": "支付期限",
  18077. "type": "string"
  18078. },
  18079. "paytime": {
  18080. "description": "付款时间",
  18081. "type": "string"
  18082. },
  18083. "picurls1": {
  18084. "description": "预售商品介绍图片[多张用逗号分隔]",
  18085. "type": "string"
  18086. },
  18087. "picurls2": {
  18088. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18089. "type": "string"
  18090. },
  18091. "sellaccountid": {
  18092. "description": "卖方账号ID[报价币种]",
  18093. "type": "integer"
  18094. },
  18095. "sellorderid": {
  18096. "description": "卖方委托单号",
  18097. "type": "string"
  18098. },
  18099. "tradeamount": {
  18100. "description": "成交金额",
  18101. "type": "number"
  18102. },
  18103. "tradecharge": {
  18104. "description": "成交手续费(买方)",
  18105. "type": "number"
  18106. },
  18107. "tradedate": {
  18108. "description": "交易日(yyyyMMdd)",
  18109. "type": "string"
  18110. },
  18111. "tradeid": {
  18112. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18113. "type": "string"
  18114. },
  18115. "trademode": {
  18116. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18117. "type": "integer"
  18118. },
  18119. "tradeprice": {
  18120. "description": "成交价格",
  18121. "type": "number"
  18122. },
  18123. "tradeqty": {
  18124. "description": "成交数量",
  18125. "type": "integer"
  18126. },
  18127. "vendorname1": {
  18128. "description": "预售商品供应商名称",
  18129. "type": "string"
  18130. },
  18131. "vendorname2": {
  18132. "description": "挂牌商品供应商名称",
  18133. "type": "string"
  18134. }
  18135. }
  18136. },
  18137. "models.HsbyBuyMyTradeDetail": {
  18138. "type": "object",
  18139. "required": [
  18140. "accountid",
  18141. "buyorsell",
  18142. "goodscode",
  18143. "goodsid",
  18144. "goodsname",
  18145. "marketid",
  18146. "orderid",
  18147. "qty",
  18148. "time",
  18149. "trademode"
  18150. ],
  18151. "properties": {
  18152. "accountid": {
  18153. "description": "账户ID[报价币种]",
  18154. "type": "integer"
  18155. },
  18156. "agreeunit": {
  18157. "description": "合约单位",
  18158. "type": "number"
  18159. },
  18160. "amount": {
  18161. "description": "金额 = 价格 * 数量 * 合约单位",
  18162. "type": "number"
  18163. },
  18164. "buyorsell": {
  18165. "description": "买卖 - 0:买 1:卖",
  18166. "type": "integer"
  18167. },
  18168. "currencysign": {
  18169. "description": "货币符号",
  18170. "type": "string"
  18171. },
  18172. "decimalplace": {
  18173. "description": "报价小数位",
  18174. "type": "integer"
  18175. },
  18176. "goodscode": {
  18177. "description": "商品代码(内部)",
  18178. "type": "string"
  18179. },
  18180. "goodsid": {
  18181. "description": "商品ID",
  18182. "type": "integer"
  18183. },
  18184. "goodsname": {
  18185. "description": "商品名称",
  18186. "type": "string"
  18187. },
  18188. "marketid": {
  18189. "description": "市场ID",
  18190. "type": "integer"
  18191. },
  18192. "orderamount": {
  18193. "description": "委托金额",
  18194. "type": "number"
  18195. },
  18196. "orderid": {
  18197. "description": "单号(成交单号)",
  18198. "type": "string"
  18199. },
  18200. "picurls1": {
  18201. "description": "预售商品介绍图片[多张用逗号分隔]",
  18202. "type": "string"
  18203. },
  18204. "picurls2": {
  18205. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18206. "type": "string"
  18207. },
  18208. "price": {
  18209. "description": "价格",
  18210. "type": "number"
  18211. },
  18212. "qty": {
  18213. "description": "数量",
  18214. "type": "integer"
  18215. },
  18216. "time": {
  18217. "description": "时间",
  18218. "type": "string"
  18219. },
  18220. "trademode": {
  18221. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18222. "type": "integer"
  18223. },
  18224. "vendorname1": {
  18225. "description": "预售商品供应商名称",
  18226. "type": "string"
  18227. },
  18228. "vendorname2": {
  18229. "description": "挂牌商品供应商名称",
  18230. "type": "string"
  18231. }
  18232. }
  18233. },
  18234. "models.HsbyGoodsOrderDetail": {
  18235. "type": "object",
  18236. "required": [
  18237. "buyorsell",
  18238. "orderid",
  18239. "ordertime"
  18240. ],
  18241. "properties": {
  18242. "buyorsell": {
  18243. "description": "买卖 - 0:买 1:卖",
  18244. "type": "integer"
  18245. },
  18246. "currencysign": {
  18247. "description": "货币符号",
  18248. "type": "string"
  18249. },
  18250. "customername": {
  18251. "description": "客户名称(企业名称),已脱敏",
  18252. "type": "string"
  18253. },
  18254. "enableqty": {
  18255. "description": "可用数量",
  18256. "type": "integer"
  18257. },
  18258. "goodunit": {
  18259. "description": "报价单位",
  18260. "type": "string"
  18261. },
  18262. "orderid": {
  18263. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18264. "type": "string"
  18265. },
  18266. "orderprice": {
  18267. "description": "委托价格",
  18268. "type": "number"
  18269. },
  18270. "ordertime": {
  18271. "description": "委托时间",
  18272. "type": "string"
  18273. }
  18274. }
  18275. },
  18276. "models.HsbyListingGoodsDetail": {
  18277. "type": "object",
  18278. "required": [
  18279. "goodscode",
  18280. "goodsid",
  18281. "goodsname",
  18282. "marketid",
  18283. "trademode"
  18284. ],
  18285. "properties": {
  18286. "agreeunit": {
  18287. "description": "合约单位",
  18288. "type": "number"
  18289. },
  18290. "buymaxqty": {
  18291. "description": "购买上限 [71] - 0为不限",
  18292. "type": "integer"
  18293. },
  18294. "currency": {
  18295. "description": "货币",
  18296. "type": "string"
  18297. },
  18298. "currencysign": {
  18299. "description": "货币符号",
  18300. "type": "string"
  18301. },
  18302. "decimalplace": {
  18303. "description": "报价小数位",
  18304. "type": "integer"
  18305. },
  18306. "desccityid": {
  18307. "description": "目的地(市)ID",
  18308. "type": "integer"
  18309. },
  18310. "descprovinceid": {
  18311. "description": "目的地(省)ID",
  18312. "type": "integer"
  18313. },
  18314. "goodscode": {
  18315. "description": "商品代码(内部)",
  18316. "type": "string"
  18317. },
  18318. "goodsdesc": {
  18319. "description": "商品详情",
  18320. "type": "string"
  18321. },
  18322. "goodsid": {
  18323. "description": "商品ID(自增ID SEQ_GOODS)",
  18324. "type": "integer"
  18325. },
  18326. "goodsname": {
  18327. "description": "商品名称",
  18328. "type": "string"
  18329. },
  18330. "goodsprice": {
  18331. "description": "商品价格",
  18332. "type": "number"
  18333. },
  18334. "hotindex": {
  18335. "description": "景点热度",
  18336. "type": "integer"
  18337. },
  18338. "last": {
  18339. "description": "现价",
  18340. "type": "number"
  18341. },
  18342. "limitdown": {
  18343. "description": "跌停价",
  18344. "type": "number"
  18345. },
  18346. "limitup": {
  18347. "description": "涨停价",
  18348. "type": "number"
  18349. },
  18350. "lotsize": {
  18351. "description": "手数最小变动单位",
  18352. "type": "integer"
  18353. },
  18354. "marketid": {
  18355. "description": "所属市场ID",
  18356. "type": "integer"
  18357. },
  18358. "picurls": {
  18359. "description": "介绍图片[多张用逗号分隔]",
  18360. "type": "string"
  18361. },
  18362. "quoteminunit": {
  18363. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18364. "type": "integer"
  18365. },
  18366. "stepvalue": {
  18367. "description": "价格最小变动单位",
  18368. "type": "number"
  18369. },
  18370. "trademode": {
  18371. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18372. "type": "integer"
  18373. },
  18374. "vendorattr": {
  18375. "description": "供应商附件(多张,逗号分隔)",
  18376. "type": "string"
  18377. },
  18378. "vendorname": {
  18379. "description": "供应商名称",
  18380. "type": "string"
  18381. },
  18382. "vendorphone": {
  18383. "description": "供应商客服电话",
  18384. "type": "string"
  18385. },
  18386. "videourls": {
  18387. "description": "介绍视频[多张用逗号分隔]",
  18388. "type": "string"
  18389. }
  18390. }
  18391. },
  18392. "models.HsbyMarketGoods": {
  18393. "type": "object",
  18394. "required": [
  18395. "accountid",
  18396. "buyorsell",
  18397. "goodscode",
  18398. "goodsid",
  18399. "goodsname",
  18400. "marketid",
  18401. "orderid",
  18402. "trademode"
  18403. ],
  18404. "properties": {
  18405. "accountid": {
  18406. "description": "账户ID[报价币种]",
  18407. "type": "integer"
  18408. },
  18409. "agreeunit": {
  18410. "description": "合约单位",
  18411. "type": "number"
  18412. },
  18413. "buyorsell": {
  18414. "description": "买卖 - 0:买 1:卖",
  18415. "type": "integer"
  18416. },
  18417. "categoryid": {
  18418. "description": "类别ID(WRCATEGORY)",
  18419. "type": "integer"
  18420. },
  18421. "currency": {
  18422. "description": "货币",
  18423. "type": "string"
  18424. },
  18425. "currencysign": {
  18426. "description": "货币符号",
  18427. "type": "string"
  18428. },
  18429. "customername": {
  18430. "description": "卖家名称",
  18431. "type": "string"
  18432. },
  18433. "decimalplace": {
  18434. "description": "报价小数位",
  18435. "type": "integer"
  18436. },
  18437. "goodscode": {
  18438. "description": "商品代码(内部)",
  18439. "type": "string"
  18440. },
  18441. "goodsid": {
  18442. "description": "商品ID",
  18443. "type": "integer"
  18444. },
  18445. "goodsname": {
  18446. "description": "商品名称",
  18447. "type": "string"
  18448. },
  18449. "goodsprice": {
  18450. "description": "商品价格",
  18451. "type": "number"
  18452. },
  18453. "hascoupon": {
  18454. "description": "是否可用优惠卷",
  18455. "type": "boolean"
  18456. },
  18457. "hotindex": {
  18458. "description": "景点热度",
  18459. "type": "integer"
  18460. },
  18461. "marketid": {
  18462. "description": "市场ID",
  18463. "type": "integer"
  18464. },
  18465. "orderid": {
  18466. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18467. "type": "string"
  18468. },
  18469. "orderprice": {
  18470. "description": "委托价格",
  18471. "type": "number"
  18472. },
  18473. "orderstatus": {
  18474. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18475. "type": "integer"
  18476. },
  18477. "picurls": {
  18478. "description": "介绍图片[多张用逗号分隔]",
  18479. "type": "string"
  18480. },
  18481. "quoteminunit": {
  18482. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18483. "type": "integer"
  18484. },
  18485. "sellUserID": {
  18486. "description": "卖方UserID",
  18487. "type": "integer"
  18488. },
  18489. "trademode": {
  18490. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18491. "type": "integer"
  18492. },
  18493. "videourls": {
  18494. "description": "介绍视频[多张用逗号分隔]",
  18495. "type": "string"
  18496. }
  18497. }
  18498. },
  18499. "models.HsbyMarketGoodsDetail": {
  18500. "type": "object",
  18501. "required": [
  18502. "accountid",
  18503. "buyorsell",
  18504. "goodscode",
  18505. "goodsid",
  18506. "goodsname",
  18507. "marketid",
  18508. "orderid",
  18509. "orderqty",
  18510. "trademode"
  18511. ],
  18512. "properties": {
  18513. "accountid": {
  18514. "description": "账户ID[报价币种]",
  18515. "type": "integer"
  18516. },
  18517. "agreeunit": {
  18518. "description": "合约单位",
  18519. "type": "number"
  18520. },
  18521. "buymaxqty": {
  18522. "description": "购买上限 [71] - 0为不限",
  18523. "type": "integer"
  18524. },
  18525. "buyorsell": {
  18526. "description": "买卖 - 0:买 1:卖",
  18527. "type": "integer"
  18528. },
  18529. "cancelqty": {
  18530. "description": "撤单数量",
  18531. "type": "integer"
  18532. },
  18533. "categoryid": {
  18534. "description": "类别ID(WRCATEGORY)",
  18535. "type": "integer"
  18536. },
  18537. "currency": {
  18538. "description": "货币",
  18539. "type": "string"
  18540. },
  18541. "currencysign": {
  18542. "description": "货币符号",
  18543. "type": "string"
  18544. },
  18545. "customername": {
  18546. "description": "卖家名称",
  18547. "type": "string"
  18548. },
  18549. "decimalplace": {
  18550. "description": "报价小数位",
  18551. "type": "integer"
  18552. },
  18553. "goodscode": {
  18554. "description": "商品代码(内部)",
  18555. "type": "string"
  18556. },
  18557. "goodsdesc": {
  18558. "description": "商品详情",
  18559. "type": "string"
  18560. },
  18561. "goodsid": {
  18562. "description": "商品ID",
  18563. "type": "integer"
  18564. },
  18565. "goodsname": {
  18566. "description": "商品名称",
  18567. "type": "string"
  18568. },
  18569. "goodsprice": {
  18570. "description": "商品价格",
  18571. "type": "number"
  18572. },
  18573. "hotindex": {
  18574. "description": "景点热度",
  18575. "type": "integer"
  18576. },
  18577. "lotsize": {
  18578. "description": "手数最小变动单位",
  18579. "type": "integer"
  18580. },
  18581. "marketid": {
  18582. "description": "市场ID",
  18583. "type": "integer"
  18584. },
  18585. "orderid": {
  18586. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18587. "type": "string"
  18588. },
  18589. "orderprice": {
  18590. "description": "委托价格",
  18591. "type": "number"
  18592. },
  18593. "orderqty": {
  18594. "description": "委托数量",
  18595. "type": "integer"
  18596. },
  18597. "orderstatus": {
  18598. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18599. "type": "integer"
  18600. },
  18601. "picurls": {
  18602. "description": "介绍图片[多张用逗号分隔]",
  18603. "type": "string"
  18604. },
  18605. "quoteminunit": {
  18606. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18607. "type": "integer"
  18608. },
  18609. "sellUserID": {
  18610. "description": "卖方UserID",
  18611. "type": "integer"
  18612. },
  18613. "trademode": {
  18614. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18615. "type": "integer"
  18616. },
  18617. "tradeqty": {
  18618. "description": "成交数量",
  18619. "type": "integer"
  18620. },
  18621. "vendorattr": {
  18622. "description": "供应商附件(多张,逗号分隔)",
  18623. "type": "string"
  18624. },
  18625. "vendorname": {
  18626. "description": "供应商名称",
  18627. "type": "string"
  18628. },
  18629. "vendorphone": {
  18630. "description": "供应商客服电话",
  18631. "type": "string"
  18632. },
  18633. "videourls": {
  18634. "description": "介绍视频[多张用逗号分隔]",
  18635. "type": "string"
  18636. }
  18637. }
  18638. },
  18639. "models.HsbyMarketInfo": {
  18640. "type": "object",
  18641. "required": [
  18642. "marketid",
  18643. "marketstatus",
  18644. "trademode"
  18645. ],
  18646. "properties": {
  18647. "marketid": {
  18648. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18649. "type": "integer"
  18650. },
  18651. "marketname": {
  18652. "description": "市场名称",
  18653. "type": "string"
  18654. },
  18655. "marketstatus": {
  18656. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18657. "type": "integer"
  18658. },
  18659. "trademode": {
  18660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18661. "type": "integer"
  18662. }
  18663. }
  18664. },
  18665. "models.HsbyMyGoods": {
  18666. "type": "object",
  18667. "required": [
  18668. "accountid",
  18669. "goodscode",
  18670. "goodsid",
  18671. "goodsname",
  18672. "marketid",
  18673. "trademode"
  18674. ],
  18675. "properties": {
  18676. "accountid": {
  18677. "description": "账号Id",
  18678. "type": "integer"
  18679. },
  18680. "agreeunit": {
  18681. "description": "合约单位",
  18682. "type": "number"
  18683. },
  18684. "buyaverageprice": {
  18685. "description": "持仓均价",
  18686. "type": "number"
  18687. },
  18688. "buycurholderamount": {
  18689. "description": "买当前持仓总金额[商品币种]",
  18690. "type": "number"
  18691. },
  18692. "buycurpositionqty": {
  18693. "description": "买当前持仓总数量",
  18694. "type": "integer"
  18695. },
  18696. "buymaxqty": {
  18697. "description": "购买上限 [71] - 0为不限",
  18698. "type": "integer"
  18699. },
  18700. "currencysign": {
  18701. "description": "货币符号",
  18702. "type": "string"
  18703. },
  18704. "decimalplace": {
  18705. "description": "报价小数位",
  18706. "type": "integer"
  18707. },
  18708. "enableqty": {
  18709. "description": "可用数量",
  18710. "type": "integer"
  18711. },
  18712. "goodscode": {
  18713. "description": "商品代码(内部)",
  18714. "type": "string"
  18715. },
  18716. "goodsid": {
  18717. "description": "商品Id",
  18718. "type": "integer"
  18719. },
  18720. "goodsname": {
  18721. "description": "商品名称",
  18722. "type": "string"
  18723. },
  18724. "goodsprice": {
  18725. "description": "商品价格",
  18726. "type": "number"
  18727. },
  18728. "goodsstatus": {
  18729. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18730. "type": "integer"
  18731. },
  18732. "last": {
  18733. "description": "现价(仅使用于挂牌点选)",
  18734. "type": "number"
  18735. },
  18736. "limitdown": {
  18737. "description": "跌停价(仅使用于挂牌点选)",
  18738. "type": "number"
  18739. },
  18740. "limitup": {
  18741. "description": "涨停价(仅使用于挂牌点选)",
  18742. "type": "number"
  18743. },
  18744. "lotsize": {
  18745. "description": "手数最小变动单位",
  18746. "type": "integer"
  18747. },
  18748. "marketid": {
  18749. "description": "所属市场ID",
  18750. "type": "integer"
  18751. },
  18752. "picurls": {
  18753. "description": "介绍图片[多张用逗号分隔]",
  18754. "type": "string"
  18755. },
  18756. "quoteminunit": {
  18757. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18758. "type": "integer"
  18759. },
  18760. "stepvalue": {
  18761. "description": "价格最小变动单位",
  18762. "type": "number"
  18763. },
  18764. "trademode": {
  18765. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18766. "type": "integer"
  18767. }
  18768. }
  18769. },
  18770. "models.HsbyMyPackage": {
  18771. "type": "object",
  18772. "required": [
  18773. "goodscode",
  18774. "goodsname",
  18775. "takeorderid",
  18776. "trademode"
  18777. ],
  18778. "properties": {
  18779. "accountid": {
  18780. "description": "账户ID",
  18781. "type": "integer"
  18782. },
  18783. "address": {
  18784. "description": "提货人详细地址",
  18785. "type": "string"
  18786. },
  18787. "agreeunit": {
  18788. "description": "合约单位",
  18789. "type": "number"
  18790. },
  18791. "amount": {
  18792. "description": "提货金额",
  18793. "type": "number"
  18794. },
  18795. "auditer": {
  18796. "description": "审核人",
  18797. "type": "integer"
  18798. },
  18799. "audittime": {
  18800. "description": "审核时间",
  18801. "type": "string"
  18802. },
  18803. "averageprice": {
  18804. "description": "均价",
  18805. "type": "number"
  18806. },
  18807. "cardnum": {
  18808. "description": "提货人证件号码",
  18809. "type": "string"
  18810. },
  18811. "cardtypeid": {
  18812. "description": "提货人证件类型",
  18813. "type": "integer"
  18814. },
  18815. "checkremark": {
  18816. "description": "审核备注",
  18817. "type": "string"
  18818. },
  18819. "currencysign": {
  18820. "description": "货币符号",
  18821. "type": "string"
  18822. },
  18823. "decimalplace": {
  18824. "description": "报价小数位",
  18825. "type": "integer"
  18826. },
  18827. "goodscode": {
  18828. "description": "商品代码(内部)",
  18829. "type": "string"
  18830. },
  18831. "goodsid": {
  18832. "description": "商品ID",
  18833. "type": "integer"
  18834. },
  18835. "goodsname": {
  18836. "description": "商品名称",
  18837. "type": "string"
  18838. },
  18839. "handlestatus": {
  18840. "description": "处理状态",
  18841. "type": "integer"
  18842. },
  18843. "marketid": {
  18844. "description": "市场ID",
  18845. "type": "integer"
  18846. },
  18847. "phonenum": {
  18848. "description": "提货人联系方式",
  18849. "type": "string"
  18850. },
  18851. "picurls": {
  18852. "description": "介绍图片[多张用逗号分隔]",
  18853. "type": "string"
  18854. },
  18855. "qty": {
  18856. "description": "提货数量",
  18857. "type": "number"
  18858. },
  18859. "recivername": {
  18860. "description": "提货人姓名",
  18861. "type": "string"
  18862. },
  18863. "reqtime": {
  18864. "description": "更新时间",
  18865. "type": "string"
  18866. },
  18867. "takemode": {
  18868. "description": "提货方式 - 2:自提 3:配送",
  18869. "type": "integer"
  18870. },
  18871. "takeorderid": {
  18872. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18873. "type": "string"
  18874. },
  18875. "takeorderstatus": {
  18876. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18877. "type": "integer"
  18878. },
  18879. "takeremark": {
  18880. "description": "提货备注",
  18881. "type": "string"
  18882. },
  18883. "tradedate": {
  18884. "description": "交易日(yyyyMMdd)",
  18885. "type": "string"
  18886. },
  18887. "trademode": {
  18888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18889. "type": "integer"
  18890. },
  18891. "userid": {
  18892. "description": "用户ID",
  18893. "type": "integer"
  18894. },
  18895. "vendorname": {
  18896. "description": "供应商名称",
  18897. "type": "string"
  18898. }
  18899. }
  18900. },
  18901. "models.HsbyPreGoods": {
  18902. "type": "object",
  18903. "required": [
  18904. "goodscode",
  18905. "goodsid",
  18906. "goodsname",
  18907. "marketid",
  18908. "trademode"
  18909. ],
  18910. "properties": {
  18911. "agreeunit": {
  18912. "description": "合约单位",
  18913. "type": "number"
  18914. },
  18915. "currency": {
  18916. "description": "货币",
  18917. "type": "string"
  18918. },
  18919. "currencysign": {
  18920. "description": "货币符号",
  18921. "type": "string"
  18922. },
  18923. "decimalplace": {
  18924. "description": "报价小数位",
  18925. "type": "integer"
  18926. },
  18927. "desccityid": {
  18928. "description": "目的地(市)",
  18929. "type": "integer"
  18930. },
  18931. "descprovinceid": {
  18932. "description": "目的地(省)",
  18933. "type": "integer"
  18934. },
  18935. "enableqty": {
  18936. "description": "剩余数量",
  18937. "type": "integer"
  18938. },
  18939. "goodscode": {
  18940. "description": "商品代码(内部)",
  18941. "type": "string"
  18942. },
  18943. "goodsid": {
  18944. "description": "商品ID(自增ID SEQ_GOODS)",
  18945. "type": "integer"
  18946. },
  18947. "goodsname": {
  18948. "description": "商品名称",
  18949. "type": "string"
  18950. },
  18951. "goodsstatus": {
  18952. "description": "商品状态- 2:未上市 3:上市",
  18953. "type": "integer"
  18954. },
  18955. "lasttradedate": {
  18956. "description": "最后交易日期(状态:待退市)",
  18957. "type": "string"
  18958. },
  18959. "listingdate": {
  18960. "description": "交易开始日期",
  18961. "type": "string"
  18962. },
  18963. "marketid": {
  18964. "description": "所属市场ID",
  18965. "type": "integer"
  18966. },
  18967. "picurls": {
  18968. "description": "介绍图片[多张用逗号分隔]",
  18969. "type": "string"
  18970. },
  18971. "presaledqty": {
  18972. "description": "已预售量(预售结束时更新)",
  18973. "type": "integer"
  18974. },
  18975. "presaleqty": {
  18976. "description": "预售数量",
  18977. "type": "integer"
  18978. },
  18979. "quoteminunit": {
  18980. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18981. "type": "integer"
  18982. },
  18983. "refprice": {
  18984. "description": "参考价格[一口价]",
  18985. "type": "number"
  18986. },
  18987. "relatedgoodsid": {
  18988. "description": "关联交易合约ID",
  18989. "type": "integer"
  18990. },
  18991. "trademode": {
  18992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18993. "type": "integer"
  18994. },
  18995. "videourls": {
  18996. "description": "介绍视频[多张用逗号分隔]",
  18997. "type": "string"
  18998. }
  18999. }
  19000. },
  19001. "models.HsbyPreGoodsDetail": {
  19002. "type": "object",
  19003. "required": [
  19004. "goodscode",
  19005. "goodsid",
  19006. "goodsname",
  19007. "marketid",
  19008. "trademode"
  19009. ],
  19010. "properties": {
  19011. "agreeunit": {
  19012. "description": "合约单位",
  19013. "type": "number"
  19014. },
  19015. "buymaxqty": {
  19016. "description": "购买上限 [71] - 0为不限",
  19017. "type": "integer"
  19018. },
  19019. "currency": {
  19020. "description": "货币",
  19021. "type": "string"
  19022. },
  19023. "currencysign": {
  19024. "description": "货币符号",
  19025. "type": "string"
  19026. },
  19027. "customername": {
  19028. "description": "发行单位",
  19029. "type": "string"
  19030. },
  19031. "decimalplace": {
  19032. "description": "报价小数位",
  19033. "type": "integer"
  19034. },
  19035. "desccityid": {
  19036. "description": "目的地(市)ID",
  19037. "type": "integer"
  19038. },
  19039. "descprovinceid": {
  19040. "description": "目的地(省)ID",
  19041. "type": "integer"
  19042. },
  19043. "enableqty": {
  19044. "description": "剩余数量",
  19045. "type": "integer"
  19046. },
  19047. "goodscode": {
  19048. "description": "商品代码(内部)",
  19049. "type": "string"
  19050. },
  19051. "goodsdesc": {
  19052. "description": "商品详情",
  19053. "type": "string"
  19054. },
  19055. "goodsid": {
  19056. "description": "商品ID(自增ID SEQ_GOODS)",
  19057. "type": "integer"
  19058. },
  19059. "goodsname": {
  19060. "description": "商品名称",
  19061. "type": "string"
  19062. },
  19063. "goodsstatus": {
  19064. "description": "商品状态- 2:未上市 3:上市",
  19065. "type": "integer"
  19066. },
  19067. "goodunit": {
  19068. "description": "报价单位",
  19069. "type": "string"
  19070. },
  19071. "lasttradedate": {
  19072. "description": "最后交易日期(状态:待退市)",
  19073. "type": "string"
  19074. },
  19075. "listingdate": {
  19076. "description": "交易开始日期",
  19077. "type": "string"
  19078. },
  19079. "lotsize": {
  19080. "description": "手数最小变动单位",
  19081. "type": "integer"
  19082. },
  19083. "marketid": {
  19084. "description": "所属市场ID",
  19085. "type": "integer"
  19086. },
  19087. "picurls": {
  19088. "description": "介绍图片[多张用逗号分隔]",
  19089. "type": "string"
  19090. },
  19091. "presaledqty": {
  19092. "description": "已预售量(预售结束时更新)",
  19093. "type": "integer"
  19094. },
  19095. "presaleqty": {
  19096. "description": "预售数量",
  19097. "type": "integer"
  19098. },
  19099. "quoteminunit": {
  19100. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19101. "type": "integer"
  19102. },
  19103. "refprice": {
  19104. "description": "参考价格[一口价]",
  19105. "type": "number"
  19106. },
  19107. "relatedgoodsid": {
  19108. "description": "关联交易合约ID",
  19109. "type": "integer"
  19110. },
  19111. "stepvalue": {
  19112. "description": "价格最小变动单位",
  19113. "type": "number"
  19114. },
  19115. "trademode": {
  19116. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19117. "type": "integer"
  19118. },
  19119. "vendorattr": {
  19120. "description": "供应商附件(多张,逗号分隔)",
  19121. "type": "string"
  19122. },
  19123. "vendorname": {
  19124. "description": "供应商名称",
  19125. "type": "string"
  19126. },
  19127. "vendorphone": {
  19128. "description": "供应商客服电话",
  19129. "type": "string"
  19130. },
  19131. "videourls": {
  19132. "description": "介绍视频[多张用逗号分隔]",
  19133. "type": "string"
  19134. }
  19135. }
  19136. },
  19137. "models.HsbySellCollectionOrder": {
  19138. "type": "object",
  19139. "required": [
  19140. "goodscode",
  19141. "goodsname",
  19142. "tradeid",
  19143. "trademode"
  19144. ],
  19145. "properties": {
  19146. "agreeunit": {
  19147. "description": "合约单位",
  19148. "type": "number"
  19149. },
  19150. "buyaccountid": {
  19151. "description": "买方账号ID[报价币种]",
  19152. "type": "integer"
  19153. },
  19154. "buyorderid": {
  19155. "description": "买方委托单号",
  19156. "type": "string"
  19157. },
  19158. "createtime": {
  19159. "description": "创建时间",
  19160. "type": "string"
  19161. },
  19162. "currencysign": {
  19163. "description": "货币符号",
  19164. "type": "string"
  19165. },
  19166. "decimalplace": {
  19167. "description": "报价小数位",
  19168. "type": "integer"
  19169. },
  19170. "goodscode": {
  19171. "description": "商品代码(内部)",
  19172. "type": "string"
  19173. },
  19174. "goodsid": {
  19175. "description": "商品ID",
  19176. "type": "integer"
  19177. },
  19178. "goodsname": {
  19179. "description": "商品名称",
  19180. "type": "string"
  19181. },
  19182. "marketid": {
  19183. "description": "市场ID",
  19184. "type": "integer"
  19185. },
  19186. "offamount": {
  19187. "description": "优惠金额",
  19188. "type": "number"
  19189. },
  19190. "payamount": {
  19191. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19192. "type": "number"
  19193. },
  19194. "payflag": {
  19195. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19196. "type": "integer"
  19197. },
  19198. "paylimitedtime": {
  19199. "description": "支付期限",
  19200. "type": "string"
  19201. },
  19202. "paytime": {
  19203. "description": "付款时间",
  19204. "type": "string"
  19205. },
  19206. "picurls": {
  19207. "description": "商品介绍图片[多张用逗号分隔]",
  19208. "type": "string"
  19209. },
  19210. "sellaccountid": {
  19211. "description": "卖方账号ID[报价币种]",
  19212. "type": "integer"
  19213. },
  19214. "sellorderid": {
  19215. "description": "卖方委托单号",
  19216. "type": "string"
  19217. },
  19218. "tradeamount": {
  19219. "description": "成交金额",
  19220. "type": "number"
  19221. },
  19222. "tradecharge": {
  19223. "description": "成交手续费(买方)",
  19224. "type": "number"
  19225. },
  19226. "tradedate": {
  19227. "description": "交易日(yyyyMMdd)",
  19228. "type": "string"
  19229. },
  19230. "tradeid": {
  19231. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19232. "type": "string"
  19233. },
  19234. "trademode": {
  19235. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19236. "type": "integer"
  19237. },
  19238. "tradeprice": {
  19239. "description": "成交价格",
  19240. "type": "number"
  19241. },
  19242. "tradeqty": {
  19243. "description": "成交数量",
  19244. "type": "integer"
  19245. }
  19246. }
  19247. },
  19248. "models.HsbySellMyDetail": {
  19249. "type": "object",
  19250. "required": [
  19251. "accountid",
  19252. "buyorsell",
  19253. "goodscode",
  19254. "goodsid",
  19255. "goodsname",
  19256. "marketid",
  19257. "orderid",
  19258. "time",
  19259. "trademode"
  19260. ],
  19261. "properties": {
  19262. "accountid": {
  19263. "description": "账户ID[报价币种]",
  19264. "type": "integer"
  19265. },
  19266. "agreeunit": {
  19267. "description": "合约单位",
  19268. "type": "number"
  19269. },
  19270. "buyorsell": {
  19271. "description": "买卖 - 0:买 1:卖",
  19272. "type": "integer"
  19273. },
  19274. "currencysign": {
  19275. "description": "货币符号",
  19276. "type": "string"
  19277. },
  19278. "decimalplace": {
  19279. "description": "报价小数位",
  19280. "type": "integer"
  19281. },
  19282. "goodscode": {
  19283. "description": "商品代码(内部)",
  19284. "type": "string"
  19285. },
  19286. "goodsid": {
  19287. "description": "商品ID",
  19288. "type": "integer"
  19289. },
  19290. "goodsname": {
  19291. "description": "商品名称",
  19292. "type": "string"
  19293. },
  19294. "marketid": {
  19295. "description": "市场ID",
  19296. "type": "integer"
  19297. },
  19298. "orderid": {
  19299. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19300. "type": "string"
  19301. },
  19302. "ordertype": {
  19303. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19304. "type": "integer"
  19305. },
  19306. "picurls": {
  19307. "description": "介绍图片[多张用逗号分隔]",
  19308. "type": "string"
  19309. },
  19310. "price": {
  19311. "description": "价格",
  19312. "type": "number"
  19313. },
  19314. "qty": {
  19315. "description": "数量",
  19316. "type": "integer"
  19317. },
  19318. "time": {
  19319. "description": "时间",
  19320. "type": "string"
  19321. },
  19322. "trademode": {
  19323. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19324. "type": "integer"
  19325. },
  19326. "vendorname": {
  19327. "description": "供应商名称",
  19328. "type": "string"
  19329. }
  19330. }
  19331. },
  19332. "models.HsbyTopGoods": {
  19333. "type": "object",
  19334. "required": [
  19335. "goodscode",
  19336. "goodsid",
  19337. "goodsname",
  19338. "marketid",
  19339. "trademode"
  19340. ],
  19341. "properties": {
  19342. "agreeunit": {
  19343. "description": "合约单位",
  19344. "type": "number"
  19345. },
  19346. "currency": {
  19347. "description": "货币",
  19348. "type": "string"
  19349. },
  19350. "currencysign": {
  19351. "description": "货币符号",
  19352. "type": "string"
  19353. },
  19354. "decimalplace": {
  19355. "description": "报价小数位",
  19356. "type": "integer"
  19357. },
  19358. "desccityid": {
  19359. "description": "目的地(市)",
  19360. "type": "integer"
  19361. },
  19362. "descprovinceid": {
  19363. "description": "目的地(省)",
  19364. "type": "integer"
  19365. },
  19366. "goodscode": {
  19367. "description": "商品代码(内部)",
  19368. "type": "string"
  19369. },
  19370. "goodsid": {
  19371. "description": "商品ID(自增ID SEQ_GOODS)",
  19372. "type": "integer"
  19373. },
  19374. "goodsname": {
  19375. "description": "商品名称",
  19376. "type": "string"
  19377. },
  19378. "hotindex": {
  19379. "description": "景点热度",
  19380. "type": "integer"
  19381. },
  19382. "last": {
  19383. "description": "现价",
  19384. "type": "number"
  19385. },
  19386. "marketid": {
  19387. "description": "所属市场ID",
  19388. "type": "integer"
  19389. },
  19390. "picurls": {
  19391. "description": "介绍图片[多张用逗号分隔]",
  19392. "type": "string"
  19393. },
  19394. "quoteminunit": {
  19395. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19396. "type": "integer"
  19397. },
  19398. "trademode": {
  19399. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19400. "type": "integer"
  19401. },
  19402. "videourls": {
  19403. "description": "介绍视频[多张用逗号分隔]",
  19404. "type": "string"
  19405. }
  19406. }
  19407. },
  19408. "models.HybsMyBuyOrderDetail": {
  19409. "type": "object",
  19410. "required": [
  19411. "accountid",
  19412. "buyorsell",
  19413. "goodscode",
  19414. "goodsid",
  19415. "goodsname",
  19416. "marketid",
  19417. "orderid",
  19418. "orderqty",
  19419. "ordertime",
  19420. "trademode"
  19421. ],
  19422. "properties": {
  19423. "accountid": {
  19424. "description": "账户ID[报价币种]",
  19425. "type": "integer"
  19426. },
  19427. "agreeunit": {
  19428. "description": "合约单位",
  19429. "type": "number"
  19430. },
  19431. "buyorsell": {
  19432. "description": "买卖 - 0:买 1:卖",
  19433. "type": "integer"
  19434. },
  19435. "cancelqty": {
  19436. "description": "撤单数量",
  19437. "type": "integer"
  19438. },
  19439. "currencysign": {
  19440. "description": "货币符号",
  19441. "type": "string"
  19442. },
  19443. "decimalplace": {
  19444. "description": "报价小数位",
  19445. "type": "integer"
  19446. },
  19447. "goodscode": {
  19448. "description": "商品代码(内部)",
  19449. "type": "string"
  19450. },
  19451. "goodsid": {
  19452. "description": "商品ID",
  19453. "type": "integer"
  19454. },
  19455. "goodsname": {
  19456. "description": "商品名称",
  19457. "type": "string"
  19458. },
  19459. "listingselecttype": {
  19460. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19461. "type": "integer"
  19462. },
  19463. "marketid": {
  19464. "description": "市场ID",
  19465. "type": "integer"
  19466. },
  19467. "mybuystatus": {
  19468. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19469. "type": "integer"
  19470. },
  19471. "orderamount": {
  19472. "description": "委托金额",
  19473. "type": "number"
  19474. },
  19475. "orderid": {
  19476. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19477. "type": "string"
  19478. },
  19479. "orderprice": {
  19480. "description": "委托价格",
  19481. "type": "number"
  19482. },
  19483. "orderqty": {
  19484. "description": "委托数量",
  19485. "type": "integer"
  19486. },
  19487. "orderstatus": {
  19488. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19489. "type": "integer"
  19490. },
  19491. "ordertime": {
  19492. "description": "委托时间",
  19493. "type": "string"
  19494. },
  19495. "picurls1": {
  19496. "description": "预售商品介绍图片[多张用逗号分隔]",
  19497. "type": "string"
  19498. },
  19499. "picurls2": {
  19500. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19501. "type": "string"
  19502. },
  19503. "trademode": {
  19504. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19505. "type": "integer"
  19506. },
  19507. "tradeqty": {
  19508. "description": "成交数量",
  19509. "type": "integer"
  19510. },
  19511. "vendorname1": {
  19512. "description": "预售商品供应商名称",
  19513. "type": "string"
  19514. },
  19515. "vendorname2": {
  19516. "description": "挂牌商品供应商名称",
  19517. "type": "string"
  19518. }
  19519. }
  19520. },
  19521. "models.Loginaccount": {
  19522. "type": "object",
  19523. "required": [
  19524. "loginid"
  19525. ],
  19526. "properties": {
  19527. "canoutin": {
  19528. "description": "是否可出入金 - 0:不可 1:可",
  19529. "type": "integer"
  19530. },
  19531. "clientroleid": {
  19532. "description": "终端角色ID",
  19533. "type": "integer"
  19534. },
  19535. "haslogined": {
  19536. "description": "是否已登录 - 0:未登录 1:已登录",
  19537. "type": "integer"
  19538. },
  19539. "hasupdatedpwd": {
  19540. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19541. "type": "integer"
  19542. },
  19543. "lastloginip": {
  19544. "description": "最新登录地址",
  19545. "type": "string"
  19546. },
  19547. "lastloginmode": {
  19548. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19549. "type": "integer"
  19550. },
  19551. "lastloginremark": {
  19552. "description": "最新登录描述",
  19553. "type": "string"
  19554. },
  19555. "lastlogintime": {
  19556. "description": "最新登录时间",
  19557. "type": "string"
  19558. },
  19559. "logincode": {
  19560. "description": "登录代码",
  19561. "type": "string"
  19562. },
  19563. "loginfailnum": {
  19564. "description": "连续登录失败次数(登录成功时清零)",
  19565. "type": "integer"
  19566. },
  19567. "loginid": {
  19568. "description": "登陆账号",
  19569. "type": "integer"
  19570. },
  19571. "loginport": {
  19572. "description": "最新登录端口",
  19573. "type": "integer"
  19574. },
  19575. "loginstatus": {
  19576. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19577. "type": "integer"
  19578. },
  19579. "loginusertype": {
  19580. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19581. "type": "integer"
  19582. },
  19583. "modifierid": {
  19584. "description": "修改人",
  19585. "type": "integer"
  19586. },
  19587. "modifytime": {
  19588. "description": "修改时间",
  19589. "type": "string"
  19590. },
  19591. "pwdwrongcount": {
  19592. "description": "密码错误次数",
  19593. "type": "integer"
  19594. },
  19595. "taaccountrighttype": {
  19596. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19597. "type": "integer"
  19598. },
  19599. "unfreezetime": {
  19600. "description": "账户解冻时间",
  19601. "type": "string"
  19602. },
  19603. "userid": {
  19604. "description": "用户ID",
  19605. "type": "integer"
  19606. }
  19607. }
  19608. },
  19609. "models.MainAccountInfo": {
  19610. "type": "object",
  19611. "properties": {
  19612. "accountid": {
  19613. "description": "账号id",
  19614. "type": "integer"
  19615. },
  19616. "accountname": {
  19617. "description": "账号名称(taaccount表中的名称)",
  19618. "type": "string"
  19619. },
  19620. "appid": {
  19621. "description": "AppID",
  19622. "type": "string"
  19623. },
  19624. "authcode": {
  19625. "description": "授权码",
  19626. "type": "string"
  19627. },
  19628. "brokerid": {
  19629. "description": "经纪商id",
  19630. "type": "string"
  19631. },
  19632. "fcid": {
  19633. "description": "期货公司id",
  19634. "type": "integer"
  19635. },
  19636. "fcname": {
  19637. "description": "期货公司代码",
  19638. "type": "string"
  19639. },
  19640. "hedgeaccountcode": {
  19641. "description": "外部账号代码(主账号登录代码)",
  19642. "type": "string"
  19643. },
  19644. "hedgeaccountpwd": {
  19645. "description": "密码",
  19646. "type": "string"
  19647. },
  19648. "ismain": {
  19649. "description": "是否主账号",
  19650. "type": "integer"
  19651. },
  19652. "relateduserid": {
  19653. "description": "关联用户id",
  19654. "type": "integer"
  19655. },
  19656. "userid": {
  19657. "description": "关联用户id",
  19658. "type": "integer"
  19659. }
  19660. }
  19661. },
  19662. "models.Market": {
  19663. "type": "object",
  19664. "required": [
  19665. "marketid",
  19666. "marketstatus",
  19667. "openmethod",
  19668. "reckonpricealgorithm",
  19669. "trademode",
  19670. "tradeproperty"
  19671. ],
  19672. "properties": {
  19673. "auctionwrtype": {
  19674. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19675. "type": "integer"
  19676. },
  19677. "canacceptquote": {
  19678. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19679. "type": "integer"
  19680. },
  19681. "cangoodsexercise": {
  19682. "description": "[期权]是否可现货行权- 0:否 1:是",
  19683. "type": "integer"
  19684. },
  19685. "cangoodsexercisetype": {
  19686. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19687. "type": "integer"
  19688. },
  19689. "canmanualquotestrike": {
  19690. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19691. "type": "integer"
  19692. },
  19693. "canmutistage": {
  19694. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19695. "type": "integer"
  19696. },
  19697. "canpreexercise": {
  19698. "description": "[期权]是否可预申报- 0:否 1:是",
  19699. "type": "integer"
  19700. },
  19701. "clearinterval": {
  19702. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19703. "type": "integer"
  19704. },
  19705. "contracttmp": {
  19706. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19707. "type": "string"
  19708. },
  19709. "exchareaid": {
  19710. "description": "所属交易所,可以没有",
  19711. "type": "integer"
  19712. },
  19713. "goodstype": {
  19714. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19715. "type": "integer"
  19716. },
  19717. "hasrebate": {
  19718. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19719. "type": "integer"
  19720. },
  19721. "hastradecredit": {
  19722. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19723. "type": "integer"
  19724. },
  19725. "haswr": {
  19726. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19727. "type": "integer"
  19728. },
  19729. "isdeductmargin": {
  19730. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19731. "type": "integer"
  19732. },
  19733. "isrecordsource": {
  19734. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19735. "type": "integer"
  19736. },
  19737. "isreleasemargin": {
  19738. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19739. "type": "integer"
  19740. },
  19741. "marginformula": {
  19742. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19743. "type": "integer"
  19744. },
  19745. "marginformula2": {
  19746. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19747. "type": "integer"
  19748. },
  19749. "marketid": {
  19750. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19751. "type": "integer"
  19752. },
  19753. "marketname": {
  19754. "description": "市场名称",
  19755. "type": "string"
  19756. },
  19757. "marketserviceid": {
  19758. "description": "市场服务ID",
  19759. "type": "integer"
  19760. },
  19761. "marketstatus": {
  19762. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19763. "type": "integer"
  19764. },
  19765. "markettype": {
  19766. "description": "市场类型- 1:非交易服务 2:交易服务",
  19767. "type": "integer"
  19768. },
  19769. "matchermode": {
  19770. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19771. "type": "integer"
  19772. },
  19773. "openmethod": {
  19774. "description": "开盘模式 - 0 自动 1手动",
  19775. "type": "integer"
  19776. },
  19777. "otcuserid": {
  19778. "description": "场外期权做市商[场外期权]",
  19779. "type": "integer"
  19780. },
  19781. "outersynctime": {
  19782. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19783. "type": "string"
  19784. },
  19785. "pendingflag": {
  19786. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19787. "type": "integer"
  19788. },
  19789. "pendingtime": {
  19790. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19791. "type": "string"
  19792. },
  19793. "performancetempid": {
  19794. "description": "履约计划模板ID - 作废",
  19795. "type": "integer"
  19796. },
  19797. "premiumquotemode": {
  19798. "description": "权利金报价方式 - 1:自动 2:手动",
  19799. "type": "integer"
  19800. },
  19801. "rebateratio": {
  19802. "description": "返利比率[竞价式]",
  19803. "type": "number"
  19804. },
  19805. "reckonorder": {
  19806. "description": "结算顺序",
  19807. "type": "integer"
  19808. },
  19809. "reckonpricealgorithm": {
  19810. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19811. "type": "integer"
  19812. },
  19813. "reckonpriceparam": {
  19814. "description": "结算价参数",
  19815. "type": "integer"
  19816. },
  19817. "reckontime": {
  19818. "description": "结算时间[通道交易-对冲](HH:mm)",
  19819. "type": "string"
  19820. },
  19821. "roleprioritytype": {
  19822. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19823. "type": "integer"
  19824. },
  19825. "selllistingauditflag": {
  19826. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19827. "type": "integer"
  19828. },
  19829. "trademarkettype": {
  19830. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19831. "type": "integer"
  19832. },
  19833. "trademode": {
  19834. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19835. "type": "integer"
  19836. },
  19837. "tradeproperty": {
  19838. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19839. "type": "integer"
  19840. },
  19841. "tradetype": {
  19842. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19843. "type": "integer"
  19844. }
  19845. }
  19846. },
  19847. "models.Marketrun": {
  19848. "type": "object",
  19849. "required": [
  19850. "marketid",
  19851. "nexttradedate",
  19852. "reckonflag",
  19853. "runstatus",
  19854. "tradedate",
  19855. "tradedate2"
  19856. ],
  19857. "properties": {
  19858. "afternexttradedate": {
  19859. "description": "下下交易日",
  19860. "type": "string"
  19861. },
  19862. "clearquoteflag": {
  19863. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19864. "type": "integer"
  19865. },
  19866. "lastreckondate": {
  19867. "description": "最新交易日(结算成功)",
  19868. "type": "string"
  19869. },
  19870. "machinedate": {
  19871. "description": "机器时间",
  19872. "type": "string"
  19873. },
  19874. "manualflag": {
  19875. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19876. "type": "integer"
  19877. },
  19878. "marketid": {
  19879. "description": "市场ID",
  19880. "type": "integer"
  19881. },
  19882. "nexttradedate": {
  19883. "description": "下一交易日",
  19884. "type": "string"
  19885. },
  19886. "pretradedate": {
  19887. "description": "上一交易日",
  19888. "type": "string"
  19889. },
  19890. "reckonflag": {
  19891. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19892. "type": "integer"
  19893. },
  19894. "runstatus": {
  19895. "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.今日免清算",
  19896. "type": "integer"
  19897. },
  19898. "sectionid": {
  19899. "description": "时间段号[多时段时用]",
  19900. "type": "integer"
  19901. },
  19902. "tradedate": {
  19903. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19904. "type": "string"
  19905. },
  19906. "tradedate2": {
  19907. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19908. "type": "string"
  19909. },
  19910. "updatetime": {
  19911. "description": "更新时间",
  19912. "type": "string"
  19913. }
  19914. }
  19915. },
  19916. "models.Messageboard": {
  19917. "type": "object",
  19918. "required": [
  19919. "messageboardid"
  19920. ],
  19921. "properties": {
  19922. "contactnum": {
  19923. "description": "联系电话",
  19924. "type": "string"
  19925. },
  19926. "createtime": {
  19927. "description": "创建时间",
  19928. "type": "string"
  19929. },
  19930. "message": {
  19931. "description": "留言信息",
  19932. "type": "string"
  19933. },
  19934. "messageboardid": {
  19935. "description": "留言簿ID(SEQ_MessageBoard)",
  19936. "type": "integer"
  19937. },
  19938. "userid": {
  19939. "description": "用户ID",
  19940. "type": "integer"
  19941. }
  19942. }
  19943. },
  19944. "models.MyCoupon": {
  19945. "type": "object",
  19946. "required": [
  19947. "accountid",
  19948. "coupontypeid"
  19949. ],
  19950. "properties": {
  19951. "accountid": {
  19952. "description": "资金账户ID",
  19953. "type": "integer"
  19954. },
  19955. "areauserid": {
  19956. "description": "所属机构",
  19957. "type": "integer"
  19958. },
  19959. "conditionvalue": {
  19960. "description": "条件阈值(可为0)",
  19961. "type": "number"
  19962. },
  19963. "couponcategroy": {
  19964. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19965. "type": "integer"
  19966. },
  19967. "couponname": {
  19968. "description": "优惠券名称",
  19969. "type": "string"
  19970. },
  19971. "coupontypeid": {
  19972. "description": "优惠券类型ID",
  19973. "type": "string"
  19974. },
  19975. "couponvalue": {
  19976. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19977. "type": "number"
  19978. },
  19979. "curfreezeqty": {
  19980. "description": "期末冻结数量",
  19981. "type": "integer"
  19982. },
  19983. "curqty": {
  19984. "description": "期末数量",
  19985. "type": "integer"
  19986. },
  19987. "isgeneral": {
  19988. "description": "是否通用券 - 0:否 1:是",
  19989. "type": "integer"
  19990. },
  19991. "isunusable": {
  19992. "description": "是否不可用",
  19993. "type": "boolean"
  19994. },
  19995. "limitedflag": {
  19996. "description": "是否指定商品 - 0:不限 1:限制",
  19997. "type": "integer"
  19998. },
  19999. "limitedgoodsids": {
  20000. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20001. "type": "string"
  20002. },
  20003. "orifreezeqty": {
  20004. "description": "期初冻结数量",
  20005. "type": "integer"
  20006. },
  20007. "oriqty": {
  20008. "description": "期初数量",
  20009. "type": "integer"
  20010. },
  20011. "reasontype": {
  20012. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20013. "type": "integer"
  20014. },
  20015. "todaydecrease": {
  20016. "description": "今日减少",
  20017. "type": "integer"
  20018. },
  20019. "todayincrease": {
  20020. "description": "今日增加",
  20021. "type": "integer"
  20022. },
  20023. "userid": {
  20024. "description": "用户ID",
  20025. "type": "integer"
  20026. },
  20027. "userscope": {
  20028. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20029. "type": "string"
  20030. }
  20031. }
  20032. },
  20033. "models.MyCouponHold": {
  20034. "type": "object",
  20035. "required": [
  20036. "couponholdid"
  20037. ],
  20038. "properties": {
  20039. "accountid": {
  20040. "description": "资金账户ID",
  20041. "type": "integer"
  20042. },
  20043. "conditionvalue": {
  20044. "description": "条件阈值(可为0)",
  20045. "type": "number"
  20046. },
  20047. "couponcategroy": {
  20048. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20049. "type": "integer"
  20050. },
  20051. "couponholdid": {
  20052. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20053. "type": "string"
  20054. },
  20055. "couponname": {
  20056. "description": "优惠券名称",
  20057. "type": "string"
  20058. },
  20059. "coupontypeid": {
  20060. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20061. "type": "string"
  20062. },
  20063. "couponvalue": {
  20064. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20065. "type": "number"
  20066. },
  20067. "createtime": {
  20068. "description": "创建时间",
  20069. "type": "string"
  20070. },
  20071. "enddate": {
  20072. "description": "结束日期",
  20073. "type": "string"
  20074. },
  20075. "giveapplyid": {
  20076. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20077. "type": "integer"
  20078. },
  20079. "holdstatus": {
  20080. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20081. "type": "integer"
  20082. },
  20083. "isgeneral": {
  20084. "description": "是否通用券 - 0:否 1:是",
  20085. "type": "integer"
  20086. },
  20087. "limitedflag": {
  20088. "description": "是否指定商品 - 0:不限 1:限制",
  20089. "type": "integer"
  20090. },
  20091. "limitedgoodsids": {
  20092. "description": "指定商品IDs[逗号分隔]",
  20093. "type": "string"
  20094. },
  20095. "qty": {
  20096. "description": "数量(按1平铺)",
  20097. "type": "integer"
  20098. },
  20099. "startdate": {
  20100. "description": "开始日期",
  20101. "type": "string"
  20102. },
  20103. "userid": {
  20104. "description": "用户ID",
  20105. "type": "integer"
  20106. },
  20107. "userscope": {
  20108. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20109. "type": "string"
  20110. }
  20111. }
  20112. },
  20113. "models.MyUsedCoupon": {
  20114. "type": "object",
  20115. "required": [
  20116. "coupontypeid",
  20117. "orderid"
  20118. ],
  20119. "properties": {
  20120. "accountid": {
  20121. "description": "资金账户ID(买方)",
  20122. "type": "integer"
  20123. },
  20124. "conditionvalue": {
  20125. "description": "条件阈值(可为0)",
  20126. "type": "number"
  20127. },
  20128. "couponcategroy": {
  20129. "description": "种类 - 1:现金券 2:折扣券",
  20130. "type": "integer"
  20131. },
  20132. "couponname": {
  20133. "description": "优惠券名称",
  20134. "type": "string"
  20135. },
  20136. "coupontypeid": {
  20137. "description": "优惠券类型ID(买方)",
  20138. "type": "string"
  20139. },
  20140. "couponvalue": {
  20141. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20142. "type": "number"
  20143. },
  20144. "createtime": {
  20145. "description": "创建时间",
  20146. "type": "string"
  20147. },
  20148. "goodsid": {
  20149. "description": "商品ID",
  20150. "type": "integer"
  20151. },
  20152. "handlestatus": {
  20153. "description": "处理状态",
  20154. "type": "integer"
  20155. },
  20156. "marketid": {
  20157. "description": "市场ID",
  20158. "type": "integer"
  20159. },
  20160. "offamount": {
  20161. "description": "优惠金额",
  20162. "type": "number"
  20163. },
  20164. "orderid": {
  20165. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20166. "type": "string"
  20167. },
  20168. "sellaccountid": {
  20169. "description": "资金账户ID(卖方)",
  20170. "type": "integer"
  20171. },
  20172. "tradeamount": {
  20173. "description": "成交金额",
  20174. "type": "number"
  20175. },
  20176. "tradeid": {
  20177. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20178. "type": "string"
  20179. },
  20180. "usedqty": {
  20181. "description": "使用数量",
  20182. "type": "integer"
  20183. }
  20184. }
  20185. },
  20186. "models.OperationPrimaryMenu": {
  20187. "type": "object",
  20188. "properties": {
  20189. "Children": {
  20190. "description": "二级功能菜单",
  20191. "type": "array",
  20192. "items": {
  20193. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20194. }
  20195. },
  20196. "Key": {
  20197. "description": "菜单KEY",
  20198. "type": "string"
  20199. },
  20200. "Label": {
  20201. "description": "菜单标题",
  20202. "type": "string"
  20203. }
  20204. }
  20205. },
  20206. "models.OperationSecondaryMenu": {
  20207. "type": "object",
  20208. "properties": {
  20209. "Key": {
  20210. "description": "菜单KEY",
  20211. "type": "string"
  20212. },
  20213. "Label": {
  20214. "description": "菜单标题",
  20215. "type": "string"
  20216. },
  20217. "TabList": {
  20218. "description": "三级功能菜单",
  20219. "type": "array",
  20220. "items": {
  20221. "$ref": "#/definitions/models.OperationTabMenu"
  20222. }
  20223. }
  20224. }
  20225. },
  20226. "models.OperationTabMenu": {
  20227. "type": "object",
  20228. "properties": {
  20229. "Key": {
  20230. "description": "菜单KEY",
  20231. "type": "string"
  20232. },
  20233. "Label": {
  20234. "description": "菜单标题",
  20235. "type": "string"
  20236. }
  20237. }
  20238. },
  20239. "models.PendingAuditBizModel": {
  20240. "type": "object",
  20241. "properties": {
  20242. "accountid": {
  20243. "description": "现货账户",
  20244. "type": "string"
  20245. },
  20246. "areaname": {
  20247. "description": "所属部门",
  20248. "type": "string"
  20249. },
  20250. "bizid": {
  20251. "description": "业务ID",
  20252. "type": "string"
  20253. },
  20254. "bizname": {
  20255. "description": "业务名称",
  20256. "type": "string"
  20257. },
  20258. "status": {
  20259. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20260. "type": "integer"
  20261. },
  20262. "type": {
  20263. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20264. "type": "integer"
  20265. }
  20266. }
  20267. },
  20268. "models.QhjBankAccountSign": {
  20269. "type": "object",
  20270. "properties": {
  20271. "accountcode": {
  20272. "description": "资金账号",
  20273. "type": "string"
  20274. },
  20275. "accountname": {
  20276. "description": "资金账号对应的账号名(UserName)",
  20277. "type": "string"
  20278. },
  20279. "accounttype": {
  20280. "description": "账户类型(UserType)",
  20281. "type": "integer"
  20282. },
  20283. "applicationtime": {
  20284. "description": "最后一次更新的时间",
  20285. "type": "string"
  20286. },
  20287. "applyexchticket": {
  20288. "description": "申请流水",
  20289. "type": "string"
  20290. },
  20291. "auditid": {
  20292. "description": "审核人",
  20293. "type": "integer"
  20294. },
  20295. "audittime": {
  20296. "description": "审核时间",
  20297. "type": "string"
  20298. },
  20299. "bankaccountname": {
  20300. "description": "签约银行卡账号名",
  20301. "type": "string"
  20302. },
  20303. "bankaccountno": {
  20304. "description": "银行卡号",
  20305. "type": "string"
  20306. },
  20307. "bankaccounttype": {
  20308. "description": "银行账户类型 - 1-对私; 2-对公",
  20309. "type": "integer"
  20310. },
  20311. "bankcardtype": {
  20312. "description": "银行卡类型",
  20313. "type": "integer"
  20314. },
  20315. "bankchildaccount": {
  20316. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  20317. "type": "string"
  20318. },
  20319. "bankcity": {
  20320. "description": "开户行城市",
  20321. "type": "string"
  20322. },
  20323. "bankid": {
  20324. "description": "签约银行ID",
  20325. "type": "string"
  20326. },
  20327. "bankprovince": {
  20328. "description": "开户行省份",
  20329. "type": "string"
  20330. },
  20331. "branchbankid": {
  20332. "description": "签约银行支行号",
  20333. "type": "string"
  20334. },
  20335. "branchbankname": {
  20336. "description": "签约银行支行名称",
  20337. "type": "string"
  20338. },
  20339. "cardno": {
  20340. "description": "证件号码",
  20341. "type": "string"
  20342. },
  20343. "cardtype": {
  20344. "description": "证件类型",
  20345. "type": "string"
  20346. },
  20347. "currency": {
  20348. "description": "币种",
  20349. "type": "string"
  20350. },
  20351. "cusbankid": {
  20352. "description": "托管银行编号",
  20353. "type": "string"
  20354. },
  20355. "direct": {
  20356. "description": "方向(可以判断那方先发起的签约)",
  20357. "type": "integer"
  20358. },
  20359. "exchticket": {
  20360. "description": "最后一次签约成功的流水号",
  20361. "type": "string"
  20362. },
  20363. "extendinfo": {
  20364. "description": "扩展信息(JSON字符串)",
  20365. "type": "string"
  20366. },
  20367. "mobilephone": {
  20368. "description": "手机号",
  20369. "type": "string"
  20370. },
  20371. "netaddr": {
  20372. "description": "调转网址",
  20373. "type": "string"
  20374. },
  20375. "relateduserid": {
  20376. "description": "关联使用者userid",
  20377. "type": "integer"
  20378. },
  20379. "signstatus": {
  20380. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  20381. "type": "integer"
  20382. },
  20383. "updatetime": {
  20384. "description": "更新时间(签解约更新时间)",
  20385. "type": "string"
  20386. }
  20387. }
  20388. },
  20389. "models.QhjBankInfo": {
  20390. "type": "object",
  20391. "properties": {
  20392. "bankid": {
  20393. "description": "银行ID",
  20394. "type": "string"
  20395. },
  20396. "bankname": {
  20397. "description": "银行名称",
  20398. "type": "string"
  20399. },
  20400. "clearbankno": {
  20401. "description": "清算系统银行编号",
  20402. "type": "string"
  20403. },
  20404. "orderindex": {
  20405. "description": "排序顺序",
  20406. "type": "integer"
  20407. },
  20408. "status": {
  20409. "description": "状态 - 0:正常 1:注销",
  20410. "type": "integer"
  20411. }
  20412. }
  20413. },
  20414. "models.QhjContract": {
  20415. "type": "object",
  20416. "properties": {
  20417. "contractconfirmtime": {
  20418. "description": "合同确认时间(时间)",
  20419. "type": "string"
  20420. },
  20421. "enumdicname": {
  20422. "description": "单位名称",
  20423. "type": "string"
  20424. },
  20425. "goodscode": {
  20426. "description": "商品代码",
  20427. "type": "string"
  20428. },
  20429. "goodsid": {
  20430. "description": "商品ID [5:融资单]",
  20431. "type": "integer"
  20432. },
  20433. "goodsname": {
  20434. "description": "商品名称",
  20435. "type": "string"
  20436. },
  20437. "goodunitid": {
  20438. "description": "商品单位id",
  20439. "type": "integer"
  20440. },
  20441. "initmargin": {
  20442. "description": "初始保证金(首付款)",
  20443. "type": "number"
  20444. },
  20445. "lenderamount": {
  20446. "description": "贷款金额(总额|订单总额)",
  20447. "type": "number"
  20448. },
  20449. "marginratio": {
  20450. "description": "保证金比率(首付比例)",
  20451. "type": "number"
  20452. },
  20453. "payamount": {
  20454. "description": "已付(已付货款)",
  20455. "type": "number"
  20456. },
  20457. "recoveredmargin": {
  20458. "description": "已追缴保证金",
  20459. "type": "number"
  20460. },
  20461. "remainamount": {
  20462. "description": "合同剩余金额(融资额)",
  20463. "type": "number"
  20464. },
  20465. "scfcontractid": {
  20466. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20467. "type": "integer"
  20468. },
  20469. "scfcontracttype": {
  20470. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20471. "type": "integer"
  20472. },
  20473. "totalinterest": {
  20474. "description": "已计总利息(利息)",
  20475. "type": "number"
  20476. },
  20477. "tradeprice": {
  20478. "description": "成交价格(成本价格)",
  20479. "type": "number"
  20480. },
  20481. "userid": {
  20482. "description": "用户ID",
  20483. "type": "integer"
  20484. },
  20485. "username": {
  20486. "description": "用户名称",
  20487. "type": "string"
  20488. },
  20489. "wrqty": {
  20490. "description": "仓单数量(数量)",
  20491. "type": "integer"
  20492. }
  20493. }
  20494. },
  20495. "models.QhjContractLog": {
  20496. "type": "object",
  20497. "properties": {
  20498. "amount": {
  20499. "description": "支付金额",
  20500. "type": "number"
  20501. },
  20502. "amounttype": {
  20503. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20504. "type": "integer"
  20505. },
  20506. "logid": {
  20507. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20508. "type": "string"
  20509. },
  20510. "remainamount": {
  20511. "description": "剩余货款",
  20512. "type": "number"
  20513. },
  20514. "scfcontractid": {
  20515. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20516. "type": "integer"
  20517. },
  20518. "updatetime": {
  20519. "description": "更新时间",
  20520. "type": "string"
  20521. }
  20522. }
  20523. },
  20524. "models.QhjPickArea": {
  20525. "type": "object",
  20526. "properties": {
  20527. "cityid": {
  20528. "description": "市",
  20529. "type": "integer"
  20530. },
  20531. "cityname": {
  20532. "description": "城市名称",
  20533. "type": "string"
  20534. },
  20535. "countryid": {
  20536. "description": "国家",
  20537. "type": "integer"
  20538. },
  20539. "countryname": {
  20540. "description": "国家名称",
  20541. "type": "string"
  20542. },
  20543. "districtid": {
  20544. "description": "地区",
  20545. "type": "integer"
  20546. },
  20547. "districtname": {
  20548. "description": "地区名称",
  20549. "type": "string"
  20550. },
  20551. "fromuserid": {
  20552. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20553. "type": "integer"
  20554. },
  20555. "fromusername": {
  20556. "description": "所属机构名称",
  20557. "type": "string"
  20558. },
  20559. "provinceid": {
  20560. "description": "省",
  20561. "type": "integer"
  20562. },
  20563. "provincename": {
  20564. "description": "省名称",
  20565. "type": "string"
  20566. },
  20567. "suborgtype": {
  20568. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20569. "type": "integer"
  20570. },
  20571. "userid": {
  20572. "description": "机构用户ID 其他做市关系,都设置为 1",
  20573. "type": "integer"
  20574. },
  20575. "username": {
  20576. "description": "机构用户名称(门店门称)",
  20577. "type": "string"
  20578. }
  20579. }
  20580. },
  20581. "models.QhjPickGoods": {
  20582. "type": "object",
  20583. "properties": {
  20584. "imageaddress": {
  20585. "description": "图片",
  20586. "type": "string"
  20587. },
  20588. "modifierid": {
  20589. "description": "修改人",
  20590. "type": "integer"
  20591. },
  20592. "modifiername": {
  20593. "description": "修改人名称",
  20594. "type": "string"
  20595. },
  20596. "modifysrc": {
  20597. "description": "修改来源 - 1:管理端 2:终端",
  20598. "type": "integer"
  20599. },
  20600. "pickupgoodsagreeunit": {
  20601. "description": "合约乘数",
  20602. "type": "number"
  20603. },
  20604. "pickupgoodsdesc": {
  20605. "description": "描述",
  20606. "type": "string"
  20607. },
  20608. "pickupgoodsid": {
  20609. "description": "提货商品ID",
  20610. "type": "string"
  20611. },
  20612. "pickupgoodsname": {
  20613. "description": "提货商品名称",
  20614. "type": "string"
  20615. },
  20616. "pickupgoodsstatus": {
  20617. "description": "状态 - 1:正常 2:停用 3:注销",
  20618. "type": "integer"
  20619. },
  20620. "pickupgoodsunitid": {
  20621. "description": "单位ID",
  20622. "type": "integer"
  20623. },
  20624. "preparedays": {
  20625. "description": "备货期(天)",
  20626. "type": "integer"
  20627. },
  20628. "remark": {
  20629. "description": "备注",
  20630. "type": "string"
  20631. },
  20632. "updatetime": {
  20633. "description": "更新时间",
  20634. "type": "string"
  20635. }
  20636. }
  20637. },
  20638. "models.QhjRSTriggerLog": {
  20639. "type": "object",
  20640. "properties": {
  20641. "accountid": {
  20642. "description": "用户资金账户",
  20643. "type": "integer"
  20644. },
  20645. "accountname": {
  20646. "description": "账号名称(ACCOUNTID对应的名称)",
  20647. "type": "string"
  20648. },
  20649. "currencyid": {
  20650. "description": "币种id",
  20651. "type": "integer"
  20652. },
  20653. "currencyname": {
  20654. "description": "币种名称",
  20655. "type": "string"
  20656. },
  20657. "enumdicname": {
  20658. "description": "单位名称",
  20659. "type": "string"
  20660. },
  20661. "goodscode": {
  20662. "description": "定投商品代码",
  20663. "type": "string"
  20664. },
  20665. "goodsid": {
  20666. "description": "定投商品ID",
  20667. "type": "string"
  20668. },
  20669. "goodsname": {
  20670. "description": "定投商品名称",
  20671. "type": "string"
  20672. },
  20673. "goodunitid": {
  20674. "description": "定投商品单位id",
  20675. "type": "integer"
  20676. },
  20677. "logid": {
  20678. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20679. "type": "string"
  20680. },
  20681. "regularlycycle": {
  20682. "description": "定投频率 - 1:每周 2:每月",
  20683. "type": "integer"
  20684. },
  20685. "regularlycyclevalue": {
  20686. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20687. "type": "string"
  20688. },
  20689. "regularlymode": {
  20690. "description": "定投方式 - 1:按数量 2:按金额",
  20691. "type": "integer"
  20692. },
  20693. "regularlymodevalue": {
  20694. "description": "定投方式值 - 数量或金额",
  20695. "type": "number"
  20696. },
  20697. "regularlystrategyid": {
  20698. "description": "定投策略ID",
  20699. "type": "integer"
  20700. },
  20701. "retcode": {
  20702. "description": "错误码",
  20703. "type": "string"
  20704. },
  20705. "tradeid": {
  20706. "description": "成交单ID",
  20707. "type": "string"
  20708. },
  20709. "triggeramount": {
  20710. "description": "触发金额",
  20711. "type": "number"
  20712. },
  20713. "triggerqty": {
  20714. "description": "触发数量",
  20715. "type": "number"
  20716. },
  20717. "triggerstatus": {
  20718. "description": "触发状态 - 1:成功 2:失败",
  20719. "type": "integer"
  20720. },
  20721. "triggertime": {
  20722. "description": "触发时间",
  20723. "type": "string"
  20724. },
  20725. "triggertradedate": {
  20726. "description": "触发交易日",
  20727. "type": "string"
  20728. },
  20729. "userid": {
  20730. "description": "所属用户ID",
  20731. "type": "integer"
  20732. },
  20733. "username": {
  20734. "description": "用户名称(userid对应的名称)",
  20735. "type": "string"
  20736. }
  20737. }
  20738. },
  20739. "models.QhjRStrategy": {
  20740. "type": "object",
  20741. "properties": {
  20742. "accountid": {
  20743. "description": "用户资金账户",
  20744. "type": "integer"
  20745. },
  20746. "accountname": {
  20747. "description": "账号名称(ACCOUNTID对应的名称)",
  20748. "type": "string"
  20749. },
  20750. "currencyid": {
  20751. "description": "币种id",
  20752. "type": "integer"
  20753. },
  20754. "currencyname": {
  20755. "description": "币种名称",
  20756. "type": "string"
  20757. },
  20758. "enumdicname": {
  20759. "description": "单位名称",
  20760. "type": "string"
  20761. },
  20762. "goodscode": {
  20763. "description": "定投商品代码",
  20764. "type": "string"
  20765. },
  20766. "goodsid": {
  20767. "description": "定投商品ID",
  20768. "type": "string"
  20769. },
  20770. "goodsname": {
  20771. "description": "定投商品名称",
  20772. "type": "string"
  20773. },
  20774. "goodunitid": {
  20775. "description": "定投商品单位id",
  20776. "type": "integer"
  20777. },
  20778. "lasteffecttradedate": {
  20779. "description": "最新生效交易日",
  20780. "type": "string"
  20781. },
  20782. "laststoptradedate": {
  20783. "description": "最新暂停交易日",
  20784. "type": "string"
  20785. },
  20786. "lasttriggertradedate": {
  20787. "description": "最新触发交易日",
  20788. "type": "string"
  20789. },
  20790. "nexttriggeramount": {
  20791. "description": "下次触发金额",
  20792. "type": "number"
  20793. },
  20794. "nexttriggerdate": {
  20795. "description": "下次触发日期",
  20796. "type": "string"
  20797. },
  20798. "nexttriggerqty": {
  20799. "description": "下次触发数量 [按小数位放大值]",
  20800. "type": "number"
  20801. },
  20802. "regularlycycle": {
  20803. "description": "定投频率 - 1:每周 2:每月",
  20804. "type": "integer"
  20805. },
  20806. "regularlycyclevalue": {
  20807. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20808. "type": "string"
  20809. },
  20810. "regularlymode": {
  20811. "description": "定投方式 - 1:按数量 2:按金额",
  20812. "type": "integer"
  20813. },
  20814. "regularlymodevalue": {
  20815. "description": "定投方式值 - 数量或金额",
  20816. "type": "number"
  20817. },
  20818. "regularlystrategyid": {
  20819. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20820. "type": "integer"
  20821. },
  20822. "regularlystrategystatus": {
  20823. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20824. "type": "integer"
  20825. },
  20826. "remark": {
  20827. "description": "备注",
  20828. "type": "string"
  20829. },
  20830. "triggersuccesstimes": {
  20831. "description": "累计定投成功次数",
  20832. "type": "string"
  20833. },
  20834. "triggertotalamount": {
  20835. "description": "累计定投金额(成功)",
  20836. "type": "number"
  20837. },
  20838. "triggertotalqty": {
  20839. "description": "累计定投数量(成功) [按小数位放大值]",
  20840. "type": "number"
  20841. },
  20842. "triggertotaltimes": {
  20843. "description": "累计定投总次数",
  20844. "type": "string"
  20845. },
  20846. "updatesrc": {
  20847. "description": "更新来源 - 1:管理端 2:终端",
  20848. "type": "integer"
  20849. },
  20850. "updatetime": {
  20851. "description": "更新时间",
  20852. "type": "string"
  20853. },
  20854. "updatorid": {
  20855. "description": "更新人",
  20856. "type": "string"
  20857. },
  20858. "userid": {
  20859. "description": "所属用户ID",
  20860. "type": "integer"
  20861. },
  20862. "username": {
  20863. "description": "用户名称(userid对应的名称)",
  20864. "type": "string"
  20865. }
  20866. }
  20867. },
  20868. "models.QhjReckonPriceLog": {
  20869. "type": "object",
  20870. "properties": {
  20871. "goodsid": {
  20872. "description": "商品ID",
  20873. "type": "integer"
  20874. },
  20875. "lastreckonprice": {
  20876. "description": "上日结算价",
  20877. "type": "number"
  20878. },
  20879. "nextdnlimitprice": {
  20880. "description": "下个交易日跌停价",
  20881. "type": "number"
  20882. },
  20883. "nexttrade": {
  20884. "description": "下个交易日",
  20885. "type": "string"
  20886. },
  20887. "nextuplimitprice": {
  20888. "description": "下个交易日涨停价",
  20889. "type": "number"
  20890. },
  20891. "reckonprice": {
  20892. "description": "今日结算价(定投价)",
  20893. "type": "number"
  20894. },
  20895. "reckontime": {
  20896. "description": "结算时间",
  20897. "type": "string"
  20898. },
  20899. "totalholderqty": {
  20900. "description": "总持仓数",
  20901. "type": "integer"
  20902. },
  20903. "totalstock": {
  20904. "description": "总库存",
  20905. "type": "integer"
  20906. },
  20907. "tradedate": {
  20908. "description": "交易日",
  20909. "type": "string"
  20910. },
  20911. "updowncount": {
  20912. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  20913. "type": "integer"
  20914. },
  20915. "updownflag": {
  20916. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  20917. "type": "integer"
  20918. },
  20919. "updownrate": {
  20920. "description": "今日涨跌幅",
  20921. "type": "number"
  20922. },
  20923. "updownrate_2d": {
  20924. "description": "连续两日涨跌幅",
  20925. "type": "number"
  20926. },
  20927. "updownrate_3d": {
  20928. "description": "连续三日涨跌幅",
  20929. "type": "number"
  20930. }
  20931. }
  20932. },
  20933. "models.QhjTradeGoodsPickup": {
  20934. "type": "object",
  20935. "properties": {
  20936. "accountid": {
  20937. "description": "账户ID",
  20938. "type": "integer"
  20939. },
  20940. "address": {
  20941. "description": "提货人详细地址",
  20942. "type": "string"
  20943. },
  20944. "amount": {
  20945. "description": "提货金额",
  20946. "type": "number"
  20947. },
  20948. "artradedate": {
  20949. "description": "自动收货交易日(yyyyMMdd)",
  20950. "type": "string"
  20951. },
  20952. "auditer": {
  20953. "description": "审核人",
  20954. "type": "integer"
  20955. },
  20956. "auditsrc": {
  20957. "description": "更新来源 - 1:管理端 2:终端",
  20958. "type": "integer"
  20959. },
  20960. "audittime": {
  20961. "description": "审核时间(发货时间)",
  20962. "type": "string"
  20963. },
  20964. "audittradedate": {
  20965. "description": "审核交易日(yyyyMMdd)",
  20966. "type": "string"
  20967. },
  20968. "cardnum": {
  20969. "description": "提货人证件号码",
  20970. "type": "string"
  20971. },
  20972. "cardtypeid": {
  20973. "description": "提货人证件类型",
  20974. "type": "integer"
  20975. },
  20976. "checkremark": {
  20977. "description": "审核备注",
  20978. "type": "string"
  20979. },
  20980. "cityid": {
  20981. "description": "市",
  20982. "type": "integer"
  20983. },
  20984. "cityname": {
  20985. "description": "城市名称",
  20986. "type": "string"
  20987. },
  20988. "countryid": {
  20989. "description": "国家",
  20990. "type": "integer"
  20991. },
  20992. "countryname": {
  20993. "description": "国家名称",
  20994. "type": "string"
  20995. },
  20996. "districtid": {
  20997. "description": "地区",
  20998. "type": "integer"
  20999. },
  21000. "districtname": {
  21001. "description": "地区名称",
  21002. "type": "string"
  21003. },
  21004. "enumdicname": {
  21005. "description": "单位名称(提货商品)",
  21006. "type": "string"
  21007. },
  21008. "expresscompany": {
  21009. "description": "物流公司",
  21010. "type": "string"
  21011. },
  21012. "expressnum": {
  21013. "description": "物流单号",
  21014. "type": "string"
  21015. },
  21016. "goodsagreeunit": {
  21017. "description": "交易商品乘数",
  21018. "type": "number"
  21019. },
  21020. "goodscode": {
  21021. "description": "商品代码",
  21022. "type": "string"
  21023. },
  21024. "goodsid": {
  21025. "description": "商品ID",
  21026. "type": "integer"
  21027. },
  21028. "goodsname": {
  21029. "description": "商品名称",
  21030. "type": "string"
  21031. },
  21032. "goodsqty": {
  21033. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  21034. "type": "number"
  21035. },
  21036. "handlestatus": {
  21037. "description": "处理状态",
  21038. "type": "integer"
  21039. },
  21040. "marketid": {
  21041. "description": "市场ID",
  21042. "type": "integer"
  21043. },
  21044. "phonenum": {
  21045. "description": "提货人联系方式",
  21046. "type": "string"
  21047. },
  21048. "pickupgoodsagreeunit": {
  21049. "description": "提货商品合约乘数",
  21050. "type": "number"
  21051. },
  21052. "pickupgoodsid": {
  21053. "description": "提货商品ID",
  21054. "type": "string"
  21055. },
  21056. "pickupgoodsname": {
  21057. "description": "提货商品名称",
  21058. "type": "string"
  21059. },
  21060. "pickupgoodsqty": {
  21061. "description": "提货商品手数(数量)",
  21062. "type": "number"
  21063. },
  21064. "pickupgoodsunitid": {
  21065. "description": "单位ID(提货商品)",
  21066. "type": "integer"
  21067. },
  21068. "pickupratio": {
  21069. "description": "提货系数",
  21070. "type": "number"
  21071. },
  21072. "preparedays": {
  21073. "description": "备货期(天)-提货单明细表",
  21074. "type": "integer"
  21075. },
  21076. "provinceid": {
  21077. "description": "省",
  21078. "type": "integer"
  21079. },
  21080. "provincename": {
  21081. "description": "省名称",
  21082. "type": "string"
  21083. },
  21084. "qty": {
  21085. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  21086. "type": "number"
  21087. },
  21088. "recivername": {
  21089. "description": "提货人姓名",
  21090. "type": "string"
  21091. },
  21092. "reqtime": {
  21093. "description": "提货申请时间",
  21094. "type": "string"
  21095. },
  21096. "storeuserid": {
  21097. "description": "门店用户ID (千海金)",
  21098. "type": "integer"
  21099. },
  21100. "storeusername": {
  21101. "description": "门店用户名称",
  21102. "type": "string"
  21103. },
  21104. "takemode": {
  21105. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  21106. "type": "integer"
  21107. },
  21108. "takeorderid": {
  21109. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21110. "type": "integer"
  21111. },
  21112. "takeorderstatus": {
  21113. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  21114. "type": "integer"
  21115. },
  21116. "takeremark": {
  21117. "description": "提货备注",
  21118. "type": "string"
  21119. },
  21120. "tradedate": {
  21121. "description": "交易日(yyyyMMdd)",
  21122. "type": "string"
  21123. },
  21124. "updatetime": {
  21125. "description": "更新时间",
  21126. "type": "string"
  21127. },
  21128. "userid": {
  21129. "description": "用户ID",
  21130. "type": "integer"
  21131. },
  21132. "username": {
  21133. "description": "用户名称",
  21134. "type": "string"
  21135. }
  21136. }
  21137. },
  21138. "models.QueryErrorInfosRsp": {
  21139. "type": "object",
  21140. "required": [
  21141. "errorid"
  21142. ],
  21143. "properties": {
  21144. "description": {
  21145. "description": "异常描述",
  21146. "type": "string"
  21147. },
  21148. "errorcode": {
  21149. "description": "异常代码",
  21150. "type": "string"
  21151. },
  21152. "errorid": {
  21153. "description": "异常ID",
  21154. "type": "integer"
  21155. },
  21156. "modulecode": {
  21157. "description": "所属模块",
  21158. "type": "string"
  21159. },
  21160. "operatecode": {
  21161. "description": "所属操作",
  21162. "type": "string"
  21163. },
  21164. "rownumber": {
  21165. "description": "行号",
  21166. "type": "string"
  21167. }
  21168. }
  21169. },
  21170. "models.QueryHedgeOrderDetailRsp": {
  21171. "type": "object",
  21172. "properties": {
  21173. "accountid": {
  21174. "description": "账户ID",
  21175. "type": "integer"
  21176. },
  21177. "buyorsell": {
  21178. "description": "买卖 - 0:买 1:卖",
  21179. "type": "integer"
  21180. },
  21181. "cancellogincode": {
  21182. "description": "撤单人",
  21183. "type": "string"
  21184. },
  21185. "channelbuildtype": {
  21186. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21187. "type": "integer"
  21188. },
  21189. "channelinnerorderstatus": {
  21190. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21191. "type": "integer"
  21192. },
  21193. "channeloperatetype": {
  21194. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21195. "type": "integer"
  21196. },
  21197. "closetype": {
  21198. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21199. "type": "integer"
  21200. },
  21201. "curexchangerate": {
  21202. "description": "当前汇率",
  21203. "type": "number"
  21204. },
  21205. "exchangefullname": {
  21206. "description": "外部交易所全称",
  21207. "type": "string"
  21208. },
  21209. "goodscode": {
  21210. "description": "商品代码(内部)",
  21211. "type": "string"
  21212. },
  21213. "goodsid": {
  21214. "description": "商品ID",
  21215. "type": "integer"
  21216. },
  21217. "goodsname": {
  21218. "description": "商品名称",
  21219. "type": "string"
  21220. },
  21221. "marketid": {
  21222. "description": "市场ID",
  21223. "type": "integer"
  21224. },
  21225. "openfreezemargin": {
  21226. "description": "冻结保证金(冻结交易金额)",
  21227. "type": "number"
  21228. },
  21229. "orderid": {
  21230. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21231. "type": "string"
  21232. },
  21233. "orderlogincode": {
  21234. "description": "委托人",
  21235. "type": "string"
  21236. },
  21237. "orderprice": {
  21238. "description": "委托价格(账户)",
  21239. "type": "number"
  21240. },
  21241. "orderqty": {
  21242. "description": "委托数量",
  21243. "type": "integer"
  21244. },
  21245. "ordertime": {
  21246. "description": "委托时间",
  21247. "type": "string"
  21248. },
  21249. "pricemode": {
  21250. "description": "取价方式 - 1:市价 2: 限价",
  21251. "type": "integer"
  21252. },
  21253. "tradedate": {
  21254. "description": "交易日(yyyyMMdd)",
  21255. "type": "string"
  21256. },
  21257. "tradeqty": {
  21258. "description": "成交数量",
  21259. "type": "integer"
  21260. }
  21261. }
  21262. },
  21263. "models.QueryHedgeTradeDetailRsp": {
  21264. "type": "object",
  21265. "properties": {
  21266. "accountid": {
  21267. "description": "账号ID",
  21268. "type": "integer"
  21269. },
  21270. "buyorsell": {
  21271. "description": "方向 - 0:买 1:卖",
  21272. "type": "integer"
  21273. },
  21274. "channelbuildtype": {
  21275. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21276. "type": "integer"
  21277. },
  21278. "closecharge": {
  21279. "description": "平仓手续费(账户)",
  21280. "type": "number"
  21281. },
  21282. "closecharge2": {
  21283. "description": "平仓手续费(商品)",
  21284. "type": "number"
  21285. },
  21286. "closepl": {
  21287. "description": "平仓盈亏(账户)",
  21288. "type": "number"
  21289. },
  21290. "closepl2": {
  21291. "description": "平仓盈亏(商品)",
  21292. "type": "number"
  21293. },
  21294. "closepl3": {
  21295. "description": "平仓盈亏(账户)(逐笔)",
  21296. "type": "number"
  21297. },
  21298. "closepl4": {
  21299. "description": "平仓盈亏(商品)(逐笔)",
  21300. "type": "number"
  21301. },
  21302. "closetype": {
  21303. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21304. "type": "integer"
  21305. },
  21306. "curexchangerate": {
  21307. "description": "当前汇率",
  21308. "type": "number"
  21309. },
  21310. "exchangefullname": {
  21311. "description": "外部交易所全称",
  21312. "type": "string"
  21313. },
  21314. "goodscode": {
  21315. "description": "商品代码(内部)",
  21316. "type": "string"
  21317. },
  21318. "goodsid": {
  21319. "description": "商品ID",
  21320. "type": "integer"
  21321. },
  21322. "goodsname": {
  21323. "description": "商品名称",
  21324. "type": "string"
  21325. },
  21326. "marketid": {
  21327. "description": "市场ID",
  21328. "type": "integer"
  21329. },
  21330. "opencharge": {
  21331. "description": "建仓手续费(账户)",
  21332. "type": "number"
  21333. },
  21334. "opencharge2": {
  21335. "description": "建仓手续费(商品)",
  21336. "type": "number"
  21337. },
  21338. "orderid": {
  21339. "description": "委托单号",
  21340. "type": "string"
  21341. },
  21342. "orderlogincode": {
  21343. "description": "委托人",
  21344. "type": "string"
  21345. },
  21346. "tradeamount": {
  21347. "description": "成交金额(账户)",
  21348. "type": "number"
  21349. },
  21350. "tradedate": {
  21351. "description": "交易日(yyyyMMdd)",
  21352. "type": "string"
  21353. },
  21354. "tradeid": {
  21355. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21356. "type": "string"
  21357. },
  21358. "tradeprice": {
  21359. "description": "成交价格",
  21360. "type": "number"
  21361. },
  21362. "tradeqty": {
  21363. "description": "成交数量",
  21364. "type": "integer"
  21365. },
  21366. "tradetime": {
  21367. "description": "成交时间",
  21368. "type": "string"
  21369. },
  21370. "tradetype": {
  21371. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21372. "type": "integer"
  21373. }
  21374. }
  21375. },
  21376. "models.QuotePrimaryMenu": {
  21377. "type": "object",
  21378. "properties": {
  21379. "Index": {
  21380. "description": "序号",
  21381. "type": "integer"
  21382. },
  21383. "Key": {
  21384. "description": "键名",
  21385. "type": "string"
  21386. },
  21387. "Name": {
  21388. "description": "菜单名称",
  21389. "type": "string"
  21390. },
  21391. "SubMenus": {
  21392. "description": "子菜单",
  21393. "type": "array",
  21394. "items": {
  21395. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21396. }
  21397. },
  21398. "SubTitleType": {
  21399. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21400. "type": "integer"
  21401. },
  21402. "TradeModes": {
  21403. "description": "包含市场交易类型",
  21404. "type": "string"
  21405. }
  21406. }
  21407. },
  21408. "models.QuoteSecondaryMenu": {
  21409. "type": "object",
  21410. "properties": {
  21411. "ExExchangeCode": {
  21412. "description": "外部交易所代码",
  21413. "type": "string"
  21414. },
  21415. "ExExchangeID": {
  21416. "description": "外部交易所ID",
  21417. "type": "integer"
  21418. },
  21419. "GoodsGroupIDs": {
  21420. "description": "商品组ID列表",
  21421. "type": "array",
  21422. "items": {
  21423. "type": "integer"
  21424. }
  21425. },
  21426. "Index": {
  21427. "description": "序号",
  21428. "type": "integer"
  21429. },
  21430. "MarketID": {
  21431. "description": "市场ID",
  21432. "type": "integer"
  21433. },
  21434. "MenuTitle": {
  21435. "description": "菜单标题(市场名称或外部交易所名称)",
  21436. "type": "string"
  21437. },
  21438. "TradeMode": {
  21439. "description": "交易模式",
  21440. "type": "integer"
  21441. }
  21442. }
  21443. },
  21444. "models.SearchGoods": {
  21445. "type": "object",
  21446. "required": [
  21447. "goodscode",
  21448. "goodsid",
  21449. "goodsname",
  21450. "marketid",
  21451. "trademode"
  21452. ],
  21453. "properties": {
  21454. "goodscode": {
  21455. "description": "商品代码(内部)",
  21456. "type": "string"
  21457. },
  21458. "goodsid": {
  21459. "description": "商品ID(自增ID SEQ_GOODS)",
  21460. "type": "integer"
  21461. },
  21462. "goodsname": {
  21463. "description": "商品名称",
  21464. "type": "string"
  21465. },
  21466. "marketid": {
  21467. "description": "所属市场ID",
  21468. "type": "integer"
  21469. },
  21470. "marketname": {
  21471. "description": "市场名称",
  21472. "type": "string"
  21473. },
  21474. "trademode": {
  21475. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21476. "type": "integer"
  21477. }
  21478. }
  21479. },
  21480. "models.Systemparam": {
  21481. "type": "object",
  21482. "required": [
  21483. "paramcode"
  21484. ],
  21485. "properties": {
  21486. "loginid": {
  21487. "description": "更新用户账号,登录账号",
  21488. "type": "string"
  21489. },
  21490. "modifyflag": {
  21491. "description": "修改标志0 不允许修改 1 允许修改",
  21492. "type": "integer"
  21493. },
  21494. "paramcode": {
  21495. "description": "参数代码",
  21496. "type": "string"
  21497. },
  21498. "paramname": {
  21499. "description": "参数名",
  21500. "type": "string"
  21501. },
  21502. "paramtype": {
  21503. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21504. "type": "integer"
  21505. },
  21506. "paramvalue": {
  21507. "description": "参数值",
  21508. "type": "string"
  21509. },
  21510. "paramvalue2": {
  21511. "description": "参数值(CLOB)",
  21512. "type": "string"
  21513. },
  21514. "regexpress": {
  21515. "description": "正则表达式",
  21516. "type": "string"
  21517. },
  21518. "remark": {
  21519. "description": "备注",
  21520. "type": "string"
  21521. },
  21522. "serverip": {
  21523. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21524. "type": "string"
  21525. },
  21526. "showflag": {
  21527. "description": "是否显示0 不显示 1 显示",
  21528. "type": "integer"
  21529. },
  21530. "updatetime": {
  21531. "description": "更新时间",
  21532. "type": "string"
  21533. },
  21534. "userid": {
  21535. "description": "更新用户ID",
  21536. "type": "integer"
  21537. }
  21538. }
  21539. },
  21540. "models.Szdz3convertconfig": {
  21541. "type": "object",
  21542. "required": [
  21543. "converttype",
  21544. "innergoodsid",
  21545. "outergoodscode"
  21546. ],
  21547. "properties": {
  21548. "canin": {
  21549. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21550. "type": "integer"
  21551. },
  21552. "canout": {
  21553. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21554. "type": "integer"
  21555. },
  21556. "converttype": {
  21557. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21558. "type": "integer"
  21559. },
  21560. "createtime": {
  21561. "description": "创建时间",
  21562. "type": "string"
  21563. },
  21564. "creatorid": {
  21565. "description": "创建人",
  21566. "type": "integer"
  21567. },
  21568. "daymaxvalue": {
  21569. "description": "当日最大转入限制",
  21570. "type": "number"
  21571. },
  21572. "freezedays": {
  21573. "description": "冻结天数 [5:花生米转交易]",
  21574. "type": "integer"
  21575. },
  21576. "innergoodsid": {
  21577. "description": "内部商品ID[交易]",
  21578. "type": "integer"
  21579. },
  21580. "inratio": {
  21581. "description": "目标值",
  21582. "type": "integer"
  21583. },
  21584. "modifierid": {
  21585. "description": "修改人",
  21586. "type": "integer"
  21587. },
  21588. "modifytime": {
  21589. "description": "修改时间",
  21590. "type": "string"
  21591. },
  21592. "outergoodscode": {
  21593. "description": "外部商品代码[JD\\PD]",
  21594. "type": "string"
  21595. },
  21596. "outratio": {
  21597. "description": "源值",
  21598. "type": "integer"
  21599. },
  21600. "pddecimalplace": {
  21601. "description": "PD小数位",
  21602. "type": "integer"
  21603. },
  21604. "timemaxvalue": {
  21605. "description": "单次最大转入限制",
  21606. "type": "number"
  21607. },
  21608. "timeminvalue": {
  21609. "description": "单次最小转入限制",
  21610. "type": "number"
  21611. }
  21612. }
  21613. },
  21614. "models.Szdz3searchwhitelist": {
  21615. "type": "object",
  21616. "required": [
  21617. "userid"
  21618. ],
  21619. "properties": {
  21620. "createtime": {
  21621. "description": "创建时间",
  21622. "type": "string"
  21623. },
  21624. "creatorid": {
  21625. "description": "创建人",
  21626. "type": "integer"
  21627. },
  21628. "modifierid": {
  21629. "description": "修改人",
  21630. "type": "integer"
  21631. },
  21632. "modifytime": {
  21633. "description": "修改时间",
  21634. "type": "string"
  21635. },
  21636. "userid": {
  21637. "description": "用户ID",
  21638. "type": "integer"
  21639. }
  21640. }
  21641. },
  21642. "models.Taaccount": {
  21643. "type": "object",
  21644. "required": [
  21645. "accountid",
  21646. "userid"
  21647. ],
  21648. "properties": {
  21649. "accountflag": {
  21650. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21651. "type": "integer"
  21652. },
  21653. "accountid": {
  21654. "description": "资金账户ID",
  21655. "type": "integer"
  21656. },
  21657. "accountname": {
  21658. "description": "账户名称",
  21659. "type": "string"
  21660. },
  21661. "balance": {
  21662. "description": "期初余额",
  21663. "type": "number"
  21664. },
  21665. "capitalbalance": {
  21666. "description": "本金余额[外部子账户实际出入金余额]",
  21667. "type": "number"
  21668. },
  21669. "changeflag": {
  21670. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21671. "type": "integer"
  21672. },
  21673. "changetime": {
  21674. "description": "账户状态变更时间",
  21675. "type": "string"
  21676. },
  21677. "closepl": {
  21678. "description": "今日平仓盈亏",
  21679. "type": "number"
  21680. },
  21681. "creditdecrease": {
  21682. "description": "今日授信减少",
  21683. "type": "number"
  21684. },
  21685. "creditincrease": {
  21686. "description": "今日授信增加",
  21687. "type": "number"
  21688. },
  21689. "currencyid": {
  21690. "description": "货币ID",
  21691. "type": "integer"
  21692. },
  21693. "currentbalance": {
  21694. "description": "期末余额",
  21695. "type": "number"
  21696. },
  21697. "freezecharge": {
  21698. "description": "手续费冻结",
  21699. "type": "number"
  21700. },
  21701. "freezemargin": {
  21702. "description": "冻结保证金",
  21703. "type": "number"
  21704. },
  21705. "fromaccountid": {
  21706. "description": "所属上级账户",
  21707. "type": "integer"
  21708. },
  21709. "inamount": {
  21710. "description": "今日入金金额(包括三方入金)",
  21711. "type": "number"
  21712. },
  21713. "ismain": {
  21714. "description": "是否母账号 0:不是母账户 1:是母账户",
  21715. "type": "integer"
  21716. },
  21717. "ismarketaccount": {
  21718. "description": "是否机构接单账号 0:不是 1:是",
  21719. "type": "integer"
  21720. },
  21721. "isreckonaccount": {
  21722. "description": "是否机构分润账号 0:不是 1:是",
  21723. "type": "integer"
  21724. },
  21725. "mortgagecredit": {
  21726. "description": "授信金额",
  21727. "type": "number"
  21728. },
  21729. "orifreezecharge": {
  21730. "description": "期初手续费冻结",
  21731. "type": "number"
  21732. },
  21733. "orifreezemargin": {
  21734. "description": "期初冻结保证金",
  21735. "type": "number"
  21736. },
  21737. "orimortgagecredit": {
  21738. "description": "期初授信金额",
  21739. "type": "number"
  21740. },
  21741. "oriothercredit": {
  21742. "description": "期初其它授信金额",
  21743. "type": "number"
  21744. },
  21745. "oriotherfreezemargin": {
  21746. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21747. "type": "number"
  21748. },
  21749. "orioutamountfreeze": {
  21750. "description": "期初出金冻结",
  21751. "type": "number"
  21752. },
  21753. "oriusedmargin": {
  21754. "description": "期初占用保证金",
  21755. "type": "number"
  21756. },
  21757. "othercredit": {
  21758. "description": "其它授信金额",
  21759. "type": "number"
  21760. },
  21761. "othercreditdecrease": {
  21762. "description": "今日其它授信减少",
  21763. "type": "number"
  21764. },
  21765. "othercreditincrease": {
  21766. "description": "今日其它授信增加",
  21767. "type": "number"
  21768. },
  21769. "otherfreezemargin": {
  21770. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21771. "type": "number"
  21772. },
  21773. "otherincome": {
  21774. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21775. "type": "number"
  21776. },
  21777. "otherpay": {
  21778. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21779. "type": "number"
  21780. },
  21781. "outamount": {
  21782. "description": "今日出金金额(包括三方出金)",
  21783. "type": "number"
  21784. },
  21785. "outamountfreeze": {
  21786. "description": "出金冻结",
  21787. "type": "number"
  21788. },
  21789. "outthreshold": {
  21790. "description": "出金阈值",
  21791. "type": "number"
  21792. },
  21793. "parentaccountid": {
  21794. "description": "所属根账号",
  21795. "type": "integer"
  21796. },
  21797. "paycharge": {
  21798. "description": "今日手续费支出",
  21799. "type": "number"
  21800. },
  21801. "relatedaccountstatus": {
  21802. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21803. "type": "integer"
  21804. },
  21805. "relateduserid": {
  21806. "description": "关联用户",
  21807. "type": "integer"
  21808. },
  21809. "serivcegroup": {
  21810. "description": "服务分组",
  21811. "type": "integer"
  21812. },
  21813. "signstatus": {
  21814. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21815. "type": "integer"
  21816. },
  21817. "sublevelpath": {
  21818. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21819. "type": "string"
  21820. },
  21821. "taaccounttype": {
  21822. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21823. "type": "integer"
  21824. },
  21825. "thirdinamount": {
  21826. "description": "今日三方入金",
  21827. "type": "number"
  21828. },
  21829. "thirdoutamount": {
  21830. "description": "今日三方出金",
  21831. "type": "number"
  21832. },
  21833. "tradestatus": {
  21834. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21835. "type": "integer"
  21836. },
  21837. "tradestatuschangetime": {
  21838. "description": "激活时间",
  21839. "type": "string"
  21840. },
  21841. "transferamount": {
  21842. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21843. "type": "number"
  21844. },
  21845. "usedmargin": {
  21846. "description": "占用保证金",
  21847. "type": "number"
  21848. },
  21849. "userid": {
  21850. "description": "用户ID",
  21851. "type": "integer"
  21852. }
  21853. }
  21854. },
  21855. "models.Tablecolumnconfig": {
  21856. "type": "object",
  21857. "required": [
  21858. "autoid"
  21859. ],
  21860. "properties": {
  21861. "aligntype": {
  21862. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21863. "type": "integer"
  21864. },
  21865. "autoid": {
  21866. "description": "AutoID",
  21867. "type": "integer"
  21868. },
  21869. "columnfield": {
  21870. "description": "列字段",
  21871. "type": "string"
  21872. },
  21873. "columntitle": {
  21874. "description": "列Title",
  21875. "type": "string"
  21876. },
  21877. "columnwidth": {
  21878. "description": "列宽",
  21879. "type": "string"
  21880. },
  21881. "formatterstring": {
  21882. "description": "格式化字符",
  21883. "type": "string"
  21884. },
  21885. "formattertype": {
  21886. "description": "格式化类型",
  21887. "type": "string"
  21888. },
  21889. "groupname": {
  21890. "description": "表头分组名称",
  21891. "type": "string"
  21892. },
  21893. "isshow": {
  21894. "description": "是否显示 - 0:不显示 1:显示",
  21895. "type": "integer"
  21896. },
  21897. "needsummary": {
  21898. "description": "是否需要汇总 - 0:不需要 1:需要",
  21899. "type": "integer"
  21900. },
  21901. "orderindex": {
  21902. "description": "顺序",
  21903. "type": "integer"
  21904. },
  21905. "remark": {
  21906. "description": "备注",
  21907. "type": "string"
  21908. },
  21909. "summarytype": {
  21910. "description": "汇总类型 - 1:加总 2:最后一个",
  21911. "type": "integer"
  21912. },
  21913. "tablekey": {
  21914. "description": "列表Key",
  21915. "type": "string"
  21916. }
  21917. }
  21918. },
  21919. "models.UserCollectConfig": {
  21920. "type": "object",
  21921. "properties": {
  21922. "accountstatus": {
  21923. "description": "账户状态 - 1:正常 2:停用 3:注销",
  21924. "type": "integer"
  21925. },
  21926. "collectaccountname": {
  21927. "description": "收款人账户名称",
  21928. "type": "string"
  21929. },
  21930. "collectaccountno": {
  21931. "description": "收款人账户",
  21932. "type": "string"
  21933. },
  21934. "collectbankname": {
  21935. "description": "收款人开户行",
  21936. "type": "string"
  21937. },
  21938. "collectbranchbankname": {
  21939. "description": "收款人开户支行",
  21940. "type": "string"
  21941. },
  21942. "collectconfigid": {
  21943. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  21944. "type": "string"
  21945. },
  21946. "remark": {
  21947. "description": "备注",
  21948. "type": "string"
  21949. },
  21950. "userid": {
  21951. "description": "收款人用户ID",
  21952. "type": "integer"
  21953. }
  21954. }
  21955. },
  21956. "models.UserReceiveInfo": {
  21957. "type": "object",
  21958. "properties": {
  21959. "address": {
  21960. "description": "提货人详细地址",
  21961. "type": "string"
  21962. },
  21963. "autoid": {
  21964. "description": "AutoID",
  21965. "type": "integer"
  21966. },
  21967. "cardnum": {
  21968. "description": "证件号码(加密存储)",
  21969. "type": "string"
  21970. },
  21971. "cardtypeid": {
  21972. "description": "证件类型",
  21973. "type": "integer"
  21974. },
  21975. "cityid": {
  21976. "description": "市",
  21977. "type": "integer"
  21978. },
  21979. "cityname": {
  21980. "description": "城市名称",
  21981. "type": "string"
  21982. },
  21983. "countryid": {
  21984. "description": "国家",
  21985. "type": "integer"
  21986. },
  21987. "countryname": {
  21988. "description": "国家名称",
  21989. "type": "string"
  21990. },
  21991. "districtid": {
  21992. "description": "地区",
  21993. "type": "integer"
  21994. },
  21995. "districtname": {
  21996. "description": "地区名称",
  21997. "type": "string"
  21998. },
  21999. "hasencrypt": {
  22000. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22001. "type": "integer"
  22002. },
  22003. "isdefault": {
  22004. "description": "是否默认地址 - 0:否 1:是",
  22005. "type": "integer"
  22006. },
  22007. "phonenum": {
  22008. "description": "提货人联系方式(加密存储)",
  22009. "type": "string"
  22010. },
  22011. "provinceid": {
  22012. "description": "省",
  22013. "type": "integer"
  22014. },
  22015. "provincename": {
  22016. "description": "省名称",
  22017. "type": "string"
  22018. },
  22019. "receivername": {
  22020. "description": "提货人姓名",
  22021. "type": "string"
  22022. },
  22023. "takeremark": {
  22024. "description": "提货备注",
  22025. "type": "string"
  22026. },
  22027. "userid": {
  22028. "description": "用户ID",
  22029. "type": "integer"
  22030. }
  22031. }
  22032. },
  22033. "models.Useraccount": {
  22034. "type": "object",
  22035. "required": [
  22036. "userid"
  22037. ],
  22038. "properties": {
  22039. "accountname": {
  22040. "description": "账户名称(机构名称)",
  22041. "type": "string"
  22042. },
  22043. "accountstatus": {
  22044. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22045. "type": "integer"
  22046. },
  22047. "applysrc": {
  22048. "description": "申请来源 - 1:管理端 2:终端",
  22049. "type": "integer"
  22050. },
  22051. "auditremark": {
  22052. "description": "审核备注",
  22053. "type": "string"
  22054. },
  22055. "auditsrc": {
  22056. "description": "审核来源 - 1:管理端 2:终端",
  22057. "type": "integer"
  22058. },
  22059. "audittime": {
  22060. "description": "审核时间",
  22061. "type": "string"
  22062. },
  22063. "audituserid": {
  22064. "description": "审核人",
  22065. "type": "integer"
  22066. },
  22067. "broker": {
  22068. "description": "所属经纪人ID",
  22069. "type": "integer"
  22070. },
  22071. "canceltime": {
  22072. "description": "销户时间",
  22073. "type": "string"
  22074. },
  22075. "canceluserid": {
  22076. "description": "销户人",
  22077. "type": "integer"
  22078. },
  22079. "canrecommend": {
  22080. "description": "是否可推荐 - 0:不可 1;可",
  22081. "type": "integer"
  22082. },
  22083. "createtime": {
  22084. "description": "创建时间",
  22085. "type": "string"
  22086. },
  22087. "creatorid": {
  22088. "description": "创建人",
  22089. "type": "integer"
  22090. },
  22091. "hasauth": {
  22092. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22093. "type": "integer"
  22094. },
  22095. "isanonymous": {
  22096. "description": "是否匿名下单 - 0:否 1:是",
  22097. "type": "integer"
  22098. },
  22099. "maxinvestornum": {
  22100. "description": "最大用户数(经纪会员下投资者个数)",
  22101. "type": "integer"
  22102. },
  22103. "memberuserid": {
  22104. "description": "所属会员ID",
  22105. "type": "integer"
  22106. },
  22107. "modifierid": {
  22108. "description": "修改人",
  22109. "type": "integer"
  22110. },
  22111. "modifyremark": {
  22112. "description": "变更备注",
  22113. "type": "string"
  22114. },
  22115. "modifystatus": {
  22116. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22117. "type": "integer"
  22118. },
  22119. "modifytime": {
  22120. "description": "修改时间",
  22121. "type": "string"
  22122. },
  22123. "parenttopuser": {
  22124. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22125. "type": "string"
  22126. },
  22127. "parentuserid": {
  22128. "description": "所属机构ID",
  22129. "type": "integer"
  22130. },
  22131. "reckonaccountid": {
  22132. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22133. "type": "integer"
  22134. },
  22135. "refercount": {
  22136. "description": "推荐总人数",
  22137. "type": "integer"
  22138. },
  22139. "refereeuserid": {
  22140. "description": "推荐人ID",
  22141. "type": "integer"
  22142. },
  22143. "refernum": {
  22144. "description": "推荐码",
  22145. "type": "string"
  22146. },
  22147. "rootuserid": {
  22148. "description": "根用户ID",
  22149. "type": "integer"
  22150. },
  22151. "subaccountlevel": {
  22152. "description": "子账户层数",
  22153. "type": "integer"
  22154. },
  22155. "subarealevelpath": {
  22156. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22157. "type": "string"
  22158. },
  22159. "userid": {
  22160. "description": "用户ID",
  22161. "type": "integer"
  22162. },
  22163. "usertype": {
  22164. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22165. "type": "integer"
  22166. }
  22167. }
  22168. },
  22169. "models.Userfavoritegoods": {
  22170. "type": "object",
  22171. "required": [
  22172. "goodsid"
  22173. ],
  22174. "properties": {
  22175. "goodsid": {
  22176. "description": "商品ID",
  22177. "type": "integer"
  22178. }
  22179. }
  22180. },
  22181. "models.Userinfo": {
  22182. "type": "object",
  22183. "required": [
  22184. "userid"
  22185. ],
  22186. "properties": {
  22187. "address": {
  22188. "description": "地址",
  22189. "type": "string"
  22190. },
  22191. "attachment1": {
  22192. "description": "附件1",
  22193. "type": "string"
  22194. },
  22195. "attachment2": {
  22196. "description": "附件2",
  22197. "type": "string"
  22198. },
  22199. "bankaccount": {
  22200. "description": "银行帐号 (加密存储)",
  22201. "type": "string"
  22202. },
  22203. "bankaccountname": {
  22204. "description": "收款人名称",
  22205. "type": "string"
  22206. },
  22207. "bankcardfrontphotourl": {
  22208. "description": "银行卡正面照地址",
  22209. "type": "string"
  22210. },
  22211. "bankid": {
  22212. "description": "银行编码",
  22213. "type": "string"
  22214. },
  22215. "bankname": {
  22216. "description": "银行名称",
  22217. "type": "string"
  22218. },
  22219. "biznature": {
  22220. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22221. "type": "integer"
  22222. },
  22223. "bizscope": {
  22224. "description": "企业经营范围(企业)",
  22225. "type": "string"
  22226. },
  22227. "cardbackphotourl": {
  22228. "description": "证件背面图片地址",
  22229. "type": "string"
  22230. },
  22231. "cardfrontphotourl": {
  22232. "description": "证件正面图片地址",
  22233. "type": "string"
  22234. },
  22235. "cardnum": {
  22236. "description": "证件号码(加密存储)",
  22237. "type": "string"
  22238. },
  22239. "cardtypeid": {
  22240. "description": "证件类型ID",
  22241. "type": "integer"
  22242. },
  22243. "cityid": {
  22244. "description": "市",
  22245. "type": "integer"
  22246. },
  22247. "company": {
  22248. "description": "公司(个人)",
  22249. "type": "string"
  22250. },
  22251. "contactname": {
  22252. "description": "联系人",
  22253. "type": "string"
  22254. },
  22255. "countryid": {
  22256. "description": "国家",
  22257. "type": "integer"
  22258. },
  22259. "createtime": {
  22260. "description": "创建时间",
  22261. "type": "string"
  22262. },
  22263. "creatorid": {
  22264. "description": "创建人",
  22265. "type": "integer"
  22266. },
  22267. "customername": {
  22268. "description": "客户名称(企业名称)",
  22269. "type": "string"
  22270. },
  22271. "districtid": {
  22272. "description": "地区",
  22273. "type": "integer"
  22274. },
  22275. "email": {
  22276. "description": "邮件(加密存储)",
  22277. "type": "string"
  22278. },
  22279. "fax": {
  22280. "description": "传真(加密存储)",
  22281. "type": "string"
  22282. },
  22283. "halfbodyphotourl": {
  22284. "description": "半身照地址",
  22285. "type": "string"
  22286. },
  22287. "hasencrypt": {
  22288. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22289. "type": "integer"
  22290. },
  22291. "headurl": {
  22292. "description": "头像地址",
  22293. "type": "string"
  22294. },
  22295. "legalcardbackphotourl": {
  22296. "description": "法人身份证背面照地址",
  22297. "type": "string"
  22298. },
  22299. "legalcardfrontphotourl": {
  22300. "description": "法人身份证正面照地址",
  22301. "type": "string"
  22302. },
  22303. "legalpersonname": {
  22304. "description": "法人姓名(企业)",
  22305. "type": "string"
  22306. },
  22307. "mobile": {
  22308. "description": "手机号码(加密存储)",
  22309. "type": "string"
  22310. },
  22311. "mobile2": {
  22312. "description": "手机号码[明文-尚志]",
  22313. "type": "string"
  22314. },
  22315. "modifierid": {
  22316. "description": "修改人",
  22317. "type": "integer"
  22318. },
  22319. "modifiertime": {
  22320. "description": "修改时间",
  22321. "type": "string"
  22322. },
  22323. "needinvoice": {
  22324. "description": "是否需要发票 - 0:不需要 1:需要",
  22325. "type": "integer"
  22326. },
  22327. "nickname": {
  22328. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22329. "type": "string"
  22330. },
  22331. "openmode": {
  22332. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22333. "type": "integer"
  22334. },
  22335. "otherurl": {
  22336. "description": "其它图片地址[使用分号分隔]",
  22337. "type": "string"
  22338. },
  22339. "postalcode": {
  22340. "description": "邮政编码",
  22341. "type": "string"
  22342. },
  22343. "provinceid": {
  22344. "description": "省",
  22345. "type": "integer"
  22346. },
  22347. "qq": {
  22348. "description": "QQ(加密存储",
  22349. "type": "string"
  22350. },
  22351. "remark": {
  22352. "description": "备注",
  22353. "type": "string"
  22354. },
  22355. "sex": {
  22356. "description": "用户性别 0: 女 1: 男",
  22357. "type": "integer"
  22358. },
  22359. "signpdfurl": {
  22360. "description": "签约pdf文件",
  22361. "type": "string"
  22362. },
  22363. "telphone": {
  22364. "description": "联系电话(加密存储)",
  22365. "type": "string"
  22366. },
  22367. "userid": {
  22368. "description": "用户ID",
  22369. "type": "integer"
  22370. },
  22371. "userinfotype": {
  22372. "description": "用户信息类型 - 1:个人 2:企业",
  22373. "type": "integer"
  22374. },
  22375. "userstatus": {
  22376. "description": "用户状态 - 1:正常 2:注销",
  22377. "type": "integer"
  22378. },
  22379. "usertype": {
  22380. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22381. "type": "integer"
  22382. },
  22383. "wechat": {
  22384. "description": "微信(加密存储)",
  22385. "type": "string"
  22386. },
  22387. "wskhinfo": {
  22388. "description": "开户申请信息(JSON)",
  22389. "type": "string"
  22390. }
  22391. }
  22392. },
  22393. "models.WRSConverTDetail": {
  22394. "type": "object",
  22395. "properties": {
  22396. "convertratio": {
  22397. "description": "套保系数",
  22398. "type": "number"
  22399. },
  22400. "deliverygoodscode": {
  22401. "description": "现货商品代码",
  22402. "type": "string"
  22403. },
  22404. "deliverygoodsid": {
  22405. "description": "现货品种ID",
  22406. "type": "integer"
  22407. },
  22408. "deliverygoodsname": {
  22409. "description": "现货商品名称",
  22410. "type": "string"
  22411. },
  22412. "enumdicname": {
  22413. "description": "单位名称",
  22414. "type": "string"
  22415. },
  22416. "goodsunitid": {
  22417. "description": "套保品种单位id",
  22418. "type": "integer"
  22419. },
  22420. "middlegoodscode": {
  22421. "description": "套保品种代码",
  22422. "type": "string"
  22423. },
  22424. "middlegoodsid": {
  22425. "description": "套保品种ID",
  22426. "type": "integer"
  22427. },
  22428. "middlegoodsname": {
  22429. "description": "套保品种名称",
  22430. "type": "string"
  22431. },
  22432. "modifytime": {
  22433. "description": "修改时间",
  22434. "type": "string"
  22435. },
  22436. "wrstandardid": {
  22437. "description": "品类ID",
  22438. "type": "integer"
  22439. }
  22440. }
  22441. },
  22442. "models.WRStandardInfo": {
  22443. "type": "object",
  22444. "required": [
  22445. "wrstandardid"
  22446. ],
  22447. "properties": {
  22448. "areauserid": {
  22449. "description": "所属机构",
  22450. "type": "integer"
  22451. },
  22452. "convertfactor": {
  22453. "description": "标仓系数",
  22454. "type": "number"
  22455. },
  22456. "createtime": {
  22457. "description": "创建时间",
  22458. "type": "string"
  22459. },
  22460. "creatorid": {
  22461. "description": "创建人",
  22462. "type": "integer"
  22463. },
  22464. "deliverygoodsid": {
  22465. "description": "品种ID",
  22466. "type": "integer"
  22467. },
  22468. "deliverygoodsname": {
  22469. "description": "交割商品名称",
  22470. "type": "string"
  22471. },
  22472. "factoryitemjson": {
  22473. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22474. "type": "string"
  22475. },
  22476. "isvalid": {
  22477. "description": "是否有效 - 0:无效 1:有效",
  22478. "type": "integer"
  22479. },
  22480. "minivalue": {
  22481. "description": "最小变动值",
  22482. "type": "integer"
  22483. },
  22484. "minivaluedp": {
  22485. "description": "最小变动值小数位",
  22486. "type": "integer"
  22487. },
  22488. "realminivalue": {
  22489. "description": "实际最小变动值",
  22490. "type": "integer"
  22491. },
  22492. "realminivaluedp": {
  22493. "description": "实际最小变动值小数位",
  22494. "type": "integer"
  22495. },
  22496. "remark": {
  22497. "description": "备注",
  22498. "type": "string"
  22499. },
  22500. "unitid": {
  22501. "description": "单位ID",
  22502. "type": "integer"
  22503. },
  22504. "unitname": {
  22505. "description": "单位",
  22506. "type": "string"
  22507. },
  22508. "updatetime": {
  22509. "description": "更新时间",
  22510. "type": "string"
  22511. },
  22512. "updatorid": {
  22513. "description": "更新人",
  22514. "type": "integer"
  22515. },
  22516. "wrsstatus": {
  22517. "description": "状态 - 作废 - 0:未激活 1:正常",
  22518. "type": "integer"
  22519. },
  22520. "wrstandardcode": {
  22521. "description": "现货品类代码",
  22522. "type": "string"
  22523. },
  22524. "wrstandardid": {
  22525. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22526. "type": "integer"
  22527. },
  22528. "wrstandardname": {
  22529. "description": "现货品类名称",
  22530. "type": "string"
  22531. }
  22532. }
  22533. },
  22534. "models.Warehouseinfo": {
  22535. "type": "object",
  22536. "required": [
  22537. "autoid",
  22538. "warehousecode"
  22539. ],
  22540. "properties": {
  22541. "address": {
  22542. "description": "详细地址",
  22543. "type": "string"
  22544. },
  22545. "areauserid": {
  22546. "description": "所属机构",
  22547. "type": "integer"
  22548. },
  22549. "autoid": {
  22550. "description": "自增ID",
  22551. "type": "integer"
  22552. },
  22553. "cityid": {
  22554. "description": "市",
  22555. "type": "integer"
  22556. },
  22557. "contactname": {
  22558. "description": "联系人",
  22559. "type": "string"
  22560. },
  22561. "contactnum": {
  22562. "description": "联系电话",
  22563. "type": "string"
  22564. },
  22565. "countryid": {
  22566. "description": "国家",
  22567. "type": "integer"
  22568. },
  22569. "createtime": {
  22570. "description": "创建时间",
  22571. "type": "string"
  22572. },
  22573. "districtid": {
  22574. "description": "区",
  22575. "type": "integer"
  22576. },
  22577. "hasvideo": {
  22578. "description": "是否有视频 - 0:无 1:有",
  22579. "type": "integer"
  22580. },
  22581. "provinceid": {
  22582. "description": "省",
  22583. "type": "integer"
  22584. },
  22585. "remark": {
  22586. "description": "审核备注",
  22587. "type": "string"
  22588. },
  22589. "videourl": {
  22590. "description": "视频地址",
  22591. "type": "string"
  22592. },
  22593. "warehousecode": {
  22594. "description": "仓库代码",
  22595. "type": "string"
  22596. },
  22597. "warehousename": {
  22598. "description": "仓库名称",
  22599. "type": "string"
  22600. },
  22601. "warehousestatus": {
  22602. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22603. "type": "integer"
  22604. },
  22605. "warehousetype": {
  22606. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22607. "type": "integer"
  22608. }
  22609. }
  22610. },
  22611. "order.QueryHisTradeDetailRsp": {
  22612. "type": "object",
  22613. "required": [
  22614. "accountid",
  22615. "buyorsell",
  22616. "goodsid",
  22617. "histradedate",
  22618. "marketid",
  22619. "memberuserid",
  22620. "orderid",
  22621. "tradeamount",
  22622. "tradedate",
  22623. "tradeid",
  22624. "tradeprice",
  22625. "tradeqty",
  22626. "tradetime"
  22627. ],
  22628. "properties": {
  22629. "accountid": {
  22630. "description": "账户ID[报价币种]",
  22631. "type": "integer"
  22632. },
  22633. "buildtype": {
  22634. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22635. "type": "integer"
  22636. },
  22637. "buyorsell": {
  22638. "description": "方向 - 0:买 1:卖",
  22639. "type": "integer"
  22640. },
  22641. "charge": {
  22642. "description": "手续费",
  22643. "type": "number"
  22644. },
  22645. "closecharge": {
  22646. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22647. "type": "number"
  22648. },
  22649. "closeexchagechargevalue": {
  22650. "description": "平仓交易所手续费设置值",
  22651. "type": "number"
  22652. },
  22653. "closefeealgorithm": {
  22654. "description": "平仓手续费收取方式 1:比率 2:固定",
  22655. "type": "integer"
  22656. },
  22657. "closememberchargevalue": {
  22658. "description": "平仓会员手续费设置值",
  22659. "type": "number"
  22660. },
  22661. "closepl": {
  22662. "description": "平仓盈亏",
  22663. "type": "number"
  22664. },
  22665. "closepl2": {
  22666. "description": "平仓盈亏[逐笔]",
  22667. "type": "number"
  22668. },
  22669. "closeqty": {
  22670. "description": "平仓数量(先建后平操作 需要记录)",
  22671. "type": "integer"
  22672. },
  22673. "creditamount": {
  22674. "description": "授信金额",
  22675. "type": "number"
  22676. },
  22677. "gcaccountid": {
  22678. "description": "账户ID[合约币种]",
  22679. "type": "integer"
  22680. },
  22681. "goodscode": {
  22682. "description": "商品代码",
  22683. "type": "string"
  22684. },
  22685. "goodsid": {
  22686. "description": "商品ID",
  22687. "type": "integer"
  22688. },
  22689. "goodsname": {
  22690. "description": "商品名称",
  22691. "type": "string"
  22692. },
  22693. "histradedate": {
  22694. "description": "历史交易日",
  22695. "type": "string"
  22696. },
  22697. "intclosepl": {
  22698. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22699. "type": "integer"
  22700. },
  22701. "isconfirmexercise": {
  22702. "description": "是否确认行权- 0:否 1:是",
  22703. "type": "integer"
  22704. },
  22705. "ismain": {
  22706. "description": "是否主单 - 0:不是 1:是",
  22707. "type": "integer"
  22708. },
  22709. "ispreexercise": {
  22710. "description": "是否预申报- 0:否 1:是",
  22711. "type": "integer"
  22712. },
  22713. "isreckoned": {
  22714. "description": "是否结算 - 0:未结算 1:已结算",
  22715. "type": "integer"
  22716. },
  22717. "isvaliddata": {
  22718. "description": "是否有效 - 0:无效 1:有效",
  22719. "type": "integer"
  22720. },
  22721. "listingselecttype": {
  22722. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22723. "type": "integer"
  22724. },
  22725. "marketid": {
  22726. "description": "市场ID",
  22727. "type": "integer"
  22728. },
  22729. "marketname": {
  22730. "description": "市场名称",
  22731. "type": "string"
  22732. },
  22733. "matchaccountid": {
  22734. "description": "对手账号id",
  22735. "type": "integer"
  22736. },
  22737. "memberuserid": {
  22738. "description": "会员id 个人投资者 需要填写",
  22739. "type": "integer"
  22740. },
  22741. "opencharge": {
  22742. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22743. "type": "number"
  22744. },
  22745. "openexchagechargevalue": {
  22746. "description": "建仓交易所手续费设置值",
  22747. "type": "number"
  22748. },
  22749. "openfeealgorithm": {
  22750. "description": "建仓手续费收取方式 1:比率 2:固定",
  22751. "type": "integer"
  22752. },
  22753. "openmemberchargevalue": {
  22754. "description": "建仓会员手续费设置值",
  22755. "type": "number"
  22756. },
  22757. "openqty": {
  22758. "description": "开仓数量(先建后平操作 需要记录)",
  22759. "type": "integer"
  22760. },
  22761. "optiontype": {
  22762. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22763. "type": "integer"
  22764. },
  22765. "orderid": {
  22766. "description": "委托单号",
  22767. "type": "string"
  22768. },
  22769. "performanceplanid": {
  22770. "description": "履约计划ID[期权]",
  22771. "type": "integer"
  22772. },
  22773. "performancestatus": {
  22774. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22775. "type": "integer"
  22776. },
  22777. "preexerciseprice": {
  22778. "description": "预申报价格",
  22779. "type": "number"
  22780. },
  22781. "premium": {
  22782. "description": "权利金 - [持仓单的权利金]",
  22783. "type": "number"
  22784. },
  22785. "relatedouttradeid": {
  22786. "description": "关联外部成交单ID",
  22787. "type": "integer"
  22788. },
  22789. "status": {
  22790. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22791. "type": "integer"
  22792. },
  22793. "tradeamount": {
  22794. "description": "成交金额[账户币种,用于所有权]",
  22795. "type": "number"
  22796. },
  22797. "tradedate": {
  22798. "description": "交易日(yyyyMMdd)",
  22799. "type": "string"
  22800. },
  22801. "tradeid": {
  22802. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22803. "type": "string"
  22804. },
  22805. "trademode": {
  22806. "description": "交易模式",
  22807. "type": "integer"
  22808. },
  22809. "tradeprice": {
  22810. "description": "成交价格",
  22811. "type": "number"
  22812. },
  22813. "tradeproperty": {
  22814. "description": "交易属性",
  22815. "type": "integer"
  22816. },
  22817. "tradeqty": {
  22818. "description": "成交数量",
  22819. "type": "integer"
  22820. },
  22821. "tradetime": {
  22822. "description": "成交时间",
  22823. "type": "string"
  22824. },
  22825. "tradetype": {
  22826. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22827. "type": "integer"
  22828. }
  22829. }
  22830. },
  22831. "order.QueryHisTradeOrderDetailRsp": {
  22832. "type": "object",
  22833. "required": [
  22834. "accountid",
  22835. "buildtype",
  22836. "buyorsell",
  22837. "goodsid",
  22838. "histradedate",
  22839. "marketid",
  22840. "memberuserid",
  22841. "operatetype",
  22842. "orderid",
  22843. "orderqty",
  22844. "ordertime",
  22845. "pricemode",
  22846. "tradedate",
  22847. "validtype"
  22848. ],
  22849. "properties": {
  22850. "accountid": {
  22851. "description": "账户ID[报价币种]",
  22852. "type": "integer"
  22853. },
  22854. "buildtype": {
  22855. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22856. "type": "integer"
  22857. },
  22858. "buyorsell": {
  22859. "description": "买卖 - 0:买 1:卖",
  22860. "type": "integer"
  22861. },
  22862. "cancelorderid": {
  22863. "description": "撤单单号(撤单时填写)",
  22864. "type": "string"
  22865. },
  22866. "cancelqty": {
  22867. "description": "撤单数量",
  22868. "type": "integer"
  22869. },
  22870. "clientordertime": {
  22871. "description": "客户端委托时间",
  22872. "type": "string"
  22873. },
  22874. "clientticket": {
  22875. "description": "客户端流水号",
  22876. "type": "string"
  22877. },
  22878. "clienttype": {
  22879. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22880. "type": "integer"
  22881. },
  22882. "closeexchagechargevalue": {
  22883. "description": "平仓交易所手续费设置值",
  22884. "type": "number"
  22885. },
  22886. "closefeealgorithm": {
  22887. "description": "平仓手续费收取方式 1:比率 2:固定",
  22888. "type": "integer"
  22889. },
  22890. "closefreezecharge": {
  22891. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22892. "type": "number"
  22893. },
  22894. "closememberchargevalue": {
  22895. "description": "平仓会员手续费设置值",
  22896. "type": "number"
  22897. },
  22898. "closeqty": {
  22899. "description": "平仓数量(先建后平操作 需要记录)",
  22900. "type": "integer"
  22901. },
  22902. "closetradeqty": {
  22903. "description": "平仓成交数量(先建后平操作,需要记录)",
  22904. "type": "integer"
  22905. },
  22906. "closeunfreezecharge": {
  22907. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22908. "type": "number"
  22909. },
  22910. "delistingtype": {
  22911. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22912. "type": "integer"
  22913. },
  22914. "freezecharge": {
  22915. "description": "冻结手续费",
  22916. "type": "number"
  22917. },
  22918. "freezemargin": {
  22919. "description": "冻结保证金(冻结交易金额)",
  22920. "type": "number"
  22921. },
  22922. "gcaccountid": {
  22923. "description": "账户ID[合约币种]",
  22924. "type": "integer"
  22925. },
  22926. "goodscode": {
  22927. "description": "商品代码",
  22928. "type": "string"
  22929. },
  22930. "goodsid": {
  22931. "description": "商品ID",
  22932. "type": "integer"
  22933. },
  22934. "goodsname": {
  22935. "description": "商品名称",
  22936. "type": "string"
  22937. },
  22938. "histradedate": {
  22939. "description": "历史交易日",
  22940. "type": "string"
  22941. },
  22942. "isconfirmexercise": {
  22943. "description": "是否确认行权- 0:否 1:是",
  22944. "type": "integer"
  22945. },
  22946. "ispreexercise": {
  22947. "description": "是否预申报- 0:否 1:是",
  22948. "type": "integer"
  22949. },
  22950. "isvaliddata": {
  22951. "description": "是否有效 - 0:无效 1:有效",
  22952. "type": "integer"
  22953. },
  22954. "listingselecttype": {
  22955. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22956. "type": "integer"
  22957. },
  22958. "marginalgorithm": {
  22959. "description": "保证金收取方式 1:比率 2:固定",
  22960. "type": "integer"
  22961. },
  22962. "marginvalue": {
  22963. "description": "即市保证金设置值",
  22964. "type": "number"
  22965. },
  22966. "marketid": {
  22967. "description": "市场ID",
  22968. "type": "integer"
  22969. },
  22970. "marketmaxsub": {
  22971. "description": "市价最大偏移范围",
  22972. "type": "number"
  22973. },
  22974. "marketname": {
  22975. "description": "市场名称",
  22976. "type": "string"
  22977. },
  22978. "memberuserid": {
  22979. "description": "所属会员UserID",
  22980. "type": "integer"
  22981. },
  22982. "openexchagechargevalue": {
  22983. "description": "建仓交易所手续费设置值",
  22984. "type": "number"
  22985. },
  22986. "openfeealgorithm": {
  22987. "description": "建仓手续费收取方式 1:比率 2:固定",
  22988. "type": "integer"
  22989. },
  22990. "openfreezecharge": {
  22991. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22992. "type": "number"
  22993. },
  22994. "openmemberchargevalue": {
  22995. "description": "建仓会员手续费设置值",
  22996. "type": "number"
  22997. },
  22998. "openqty": {
  22999. "description": "开仓数量(先建后平操作,需要记录)",
  23000. "type": "integer"
  23001. },
  23002. "opentradeqty": {
  23003. "description": "开仓成交数量(先建后平操作,需要记录)",
  23004. "type": "integer"
  23005. },
  23006. "openunfreezecharge": {
  23007. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23008. "type": "number"
  23009. },
  23010. "operatetype": {
  23011. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23012. "type": "integer"
  23013. },
  23014. "operatorid": {
  23015. "description": "登录账号(LoginID)",
  23016. "type": "integer"
  23017. },
  23018. "optiontype": {
  23019. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23020. "type": "integer"
  23021. },
  23022. "orderid": {
  23023. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23024. "type": "string"
  23025. },
  23026. "orderprice": {
  23027. "description": "委托价格",
  23028. "type": "number"
  23029. },
  23030. "orderqty": {
  23031. "description": "委托数量",
  23032. "type": "integer"
  23033. },
  23034. "ordersrc": {
  23035. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23036. "type": "integer"
  23037. },
  23038. "orderstatus": {
  23039. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23040. "type": "integer"
  23041. },
  23042. "ordertime": {
  23043. "description": "委托时间",
  23044. "type": "string"
  23045. },
  23046. "preexerciseprice": {
  23047. "description": "预申报价格",
  23048. "type": "number"
  23049. },
  23050. "premium": {
  23051. "description": "权利金",
  23052. "type": "number"
  23053. },
  23054. "preorderid": {
  23055. "description": "关联预埋单号(止盈止损单时填写)",
  23056. "type": "string"
  23057. },
  23058. "pricemode": {
  23059. "description": "取价方式 - 1:市价 2: 限价",
  23060. "type": "integer"
  23061. },
  23062. "quoteid": {
  23063. "description": "报价单ID",
  23064. "type": "integer"
  23065. },
  23066. "relatedid": {
  23067. "description": "关联单号(交割单)",
  23068. "type": "string"
  23069. },
  23070. "retcode": {
  23071. "description": "错误代码",
  23072. "type": "integer"
  23073. },
  23074. "sessionid": {
  23075. "description": "会话ID",
  23076. "type": "integer"
  23077. },
  23078. "tradedate": {
  23079. "description": "交易日(yyyyMMdd)",
  23080. "type": "string"
  23081. },
  23082. "trademode": {
  23083. "description": "交易模式",
  23084. "type": "integer"
  23085. },
  23086. "tradeproperty": {
  23087. "description": "交易属性",
  23088. "type": "integer"
  23089. },
  23090. "tradeqty": {
  23091. "description": "成交数量",
  23092. "type": "integer"
  23093. },
  23094. "unfreezecharge": {
  23095. "description": "解冻手续费",
  23096. "type": "number"
  23097. },
  23098. "unfreezemargin": {
  23099. "description": "解冻保证金",
  23100. "type": "number"
  23101. },
  23102. "updatetime": {
  23103. "description": "更新时间",
  23104. "type": "string"
  23105. },
  23106. "uuid": {
  23107. "description": "发起端唯一id",
  23108. "type": "string"
  23109. },
  23110. "validtime": {
  23111. "description": "有效期限",
  23112. "type": "string"
  23113. },
  23114. "validtype": {
  23115. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23116. "type": "integer"
  23117. },
  23118. "volumetype": {
  23119. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23120. "type": "integer"
  23121. }
  23122. }
  23123. },
  23124. "order.QueryTradeDetailRsp": {
  23125. "type": "object",
  23126. "required": [
  23127. "accountid",
  23128. "buyorsell",
  23129. "goodsid",
  23130. "marketid",
  23131. "memberuserid",
  23132. "orderid",
  23133. "tradeamount",
  23134. "tradedate",
  23135. "tradeid",
  23136. "tradeprice",
  23137. "tradeqty",
  23138. "tradetime"
  23139. ],
  23140. "properties": {
  23141. "accountid": {
  23142. "description": "账户ID[报价币种]",
  23143. "type": "integer"
  23144. },
  23145. "buildtype": {
  23146. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23147. "type": "integer"
  23148. },
  23149. "buyorsell": {
  23150. "description": "方向 - 0:买 1:卖",
  23151. "type": "integer"
  23152. },
  23153. "charge": {
  23154. "description": "手续费",
  23155. "type": "number"
  23156. },
  23157. "closecharge": {
  23158. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23159. "type": "number"
  23160. },
  23161. "closeexchagechargevalue": {
  23162. "description": "平仓交易所手续费设置值",
  23163. "type": "number"
  23164. },
  23165. "closefeealgorithm": {
  23166. "description": "平仓手续费收取方式 1:比率 2:固定",
  23167. "type": "integer"
  23168. },
  23169. "closememberchargevalue": {
  23170. "description": "平仓会员手续费设置值",
  23171. "type": "number"
  23172. },
  23173. "closepl": {
  23174. "description": "平仓盈亏",
  23175. "type": "number"
  23176. },
  23177. "closepl2": {
  23178. "description": "平仓盈亏[逐笔]",
  23179. "type": "number"
  23180. },
  23181. "closeqty": {
  23182. "description": "平仓数量(先建后平操作 需要记录)",
  23183. "type": "integer"
  23184. },
  23185. "creditamount": {
  23186. "description": "授信金额",
  23187. "type": "number"
  23188. },
  23189. "gcaccountid": {
  23190. "description": "账户ID[合约币种]",
  23191. "type": "integer"
  23192. },
  23193. "goodscode": {
  23194. "description": "商品代码",
  23195. "type": "string"
  23196. },
  23197. "goodsid": {
  23198. "description": "商品ID",
  23199. "type": "integer"
  23200. },
  23201. "goodsname": {
  23202. "description": "商品名称",
  23203. "type": "string"
  23204. },
  23205. "intclosepl": {
  23206. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23207. "type": "integer"
  23208. },
  23209. "isconfirmexercise": {
  23210. "description": "是否确认行权- 0:否 1:是",
  23211. "type": "integer"
  23212. },
  23213. "ismain": {
  23214. "description": "是否主单 - 0:不是 1:是",
  23215. "type": "integer"
  23216. },
  23217. "ispreexercise": {
  23218. "description": "是否预申报- 0:否 1:是",
  23219. "type": "integer"
  23220. },
  23221. "isreckoned": {
  23222. "description": "是否结算 - 0:未结算 1:已结算",
  23223. "type": "integer"
  23224. },
  23225. "listingselecttype": {
  23226. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23227. "type": "integer"
  23228. },
  23229. "marketid": {
  23230. "description": "市场ID",
  23231. "type": "integer"
  23232. },
  23233. "marketname": {
  23234. "description": "市场名称",
  23235. "type": "string"
  23236. },
  23237. "matchaccountid": {
  23238. "description": "对手账号id",
  23239. "type": "integer"
  23240. },
  23241. "memberuserid": {
  23242. "description": "会员id 个人投资者 需要填写",
  23243. "type": "integer"
  23244. },
  23245. "opencharge": {
  23246. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23247. "type": "number"
  23248. },
  23249. "openexchagechargevalue": {
  23250. "description": "建仓交易所手续费设置值",
  23251. "type": "number"
  23252. },
  23253. "openfeealgorithm": {
  23254. "description": "建仓手续费收取方式 1:比率 2:固定",
  23255. "type": "integer"
  23256. },
  23257. "openmemberchargevalue": {
  23258. "description": "建仓会员手续费设置值",
  23259. "type": "number"
  23260. },
  23261. "openqty": {
  23262. "description": "开仓数量(先建后平操作 需要记录)",
  23263. "type": "integer"
  23264. },
  23265. "optiontype": {
  23266. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23267. "type": "integer"
  23268. },
  23269. "orderid": {
  23270. "description": "委托单号",
  23271. "type": "string"
  23272. },
  23273. "performanceplanid": {
  23274. "description": "履约计划ID[期权]",
  23275. "type": "integer"
  23276. },
  23277. "performancestatus": {
  23278. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23279. "type": "integer"
  23280. },
  23281. "preexerciseprice": {
  23282. "description": "预申报价格",
  23283. "type": "number"
  23284. },
  23285. "premium": {
  23286. "description": "权利金 - [持仓单的权利金]",
  23287. "type": "number"
  23288. },
  23289. "relatedouttradeid": {
  23290. "description": "关联外部成交单ID",
  23291. "type": "integer"
  23292. },
  23293. "status": {
  23294. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23295. "type": "integer"
  23296. },
  23297. "tradeamount": {
  23298. "description": "成交金额[账户币种,用于所有权]",
  23299. "type": "number"
  23300. },
  23301. "tradedate": {
  23302. "description": "交易日(yyyyMMdd)",
  23303. "type": "string"
  23304. },
  23305. "tradeid": {
  23306. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23307. "type": "string"
  23308. },
  23309. "trademode": {
  23310. "description": "交易模式",
  23311. "type": "integer"
  23312. },
  23313. "tradeprice": {
  23314. "description": "成交价格",
  23315. "type": "number"
  23316. },
  23317. "tradeproperty": {
  23318. "description": "交易属性",
  23319. "type": "integer"
  23320. },
  23321. "tradeqty": {
  23322. "description": "成交数量",
  23323. "type": "integer"
  23324. },
  23325. "tradetime": {
  23326. "description": "成交时间",
  23327. "type": "string"
  23328. },
  23329. "tradetype": {
  23330. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23331. "type": "integer"
  23332. }
  23333. }
  23334. },
  23335. "order.QueryTradeOrderDetailRsp": {
  23336. "type": "object",
  23337. "required": [
  23338. "accountid",
  23339. "buildtype",
  23340. "buyorsell",
  23341. "goodsid",
  23342. "marketid",
  23343. "operatetype",
  23344. "orderqty",
  23345. "ordertime",
  23346. "pricemode",
  23347. "tradedate",
  23348. "validtype"
  23349. ],
  23350. "properties": {
  23351. "accountid": {
  23352. "description": "账户ID[报价币种]",
  23353. "type": "integer"
  23354. },
  23355. "buildtype": {
  23356. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23357. "type": "integer"
  23358. },
  23359. "buyorsell": {
  23360. "description": "买卖 - 0:买 1:卖",
  23361. "type": "integer"
  23362. },
  23363. "cancelorderid": {
  23364. "description": "撤单单号(撤单时填写)",
  23365. "type": "string"
  23366. },
  23367. "cancelqty": {
  23368. "description": "撤单数量",
  23369. "type": "integer"
  23370. },
  23371. "clienttype": {
  23372. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23373. "type": "integer"
  23374. },
  23375. "closefreezecharge": {
  23376. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23377. "type": "number"
  23378. },
  23379. "closeqty": {
  23380. "description": "平仓数量(先建后平操作 需要记录)",
  23381. "type": "integer"
  23382. },
  23383. "closetradeqty": {
  23384. "description": "平仓成交数量(先建后平操作,需要记录)",
  23385. "type": "integer"
  23386. },
  23387. "closeunfreezecharge": {
  23388. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23389. "type": "number"
  23390. },
  23391. "delistingtype": {
  23392. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23393. "type": "integer"
  23394. },
  23395. "enableqty": {
  23396. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23397. "type": "integer"
  23398. },
  23399. "freezecharge": {
  23400. "description": "冻结手续费",
  23401. "type": "number"
  23402. },
  23403. "freezemargin": {
  23404. "description": "冻结保证金(冻结交易金额)",
  23405. "type": "number"
  23406. },
  23407. "goodscode": {
  23408. "description": "商品代码",
  23409. "type": "string"
  23410. },
  23411. "goodsid": {
  23412. "description": "商品ID",
  23413. "type": "integer"
  23414. },
  23415. "goodsname": {
  23416. "description": "商品名称",
  23417. "type": "string"
  23418. },
  23419. "listingselecttype": {
  23420. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23421. "type": "integer"
  23422. },
  23423. "marketid": {
  23424. "description": "市场ID",
  23425. "type": "integer"
  23426. },
  23427. "marketname": {
  23428. "description": "市场名称",
  23429. "type": "string"
  23430. },
  23431. "openfreezecharge": {
  23432. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23433. "type": "number"
  23434. },
  23435. "openqty": {
  23436. "description": "开仓数量(先建后平操作,需要记录)",
  23437. "type": "integer"
  23438. },
  23439. "opentradeqty": {
  23440. "description": "开仓成交数量(先建后平操作,需要记录)",
  23441. "type": "integer"
  23442. },
  23443. "openunfreezecharge": {
  23444. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23445. "type": "number"
  23446. },
  23447. "operatetype": {
  23448. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23449. "type": "integer"
  23450. },
  23451. "operatorid": {
  23452. "description": "登录账号(LoginID)",
  23453. "type": "integer"
  23454. },
  23455. "orderid": {
  23456. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23457. "type": "string"
  23458. },
  23459. "orderprice": {
  23460. "description": "委托价格",
  23461. "type": "number"
  23462. },
  23463. "orderqty": {
  23464. "description": "委托数量",
  23465. "type": "integer"
  23466. },
  23467. "ordersrc": {
  23468. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23469. "type": "integer"
  23470. },
  23471. "orderstatus": {
  23472. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23473. "type": "integer"
  23474. },
  23475. "ordertime": {
  23476. "description": "委托时间",
  23477. "type": "string"
  23478. },
  23479. "preorderid": {
  23480. "description": "关联预埋单号(止盈止损单时填写)",
  23481. "type": "string"
  23482. },
  23483. "pricemode": {
  23484. "description": "取价方式 - 1:市价 2: 限价",
  23485. "type": "integer"
  23486. },
  23487. "relatedid": {
  23488. "description": "关联单号(交割单)",
  23489. "type": "string"
  23490. },
  23491. "tradedate": {
  23492. "description": "交易日(yyyyMMdd)",
  23493. "type": "string"
  23494. },
  23495. "trademode": {
  23496. "description": "交易模式",
  23497. "type": "integer"
  23498. },
  23499. "tradeqty": {
  23500. "description": "成交数量",
  23501. "type": "integer"
  23502. },
  23503. "unfreezecharge": {
  23504. "description": "解冻手续费",
  23505. "type": "number"
  23506. },
  23507. "unfreezemargin": {
  23508. "description": "解冻保证金",
  23509. "type": "number"
  23510. },
  23511. "validtime": {
  23512. "description": "有效期限",
  23513. "type": "string"
  23514. },
  23515. "validtype": {
  23516. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23517. "type": "integer"
  23518. },
  23519. "volumetype": {
  23520. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23521. "type": "integer"
  23522. }
  23523. }
  23524. },
  23525. "order.QueryTradePositionRsp": {
  23526. "type": "object",
  23527. "required": [
  23528. "goodsid"
  23529. ],
  23530. "properties": {
  23531. "accountid": {
  23532. "description": "资金账户",
  23533. "type": "integer"
  23534. },
  23535. "agreeunit": {
  23536. "description": "合约单位",
  23537. "type": "number"
  23538. },
  23539. "averageprice": {
  23540. "description": "持仓均价",
  23541. "type": "number"
  23542. },
  23543. "buyorsell": {
  23544. "description": "方向 - 0:买 1:卖",
  23545. "type": "integer"
  23546. },
  23547. "closetotalqty": {
  23548. "description": "平仓总数量",
  23549. "type": "integer"
  23550. },
  23551. "curholderamount": {
  23552. "description": "当前持仓总金额[商品币种]",
  23553. "type": "number"
  23554. },
  23555. "curpositionqty": {
  23556. "description": "当前持仓总数量",
  23557. "type": "integer"
  23558. },
  23559. "currencyid": {
  23560. "description": "报价货币ID",
  23561. "type": "integer"
  23562. },
  23563. "curtdposition": {
  23564. "description": "期末今日头寸",
  23565. "type": "integer"
  23566. },
  23567. "decimalplace": {
  23568. "description": "报价小数位",
  23569. "type": "integer"
  23570. },
  23571. "enableqty": {
  23572. "description": "可用量",
  23573. "type": "integer"
  23574. },
  23575. "fretdposition": {
  23576. "description": "冻结今日头寸",
  23577. "type": "integer"
  23578. },
  23579. "frozenqty": {
  23580. "description": "持仓冻结数量",
  23581. "type": "integer"
  23582. },
  23583. "goodscode": {
  23584. "description": "商品代码",
  23585. "type": "string"
  23586. },
  23587. "goodsid": {
  23588. "description": "商品Id",
  23589. "type": "integer"
  23590. },
  23591. "goodsname": {
  23592. "description": "商品名称",
  23593. "type": "string"
  23594. },
  23595. "goodunit": {
  23596. "description": "报价单位",
  23597. "type": "string"
  23598. },
  23599. "goodunitid": {
  23600. "description": "报价单位ID",
  23601. "type": "integer"
  23602. },
  23603. "holderamount": {
  23604. "description": "期初持仓总金额[商品币种]",
  23605. "type": "number"
  23606. },
  23607. "marketid": {
  23608. "description": "所属市场ID",
  23609. "type": "integer"
  23610. },
  23611. "openreqqty": {
  23612. "description": "开仓申请数量(用于比较最大持仓数量)",
  23613. "type": "integer"
  23614. },
  23615. "opentotalqty": {
  23616. "description": "开仓总数量",
  23617. "type": "integer"
  23618. },
  23619. "otherfrozenqty": {
  23620. "description": "持仓其他冻结数量(交割冻结)",
  23621. "type": "integer"
  23622. },
  23623. "positionqty": {
  23624. "description": "期初持仓数量",
  23625. "type": "integer"
  23626. },
  23627. "tnqty": {
  23628. "description": "T+N冻结总量",
  23629. "type": "integer"
  23630. },
  23631. "tnusedqty": {
  23632. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23633. "type": "integer"
  23634. },
  23635. "trademode": {
  23636. "description": "交易模式",
  23637. "type": "integer"
  23638. },
  23639. "usedmargin": {
  23640. "description": "占用保证金[商品币种]",
  23641. "type": "number"
  23642. }
  23643. }
  23644. },
  23645. "quote.HistoryData": {
  23646. "type": "object",
  23647. "properties": {
  23648. "c": {
  23649. "description": "收盘价",
  23650. "type": "number"
  23651. },
  23652. "f": {
  23653. "description": "是否补充数据",
  23654. "type": "boolean"
  23655. },
  23656. "h": {
  23657. "description": "最高价",
  23658. "type": "number"
  23659. },
  23660. "hv": {
  23661. "description": "持仓量",
  23662. "type": "integer"
  23663. },
  23664. "l": {
  23665. "description": "最低价",
  23666. "type": "number"
  23667. },
  23668. "o": {
  23669. "description": "开盘价",
  23670. "type": "number"
  23671. },
  23672. "s": {
  23673. "description": "结算价,日线周期(包括)以上才有",
  23674. "type": "number"
  23675. },
  23676. "ts": {
  23677. "description": "时间",
  23678. "type": "string"
  23679. },
  23680. "tt": {
  23681. "description": "总金额",
  23682. "type": "number"
  23683. },
  23684. "tv": {
  23685. "description": "总量",
  23686. "type": "integer"
  23687. }
  23688. }
  23689. },
  23690. "quote.HistoryTikData": {
  23691. "type": "object",
  23692. "properties": {
  23693. "AV": {
  23694. "description": "卖量",
  23695. "type": "integer"
  23696. },
  23697. "Ask": {
  23698. "description": "卖价",
  23699. "type": "number"
  23700. },
  23701. "BV": {
  23702. "description": "买量",
  23703. "type": "integer"
  23704. },
  23705. "Bid": {
  23706. "description": "买价",
  23707. "type": "number"
  23708. },
  23709. "HI": {
  23710. "description": "单笔持仓",
  23711. "type": "integer"
  23712. },
  23713. "HV": {
  23714. "description": "持仓量",
  23715. "type": "integer"
  23716. },
  23717. "PE": {
  23718. "description": "现价",
  23719. "type": "number"
  23720. },
  23721. "TDR": {
  23722. "description": "交易方向,0:买 1:卖",
  23723. "type": "integer"
  23724. },
  23725. "TK": {
  23726. "description": "交易类型",
  23727. "type": "integer"
  23728. },
  23729. "TS": {
  23730. "description": "行情时间文本",
  23731. "type": "string"
  23732. },
  23733. "TT": {
  23734. "description": "现金额",
  23735. "type": "number"
  23736. },
  23737. "Vol": {
  23738. "description": "现量",
  23739. "type": "integer"
  23740. }
  23741. }
  23742. },
  23743. "quote.QueryQuoteDayRsp": {
  23744. "type": "object",
  23745. "properties": {
  23746. "ask": {
  23747. "description": "卖1",
  23748. "type": "number"
  23749. },
  23750. "ask10": {
  23751. "description": "卖10",
  23752. "type": "number"
  23753. },
  23754. "ask2": {
  23755. "description": "卖2",
  23756. "type": "number"
  23757. },
  23758. "ask3": {
  23759. "description": "卖3",
  23760. "type": "number"
  23761. },
  23762. "ask4": {
  23763. "description": "卖4",
  23764. "type": "number"
  23765. },
  23766. "ask5": {
  23767. "description": "卖5",
  23768. "type": "number"
  23769. },
  23770. "ask6": {
  23771. "description": "卖6",
  23772. "type": "number"
  23773. },
  23774. "ask7": {
  23775. "description": "卖7",
  23776. "type": "number"
  23777. },
  23778. "ask8": {
  23779. "description": "卖8",
  23780. "type": "number"
  23781. },
  23782. "ask9": {
  23783. "description": "卖9",
  23784. "type": "number"
  23785. },
  23786. "askorderid": {
  23787. "description": "卖单号1",
  23788. "type": "integer"
  23789. },
  23790. "askorderid2": {
  23791. "description": "卖单号2",
  23792. "type": "integer"
  23793. },
  23794. "askorderid3": {
  23795. "description": "卖单号3",
  23796. "type": "integer"
  23797. },
  23798. "askorderid4": {
  23799. "description": "卖单号4",
  23800. "type": "integer"
  23801. },
  23802. "askorderid5": {
  23803. "description": "卖单号5",
  23804. "type": "integer"
  23805. },
  23806. "askordervolume": {
  23807. "description": "卖单量1",
  23808. "type": "integer"
  23809. },
  23810. "askordervolume10": {
  23811. "description": "卖单量10",
  23812. "type": "integer"
  23813. },
  23814. "askordervolume2": {
  23815. "description": "卖单量2",
  23816. "type": "integer"
  23817. },
  23818. "askordervolume3": {
  23819. "description": "卖单量3",
  23820. "type": "integer"
  23821. },
  23822. "askordervolume4": {
  23823. "description": "卖单量4",
  23824. "type": "integer"
  23825. },
  23826. "askordervolume5": {
  23827. "description": "卖单量5",
  23828. "type": "integer"
  23829. },
  23830. "askordervolume6": {
  23831. "description": "卖单量6",
  23832. "type": "integer"
  23833. },
  23834. "askordervolume7": {
  23835. "description": "卖单量7",
  23836. "type": "integer"
  23837. },
  23838. "askordervolume8": {
  23839. "description": "卖单量8",
  23840. "type": "integer"
  23841. },
  23842. "askordervolume9": {
  23843. "description": "卖单量9",
  23844. "type": "integer"
  23845. },
  23846. "askqueueinfo": {
  23847. "description": "大利市卖港股用",
  23848. "type": "string"
  23849. },
  23850. "askvolume": {
  23851. "description": "卖量1",
  23852. "type": "integer"
  23853. },
  23854. "askvolume10": {
  23855. "description": "卖量10",
  23856. "type": "integer"
  23857. },
  23858. "askvolume2": {
  23859. "description": "卖量2",
  23860. "type": "integer"
  23861. },
  23862. "askvolume3": {
  23863. "description": "卖量3",
  23864. "type": "integer"
  23865. },
  23866. "askvolume4": {
  23867. "description": "卖量4",
  23868. "type": "integer"
  23869. },
  23870. "askvolume5": {
  23871. "description": "卖量5",
  23872. "type": "integer"
  23873. },
  23874. "askvolume6": {
  23875. "description": "卖量6",
  23876. "type": "integer"
  23877. },
  23878. "askvolume7": {
  23879. "description": "卖量7",
  23880. "type": "integer"
  23881. },
  23882. "askvolume8": {
  23883. "description": "卖量8",
  23884. "type": "integer"
  23885. },
  23886. "askvolume9": {
  23887. "description": "卖量9",
  23888. "type": "integer"
  23889. },
  23890. "averageprice": {
  23891. "description": "均价",
  23892. "type": "number"
  23893. },
  23894. "bid": {
  23895. "description": "买1",
  23896. "type": "number"
  23897. },
  23898. "bid10": {
  23899. "description": "买10",
  23900. "type": "number"
  23901. },
  23902. "bid2": {
  23903. "description": "买2",
  23904. "type": "number"
  23905. },
  23906. "bid3": {
  23907. "description": "买3",
  23908. "type": "number"
  23909. },
  23910. "bid4": {
  23911. "description": "买4",
  23912. "type": "number"
  23913. },
  23914. "bid5": {
  23915. "description": "买5",
  23916. "type": "number"
  23917. },
  23918. "bid6": {
  23919. "description": "买6",
  23920. "type": "number"
  23921. },
  23922. "bid7": {
  23923. "description": "买7",
  23924. "type": "number"
  23925. },
  23926. "bid8": {
  23927. "description": "买8",
  23928. "type": "number"
  23929. },
  23930. "bid9": {
  23931. "description": "买9",
  23932. "type": "number"
  23933. },
  23934. "bidorderid": {
  23935. "description": "买单号1",
  23936. "type": "integer"
  23937. },
  23938. "bidorderid2": {
  23939. "description": "买单号2",
  23940. "type": "integer"
  23941. },
  23942. "bidorderid3": {
  23943. "description": "买单号3",
  23944. "type": "integer"
  23945. },
  23946. "bidorderid4": {
  23947. "description": "买单号4",
  23948. "type": "integer"
  23949. },
  23950. "bidorderid5": {
  23951. "description": "买单号5",
  23952. "type": "integer"
  23953. },
  23954. "bidordervolume": {
  23955. "description": "买单量1",
  23956. "type": "integer"
  23957. },
  23958. "bidordervolume10": {
  23959. "description": "买单量10",
  23960. "type": "integer"
  23961. },
  23962. "bidordervolume2": {
  23963. "description": "买单量2",
  23964. "type": "integer"
  23965. },
  23966. "bidordervolume3": {
  23967. "description": "买单量3",
  23968. "type": "integer"
  23969. },
  23970. "bidordervolume4": {
  23971. "description": "买单量4",
  23972. "type": "integer"
  23973. },
  23974. "bidordervolume5": {
  23975. "description": "买单量5",
  23976. "type": "integer"
  23977. },
  23978. "bidordervolume6": {
  23979. "description": "买单量6",
  23980. "type": "integer"
  23981. },
  23982. "bidordervolume7": {
  23983. "description": "买单量7",
  23984. "type": "integer"
  23985. },
  23986. "bidordervolume8": {
  23987. "description": "买单量8",
  23988. "type": "integer"
  23989. },
  23990. "bidordervolume9": {
  23991. "description": "买单量9",
  23992. "type": "integer"
  23993. },
  23994. "bidqueueinfo": {
  23995. "description": "大利市买港股用",
  23996. "type": "string"
  23997. },
  23998. "bidvolume": {
  23999. "description": "买量1",
  24000. "type": "integer"
  24001. },
  24002. "bidvolume10": {
  24003. "description": "买量10",
  24004. "type": "integer"
  24005. },
  24006. "bidvolume2": {
  24007. "description": "买量2",
  24008. "type": "integer"
  24009. },
  24010. "bidvolume3": {
  24011. "description": "买量3",
  24012. "type": "integer"
  24013. },
  24014. "bidvolume4": {
  24015. "description": "买量4",
  24016. "type": "integer"
  24017. },
  24018. "bidvolume5": {
  24019. "description": "买量5",
  24020. "type": "integer"
  24021. },
  24022. "bidvolume6": {
  24023. "description": "买量6",
  24024. "type": "integer"
  24025. },
  24026. "bidvolume7": {
  24027. "description": "买量7",
  24028. "type": "integer"
  24029. },
  24030. "bidvolume8": {
  24031. "description": "买量8",
  24032. "type": "integer"
  24033. },
  24034. "bidvolume9": {
  24035. "description": "买量9",
  24036. "type": "integer"
  24037. },
  24038. "calloptionpremiums": {
  24039. "description": "认购期权1",
  24040. "type": "integer"
  24041. },
  24042. "calloptionpremiums2": {
  24043. "description": "认购期权2",
  24044. "type": "integer"
  24045. },
  24046. "calloptionpremiums3": {
  24047. "description": "认购期权3",
  24048. "type": "integer"
  24049. },
  24050. "calloptionpremiums4": {
  24051. "description": "认购期权4",
  24052. "type": "integer"
  24053. },
  24054. "calloptionpremiums5": {
  24055. "description": "认购期权5",
  24056. "type": "integer"
  24057. },
  24058. "cleartime": {
  24059. "description": "清盘时间",
  24060. "type": "integer"
  24061. },
  24062. "exchangecode": {
  24063. "description": "交易所代码",
  24064. "type": "integer"
  24065. },
  24066. "exchangedate": {
  24067. "description": "交易日",
  24068. "type": "integer"
  24069. },
  24070. "goodscode": {
  24071. "description": "商品代码",
  24072. "type": "string"
  24073. },
  24074. "grepmarketprice": {
  24075. "description": "暗盘价 港股专用",
  24076. "type": "number"
  24077. },
  24078. "highest": {
  24079. "description": "最高价",
  24080. "type": "number"
  24081. },
  24082. "holdincrement": {
  24083. "description": "单笔持仓",
  24084. "type": "integer"
  24085. },
  24086. "holdvolume": {
  24087. "description": "持仓",
  24088. "type": "integer"
  24089. },
  24090. "iep": {
  24091. "description": "平衡价 港股专用",
  24092. "type": "number"
  24093. },
  24094. "iev": {
  24095. "description": "平衡量 港股专用",
  24096. "type": "number"
  24097. },
  24098. "inventory": {
  24099. "description": "库存",
  24100. "type": "integer"
  24101. },
  24102. "iscleared": {
  24103. "description": "是否清盘标志",
  24104. "type": "integer"
  24105. },
  24106. "issettled": {
  24107. "description": "是否结算标志",
  24108. "type": "integer"
  24109. },
  24110. "last": {
  24111. "description": "最新价",
  24112. "type": "number"
  24113. },
  24114. "lastlot": {
  24115. "description": "最新成交手数",
  24116. "type": "integer"
  24117. },
  24118. "lasttime": {
  24119. "description": "行情时间(只有现价变化行情时间才变化)",
  24120. "type": "string"
  24121. },
  24122. "lastturnover": {
  24123. "description": "最新成交金额",
  24124. "type": "number"
  24125. },
  24126. "lastvolume": {
  24127. "description": "最新成交量",
  24128. "type": "integer"
  24129. },
  24130. "limitdown": {
  24131. "description": "跌停价",
  24132. "type": "number"
  24133. },
  24134. "limitup": {
  24135. "description": "涨停价",
  24136. "type": "number"
  24137. },
  24138. "lowest": {
  24139. "description": "最低价",
  24140. "type": "number"
  24141. },
  24142. "nontotalholdervolume": {
  24143. "description": "非交易持仓量",
  24144. "type": "integer"
  24145. },
  24146. "nontotallot": {
  24147. "description": "非交易总手数",
  24148. "type": "integer"
  24149. },
  24150. "nontotalturnover": {
  24151. "description": "非交易总金额",
  24152. "type": "integer"
  24153. },
  24154. "nontotalvolume": {
  24155. "description": "非交易总量",
  24156. "type": "integer"
  24157. },
  24158. "opened": {
  24159. "description": "开盘价",
  24160. "type": "number"
  24161. },
  24162. "opentime": {
  24163. "description": "开盘时间",
  24164. "type": "string"
  24165. },
  24166. "orderid": {
  24167. "description": "序号",
  24168. "type": "integer"
  24169. },
  24170. "preclose": {
  24171. "description": "昨收",
  24172. "type": "number"
  24173. },
  24174. "preholdvolume": {
  24175. "description": "昨持仓",
  24176. "type": "integer"
  24177. },
  24178. "presettle": {
  24179. "description": "昨结价",
  24180. "type": "number"
  24181. },
  24182. "publictradetype": {
  24183. "description": "公共交易标志类型 港股专用",
  24184. "type": "string"
  24185. },
  24186. "putoptionpremiums": {
  24187. "description": "认沽期权1",
  24188. "type": "integer"
  24189. },
  24190. "putoptionpremiums2": {
  24191. "description": "认沽期权2",
  24192. "type": "integer"
  24193. },
  24194. "putoptionpremiums3": {
  24195. "description": "认沽期权3",
  24196. "type": "integer"
  24197. },
  24198. "putoptionpremiums4": {
  24199. "description": "认沽期权4",
  24200. "type": "integer"
  24201. },
  24202. "putoptionpremiums5": {
  24203. "description": "认沽期权5",
  24204. "type": "integer"
  24205. },
  24206. "settle": {
  24207. "description": "结算价",
  24208. "type": "number"
  24209. },
  24210. "strikeprice": {
  24211. "description": "发行价",
  24212. "type": "number"
  24213. },
  24214. "totalaskvolume": {
  24215. "description": "内盘",
  24216. "type": "integer"
  24217. },
  24218. "totalbidvolume": {
  24219. "description": "外盘",
  24220. "type": "integer"
  24221. },
  24222. "totallot": {
  24223. "description": "总手数",
  24224. "type": "integer"
  24225. },
  24226. "totalturnover": {
  24227. "description": "总金额",
  24228. "type": "number"
  24229. },
  24230. "totalvolume": {
  24231. "description": "总量",
  24232. "type": "integer"
  24233. },
  24234. "utclasttime": {
  24235. "description": "utc的行情时间",
  24236. "type": "string"
  24237. }
  24238. }
  24239. },
  24240. "quote.QueryTSDataRsp": {
  24241. "type": "object",
  24242. "properties": {
  24243. "Count": {
  24244. "description": "交易日应有数据个数",
  24245. "type": "integer"
  24246. },
  24247. "decimalPlace": {
  24248. "description": "小数位",
  24249. "type": "integer"
  24250. },
  24251. "endTime": {
  24252. "description": "结束时间",
  24253. "type": "string"
  24254. },
  24255. "goodsCode": {
  24256. "description": "商品代码",
  24257. "type": "string"
  24258. },
  24259. "historyDatas": {
  24260. "description": "历史数据",
  24261. "type": "array",
  24262. "items": {
  24263. "$ref": "#/definitions/quote.HistoryData"
  24264. }
  24265. },
  24266. "outGoodsCode": {
  24267. "description": "外部商品代码",
  24268. "type": "string"
  24269. },
  24270. "preSettle": {
  24271. "description": "昨结价",
  24272. "type": "number"
  24273. },
  24274. "runSteps": {
  24275. "description": "交易日开休市计划",
  24276. "type": "array",
  24277. "items": {
  24278. "$ref": "#/definitions/quote.TSDataRunStep"
  24279. }
  24280. },
  24281. "startTime": {
  24282. "description": "开始时间",
  24283. "type": "string"
  24284. },
  24285. "tradeDate": {
  24286. "description": "交易日",
  24287. "type": "string"
  24288. }
  24289. }
  24290. },
  24291. "quote.TSDataRunStep": {
  24292. "type": "object",
  24293. "properties": {
  24294. "end": {
  24295. "description": "真实结束时间",
  24296. "type": "string"
  24297. },
  24298. "endflag": {
  24299. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24300. "type": "integer"
  24301. },
  24302. "endtime": {
  24303. "description": "结束时间(HH:mm)",
  24304. "type": "string"
  24305. },
  24306. "endweekday": {
  24307. "description": "结束周几",
  24308. "type": "integer"
  24309. },
  24310. "groupid": {
  24311. "description": "分组ID",
  24312. "type": "integer"
  24313. },
  24314. "runstep": {
  24315. "description": "运行阶段 - 2:连续交易",
  24316. "type": "integer"
  24317. },
  24318. "sectionid": {
  24319. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24320. "type": "integer"
  24321. },
  24322. "start": {
  24323. "description": "真实开始时间",
  24324. "type": "string"
  24325. },
  24326. "startflag": {
  24327. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24328. "type": "integer"
  24329. },
  24330. "starttime": {
  24331. "description": "起始时间(HH:mm)",
  24332. "type": "string"
  24333. },
  24334. "startweekday": {
  24335. "description": "起始周几",
  24336. "type": "integer"
  24337. },
  24338. "tradeweekday": {
  24339. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24340. "type": "integer"
  24341. }
  24342. }
  24343. },
  24344. "szdz.QueryConvertLogRsp": {
  24345. "type": "object",
  24346. "required": [
  24347. "logid"
  24348. ],
  24349. "properties": {
  24350. "accountid": {
  24351. "description": "资金账户ID",
  24352. "type": "integer"
  24353. },
  24354. "clientticket": {
  24355. "description": "客户端流水号",
  24356. "type": "string"
  24357. },
  24358. "converttype": {
  24359. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24360. "type": "integer"
  24361. },
  24362. "createtime": {
  24363. "description": "记账时间",
  24364. "type": "string"
  24365. },
  24366. "daymaxvalue": {
  24367. "description": "配置当日最大转入限制",
  24368. "type": "number"
  24369. },
  24370. "daymaxvalue2": {
  24371. "description": "配置当日最大转入限制(转入)",
  24372. "type": "number"
  24373. },
  24374. "goodscode": {
  24375. "description": "商品代码",
  24376. "type": "string"
  24377. },
  24378. "goodsname": {
  24379. "description": "商品名称",
  24380. "type": "string"
  24381. },
  24382. "handlestatus": {
  24383. "description": "处理状态",
  24384. "type": "integer"
  24385. },
  24386. "innergoodsid": {
  24387. "description": "内部商品ID",
  24388. "type": "integer"
  24389. },
  24390. "inratio": {
  24391. "description": "配置转入比值",
  24392. "type": "integer"
  24393. },
  24394. "invalue": {
  24395. "description": "目标值",
  24396. "type": "number"
  24397. },
  24398. "logid": {
  24399. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24400. "type": "integer"
  24401. },
  24402. "mobile": {
  24403. "description": "手机号码(加密存储)",
  24404. "type": "string"
  24405. },
  24406. "outergoodscode": {
  24407. "description": "外部商品代码[JD\\PD]",
  24408. "type": "string"
  24409. },
  24410. "outratio": {
  24411. "description": "配置转出比值",
  24412. "type": "integer"
  24413. },
  24414. "outvalue": {
  24415. "description": "源值",
  24416. "type": "number"
  24417. },
  24418. "pddecimalplace": {
  24419. "description": "PD小数位",
  24420. "type": "integer"
  24421. },
  24422. "qty": {
  24423. "description": "数量",
  24424. "type": "string"
  24425. },
  24426. "remark": {
  24427. "description": "备注",
  24428. "type": "string"
  24429. },
  24430. "sessionid": {
  24431. "description": "会话ID",
  24432. "type": "integer"
  24433. },
  24434. "timemaxvalue": {
  24435. "description": "配置单次最大转入限制",
  24436. "type": "number"
  24437. },
  24438. "timemaxvalue2": {
  24439. "description": "配置单次最大转入限制(转入)",
  24440. "type": "number"
  24441. },
  24442. "timeminvalue": {
  24443. "description": "配置单次最小数量限制",
  24444. "type": "number"
  24445. },
  24446. "timeminvalue2": {
  24447. "description": "配置单次最小数量限制(转入)",
  24448. "type": "number"
  24449. },
  24450. "tradedate": {
  24451. "description": "交易日(yyyyMMdd)",
  24452. "type": "string"
  24453. },
  24454. "userid": {
  24455. "description": "用户ID",
  24456. "type": "integer"
  24457. }
  24458. }
  24459. },
  24460. "szdz.QueryGoodsPickupRsp": {
  24461. "type": "object",
  24462. "required": [
  24463. "takeorderid"
  24464. ],
  24465. "properties": {
  24466. "accountid": {
  24467. "description": "账户ID",
  24468. "type": "integer"
  24469. },
  24470. "address": {
  24471. "description": "提货人详细地址",
  24472. "type": "string"
  24473. },
  24474. "auditer": {
  24475. "description": "审核人",
  24476. "type": "integer"
  24477. },
  24478. "audittime": {
  24479. "description": "审核时间",
  24480. "type": "string"
  24481. },
  24482. "cardnum": {
  24483. "description": "提货人证件号码",
  24484. "type": "string"
  24485. },
  24486. "cardtypeid": {
  24487. "description": "提货人证件类型",
  24488. "type": "integer"
  24489. },
  24490. "checkremark": {
  24491. "description": "审核备注",
  24492. "type": "string"
  24493. },
  24494. "goodscode": {
  24495. "description": "商品代码",
  24496. "type": "string"
  24497. },
  24498. "goodsid": {
  24499. "description": "商品ID",
  24500. "type": "integer"
  24501. },
  24502. "goodsname": {
  24503. "description": "商品名称",
  24504. "type": "string"
  24505. },
  24506. "handlestatus": {
  24507. "description": "处理状态",
  24508. "type": "integer"
  24509. },
  24510. "marketid": {
  24511. "description": "市场ID",
  24512. "type": "integer"
  24513. },
  24514. "phonenum": {
  24515. "description": "提货人联系方式",
  24516. "type": "string"
  24517. },
  24518. "qty": {
  24519. "description": "提货数量",
  24520. "type": "number"
  24521. },
  24522. "recivername": {
  24523. "description": "提货人姓名",
  24524. "type": "string"
  24525. },
  24526. "reqtime": {
  24527. "description": "更新时间",
  24528. "type": "string"
  24529. },
  24530. "takemode": {
  24531. "description": "提货方式 - 2:自提 3:配送",
  24532. "type": "integer"
  24533. },
  24534. "takeorderid": {
  24535. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24536. "type": "string"
  24537. },
  24538. "takeorderstatus": {
  24539. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24540. "type": "integer"
  24541. },
  24542. "takeremark": {
  24543. "description": "提货备注",
  24544. "type": "string"
  24545. },
  24546. "tradedate": {
  24547. "description": "交易日(yyyyMMdd)",
  24548. "type": "string"
  24549. },
  24550. "userid": {
  24551. "description": "用户ID",
  24552. "type": "integer"
  24553. }
  24554. }
  24555. },
  24556. "szdz.QueryRecieptOrderRsp": {
  24557. "type": "object",
  24558. "required": [
  24559. "ordertime"
  24560. ],
  24561. "properties": {
  24562. "accountName": {
  24563. "description": "所属账号名称(已脱敏)",
  24564. "type": "string"
  24565. },
  24566. "accountid": {
  24567. "description": "资金账号",
  24568. "type": "integer"
  24569. },
  24570. "buyorsell": {
  24571. "description": "方向 - 0:买 1:卖",
  24572. "type": "integer"
  24573. },
  24574. "enableqty": {
  24575. "description": "可摘数量",
  24576. "type": "integer"
  24577. },
  24578. "goodscode": {
  24579. "description": "商品代码",
  24580. "type": "string"
  24581. },
  24582. "goodsid": {
  24583. "description": "商品ID",
  24584. "type": "integer"
  24585. },
  24586. "goodsname": {
  24587. "description": "商品名称",
  24588. "type": "string"
  24589. },
  24590. "orderid": {
  24591. "description": "委托单号",
  24592. "type": "string"
  24593. },
  24594. "orderprice": {
  24595. "description": "委托价格",
  24596. "type": "number"
  24597. },
  24598. "ordertime": {
  24599. "description": "委托时间",
  24600. "type": "string"
  24601. },
  24602. "tradedate": {
  24603. "description": "交易日(yyyyMMdd)",
  24604. "type": "string"
  24605. }
  24606. }
  24607. },
  24608. "szdz.QuerySZDZTradePositionRsp": {
  24609. "type": "object",
  24610. "properties": {
  24611. "accountid": {
  24612. "description": "账号Id",
  24613. "type": "integer"
  24614. },
  24615. "agreeunit": {
  24616. "description": "合约单位",
  24617. "type": "number"
  24618. },
  24619. "averageprice": {
  24620. "description": "持仓均价",
  24621. "type": "number"
  24622. },
  24623. "buyorsell": {
  24624. "description": "方向 - 0:买 1:卖",
  24625. "type": "integer"
  24626. },
  24627. "closetotalqty": {
  24628. "description": "平仓总数量",
  24629. "type": "integer"
  24630. },
  24631. "curholderamount": {
  24632. "description": "当前持仓总金额",
  24633. "type": "number"
  24634. },
  24635. "curpositionqty": {
  24636. "description": "当前持仓总数量",
  24637. "type": "integer"
  24638. },
  24639. "currencyid": {
  24640. "description": "报价货币ID",
  24641. "type": "integer"
  24642. },
  24643. "curtdposition": {
  24644. "description": "期末今日头寸",
  24645. "type": "integer"
  24646. },
  24647. "decimalplace": {
  24648. "description": "报价小数位",
  24649. "type": "integer"
  24650. },
  24651. "enableqty": {
  24652. "description": "可用量",
  24653. "type": "integer"
  24654. },
  24655. "fretdposition": {
  24656. "description": "冻结今日头寸",
  24657. "type": "integer"
  24658. },
  24659. "frozenqty": {
  24660. "description": "持仓冻结数量",
  24661. "type": "integer"
  24662. },
  24663. "goodscode": {
  24664. "description": "商品代码(内部)",
  24665. "type": "string"
  24666. },
  24667. "goodsid": {
  24668. "description": "商品Id",
  24669. "type": "integer"
  24670. },
  24671. "goodsname": {
  24672. "description": "商品名称",
  24673. "type": "string"
  24674. },
  24675. "goodunit": {
  24676. "description": "报价单位",
  24677. "type": "string"
  24678. },
  24679. "goodunitid": {
  24680. "description": "报价单位ID",
  24681. "type": "integer"
  24682. },
  24683. "holderamount": {
  24684. "description": "期初持仓总金额",
  24685. "type": "number"
  24686. },
  24687. "marketid": {
  24688. "description": "市场ID",
  24689. "type": "integer"
  24690. },
  24691. "openreqqty": {
  24692. "description": "开仓申请数量",
  24693. "type": "integer"
  24694. },
  24695. "opentotalqty": {
  24696. "description": "开仓总数量",
  24697. "type": "integer"
  24698. },
  24699. "otherfrozenqty": {
  24700. "description": "持仓其他冻结数量(交割冻结)",
  24701. "type": "integer"
  24702. },
  24703. "positionqty": {
  24704. "description": "期初持仓数量",
  24705. "type": "integer"
  24706. },
  24707. "szdz3freezqty": {
  24708. "description": "尚志大宗转换冻结总数量",
  24709. "type": "integer"
  24710. },
  24711. "tnqty": {
  24712. "description": "T+N冻结总量",
  24713. "type": "integer"
  24714. },
  24715. "tnusedqty": {
  24716. "description": "T+N使用量",
  24717. "type": "integer"
  24718. },
  24719. "trademode": {
  24720. "description": "交易模式",
  24721. "type": "integer"
  24722. },
  24723. "usedmargin": {
  24724. "description": "占用保证金",
  24725. "type": "number"
  24726. }
  24727. }
  24728. },
  24729. "taaccount.QueryAmountLogRsp": {
  24730. "type": "object",
  24731. "required": [
  24732. "accountid",
  24733. "amount",
  24734. "amountadjusttype",
  24735. "autoid",
  24736. "balance",
  24737. "createtime",
  24738. "currentbalance",
  24739. "operatetype"
  24740. ],
  24741. "properties": {
  24742. "OPERATETYPENAME": {
  24743. "description": "资金操作类型名称",
  24744. "type": "string"
  24745. },
  24746. "accountid": {
  24747. "description": "资金账户ID",
  24748. "type": "integer"
  24749. },
  24750. "agoodscode": {
  24751. "description": "竞拍商品代码",
  24752. "type": "string"
  24753. },
  24754. "agoodsname": {
  24755. "description": "竞拍商品名称",
  24756. "type": "string"
  24757. },
  24758. "amount": {
  24759. "description": "资金金额",
  24760. "type": "number"
  24761. },
  24762. "amountadjusttype": {
  24763. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24764. "type": "integer"
  24765. },
  24766. "autoid": {
  24767. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24768. "type": "integer"
  24769. },
  24770. "balance": {
  24771. "description": "期初余额",
  24772. "type": "number"
  24773. },
  24774. "businesscode": {
  24775. "description": "业务编号",
  24776. "type": "integer"
  24777. },
  24778. "createtime": {
  24779. "description": "发生时间",
  24780. "type": "string"
  24781. },
  24782. "currencyid": {
  24783. "description": "币种ID",
  24784. "type": "integer"
  24785. },
  24786. "currentbalance": {
  24787. "description": "期末余额(变动后金额)",
  24788. "type": "number"
  24789. },
  24790. "dgoodscode": {
  24791. "description": "交割商品代码",
  24792. "type": "string"
  24793. },
  24794. "dgoodsname": {
  24795. "description": "交割商品名称",
  24796. "type": "string"
  24797. },
  24798. "goodscode": {
  24799. "description": "商品代码",
  24800. "type": "string"
  24801. },
  24802. "goodsid": {
  24803. "description": "商品ID",
  24804. "type": "integer"
  24805. },
  24806. "goodsname": {
  24807. "description": "商品名称",
  24808. "type": "string"
  24809. },
  24810. "marketid": {
  24811. "description": "市场ID",
  24812. "type": "integer"
  24813. },
  24814. "marketname": {
  24815. "description": "市场名称",
  24816. "type": "string"
  24817. },
  24818. "moneyticket": {
  24819. "description": "资金流水号:银行端流水号",
  24820. "type": "integer"
  24821. },
  24822. "operatetype": {
  24823. "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:营销收款",
  24824. "type": "integer"
  24825. },
  24826. "relationorderid": {
  24827. "description": "关联单号",
  24828. "type": "string"
  24829. },
  24830. "remark": {
  24831. "description": "备注",
  24832. "type": "string"
  24833. },
  24834. "trademode": {
  24835. "description": "交易模式",
  24836. "type": "integer"
  24837. }
  24838. }
  24839. },
  24840. "taaccount.QueryHisAmountLogRsp": {
  24841. "type": "object",
  24842. "required": [
  24843. "accountid",
  24844. "amount",
  24845. "amountadjusttype",
  24846. "autoid",
  24847. "balance",
  24848. "createtime",
  24849. "currentbalance",
  24850. "histradedate",
  24851. "operatetype"
  24852. ],
  24853. "properties": {
  24854. "OPERATETYPENAME": {
  24855. "description": "资金操作类型名称",
  24856. "type": "string"
  24857. },
  24858. "accountid": {
  24859. "description": "资金账户ID",
  24860. "type": "integer"
  24861. },
  24862. "agoodscode": {
  24863. "description": "竞拍商品代码",
  24864. "type": "string"
  24865. },
  24866. "agoodsname": {
  24867. "description": "竞拍商品名称",
  24868. "type": "string"
  24869. },
  24870. "amount": {
  24871. "description": "资金金额",
  24872. "type": "number"
  24873. },
  24874. "amountadjusttype": {
  24875. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24876. "type": "integer"
  24877. },
  24878. "autoid": {
  24879. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24880. "type": "integer"
  24881. },
  24882. "balance": {
  24883. "description": "期初余额",
  24884. "type": "number"
  24885. },
  24886. "businesscode": {
  24887. "description": "业务编号",
  24888. "type": "integer"
  24889. },
  24890. "createtime": {
  24891. "description": "发生时间",
  24892. "type": "string"
  24893. },
  24894. "currencyid": {
  24895. "description": "币种ID",
  24896. "type": "integer"
  24897. },
  24898. "currentbalance": {
  24899. "description": "期末余额(变动后金额)",
  24900. "type": "number"
  24901. },
  24902. "dgoodscode": {
  24903. "description": "交割商品代码",
  24904. "type": "string"
  24905. },
  24906. "dgoodsname": {
  24907. "description": "交割商品名称",
  24908. "type": "string"
  24909. },
  24910. "goodscode": {
  24911. "description": "商品代码",
  24912. "type": "string"
  24913. },
  24914. "goodsid": {
  24915. "description": "商品ID",
  24916. "type": "integer"
  24917. },
  24918. "goodsname": {
  24919. "description": "商品名称",
  24920. "type": "string"
  24921. },
  24922. "histradedate": {
  24923. "description": "历史交易日",
  24924. "type": "string"
  24925. },
  24926. "isvaliddata": {
  24927. "description": "是否有效 - 0:无效 1:有效",
  24928. "type": "integer"
  24929. },
  24930. "marketid": {
  24931. "description": "市场ID",
  24932. "type": "integer"
  24933. },
  24934. "marketname": {
  24935. "description": "市场名称",
  24936. "type": "string"
  24937. },
  24938. "moneyticket": {
  24939. "description": "资金流水号:银行端流水号",
  24940. "type": "integer"
  24941. },
  24942. "operatetype": {
  24943. "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:营销收款",
  24944. "type": "integer"
  24945. },
  24946. "relationorderid": {
  24947. "description": "关联单号",
  24948. "type": "string"
  24949. },
  24950. "remark": {
  24951. "description": "备注",
  24952. "type": "string"
  24953. },
  24954. "trademode": {
  24955. "description": "交易模式",
  24956. "type": "integer"
  24957. }
  24958. }
  24959. },
  24960. "trade.QueryRecieptOrderRsp": {
  24961. "type": "object",
  24962. "required": [
  24963. "ordertime"
  24964. ],
  24965. "properties": {
  24966. "accountName": {
  24967. "description": "所属账号名称(已脱敏)",
  24968. "type": "string"
  24969. },
  24970. "accountid": {
  24971. "description": "资金账号",
  24972. "type": "integer"
  24973. },
  24974. "buyorsell": {
  24975. "description": "方向 - 0:买 1:卖",
  24976. "type": "integer"
  24977. },
  24978. "enableqty": {
  24979. "description": "可摘数量",
  24980. "type": "integer"
  24981. },
  24982. "goodscode": {
  24983. "description": "商品代码",
  24984. "type": "string"
  24985. },
  24986. "goodsid": {
  24987. "description": "商品ID",
  24988. "type": "integer"
  24989. },
  24990. "goodsname": {
  24991. "description": "商品名称",
  24992. "type": "string"
  24993. },
  24994. "orderid": {
  24995. "description": "委托单号",
  24996. "type": "string"
  24997. },
  24998. "orderprice": {
  24999. "description": "委托价格",
  25000. "type": "number"
  25001. },
  25002. "ordertime": {
  25003. "description": "委托时间",
  25004. "type": "string"
  25005. },
  25006. "tradedate": {
  25007. "description": "交易日(yyyyMMdd)",
  25008. "type": "string"
  25009. }
  25010. }
  25011. },
  25012. "user.LoginQueryRsp": {
  25013. "type": "object",
  25014. "properties": {
  25015. "areaRoles": {
  25016. "description": "所属角色信息",
  25017. "type": "array",
  25018. "items": {
  25019. "$ref": "#/definitions/models.Arearole"
  25020. }
  25021. },
  25022. "externalExchanges": {
  25023. "description": "外部交易所",
  25024. "type": "array",
  25025. "items": {
  25026. "$ref": "#/definitions/models.Externalexchange"
  25027. }
  25028. },
  25029. "goodsgroups": {
  25030. "description": "商品组",
  25031. "type": "array",
  25032. "items": {
  25033. "$ref": "#/definitions/models.Goodsgroup"
  25034. }
  25035. },
  25036. "loginAccount": {
  25037. "description": "登录账号",
  25038. "type": "object",
  25039. "$ref": "#/definitions/models.Loginaccount"
  25040. },
  25041. "markets": {
  25042. "description": "市场",
  25043. "type": "array",
  25044. "items": {
  25045. "$ref": "#/definitions/models.Market"
  25046. }
  25047. },
  25048. "systemParams": {
  25049. "description": "系统参数",
  25050. "type": "array",
  25051. "items": {
  25052. "$ref": "#/definitions/models.Systemparam"
  25053. }
  25054. },
  25055. "userAccount": {
  25056. "description": "用户账号",
  25057. "type": "object",
  25058. "$ref": "#/definitions/models.Useraccount"
  25059. },
  25060. "userInfo": {
  25061. "description": "用户信息",
  25062. "type": "object",
  25063. "$ref": "#/definitions/models.Userinfo"
  25064. },
  25065. "username": {
  25066. "description": "用户姓名",
  25067. "type": "string"
  25068. }
  25069. }
  25070. }
  25071. },
  25072. "securityDefinitions": {
  25073. "ApiKeyAuth": {
  25074. "type": "apiKey",
  25075. "name": "Authorization",
  25076. "in": "header"
  25077. }
  25078. }
  25079. }`
  25080. type swaggerInfo struct {
  25081. Version string
  25082. Host string
  25083. BasePath string
  25084. Schemes []string
  25085. Title string
  25086. Description string
  25087. }
  25088. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25089. var SwaggerInfo = swaggerInfo{
  25090. Version: "1.0",
  25091. Host: "",
  25092. BasePath: "/api",
  25093. Schemes: []string{},
  25094. Title: "MTP2.0 查询服务 API",
  25095. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25096. }
  25097. type s struct{}
  25098. func (s *s) ReadDoc() string {
  25099. sInfo := SwaggerInfo
  25100. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25101. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25102. "marshal": func(v interface{}) string {
  25103. a, _ := json.Marshal(v)
  25104. return string(a)
  25105. },
  25106. }).Parse(doc)
  25107. if err != nil {
  25108. return doc
  25109. }
  25110. var tpl bytes.Buffer
  25111. if err := t.Execute(&tpl, sInfo); err != nil {
  25112. return doc
  25113. }
  25114. return tpl.String()
  25115. }
  25116. func init() {
  25117. swag.Register(swag.Name, &s{})
  25118. }