docs.go 713 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAreaStock": {
  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/models.ErmcpAreaStock"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryAreaStockApply": {
  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": "string",
  1388. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1389. "name": "inouttype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "合同ID",
  1395. "name": "spotcontractid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "现货商品ID",
  1401. "name": "wrstandardid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "品牌ID",
  1407. "name": "spotgoodsbrandid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "integer",
  1412. "description": "型号ID",
  1413. "name": "spotgoodsmodelid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "integer",
  1418. "description": "仓库ID",
  1419. "name": "warehouseinfoid",
  1420. "in": "query"
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1425. "name": "applystatus",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "type": "array",
  1434. "items": {
  1435. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1436. }
  1437. }
  1438. },
  1439. "500": {
  1440. "description": "Internal Server Error",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. }
  1445. }
  1446. }
  1447. },
  1448. "/Ermcp/QueryAreaStockApplySum": {
  1449. "get": {
  1450. "security": [
  1451. {
  1452. "ApiKeyAuth": []
  1453. }
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "企业风险管理(app)"
  1460. ],
  1461. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1462. "parameters": [
  1463. {
  1464. "type": "integer",
  1465. "description": "合同ID",
  1466. "name": "spotcontractid",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryAreaStockReport": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询库存报表",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "userid",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "查询类型 1-日报表 2-月报表",
  1514. "name": "querytype",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1521. "name": "querydate",
  1522. "in": "query",
  1523. "required": true
  1524. },
  1525. {
  1526. "type": "integer",
  1527. "description": "现货商品ID",
  1528. "name": "wrstandardid",
  1529. "in": "query"
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "品牌ID",
  1534. "name": "spotgoodsbrandid",
  1535. "in": "query"
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "型号ID",
  1540. "name": "spotgoodsmodelid",
  1541. "in": "query"
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "仓库ID",
  1546. "name": "warehouseinfoid",
  1547. "in": "query"
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "OK",
  1553. "schema": {
  1554. "type": "array",
  1555. "items": {
  1556. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1557. }
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/app.Response"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/Ermcp/QueryAreaStockReportDetail": {
  1570. "get": {
  1571. "security": [
  1572. {
  1573. "ApiKeyAuth": []
  1574. }
  1575. ],
  1576. "produces": [
  1577. "application/json"
  1578. ],
  1579. "tags": [
  1580. "企业风险管理(app)"
  1581. ],
  1582. "summary": "查询库存报表明细",
  1583. "parameters": [
  1584. {
  1585. "type": "integer",
  1586. "description": "用户ID",
  1587. "name": "userid",
  1588. "in": "query",
  1589. "required": true
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "查询类型 1-日报表明细 2-月报表明细",
  1594. "name": "querytype",
  1595. "in": "query",
  1596. "required": true
  1597. },
  1598. {
  1599. "type": "integer",
  1600. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1601. "name": "detailtype",
  1602. "in": "query",
  1603. "required": true
  1604. },
  1605. {
  1606. "type": "string",
  1607. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1608. "name": "querydate",
  1609. "in": "query",
  1610. "required": true
  1611. },
  1612. {
  1613. "type": "integer",
  1614. "description": "现货商品ID",
  1615. "name": "wrstandardid",
  1616. "in": "query"
  1617. },
  1618. {
  1619. "type": "integer",
  1620. "description": "品牌ID",
  1621. "name": "spotgoodsbrandid",
  1622. "in": "query"
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "型号ID",
  1627. "name": "spotgoodsmodelid",
  1628. "in": "query"
  1629. },
  1630. {
  1631. "type": "integer",
  1632. "description": "仓库ID",
  1633. "name": "warehouseinfoid",
  1634. "in": "query"
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryAvaildGoodsGroup": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "所属机构ID",
  1674. "name": "userid",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "type": "array",
  1684. "items": {
  1685. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1686. }
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/Ermcp/QueryBusinessDj": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "企业风险管理(app)"
  1710. ],
  1711. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1712. "parameters": [
  1713. {
  1714. "type": "integer",
  1715. "description": "用户ID",
  1716. "name": "UserId",
  1717. "in": "query",
  1718. "required": true
  1719. },
  1720. {
  1721. "type": "string",
  1722. "description": "现货合同ID, 不填则查所有",
  1723. "name": "relatedid",
  1724. "in": "query"
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "type": "array",
  1732. "items": {
  1733. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1734. }
  1735. }
  1736. },
  1737. "500": {
  1738. "description": "Internal Server Error",
  1739. "schema": {
  1740. "$ref": "#/definitions/app.Response"
  1741. }
  1742. }
  1743. }
  1744. }
  1745. },
  1746. "/Ermcp/QueryBusinessFp": {
  1747. "get": {
  1748. "security": [
  1749. {
  1750. "ApiKeyAuth": []
  1751. }
  1752. ],
  1753. "produces": [
  1754. "application/json"
  1755. ],
  1756. "tags": [
  1757. "企业风险管理(app)"
  1758. ],
  1759. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1760. "parameters": [
  1761. {
  1762. "type": "integer",
  1763. "description": "用户ID",
  1764. "name": "UserId",
  1765. "in": "query",
  1766. "required": true
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "现货合同ID, 不填则查所有",
  1771. "name": "relatedid",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessJs": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "string",
  1818. "description": "现货合同ID, 不填则查所有",
  1819. "name": "relatedid",
  1820. "in": "query"
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryBusinessJsEx": {
  1843. "get": {
  1844. "security": [
  1845. {
  1846. "ApiKeyAuth": []
  1847. }
  1848. ],
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "企业风险管理(app)"
  1854. ],
  1855. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "用户ID",
  1860. "name": "UserId",
  1861. "in": "query",
  1862. "required": true
  1863. },
  1864. {
  1865. "type": "string",
  1866. "description": "现货合同ID, 不填则查所有",
  1867. "name": "relatedid",
  1868. "in": "query"
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "type": "array",
  1876. "items": {
  1877. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1878. }
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/app.Response"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/Ermcp/QueryBusinessKx": {
  1891. "get": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "企业风险管理(app)"
  1902. ],
  1903. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1904. "parameters": [
  1905. {
  1906. "type": "integer",
  1907. "description": "用户ID",
  1908. "name": "UserId",
  1909. "in": "query",
  1910. "required": true
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "现货合同ID, 不填则查所有",
  1915. "name": "relatedid",
  1916. "in": "query"
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryChangeLog": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询变更记录",
  1952. "parameters": [
  1953. {
  1954. "type": "string",
  1955. "description": "合同ID",
  1956. "name": "RelatedId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryContract": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询合同(采购和销售)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "userId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "合同类型 1-采购, -1-销售",
  2005. "name": "contracttype",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2012. "name": "querytype",
  2013. "in": "query",
  2014. "required": true
  2015. }
  2016. ],
  2017. "responses": {
  2018. "200": {
  2019. "description": "OK",
  2020. "schema": {
  2021. "type": "array",
  2022. "items": {
  2023. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2024. }
  2025. }
  2026. },
  2027. "500": {
  2028. "description": "Internal Server Error",
  2029. "schema": {
  2030. "$ref": "#/definitions/app.Response"
  2031. }
  2032. }
  2033. }
  2034. }
  2035. },
  2036. "/Ermcp/QueryErmcpHisOrderDetails": {
  2037. "get": {
  2038. "security": [
  2039. {
  2040. "ApiKeyAuth": []
  2041. }
  2042. ],
  2043. "produces": [
  2044. "application/json"
  2045. ],
  2046. "tags": [
  2047. "企业风险管理(app)"
  2048. ],
  2049. "summary": "获取企业风管期货历史委托单信息",
  2050. "parameters": [
  2051. {
  2052. "type": "integer",
  2053. "description": "资金账户ID",
  2054. "name": "accountID",
  2055. "in": "query",
  2056. "required": true
  2057. },
  2058. {
  2059. "type": "string",
  2060. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2061. "name": "startDate",
  2062. "in": "query"
  2063. },
  2064. {
  2065. "type": "string",
  2066. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2067. "name": "endDate",
  2068. "in": "query"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "OK",
  2074. "schema": {
  2075. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2076. }
  2077. },
  2078. "500": {
  2079. "description": "Internal Server Error",
  2080. "schema": {
  2081. "$ref": "#/definitions/app.Response"
  2082. }
  2083. }
  2084. }
  2085. }
  2086. },
  2087. "/Ermcp/QueryErmcpHisTradeDetails": {
  2088. "get": {
  2089. "security": [
  2090. {
  2091. "ApiKeyAuth": []
  2092. }
  2093. ],
  2094. "produces": [
  2095. "application/json"
  2096. ],
  2097. "tags": [
  2098. "企业风险管理(app)"
  2099. ],
  2100. "summary": "获取企业风管期货历史成交单信息",
  2101. "parameters": [
  2102. {
  2103. "type": "integer",
  2104. "description": "资金账户ID",
  2105. "name": "accountID",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "商品ID",
  2112. "name": "goodsID",
  2113. "in": "query"
  2114. },
  2115. {
  2116. "type": "integer",
  2117. "description": "买卖方向,0:买 1:卖",
  2118. "name": "buyOrSell",
  2119. "in": "query"
  2120. },
  2121. {
  2122. "type": "string",
  2123. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2124. "name": "startDate",
  2125. "in": "query"
  2126. },
  2127. {
  2128. "type": "string",
  2129. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2130. "name": "endDate",
  2131. "in": "query"
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2139. }
  2140. },
  2141. "500": {
  2142. "description": "Internal Server Error",
  2143. "schema": {
  2144. "$ref": "#/definitions/app.Response"
  2145. }
  2146. }
  2147. }
  2148. }
  2149. },
  2150. "/Ermcp/QueryErmcpOrderDetails": {
  2151. "get": {
  2152. "security": [
  2153. {
  2154. "ApiKeyAuth": []
  2155. }
  2156. ],
  2157. "produces": [
  2158. "application/json"
  2159. ],
  2160. "tags": [
  2161. "企业风险管理(app)"
  2162. ],
  2163. "summary": "获取企业风管期货委托单信息",
  2164. "parameters": [
  2165. {
  2166. "type": "integer",
  2167. "description": "资金账户ID",
  2168. "name": "accountID",
  2169. "in": "query",
  2170. "required": true
  2171. }
  2172. ],
  2173. "responses": {
  2174. "200": {
  2175. "description": "OK",
  2176. "schema": {
  2177. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/Ermcp/QueryErmcpTradeDetails": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "企业风险管理(app)"
  2201. ],
  2202. "summary": "获取企业风管期货成交单信息",
  2203. "parameters": [
  2204. {
  2205. "type": "integer",
  2206. "description": "资金账户ID",
  2207. "name": "accountID",
  2208. "in": "query",
  2209. "required": true
  2210. },
  2211. {
  2212. "type": "integer",
  2213. "description": "商品ID",
  2214. "name": "goodsID",
  2215. "in": "query"
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "买卖方向,0:买 1:卖",
  2220. "name": "buyOrSell",
  2221. "in": "query"
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2229. }
  2230. },
  2231. "500": {
  2232. "description": "Internal Server Error",
  2233. "schema": {
  2234. "$ref": "#/definitions/app.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/Ermcp/QueryErmcpTradePosition": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "ApiKeyAuth": []
  2245. }
  2246. ],
  2247. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "企业风险管理(app)"
  2253. ],
  2254. "summary": "获取企业风管期货持仓头寸信息",
  2255. "parameters": [
  2256. {
  2257. "type": "integer",
  2258. "description": "资金账户ID",
  2259. "name": "accountID",
  2260. "in": "query",
  2261. "required": true
  2262. },
  2263. {
  2264. "type": "integer",
  2265. "description": "所属市场ID",
  2266. "name": "marketID",
  2267. "in": "query"
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/Ermcp/QueryExposureDetail": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "企业风险管理(app)"
  2298. ],
  2299. "summary": "查询敞口现货明细",
  2300. "parameters": [
  2301. {
  2302. "type": "integer",
  2303. "description": "所属机构ID",
  2304. "name": "areaUserId",
  2305. "in": "query",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": "套保商品",
  2311. "name": "middleGoodsId",
  2312. "in": "query",
  2313. "required": true
  2314. }
  2315. ],
  2316. "responses": {
  2317. "200": {
  2318. "description": "OK",
  2319. "schema": {
  2320. "type": "array",
  2321. "items": {
  2322. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2323. }
  2324. }
  2325. },
  2326. "500": {
  2327. "description": "Internal Server Error",
  2328. "schema": {
  2329. "$ref": "#/definitions/app.Response"
  2330. }
  2331. }
  2332. }
  2333. }
  2334. },
  2335. "/Ermcp/QueryExposureHedgePosition": {
  2336. "get": {
  2337. "security": [
  2338. {
  2339. "ApiKeyAuth": []
  2340. }
  2341. ],
  2342. "produces": [
  2343. "application/json"
  2344. ],
  2345. "tags": [
  2346. "企业风险管理(app)"
  2347. ],
  2348. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2349. "parameters": [
  2350. {
  2351. "type": "integer",
  2352. "description": "所属机构ID",
  2353. "name": "areaUserId",
  2354. "in": "query",
  2355. "required": true
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryExposureHedgePositionDetail": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "所属机构ID",
  2395. "name": "areaUserId",
  2396. "in": "query",
  2397. "required": true
  2398. },
  2399. {
  2400. "type": "integer",
  2401. "description": "商品id",
  2402. "name": "goodsId",
  2403. "in": "query",
  2404. "required": true
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryExposureSpot": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "所属机构ID",
  2444. "name": "areaUserId",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryExposureSpotDetail": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "areaUserId",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "现货品种ID",
  2493. "name": "wrstandardId",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryGGConvertConfig": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "品种id(不填则查所有)",
  2535. "name": "goodsgroupid",
  2536. "in": "query"
  2537. }
  2538. ],
  2539. "responses": {
  2540. "200": {
  2541. "description": "OK",
  2542. "schema": {
  2543. "type": "array",
  2544. "items": {
  2545. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2546. }
  2547. }
  2548. },
  2549. "500": {
  2550. "description": "Internal Server Error",
  2551. "schema": {
  2552. "$ref": "#/definitions/app.Response"
  2553. }
  2554. }
  2555. }
  2556. }
  2557. },
  2558. "/Ermcp/QueryGoodsBrand": {
  2559. "get": {
  2560. "security": [
  2561. {
  2562. "ApiKeyAuth": []
  2563. }
  2564. ],
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "企业风险管理(app)"
  2570. ],
  2571. "summary": "查询商品品牌",
  2572. "parameters": [
  2573. {
  2574. "type": "integer",
  2575. "description": "用户ID",
  2576. "name": "userid",
  2577. "in": "query",
  2578. "required": true
  2579. },
  2580. {
  2581. "type": "integer",
  2582. "description": "现货商品ID",
  2583. "name": "wrstandardid",
  2584. "in": "query"
  2585. }
  2586. ],
  2587. "responses": {
  2588. "200": {
  2589. "description": "OK",
  2590. "schema": {
  2591. "type": "array",
  2592. "items": {
  2593. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2594. }
  2595. }
  2596. },
  2597. "500": {
  2598. "description": "Internal Server Error",
  2599. "schema": {
  2600. "$ref": "#/definitions/app.Response"
  2601. }
  2602. }
  2603. }
  2604. }
  2605. },
  2606. "/Ermcp/QueryGoodsModel": {
  2607. "get": {
  2608. "security": [
  2609. {
  2610. "ApiKeyAuth": []
  2611. }
  2612. ],
  2613. "produces": [
  2614. "application/json"
  2615. ],
  2616. "tags": [
  2617. "企业风险管理(app)"
  2618. ],
  2619. "summary": "查询商品型号",
  2620. "parameters": [
  2621. {
  2622. "type": "integer",
  2623. "description": "用户ID",
  2624. "name": "userid",
  2625. "in": "query",
  2626. "required": true
  2627. }
  2628. ],
  2629. "responses": {
  2630. "200": {
  2631. "description": "OK",
  2632. "schema": {
  2633. "type": "array",
  2634. "items": {
  2635. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2636. }
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/Ermcp/QueryHedgePlan": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "produces": [
  2656. "application/json"
  2657. ],
  2658. "tags": [
  2659. "企业风险管理(app)"
  2660. ],
  2661. "summary": "查询套保计划",
  2662. "parameters": [
  2663. {
  2664. "type": "integer",
  2665. "description": "用户ID",
  2666. "name": "userId",
  2667. "in": "query",
  2668. "required": true
  2669. },
  2670. {
  2671. "type": "string",
  2672. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2673. "name": "HedgePlanStatus",
  2674. "in": "query",
  2675. "required": true
  2676. }
  2677. ],
  2678. "responses": {
  2679. "200": {
  2680. "description": "OK",
  2681. "schema": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2685. }
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/Ermcp/QueryHisExposure": {
  2698. "get": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "企业风险管理(app)"
  2709. ],
  2710. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2711. "parameters": [
  2712. {
  2713. "type": "integer",
  2714. "description": "所属机构ID",
  2715. "name": "areaUserId",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "integer",
  2721. "description": "每个品种记录数",
  2722. "name": "lastNum",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "type": "array",
  2732. "items": {
  2733. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2734. }
  2735. }
  2736. },
  2737. "500": {
  2738. "description": "Internal Server Error",
  2739. "schema": {
  2740. "$ref": "#/definitions/app.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/Ermcp/QueryMiddleGoods": {
  2747. "get": {
  2748. "security": [
  2749. {
  2750. "ApiKeyAuth": []
  2751. }
  2752. ],
  2753. "produces": [
  2754. "application/json"
  2755. ],
  2756. "tags": [
  2757. "企业风险管理(app)"
  2758. ],
  2759. "summary": "查询套保品种(菜单:套保品种)",
  2760. "parameters": [
  2761. {
  2762. "type": "integer",
  2763. "description": "所属机构ID",
  2764. "name": "userid",
  2765. "in": "query",
  2766. "required": true
  2767. },
  2768. {
  2769. "type": "integer",
  2770. "description": "状态 0-停用 1-正常",
  2771. "name": "status",
  2772. "in": "query",
  2773. "required": true
  2774. }
  2775. ],
  2776. "responses": {
  2777. "200": {
  2778. "description": "OK",
  2779. "schema": {
  2780. "type": "array",
  2781. "items": {
  2782. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2783. }
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2796. "get": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "企业风险管理(app)"
  2807. ],
  2808. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2809. "parameters": [
  2810. {
  2811. "type": "integer",
  2812. "description": "所属机构ID",
  2813. "name": "userid",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "套保品种id",
  2820. "name": "middlegoodsid",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryMiddleGoodsDetail": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构ID",
  2862. "name": "userid",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "integer",
  2868. "description": "套保品种id",
  2869. "name": "middlegoodsid",
  2870. "in": "query",
  2871. "required": true
  2872. }
  2873. ],
  2874. "responses": {
  2875. "200": {
  2876. "description": "OK",
  2877. "schema": {
  2878. "type": "array",
  2879. "items": {
  2880. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2881. }
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Ermcp/QueryPendingAuditInfo": {
  2894. "get": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "企业风险管理(app)"
  2905. ],
  2906. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2907. "parameters": [
  2908. {
  2909. "type": "integer",
  2910. "description": "用户ID",
  2911. "name": "UserId",
  2912. "in": "query",
  2913. "required": true
  2914. }
  2915. ],
  2916. "responses": {
  2917. "200": {
  2918. "description": "OK",
  2919. "schema": {
  2920. "type": "array",
  2921. "items": {
  2922. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2923. }
  2924. }
  2925. },
  2926. "500": {
  2927. "description": "Internal Server Error",
  2928. "schema": {
  2929. "$ref": "#/definitions/app.Response"
  2930. }
  2931. }
  2932. }
  2933. }
  2934. },
  2935. "/Ermcp/QueryRealtimeExposure": {
  2936. "get": {
  2937. "security": [
  2938. {
  2939. "ApiKeyAuth": []
  2940. }
  2941. ],
  2942. "produces": [
  2943. "application/json"
  2944. ],
  2945. "tags": [
  2946. "企业风险管理(app)"
  2947. ],
  2948. "summary": "查询实时敞口",
  2949. "parameters": [
  2950. {
  2951. "type": "integer",
  2952. "description": "所属机构ID",
  2953. "name": "AreaUserID",
  2954. "in": "query",
  2955. "required": true
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "type": "array",
  2963. "items": {
  2964. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2965. }
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/Ermcp/QueryRealtimeExposurePosition": {
  2978. "get": {
  2979. "security": [
  2980. {
  2981. "ApiKeyAuth": []
  2982. }
  2983. ],
  2984. "produces": [
  2985. "application/json"
  2986. ],
  2987. "tags": [
  2988. "企业风险管理(app)"
  2989. ],
  2990. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2991. "parameters": [
  2992. {
  2993. "type": "integer",
  2994. "description": "所属机构ID",
  2995. "name": "areaUserId",
  2996. "in": "query",
  2997. "required": true
  2998. },
  2999. {
  3000. "type": "integer",
  3001. "description": "套保商品ID",
  3002. "name": "middleGoodsId",
  3003. "in": "query",
  3004. "required": true
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "type": "array",
  3012. "items": {
  3013. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3014. }
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/Ermcp/QuerySpotContract": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "企业风险管理(app)"
  3038. ],
  3039. "summary": "查询现货合同(对应现货合同菜单)",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "用户ID",
  3044. "name": "userId",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3051. "name": "QueryType",
  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/ermcp.QrySpotContractRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QueryUserInfo": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询客户资料",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "所属机构用户ID",
  3093. "name": "MemberUserID",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3100. "name": "queryType",
  3101. "in": "query",
  3102. "required": true
  3103. }
  3104. ],
  3105. "responses": {
  3106. "200": {
  3107. "description": "OK",
  3108. "schema": {
  3109. "type": "array",
  3110. "items": {
  3111. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3112. }
  3113. }
  3114. },
  3115. "500": {
  3116. "description": "Internal Server Error",
  3117. "schema": {
  3118. "$ref": "#/definitions/app.Response"
  3119. }
  3120. }
  3121. }
  3122. }
  3123. },
  3124. "/Ermcp/QueryWarehouseInfo": {
  3125. "get": {
  3126. "security": [
  3127. {
  3128. "ApiKeyAuth": []
  3129. }
  3130. ],
  3131. "produces": [
  3132. "application/json"
  3133. ],
  3134. "tags": [
  3135. "企业风险管理(app)"
  3136. ],
  3137. "summary": "查询仓库信息",
  3138. "parameters": [
  3139. {
  3140. "type": "integer",
  3141. "description": "用户ID",
  3142. "name": "userid",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3149. "name": "status",
  3150. "in": "query"
  3151. }
  3152. ],
  3153. "responses": {
  3154. "200": {
  3155. "description": "OK",
  3156. "schema": {
  3157. "type": "array",
  3158. "items": {
  3159. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3160. }
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/Ermcp/QueryWrStandard": {
  3173. "get": {
  3174. "security": [
  3175. {
  3176. "ApiKeyAuth": []
  3177. }
  3178. ],
  3179. "produces": [
  3180. "application/json"
  3181. ],
  3182. "tags": [
  3183. "企业风险管理(app)"
  3184. ],
  3185. "summary": "查询现货商品",
  3186. "parameters": [
  3187. {
  3188. "type": "integer",
  3189. "description": "所属机构ID",
  3190. "name": "userid",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "状态 0-停用 1-正常",
  3197. "name": "status",
  3198. "in": "query",
  3199. "required": true
  3200. }
  3201. ],
  3202. "responses": {
  3203. "200": {
  3204. "description": "OK",
  3205. "schema": {
  3206. "type": "array",
  3207. "items": {
  3208. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3209. }
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Ermcp/QueryWrStandardDetail": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "企业风险管理(app)"
  3233. ],
  3234. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "所属机构ID",
  3239. "name": "userid",
  3240. "in": "query",
  3241. "required": true
  3242. },
  3243. {
  3244. "type": "integer",
  3245. "description": "现货商品ID",
  3246. "name": "wrstandardid",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "可不填, 1-查询关联交易商品",
  3253. "name": "goods",
  3254. "in": "query"
  3255. }
  3256. ],
  3257. "responses": {
  3258. "200": {
  3259. "description": "OK",
  3260. "schema": {
  3261. "type": "array",
  3262. "items": {
  3263. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3264. }
  3265. }
  3266. },
  3267. "500": {
  3268. "description": "Internal Server Error",
  3269. "schema": {
  3270. "$ref": "#/definitions/app.Response"
  3271. }
  3272. }
  3273. }
  3274. }
  3275. },
  3276. "/Erms2/QueryArbitrageStrategy": {
  3277. "get": {
  3278. "security": [
  3279. {
  3280. "ApiKeyAuth": []
  3281. }
  3282. ],
  3283. "produces": [
  3284. "application/json"
  3285. ],
  3286. "tags": [
  3287. "风险管理"
  3288. ],
  3289. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3290. "parameters": [
  3291. {
  3292. "type": "integer",
  3293. "description": "账户ID",
  3294. "name": "userid",
  3295. "in": "query",
  3296. "required": true
  3297. },
  3298. {
  3299. "type": "string",
  3300. "description": "商品组ID(品种ID)",
  3301. "name": "goodsgroupid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3310. }
  3311. },
  3312. "500": {
  3313. "description": "Internal Server Error",
  3314. "schema": {
  3315. "$ref": "#/definitions/app.Response"
  3316. }
  3317. }
  3318. }
  3319. }
  3320. },
  3321. "/Erms2/QueryInnerTradeDetail": {
  3322. "get": {
  3323. "security": [
  3324. {
  3325. "ApiKeyAuth": []
  3326. }
  3327. ],
  3328. "produces": [
  3329. "application/json"
  3330. ],
  3331. "tags": [
  3332. "风险管理"
  3333. ],
  3334. "summary": "查询内部成交单信息",
  3335. "parameters": [
  3336. {
  3337. "type": "integer",
  3338. "description": "资金账户",
  3339. "name": "accountid",
  3340. "in": "query",
  3341. "required": true
  3342. }
  3343. ],
  3344. "responses": {
  3345. "200": {
  3346. "description": "OK",
  3347. "schema": {
  3348. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3349. }
  3350. },
  3351. "500": {
  3352. "description": "Internal Server Error",
  3353. "schema": {
  3354. "$ref": "#/definitions/app.Response"
  3355. }
  3356. }
  3357. }
  3358. }
  3359. },
  3360. "/Erms2/QuerySpotContract": {
  3361. "get": {
  3362. "security": [
  3363. {
  3364. "ApiKeyAuth": []
  3365. }
  3366. ],
  3367. "produces": [
  3368. "application/json"
  3369. ],
  3370. "tags": [
  3371. "风险管理"
  3372. ],
  3373. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3374. "parameters": [
  3375. {
  3376. "type": "integer",
  3377. "description": "策略申请ID",
  3378. "name": "asapplyid",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "integer",
  3384. "description": "现货合同ID",
  3385. "name": "spotcontractid",
  3386. "in": "query"
  3387. }
  3388. ],
  3389. "responses": {
  3390. "200": {
  3391. "description": "OK",
  3392. "schema": {
  3393. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3394. }
  3395. },
  3396. "500": {
  3397. "description": "Internal Server Error",
  3398. "schema": {
  3399. "$ref": "#/definitions/app.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/Erms3/AddErms2ASApply": {
  3406. "post": {
  3407. "security": [
  3408. {
  3409. "ApiKeyAuth": []
  3410. }
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "风险管理v3"
  3417. ],
  3418. "summary": "新增期现套利业务申请",
  3419. "parameters": [
  3420. {
  3421. "description": "申请参数",
  3422. "name": "jsonBody",
  3423. "in": "body",
  3424. "required": true,
  3425. "schema": {
  3426. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3427. }
  3428. }
  3429. ],
  3430. "responses": {
  3431. "200": {
  3432. "description": "OK",
  3433. "schema": {
  3434. "$ref": "#/definitions/app.Response"
  3435. }
  3436. },
  3437. "500": {
  3438. "description": "Internal Server Error",
  3439. "schema": {
  3440. "$ref": "#/definitions/app.Response"
  3441. }
  3442. }
  3443. }
  3444. }
  3445. },
  3446. "/Erms3/AddErms2SpotTradeApply": {
  3447. "post": {
  3448. "security": [
  3449. {
  3450. "ApiKeyAuth": []
  3451. }
  3452. ],
  3453. "produces": [
  3454. "application/json"
  3455. ],
  3456. "tags": [
  3457. "风险管理v3"
  3458. ],
  3459. "summary": "新增现货贸易业务申请",
  3460. "parameters": [
  3461. {
  3462. "description": "申请参数",
  3463. "name": "jsonBody",
  3464. "in": "body",
  3465. "required": true,
  3466. "schema": {
  3467. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3468. }
  3469. }
  3470. ],
  3471. "responses": {
  3472. "200": {
  3473. "description": "OK",
  3474. "schema": {
  3475. "$ref": "#/definitions/app.Response"
  3476. }
  3477. },
  3478. "500": {
  3479. "description": "Internal Server Error",
  3480. "schema": {
  3481. "$ref": "#/definitions/app.Response"
  3482. }
  3483. }
  3484. }
  3485. }
  3486. },
  3487. "/Erms3/AddSpotContractApply": {
  3488. "post": {
  3489. "security": [
  3490. {
  3491. "ApiKeyAuth": []
  3492. }
  3493. ],
  3494. "produces": [
  3495. "application/json"
  3496. ],
  3497. "tags": [
  3498. "风险管理v3"
  3499. ],
  3500. "summary": "新增现货合同申请",
  3501. "parameters": [
  3502. {
  3503. "description": "申请参数",
  3504. "name": "jsonBody",
  3505. "in": "body",
  3506. "required": true,
  3507. "schema": {
  3508. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3509. }
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/Erms3/AddUserInfoApply": {
  3529. "post": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "风险管理v3"
  3540. ],
  3541. "summary": "新增客户申请",
  3542. "parameters": [
  3543. {
  3544. "description": "用户信息",
  3545. "name": "jsonBody",
  3546. "in": "body",
  3547. "required": true,
  3548. "schema": {
  3549. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3550. }
  3551. }
  3552. ],
  3553. "responses": {
  3554. "200": {
  3555. "description": "OK",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. },
  3560. "500": {
  3561. "description": "Internal Server Error",
  3562. "schema": {
  3563. "$ref": "#/definitions/app.Response"
  3564. }
  3565. }
  3566. }
  3567. }
  3568. },
  3569. "/Erms3/ModifyUserInfoApply": {
  3570. "post": {
  3571. "security": [
  3572. {
  3573. "ApiKeyAuth": []
  3574. }
  3575. ],
  3576. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3577. "produces": [
  3578. "application/json"
  3579. ],
  3580. "tags": [
  3581. "风险管理v3"
  3582. ],
  3583. "summary": "修改客户申请",
  3584. "parameters": [
  3585. {
  3586. "description": "用户信息",
  3587. "name": "jsonBody",
  3588. "in": "body",
  3589. "required": true,
  3590. "schema": {
  3591. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3592. }
  3593. }
  3594. ],
  3595. "responses": {
  3596. "200": {
  3597. "description": "OK",
  3598. "schema": {
  3599. "$ref": "#/definitions/app.Response"
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/app.Response"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/Erms3/QueryBusinessInfo": {
  3612. "get": {
  3613. "security": [
  3614. {
  3615. "ApiKeyAuth": []
  3616. }
  3617. ],
  3618. "produces": [
  3619. "application/json"
  3620. ],
  3621. "tags": [
  3622. "风险管理v3"
  3623. ],
  3624. "summary": "查询业务表单数据",
  3625. "parameters": [
  3626. {
  3627. "type": "string",
  3628. "description": "资金账号ID列表,用逗号分隔",
  3629. "name": "accountids",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "状态,0为未结束 1为已结束",
  3636. "name": "status",
  3637. "in": "query",
  3638. "required": true
  3639. }
  3640. ],
  3641. "responses": {
  3642. "200": {
  3643. "description": "OK",
  3644. "schema": {
  3645. "type": "array",
  3646. "items": {
  3647. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3648. }
  3649. }
  3650. },
  3651. "500": {
  3652. "description": "Internal Server Error",
  3653. "schema": {
  3654. "$ref": "#/definitions/app.Response"
  3655. }
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "/Erms3/QueryPendingAuditContract": {
  3661. "get": {
  3662. "security": [
  3663. {
  3664. "ApiKeyAuth": []
  3665. }
  3666. ],
  3667. "produces": [
  3668. "application/json"
  3669. ],
  3670. "tags": [
  3671. "风险管理v3"
  3672. ],
  3673. "summary": "查询待审核合同",
  3674. "parameters": [
  3675. {
  3676. "type": "string",
  3677. "description": "资金账号ID列表,逗号隔开",
  3678. "name": "accountids",
  3679. "in": "query",
  3680. "required": true
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "合同类型 1-采购 -1-销售",
  3685. "name": "contracttype",
  3686. "in": "query",
  3687. "required": true
  3688. },
  3689. {
  3690. "type": "integer",
  3691. "description": "合同模式 1-普通 2-回购",
  3692. "name": "contractmode",
  3693. "in": "query",
  3694. "required": true
  3695. }
  3696. ],
  3697. "responses": {
  3698. "200": {
  3699. "description": "OK",
  3700. "schema": {
  3701. "type": "array",
  3702. "items": {
  3703. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3704. }
  3705. }
  3706. },
  3707. "500": {
  3708. "description": "Internal Server Error",
  3709. "schema": {
  3710. "$ref": "#/definitions/app.Response"
  3711. }
  3712. }
  3713. }
  3714. }
  3715. },
  3716. "/Erms3/QueryPendingBusiness": {
  3717. "get": {
  3718. "security": [
  3719. {
  3720. "ApiKeyAuth": []
  3721. }
  3722. ],
  3723. "produces": [
  3724. "application/json"
  3725. ],
  3726. "tags": [
  3727. "风险管理v3"
  3728. ],
  3729. "summary": "查询待审核基差贸易业务",
  3730. "parameters": [
  3731. {
  3732. "type": "string",
  3733. "description": "资金账号ID列表,逗号隔开",
  3734. "name": "accountids",
  3735. "in": "query",
  3736. "required": true
  3737. }
  3738. ],
  3739. "responses": {
  3740. "200": {
  3741. "description": "OK",
  3742. "schema": {
  3743. "type": "array",
  3744. "items": {
  3745. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3746. }
  3747. }
  3748. },
  3749. "500": {
  3750. "description": "Internal Server Error",
  3751. "schema": {
  3752. "$ref": "#/definitions/app.Response"
  3753. }
  3754. }
  3755. }
  3756. }
  3757. },
  3758. "/Erms3/QuerySpotContractAppleForm": {
  3759. "get": {
  3760. "security": [
  3761. {
  3762. "ApiKeyAuth": []
  3763. }
  3764. ],
  3765. "produces": [
  3766. "application/json"
  3767. ],
  3768. "tags": [
  3769. "风险管理v3"
  3770. ],
  3771. "summary": "查询合同申请表单数据",
  3772. "parameters": [
  3773. {
  3774. "type": "integer",
  3775. "description": "登录账号",
  3776. "name": "loginID",
  3777. "in": "query",
  3778. "required": true
  3779. }
  3780. ],
  3781. "responses": {
  3782. "200": {
  3783. "description": "OK",
  3784. "schema": {
  3785. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3786. }
  3787. },
  3788. "500": {
  3789. "description": "Internal Server Error",
  3790. "schema": {
  3791. "$ref": "#/definitions/app.Response"
  3792. }
  3793. }
  3794. }
  3795. }
  3796. },
  3797. "/Erms3/QuerySpotContractDetail": {
  3798. "get": {
  3799. "security": [
  3800. {
  3801. "ApiKeyAuth": []
  3802. }
  3803. ],
  3804. "produces": [
  3805. "application/json"
  3806. ],
  3807. "tags": [
  3808. "风险管理v3"
  3809. ],
  3810. "summary": "查询合同详细信息",
  3811. "parameters": [
  3812. {
  3813. "type": "string",
  3814. "description": "资金账号ID列表,用逗号分隔",
  3815. "name": "accountids",
  3816. "in": "query",
  3817. "required": true
  3818. },
  3819. {
  3820. "type": "integer",
  3821. "description": "合同类型,1为采购合同 -1为销售合同",
  3822. "name": "contracttype",
  3823. "in": "query",
  3824. "required": true
  3825. },
  3826. {
  3827. "type": "integer",
  3828. "description": "合同模式,1为普通合同 2为回购销售合同",
  3829. "name": "contractmode",
  3830. "in": "query",
  3831. "required": true
  3832. },
  3833. {
  3834. "type": "integer",
  3835. "description": "状态,0为履约中 1为已完成",
  3836. "name": "status",
  3837. "in": "query",
  3838. "required": true
  3839. }
  3840. ],
  3841. "responses": {
  3842. "200": {
  3843. "description": "OK",
  3844. "schema": {
  3845. "type": "array",
  3846. "items": {
  3847. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3848. }
  3849. }
  3850. },
  3851. "500": {
  3852. "description": "Internal Server Error",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. }
  3857. }
  3858. }
  3859. },
  3860. "/Erms3/QueryUserInfoApplies": {
  3861. "get": {
  3862. "security": [
  3863. {
  3864. "ApiKeyAuth": []
  3865. }
  3866. ],
  3867. "produces": [
  3868. "application/json"
  3869. ],
  3870. "tags": [
  3871. "风险管理v3"
  3872. ],
  3873. "summary": "客户申请信息查询",
  3874. "parameters": [
  3875. {
  3876. "type": "integer",
  3877. "description": "页码",
  3878. "name": "page",
  3879. "in": "query"
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "每页条数",
  3884. "name": "pagesize",
  3885. "in": "query"
  3886. },
  3887. {
  3888. "type": "string",
  3889. "description": "客户名称,支持模糊查询",
  3890. "name": "userName",
  3891. "in": "query"
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/Erms3/QueryUserInfos": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "produces": [
  3918. "application/json"
  3919. ],
  3920. "tags": [
  3921. "风险管理v3"
  3922. ],
  3923. "summary": "客户信息查询",
  3924. "parameters": [
  3925. {
  3926. "type": "integer",
  3927. "description": "页码",
  3928. "name": "page",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "integer",
  3933. "description": "每页条数",
  3934. "name": "pagesize",
  3935. "in": "query"
  3936. },
  3937. {
  3938. "type": "string",
  3939. "description": "客户名称,支持模糊查询",
  3940. "name": "userName",
  3941. "in": "query"
  3942. }
  3943. ],
  3944. "responses": {
  3945. "200": {
  3946. "description": "OK",
  3947. "schema": {
  3948. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3949. }
  3950. },
  3951. "500": {
  3952. "description": "Internal Server Error",
  3953. "schema": {
  3954. "$ref": "#/definitions/app.Response"
  3955. }
  3956. }
  3957. }
  3958. }
  3959. },
  3960. "/HSBY/GetHsbyMyCount": {
  3961. "get": {
  3962. "security": [
  3963. {
  3964. "ApiKeyAuth": []
  3965. }
  3966. ],
  3967. "description": "说明: 不包括已完成的数量。",
  3968. "produces": [
  3969. "application/json"
  3970. ],
  3971. "tags": [
  3972. "定制【海商报业】"
  3973. ],
  3974. "summary": "获取我的订单与包裹数量",
  3975. "parameters": [
  3976. {
  3977. "type": "string",
  3978. "description": "资金账户列表,格式:1,2,3",
  3979. "name": "accountIDs",
  3980. "in": "query",
  3981. "required": true
  3982. }
  3983. ],
  3984. "responses": {
  3985. "200": {
  3986. "description": "OK",
  3987. "schema": {
  3988. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/HSBY/QueryClientFixedADConfigs": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "定制【海商报业】"
  4012. ],
  4013. "summary": "获取终端固定广告配置",
  4014. "responses": {
  4015. "200": {
  4016. "description": "OK",
  4017. "schema": {
  4018. "$ref": "#/definitions/models.Clientfixedadconfig"
  4019. }
  4020. },
  4021. "500": {
  4022. "description": "Internal Server Error",
  4023. "schema": {
  4024. "$ref": "#/definitions/app.Response"
  4025. }
  4026. }
  4027. }
  4028. }
  4029. },
  4030. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4031. "get": {
  4032. "security": [
  4033. {
  4034. "ApiKeyAuth": []
  4035. }
  4036. ],
  4037. "produces": [
  4038. "application/json"
  4039. ],
  4040. "tags": [
  4041. "定制【海商报业】"
  4042. ],
  4043. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4044. "parameters": [
  4045. {
  4046. "type": "integer",
  4047. "description": "页码",
  4048. "name": "page",
  4049. "in": "query"
  4050. },
  4051. {
  4052. "type": "integer",
  4053. "description": "每页条数",
  4054. "name": "pagesize",
  4055. "in": "query"
  4056. },
  4057. {
  4058. "type": "string",
  4059. "description": "资金账户列表,格式:1,2,3",
  4060. "name": "accountIDs",
  4061. "in": "query",
  4062. "required": true
  4063. }
  4064. ],
  4065. "responses": {
  4066. "200": {
  4067. "description": "OK",
  4068. "schema": {
  4069. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4070. }
  4071. },
  4072. "500": {
  4073. "description": "Internal Server Error",
  4074. "schema": {
  4075. "$ref": "#/definitions/app.Response"
  4076. }
  4077. }
  4078. }
  4079. }
  4080. },
  4081. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4082. "get": {
  4083. "security": [
  4084. {
  4085. "ApiKeyAuth": []
  4086. }
  4087. ],
  4088. "description": "说明:查询结果已按委托价格和委托时间排序",
  4089. "produces": [
  4090. "application/json"
  4091. ],
  4092. "tags": [
  4093. "定制【海商报业】"
  4094. ],
  4095. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4096. "parameters": [
  4097. {
  4098. "type": "integer",
  4099. "description": "商品ID",
  4100. "name": "goodsID",
  4101. "in": "query",
  4102. "required": true
  4103. },
  4104. {
  4105. "type": "string",
  4106. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4107. "name": "accountIDs",
  4108. "in": "query"
  4109. },
  4110. {
  4111. "type": "integer",
  4112. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4113. "name": "buyOrSell",
  4114. "in": "query"
  4115. },
  4116. {
  4117. "type": "number",
  4118. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4119. "name": "price",
  4120. "in": "query"
  4121. },
  4122. {
  4123. "type": "integer",
  4124. "description": "档位,不传则默认为3档",
  4125. "name": "speed",
  4126. "in": "query"
  4127. }
  4128. ],
  4129. "responses": {
  4130. "200": {
  4131. "description": "OK",
  4132. "schema": {
  4133. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4134. }
  4135. },
  4136. "500": {
  4137. "description": "Internal Server Error",
  4138. "schema": {
  4139. "$ref": "#/definitions/app.Response"
  4140. }
  4141. }
  4142. }
  4143. }
  4144. },
  4145. "/HSBY/QueryHsbyListingGoodsDetail": {
  4146. "get": {
  4147. "security": [
  4148. {
  4149. "ApiKeyAuth": []
  4150. }
  4151. ],
  4152. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "定制【海商报业】"
  4158. ],
  4159. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "商品ID",
  4164. "name": "goodsID",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4171. "name": "accountID",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4180. }
  4181. },
  4182. "500": {
  4183. "description": "Internal Server Error",
  4184. "schema": {
  4185. "$ref": "#/definitions/app.Response"
  4186. }
  4187. }
  4188. }
  4189. }
  4190. },
  4191. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4192. "get": {
  4193. "security": [
  4194. {
  4195. "ApiKeyAuth": []
  4196. }
  4197. ],
  4198. "produces": [
  4199. "application/json"
  4200. ],
  4201. "tags": [
  4202. "定制【海商报业】"
  4203. ],
  4204. "summary": "查询三级市场(商城)商品信息详情",
  4205. "parameters": [
  4206. {
  4207. "type": "integer",
  4208. "description": "委托单号",
  4209. "name": "orderID",
  4210. "in": "query",
  4211. "required": true
  4212. },
  4213. {
  4214. "type": "integer",
  4215. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4216. "name": "accountID",
  4217. "in": "query"
  4218. }
  4219. ],
  4220. "responses": {
  4221. "200": {
  4222. "description": "OK",
  4223. "schema": {
  4224. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4225. }
  4226. },
  4227. "500": {
  4228. "description": "Internal Server Error",
  4229. "schema": {
  4230. "$ref": "#/definitions/app.Response"
  4231. }
  4232. }
  4233. }
  4234. }
  4235. },
  4236. "/HSBY/QueryHsbyMarketGoodses": {
  4237. "get": {
  4238. "security": [
  4239. {
  4240. "ApiKeyAuth": []
  4241. }
  4242. ],
  4243. "produces": [
  4244. "application/json"
  4245. ],
  4246. "tags": [
  4247. "定制【海商报业】"
  4248. ],
  4249. "summary": "查询特卖商品列表(三级商城)",
  4250. "parameters": [
  4251. {
  4252. "type": "integer",
  4253. "description": "页码",
  4254. "name": "page",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "每页条数",
  4260. "name": "pagesize",
  4261. "in": "query"
  4262. },
  4263. {
  4264. "type": "string",
  4265. "description": "市场ID列表,格式:1,2,3",
  4266. "name": "marketIDs",
  4267. "in": "query",
  4268. "required": true
  4269. },
  4270. {
  4271. "type": "integer",
  4272. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4273. "name": "accountID",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "类别ID",
  4280. "name": "categoryID",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "string",
  4285. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4286. "name": "goodsIDs",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4292. "name": "couponTypeID",
  4293. "in": "query"
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "$ref": "#/definitions/models.HsbyMarketGoods"
  4301. }
  4302. },
  4303. "500": {
  4304. "description": "Internal Server Error",
  4305. "schema": {
  4306. "$ref": "#/definitions/app.Response"
  4307. }
  4308. }
  4309. }
  4310. }
  4311. },
  4312. "/HSBY/QueryHsbyMarkets": {
  4313. "get": {
  4314. "security": [
  4315. {
  4316. "ApiKeyAuth": []
  4317. }
  4318. ],
  4319. "produces": [
  4320. "application/json"
  4321. ],
  4322. "tags": [
  4323. "定制【海商报业】"
  4324. ],
  4325. "summary": "查询海商报业相关市场信息",
  4326. "responses": {
  4327. "200": {
  4328. "description": "OK",
  4329. "schema": {
  4330. "$ref": "#/definitions/models.HsbyMarketInfo"
  4331. }
  4332. },
  4333. "500": {
  4334. "description": "Internal Server Error",
  4335. "schema": {
  4336. "$ref": "#/definitions/app.Response"
  4337. }
  4338. }
  4339. }
  4340. }
  4341. },
  4342. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4343. "get": {
  4344. "security": [
  4345. {
  4346. "ApiKeyAuth": []
  4347. }
  4348. ],
  4349. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4350. "produces": [
  4351. "application/json"
  4352. ],
  4353. "tags": [
  4354. "定制【海商报业】"
  4355. ],
  4356. "summary": "查询“我的订单”信息",
  4357. "parameters": [
  4358. {
  4359. "type": "string",
  4360. "description": "资金账户列表,格式:1,2,3",
  4361. "name": "accountIDs",
  4362. "in": "query",
  4363. "required": true
  4364. }
  4365. ],
  4366. "responses": {
  4367. "200": {
  4368. "description": "OK",
  4369. "schema": {
  4370. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4371. }
  4372. },
  4373. "500": {
  4374. "description": "Internal Server Error",
  4375. "schema": {
  4376. "$ref": "#/definitions/app.Response"
  4377. }
  4378. }
  4379. }
  4380. }
  4381. },
  4382. "/HSBY/QueryHsbyMyGoods": {
  4383. "get": {
  4384. "security": [
  4385. {
  4386. "ApiKeyAuth": []
  4387. }
  4388. ],
  4389. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4390. "produces": [
  4391. "application/json"
  4392. ],
  4393. "tags": [
  4394. "定制【海商报业】"
  4395. ],
  4396. "summary": "查询“我的商品”信息",
  4397. "parameters": [
  4398. {
  4399. "type": "string",
  4400. "description": "资金账户列表,格式:1,2,3",
  4401. "name": "accountIDs",
  4402. "in": "query",
  4403. "required": true
  4404. }
  4405. ],
  4406. "responses": {
  4407. "200": {
  4408. "description": "OK",
  4409. "schema": {
  4410. "$ref": "#/definitions/models.HsbyMyGoods"
  4411. }
  4412. },
  4413. "500": {
  4414. "description": "Internal Server Error",
  4415. "schema": {
  4416. "$ref": "#/definitions/app.Response"
  4417. }
  4418. }
  4419. }
  4420. }
  4421. },
  4422. "/HSBY/QueryHsbyMyPackages": {
  4423. "get": {
  4424. "security": [
  4425. {
  4426. "ApiKeyAuth": []
  4427. }
  4428. ],
  4429. "produces": [
  4430. "application/json"
  4431. ],
  4432. "tags": [
  4433. "定制【海商报业】"
  4434. ],
  4435. "summary": "查询我的包裹信息",
  4436. "parameters": [
  4437. {
  4438. "type": "string",
  4439. "description": "资金账户列表,格式:1,2,3",
  4440. "name": "accountIDs",
  4441. "in": "query",
  4442. "required": true
  4443. },
  4444. {
  4445. "type": "integer",
  4446. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4447. "name": "takeOrderStatus",
  4448. "in": "query"
  4449. }
  4450. ],
  4451. "responses": {
  4452. "200": {
  4453. "description": "OK",
  4454. "schema": {
  4455. "$ref": "#/definitions/models.HsbyMyPackage"
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/HSBY/QueryHsbyPreGoodsDetail": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "定制【海商报业】"
  4479. ],
  4480. "summary": "查询一级市场(预售)商品信息详情",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "商品ID",
  4485. "name": "goodsID",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "资金账户,主要用于获取预售商品购买上限",
  4492. "name": "accountID",
  4493. "in": "query"
  4494. }
  4495. ],
  4496. "responses": {
  4497. "200": {
  4498. "description": "OK",
  4499. "schema": {
  4500. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4501. }
  4502. },
  4503. "500": {
  4504. "description": "Internal Server Error",
  4505. "schema": {
  4506. "$ref": "#/definitions/app.Response"
  4507. }
  4508. }
  4509. }
  4510. }
  4511. },
  4512. "/HSBY/QueryHsbyPreGoodses": {
  4513. "get": {
  4514. "security": [
  4515. {
  4516. "ApiKeyAuth": []
  4517. }
  4518. ],
  4519. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4520. "produces": [
  4521. "application/json"
  4522. ],
  4523. "tags": [
  4524. "定制【海商报业】"
  4525. ],
  4526. "summary": "查询新品上市商品列表(一级市场预售)",
  4527. "parameters": [
  4528. {
  4529. "type": "integer",
  4530. "description": "页码",
  4531. "name": "page",
  4532. "in": "query"
  4533. },
  4534. {
  4535. "type": "integer",
  4536. "description": "每页条数",
  4537. "name": "pagesize",
  4538. "in": "query"
  4539. },
  4540. {
  4541. "type": "string",
  4542. "description": "市场ID列表,格式:1,2,3",
  4543. "name": "marketIDs",
  4544. "in": "query",
  4545. "required": true
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "目的地(省)ID",
  4550. "name": "descProvinceID",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "integer",
  4555. "description": "目的地(市)ID",
  4556. "name": "descCityID",
  4557. "in": "query"
  4558. }
  4559. ],
  4560. "responses": {
  4561. "200": {
  4562. "description": "OK",
  4563. "schema": {
  4564. "$ref": "#/definitions/models.HsbyPreGoods"
  4565. }
  4566. },
  4567. "500": {
  4568. "description": "Internal Server Error",
  4569. "schema": {
  4570. "$ref": "#/definitions/app.Response"
  4571. }
  4572. }
  4573. }
  4574. }
  4575. },
  4576. "/HSBY/QueryHsbySellMyDetails": {
  4577. "get": {
  4578. "security": [
  4579. {
  4580. "ApiKeyAuth": []
  4581. }
  4582. ],
  4583. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4584. "produces": [
  4585. "application/json"
  4586. ],
  4587. "tags": [
  4588. "定制【海商报业】"
  4589. ],
  4590. "summary": "查询\"我的闲置\"单据信息",
  4591. "parameters": [
  4592. {
  4593. "type": "integer",
  4594. "description": "页码",
  4595. "name": "page",
  4596. "in": "query"
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "每页条数",
  4601. "name": "pagesize",
  4602. "in": "query"
  4603. },
  4604. {
  4605. "type": "string",
  4606. "description": "资金账户列表,格式:1,2,3",
  4607. "name": "accountIDs",
  4608. "in": "query",
  4609. "required": true
  4610. },
  4611. {
  4612. "type": "integer",
  4613. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4614. "name": "orderType",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "$ref": "#/definitions/models.HsbySellMyDetail"
  4623. }
  4624. },
  4625. "500": {
  4626. "description": "Internal Server Error",
  4627. "schema": {
  4628. "$ref": "#/definitions/app.Response"
  4629. }
  4630. }
  4631. }
  4632. }
  4633. },
  4634. "/HSBY/QueryHsbyTopGoodses": {
  4635. "get": {
  4636. "security": [
  4637. {
  4638. "ApiKeyAuth": []
  4639. }
  4640. ],
  4641. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4642. "produces": [
  4643. "application/json"
  4644. ],
  4645. "tags": [
  4646. "定制【海商报业】"
  4647. ],
  4648. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4649. "parameters": [
  4650. {
  4651. "type": "integer",
  4652. "description": "页码",
  4653. "name": "page",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "integer",
  4658. "description": "每页条数",
  4659. "name": "pagesize",
  4660. "in": "query"
  4661. },
  4662. {
  4663. "type": "string",
  4664. "description": "市场ID列表,格式:1,2,3",
  4665. "name": "marketIDs",
  4666. "in": "query",
  4667. "required": true
  4668. },
  4669. {
  4670. "type": "integer",
  4671. "description": "目的地(省)ID",
  4672. "name": "descProvinceID",
  4673. "in": "query"
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "目的地(市)ID",
  4678. "name": "descCityID",
  4679. "in": "query"
  4680. }
  4681. ],
  4682. "responses": {
  4683. "200": {
  4684. "description": "OK",
  4685. "schema": {
  4686. "$ref": "#/definitions/models.HsbyTopGoods"
  4687. }
  4688. },
  4689. "500": {
  4690. "description": "Internal Server Error",
  4691. "schema": {
  4692. "$ref": "#/definitions/app.Response"
  4693. }
  4694. }
  4695. }
  4696. }
  4697. },
  4698. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4699. "get": {
  4700. "security": [
  4701. {
  4702. "ApiKeyAuth": []
  4703. }
  4704. ],
  4705. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4706. "produces": [
  4707. "application/json"
  4708. ],
  4709. "tags": [
  4710. "定制【海商报业】"
  4711. ],
  4712. "summary": "查询游客三级市场(商城)商品信息详情",
  4713. "parameters": [
  4714. {
  4715. "type": "integer",
  4716. "description": "商品ID",
  4717. "name": "goodsID",
  4718. "in": "query",
  4719. "required": true
  4720. }
  4721. ],
  4722. "responses": {
  4723. "200": {
  4724. "description": "OK",
  4725. "schema": {
  4726. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4727. }
  4728. },
  4729. "500": {
  4730. "description": "Internal Server Error",
  4731. "schema": {
  4732. "$ref": "#/definitions/app.Response"
  4733. }
  4734. }
  4735. }
  4736. }
  4737. },
  4738. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4739. "get": {
  4740. "security": [
  4741. {
  4742. "ApiKeyAuth": []
  4743. }
  4744. ],
  4745. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4746. "produces": [
  4747. "application/json"
  4748. ],
  4749. "tags": [
  4750. "定制【海商报业】"
  4751. ],
  4752. "summary": "查询游客特卖商品列表(三级商城)",
  4753. "parameters": [
  4754. {
  4755. "type": "integer",
  4756. "description": "页码",
  4757. "name": "page",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "integer",
  4762. "description": "每页条数",
  4763. "name": "pagesize",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "string",
  4768. "description": "市场ID列表,格式:1,2,3",
  4769. "name": "marketIDs",
  4770. "in": "query",
  4771. "required": true
  4772. },
  4773. {
  4774. "type": "integer",
  4775. "description": "类别ID",
  4776. "name": "categoryID",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4782. "name": "goodsIDs",
  4783. "in": "query"
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "$ref": "#/definitions/models.HsbyMarketGoods"
  4791. }
  4792. },
  4793. "500": {
  4794. "description": "Internal Server Error",
  4795. "schema": {
  4796. "$ref": "#/definitions/app.Response"
  4797. }
  4798. }
  4799. }
  4800. }
  4801. },
  4802. "/HSBY/QueryMyCollectionOrders": {
  4803. "get": {
  4804. "security": [
  4805. {
  4806. "ApiKeyAuth": []
  4807. }
  4808. ],
  4809. "produces": [
  4810. "application/json"
  4811. ],
  4812. "tags": [
  4813. "定制【海商报业】"
  4814. ],
  4815. "summary": "我的闲置中收款信息查询",
  4816. "parameters": [
  4817. {
  4818. "type": "integer",
  4819. "description": "页码",
  4820. "name": "page",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "每页条数",
  4826. "name": "pagesize",
  4827. "in": "query"
  4828. },
  4829. {
  4830. "type": "string",
  4831. "description": "资金账户,格式:1,2,3",
  4832. "name": "accountIDs",
  4833. "in": "query",
  4834. "required": true
  4835. }
  4836. ],
  4837. "responses": {
  4838. "200": {
  4839. "description": "OK",
  4840. "schema": {
  4841. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4842. }
  4843. },
  4844. "500": {
  4845. "description": "Internal Server Error",
  4846. "schema": {
  4847. "$ref": "#/definitions/app.Response"
  4848. }
  4849. }
  4850. }
  4851. }
  4852. },
  4853. "/HSBY/QueryMyCouponHolds": {
  4854. "get": {
  4855. "security": [
  4856. {
  4857. "ApiKeyAuth": []
  4858. }
  4859. ],
  4860. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4861. "produces": [
  4862. "application/json"
  4863. ],
  4864. "tags": [
  4865. "定制【海商报业】"
  4866. ],
  4867. "summary": "我的优惠卷持仓查询",
  4868. "parameters": [
  4869. {
  4870. "type": "string",
  4871. "description": "资金账户列表,格式:1,2,3",
  4872. "name": "accountIDs",
  4873. "in": "query",
  4874. "required": true
  4875. },
  4876. {
  4877. "type": "string",
  4878. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4879. "name": "holdStatus",
  4880. "in": "query"
  4881. }
  4882. ],
  4883. "responses": {
  4884. "200": {
  4885. "description": "OK",
  4886. "schema": {
  4887. "$ref": "#/definitions/models.MyCouponHold"
  4888. }
  4889. },
  4890. "500": {
  4891. "description": "Internal Server Error",
  4892. "schema": {
  4893. "$ref": "#/definitions/app.Response"
  4894. }
  4895. }
  4896. }
  4897. }
  4898. },
  4899. "/HSBY/QueryMyCoupons": {
  4900. "get": {
  4901. "security": [
  4902. {
  4903. "ApiKeyAuth": []
  4904. }
  4905. ],
  4906. "produces": [
  4907. "application/json"
  4908. ],
  4909. "tags": [
  4910. "定制【海商报业】"
  4911. ],
  4912. "summary": "我的优惠卷查询",
  4913. "parameters": [
  4914. {
  4915. "type": "string",
  4916. "description": "资金账户列表,格式:1,2,3",
  4917. "name": "accountIDs",
  4918. "in": "query",
  4919. "required": true
  4920. },
  4921. {
  4922. "type": "integer",
  4923. "description": "商品ID, 一般与sellUserID配套传入",
  4924. "name": "goodsID",
  4925. "in": "query"
  4926. },
  4927. {
  4928. "type": "integer",
  4929. "description": "卖方UserID",
  4930. "name": "sellUserID",
  4931. "in": "query"
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "$ref": "#/definitions/models.MyCoupon"
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/HSBY/QueryMyPayOrders": {
  4951. "get": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "produces": [
  4958. "application/json"
  4959. ],
  4960. "tags": [
  4961. "定制【海商报业】"
  4962. ],
  4963. "summary": "获取我的订单中待付款信息",
  4964. "parameters": [
  4965. {
  4966. "type": "integer",
  4967. "description": "页码",
  4968. "name": "page",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "每页条数",
  4974. "name": "pagesize",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "资金账户列表,格式:1,2,3",
  4980. "name": "accountIDs",
  4981. "in": "query",
  4982. "required": true
  4983. },
  4984. {
  4985. "type": "integer",
  4986. "description": "买方委托单号",
  4987. "name": "buyOrderID",
  4988. "in": "query"
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "卖方委托单号",
  4993. "name": "sellOrderID",
  4994. "in": "query"
  4995. }
  4996. ],
  4997. "responses": {
  4998. "200": {
  4999. "description": "OK",
  5000. "schema": {
  5001. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5002. }
  5003. },
  5004. "500": {
  5005. "description": "Internal Server Error",
  5006. "schema": {
  5007. "$ref": "#/definitions/app.Response"
  5008. }
  5009. }
  5010. }
  5011. }
  5012. },
  5013. "/HSBY/QueryMyUsedCoupon": {
  5014. "get": {
  5015. "security": [
  5016. {
  5017. "ApiKeyAuth": []
  5018. }
  5019. ],
  5020. "produces": [
  5021. "application/json"
  5022. ],
  5023. "tags": [
  5024. "定制【海商报业】"
  5025. ],
  5026. "summary": "已使用优惠卷查询",
  5027. "parameters": [
  5028. {
  5029. "type": "string",
  5030. "description": "资金账户列表,格式:1,2,3",
  5031. "name": "accountIDs",
  5032. "in": "query",
  5033. "required": true
  5034. }
  5035. ],
  5036. "responses": {
  5037. "200": {
  5038. "description": "OK",
  5039. "schema": {
  5040. "$ref": "#/definitions/models.MyUsedCoupon"
  5041. }
  5042. },
  5043. "500": {
  5044. "description": "Internal Server Error",
  5045. "schema": {
  5046. "$ref": "#/definitions/app.Response"
  5047. }
  5048. }
  5049. }
  5050. }
  5051. },
  5052. "/HSBY/QueryProvincesAndCities": {
  5053. "get": {
  5054. "security": [
  5055. {
  5056. "ApiKeyAuth": []
  5057. }
  5058. ],
  5059. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5060. "produces": [
  5061. "application/json"
  5062. ],
  5063. "tags": [
  5064. "定制【海商报业】"
  5065. ],
  5066. "summary": "查询省市信息(不包括区)",
  5067. "parameters": [
  5068. {
  5069. "type": "integer",
  5070. "description": "省ID",
  5071. "name": "provinceID",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/HSBY/SetHsbyMyPackagesStatus": {
  5092. "post": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【海商报业】"
  5103. ],
  5104. "summary": "设置我的包裹已收货状态",
  5105. "parameters": [
  5106. {
  5107. "type": "string",
  5108. "description": "提货单号",
  5109. "name": "takeOrderID",
  5110. "in": "query",
  5111. "required": true
  5112. },
  5113. {
  5114. "type": "integer",
  5115. "description": "资金账号",
  5116. "name": "accountID",
  5117. "in": "query",
  5118. "required": true
  5119. }
  5120. ],
  5121. "responses": {
  5122. "200": {
  5123. "description": "OK",
  5124. "schema": {
  5125. "$ref": "#/definitions/app.Response"
  5126. }
  5127. },
  5128. "500": {
  5129. "description": "Internal Server Error",
  5130. "schema": {
  5131. "$ref": "#/definitions/app.Response"
  5132. }
  5133. }
  5134. }
  5135. }
  5136. },
  5137. "/Market/QueryGoodsesByLoginID": {
  5138. "get": {
  5139. "security": [
  5140. {
  5141. "ApiKeyAuth": []
  5142. }
  5143. ],
  5144. "produces": [
  5145. "application/json"
  5146. ],
  5147. "tags": [
  5148. "通用市场"
  5149. ],
  5150. "summary": "获取登录账号有权限的商品信息",
  5151. "parameters": [
  5152. {
  5153. "type": "integer",
  5154. "description": "登录账号",
  5155. "name": "loginID",
  5156. "in": "query",
  5157. "required": true
  5158. },
  5159. {
  5160. "type": "string",
  5161. "description": "市场ID列表,格式:1,2,3",
  5162. "name": "marketIDs",
  5163. "in": "query"
  5164. }
  5165. ],
  5166. "responses": {
  5167. "200": {
  5168. "description": "OK",
  5169. "schema": {
  5170. "$ref": "#/definitions/models.Goods"
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/Market/QueryMarketRun": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "通用市场"
  5194. ],
  5195. "summary": "查询市场运行信息",
  5196. "parameters": [
  5197. {
  5198. "type": "integer",
  5199. "description": "市场ID,不传返回所有",
  5200. "name": "marketID",
  5201. "in": "query"
  5202. }
  5203. ],
  5204. "responses": {
  5205. "200": {
  5206. "description": "OK",
  5207. "schema": {
  5208. "$ref": "#/definitions/models.Marketrun"
  5209. }
  5210. },
  5211. "500": {
  5212. "description": "Internal Server Error",
  5213. "schema": {
  5214. "$ref": "#/definitions/app.Response"
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "/Market/QueryMarketsByLoginID": {
  5221. "get": {
  5222. "security": [
  5223. {
  5224. "ApiKeyAuth": []
  5225. }
  5226. ],
  5227. "produces": [
  5228. "application/json"
  5229. ],
  5230. "tags": [
  5231. "通用市场"
  5232. ],
  5233. "summary": "获取登录账号有权限的市场信息",
  5234. "parameters": [
  5235. {
  5236. "type": "integer",
  5237. "description": "登录账号",
  5238. "name": "loginID",
  5239. "in": "query",
  5240. "required": true
  5241. }
  5242. ],
  5243. "responses": {
  5244. "200": {
  5245. "description": "OK",
  5246. "schema": {
  5247. "$ref": "#/definitions/models.Market"
  5248. }
  5249. },
  5250. "500": {
  5251. "description": "Internal Server Error",
  5252. "schema": {
  5253. "$ref": "#/definitions/app.Response"
  5254. }
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "/Order/QueryHisTradeDetail": {
  5260. "get": {
  5261. "security": [
  5262. {
  5263. "ApiKeyAuth": []
  5264. }
  5265. ],
  5266. "produces": [
  5267. "application/json"
  5268. ],
  5269. "tags": [
  5270. "通用单据"
  5271. ],
  5272. "summary": "历史成交单查询(合约市场)",
  5273. "parameters": [
  5274. {
  5275. "type": "string",
  5276. "description": "资金账户 - 格式:1,2,3",
  5277. "name": "accountID",
  5278. "in": "query",
  5279. "required": true
  5280. },
  5281. {
  5282. "type": "integer",
  5283. "description": "成交单号",
  5284. "name": "tradeID",
  5285. "in": "query"
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "委托单号",
  5290. "name": "orderID",
  5291. "in": "query"
  5292. },
  5293. {
  5294. "type": "string",
  5295. "description": "交易模式 - 格式:1,2,3",
  5296. "name": "tradeMode",
  5297. "in": "query"
  5298. },
  5299. {
  5300. "type": "integer",
  5301. "description": "委托单据类型",
  5302. "name": "buildType",
  5303. "in": "query"
  5304. },
  5305. {
  5306. "type": "string",
  5307. "description": "成交类别 - 格式:1,2,3",
  5308. "name": "tradeType",
  5309. "in": "query"
  5310. },
  5311. {
  5312. "type": "string",
  5313. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5314. "name": "startDate",
  5315. "in": "query"
  5316. },
  5317. {
  5318. "type": "string",
  5319. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5320. "name": "endDate",
  5321. "in": "query"
  5322. }
  5323. ],
  5324. "responses": {
  5325. "200": {
  5326. "description": "OK",
  5327. "schema": {
  5328. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5329. }
  5330. },
  5331. "500": {
  5332. "description": "Internal Server Error",
  5333. "schema": {
  5334. "$ref": "#/definitions/app.Response"
  5335. }
  5336. }
  5337. }
  5338. }
  5339. },
  5340. "/Order/QueryHisTradeOrderDetail": {
  5341. "get": {
  5342. "security": [
  5343. {
  5344. "ApiKeyAuth": []
  5345. }
  5346. ],
  5347. "produces": [
  5348. "application/json"
  5349. ],
  5350. "tags": [
  5351. "通用单据"
  5352. ],
  5353. "summary": "历史委托单查询请求(合约市场)",
  5354. "parameters": [
  5355. {
  5356. "type": "string",
  5357. "description": "资金账户 - 格式:1,2,3",
  5358. "name": "accountID",
  5359. "in": "query",
  5360. "required": true
  5361. },
  5362. {
  5363. "type": "string",
  5364. "description": "交易模式 - 格式:1,2,3",
  5365. "name": "tradeMode",
  5366. "in": "query"
  5367. },
  5368. {
  5369. "type": "string",
  5370. "description": "委托状态 - 格式:1,2,3",
  5371. "name": "orderStatus",
  5372. "in": "query"
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": "委托单号",
  5377. "name": "orderID",
  5378. "in": "query"
  5379. },
  5380. {
  5381. "type": "string",
  5382. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5383. "name": "startDate",
  5384. "in": "query"
  5385. },
  5386. {
  5387. "type": "string",
  5388. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5389. "name": "endDate",
  5390. "in": "query"
  5391. }
  5392. ],
  5393. "responses": {
  5394. "200": {
  5395. "description": "OK",
  5396. "schema": {
  5397. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5398. }
  5399. },
  5400. "500": {
  5401. "description": "Internal Server Error",
  5402. "schema": {
  5403. "$ref": "#/definitions/app.Response"
  5404. }
  5405. }
  5406. }
  5407. }
  5408. },
  5409. "/Order/QueryTradeDetail": {
  5410. "get": {
  5411. "security": [
  5412. {
  5413. "ApiKeyAuth": []
  5414. }
  5415. ],
  5416. "produces": [
  5417. "application/json"
  5418. ],
  5419. "tags": [
  5420. "通用单据"
  5421. ],
  5422. "summary": "成交单查询(合约市场)",
  5423. "parameters": [
  5424. {
  5425. "type": "string",
  5426. "description": "资金账户 - 格式:1,2,3",
  5427. "name": "accountID",
  5428. "in": "query",
  5429. "required": true
  5430. },
  5431. {
  5432. "type": "integer",
  5433. "description": "成交单号",
  5434. "name": "tradeID",
  5435. "in": "query"
  5436. },
  5437. {
  5438. "type": "integer",
  5439. "description": "委托单号",
  5440. "name": "orderID",
  5441. "in": "query"
  5442. },
  5443. {
  5444. "type": "string",
  5445. "description": "交易模式 - 格式:1,2,3",
  5446. "name": "tradeMode",
  5447. "in": "query"
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "委托单据类型",
  5452. "name": "buildType",
  5453. "in": "query"
  5454. },
  5455. {
  5456. "type": "string",
  5457. "description": "成交类别 - 格式:1,2,3",
  5458. "name": "tradeType",
  5459. "in": "query"
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "OK",
  5465. "schema": {
  5466. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5467. }
  5468. },
  5469. "500": {
  5470. "description": "Internal Server Error",
  5471. "schema": {
  5472. "$ref": "#/definitions/app.Response"
  5473. }
  5474. }
  5475. }
  5476. }
  5477. },
  5478. "/Order/QueryTradeOrderDetail": {
  5479. "get": {
  5480. "security": [
  5481. {
  5482. "ApiKeyAuth": []
  5483. }
  5484. ],
  5485. "produces": [
  5486. "application/json"
  5487. ],
  5488. "tags": [
  5489. "通用单据"
  5490. ],
  5491. "summary": "委托单查询请求(合约市场)",
  5492. "parameters": [
  5493. {
  5494. "type": "string",
  5495. "description": "资金账户 - 格式:1,2,3",
  5496. "name": "accountID",
  5497. "in": "query",
  5498. "required": true
  5499. },
  5500. {
  5501. "type": "string",
  5502. "description": "交易模式 - 格式:1,2,3",
  5503. "name": "tradeMode",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "委托状态 - 格式:1,2,3",
  5509. "name": "orderStatus",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "委托单号",
  5515. "name": "orderID",
  5516. "in": "query"
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/Order/QueryTradePosition": {
  5536. "get": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "通用单据"
  5547. ],
  5548. "summary": "持仓汇总查询(合约市场)",
  5549. "parameters": [
  5550. {
  5551. "type": "string",
  5552. "description": "资金账户 - 格式:1,2,3",
  5553. "name": "accountID",
  5554. "in": "query",
  5555. "required": true
  5556. },
  5557. {
  5558. "type": "string",
  5559. "description": "交易模式 - 格式:1,2,3",
  5560. "name": "tradeMode",
  5561. "in": "query"
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/Quote/QueryHistoryDatas": {
  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": "integer",
  5597. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5598. "name": "cycleType",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "string",
  5604. "description": "商品代码",
  5605. "name": "goodsCode",
  5606. "in": "query",
  5607. "required": true
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5612. "name": "startTime",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5618. "name": "endTime",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "integer",
  5623. "description": "条数",
  5624. "name": "count",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "boolean",
  5629. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5630. "name": "isAsc",
  5631. "in": "query"
  5632. }
  5633. ],
  5634. "responses": {
  5635. "200": {
  5636. "description": "OK",
  5637. "schema": {
  5638. "$ref": "#/definitions/quote.HistoryData"
  5639. }
  5640. },
  5641. "500": {
  5642. "description": "Internal Server Error",
  5643. "schema": {
  5644. "$ref": "#/definitions/app.Response"
  5645. }
  5646. }
  5647. }
  5648. }
  5649. },
  5650. "/Quote/QueryHistoryTikDatas": {
  5651. "get": {
  5652. "security": [
  5653. {
  5654. "ApiKeyAuth": []
  5655. }
  5656. ],
  5657. "produces": [
  5658. "application/json"
  5659. ],
  5660. "tags": [
  5661. "行情服务"
  5662. ],
  5663. "summary": "查询行情Tik数据",
  5664. "parameters": [
  5665. {
  5666. "type": "string",
  5667. "description": "商品代码",
  5668. "name": "goodsCode",
  5669. "in": "query",
  5670. "required": true
  5671. },
  5672. {
  5673. "type": "string",
  5674. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5675. "name": "startTime",
  5676. "in": "query"
  5677. },
  5678. {
  5679. "type": "string",
  5680. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5681. "name": "endTime",
  5682. "in": "query"
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "条数",
  5687. "name": "count",
  5688. "in": "query"
  5689. },
  5690. {
  5691. "type": "boolean",
  5692. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5693. "name": "isAsc",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/quote.HistoryTikData"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Quote/QueryQuoteDay": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "行情服务"
  5725. ],
  5726. "summary": "获取商品盘面信息",
  5727. "parameters": [
  5728. {
  5729. "type": "string",
  5730. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5731. "name": "goodsCodes",
  5732. "in": "query",
  5733. "required": true
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Quote/QueryTSData": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "行情服务"
  5764. ],
  5765. "summary": "分时图数据查询",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "商品代码",
  5770. "name": "goodsCode",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/SZDZ/QueryConvertConfig": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "produces": [
  5799. "application/json"
  5800. ],
  5801. "tags": [
  5802. "定制【尚志大宗】"
  5803. ],
  5804. "summary": "查询交易系统转换设置",
  5805. "parameters": [
  5806. {
  5807. "type": "integer",
  5808. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5809. "name": "convertType",
  5810. "in": "query"
  5811. },
  5812. {
  5813. "type": "string",
  5814. "description": "外部商品代码[JD\\PD]",
  5815. "name": "outerGoodsCode",
  5816. "in": "query"
  5817. },
  5818. {
  5819. "type": "string",
  5820. "description": "内部商品ID列表[交易],格式:1,2,3",
  5821. "name": "innerGoodsIDs",
  5822. "in": "query"
  5823. }
  5824. ],
  5825. "responses": {
  5826. "200": {
  5827. "description": "OK",
  5828. "schema": {
  5829. "$ref": "#/definitions/models.Szdz3convertconfig"
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/SZDZ/QueryConvertLog": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "produces": [
  5849. "application/json"
  5850. ],
  5851. "tags": [
  5852. "定制【尚志大宗】"
  5853. ],
  5854. "summary": "交易系统转换流水查询",
  5855. "parameters": [
  5856. {
  5857. "type": "string",
  5858. "description": "资金账户 - 格式:1,2,3",
  5859. "name": "accountID",
  5860. "in": "query",
  5861. "required": true
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5866. "name": "startDate",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "string",
  5871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5872. "name": "endDate",
  5873. "in": "query"
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5881. }
  5882. },
  5883. "500": {
  5884. "description": "Internal Server Error",
  5885. "schema": {
  5886. "$ref": "#/definitions/app.Response"
  5887. }
  5888. }
  5889. }
  5890. }
  5891. },
  5892. "/SZDZ/QueryGoodsPickup": {
  5893. "get": {
  5894. "security": [
  5895. {
  5896. "ApiKeyAuth": []
  5897. }
  5898. ],
  5899. "produces": [
  5900. "application/json"
  5901. ],
  5902. "tags": [
  5903. "定制【尚志大宗】"
  5904. ],
  5905. "summary": "商品提货单查询",
  5906. "parameters": [
  5907. {
  5908. "type": "string",
  5909. "description": "资金账户 - 格式:1,2,3",
  5910. "name": "accountID",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "integer",
  5916. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5917. "name": "takeOrderStatus",
  5918. "in": "query"
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/SZDZ/QueryRecieptOrder": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【尚志大宗】"
  5950. ],
  5951. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5952. "parameters": [
  5953. {
  5954. "type": "integer",
  5955. "description": "页码",
  5956. "name": "page",
  5957. "in": "query"
  5958. },
  5959. {
  5960. "type": "integer",
  5961. "description": "每页条数",
  5962. "name": "pagesize",
  5963. "in": "query"
  5964. },
  5965. {
  5966. "type": "integer",
  5967. "description": "商品ID",
  5968. "name": "goodsID",
  5969. "in": "query",
  5970. "required": true
  5971. },
  5972. {
  5973. "type": "string",
  5974. "description": "所属账户名称",
  5975. "name": "accountName",
  5976. "in": "query"
  5977. },
  5978. {
  5979. "type": "integer",
  5980. "description": "市场ID",
  5981. "name": "marketID",
  5982. "in": "query"
  5983. },
  5984. {
  5985. "type": "integer",
  5986. "description": "方向 - 0:买 1:卖",
  5987. "name": "buyorsell",
  5988. "in": "query",
  5989. "required": true
  5990. }
  5991. ],
  5992. "responses": {
  5993. "200": {
  5994. "description": "OK",
  5995. "schema": {
  5996. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5997. }
  5998. },
  5999. "500": {
  6000. "description": "Internal Server Error",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. }
  6005. }
  6006. }
  6007. },
  6008. "/SZDZ/QuerySZDZTradePosition": {
  6009. "get": {
  6010. "security": [
  6011. {
  6012. "ApiKeyAuth": []
  6013. }
  6014. ],
  6015. "produces": [
  6016. "application/json"
  6017. ],
  6018. "tags": [
  6019. "定制【尚志大宗】"
  6020. ],
  6021. "summary": "持仓汇总查询(尚志大宗)",
  6022. "parameters": [
  6023. {
  6024. "type": "integer",
  6025. "description": "资金账户",
  6026. "name": "accountID",
  6027. "in": "query",
  6028. "required": true
  6029. }
  6030. ],
  6031. "responses": {
  6032. "200": {
  6033. "description": "OK",
  6034. "schema": {
  6035. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6036. }
  6037. },
  6038. "500": {
  6039. "description": "Internal Server Error",
  6040. "schema": {
  6041. "$ref": "#/definitions/app.Response"
  6042. }
  6043. }
  6044. }
  6045. }
  6046. },
  6047. "/SZDZ/SearchWhite": {
  6048. "get": {
  6049. "security": [
  6050. {
  6051. "ApiKeyAuth": []
  6052. }
  6053. ],
  6054. "produces": [
  6055. "application/json"
  6056. ],
  6057. "tags": [
  6058. "定制【尚志大宗】"
  6059. ],
  6060. "summary": "搜索白名单",
  6061. "parameters": [
  6062. {
  6063. "type": "integer",
  6064. "description": "用户ID",
  6065. "name": "userID",
  6066. "in": "query",
  6067. "required": true
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6075. }
  6076. },
  6077. "500": {
  6078. "description": "Internal Server Error",
  6079. "schema": {
  6080. "$ref": "#/definitions/app.Response"
  6081. }
  6082. }
  6083. }
  6084. }
  6085. },
  6086. "/Search/SearchGoodses": {
  6087. "get": {
  6088. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6089. "produces": [
  6090. "application/json"
  6091. ],
  6092. "tags": [
  6093. "检索服务"
  6094. ],
  6095. "summary": "检索商品信息",
  6096. "parameters": [
  6097. {
  6098. "type": "string",
  6099. "description": "检索内容",
  6100. "name": "content",
  6101. "in": "query",
  6102. "required": true
  6103. },
  6104. {
  6105. "type": "string",
  6106. "description": "交易模式,格式:1,2,3",
  6107. "name": "tradeModes",
  6108. "in": "query"
  6109. }
  6110. ],
  6111. "responses": {
  6112. "200": {
  6113. "description": "OK",
  6114. "schema": {
  6115. "$ref": "#/definitions/models.SearchGoods"
  6116. }
  6117. },
  6118. "500": {
  6119. "description": "Internal Server Error",
  6120. "schema": {
  6121. "$ref": "#/definitions/app.Response"
  6122. }
  6123. }
  6124. }
  6125. }
  6126. },
  6127. "/TaAccount/GetTaAccounts": {
  6128. "get": {
  6129. "security": [
  6130. {
  6131. "ApiKeyAuth": []
  6132. }
  6133. ],
  6134. "produces": [
  6135. "application/json"
  6136. ],
  6137. "tags": [
  6138. "资金账户"
  6139. ],
  6140. "summary": "获取资金账户信息",
  6141. "parameters": [
  6142. {
  6143. "type": "integer",
  6144. "description": "登录账户",
  6145. "name": "loginID",
  6146. "in": "query",
  6147. "required": true
  6148. },
  6149. {
  6150. "type": "integer",
  6151. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6152. "name": "taAccountType",
  6153. "in": "query"
  6154. }
  6155. ],
  6156. "responses": {
  6157. "200": {
  6158. "description": "OK",
  6159. "schema": {
  6160. "$ref": "#/definitions/models.Taaccount"
  6161. }
  6162. },
  6163. "500": {
  6164. "description": "Internal Server Error",
  6165. "schema": {
  6166. "$ref": "#/definitions/app.Response"
  6167. }
  6168. }
  6169. }
  6170. }
  6171. },
  6172. "/TaAccount/QueryAmountLog": {
  6173. "get": {
  6174. "security": [
  6175. {
  6176. "ApiKeyAuth": []
  6177. }
  6178. ],
  6179. "produces": [
  6180. "application/json"
  6181. ],
  6182. "tags": [
  6183. "资金账户"
  6184. ],
  6185. "summary": "资金流水查询(当前)",
  6186. "parameters": [
  6187. {
  6188. "type": "integer",
  6189. "description": "页码",
  6190. "name": "page",
  6191. "in": "query"
  6192. },
  6193. {
  6194. "type": "integer",
  6195. "description": "每页条数",
  6196. "name": "pagesize",
  6197. "in": "query"
  6198. },
  6199. {
  6200. "type": "string",
  6201. "description": "资金账户 - 格式:1,2,3",
  6202. "name": "accountID",
  6203. "in": "query",
  6204. "required": true
  6205. },
  6206. {
  6207. "type": "string",
  6208. "description": "资金操作类型 - 格式:1,2,3",
  6209. "name": "OperateType",
  6210. "in": "query"
  6211. }
  6212. ],
  6213. "responses": {
  6214. "200": {
  6215. "description": "OK",
  6216. "schema": {
  6217. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/TaAccount/QueryHisAmountLog": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "资金账户"
  6241. ],
  6242. "summary": "资金流水查询(历史)",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "页码",
  6247. "name": "page",
  6248. "in": "query"
  6249. },
  6250. {
  6251. "type": "integer",
  6252. "description": "每页条数",
  6253. "name": "pagesize",
  6254. "in": "query"
  6255. },
  6256. {
  6257. "type": "string",
  6258. "description": "资金账户 - 格式:1,2,3",
  6259. "name": "accountID",
  6260. "in": "query",
  6261. "required": true
  6262. },
  6263. {
  6264. "type": "string",
  6265. "description": "资金操作类型 - 格式:1,2,3",
  6266. "name": "OperateType",
  6267. "in": "query"
  6268. },
  6269. {
  6270. "type": "string",
  6271. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6272. "name": "startDate",
  6273. "in": "query"
  6274. },
  6275. {
  6276. "type": "string",
  6277. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6278. "name": "endDate",
  6279. "in": "query"
  6280. }
  6281. ],
  6282. "responses": {
  6283. "200": {
  6284. "description": "OK",
  6285. "schema": {
  6286. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6287. }
  6288. },
  6289. "500": {
  6290. "description": "Internal Server Error",
  6291. "schema": {
  6292. "$ref": "#/definitions/app.Response"
  6293. }
  6294. }
  6295. }
  6296. }
  6297. },
  6298. "/Trade/QueryRecieptOrder": {
  6299. "get": {
  6300. "security": [
  6301. {
  6302. "ApiKeyAuth": []
  6303. }
  6304. ],
  6305. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6306. "produces": [
  6307. "application/json"
  6308. ],
  6309. "tags": [
  6310. "通用交易"
  6311. ],
  6312. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6313. "parameters": [
  6314. {
  6315. "type": "integer",
  6316. "description": "页码",
  6317. "name": "page",
  6318. "in": "query"
  6319. },
  6320. {
  6321. "type": "integer",
  6322. "description": "每页条数",
  6323. "name": "pagesize",
  6324. "in": "query"
  6325. },
  6326. {
  6327. "type": "integer",
  6328. "description": "商品ID",
  6329. "name": "goodsID",
  6330. "in": "query",
  6331. "required": true
  6332. },
  6333. {
  6334. "type": "string",
  6335. "description": "所属账户名称",
  6336. "name": "accountName",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "市场ID",
  6342. "name": "marketID",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "方向 - 0:买 1:卖",
  6348. "name": "buyorsell",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/User/AddMessageBoard": {
  6370. "post": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "produces": [
  6377. "application/json"
  6378. ],
  6379. "tags": [
  6380. "用户信息"
  6381. ],
  6382. "summary": "添加用户留言板信息",
  6383. "parameters": [
  6384. {
  6385. "type": "integer",
  6386. "description": "用户ID",
  6387. "name": "userID",
  6388. "in": "query",
  6389. "required": true
  6390. },
  6391. {
  6392. "type": "string",
  6393. "description": "留言信息",
  6394. "name": "message",
  6395. "in": "query",
  6396. "required": true
  6397. },
  6398. {
  6399. "type": "string",
  6400. "description": "联系电话",
  6401. "name": "contactNum",
  6402. "in": "query",
  6403. "required": true
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "Internal Server Error",
  6415. "schema": {
  6416. "$ref": "#/definitions/app.Response"
  6417. }
  6418. }
  6419. }
  6420. }
  6421. },
  6422. "/User/AddUserFavoriteGoods": {
  6423. "post": {
  6424. "security": [
  6425. {
  6426. "ApiKeyAuth": []
  6427. }
  6428. ],
  6429. "produces": [
  6430. "application/json"
  6431. ],
  6432. "tags": [
  6433. "用户信息"
  6434. ],
  6435. "summary": "添加用户商品收藏信息",
  6436. "parameters": [
  6437. {
  6438. "type": "integer",
  6439. "description": "用户ID",
  6440. "name": "userID",
  6441. "in": "query",
  6442. "required": true
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "商品ID",
  6447. "name": "goodsID",
  6448. "in": "query",
  6449. "required": true
  6450. }
  6451. ],
  6452. "responses": {
  6453. "200": {
  6454. "description": "OK",
  6455. "schema": {
  6456. "$ref": "#/definitions/app.Response"
  6457. }
  6458. },
  6459. "500": {
  6460. "description": "Internal Server Error",
  6461. "schema": {
  6462. "$ref": "#/definitions/app.Response"
  6463. }
  6464. }
  6465. }
  6466. }
  6467. },
  6468. "/User/GetLoginID": {
  6469. "get": {
  6470. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6471. "produces": [
  6472. "application/json"
  6473. ],
  6474. "tags": [
  6475. "用户信息"
  6476. ],
  6477. "summary": "获取登录ID",
  6478. "parameters": [
  6479. {
  6480. "type": "string",
  6481. "description": "登录代码",
  6482. "name": "username",
  6483. "in": "query",
  6484. "required": true
  6485. }
  6486. ],
  6487. "responses": {
  6488. "200": {
  6489. "description": "OK",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. },
  6494. "500": {
  6495. "description": "Internal Server Error",
  6496. "schema": {
  6497. "$ref": "#/definitions/app.Response"
  6498. }
  6499. }
  6500. }
  6501. }
  6502. },
  6503. "/User/GetUserAccount": {
  6504. "get": {
  6505. "security": [
  6506. {
  6507. "ApiKeyAuth": []
  6508. }
  6509. ],
  6510. "produces": [
  6511. "application/json"
  6512. ],
  6513. "tags": [
  6514. "用户信息"
  6515. ],
  6516. "summary": "获取用户账号信息",
  6517. "parameters": [
  6518. {
  6519. "type": "integer",
  6520. "description": "用户ID",
  6521. "name": "userID",
  6522. "in": "query",
  6523. "required": true
  6524. }
  6525. ],
  6526. "responses": {
  6527. "200": {
  6528. "description": "OK",
  6529. "schema": {
  6530. "$ref": "#/definitions/models.Useraccount"
  6531. }
  6532. },
  6533. "500": {
  6534. "description": "Internal Server Error",
  6535. "schema": {
  6536. "$ref": "#/definitions/app.Response"
  6537. }
  6538. }
  6539. }
  6540. }
  6541. },
  6542. "/User/GetUserAuthStatus": {
  6543. "get": {
  6544. "security": [
  6545. {
  6546. "ApiKeyAuth": []
  6547. }
  6548. ],
  6549. "produces": [
  6550. "application/json"
  6551. ],
  6552. "tags": [
  6553. "用户信息"
  6554. ],
  6555. "summary": "获取用户实名认证状态",
  6556. "parameters": [
  6557. {
  6558. "type": "integer",
  6559. "description": "用户ID",
  6560. "name": "userID",
  6561. "in": "query",
  6562. "required": true
  6563. }
  6564. ],
  6565. "responses": {
  6566. "200": {
  6567. "description": "OK",
  6568. "schema": {
  6569. "$ref": "#/definitions/app.Response"
  6570. }
  6571. },
  6572. "500": {
  6573. "description": "Internal Server Error",
  6574. "schema": {
  6575. "$ref": "#/definitions/app.Response"
  6576. }
  6577. }
  6578. }
  6579. }
  6580. },
  6581. "/User/LoginQuery": {
  6582. "get": {
  6583. "security": [
  6584. {
  6585. "ApiKeyAuth": []
  6586. }
  6587. ],
  6588. "produces": [
  6589. "application/json"
  6590. ],
  6591. "tags": [
  6592. "用户信息"
  6593. ],
  6594. "summary": "账户登录后信息查询",
  6595. "parameters": [
  6596. {
  6597. "type": "integer",
  6598. "description": "登录账号",
  6599. "name": "loginID",
  6600. "in": "query",
  6601. "required": true
  6602. }
  6603. ],
  6604. "responses": {
  6605. "200": {
  6606. "description": "OK",
  6607. "schema": {
  6608. "$ref": "#/definitions/user.LoginQueryRsp"
  6609. }
  6610. },
  6611. "500": {
  6612. "description": "Internal Server Error",
  6613. "schema": {
  6614. "$ref": "#/definitions/app.Response"
  6615. }
  6616. }
  6617. }
  6618. }
  6619. },
  6620. "/User/QueryMessageBoard": {
  6621. "get": {
  6622. "security": [
  6623. {
  6624. "ApiKeyAuth": []
  6625. }
  6626. ],
  6627. "produces": [
  6628. "application/json"
  6629. ],
  6630. "tags": [
  6631. "用户信息"
  6632. ],
  6633. "summary": "获取用户留言板信息",
  6634. "parameters": [
  6635. {
  6636. "type": "integer",
  6637. "description": "用户ID",
  6638. "name": "userID",
  6639. "in": "query",
  6640. "required": true
  6641. }
  6642. ],
  6643. "responses": {
  6644. "200": {
  6645. "description": "OK",
  6646. "schema": {
  6647. "$ref": "#/definitions/models.Messageboard"
  6648. }
  6649. },
  6650. "500": {
  6651. "description": "Internal Server Error",
  6652. "schema": {
  6653. "$ref": "#/definitions/app.Response"
  6654. }
  6655. }
  6656. }
  6657. }
  6658. },
  6659. "/User/QueryUserFavoriteGoodses": {
  6660. "get": {
  6661. "security": [
  6662. {
  6663. "ApiKeyAuth": []
  6664. }
  6665. ],
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "用户信息"
  6671. ],
  6672. "summary": "获取用户商品收藏信息",
  6673. "parameters": [
  6674. {
  6675. "type": "integer",
  6676. "description": "用户ID",
  6677. "name": "userID",
  6678. "in": "query",
  6679. "required": true
  6680. }
  6681. ],
  6682. "responses": {
  6683. "200": {
  6684. "description": "OK",
  6685. "schema": {
  6686. "$ref": "#/definitions/models.Userfavoritegoods"
  6687. }
  6688. },
  6689. "500": {
  6690. "description": "Internal Server Error",
  6691. "schema": {
  6692. "$ref": "#/definitions/app.Response"
  6693. }
  6694. }
  6695. }
  6696. }
  6697. },
  6698. "/User/QueryUserInfo": {
  6699. "get": {
  6700. "security": [
  6701. {
  6702. "ApiKeyAuth": []
  6703. }
  6704. ],
  6705. "produces": [
  6706. "application/json"
  6707. ],
  6708. "tags": [
  6709. "用户信息"
  6710. ],
  6711. "summary": "获取用户信息",
  6712. "parameters": [
  6713. {
  6714. "type": "integer",
  6715. "description": "用户ID",
  6716. "name": "userID",
  6717. "in": "query",
  6718. "required": true
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/models.Userinfo"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/User/QueryUserReferNum": {
  6738. "get": {
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "用户信息"
  6744. ],
  6745. "summary": "获取用户邀请码",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "用户ID",
  6750. "name": "userID",
  6751. "in": "query",
  6752. "required": true
  6753. }
  6754. ],
  6755. "responses": {
  6756. "200": {
  6757. "description": "OK",
  6758. "schema": {
  6759. "$ref": "#/definitions/app.Response"
  6760. }
  6761. },
  6762. "500": {
  6763. "description": "Internal Server Error",
  6764. "schema": {
  6765. "$ref": "#/definitions/app.Response"
  6766. }
  6767. }
  6768. }
  6769. }
  6770. },
  6771. "/User/RemoveUserFavoriteGoods": {
  6772. "post": {
  6773. "security": [
  6774. {
  6775. "ApiKeyAuth": []
  6776. }
  6777. ],
  6778. "produces": [
  6779. "application/json"
  6780. ],
  6781. "tags": [
  6782. "用户信息"
  6783. ],
  6784. "summary": "移除用户商品收藏信息",
  6785. "parameters": [
  6786. {
  6787. "type": "integer",
  6788. "description": "用户ID",
  6789. "name": "userID",
  6790. "in": "query",
  6791. "required": true
  6792. },
  6793. {
  6794. "type": "integer",
  6795. "description": "商品ID",
  6796. "name": "goodsID",
  6797. "in": "query",
  6798. "required": true
  6799. }
  6800. ],
  6801. "responses": {
  6802. "200": {
  6803. "description": "OK",
  6804. "schema": {
  6805. "$ref": "#/definitions/app.Response"
  6806. }
  6807. },
  6808. "500": {
  6809. "description": "Internal Server Error",
  6810. "schema": {
  6811. "$ref": "#/definitions/app.Response"
  6812. }
  6813. }
  6814. }
  6815. }
  6816. },
  6817. "/User/UpdateUserAccountStatus": {
  6818. "post": {
  6819. "security": [
  6820. {
  6821. "ApiKeyAuth": []
  6822. }
  6823. ],
  6824. "produces": [
  6825. "application/json"
  6826. ],
  6827. "tags": [
  6828. "用户信息"
  6829. ],
  6830. "summary": "更新用户状态",
  6831. "parameters": [
  6832. {
  6833. "type": "integer",
  6834. "description": "用户ID",
  6835. "name": "userID",
  6836. "in": "query",
  6837. "required": true
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "账户状态 - 4:正常 6:注销(停用)",
  6842. "name": "accountStatus",
  6843. "in": "query",
  6844. "required": true
  6845. }
  6846. ],
  6847. "responses": {
  6848. "200": {
  6849. "description": "OK",
  6850. "schema": {
  6851. "$ref": "#/definitions/app.Response"
  6852. }
  6853. },
  6854. "500": {
  6855. "description": "Internal Server Error",
  6856. "schema": {
  6857. "$ref": "#/definitions/app.Response"
  6858. }
  6859. }
  6860. }
  6861. }
  6862. },
  6863. "/WR/GetWRCategoryInfo": {
  6864. "get": {
  6865. "produces": [
  6866. "application/json"
  6867. ],
  6868. "tags": [
  6869. "仓单服务"
  6870. ],
  6871. "summary": "获取现货分类信息",
  6872. "responses": {
  6873. "200": {
  6874. "description": "OK",
  6875. "schema": {
  6876. "$ref": "#/definitions/models.WRCategoryTree"
  6877. }
  6878. },
  6879. "500": {
  6880. "description": "Internal Server Error",
  6881. "schema": {
  6882. "$ref": "#/definitions/app.Response"
  6883. }
  6884. }
  6885. }
  6886. }
  6887. },
  6888. "/WRTrade/GetAllDeliveryGoods": {
  6889. "get": {
  6890. "security": [
  6891. {
  6892. "ApiKeyAuth": []
  6893. },
  6894. {
  6895. "ApiKeyAuth": []
  6896. }
  6897. ],
  6898. "produces": [
  6899. "application/json",
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "仓单贸易",
  6904. "仓单贸易"
  6905. ],
  6906. "summary": "获取带仓单分类的种类信息",
  6907. "responses": {
  6908. "200": {
  6909. "description": "OK",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. },
  6914. "500": {
  6915. "description": "Internal Server Error",
  6916. "schema": {
  6917. "$ref": "#/definitions/app.Response"
  6918. }
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "definitions": {
  6925. "app.Response": {
  6926. "type": "object",
  6927. "properties": {
  6928. "code": {
  6929. "type": "integer"
  6930. },
  6931. "data": {
  6932. "type": "object"
  6933. },
  6934. "msg": {
  6935. "type": "string"
  6936. },
  6937. "page": {
  6938. "description": "页码",
  6939. "type": "integer"
  6940. },
  6941. "pagesize": {
  6942. "description": "每页条数",
  6943. "type": "integer"
  6944. },
  6945. "total": {
  6946. "description": "总条数",
  6947. "type": "integer"
  6948. }
  6949. }
  6950. },
  6951. "common.QueryImageConfigsRsp": {
  6952. "type": "object",
  6953. "required": [
  6954. "configid"
  6955. ],
  6956. "properties": {
  6957. "areauserid": {
  6958. "description": "所属机构ID",
  6959. "type": "integer"
  6960. },
  6961. "configid": {
  6962. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6963. "type": "integer"
  6964. },
  6965. "createdate": {
  6966. "description": "创建时间",
  6967. "type": "string"
  6968. },
  6969. "creatorid": {
  6970. "description": "创建人",
  6971. "type": "integer"
  6972. },
  6973. "imagepath": {
  6974. "description": "图片",
  6975. "type": "string"
  6976. },
  6977. "imagetype": {
  6978. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6979. "type": "integer"
  6980. },
  6981. "isshow": {
  6982. "description": "是否展示 - 0:不展示 1:展示",
  6983. "type": "integer"
  6984. },
  6985. "marketid": {
  6986. "description": "市场ID",
  6987. "type": "integer"
  6988. },
  6989. "modifierid": {
  6990. "description": "操作人",
  6991. "type": "integer"
  6992. },
  6993. "sort": {
  6994. "description": "排序",
  6995. "type": "integer"
  6996. },
  6997. "title": {
  6998. "description": "标题",
  6999. "type": "string"
  7000. },
  7001. "trademode": {
  7002. "description": "交易模式",
  7003. "type": "integer"
  7004. },
  7005. "updatedate": {
  7006. "description": "修改时间",
  7007. "type": "string"
  7008. },
  7009. "url": {
  7010. "description": "链接(地址或商品ID)",
  7011. "type": "string"
  7012. },
  7013. "urltype": {
  7014. "description": "链接类型 - 1:直接地址 2:商品ID",
  7015. "type": "integer"
  7016. }
  7017. }
  7018. },
  7019. "common.QueryNoticeRsp": {
  7020. "type": "object",
  7021. "required": [
  7022. "autoid"
  7023. ],
  7024. "properties": {
  7025. "auditoruserid": {
  7026. "description": "审核人",
  7027. "type": "integer"
  7028. },
  7029. "auditremark": {
  7030. "description": "审核备注",
  7031. "type": "string"
  7032. },
  7033. "audittime": {
  7034. "description": "审核日期",
  7035. "type": "string"
  7036. },
  7037. "autoid": {
  7038. "description": "自增ID",
  7039. "type": "integer"
  7040. },
  7041. "content": {
  7042. "description": "内容",
  7043. "type": "string"
  7044. },
  7045. "createtime": {
  7046. "description": "创建时间",
  7047. "type": "string"
  7048. },
  7049. "creatorid": {
  7050. "description": "建仓人",
  7051. "type": "integer"
  7052. },
  7053. "endtime": {
  7054. "description": "结束时间",
  7055. "type": "string"
  7056. },
  7057. "istop": {
  7058. "description": "是否置顶 - 0:不置顶 1:置顶",
  7059. "type": "integer"
  7060. },
  7061. "msgiconurl": {
  7062. "description": "消息图标Url",
  7063. "type": "string"
  7064. },
  7065. "msgtype": {
  7066. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7067. "type": "integer"
  7068. },
  7069. "publisher": {
  7070. "description": "消息发布者",
  7071. "type": "string"
  7072. },
  7073. "readed": {
  7074. "description": "是否已读",
  7075. "type": "boolean"
  7076. },
  7077. "scheduletime": {
  7078. "description": "计划发送时间",
  7079. "type": "string"
  7080. },
  7081. "sendtype": {
  7082. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7083. "type": "integer"
  7084. },
  7085. "sentstatus": {
  7086. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7087. "type": "integer"
  7088. },
  7089. "title": {
  7090. "description": "标题",
  7091. "type": "string"
  7092. },
  7093. "userid": {
  7094. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7095. "type": "integer"
  7096. }
  7097. }
  7098. },
  7099. "common.QueryProvincesAndCitiesRsp": {
  7100. "type": "object",
  7101. "properties": {
  7102. "cities": {
  7103. "description": "市",
  7104. "type": "array",
  7105. "items": {
  7106. "$ref": "#/definitions/models.Division"
  7107. }
  7108. },
  7109. "province": {
  7110. "description": "省",
  7111. "type": "object",
  7112. "$ref": "#/definitions/models.Division"
  7113. }
  7114. }
  7115. },
  7116. "common.QueryTableDefineRsp": {
  7117. "type": "object",
  7118. "required": [
  7119. "tablekey"
  7120. ],
  7121. "properties": {
  7122. "columns": {
  7123. "description": "列头信息数组",
  7124. "type": "array",
  7125. "items": {
  7126. "$ref": "#/definitions/models.Tablecolumnconfig"
  7127. }
  7128. },
  7129. "remark": {
  7130. "description": "Remark",
  7131. "type": "string"
  7132. },
  7133. "tabelmenu": {
  7134. "description": "列表菜单",
  7135. "type": "string"
  7136. },
  7137. "tablekey": {
  7138. "description": "列表Key",
  7139. "type": "string"
  7140. },
  7141. "tablename": {
  7142. "description": "列表名称",
  7143. "type": "string"
  7144. },
  7145. "tabletype": {
  7146. "description": "列表类型 - 1:管理端 2:终端",
  7147. "type": "integer"
  7148. }
  7149. }
  7150. },
  7151. "common.QueryTraderMenuRsp": {
  7152. "type": "object",
  7153. "properties": {
  7154. "OperationMenu": {
  7155. "description": "功能菜单",
  7156. "type": "array",
  7157. "items": {
  7158. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7159. }
  7160. },
  7161. "QuoteMenu": {
  7162. "description": "报价牌分类菜单",
  7163. "type": "array",
  7164. "items": {
  7165. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7166. }
  7167. }
  7168. }
  7169. },
  7170. "cptrade.Cptradepositioncancel": {
  7171. "type": "object",
  7172. "required": [
  7173. "cancelid"
  7174. ],
  7175. "properties": {
  7176. "accountid": {
  7177. "description": "申请人账户ID",
  7178. "type": "integer"
  7179. },
  7180. "applystatus": {
  7181. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7182. "type": "integer"
  7183. },
  7184. "applytime": {
  7185. "description": "申请时间",
  7186. "type": "string"
  7187. },
  7188. "cancelid": {
  7189. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7190. "type": "integer"
  7191. },
  7192. "cancelqty": {
  7193. "description": "注销数量",
  7194. "type": "integer"
  7195. },
  7196. "createtime": {
  7197. "description": "创建时间",
  7198. "type": "string"
  7199. },
  7200. "creatorid": {
  7201. "description": "创建人ID",
  7202. "type": "integer"
  7203. },
  7204. "creatorname": {
  7205. "description": "创建人",
  7206. "type": "string"
  7207. },
  7208. "goodscode": {
  7209. "description": "订单商品代码",
  7210. "type": "string"
  7211. },
  7212. "goodsid": {
  7213. "description": "商品ID",
  7214. "type": "integer"
  7215. },
  7216. "goodsname": {
  7217. "description": "订单商品名称",
  7218. "type": "string"
  7219. },
  7220. "goodunit": {
  7221. "description": "报价单位",
  7222. "type": "string"
  7223. },
  7224. "handlestatus": {
  7225. "description": "处理状态",
  7226. "type": "integer"
  7227. },
  7228. "marketid": {
  7229. "description": "市场ID",
  7230. "type": "integer"
  7231. },
  7232. "marketname": {
  7233. "description": "市场名称",
  7234. "type": "string"
  7235. },
  7236. "tradedate": {
  7237. "description": "交易日(yyyyMMdd)",
  7238. "type": "string"
  7239. },
  7240. "userid": {
  7241. "description": "申请人ID",
  7242. "type": "integer"
  7243. }
  7244. }
  7245. },
  7246. "cptrade.Cptradepresaleapply": {
  7247. "type": "object",
  7248. "required": [
  7249. "applyid"
  7250. ],
  7251. "properties": {
  7252. "accountid": {
  7253. "description": "申请人账户ID",
  7254. "type": "integer"
  7255. },
  7256. "applyid": {
  7257. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7258. "type": "integer"
  7259. },
  7260. "applyremark": {
  7261. "description": "申请备注",
  7262. "type": "string"
  7263. },
  7264. "applystatus": {
  7265. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7266. "type": "integer"
  7267. },
  7268. "applytime": {
  7269. "description": "申请时间",
  7270. "type": "string"
  7271. },
  7272. "attachmenturl": {
  7273. "description": "附件地址",
  7274. "type": "string"
  7275. },
  7276. "endtime": {
  7277. "description": "预售结束时间",
  7278. "type": "string"
  7279. },
  7280. "goodscode": {
  7281. "description": "商品代码",
  7282. "type": "string"
  7283. },
  7284. "goodsid": {
  7285. "description": "商品ID",
  7286. "type": "integer"
  7287. },
  7288. "goodsname": {
  7289. "description": "商品名称",
  7290. "type": "string"
  7291. },
  7292. "goodunit": {
  7293. "description": "报价单位",
  7294. "type": "string"
  7295. },
  7296. "handlestatus": {
  7297. "description": "处理状态",
  7298. "type": "integer"
  7299. },
  7300. "marketid": {
  7301. "description": "预售市场ID",
  7302. "type": "integer"
  7303. },
  7304. "marketname": {
  7305. "description": "预售市场名称",
  7306. "type": "string"
  7307. },
  7308. "presaleqty": {
  7309. "description": "预售数量",
  7310. "type": "integer"
  7311. },
  7312. "relatedgoodscode": {
  7313. "description": "关联交易合约代码",
  7314. "type": "string"
  7315. },
  7316. "relatedgoodsid": {
  7317. "description": "关联交易合约ID",
  7318. "type": "integer"
  7319. },
  7320. "relatedgoodsname": {
  7321. "description": "关联交易合约名称",
  7322. "type": "string"
  7323. },
  7324. "starttime": {
  7325. "description": "预售开始时间",
  7326. "type": "string"
  7327. },
  7328. "tradedate": {
  7329. "description": "交易日(yyyyMMdd)",
  7330. "type": "string"
  7331. },
  7332. "trademode": {
  7333. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7334. "type": "integer"
  7335. },
  7336. "userid": {
  7337. "description": "申请人ID",
  7338. "type": "integer"
  7339. }
  7340. }
  7341. },
  7342. "cptrade.Cptradeusergoodsdata": {
  7343. "type": "object",
  7344. "required": [
  7345. "accountid",
  7346. "goodsid"
  7347. ],
  7348. "properties": {
  7349. "EnabledQty": {
  7350. "description": "可用量",
  7351. "type": "integer"
  7352. },
  7353. "GoodsCode": {
  7354. "description": "订单商品代码",
  7355. "type": "string"
  7356. },
  7357. "GoodsName": {
  7358. "description": "订单商品名称",
  7359. "type": "string"
  7360. },
  7361. "WRStandardCode": {
  7362. "description": "仓单标准代码",
  7363. "type": "string"
  7364. },
  7365. "WRStandardName": {
  7366. "description": "仓单标准名称",
  7367. "type": "string"
  7368. },
  7369. "accountid": {
  7370. "description": "账户ID",
  7371. "type": "integer"
  7372. },
  7373. "cancelqty": {
  7374. "description": "注销量",
  7375. "type": "integer"
  7376. },
  7377. "curpresaleqty": {
  7378. "description": "当前预售量",
  7379. "type": "integer"
  7380. },
  7381. "deliveryqty": {
  7382. "description": "交割量",
  7383. "type": "integer"
  7384. },
  7385. "freezeamount": {
  7386. "description": "冻结金额",
  7387. "type": "number"
  7388. },
  7389. "goodsid": {
  7390. "description": "商品ID",
  7391. "type": "integer"
  7392. },
  7393. "goodunit": {
  7394. "description": "报价单位",
  7395. "type": "string"
  7396. },
  7397. "hasspotfreeze": {
  7398. "description": "是否有现货冻结 - 0:否 1:有",
  7399. "type": "integer"
  7400. },
  7401. "inqty": {
  7402. "description": "转入量(总数量)",
  7403. "type": "integer"
  7404. },
  7405. "marketid": {
  7406. "description": "市场ID",
  7407. "type": "integer"
  7408. },
  7409. "presaledamount": {
  7410. "description": "已预售总金额",
  7411. "type": "integer"
  7412. },
  7413. "presaledqty": {
  7414. "description": "已预售量",
  7415. "type": "integer"
  7416. },
  7417. "userid": {
  7418. "description": "用户ID",
  7419. "type": "integer"
  7420. },
  7421. "wrstandardid": {
  7422. "description": "仓单标准ID",
  7423. "type": "integer"
  7424. }
  7425. }
  7426. },
  7427. "cptrade.QueryCPTradeMyBidRsp": {
  7428. "type": "object",
  7429. "required": [
  7430. "accountid",
  7431. "goodsid",
  7432. "marketid",
  7433. "orderid",
  7434. "orderqty",
  7435. "ordertime",
  7436. "tradeprice",
  7437. "tradeqty"
  7438. ],
  7439. "properties": {
  7440. "accountid": {
  7441. "description": "账户ID[报价币种]",
  7442. "type": "integer"
  7443. },
  7444. "goodsid": {
  7445. "description": "商品ID",
  7446. "type": "integer"
  7447. },
  7448. "goodunit": {
  7449. "description": "报价单位",
  7450. "type": "string"
  7451. },
  7452. "marketid": {
  7453. "description": "市场ID",
  7454. "type": "integer"
  7455. },
  7456. "orderid": {
  7457. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7458. "type": "integer"
  7459. },
  7460. "orderprice": {
  7461. "description": "委托价格",
  7462. "type": "number"
  7463. },
  7464. "orderqty": {
  7465. "description": "委托数量",
  7466. "type": "integer"
  7467. },
  7468. "ordertime": {
  7469. "description": "委托时间",
  7470. "type": "string"
  7471. },
  7472. "ordertotalprice": {
  7473. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7474. "type": "number"
  7475. },
  7476. "ordertotalweight": {
  7477. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7478. "type": "integer"
  7479. },
  7480. "totaltotalprice": {
  7481. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7482. "type": "number"
  7483. },
  7484. "tradeprice": {
  7485. "description": "成交价格",
  7486. "type": "number"
  7487. },
  7488. "tradeqty": {
  7489. "description": "成交数量",
  7490. "type": "integer"
  7491. }
  7492. }
  7493. },
  7494. "cptrade.QueryCPTradeOrderDetailRsq": {
  7495. "type": "object",
  7496. "required": [
  7497. "accountid",
  7498. "buildtype",
  7499. "buyorsell",
  7500. "goodsid",
  7501. "marketid",
  7502. "memberuserid",
  7503. "operatetype",
  7504. "orderqty",
  7505. "ordertime",
  7506. "pricemode",
  7507. "strorderid",
  7508. "tradedate",
  7509. "validtype"
  7510. ],
  7511. "properties": {
  7512. "accountid": {
  7513. "description": "账户ID[报价币种]",
  7514. "type": "integer"
  7515. },
  7516. "buildtype": {
  7517. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7518. "type": "integer"
  7519. },
  7520. "buyorsell": {
  7521. "description": "买卖 - 0:买 1:卖",
  7522. "type": "integer"
  7523. },
  7524. "cancelorderid": {
  7525. "description": "撤单单号(撤单时填写)",
  7526. "type": "integer"
  7527. },
  7528. "cancelqty": {
  7529. "description": "撤单数量",
  7530. "type": "integer"
  7531. },
  7532. "clientordertime": {
  7533. "description": "客户端委托时间",
  7534. "type": "string"
  7535. },
  7536. "clientticket": {
  7537. "description": "客户端流水号",
  7538. "type": "string"
  7539. },
  7540. "clienttype": {
  7541. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7542. "type": "integer"
  7543. },
  7544. "closeexchagechargevalue": {
  7545. "description": "平仓交易所手续费设置值",
  7546. "type": "number"
  7547. },
  7548. "closefeealgorithm": {
  7549. "description": "平仓手续费收取方式 1:比率 2:固定",
  7550. "type": "integer"
  7551. },
  7552. "closefreezecharge": {
  7553. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7554. "type": "number"
  7555. },
  7556. "closememberchargevalue": {
  7557. "description": "平仓会员手续费设置值",
  7558. "type": "number"
  7559. },
  7560. "closeqty": {
  7561. "description": "平仓数量(先建后平操作 需要记录)",
  7562. "type": "integer"
  7563. },
  7564. "closetradeqty": {
  7565. "description": "平仓成交数量(先建后平操作,需要记录)",
  7566. "type": "integer"
  7567. },
  7568. "closeunfreezecharge": {
  7569. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7570. "type": "number"
  7571. },
  7572. "delistingtype": {
  7573. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7574. "type": "integer"
  7575. },
  7576. "freezecharge": {
  7577. "description": "冻结手续费",
  7578. "type": "number"
  7579. },
  7580. "freezemargin": {
  7581. "description": "冻结保证金(冻结交易金额)",
  7582. "type": "number"
  7583. },
  7584. "gcaccountid": {
  7585. "description": "账户ID[合约币种]",
  7586. "type": "integer"
  7587. },
  7588. "goodsid": {
  7589. "description": "商品ID",
  7590. "type": "integer"
  7591. },
  7592. "isconfirmexercise": {
  7593. "description": "是否确认行权- 0:否 1:是",
  7594. "type": "integer"
  7595. },
  7596. "ispreexercise": {
  7597. "description": "是否预申报- 0:否 1:是",
  7598. "type": "integer"
  7599. },
  7600. "listingselecttype": {
  7601. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7602. "type": "integer"
  7603. },
  7604. "marginalgorithm": {
  7605. "description": "保证金收取方式 1:比率 2:固定",
  7606. "type": "integer"
  7607. },
  7608. "marginvalue": {
  7609. "description": "即市保证金设置值",
  7610. "type": "number"
  7611. },
  7612. "marketid": {
  7613. "description": "市场ID",
  7614. "type": "integer"
  7615. },
  7616. "marketmaxsub": {
  7617. "description": "市价最大偏移范围",
  7618. "type": "number"
  7619. },
  7620. "memberuserid": {
  7621. "description": "所属会员UserID",
  7622. "type": "integer"
  7623. },
  7624. "openexchagechargevalue": {
  7625. "description": "建仓交易所手续费设置值",
  7626. "type": "number"
  7627. },
  7628. "openfeealgorithm": {
  7629. "description": "建仓手续费收取方式 1:比率 2:固定",
  7630. "type": "integer"
  7631. },
  7632. "openfreezecharge": {
  7633. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7634. "type": "number"
  7635. },
  7636. "openmemberchargevalue": {
  7637. "description": "建仓会员手续费设置值",
  7638. "type": "number"
  7639. },
  7640. "openqty": {
  7641. "description": "开仓数量(先建后平操作,需要记录)",
  7642. "type": "integer"
  7643. },
  7644. "opentradeqty": {
  7645. "description": "开仓成交数量(先建后平操作,需要记录)",
  7646. "type": "integer"
  7647. },
  7648. "openunfreezecharge": {
  7649. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7650. "type": "number"
  7651. },
  7652. "operatetype": {
  7653. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7654. "type": "integer"
  7655. },
  7656. "operatorid": {
  7657. "description": "登录账号(LoginID)",
  7658. "type": "integer"
  7659. },
  7660. "optiontype": {
  7661. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7662. "type": "integer"
  7663. },
  7664. "orderprice": {
  7665. "description": "委托价格",
  7666. "type": "number"
  7667. },
  7668. "orderqty": {
  7669. "description": "委托数量",
  7670. "type": "integer"
  7671. },
  7672. "ordersrc": {
  7673. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7674. "type": "integer"
  7675. },
  7676. "orderstatus": {
  7677. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7678. "type": "integer"
  7679. },
  7680. "ordertime": {
  7681. "description": "委托时间",
  7682. "type": "string"
  7683. },
  7684. "preexerciseprice": {
  7685. "description": "预申报价格",
  7686. "type": "number"
  7687. },
  7688. "premium": {
  7689. "description": "权利金",
  7690. "type": "number"
  7691. },
  7692. "preorderid": {
  7693. "description": "关联预埋单号(止盈止损单时填写)",
  7694. "type": "integer"
  7695. },
  7696. "pricemode": {
  7697. "description": "取价方式 - 1:市价 2: 限价",
  7698. "type": "integer"
  7699. },
  7700. "quoteid": {
  7701. "description": "报价单ID",
  7702. "type": "integer"
  7703. },
  7704. "relatedid": {
  7705. "description": "关联单号(交割单)",
  7706. "type": "integer"
  7707. },
  7708. "retcode": {
  7709. "description": "错误代码",
  7710. "type": "integer"
  7711. },
  7712. "sessionid": {
  7713. "description": "会话ID",
  7714. "type": "integer"
  7715. },
  7716. "strorderid": {
  7717. "description": "委托单号",
  7718. "type": "string"
  7719. },
  7720. "tradedate": {
  7721. "description": "交易日(yyyyMMdd)",
  7722. "type": "string"
  7723. },
  7724. "tradeproperty": {
  7725. "description": "交易属性",
  7726. "type": "integer"
  7727. },
  7728. "tradeqty": {
  7729. "description": "成交数量",
  7730. "type": "integer"
  7731. },
  7732. "unfreezecharge": {
  7733. "description": "解冻手续费",
  7734. "type": "number"
  7735. },
  7736. "unfreezemargin": {
  7737. "description": "解冻保证金",
  7738. "type": "number"
  7739. },
  7740. "updatetime": {
  7741. "description": "更新时间",
  7742. "type": "string"
  7743. },
  7744. "uuid": {
  7745. "description": "发起端唯一id",
  7746. "type": "string"
  7747. },
  7748. "validtime": {
  7749. "description": "有效期限",
  7750. "type": "string"
  7751. },
  7752. "validtype": {
  7753. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7754. "type": "integer"
  7755. },
  7756. "volumetype": {
  7757. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7758. "type": "integer"
  7759. }
  7760. }
  7761. },
  7762. "cptrade.QueryMyCPTradeGoodsRsp": {
  7763. "type": "object",
  7764. "required": [
  7765. "goodscode",
  7766. "goodsid",
  7767. "goodsname",
  7768. "marketid",
  7769. "relatedgoodscode",
  7770. "relatedgoodsname"
  7771. ],
  7772. "properties": {
  7773. "accountid": {
  7774. "description": "卖方账户ID",
  7775. "type": "integer"
  7776. },
  7777. "agreeunit": {
  7778. "description": "合约单位",
  7779. "type": "number"
  7780. },
  7781. "applyid": {
  7782. "description": "关联申请ID",
  7783. "type": "integer"
  7784. },
  7785. "attachmenturl": {
  7786. "description": "附件地址",
  7787. "type": "string"
  7788. },
  7789. "createtime": {
  7790. "description": "创建时间",
  7791. "type": "string"
  7792. },
  7793. "currencyid": {
  7794. "description": "报价货币ID",
  7795. "type": "integer"
  7796. },
  7797. "decimalplace": {
  7798. "description": "报价小数位",
  7799. "type": "integer"
  7800. },
  7801. "endtime": {
  7802. "description": "预售结束时间",
  7803. "type": "string"
  7804. },
  7805. "floorprice": {
  7806. "description": "底价[大宗式竞拍]",
  7807. "type": "number"
  7808. },
  7809. "goodscode": {
  7810. "description": "商品代码(预售)",
  7811. "type": "string"
  7812. },
  7813. "goodsdetail": {
  7814. "description": "详情[大宗]",
  7815. "type": "string"
  7816. },
  7817. "goodsid": {
  7818. "description": "商品ID(自增ID SEQ_GOODS)",
  7819. "type": "integer"
  7820. },
  7821. "goodsname": {
  7822. "description": "商品名称(预售)",
  7823. "type": "string"
  7824. },
  7825. "goodunit": {
  7826. "description": "报价单位",
  7827. "type": "string"
  7828. },
  7829. "goodunitid": {
  7830. "description": "报价单位ID",
  7831. "type": "integer"
  7832. },
  7833. "marketid": {
  7834. "description": "所属市场ID",
  7835. "type": "integer"
  7836. },
  7837. "marketname": {
  7838. "description": "预售市场名称",
  7839. "type": "string"
  7840. },
  7841. "presaledamount": {
  7842. "description": "已预售总金额(预售结束时更新)",
  7843. "type": "number"
  7844. },
  7845. "presaledqty": {
  7846. "description": "已预售量(预售结束时更新)",
  7847. "type": "integer"
  7848. },
  7849. "presalemode": {
  7850. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7851. "type": "integer"
  7852. },
  7853. "presaleqty": {
  7854. "description": "预售数量",
  7855. "type": "integer"
  7856. },
  7857. "refprice": {
  7858. "description": "参考价格[一口价]",
  7859. "type": "number"
  7860. },
  7861. "relatedgoodscode": {
  7862. "description": "商品代码(订单)",
  7863. "type": "string"
  7864. },
  7865. "relatedgoodsid": {
  7866. "description": "关联交易合约ID",
  7867. "type": "integer"
  7868. },
  7869. "relatedgoodsname": {
  7870. "description": "商品名称(订单)",
  7871. "type": "string"
  7872. },
  7873. "relatedmarketid": {
  7874. "description": "关联交易合约市场ID",
  7875. "type": "integer"
  7876. },
  7877. "sellstatus": {
  7878. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7879. "type": "integer"
  7880. },
  7881. "startprice": {
  7882. "description": "起拍价[大宗式竞拍]",
  7883. "type": "number"
  7884. },
  7885. "starttime": {
  7886. "description": "预售开始时间",
  7887. "type": "string"
  7888. },
  7889. "tradedate": {
  7890. "description": "交易日(yyyyMMdd)",
  7891. "type": "string"
  7892. },
  7893. "tradeprice": {
  7894. "description": "成交价[大宗]",
  7895. "type": "number"
  7896. },
  7897. "userid": {
  7898. "description": "卖方用户ID",
  7899. "type": "integer"
  7900. }
  7901. }
  7902. },
  7903. "cptrade.QueryPresaleGoodsExRsp": {
  7904. "type": "object",
  7905. "required": [
  7906. "goodsid"
  7907. ],
  7908. "properties": {
  7909. "attachmenturl": {
  7910. "description": "附件地址",
  7911. "type": "string"
  7912. },
  7913. "createtime": {
  7914. "description": "创建时间",
  7915. "type": "string"
  7916. },
  7917. "endtime": {
  7918. "description": "预售结束时间",
  7919. "type": "string"
  7920. },
  7921. "floorprice": {
  7922. "description": "底价[大宗式竞拍]",
  7923. "type": "number"
  7924. },
  7925. "goodsdetail": {
  7926. "description": "详情[大宗]",
  7927. "type": "string"
  7928. },
  7929. "goodsid": {
  7930. "description": "商品ID(预售)",
  7931. "type": "integer"
  7932. },
  7933. "goodunit": {
  7934. "description": "报价单位",
  7935. "type": "string"
  7936. },
  7937. "marketid": {
  7938. "description": "预售市场ID - 根据预售模式选择市场",
  7939. "type": "integer"
  7940. },
  7941. "presaledamount": {
  7942. "description": "已预售总金额(预售结束时更新)",
  7943. "type": "number"
  7944. },
  7945. "presaledqty": {
  7946. "description": "已预售量(预售结束时更新)",
  7947. "type": "integer"
  7948. },
  7949. "presalemode": {
  7950. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7951. "type": "integer"
  7952. },
  7953. "presaleqty": {
  7954. "description": "预售数量",
  7955. "type": "integer"
  7956. },
  7957. "refprice": {
  7958. "description": "参考价格[一口价]",
  7959. "type": "number"
  7960. },
  7961. "relatedgoodsid": {
  7962. "description": "关联交易合约ID",
  7963. "type": "integer"
  7964. },
  7965. "relatedmarketid": {
  7966. "description": "关联交易合约市场ID",
  7967. "type": "integer"
  7968. },
  7969. "sellstatus": {
  7970. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7971. "type": "integer"
  7972. },
  7973. "startprice": {
  7974. "description": "起拍价[大宗式竞拍]",
  7975. "type": "number"
  7976. },
  7977. "starttime": {
  7978. "description": "预售开始时间",
  7979. "type": "string"
  7980. },
  7981. "tradedate": {
  7982. "description": "交易日(yyyyMMdd)",
  7983. "type": "string"
  7984. },
  7985. "tradeprice": {
  7986. "description": "成交价[大宗]",
  7987. "type": "number"
  7988. }
  7989. }
  7990. },
  7991. "delivery.QueryDeliveryRelationRsp": {
  7992. "type": "object",
  7993. "required": [
  7994. "begindate",
  7995. "enddate",
  7996. "goodsid",
  7997. "mindeliveryqty",
  7998. "xdeliveryratio"
  7999. ],
  8000. "properties": {
  8001. "begindate": {
  8002. "description": "起始日期(yyyyMMdd)",
  8003. "type": "string"
  8004. },
  8005. "buytemplateid": {
  8006. "description": "买履约计划模板ID",
  8007. "type": "integer"
  8008. },
  8009. "deliverygoodscode": {
  8010. "description": "品种代码",
  8011. "type": "string"
  8012. },
  8013. "deliverygoodsid": {
  8014. "description": "交割商品",
  8015. "type": "integer"
  8016. },
  8017. "deliverygoodsname": {
  8018. "description": "品种名称",
  8019. "type": "string"
  8020. },
  8021. "deliverymode": {
  8022. "description": "交割方式 - 1:点选式 2:申报式",
  8023. "type": "integer"
  8024. },
  8025. "deliverypricerule": {
  8026. "description": "交割价规则- 1:行情价 2:建仓价",
  8027. "type": "integer"
  8028. },
  8029. "deliverytype": {
  8030. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8031. "type": "integer"
  8032. },
  8033. "enddate": {
  8034. "description": "结束日期(yyyyMMdd)",
  8035. "type": "string"
  8036. },
  8037. "goodscode": {
  8038. "description": "商品代码",
  8039. "type": "string"
  8040. },
  8041. "goodsid": {
  8042. "description": "交易合约ID",
  8043. "type": "integer"
  8044. },
  8045. "goodsname": {
  8046. "description": "商品名称",
  8047. "type": "string"
  8048. },
  8049. "marketid": {
  8050. "description": "市场ID",
  8051. "type": "integer"
  8052. },
  8053. "mindeliveryqty": {
  8054. "description": "最小交割系数(K)",
  8055. "type": "integer"
  8056. },
  8057. "p2deliveryprice": {
  8058. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8059. "type": "number"
  8060. },
  8061. "p2deliveryratio": {
  8062. "description": "P2合约系数(p)",
  8063. "type": "integer"
  8064. },
  8065. "p2goodsid": {
  8066. "description": "P2合约ID",
  8067. "type": "integer"
  8068. },
  8069. "p2pricemode": {
  8070. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8071. "type": "integer"
  8072. },
  8073. "pdeliveryprice": {
  8074. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8075. "type": "number"
  8076. },
  8077. "pdeliveryratio": {
  8078. "description": "P合约系数(n)",
  8079. "type": "integer"
  8080. },
  8081. "pgoodsid": {
  8082. "description": "P合约ID",
  8083. "type": "integer"
  8084. },
  8085. "ppricemode": {
  8086. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8087. "type": "integer"
  8088. },
  8089. "rratio": {
  8090. "description": "兑换系数(R)",
  8091. "type": "integer"
  8092. },
  8093. "rratio1": {
  8094. "description": "兑换系数(交易合约)(R1)",
  8095. "type": "integer"
  8096. },
  8097. "rratio2": {
  8098. "description": "兑换系数(仓单标准)(R2)",
  8099. "type": "integer"
  8100. },
  8101. "selltemplateid": {
  8102. "description": "卖履约计划模板ID",
  8103. "type": "integer"
  8104. },
  8105. "wrstandardid": {
  8106. "description": "仓单标准ID",
  8107. "type": "integer"
  8108. },
  8109. "xdeliveryratio": {
  8110. "description": "交易合约系数(m)",
  8111. "type": "integer"
  8112. }
  8113. }
  8114. },
  8115. "ermcp.ExposureDetailRsp": {
  8116. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8117. },
  8118. "ermcp.ExposureHedgePosDetailRsp": {
  8119. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8120. },
  8121. "ermcp.ExposureHedgePositionRsp": {
  8122. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8123. },
  8124. "ermcp.ExposureSpotDetailRsp": {
  8125. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8126. },
  8127. "ermcp.ExposureSpotRsp": {
  8128. "$ref": "#/definitions/models.AreaSpotModel"
  8129. },
  8130. "ermcp.HisExposureRsp": {
  8131. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8132. },
  8133. "ermcp.PendingAuditCntRsp": {
  8134. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8135. },
  8136. "ermcp.QryAreaStockApplyRsp": {
  8137. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8138. },
  8139. "ermcp.QryAvalidGPRsp": {
  8140. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8141. },
  8142. "ermcp.QryBusinessDjRsp": {
  8143. "type": "object",
  8144. "properties": {
  8145. "amount": {
  8146. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8147. "type": "number"
  8148. },
  8149. "applyid": {
  8150. "description": "申请人",
  8151. "type": "string"
  8152. },
  8153. "applyname": {
  8154. "description": "申请人名称",
  8155. "type": "string"
  8156. },
  8157. "applystatus": {
  8158. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8159. "type": "integer"
  8160. },
  8161. "applytime": {
  8162. "description": "申请时间",
  8163. "type": "string"
  8164. },
  8165. "attachurl": {
  8166. "description": "附件",
  8167. "type": "string"
  8168. },
  8169. "auditname": {
  8170. "description": "审核人名称",
  8171. "type": "string"
  8172. },
  8173. "audittime": {
  8174. "description": "审核时间",
  8175. "type": "string"
  8176. },
  8177. "buyusername": {
  8178. "description": "采购方名称",
  8179. "type": "string"
  8180. },
  8181. "contractno": {
  8182. "description": "合同编号",
  8183. "type": "string"
  8184. },
  8185. "contractstatus": {
  8186. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8187. "type": "integer"
  8188. },
  8189. "contracttype": {
  8190. "description": "现货合同类型 - 1:采购 -1:销售",
  8191. "type": "integer"
  8192. },
  8193. "enumdicname": {
  8194. "description": "单位名称",
  8195. "type": "string"
  8196. },
  8197. "goodscode": {
  8198. "description": "点价合约",
  8199. "type": "string"
  8200. },
  8201. "goodsname": {
  8202. "description": "商品名称",
  8203. "type": "string"
  8204. },
  8205. "operateapplyid": {
  8206. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8207. "type": "string"
  8208. },
  8209. "operateapplytype": {
  8210. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8211. "type": "integer"
  8212. },
  8213. "pricedPrice": {
  8214. "description": "点价价格(非必填)",
  8215. "type": "number"
  8216. },
  8217. "pricedQty": {
  8218. "description": "点价数量(非必填)",
  8219. "type": "number"
  8220. },
  8221. "pricemove": {
  8222. "description": "升贴水",
  8223. "type": "number"
  8224. },
  8225. "pricetype": {
  8226. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8227. "type": "integer"
  8228. },
  8229. "relatedid": {
  8230. "description": "现货合同ID",
  8231. "type": "string"
  8232. },
  8233. "sellusername": {
  8234. "description": "销售方名字",
  8235. "type": "string"
  8236. },
  8237. "userid": {
  8238. "description": "用户ID",
  8239. "type": "integer"
  8240. },
  8241. "wrstandardcode": {
  8242. "description": "现货商品代码",
  8243. "type": "string"
  8244. },
  8245. "wrstandardid": {
  8246. "description": "现货商品id",
  8247. "type": "integer"
  8248. },
  8249. "wrstandardname": {
  8250. "description": "现货商品名称",
  8251. "type": "string"
  8252. }
  8253. }
  8254. },
  8255. "ermcp.QryBussinessFpRsp": {
  8256. "type": "object",
  8257. "properties": {
  8258. "applyid": {
  8259. "description": "申请人",
  8260. "type": "string"
  8261. },
  8262. "applyname": {
  8263. "description": "申请人名称",
  8264. "type": "string"
  8265. },
  8266. "applystatus": {
  8267. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8268. "type": "integer"
  8269. },
  8270. "applytime": {
  8271. "description": "申请时间",
  8272. "type": "string"
  8273. },
  8274. "attachurl": {
  8275. "description": "附件",
  8276. "type": "string"
  8277. },
  8278. "auditname": {
  8279. "description": "审核人名称",
  8280. "type": "string"
  8281. },
  8282. "audittime": {
  8283. "description": "审核时间",
  8284. "type": "string"
  8285. },
  8286. "buyusername": {
  8287. "description": "采购方名称",
  8288. "type": "string"
  8289. },
  8290. "contractno": {
  8291. "description": "合同编号",
  8292. "type": "string"
  8293. },
  8294. "contractstatus": {
  8295. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8296. "type": "integer"
  8297. },
  8298. "contracttype": {
  8299. "description": "现货合同类型 - 1:采购 -1:销售",
  8300. "type": "integer"
  8301. },
  8302. "enumdicname": {
  8303. "description": "单位名称",
  8304. "type": "string"
  8305. },
  8306. "goodscode": {
  8307. "description": "点价合约",
  8308. "type": "string"
  8309. },
  8310. "goodsname": {
  8311. "description": "商品名称",
  8312. "type": "string"
  8313. },
  8314. "invoiceAmount": {
  8315. "description": "已开收票金额(销售为开票,采购为收票)",
  8316. "type": "number"
  8317. },
  8318. "operateapplyid": {
  8319. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8320. "type": "string"
  8321. },
  8322. "operateapplytype": {
  8323. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8324. "type": "integer"
  8325. },
  8326. "pricemove": {
  8327. "description": "升贴水",
  8328. "type": "number"
  8329. },
  8330. "pricetype": {
  8331. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8332. "type": "integer"
  8333. },
  8334. "relatedid": {
  8335. "description": "现货合同ID",
  8336. "type": "string"
  8337. },
  8338. "sellusername": {
  8339. "description": "销售方名字",
  8340. "type": "string"
  8341. },
  8342. "userid": {
  8343. "description": "用户ID",
  8344. "type": "integer"
  8345. },
  8346. "wrstandardcode": {
  8347. "description": "现货商品代码",
  8348. "type": "string"
  8349. },
  8350. "wrstandardid": {
  8351. "description": "现货商品id",
  8352. "type": "integer"
  8353. },
  8354. "wrstandardname": {
  8355. "description": "现货商品名称",
  8356. "type": "string"
  8357. }
  8358. }
  8359. },
  8360. "ermcp.QryBussinessJsExRsp": {
  8361. "type": "object",
  8362. "properties": {
  8363. "applyid": {
  8364. "description": "申请人",
  8365. "type": "string"
  8366. },
  8367. "applyname": {
  8368. "description": "申请人名称",
  8369. "type": "string"
  8370. },
  8371. "applystatus": {
  8372. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8373. "type": "integer"
  8374. },
  8375. "applytime": {
  8376. "description": "申请时间",
  8377. "type": "string"
  8378. },
  8379. "attachurl": {
  8380. "description": "附件",
  8381. "type": "string"
  8382. },
  8383. "auditname": {
  8384. "description": "审核人名称",
  8385. "type": "string"
  8386. },
  8387. "audittime": {
  8388. "description": "审核时间",
  8389. "type": "string"
  8390. },
  8391. "buyusername": {
  8392. "description": "采购方名称",
  8393. "type": "string"
  8394. },
  8395. "contractno": {
  8396. "description": "合同编号",
  8397. "type": "string"
  8398. },
  8399. "contractstatus": {
  8400. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8401. "type": "integer"
  8402. },
  8403. "contracttype": {
  8404. "description": "现货合同类型 - 1:采购 -1:销售",
  8405. "type": "integer"
  8406. },
  8407. "enumdicname": {
  8408. "description": "单位名称",
  8409. "type": "string"
  8410. },
  8411. "goodscode": {
  8412. "description": "点价合约",
  8413. "type": "string"
  8414. },
  8415. "goodsname": {
  8416. "description": "商品名称",
  8417. "type": "string"
  8418. },
  8419. "operateapplyid": {
  8420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8421. "type": "string"
  8422. },
  8423. "operateapplytype": {
  8424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8425. "type": "integer"
  8426. },
  8427. "pricemove": {
  8428. "description": "升贴水",
  8429. "type": "number"
  8430. },
  8431. "pricetype": {
  8432. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8433. "type": "integer"
  8434. },
  8435. "reckontype": {
  8436. "description": "结算类型",
  8437. "type": "string"
  8438. },
  8439. "reckonvalue": {
  8440. "description": "值",
  8441. "type": "number"
  8442. },
  8443. "relatedid": {
  8444. "description": "现货合同ID",
  8445. "type": "string"
  8446. },
  8447. "sellusername": {
  8448. "description": "销售方名字",
  8449. "type": "string"
  8450. },
  8451. "userid": {
  8452. "description": "用户ID",
  8453. "type": "integer"
  8454. },
  8455. "wrstandardcode": {
  8456. "description": "现货商品代码",
  8457. "type": "string"
  8458. },
  8459. "wrstandardid": {
  8460. "description": "现货商品id",
  8461. "type": "integer"
  8462. },
  8463. "wrstandardname": {
  8464. "description": "现货商品名称",
  8465. "type": "string"
  8466. }
  8467. }
  8468. },
  8469. "ermcp.QryBussinessJsRsp": {
  8470. "type": "object",
  8471. "properties": {
  8472. "addmargin": {
  8473. "description": "追加保证金(非必填)",
  8474. "type": "number"
  8475. },
  8476. "applyid": {
  8477. "description": "申请人",
  8478. "type": "string"
  8479. },
  8480. "applyname": {
  8481. "description": "申请人名称",
  8482. "type": "string"
  8483. },
  8484. "applystatus": {
  8485. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8486. "type": "integer"
  8487. },
  8488. "applytime": {
  8489. "description": "申请时间",
  8490. "type": "string"
  8491. },
  8492. "attachurl": {
  8493. "description": "附件",
  8494. "type": "string"
  8495. },
  8496. "auditname": {
  8497. "description": "审核人名称",
  8498. "type": "string"
  8499. },
  8500. "audittime": {
  8501. "description": "审核时间",
  8502. "type": "string"
  8503. },
  8504. "buyusername": {
  8505. "description": "采购方名称",
  8506. "type": "string"
  8507. },
  8508. "contractno": {
  8509. "description": "合同编号",
  8510. "type": "string"
  8511. },
  8512. "contractstatus": {
  8513. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8514. "type": "integer"
  8515. },
  8516. "contracttype": {
  8517. "description": "现货合同类型 - 1:采购 -1:销售",
  8518. "type": "integer"
  8519. },
  8520. "decmargin": {
  8521. "description": "减少保证金(非必填)",
  8522. "type": "number"
  8523. },
  8524. "enumdicname": {
  8525. "description": "单位名称",
  8526. "type": "string"
  8527. },
  8528. "goodscode": {
  8529. "description": "点价合约",
  8530. "type": "string"
  8531. },
  8532. "goodsname": {
  8533. "description": "商品名称",
  8534. "type": "string"
  8535. },
  8536. "operateapplyid": {
  8537. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8538. "type": "string"
  8539. },
  8540. "operateapplytype": {
  8541. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8542. "type": "integer"
  8543. },
  8544. "pricemove": {
  8545. "description": "升贴水",
  8546. "type": "number"
  8547. },
  8548. "pricetype": {
  8549. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8550. "type": "integer"
  8551. },
  8552. "reckonadjustamount": {
  8553. "description": "结算调整金额(非必填)",
  8554. "type": "number"
  8555. },
  8556. "reckonosamount": {
  8557. "description": "结算溢短金额(非必填)",
  8558. "type": "number"
  8559. },
  8560. "reckonotheramount": {
  8561. "description": "结算其他费用(非必填)",
  8562. "type": "number"
  8563. },
  8564. "reckonrealqty": {
  8565. "description": "结算实际数量(非必填)",
  8566. "type": "number"
  8567. },
  8568. "relatedid": {
  8569. "description": "现货合同ID",
  8570. "type": "string"
  8571. },
  8572. "sellusername": {
  8573. "description": "销售方名字",
  8574. "type": "string"
  8575. },
  8576. "userid": {
  8577. "description": "用户ID",
  8578. "type": "integer"
  8579. },
  8580. "wrstandardcode": {
  8581. "description": "现货商品代码",
  8582. "type": "string"
  8583. },
  8584. "wrstandardid": {
  8585. "description": "现货商品id",
  8586. "type": "integer"
  8587. },
  8588. "wrstandardname": {
  8589. "description": "现货商品名称",
  8590. "type": "string"
  8591. }
  8592. }
  8593. },
  8594. "ermcp.QryBussinessKxRsp": {
  8595. "type": "object",
  8596. "properties": {
  8597. "applyid": {
  8598. "description": "申请人",
  8599. "type": "string"
  8600. },
  8601. "applyname": {
  8602. "description": "申请人名称",
  8603. "type": "string"
  8604. },
  8605. "applystatus": {
  8606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8607. "type": "integer"
  8608. },
  8609. "applytime": {
  8610. "description": "申请时间",
  8611. "type": "string"
  8612. },
  8613. "attachurl": {
  8614. "description": "附件",
  8615. "type": "string"
  8616. },
  8617. "auditname": {
  8618. "description": "审核人名称",
  8619. "type": "string"
  8620. },
  8621. "audittime": {
  8622. "description": "审核时间",
  8623. "type": "string"
  8624. },
  8625. "buyusername": {
  8626. "description": "采购方名称",
  8627. "type": "string"
  8628. },
  8629. "contractno": {
  8630. "description": "合同编号",
  8631. "type": "string"
  8632. },
  8633. "contractstatus": {
  8634. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8635. "type": "integer"
  8636. },
  8637. "contracttype": {
  8638. "description": "现货合同类型 - 1:采购 -1:销售",
  8639. "type": "integer"
  8640. },
  8641. "deductamount": {
  8642. "description": "退款(非必填)",
  8643. "type": "number"
  8644. },
  8645. "enumdicname": {
  8646. "description": "单位名称",
  8647. "type": "string"
  8648. },
  8649. "goodscode": {
  8650. "description": "点价合约",
  8651. "type": "string"
  8652. },
  8653. "goodsname": {
  8654. "description": "商品名称",
  8655. "type": "string"
  8656. },
  8657. "kxtype": {
  8658. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8659. "type": "integer"
  8660. },
  8661. "operateapplyid": {
  8662. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8663. "type": "string"
  8664. },
  8665. "operateapplytype": {
  8666. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8667. "type": "integer"
  8668. },
  8669. "payamount": {
  8670. "description": "收付款(非必填)",
  8671. "type": "number"
  8672. },
  8673. "pricemove": {
  8674. "description": "升贴水",
  8675. "type": "number"
  8676. },
  8677. "pricetype": {
  8678. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8679. "type": "integer"
  8680. },
  8681. "relatedid": {
  8682. "description": "现货合同ID",
  8683. "type": "string"
  8684. },
  8685. "sellusername": {
  8686. "description": "销售方名字",
  8687. "type": "string"
  8688. },
  8689. "userid": {
  8690. "description": "用户ID",
  8691. "type": "integer"
  8692. },
  8693. "wrstandardcode": {
  8694. "description": "现货商品代码",
  8695. "type": "string"
  8696. },
  8697. "wrstandardid": {
  8698. "description": "现货商品id",
  8699. "type": "integer"
  8700. },
  8701. "wrstandardname": {
  8702. "description": "现货商品名称",
  8703. "type": "string"
  8704. }
  8705. }
  8706. },
  8707. "ermcp.QryErmcpRsp": {
  8708. "$ref": "#/definitions/models.ErmcpModel"
  8709. },
  8710. "ermcp.QryGGCovertCfgRsp": {
  8711. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8712. },
  8713. "ermcp.QryHedgePlanRsp": {
  8714. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8715. },
  8716. "ermcp.QryMGChangeLogRsp": {
  8717. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8718. },
  8719. "ermcp.QryMiddleGoodsDetailRsp": {
  8720. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8721. },
  8722. "ermcp.QryMiddleGoodsRsp": {
  8723. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8724. },
  8725. "ermcp.QryOPLogRsp": {
  8726. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8727. },
  8728. "ermcp.QryReportDaySpotDetailRsp": {
  8729. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8730. },
  8731. "ermcp.QryReportExposureDayRsp": {
  8732. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8733. },
  8734. "ermcp.QryReportFinanceDayRsp": {
  8735. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8736. },
  8737. "ermcp.QryReportFinanceKxRsp": {
  8738. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8739. },
  8740. "ermcp.QryReportFinanceMonRsp": {
  8741. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8742. },
  8743. "ermcp.QryReportSpotDayRsp": {
  8744. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8745. },
  8746. "ermcp.QryReportSpotMonRsp": {
  8747. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8748. },
  8749. "ermcp.QryReportSpotMonthDetailRsp": {
  8750. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8751. },
  8752. "ermcp.QrySpotContractRsp": {
  8753. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8754. },
  8755. "ermcp.QryUserInfoRsp": {
  8756. "$ref": "#/definitions/models.ErmcpUserModel"
  8757. },
  8758. "ermcp.QryWarehouseRsp": {
  8759. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8760. },
  8761. "ermcp.QryWrStandardDetailRsp": {
  8762. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8763. },
  8764. "ermcp.QryWrStandardRsp": {
  8765. "$ref": "#/definitions/models.ErmcpWrstandard"
  8766. },
  8767. "ermcp.QueryAreaStockApplySumRsp": {
  8768. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8769. },
  8770. "ermcp.QueryErmcpTradePositionRsp": {
  8771. "type": "object",
  8772. "properties": {
  8773. "agreeunit": {
  8774. "description": "合约单位",
  8775. "type": "number"
  8776. },
  8777. "buyorsell": {
  8778. "description": "方向 - 0:买 1:卖",
  8779. "type": "integer"
  8780. },
  8781. "curpositionqty": {
  8782. "description": "持仓(总仓数量, 期末头寸)",
  8783. "type": "integer"
  8784. },
  8785. "curtdposition": {
  8786. "description": "今仓数量(期末今日头寸)",
  8787. "type": "integer"
  8788. },
  8789. "curtdpositionenabled": {
  8790. "description": "今仓可用",
  8791. "type": "integer"
  8792. },
  8793. "decimalplace": {
  8794. "description": "报价小数位",
  8795. "type": "integer"
  8796. },
  8797. "enableqty": {
  8798. "description": "可用(总仓可用)",
  8799. "type": "integer"
  8800. },
  8801. "exexchangename": {
  8802. "description": "外部交易所名称",
  8803. "type": "string"
  8804. },
  8805. "goodscode": {
  8806. "description": "商品代码(内部)",
  8807. "type": "string"
  8808. },
  8809. "goodsid": {
  8810. "description": "商品ID(自增ID SEQ_GOODS)",
  8811. "type": "integer"
  8812. },
  8813. "goodsname": {
  8814. "description": "商品名称",
  8815. "type": "string"
  8816. },
  8817. "last": {
  8818. "description": "现价",
  8819. "type": "number"
  8820. },
  8821. "marketid": {
  8822. "description": "所属市场ID",
  8823. "type": "integer"
  8824. },
  8825. "openaverageprice": {
  8826. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8827. "type": "number"
  8828. },
  8829. "opencost": {
  8830. "description": "开仓成本",
  8831. "type": "number"
  8832. },
  8833. "openpl": {
  8834. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8835. "type": "number"
  8836. },
  8837. "outgoodscode": {
  8838. "description": "商品代码(外部)",
  8839. "type": "string"
  8840. },
  8841. "positionaverageprice": {
  8842. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8843. "type": "number"
  8844. },
  8845. "positioncost": {
  8846. "description": "持仓成本",
  8847. "type": "number"
  8848. },
  8849. "positionpl": {
  8850. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8851. "type": "number"
  8852. },
  8853. "positionplrate": {
  8854. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8855. "type": "number"
  8856. },
  8857. "usedmargin": {
  8858. "description": "占用保证金",
  8859. "type": "number"
  8860. }
  8861. }
  8862. },
  8863. "ermcp.RealtimeExposurePositionRsp": {
  8864. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8865. },
  8866. "ermcp.RealtimeExposureRsp": {
  8867. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8868. },
  8869. "erms2.QueryArbitrageStrategyRsp": {
  8870. "type": "object",
  8871. "required": [
  8872. "asapplyid"
  8873. ],
  8874. "properties": {
  8875. "applybasis": {
  8876. "description": "申请基差",
  8877. "type": "number"
  8878. },
  8879. "asapplyid": {
  8880. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8881. "type": "string"
  8882. },
  8883. "asname": {
  8884. "description": "策略名称",
  8885. "type": "string"
  8886. },
  8887. "asno": {
  8888. "description": "策略编号",
  8889. "type": "string"
  8890. },
  8891. "basischangepl": {
  8892. "description": "基差变动损益[结算更新]",
  8893. "type": "number"
  8894. },
  8895. "biztype": {
  8896. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8897. "type": "integer"
  8898. },
  8899. "closetradedate": {
  8900. "description": "完结交易日(yyyyMMdd)",
  8901. "type": "string"
  8902. },
  8903. "curbasis": {
  8904. "description": "当前基差[结算更新]",
  8905. "type": "number"
  8906. },
  8907. "deliverygoodsid": {
  8908. "description": "现货品种ID",
  8909. "type": "integer"
  8910. },
  8911. "futureavgprice": {
  8912. "description": "期货建仓均价",
  8913. "type": "number"
  8914. },
  8915. "futurecloseamount": {
  8916. "description": "期货平仓金额",
  8917. "type": "number"
  8918. },
  8919. "futurecloseqty": {
  8920. "description": "期货平仓数量",
  8921. "type": "number"
  8922. },
  8923. "futureopenamount": {
  8924. "description": "期货开仓金额",
  8925. "type": "number"
  8926. },
  8927. "futureopenqty": {
  8928. "description": "期货开仓数量",
  8929. "type": "number"
  8930. },
  8931. "futurepl": {
  8932. "description": "期货总盈亏[结算更新]",
  8933. "type": "number"
  8934. },
  8935. "futureqty": {
  8936. "description": "期货持仓数量",
  8937. "type": "number"
  8938. },
  8939. "futurequote": {
  8940. "description": "期货额度",
  8941. "type": "number"
  8942. },
  8943. "goodsgroupid": {
  8944. "description": "期货品种ID",
  8945. "type": "integer"
  8946. },
  8947. "marketid": {
  8948. "description": "市场ID",
  8949. "type": "integer"
  8950. },
  8951. "netexposure": {
  8952. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8953. "type": "number"
  8954. },
  8955. "netexposurepl": {
  8956. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8957. "type": "number"
  8958. },
  8959. "netexposurerate": {
  8960. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8961. "type": "number"
  8962. },
  8963. "openbasis": {
  8964. "description": "建仓基差",
  8965. "type": "number"
  8966. },
  8967. "pricedspotqty": {
  8968. "description": "已定价现货数量",
  8969. "type": "number"
  8970. },
  8971. "pricedspotqtynotax": {
  8972. "description": "已定价现货不含税数量",
  8973. "type": "number"
  8974. },
  8975. "remark": {
  8976. "description": "备注",
  8977. "type": "string"
  8978. },
  8979. "spotavgprice": {
  8980. "description": "现货均价",
  8981. "type": "number"
  8982. },
  8983. "spotbuyamount": {
  8984. "description": "现货采购金额",
  8985. "type": "number"
  8986. },
  8987. "spotbuyqty": {
  8988. "description": "现货采购数量",
  8989. "type": "number"
  8990. },
  8991. "spotpl": {
  8992. "description": "现货总盈亏[结算更新]",
  8993. "type": "number"
  8994. },
  8995. "spotquota": {
  8996. "description": "现货额度",
  8997. "type": "number"
  8998. },
  8999. "spotsellamount": {
  9000. "description": "现货销售金额",
  9001. "type": "number"
  9002. },
  9003. "spotsellqty": {
  9004. "description": "现货销售数量",
  9005. "type": "number"
  9006. },
  9007. "spotusedquota": {
  9008. "description": "现货占用资金",
  9009. "type": "number"
  9010. },
  9011. "strategystatus": {
  9012. "description": "策略状态 - 0:未结束 1:已结束",
  9013. "type": "integer"
  9014. },
  9015. "totalpl": {
  9016. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9017. "type": "number"
  9018. },
  9019. "tradedate": {
  9020. "description": "交易日(yyyyMMdd)",
  9021. "type": "string"
  9022. },
  9023. "updatetime": {
  9024. "description": "更新时间",
  9025. "type": "string"
  9026. },
  9027. "usedquota": {
  9028. "description": "已占用资金",
  9029. "type": "number"
  9030. },
  9031. "userid": {
  9032. "description": "所属机构",
  9033. "type": "integer"
  9034. }
  9035. }
  9036. },
  9037. "erms2.QueryInnerTradeDetailRsp": {
  9038. "type": "object",
  9039. "required": [
  9040. "asapplyid",
  9041. "buyorsell",
  9042. "goodscode",
  9043. "goodsgroupid",
  9044. "goodsgroupname",
  9045. "goodsname",
  9046. "tradeid"
  9047. ],
  9048. "properties": {
  9049. "accountid": {
  9050. "description": "账号ID",
  9051. "type": "integer"
  9052. },
  9053. "agreeunit": {
  9054. "description": "合约单位",
  9055. "type": "number"
  9056. },
  9057. "asapplyid": {
  9058. "description": "策略申请ID",
  9059. "type": "integer"
  9060. },
  9061. "asname": {
  9062. "description": "策略名称",
  9063. "type": "string"
  9064. },
  9065. "asno": {
  9066. "description": "策略编号",
  9067. "type": "string"
  9068. },
  9069. "buyorsell": {
  9070. "description": "方向 - 0:买 1:卖",
  9071. "type": "integer"
  9072. },
  9073. "channelbuildtype": {
  9074. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9075. "type": "integer"
  9076. },
  9077. "closetype": {
  9078. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9079. "type": "integer"
  9080. },
  9081. "decimalplace": {
  9082. "description": "报价小数位",
  9083. "type": "integer"
  9084. },
  9085. "detailtype": {
  9086. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9087. "type": "integer"
  9088. },
  9089. "exexchangecode": {
  9090. "description": "外部交易所代码",
  9091. "type": "string"
  9092. },
  9093. "exexchangename": {
  9094. "description": "外部交易所名称",
  9095. "type": "string"
  9096. },
  9097. "goodscode": {
  9098. "description": "商品代码(合约)",
  9099. "type": "string"
  9100. },
  9101. "goodsgroupid": {
  9102. "description": "商品组ID(品种ID)",
  9103. "type": "integer"
  9104. },
  9105. "goodsgroupname": {
  9106. "description": "商品组名称(品种)",
  9107. "type": "string"
  9108. },
  9109. "goodsid": {
  9110. "description": "商品ID",
  9111. "type": "integer"
  9112. },
  9113. "goodsname": {
  9114. "description": "商品名称(合约)",
  9115. "type": "string"
  9116. },
  9117. "goodunit": {
  9118. "description": "报价单位",
  9119. "type": "string"
  9120. },
  9121. "marketid": {
  9122. "description": "市场ID",
  9123. "type": "integer"
  9124. },
  9125. "orderid": {
  9126. "description": "委托单号",
  9127. "type": "string"
  9128. },
  9129. "outgoodscode": {
  9130. "description": "商品代码(外部)",
  9131. "type": "string"
  9132. },
  9133. "relatedouttradeid": {
  9134. "description": "关联外部成交单ID",
  9135. "type": "string"
  9136. },
  9137. "remark": {
  9138. "description": "备注",
  9139. "type": "string"
  9140. },
  9141. "spotcontractid": {
  9142. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9143. "type": "integer"
  9144. },
  9145. "spotcontractno": {
  9146. "description": "现货合同编号",
  9147. "type": "string"
  9148. },
  9149. "tradeid": {
  9150. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9151. "type": "string"
  9152. },
  9153. "tradeprice": {
  9154. "description": "成交价格",
  9155. "type": "number"
  9156. },
  9157. "tradeqty": {
  9158. "description": "成交数量",
  9159. "type": "integer"
  9160. },
  9161. "tradetime": {
  9162. "description": "成交时间",
  9163. "type": "string"
  9164. },
  9165. "updatetime": {
  9166. "description": "更新时间",
  9167. "type": "string"
  9168. }
  9169. }
  9170. },
  9171. "erms2.QuerySpotContractRsp": {
  9172. "type": "object",
  9173. "required": [
  9174. "spotcontractid"
  9175. ],
  9176. "properties": {
  9177. "accountid": {
  9178. "description": "资金账户ID",
  9179. "type": "integer"
  9180. },
  9181. "areauserid": {
  9182. "description": "所属机构",
  9183. "type": "integer"
  9184. },
  9185. "closedate": {
  9186. "description": "终止日期",
  9187. "type": "string"
  9188. },
  9189. "closeremark": {
  9190. "description": "结束备注",
  9191. "type": "string"
  9192. },
  9193. "closetradedate": {
  9194. "description": "完结交易日(yyyyMMdd)",
  9195. "type": "string"
  9196. },
  9197. "closetype": {
  9198. "description": "终止类型 - 1:违约 2:提前终止",
  9199. "type": "integer"
  9200. },
  9201. "contractamount": {
  9202. "description": "合同金额",
  9203. "type": "number"
  9204. },
  9205. "contractattachment": {
  9206. "description": "合同附件",
  9207. "type": "string"
  9208. },
  9209. "contractno": {
  9210. "description": "现货合同编号",
  9211. "type": "string"
  9212. },
  9213. "contractqty": {
  9214. "description": "合同数量(数值) (用于计算)",
  9215. "type": "number"
  9216. },
  9217. "contractqtychar": {
  9218. "description": "合同数量\\已订价数量 (用于显示)",
  9219. "type": "string"
  9220. },
  9221. "contractstatus": {
  9222. "description": "合同状态 - 0:未结束 1:已结束",
  9223. "type": "integer"
  9224. },
  9225. "contracttype": {
  9226. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9227. "type": "integer"
  9228. },
  9229. "customeraccountid": {
  9230. "description": "客户资金账户ID",
  9231. "type": "integer"
  9232. },
  9233. "customeruserid": {
  9234. "description": "客户ID",
  9235. "type": "integer"
  9236. },
  9237. "deliverygoodsdesc": {
  9238. "description": "品种说明",
  9239. "type": "string"
  9240. },
  9241. "deliverygoodsid": {
  9242. "description": "现货品种ID",
  9243. "type": "integer"
  9244. },
  9245. "handlestatus": {
  9246. "description": "处理状态",
  9247. "type": "integer"
  9248. },
  9249. "invoiceatt": {
  9250. "description": "发票附件",
  9251. "type": "string"
  9252. },
  9253. "invoicedatetime": {
  9254. "description": "开收票更新时间",
  9255. "type": "string"
  9256. },
  9257. "invoiceopentime": {
  9258. "description": "开票时间",
  9259. "type": "string"
  9260. },
  9261. "invoiceremark": {
  9262. "description": "发票备注",
  9263. "type": "string"
  9264. },
  9265. "invoicestatus": {
  9266. "description": "开收票状态 - 0:未开票 1:已开票",
  9267. "type": "integer"
  9268. },
  9269. "lastdate": {
  9270. "description": "交货时间",
  9271. "type": "string"
  9272. },
  9273. "marketid": {
  9274. "description": "市场ID",
  9275. "type": "integer"
  9276. },
  9277. "paydatetime": {
  9278. "description": "收付款更新时间",
  9279. "type": "string"
  9280. },
  9281. "payremark": {
  9282. "description": "收付款备注",
  9283. "type": "string"
  9284. },
  9285. "paystatus": {
  9286. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9287. "type": "integer"
  9288. },
  9289. "positionqty": {
  9290. "description": "头寸数量 - 合同数量去小数部分",
  9291. "type": "integer"
  9292. },
  9293. "producttype": {
  9294. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9295. "type": "integer"
  9296. },
  9297. "relatedqty": {
  9298. "description": "已关联数量",
  9299. "type": "number"
  9300. },
  9301. "relatedstatus": {
  9302. "description": "关联完结状态 - 0:未结束 1:已结束",
  9303. "type": "integer"
  9304. },
  9305. "remark": {
  9306. "description": "备注",
  9307. "type": "string"
  9308. },
  9309. "signdate": {
  9310. "description": "签订日期",
  9311. "type": "string"
  9312. },
  9313. "spotcontractid": {
  9314. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9315. "type": "string"
  9316. },
  9317. "spotdatetime": {
  9318. "description": "收发货更新时间",
  9319. "type": "string"
  9320. },
  9321. "spotprice": {
  9322. "description": "价格",
  9323. "type": "number"
  9324. },
  9325. "spotremark": {
  9326. "description": "收发货备注",
  9327. "type": "string"
  9328. },
  9329. "spotstatus": {
  9330. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9331. "type": "integer"
  9332. },
  9333. "tradedate": {
  9334. "description": "交易日(yyyyMMdd)",
  9335. "type": "string"
  9336. },
  9337. "userid": {
  9338. "description": "业务员用户ID",
  9339. "type": "integer"
  9340. },
  9341. "warehouseid": {
  9342. "description": "仓库ID",
  9343. "type": "integer"
  9344. },
  9345. "wrfactortypeid": {
  9346. "description": "仓单要素类型ID",
  9347. "type": "integer"
  9348. },
  9349. "wrstandardid": {
  9350. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9351. "type": "integer"
  9352. }
  9353. }
  9354. },
  9355. "erms3.AddErms2ASApplyReq": {
  9356. "type": "object",
  9357. "required": [
  9358. "asapplyid"
  9359. ],
  9360. "properties": {
  9361. "applybasis": {
  9362. "description": "申请基差",
  9363. "type": "number"
  9364. },
  9365. "applystatus": {
  9366. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9367. "type": "integer"
  9368. },
  9369. "asapplyid": {
  9370. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9371. "type": "integer"
  9372. },
  9373. "asname": {
  9374. "description": "策略名称",
  9375. "type": "string"
  9376. },
  9377. "asno": {
  9378. "description": "策略编号",
  9379. "type": "string"
  9380. },
  9381. "auditid": {
  9382. "description": "审核人",
  9383. "type": "integer"
  9384. },
  9385. "auditremark": {
  9386. "description": "审核备注",
  9387. "type": "string"
  9388. },
  9389. "audittime": {
  9390. "description": "审核时间",
  9391. "type": "string"
  9392. },
  9393. "biztype": {
  9394. "description": "业务类型 - 1:正向套利 2:反向套利",
  9395. "type": "integer"
  9396. },
  9397. "createtime": {
  9398. "description": "创建时间",
  9399. "type": "string"
  9400. },
  9401. "creatorid": {
  9402. "description": "创建人",
  9403. "type": "integer"
  9404. },
  9405. "deliverygoodsid": {
  9406. "description": "现货品种ID",
  9407. "type": "integer"
  9408. },
  9409. "futurequote": {
  9410. "description": "期货额度",
  9411. "type": "number"
  9412. },
  9413. "goodsgroupid": {
  9414. "description": "期货品种ID",
  9415. "type": "integer"
  9416. },
  9417. "marketid": {
  9418. "description": "市场ID",
  9419. "type": "integer"
  9420. },
  9421. "remark": {
  9422. "description": "备注",
  9423. "type": "string"
  9424. },
  9425. "spotquota": {
  9426. "description": "现货额度",
  9427. "type": "number"
  9428. },
  9429. "tradedate": {
  9430. "description": "交易日(yyyyMMdd)",
  9431. "type": "string"
  9432. },
  9433. "userid": {
  9434. "description": "所属机构",
  9435. "type": "integer"
  9436. }
  9437. }
  9438. },
  9439. "erms3.AddErms2SpotTradeApplyReq": {
  9440. "type": "object",
  9441. "required": [
  9442. "spottradeid"
  9443. ],
  9444. "properties": {
  9445. "applyjsondetail": {
  9446. "description": "申请明细(JSON)",
  9447. "type": "string"
  9448. },
  9449. "applystatus": {
  9450. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9451. "type": "integer"
  9452. },
  9453. "areauserid": {
  9454. "description": "所属机构",
  9455. "type": "integer"
  9456. },
  9457. "auditid": {
  9458. "description": "审核人",
  9459. "type": "integer"
  9460. },
  9461. "auditremark": {
  9462. "description": "审核备注",
  9463. "type": "string"
  9464. },
  9465. "audittime": {
  9466. "description": "审核时间",
  9467. "type": "string"
  9468. },
  9469. "createtime": {
  9470. "description": "创建时间",
  9471. "type": "string"
  9472. },
  9473. "creatorid": {
  9474. "description": "创建人",
  9475. "type": "integer"
  9476. },
  9477. "deliverygoodsid": {
  9478. "description": "现货品种ID",
  9479. "type": "integer"
  9480. },
  9481. "futureaccountid": {
  9482. "description": "期货资金账户",
  9483. "type": "integer"
  9484. },
  9485. "goodsgroupid": {
  9486. "description": "期货品种",
  9487. "type": "integer"
  9488. },
  9489. "marketid": {
  9490. "description": "市场ID",
  9491. "type": "integer"
  9492. },
  9493. "remark": {
  9494. "description": "备注",
  9495. "type": "string"
  9496. },
  9497. "spotaccountid": {
  9498. "description": "现货资金账户",
  9499. "type": "integer"
  9500. },
  9501. "spottradeid": {
  9502. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9503. "type": "integer"
  9504. },
  9505. "spottradename": {
  9506. "description": "业务名称",
  9507. "type": "string"
  9508. },
  9509. "spottradeno": {
  9510. "description": "业务编号",
  9511. "type": "string"
  9512. },
  9513. "tradedate": {
  9514. "description": "交易日(yyyyMMdd)",
  9515. "type": "string"
  9516. },
  9517. "wrstandardid": {
  9518. "description": "仓单标准ID",
  9519. "type": "integer"
  9520. }
  9521. }
  9522. },
  9523. "erms3.AddSpotContractApplyReq": {
  9524. "type": "object",
  9525. "required": [
  9526. "accountid",
  9527. "areauserid",
  9528. "contractno",
  9529. "contracttype",
  9530. "customeraccountid",
  9531. "customeruserid",
  9532. "details",
  9533. "orimargin",
  9534. "signdate"
  9535. ],
  9536. "properties": {
  9537. "accountid": {
  9538. "description": "资金账户ID",
  9539. "type": "integer"
  9540. },
  9541. "areauserid": {
  9542. "description": "所属机构",
  9543. "type": "integer"
  9544. },
  9545. "contractattachment": {
  9546. "description": "合同附件",
  9547. "type": "string"
  9548. },
  9549. "contractno": {
  9550. "description": "现货合同编号",
  9551. "type": "string"
  9552. },
  9553. "contracttype": {
  9554. "description": "现货合同类型 - 1:采购 -1:销售",
  9555. "type": "integer"
  9556. },
  9557. "creatorid": {
  9558. "description": "申请人",
  9559. "type": "integer"
  9560. },
  9561. "customeraccountid": {
  9562. "description": "客户资金账户ID",
  9563. "type": "integer"
  9564. },
  9565. "customeruserid": {
  9566. "description": "客户ID",
  9567. "type": "integer"
  9568. },
  9569. "details": {
  9570. "description": "明细",
  9571. "type": "array",
  9572. "items": {
  9573. "$ref": "#/definitions/erms3.SoptContractDetail"
  9574. }
  9575. },
  9576. "orimargin": {
  9577. "description": "初始保证金",
  9578. "type": "number"
  9579. },
  9580. "remark": {
  9581. "description": "备注",
  9582. "type": "string"
  9583. },
  9584. "signdate": {
  9585. "description": "签订日期",
  9586. "type": "string"
  9587. }
  9588. }
  9589. },
  9590. "erms3.AddSpotContractApplyRsp": {
  9591. "type": "object",
  9592. "required": [
  9593. "contractno"
  9594. ],
  9595. "properties": {
  9596. "contractno": {
  9597. "description": "现货合同编号",
  9598. "type": "string"
  9599. },
  9600. "spotcontractid": {
  9601. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9602. "type": "integer"
  9603. }
  9604. }
  9605. },
  9606. "erms3.AddUserInfoApplyReq": {
  9607. "type": "object",
  9608. "required": [
  9609. "userid"
  9610. ],
  9611. "properties": {
  9612. "accountid": {
  9613. "description": "交易系统帐号Id (加密存储)",
  9614. "type": "integer"
  9615. },
  9616. "areacode": {
  9617. "description": "机构代码",
  9618. "type": "string"
  9619. },
  9620. "areaid": {
  9621. "description": "机构Id",
  9622. "type": "integer"
  9623. },
  9624. "attachment1": {
  9625. "description": "附件1",
  9626. "type": "string"
  9627. },
  9628. "attachment2": {
  9629. "description": "附件2",
  9630. "type": "string"
  9631. },
  9632. "attachment3": {
  9633. "description": "附件3",
  9634. "type": "string"
  9635. },
  9636. "attachment4": {
  9637. "description": "附件4",
  9638. "type": "string"
  9639. },
  9640. "attachment5": {
  9641. "description": "附件5",
  9642. "type": "string"
  9643. },
  9644. "auditedby": {
  9645. "description": "审核人",
  9646. "type": "string"
  9647. },
  9648. "auditime": {
  9649. "description": "审核时间",
  9650. "type": "string"
  9651. },
  9652. "bankaccount": {
  9653. "description": "银行帐号 (加密存储)",
  9654. "type": "string"
  9655. },
  9656. "bankaccountname": {
  9657. "description": "收款人名称",
  9658. "type": "string"
  9659. },
  9660. "bankcardbackphotourl": {
  9661. "description": "银行卡背面照地址",
  9662. "type": "string"
  9663. },
  9664. "bankcardfrontphotourl": {
  9665. "description": "银行卡正面照地址",
  9666. "type": "string"
  9667. },
  9668. "bankid": {
  9669. "description": "银行编码",
  9670. "type": "string"
  9671. },
  9672. "bankname": {
  9673. "description": "银行名称",
  9674. "type": "string"
  9675. },
  9676. "bankpictureurl": {
  9677. "description": "银行卡正面地址",
  9678. "type": "string"
  9679. },
  9680. "biznature": {
  9681. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9682. "type": "integer"
  9683. },
  9684. "bizscope": {
  9685. "description": "企业经营范围(企业)",
  9686. "type": "string"
  9687. },
  9688. "biztype": {
  9689. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9690. "type": "integer"
  9691. },
  9692. "brokerid": {
  9693. "description": "经纪人ID(加密存储)",
  9694. "type": "string"
  9695. },
  9696. "cardaddress": {
  9697. "description": "证件地址 (加密存储)",
  9698. "type": "string"
  9699. },
  9700. "cardbackphotourl": {
  9701. "description": "背面证件照地址",
  9702. "type": "string"
  9703. },
  9704. "cardfrontphotourl": {
  9705. "description": "正面证件照地址",
  9706. "type": "string"
  9707. },
  9708. "cardnum": {
  9709. "description": "证件号码 (加密存储)",
  9710. "type": "string"
  9711. },
  9712. "cardtype": {
  9713. "description": "证件类型",
  9714. "type": "integer"
  9715. },
  9716. "cityid": {
  9717. "description": "市",
  9718. "type": "integer"
  9719. },
  9720. "company": {
  9721. "description": "公司(个人)",
  9722. "type": "string"
  9723. },
  9724. "contactcardbackphotourl": {
  9725. "description": "联系人证件背面图片地址",
  9726. "type": "string"
  9727. },
  9728. "contactcardfrontphotourl": {
  9729. "description": "联系人证件正面图片地址",
  9730. "type": "string"
  9731. },
  9732. "contactname": {
  9733. "description": "联系人",
  9734. "type": "string"
  9735. },
  9736. "countryid": {
  9737. "description": "国家",
  9738. "type": "integer"
  9739. },
  9740. "createtime": {
  9741. "description": "开户申请时间",
  9742. "type": "string"
  9743. },
  9744. "cusbankid": {
  9745. "description": "签约类型",
  9746. "type": "string"
  9747. },
  9748. "cusbankname": {
  9749. "description": "签约类型名称",
  9750. "type": "string"
  9751. },
  9752. "customername": {
  9753. "description": "客户名称(企业名称)",
  9754. "type": "string"
  9755. },
  9756. "districtid": {
  9757. "description": "地区",
  9758. "type": "integer"
  9759. },
  9760. "email": {
  9761. "description": "Email地址(加密存储)",
  9762. "type": "string"
  9763. },
  9764. "halfbodyphotourl": {
  9765. "description": "半身照地址",
  9766. "type": "string"
  9767. },
  9768. "headurl": {
  9769. "description": "头像地址",
  9770. "type": "string"
  9771. },
  9772. "ipaddress": {
  9773. "description": "IP地址",
  9774. "type": "string"
  9775. },
  9776. "isvalidate": {
  9777. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9778. "type": "string"
  9779. },
  9780. "legalcardbackphotourl": {
  9781. "description": "法人身份证背面照地址",
  9782. "type": "string"
  9783. },
  9784. "legalcardfrontphotourl": {
  9785. "description": "法人身份证正面照地址",
  9786. "type": "string"
  9787. },
  9788. "legalpersonname": {
  9789. "description": "法人姓名(企业)",
  9790. "type": "string"
  9791. },
  9792. "logincode": {
  9793. "description": "登录帐号 (加密存储)",
  9794. "type": "string"
  9795. },
  9796. "memberareaid": {
  9797. "description": "所属会员ID",
  9798. "type": "integer"
  9799. },
  9800. "mobile2": {
  9801. "description": "手机号码[明文-尚志]",
  9802. "type": "string"
  9803. },
  9804. "mobilephone": {
  9805. "description": "手机号码 (加密存储)",
  9806. "type": "string"
  9807. },
  9808. "modifiedby": {
  9809. "description": "修改人帐号",
  9810. "type": "integer"
  9811. },
  9812. "modifiedtime": {
  9813. "description": "修改时间",
  9814. "type": "string"
  9815. },
  9816. "nickname": {
  9817. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9818. "type": "string"
  9819. },
  9820. "openmode": {
  9821. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9822. "type": "integer"
  9823. },
  9824. "otherurl": {
  9825. "description": "其它图片地址[使用分号分隔]",
  9826. "type": "string"
  9827. },
  9828. "postalcode": {
  9829. "description": "邮政编码",
  9830. "type": "string"
  9831. },
  9832. "provinceid": {
  9833. "description": "省",
  9834. "type": "integer"
  9835. },
  9836. "proxystatementurl": {
  9837. "description": "授权委托书",
  9838. "type": "string"
  9839. },
  9840. "qq": {
  9841. "description": "QQ(加密存储",
  9842. "type": "string"
  9843. },
  9844. "referral": {
  9845. "description": "推荐人编码",
  9846. "type": "string"
  9847. },
  9848. "remark": {
  9849. "description": "备注",
  9850. "type": "string"
  9851. },
  9852. "removebeforestatus": {
  9853. "description": "REMOVEBEFORESTATUS",
  9854. "type": "integer"
  9855. },
  9856. "sex": {
  9857. "description": "性别 - 0:女 1:男",
  9858. "type": "integer"
  9859. },
  9860. "signedstatus": {
  9861. "description": "账户一号签签约状态",
  9862. "type": "integer"
  9863. },
  9864. "signpdfurl": {
  9865. "description": "签约pdf文件",
  9866. "type": "string"
  9867. },
  9868. "subbranch": {
  9869. "description": "开户支行",
  9870. "type": "string"
  9871. },
  9872. "telphone": {
  9873. "description": "联系电话(加密存储)",
  9874. "type": "string"
  9875. },
  9876. "userid": {
  9877. "description": "用户ID(自增ID)",
  9878. "type": "integer"
  9879. },
  9880. "userinfotype": {
  9881. "description": "用户信息类型 - 1:个人 2:企业",
  9882. "type": "integer"
  9883. },
  9884. "username": {
  9885. "description": "用户姓名",
  9886. "type": "string"
  9887. },
  9888. "userstate": {
  9889. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9890. "type": "integer"
  9891. },
  9892. "usertype": {
  9893. "description": "用户类型 - 1:投资者 2:机构",
  9894. "type": "integer"
  9895. },
  9896. "videourl": {
  9897. "description": "视频地址",
  9898. "type": "string"
  9899. },
  9900. "wechat": {
  9901. "description": "微信号 (加密存储)",
  9902. "type": "string"
  9903. }
  9904. }
  9905. },
  9906. "erms3.CustomerInfo": {
  9907. "type": "object",
  9908. "required": [
  9909. "userid"
  9910. ],
  9911. "properties": {
  9912. "accountids": {
  9913. "description": "资金账户ID列表",
  9914. "type": "array",
  9915. "items": {
  9916. "type": "integer"
  9917. }
  9918. },
  9919. "customername": {
  9920. "description": "名称(企业名称)",
  9921. "type": "string"
  9922. },
  9923. "mobile": {
  9924. "description": "手机号码",
  9925. "type": "string"
  9926. },
  9927. "userid": {
  9928. "description": "用户ID",
  9929. "type": "integer"
  9930. }
  9931. }
  9932. },
  9933. "erms3.ModifyUserInfoApplyReq": {
  9934. "type": "object",
  9935. "required": [
  9936. "userid"
  9937. ],
  9938. "properties": {
  9939. "accountid": {
  9940. "description": "交易系统帐号Id (加密存储)",
  9941. "type": "integer"
  9942. },
  9943. "areacode": {
  9944. "description": "机构代码",
  9945. "type": "string"
  9946. },
  9947. "areaid": {
  9948. "description": "机构Id",
  9949. "type": "integer"
  9950. },
  9951. "attachment1": {
  9952. "description": "附件1",
  9953. "type": "string"
  9954. },
  9955. "attachment2": {
  9956. "description": "附件2",
  9957. "type": "string"
  9958. },
  9959. "attachment3": {
  9960. "description": "附件3",
  9961. "type": "string"
  9962. },
  9963. "attachment4": {
  9964. "description": "附件4",
  9965. "type": "string"
  9966. },
  9967. "attachment5": {
  9968. "description": "附件5",
  9969. "type": "string"
  9970. },
  9971. "auditedby": {
  9972. "description": "审核人",
  9973. "type": "string"
  9974. },
  9975. "auditime": {
  9976. "description": "审核时间",
  9977. "type": "string"
  9978. },
  9979. "bankaccount": {
  9980. "description": "银行帐号 (加密存储)",
  9981. "type": "string"
  9982. },
  9983. "bankaccountname": {
  9984. "description": "收款人名称",
  9985. "type": "string"
  9986. },
  9987. "bankcardbackphotourl": {
  9988. "description": "银行卡背面照地址",
  9989. "type": "string"
  9990. },
  9991. "bankcardfrontphotourl": {
  9992. "description": "银行卡正面照地址",
  9993. "type": "string"
  9994. },
  9995. "bankid": {
  9996. "description": "银行编码",
  9997. "type": "string"
  9998. },
  9999. "bankname": {
  10000. "description": "银行名称",
  10001. "type": "string"
  10002. },
  10003. "bankpictureurl": {
  10004. "description": "银行卡正面地址",
  10005. "type": "string"
  10006. },
  10007. "biznature": {
  10008. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10009. "type": "integer"
  10010. },
  10011. "bizscope": {
  10012. "description": "企业经营范围(企业)",
  10013. "type": "string"
  10014. },
  10015. "biztype": {
  10016. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10017. "type": "integer"
  10018. },
  10019. "brokerid": {
  10020. "description": "经纪人ID(加密存储)",
  10021. "type": "string"
  10022. },
  10023. "cardaddress": {
  10024. "description": "证件地址 (加密存储)",
  10025. "type": "string"
  10026. },
  10027. "cardbackphotourl": {
  10028. "description": "背面证件照地址",
  10029. "type": "string"
  10030. },
  10031. "cardfrontphotourl": {
  10032. "description": "正面证件照地址",
  10033. "type": "string"
  10034. },
  10035. "cardnum": {
  10036. "description": "证件号码 (加密存储)",
  10037. "type": "string"
  10038. },
  10039. "cardtype": {
  10040. "description": "证件类型",
  10041. "type": "integer"
  10042. },
  10043. "cityid": {
  10044. "description": "市",
  10045. "type": "integer"
  10046. },
  10047. "company": {
  10048. "description": "公司(个人)",
  10049. "type": "string"
  10050. },
  10051. "contactcardbackphotourl": {
  10052. "description": "联系人证件背面图片地址",
  10053. "type": "string"
  10054. },
  10055. "contactcardfrontphotourl": {
  10056. "description": "联系人证件正面图片地址",
  10057. "type": "string"
  10058. },
  10059. "contactname": {
  10060. "description": "联系人",
  10061. "type": "string"
  10062. },
  10063. "countryid": {
  10064. "description": "国家",
  10065. "type": "integer"
  10066. },
  10067. "createtime": {
  10068. "description": "开户申请时间",
  10069. "type": "string"
  10070. },
  10071. "cusbankid": {
  10072. "description": "签约类型",
  10073. "type": "string"
  10074. },
  10075. "cusbankname": {
  10076. "description": "签约类型名称",
  10077. "type": "string"
  10078. },
  10079. "customername": {
  10080. "description": "客户名称(企业名称)",
  10081. "type": "string"
  10082. },
  10083. "districtid": {
  10084. "description": "地区",
  10085. "type": "integer"
  10086. },
  10087. "email": {
  10088. "description": "Email地址(加密存储)",
  10089. "type": "string"
  10090. },
  10091. "halfbodyphotourl": {
  10092. "description": "半身照地址",
  10093. "type": "string"
  10094. },
  10095. "headurl": {
  10096. "description": "头像地址",
  10097. "type": "string"
  10098. },
  10099. "ipaddress": {
  10100. "description": "IP地址",
  10101. "type": "string"
  10102. },
  10103. "isvalidate": {
  10104. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10105. "type": "string"
  10106. },
  10107. "legalcardbackphotourl": {
  10108. "description": "法人身份证背面照地址",
  10109. "type": "string"
  10110. },
  10111. "legalcardfrontphotourl": {
  10112. "description": "法人身份证正面照地址",
  10113. "type": "string"
  10114. },
  10115. "legalpersonname": {
  10116. "description": "法人姓名(企业)",
  10117. "type": "string"
  10118. },
  10119. "logincode": {
  10120. "description": "登录帐号 (加密存储)",
  10121. "type": "string"
  10122. },
  10123. "memberareaid": {
  10124. "description": "所属会员ID",
  10125. "type": "integer"
  10126. },
  10127. "mobile2": {
  10128. "description": "手机号码[明文-尚志]",
  10129. "type": "string"
  10130. },
  10131. "mobilephone": {
  10132. "description": "手机号码 (加密存储)",
  10133. "type": "string"
  10134. },
  10135. "modifiedby": {
  10136. "description": "修改人帐号",
  10137. "type": "integer"
  10138. },
  10139. "modifiedtime": {
  10140. "description": "修改时间",
  10141. "type": "string"
  10142. },
  10143. "nickname": {
  10144. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10145. "type": "string"
  10146. },
  10147. "openmode": {
  10148. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10149. "type": "integer"
  10150. },
  10151. "otherurl": {
  10152. "description": "其它图片地址[使用分号分隔]",
  10153. "type": "string"
  10154. },
  10155. "postalcode": {
  10156. "description": "邮政编码",
  10157. "type": "string"
  10158. },
  10159. "provinceid": {
  10160. "description": "省",
  10161. "type": "integer"
  10162. },
  10163. "proxystatementurl": {
  10164. "description": "授权委托书",
  10165. "type": "string"
  10166. },
  10167. "qq": {
  10168. "description": "QQ(加密存储",
  10169. "type": "string"
  10170. },
  10171. "referral": {
  10172. "description": "推荐人编码",
  10173. "type": "string"
  10174. },
  10175. "remark": {
  10176. "description": "备注",
  10177. "type": "string"
  10178. },
  10179. "removebeforestatus": {
  10180. "description": "REMOVEBEFORESTATUS",
  10181. "type": "integer"
  10182. },
  10183. "sex": {
  10184. "description": "性别 - 0:女 1:男",
  10185. "type": "integer"
  10186. },
  10187. "signedstatus": {
  10188. "description": "账户一号签签约状态",
  10189. "type": "integer"
  10190. },
  10191. "signpdfurl": {
  10192. "description": "签约pdf文件",
  10193. "type": "string"
  10194. },
  10195. "subbranch": {
  10196. "description": "开户支行",
  10197. "type": "string"
  10198. },
  10199. "telphone": {
  10200. "description": "联系电话(加密存储)",
  10201. "type": "string"
  10202. },
  10203. "userid": {
  10204. "description": "用户ID(自增ID)",
  10205. "type": "integer"
  10206. },
  10207. "userinfotype": {
  10208. "description": "用户信息类型 - 1:个人 2:企业",
  10209. "type": "integer"
  10210. },
  10211. "username": {
  10212. "description": "用户姓名",
  10213. "type": "string"
  10214. },
  10215. "userstate": {
  10216. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10217. "type": "integer"
  10218. },
  10219. "usertype": {
  10220. "description": "用户类型 - 1:投资者 2:机构",
  10221. "type": "integer"
  10222. },
  10223. "videourl": {
  10224. "description": "视频地址",
  10225. "type": "string"
  10226. },
  10227. "wechat": {
  10228. "description": "微信号 (加密存储)",
  10229. "type": "string"
  10230. }
  10231. }
  10232. },
  10233. "erms3.QryAuditContractRsp": {
  10234. "type": "object",
  10235. "required": [
  10236. "matchcustomername",
  10237. "spotcontractid"
  10238. ],
  10239. "properties": {
  10240. "accountid": {
  10241. "description": "交易员ID",
  10242. "type": "string"
  10243. },
  10244. "applystatus": {
  10245. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10246. "type": "integer"
  10247. },
  10248. "curdeliveryqty": {
  10249. "description": "未交收量",
  10250. "type": "integer"
  10251. },
  10252. "customername": {
  10253. "description": "采购方ID",
  10254. "type": "string"
  10255. },
  10256. "deliverygoodsid": {
  10257. "description": "品种ID",
  10258. "type": "string"
  10259. },
  10260. "deliveryqty": {
  10261. "description": "交收量",
  10262. "type": "integer"
  10263. },
  10264. "enumdicname": {
  10265. "description": "单位名称",
  10266. "type": "string"
  10267. },
  10268. "matchaccountid": {
  10269. "description": "业务员ID",
  10270. "type": "string"
  10271. },
  10272. "matchcustomername": {
  10273. "description": "销售方ID",
  10274. "type": "string"
  10275. },
  10276. "pricedqty": {
  10277. "description": "定价量",
  10278. "type": "number"
  10279. },
  10280. "signdate": {
  10281. "description": "签订日期",
  10282. "type": "string"
  10283. },
  10284. "spotcontractid": {
  10285. "description": "合同ID",
  10286. "type": "string"
  10287. },
  10288. "totaldqty": {
  10289. "description": "合同量",
  10290. "type": "number"
  10291. },
  10292. "unpricedqty": {
  10293. "description": "未定价量",
  10294. "type": "number"
  10295. },
  10296. "wrstandardname": {
  10297. "description": "商品名称",
  10298. "type": "string"
  10299. }
  10300. }
  10301. },
  10302. "erms3.QryPendingBizRsp": {
  10303. "$ref": "#/definitions/models.PendingAuditBizModel"
  10304. },
  10305. "erms3.QueryBusinessInfoRsp": {
  10306. "type": "object",
  10307. "properties": {
  10308. "businessid": {
  10309. "description": "业务ID.",
  10310. "type": "integer"
  10311. },
  10312. "buyamount": {
  10313. "description": "采购额.",
  10314. "type": "number"
  10315. },
  10316. "buyqty": {
  10317. "description": "采购量.",
  10318. "type": "string"
  10319. },
  10320. "futurepl": {
  10321. "description": "期货盈亏.",
  10322. "type": "number"
  10323. },
  10324. "futureqty": {
  10325. "description": "期货敞口.",
  10326. "type": "string"
  10327. },
  10328. "goodsid": {
  10329. "description": "商品名称/商品代码.",
  10330. "type": "string"
  10331. },
  10332. "hedgingqty": {
  10333. "description": "套保量.",
  10334. "type": "string"
  10335. },
  10336. "sellamount": {
  10337. "description": "销售额.",
  10338. "type": "number"
  10339. },
  10340. "sellqty": {
  10341. "description": "销售量.",
  10342. "type": "string"
  10343. },
  10344. "spotmarketvalue": {
  10345. "description": "现货市值.",
  10346. "type": "number"
  10347. },
  10348. "spotpl": {
  10349. "description": "浮动权益.",
  10350. "type": "number"
  10351. },
  10352. "spotqty": {
  10353. "description": "现货量.",
  10354. "type": "string"
  10355. },
  10356. "statu": {
  10357. "description": "状态,0-未结束 1-已结束.",
  10358. "type": "integer"
  10359. },
  10360. "totalpl": {
  10361. "description": "总盈亏.",
  10362. "type": "number"
  10363. },
  10364. "totalqty": {
  10365. "description": "总敞口.",
  10366. "type": "string"
  10367. },
  10368. "type": {
  10369. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10370. "type": "integer"
  10371. }
  10372. }
  10373. },
  10374. "erms3.QuerySpotContractAppleFormRsp": {
  10375. "type": "object",
  10376. "properties": {
  10377. "goodses": {
  10378. "description": "合约列表",
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.GoodsIDAndName"
  10382. }
  10383. },
  10384. "oppositeusers": {
  10385. "description": "对方账号列表",
  10386. "type": "array",
  10387. "items": {
  10388. "$ref": "#/definitions/erms3.CustomerInfo"
  10389. }
  10390. },
  10391. "ouruser": {
  10392. "description": "我方账号",
  10393. "type": "object",
  10394. "$ref": "#/definitions/erms3.CustomerInfo"
  10395. },
  10396. "warehouseinfos": {
  10397. "description": "仓库信息列表",
  10398. "type": "array",
  10399. "items": {
  10400. "$ref": "#/definitions/models.Warehouseinfo"
  10401. }
  10402. },
  10403. "wrstandards": {
  10404. "description": "仓单标准列表",
  10405. "type": "array",
  10406. "items": {
  10407. "$ref": "#/definitions/models.WRStandardInfo"
  10408. }
  10409. }
  10410. }
  10411. },
  10412. "erms3.QuerySpotContractInfoRsp": {
  10413. "type": "object",
  10414. "properties": {
  10415. "accountid": {
  10416. "description": "表示交易员ID.",
  10417. "type": "integer"
  10418. },
  10419. "curdeliveryqty": {
  10420. "description": "表示未交收量.",
  10421. "type": "number"
  10422. },
  10423. "customername": {
  10424. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10425. "type": "string"
  10426. },
  10427. "deliverygoodsid": {
  10428. "description": "表示品种ID.",
  10429. "type": "string"
  10430. },
  10431. "deliveryqty": {
  10432. "description": "表示交收量.",
  10433. "type": "number"
  10434. },
  10435. "matchaccountid": {
  10436. "description": "表示业务员ID.",
  10437. "type": "integer"
  10438. },
  10439. "matchcustomername": {
  10440. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10441. "type": "string"
  10442. },
  10443. "priceqty": {
  10444. "description": "表示定价量.",
  10445. "type": "number"
  10446. },
  10447. "relatedbizid": {
  10448. "description": "表示业务ID.",
  10449. "type": "string"
  10450. },
  10451. "signdate": {
  10452. "description": "表示签订日期.",
  10453. "type": "string"
  10454. },
  10455. "spotcontractid": {
  10456. "description": "合同ID",
  10457. "type": "string"
  10458. },
  10459. "status": {
  10460. "description": "表示状态,0-履约中 1-已完成.",
  10461. "type": "integer"
  10462. },
  10463. "totalqty": {
  10464. "description": "表示合同量.",
  10465. "type": "number"
  10466. },
  10467. "unpricedqty": {
  10468. "description": "表示未定价量.",
  10469. "type": "number"
  10470. },
  10471. "wrstandardname": {
  10472. "description": "表示商品ID.",
  10473. "type": "string"
  10474. }
  10475. }
  10476. },
  10477. "erms3.QueryUserInfoAppliesRsp": {
  10478. "type": "object",
  10479. "required": [
  10480. "userid"
  10481. ],
  10482. "properties": {
  10483. "biznature": {
  10484. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10485. "type": "integer"
  10486. },
  10487. "contactname": {
  10488. "description": "联系人",
  10489. "type": "string"
  10490. },
  10491. "createtime": {
  10492. "description": "开户申请时间",
  10493. "type": "string"
  10494. },
  10495. "userid": {
  10496. "description": "用户ID(自增ID)",
  10497. "type": "integer"
  10498. },
  10499. "userinfotype": {
  10500. "description": "用户信息类型 - 1:个人 2:企业",
  10501. "type": "integer"
  10502. },
  10503. "username": {
  10504. "description": "用户姓名",
  10505. "type": "string"
  10506. },
  10507. "userstate": {
  10508. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10509. "type": "integer"
  10510. }
  10511. }
  10512. },
  10513. "erms3.QueryUserInfosRsp": {
  10514. "type": "object",
  10515. "required": [
  10516. "userid"
  10517. ],
  10518. "properties": {
  10519. "biznature": {
  10520. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10521. "type": "integer"
  10522. },
  10523. "contactname": {
  10524. "description": "联系人",
  10525. "type": "string"
  10526. },
  10527. "customername": {
  10528. "description": "客户名称(企业名称)",
  10529. "type": "string"
  10530. },
  10531. "userid": {
  10532. "description": "用户ID",
  10533. "type": "integer"
  10534. },
  10535. "userinfotype": {
  10536. "description": "用户信息类型 - 1:个人 2:企业",
  10537. "type": "integer"
  10538. },
  10539. "userstatus": {
  10540. "description": "用户状态 - 1:正常 2:注销",
  10541. "type": "integer"
  10542. }
  10543. }
  10544. },
  10545. "erms3.SoptContractDetail": {
  10546. "type": "object",
  10547. "required": [
  10548. "deliverygoodsid",
  10549. "producttype",
  10550. "unitname",
  10551. "warehouseid",
  10552. "wrstandardid",
  10553. "wrstandardname"
  10554. ],
  10555. "properties": {
  10556. "deliverygoodsdesc": {
  10557. "description": "现货品种说明",
  10558. "type": "string"
  10559. },
  10560. "deliverygoodsid": {
  10561. "description": "现货品种ID",
  10562. "type": "integer"
  10563. },
  10564. "deliverygoodsname": {
  10565. "description": "现货品种名称",
  10566. "type": "string"
  10567. },
  10568. "pointdesc": {
  10569. "description": "点价描述",
  10570. "type": "string"
  10571. },
  10572. "producttype": {
  10573. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10574. "type": "integer"
  10575. },
  10576. "producttypename": {
  10577. "description": "产品类型名称",
  10578. "type": "string"
  10579. },
  10580. "spotPointOrderVoList": {
  10581. "description": "点价列表",
  10582. "type": "array",
  10583. "items": {
  10584. "$ref": "#/definitions/erms3.SpotPointOrder"
  10585. }
  10586. },
  10587. "spotPriceOrderList": {
  10588. "description": "定价列表",
  10589. "type": "array",
  10590. "items": {
  10591. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10592. }
  10593. },
  10594. "unitname": {
  10595. "description": "单位名称",
  10596. "type": "string"
  10597. },
  10598. "warehouseid": {
  10599. "description": "仓库ID",
  10600. "type": "integer"
  10601. },
  10602. "warehousename": {
  10603. "description": "仓库名称",
  10604. "type": "string"
  10605. },
  10606. "wrstandardid": {
  10607. "description": "交易标的ID",
  10608. "type": "integer"
  10609. },
  10610. "wrstandardname": {
  10611. "description": "交易标的名称",
  10612. "type": "string"
  10613. }
  10614. }
  10615. },
  10616. "erms3.SpotPointOrder": {
  10617. "type": "object",
  10618. "required": [
  10619. "basic",
  10620. "goodsid",
  10621. "qty"
  10622. ],
  10623. "properties": {
  10624. "basic": {
  10625. "description": "基差",
  10626. "type": "number"
  10627. },
  10628. "deliveryenddate": {
  10629. "description": "交收结束日期",
  10630. "type": "string"
  10631. },
  10632. "deliverystartdate": {
  10633. "description": "交收开始日期",
  10634. "type": "string"
  10635. },
  10636. "enddate": {
  10637. "description": "点价结束日期",
  10638. "type": "string"
  10639. },
  10640. "goodsid": {
  10641. "description": "商品ID",
  10642. "type": "integer"
  10643. },
  10644. "goodsname": {
  10645. "description": "商品名称",
  10646. "type": "string"
  10647. },
  10648. "qty": {
  10649. "description": "数量",
  10650. "type": "number"
  10651. },
  10652. "startdate": {
  10653. "description": "点价开始日期",
  10654. "type": "string"
  10655. }
  10656. }
  10657. },
  10658. "erms3.SpotPriceOrder": {
  10659. "type": "object",
  10660. "required": [
  10661. "amount",
  10662. "price",
  10663. "qty"
  10664. ],
  10665. "properties": {
  10666. "amount": {
  10667. "description": "金额",
  10668. "type": "number"
  10669. },
  10670. "deliveryenddate": {
  10671. "description": "交收结束日期",
  10672. "type": "string"
  10673. },
  10674. "deliverystartdate": {
  10675. "description": "交收开始日期",
  10676. "type": "string"
  10677. },
  10678. "price": {
  10679. "description": "价格",
  10680. "type": "number"
  10681. },
  10682. "qty": {
  10683. "description": "数量",
  10684. "type": "number"
  10685. }
  10686. }
  10687. },
  10688. "hsby.GetHsbyMyCountRsp": {
  10689. "type": "object",
  10690. "properties": {
  10691. "myCouponCount": {
  10692. "description": "我的优惠卷数量",
  10693. "type": "integer"
  10694. },
  10695. "myOrderDetailListingCount": {
  10696. "description": "我的订单求购中数量",
  10697. "type": "integer"
  10698. },
  10699. "myOrderDetailPreCount": {
  10700. "description": "我的订单抢购中数量",
  10701. "type": "integer"
  10702. },
  10703. "myPackageUnReceiveCount": {
  10704. "description": "我的包裹待收货数量",
  10705. "type": "integer"
  10706. },
  10707. "myPackageUnSendCount": {
  10708. "description": "我的包裹待发货数量",
  10709. "type": "integer"
  10710. },
  10711. "myPayOrderCount": {
  10712. "description": "我的订单待付款数量",
  10713. "type": "integer"
  10714. }
  10715. }
  10716. },
  10717. "hsby.QueryProvincesAndCitiesRsp": {
  10718. "type": "object",
  10719. "properties": {
  10720. "cities": {
  10721. "description": "市",
  10722. "type": "array",
  10723. "items": {
  10724. "$ref": "#/definitions/models.Division"
  10725. }
  10726. },
  10727. "province": {
  10728. "description": "省",
  10729. "type": "object",
  10730. "$ref": "#/definitions/models.Division"
  10731. }
  10732. }
  10733. },
  10734. "models.AreaSpotModel": {
  10735. "type": "object",
  10736. "properties": {
  10737. "areauserid": {
  10738. "description": "所属机构",
  10739. "type": "integer"
  10740. },
  10741. "decreaseqty": {
  10742. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10743. "type": "number"
  10744. },
  10745. "increaseqty": {
  10746. "description": "增加数量=销售计划数量+采购已定价数量",
  10747. "type": "number"
  10748. },
  10749. "oritoalspotqty": {
  10750. "description": "昨日数量",
  10751. "type": "number"
  10752. },
  10753. "totalspotqty": {
  10754. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10755. "type": "number"
  10756. },
  10757. "updatetime": {
  10758. "description": "更新时间",
  10759. "type": "string"
  10760. },
  10761. "wrstandardcode": {
  10762. "description": "现货品种代码",
  10763. "type": "string"
  10764. },
  10765. "wrstandardid": {
  10766. "description": "现货商品ID",
  10767. "type": "integer"
  10768. },
  10769. "wrstandardname": {
  10770. "description": "现货品种",
  10771. "type": "string"
  10772. }
  10773. }
  10774. },
  10775. "models.Clientfixedadconfig": {
  10776. "type": "object",
  10777. "required": [
  10778. "adsort",
  10779. "adtype"
  10780. ],
  10781. "properties": {
  10782. "adsort": {
  10783. "description": "排序",
  10784. "type": "integer"
  10785. },
  10786. "adtype": {
  10787. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10788. "type": "integer"
  10789. },
  10790. "areauserid": {
  10791. "description": "所属机构ID",
  10792. "type": "integer"
  10793. },
  10794. "createdate": {
  10795. "description": "创建时间",
  10796. "type": "string"
  10797. },
  10798. "creatorid": {
  10799. "description": "创建人",
  10800. "type": "integer"
  10801. },
  10802. "imagepath": {
  10803. "description": "图片",
  10804. "type": "string"
  10805. },
  10806. "isshow": {
  10807. "description": "是否展示 - 0:不展示 1:展示",
  10808. "type": "integer"
  10809. },
  10810. "modifierid": {
  10811. "description": "操作人",
  10812. "type": "integer"
  10813. },
  10814. "recsize": {
  10815. "description": "推荐尺寸",
  10816. "type": "string"
  10817. },
  10818. "title": {
  10819. "description": "标题",
  10820. "type": "string"
  10821. },
  10822. "updatedate": {
  10823. "description": "更新时间",
  10824. "type": "string"
  10825. },
  10826. "urlcontent": {
  10827. "description": "链接(地址或商品ID)",
  10828. "type": "string"
  10829. },
  10830. "urltype": {
  10831. "description": "链接类型 - 1:直接地址 2:商品ID",
  10832. "type": "integer"
  10833. }
  10834. }
  10835. },
  10836. "models.Division": {
  10837. "type": "object",
  10838. "required": [
  10839. "autoid",
  10840. "divisioncode"
  10841. ],
  10842. "properties": {
  10843. "autoid": {
  10844. "description": "自增ID",
  10845. "type": "integer"
  10846. },
  10847. "divisioncode": {
  10848. "description": "行政代码",
  10849. "type": "string"
  10850. },
  10851. "divisionlevel": {
  10852. "description": "行政级别",
  10853. "type": "string"
  10854. },
  10855. "divisionname": {
  10856. "description": "行政名称",
  10857. "type": "string"
  10858. },
  10859. "modifierid": {
  10860. "description": "修改人",
  10861. "type": "integer"
  10862. },
  10863. "modifytime": {
  10864. "description": "修改时间",
  10865. "type": "string"
  10866. },
  10867. "parentcode": {
  10868. "description": "上级行政代码",
  10869. "type": "string"
  10870. },
  10871. "pathname": {
  10872. "description": "路径名称",
  10873. "type": "string"
  10874. },
  10875. "postcode": {
  10876. "description": "邮政编码",
  10877. "type": "string"
  10878. },
  10879. "separablename": {
  10880. "description": "可拆分的全称",
  10881. "type": "string"
  10882. },
  10883. "shortcode": {
  10884. "description": "地区简码",
  10885. "type": "string"
  10886. }
  10887. }
  10888. },
  10889. "models.Enumdicitem": {
  10890. "type": "object",
  10891. "required": [
  10892. "autoid",
  10893. "enumdiccode",
  10894. "enumdicid",
  10895. "enumitemname"
  10896. ],
  10897. "properties": {
  10898. "autoid": {
  10899. "description": "自增ID",
  10900. "type": "integer"
  10901. },
  10902. "bankmappedvalue": {
  10903. "description": "银行服务对应值",
  10904. "type": "string"
  10905. },
  10906. "enumdiccode": {
  10907. "description": "所属枚举代码",
  10908. "type": "string"
  10909. },
  10910. "enumdicid": {
  10911. "description": "所属枚举ID",
  10912. "type": "integer"
  10913. },
  10914. "enumdicname": {
  10915. "description": "枚举项名称",
  10916. "type": "string"
  10917. },
  10918. "enumitemname": {
  10919. "description": "枚举项值",
  10920. "type": "integer"
  10921. },
  10922. "enumitemstatus": {
  10923. "description": "枚举项状态 - 1.启用 2.不启用",
  10924. "type": "integer"
  10925. },
  10926. "enumitemvalue": {
  10927. "description": "通用值 - [币种通用简写]",
  10928. "type": "string"
  10929. },
  10930. "param1": {
  10931. "description": "参数1[币种:币种小数位]",
  10932. "type": "string"
  10933. },
  10934. "param2": {
  10935. "description": "参数1[币种:币种显示单位]",
  10936. "type": "string"
  10937. },
  10938. "remark": {
  10939. "description": "备注",
  10940. "type": "string"
  10941. }
  10942. }
  10943. },
  10944. "models.ErmcpAreaSpotDetailModel": {
  10945. "type": "object",
  10946. "properties": {
  10947. "contracttype": {
  10948. "description": "合同类型 1-采购 -1-销售",
  10949. "type": "integer"
  10950. },
  10951. "createtime": {
  10952. "description": "创建时间",
  10953. "type": "string"
  10954. },
  10955. "enumdicname": {
  10956. "description": "现货商品单位名称",
  10957. "type": "string"
  10958. },
  10959. "logtype": {
  10960. "description": "记录类型 1-套保 2-现货合同",
  10961. "type": "integer"
  10962. },
  10963. "qty": {
  10964. "description": "数量",
  10965. "type": "number"
  10966. },
  10967. "recordname": {
  10968. "description": "类型名称",
  10969. "type": "string"
  10970. },
  10971. "relatedid": {
  10972. "description": "套保计划ID/现货合同ID",
  10973. "type": "string"
  10974. },
  10975. "relatedno": {
  10976. "description": "编号",
  10977. "type": "string"
  10978. },
  10979. "strtime": {
  10980. "description": "时间",
  10981. "type": "string"
  10982. },
  10983. "wrstandardcode": {
  10984. "description": "现货商品代码",
  10985. "type": "string"
  10986. },
  10987. "wrstandardname": {
  10988. "description": "现货商品名称",
  10989. "type": "string"
  10990. }
  10991. }
  10992. },
  10993. "models.ErmcpAreaStock": {
  10994. "type": "object",
  10995. "properties": {
  10996. "brandname": {
  10997. "description": "品牌名称",
  10998. "type": "string"
  10999. },
  11000. "curstock": {
  11001. "description": "期末库存量(今日量)",
  11002. "type": "number"
  11003. },
  11004. "deliverygoodsid": {
  11005. "description": "现货品种ID",
  11006. "type": "integer"
  11007. },
  11008. "enumdicname": {
  11009. "description": "单位名称",
  11010. "type": "string"
  11011. },
  11012. "modelname": {
  11013. "description": "型号名称",
  11014. "type": "string"
  11015. },
  11016. "oristock": {
  11017. "description": "期初库存量(昨日量)",
  11018. "type": "number"
  11019. },
  11020. "spotgoodsbrandid": {
  11021. "description": "现货品牌ID",
  11022. "type": "integer"
  11023. },
  11024. "spotgoodsmodelid": {
  11025. "description": "现货型号ID",
  11026. "type": "integer"
  11027. },
  11028. "todaybuyinqty": {
  11029. "description": "今日采购入库量",
  11030. "type": "number"
  11031. },
  11032. "todayproduceinqty": {
  11033. "description": "今日生产入库量",
  11034. "type": "number"
  11035. },
  11036. "todayproduceoutqty": {
  11037. "description": "今日生产出库量",
  11038. "type": "number"
  11039. },
  11040. "todayselloutqty": {
  11041. "description": "今日销售出库量",
  11042. "type": "number"
  11043. },
  11044. "unitid": {
  11045. "description": "单位id",
  11046. "type": "integer"
  11047. },
  11048. "updatetime": {
  11049. "description": "更新时间",
  11050. "type": "string"
  11051. },
  11052. "userid": {
  11053. "description": "机构ID",
  11054. "type": "integer"
  11055. },
  11056. "username": {
  11057. "description": "机构名称",
  11058. "type": "string"
  11059. },
  11060. "warehousecode": {
  11061. "description": "仓库代码",
  11062. "type": "string"
  11063. },
  11064. "warehouseinfoid": {
  11065. "description": "仓库ID",
  11066. "type": "string"
  11067. },
  11068. "warehousename": {
  11069. "description": "仓库名称",
  11070. "type": "string"
  11071. },
  11072. "warehousetype": {
  11073. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11074. "type": "integer"
  11075. },
  11076. "wrstandardcode": {
  11077. "description": "现货商品代码",
  11078. "type": "string"
  11079. },
  11080. "wrstandardid": {
  11081. "description": "现货商品ID",
  11082. "type": "string"
  11083. },
  11084. "wrstandardname": {
  11085. "description": "现货商品名称",
  11086. "type": "string"
  11087. }
  11088. }
  11089. },
  11090. "models.ErmcpAreaStockApply": {
  11091. "type": "object",
  11092. "properties": {
  11093. "applyid": {
  11094. "description": "申请人",
  11095. "type": "integer"
  11096. },
  11097. "applyname": {
  11098. "description": "申请人名称",
  11099. "type": "string"
  11100. },
  11101. "applyremark": {
  11102. "description": "申请备注",
  11103. "type": "string"
  11104. },
  11105. "applysrc": {
  11106. "description": "申请来源 - 1:管理端 2:终端",
  11107. "type": "integer"
  11108. },
  11109. "applystatus": {
  11110. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11111. "type": "integer"
  11112. },
  11113. "applytime": {
  11114. "description": "申请时间",
  11115. "type": "string"
  11116. },
  11117. "auditid": {
  11118. "description": "审核人",
  11119. "type": "integer"
  11120. },
  11121. "auditname": {
  11122. "description": "审核人名称",
  11123. "type": "string"
  11124. },
  11125. "auditremark": {
  11126. "description": "审核备注",
  11127. "type": "string"
  11128. },
  11129. "auditsrc": {
  11130. "description": "审核来源 - 1:管理端 2:终端",
  11131. "type": "integer"
  11132. },
  11133. "audittime": {
  11134. "description": "审核时间",
  11135. "type": "string"
  11136. },
  11137. "audittradedate": {
  11138. "description": "审核交易日(yyyyMMdd)",
  11139. "type": "string"
  11140. },
  11141. "brandname": {
  11142. "description": "品牌名称",
  11143. "type": "string"
  11144. },
  11145. "buyuserid": {
  11146. "description": "采购方userid",
  11147. "type": "integer"
  11148. },
  11149. "buyusername": {
  11150. "description": "采购方名称",
  11151. "type": "string"
  11152. },
  11153. "contractno": {
  11154. "description": "合同编号",
  11155. "type": "string"
  11156. },
  11157. "contractqty": {
  11158. "description": "合同量",
  11159. "type": "number"
  11160. },
  11161. "contracttype": {
  11162. "description": "现货合同类型 - 1:采购 -1:销售",
  11163. "type": "integer"
  11164. },
  11165. "deliverygoodsid": {
  11166. "description": "现货品种ID",
  11167. "type": "integer"
  11168. },
  11169. "enumdicname": {
  11170. "description": "现货商品单位名称",
  11171. "type": "string"
  11172. },
  11173. "inoutapplyid": {
  11174. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11175. "type": "string"
  11176. },
  11177. "inouttype": {
  11178. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11179. "type": "integer"
  11180. },
  11181. "modelname": {
  11182. "description": "型号名称",
  11183. "type": "string"
  11184. },
  11185. "pricetype": {
  11186. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11187. "type": "integer"
  11188. },
  11189. "qty": {
  11190. "description": "数量",
  11191. "type": "number"
  11192. },
  11193. "selluserid": {
  11194. "description": "销售方userid",
  11195. "type": "integer"
  11196. },
  11197. "sellusername": {
  11198. "description": "销售方名称",
  11199. "type": "string"
  11200. },
  11201. "spotcontractid": {
  11202. "description": "关联现货合同ID",
  11203. "type": "string"
  11204. },
  11205. "spotgoodsbrandid": {
  11206. "description": "现货品牌ID",
  11207. "type": "integer"
  11208. },
  11209. "spotgoodsmodelid": {
  11210. "description": "现货型号ID",
  11211. "type": "integer"
  11212. },
  11213. "unitid": {
  11214. "description": "单位id",
  11215. "type": "integer"
  11216. },
  11217. "userid": {
  11218. "description": "机构ID",
  11219. "type": "integer"
  11220. },
  11221. "warehousecode": {
  11222. "description": "仓库代码",
  11223. "type": "string"
  11224. },
  11225. "warehouseinfoid": {
  11226. "description": "现货仓库ID",
  11227. "type": "string"
  11228. },
  11229. "warehousename": {
  11230. "description": "仓库名称",
  11231. "type": "string"
  11232. },
  11233. "warehousetype": {
  11234. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11235. "type": "integer"
  11236. },
  11237. "wrstandardcode": {
  11238. "description": "现货商品代码",
  11239. "type": "string"
  11240. },
  11241. "wrstandardid": {
  11242. "description": "现货商品ID",
  11243. "type": "string"
  11244. },
  11245. "wrstandardname": {
  11246. "description": "现货商品名称",
  11247. "type": "string"
  11248. }
  11249. }
  11250. },
  11251. "models.ErmcpAreaStockApplySum": {
  11252. "type": "object",
  11253. "properties": {
  11254. "brandname": {
  11255. "description": "品牌名称",
  11256. "type": "string"
  11257. },
  11258. "inouttype": {
  11259. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11260. "type": "integer"
  11261. },
  11262. "modelname": {
  11263. "description": "型号名称",
  11264. "type": "string"
  11265. },
  11266. "spotcontractid": {
  11267. "description": "关联现货合同ID",
  11268. "type": "string"
  11269. },
  11270. "spotgoodsbrandid": {
  11271. "description": "品牌id",
  11272. "type": "integer"
  11273. },
  11274. "spotgoodsmodelid": {
  11275. "description": "型号id",
  11276. "type": "integer"
  11277. },
  11278. "totalqty": {
  11279. "description": "总数量",
  11280. "type": "number"
  11281. }
  11282. }
  11283. },
  11284. "models.ErmcpAreaStockReport": {
  11285. "type": "object",
  11286. "properties": {
  11287. "brandname": {
  11288. "description": "品牌名称",
  11289. "type": "string"
  11290. },
  11291. "curstock": {
  11292. "description": "期末库存量",
  11293. "type": "number"
  11294. },
  11295. "deliverygoodsid": {
  11296. "description": "现货品种ID",
  11297. "type": "integer"
  11298. },
  11299. "enumdicname": {
  11300. "description": "单位名称",
  11301. "type": "string"
  11302. },
  11303. "modelname": {
  11304. "description": "型号名称",
  11305. "type": "string"
  11306. },
  11307. "oristock": {
  11308. "description": "期初库存量",
  11309. "type": "number"
  11310. },
  11311. "spotgoodsbrandid": {
  11312. "description": "现货品牌ID",
  11313. "type": "integer"
  11314. },
  11315. "spotgoodsmodelid": {
  11316. "description": "现货型号ID",
  11317. "type": "integer"
  11318. },
  11319. "todaybuyinqty": {
  11320. "description": "今日采购入库量",
  11321. "type": "number"
  11322. },
  11323. "todayproduceinqty": {
  11324. "description": "今日生产入库量",
  11325. "type": "number"
  11326. },
  11327. "todayproduceoutqty": {
  11328. "description": "今日生产出库量",
  11329. "type": "number"
  11330. },
  11331. "todayselloutqty": {
  11332. "description": "今日销售出库量",
  11333. "type": "number"
  11334. },
  11335. "unitid": {
  11336. "description": "单位id",
  11337. "type": "integer"
  11338. },
  11339. "updatetime": {
  11340. "description": "更新时间",
  11341. "type": "string"
  11342. },
  11343. "userid": {
  11344. "description": "机构ID",
  11345. "type": "integer"
  11346. },
  11347. "username": {
  11348. "description": "机构名称",
  11349. "type": "string"
  11350. },
  11351. "warehousecode": {
  11352. "description": "仓库代码",
  11353. "type": "string"
  11354. },
  11355. "warehouseinfoid": {
  11356. "description": "仓库ID",
  11357. "type": "string"
  11358. },
  11359. "warehousename": {
  11360. "description": "仓库名称",
  11361. "type": "string"
  11362. },
  11363. "warehousetype": {
  11364. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11365. "type": "integer"
  11366. },
  11367. "wrstandardcode": {
  11368. "description": "现货商品代码",
  11369. "type": "string"
  11370. },
  11371. "wrstandardid": {
  11372. "description": "现货商品ID",
  11373. "type": "string"
  11374. },
  11375. "wrstandardname": {
  11376. "description": "现货商品名称",
  11377. "type": "string"
  11378. }
  11379. }
  11380. },
  11381. "models.ErmcpAvalidGoodsGroupModel": {
  11382. "type": "object",
  11383. "properties": {
  11384. "goodsgroupid": {
  11385. "description": "期货品种id",
  11386. "type": "integer"
  11387. },
  11388. "goodsgroupname": {
  11389. "description": "期货品种名称",
  11390. "type": "string"
  11391. },
  11392. "goodunitid": {
  11393. "description": "品种单位id",
  11394. "type": "integer"
  11395. },
  11396. "goodunitname": {
  11397. "description": "品种单位名称",
  11398. "type": "string"
  11399. },
  11400. "outergroupcode": {
  11401. "description": "期货品种代码",
  11402. "type": "string"
  11403. }
  11404. }
  11405. },
  11406. "models.ErmcpExposureDetailModel": {
  11407. "type": "object",
  11408. "properties": {
  11409. "areauserid": {
  11410. "description": "机构ID",
  11411. "type": "integer"
  11412. },
  11413. "changeQty": {
  11414. "description": "套保变动量",
  11415. "type": "number"
  11416. },
  11417. "contracttype": {
  11418. "description": "现货合同类型 - 1:采购 -1:销售",
  11419. "type": "integer"
  11420. },
  11421. "convertfactor": {
  11422. "description": "标仓系数",
  11423. "type": "number"
  11424. },
  11425. "convertratio": {
  11426. "description": "套保系数",
  11427. "type": "number"
  11428. },
  11429. "createtime": {
  11430. "description": "时间",
  11431. "type": "string"
  11432. },
  11433. "enumdicname": {
  11434. "description": "现货商品单位名称",
  11435. "type": "string"
  11436. },
  11437. "logtype": {
  11438. "description": "类型 - 1:套保计划 2:现货合同",
  11439. "type": "integer"
  11440. },
  11441. "middlegoodsId": {
  11442. "description": "套保商品id",
  11443. "type": "integer"
  11444. },
  11445. "middlegoodscode": {
  11446. "description": "套保商品代码",
  11447. "type": "string"
  11448. },
  11449. "middlegoodsname": {
  11450. "description": "套保商品名称",
  11451. "type": "string"
  11452. },
  11453. "qty": {
  11454. "description": "数量",
  11455. "type": "number"
  11456. },
  11457. "relateNo": {
  11458. "description": "现货合同/套保计划编号",
  11459. "type": "string"
  11460. },
  11461. "wrstandardcode": {
  11462. "description": "现货商品代码",
  11463. "type": "string"
  11464. },
  11465. "wrstandardid": {
  11466. "description": "现货商品ID",
  11467. "type": "integer"
  11468. },
  11469. "wrstandardname": {
  11470. "description": "现货商品名称",
  11471. "type": "string"
  11472. }
  11473. }
  11474. },
  11475. "models.ErmcpExposurePostion": {
  11476. "type": "object",
  11477. "properties": {
  11478. "agreeunit": {
  11479. "description": "合约单位",
  11480. "type": "string"
  11481. },
  11482. "areauserid": {
  11483. "description": "所属机构id",
  11484. "type": "integer"
  11485. },
  11486. "convertratio": {
  11487. "description": "期货品种系数(折算系数)",
  11488. "type": "number"
  11489. },
  11490. "curqty": {
  11491. "description": "当前持仓",
  11492. "type": "integer"
  11493. },
  11494. "diffhedgeqty": {
  11495. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11496. "type": "number"
  11497. },
  11498. "diffqty": {
  11499. "description": "持仓变动量=当前持仓-昨日持仓",
  11500. "type": "integer"
  11501. },
  11502. "goodscode": {
  11503. "description": "商品代码",
  11504. "type": "string"
  11505. },
  11506. "goodsid": {
  11507. "description": "商品id",
  11508. "type": "integer"
  11509. },
  11510. "goodsname": {
  11511. "description": "商品名称",
  11512. "type": "string"
  11513. },
  11514. "middlegoodsid": {
  11515. "description": "套保商品id",
  11516. "type": "integer"
  11517. },
  11518. "ydqty": {
  11519. "description": "昨日持仓",
  11520. "type": "integer"
  11521. }
  11522. }
  11523. },
  11524. "models.ErmcpGGConvertCfg": {
  11525. "type": "object",
  11526. "properties": {
  11527. "convertratio": {
  11528. "description": "折算系数",
  11529. "type": "number"
  11530. },
  11531. "destgoodsgroupid": {
  11532. "description": "目标品种ID",
  11533. "type": "integer"
  11534. },
  11535. "dstcode": {
  11536. "description": "目录品种代码",
  11537. "type": "string"
  11538. },
  11539. "dstexchangecode": {
  11540. "description": "目标期货交易所",
  11541. "type": "string"
  11542. },
  11543. "dstname": {
  11544. "description": "目标品种名称",
  11545. "type": "string"
  11546. },
  11547. "dstunitid": {
  11548. "description": "目标品种单位ID",
  11549. "type": "integer"
  11550. },
  11551. "dstunitidname": {
  11552. "description": "目标品种单位名称",
  11553. "type": "string"
  11554. },
  11555. "modifytime": {
  11556. "description": "修改时间",
  11557. "type": "string"
  11558. },
  11559. "srccode": {
  11560. "description": "源品种代码",
  11561. "type": "string"
  11562. },
  11563. "srcexchangecode": {
  11564. "description": "源期货交易所",
  11565. "type": "string"
  11566. },
  11567. "srcgoodsgroupid": {
  11568. "description": "源品种ID",
  11569. "type": "integer"
  11570. },
  11571. "srcname": {
  11572. "description": "源品种名称",
  11573. "type": "string"
  11574. },
  11575. "srcunitid": {
  11576. "description": "源品种单位ID",
  11577. "type": "integer"
  11578. },
  11579. "srcunitidname": {
  11580. "description": "源品种单位名称",
  11581. "type": "string"
  11582. }
  11583. }
  11584. },
  11585. "models.ErmcpGoodsBrand": {
  11586. "type": "object",
  11587. "properties": {
  11588. "areauserid": {
  11589. "description": "所属机构",
  11590. "type": "integer"
  11591. },
  11592. "brandid": {
  11593. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  11594. "type": "integer"
  11595. },
  11596. "brandname": {
  11597. "description": "品牌名称",
  11598. "type": "string"
  11599. },
  11600. "createtime": {
  11601. "description": "创建时间",
  11602. "type": "string"
  11603. },
  11604. "creatorid": {
  11605. "description": "创建人",
  11606. "type": "integer"
  11607. },
  11608. "creatorsrc": {
  11609. "description": "创建人来源 - 1:管理端 2:终端",
  11610. "type": "integer"
  11611. },
  11612. "deliverygoodsid": {
  11613. "description": "现货品种ID",
  11614. "type": "integer"
  11615. },
  11616. "isvalid": {
  11617. "description": "是否有效 - 0:无效 1:有效",
  11618. "type": "integer"
  11619. },
  11620. "updatetime": {
  11621. "description": "更新时间",
  11622. "type": "string"
  11623. },
  11624. "updatorid": {
  11625. "description": "更新人",
  11626. "type": "integer"
  11627. },
  11628. "updatorsrc": {
  11629. "description": "更新人来源 - 1:管理端 2:终端",
  11630. "type": "integer"
  11631. },
  11632. "wrstandardid": {
  11633. "description": "现货商品ID",
  11634. "type": "integer"
  11635. }
  11636. }
  11637. },
  11638. "models.ErmcpGoodsModel": {
  11639. "type": "object",
  11640. "properties": {
  11641. "areauserid": {
  11642. "description": "所属机构",
  11643. "type": "integer"
  11644. },
  11645. "createtime": {
  11646. "description": "创建时间",
  11647. "type": "string"
  11648. },
  11649. "creatorid": {
  11650. "description": "创建人",
  11651. "type": "integer"
  11652. },
  11653. "creatorsrc": {
  11654. "description": "创建人来源 - 1:管理端 2:终端",
  11655. "type": "integer"
  11656. },
  11657. "deliverygoodsid": {
  11658. "description": "现货品种ID",
  11659. "type": "integer"
  11660. },
  11661. "isvalid": {
  11662. "description": "是否有效 - 0:无效 1:有效",
  11663. "type": "integer"
  11664. },
  11665. "modelid": {
  11666. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  11667. "type": "integer"
  11668. },
  11669. "modelname": {
  11670. "description": "型号名称",
  11671. "type": "string"
  11672. },
  11673. "updatetime": {
  11674. "description": "更新时间",
  11675. "type": "string"
  11676. },
  11677. "updatorid": {
  11678. "description": "更新人",
  11679. "type": "integer"
  11680. },
  11681. "updatorsrc": {
  11682. "description": "更新人来源 - 1:管理端 2:终端",
  11683. "type": "integer"
  11684. },
  11685. "wrstandardid": {
  11686. "description": "现货商品ID",
  11687. "type": "integer"
  11688. }
  11689. }
  11690. },
  11691. "models.ErmcpHedgePlan": {
  11692. "type": "object",
  11693. "properties": {
  11694. "areauserid": {
  11695. "description": "用户ID",
  11696. "type": "integer"
  11697. },
  11698. "audittime": {
  11699. "description": "审核时间",
  11700. "type": "string"
  11701. },
  11702. "contracttype": {
  11703. "description": "计划类型 - 1:采购 -1:销售",
  11704. "type": "integer"
  11705. },
  11706. "convertfactor": {
  11707. "description": "标仓系数",
  11708. "type": "number"
  11709. },
  11710. "createtime": {
  11711. "description": "创建时间",
  11712. "type": "string"
  11713. },
  11714. "deliverygoodsid": {
  11715. "description": "现货品种ID",
  11716. "type": "integer"
  11717. },
  11718. "deliverygoodsname": {
  11719. "description": "现货品种名称",
  11720. "type": "string"
  11721. },
  11722. "enumdicname": {
  11723. "description": "单位名称",
  11724. "type": "string"
  11725. },
  11726. "hedgeplanid": {
  11727. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11728. "type": "string"
  11729. },
  11730. "hedgeplanno": {
  11731. "description": "套保计划编号(名称)",
  11732. "type": "string"
  11733. },
  11734. "hedgeplanstatus": {
  11735. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11736. "type": "integer"
  11737. },
  11738. "planqty": {
  11739. "description": "计划数量",
  11740. "type": "number"
  11741. },
  11742. "plantime": {
  11743. "description": "计划时间",
  11744. "type": "string"
  11745. },
  11746. "producttype": {
  11747. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11748. "type": "integer"
  11749. },
  11750. "remark": {
  11751. "description": "备注",
  11752. "type": "string"
  11753. },
  11754. "spotgoodsdesc": {
  11755. "description": "商品型号",
  11756. "type": "string"
  11757. },
  11758. "unitid": {
  11759. "description": "单位id",
  11760. "type": "integer"
  11761. },
  11762. "updatetime": {
  11763. "description": "更新时间",
  11764. "type": "string"
  11765. },
  11766. "wrstandardid": {
  11767. "description": "现货商品ID",
  11768. "type": "integer"
  11769. },
  11770. "wrstandardname": {
  11771. "description": "现货商品名称",
  11772. "type": "string"
  11773. }
  11774. }
  11775. },
  11776. "models.ErmcpHedgePosition": {
  11777. "type": "object",
  11778. "properties": {
  11779. "accountid": {
  11780. "description": "资金账号[外部母账户]",
  11781. "type": "integer"
  11782. },
  11783. "curbuyposition": {
  11784. "description": "期末买头寸",
  11785. "type": "integer"
  11786. },
  11787. "cursellposition": {
  11788. "description": "期末卖头寸",
  11789. "type": "integer"
  11790. },
  11791. "curtdbuyposition": {
  11792. "description": "期末今日买头寸",
  11793. "type": "integer"
  11794. },
  11795. "curtdsellposition": {
  11796. "description": "期末今日卖头寸",
  11797. "type": "integer"
  11798. },
  11799. "curydbuyposition": {
  11800. "description": "期末上日买头寸",
  11801. "type": "integer"
  11802. },
  11803. "curydsellposition": {
  11804. "description": "期末上日卖头寸",
  11805. "type": "integer"
  11806. },
  11807. "decreaseqty": {
  11808. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11809. "type": "integer"
  11810. },
  11811. "fretdbuyposition": {
  11812. "description": "冻结今日买头寸",
  11813. "type": "integer"
  11814. },
  11815. "fretdsellposition": {
  11816. "description": "冻结今日卖头寸",
  11817. "type": "integer"
  11818. },
  11819. "freydbuyposition": {
  11820. "description": "冻结上日买头寸",
  11821. "type": "integer"
  11822. },
  11823. "freydsellposition": {
  11824. "description": "冻结上日卖头寸",
  11825. "type": "integer"
  11826. },
  11827. "goodscode": {
  11828. "description": "商品代码",
  11829. "type": "string"
  11830. },
  11831. "goodsid": {
  11832. "description": "商品id",
  11833. "type": "integer"
  11834. },
  11835. "goodsname": {
  11836. "description": "商品名称",
  11837. "type": "string"
  11838. },
  11839. "hedgeaccountcode": {
  11840. "description": "对冲账号",
  11841. "type": "string"
  11842. },
  11843. "hedgegoodsid": {
  11844. "description": "对冲合约ID",
  11845. "type": "integer"
  11846. },
  11847. "increaseqty": {
  11848. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11849. "type": "integer"
  11850. },
  11851. "marketid": {
  11852. "description": "市场ID",
  11853. "type": "integer"
  11854. },
  11855. "relateduserid": {
  11856. "description": "关联用户id",
  11857. "type": "integer"
  11858. },
  11859. "totalcurqty": {
  11860. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11861. "type": "integer"
  11862. },
  11863. "totalydqty": {
  11864. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11865. "type": "integer"
  11866. },
  11867. "tradedate": {
  11868. "description": "交易日(yyyyMMdd)",
  11869. "type": "string"
  11870. },
  11871. "ydbuyposition": {
  11872. "description": "期初买头寸",
  11873. "type": "integer"
  11874. },
  11875. "ydsellposition": {
  11876. "description": "期初卖头寸",
  11877. "type": "integer"
  11878. }
  11879. }
  11880. },
  11881. "models.ErmcpHedgePositionDetail": {
  11882. "type": "object",
  11883. "properties": {
  11884. "buyorsell": {
  11885. "description": "买卖方向 0-买 1-卖",
  11886. "type": "integer"
  11887. },
  11888. "channelbuildtype": {
  11889. "description": "开平方向 1-建仓 2-平仓",
  11890. "type": "integer"
  11891. },
  11892. "goodscode": {
  11893. "description": "商品代码",
  11894. "type": "string"
  11895. },
  11896. "goodsname": {
  11897. "description": "商品名称",
  11898. "type": "string"
  11899. },
  11900. "hedgegoodsid": {
  11901. "description": "商品id",
  11902. "type": "integer"
  11903. },
  11904. "tradeqty": {
  11905. "description": "数量(成交数量)",
  11906. "type": "integer"
  11907. },
  11908. "tradetime": {
  11909. "description": "时间(成交时间)",
  11910. "type": "string"
  11911. }
  11912. }
  11913. },
  11914. "models.ErmcpHisExposure": {
  11915. "type": "object",
  11916. "properties": {
  11917. "needhedgeexposoure": {
  11918. "description": "应套保敞口",
  11919. "type": "number"
  11920. },
  11921. "reckondate": {
  11922. "description": "日照时期(yyyyMMdd)",
  11923. "type": "string"
  11924. },
  11925. "totalexposure": {
  11926. "description": "总敞口",
  11927. "type": "number"
  11928. }
  11929. }
  11930. },
  11931. "models.ErmcpHisExposureS": {
  11932. "type": "object",
  11933. "properties": {
  11934. "data": {
  11935. "description": "历史敞口",
  11936. "type": "array",
  11937. "items": {
  11938. "$ref": "#/definitions/models.ErmcpHisExposure"
  11939. }
  11940. },
  11941. "enumdicname": {
  11942. "description": "单位名称",
  11943. "type": "string"
  11944. },
  11945. "middlegoodscode": {
  11946. "description": "套保品种代码",
  11947. "type": "string"
  11948. },
  11949. "middlegoodsid": {
  11950. "description": "套保品种ID",
  11951. "type": "integer"
  11952. },
  11953. "middlegoodsname": {
  11954. "description": "套保品种名称",
  11955. "type": "string"
  11956. }
  11957. }
  11958. },
  11959. "models.ErmcpMiddleGoodsChangeLog": {
  11960. "type": "object",
  11961. "properties": {
  11962. "aftervalue": {
  11963. "description": "变更后",
  11964. "type": "number"
  11965. },
  11966. "applyid": {
  11967. "description": "操作人",
  11968. "type": "integer"
  11969. },
  11970. "applyname": {
  11971. "description": "操作人名称",
  11972. "type": "string"
  11973. },
  11974. "applysrc": {
  11975. "description": "操作来源 - 1:管理端 2:终端",
  11976. "type": "integer"
  11977. },
  11978. "beforevalue": {
  11979. "description": "变更前",
  11980. "type": "number"
  11981. },
  11982. "changelogtype": {
  11983. "description": "变更流水类型 - 1:套保比率变更",
  11984. "type": "integer"
  11985. },
  11986. "handlestatus": {
  11987. "description": "处理状态",
  11988. "type": "integer"
  11989. },
  11990. "logdatetime": {
  11991. "description": "流水日期",
  11992. "type": "string"
  11993. },
  11994. "logid": {
  11995. "description": "流水ID",
  11996. "type": "integer"
  11997. },
  11998. "logremark": {
  11999. "description": "流水备注",
  12000. "type": "string"
  12001. },
  12002. "middlegoodsid": {
  12003. "description": "套保品种ID",
  12004. "type": "integer"
  12005. },
  12006. "tradedate": {
  12007. "description": "交易日(yyyyMMdd)",
  12008. "type": "string"
  12009. },
  12010. "updatetime": {
  12011. "description": "更新时间",
  12012. "type": "string"
  12013. }
  12014. }
  12015. },
  12016. "models.ErmcpMiddleGoodsDetail": {
  12017. "type": "object",
  12018. "properties": {
  12019. "cvList": {
  12020. "description": "期货品种折算列表",
  12021. "type": "array",
  12022. "items": {
  12023. "$ref": "#/definitions/models.GoodsGroupConvert"
  12024. }
  12025. },
  12026. "mg": {
  12027. "description": "套保品种基本信息",
  12028. "type": "object",
  12029. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12030. }
  12031. }
  12032. },
  12033. "models.ErmcpMiddleGoodsModel": {
  12034. "type": "object",
  12035. "properties": {
  12036. "areauserid": {
  12037. "description": "机构用户ID",
  12038. "type": "integer"
  12039. },
  12040. "createtime": {
  12041. "description": "修改时间",
  12042. "type": "string"
  12043. },
  12044. "enumdicname": {
  12045. "description": "单位名称",
  12046. "type": "string"
  12047. },
  12048. "evaluateratio": {
  12049. "description": "估价系数",
  12050. "type": "number"
  12051. },
  12052. "goodsgroupid": {
  12053. "description": "关联期货品种ID",
  12054. "type": "integer"
  12055. },
  12056. "isvalid": {
  12057. "description": "状态 0-无效(停用) 1-有效(正常)",
  12058. "type": "integer"
  12059. },
  12060. "middlegoodscode": {
  12061. "description": "套保品种代码",
  12062. "type": "string"
  12063. },
  12064. "middlegoodsid": {
  12065. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12066. "type": "integer"
  12067. },
  12068. "middlegoodsname": {
  12069. "description": "套保品种名称",
  12070. "type": "string"
  12071. },
  12072. "modifytime": {
  12073. "description": "修改时间",
  12074. "type": "string"
  12075. },
  12076. "needhedgeratio": {
  12077. "description": "套保比率",
  12078. "type": "number"
  12079. },
  12080. "qtydecimalplace": {
  12081. "description": "数量小数位",
  12082. "type": "integer"
  12083. },
  12084. "relatedgoodsid": {
  12085. "description": "关联交易商品ID",
  12086. "type": "integer"
  12087. },
  12088. "relatedgoodstype": {
  12089. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12090. "type": "integer"
  12091. }
  12092. }
  12093. },
  12094. "models.ErmcpModel": {
  12095. "type": "object",
  12096. "properties": {
  12097. "accountname": {
  12098. "description": "账户名称",
  12099. "type": "string"
  12100. },
  12101. "attachment": {
  12102. "description": "附件",
  12103. "type": "string"
  12104. },
  12105. "audittime": {
  12106. "description": "审核时间",
  12107. "type": "string"
  12108. },
  12109. "brandname": {
  12110. "description": "品牌名称",
  12111. "type": "string"
  12112. },
  12113. "contracctstatus": {
  12114. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12115. "type": "integer"
  12116. },
  12117. "contractmargin": {
  12118. "description": "合同保证金",
  12119. "type": "number"
  12120. },
  12121. "contractno": {
  12122. "description": "合同编号",
  12123. "type": "string"
  12124. },
  12125. "contracttype": {
  12126. "description": "合同类型 1-采购, -1-销售",
  12127. "type": "integer"
  12128. },
  12129. "convertfactor": {
  12130. "description": "标仓系数",
  12131. "type": "number"
  12132. },
  12133. "createtime": {
  12134. "description": "创建时间",
  12135. "type": "string"
  12136. },
  12137. "daikaiamount": {
  12138. "description": "待开票额",
  12139. "type": "number"
  12140. },
  12141. "deliveryenddate": {
  12142. "description": "交割结束日",
  12143. "type": "string"
  12144. },
  12145. "deliverygoodscode": {
  12146. "description": "现货品种代码",
  12147. "type": "string"
  12148. },
  12149. "deliverygoodsid": {
  12150. "description": "现货商品ID",
  12151. "type": "integer"
  12152. },
  12153. "deliverygoodsname": {
  12154. "description": "现货品种名称",
  12155. "type": "string"
  12156. },
  12157. "deliverystartdate": {
  12158. "description": "交割开始日",
  12159. "type": "string"
  12160. },
  12161. "enddate": {
  12162. "description": "点价结束日",
  12163. "type": "string"
  12164. },
  12165. "enumdicname": {
  12166. "description": "单位名称",
  12167. "type": "string"
  12168. },
  12169. "goodscode": {
  12170. "description": "点价商品代码",
  12171. "type": "string"
  12172. },
  12173. "goodsid": {
  12174. "description": "点价商品ID",
  12175. "type": "integer"
  12176. },
  12177. "goodsname": {
  12178. "description": "点价商品名称",
  12179. "type": "string"
  12180. },
  12181. "invoiceamount": {
  12182. "description": "已开票额",
  12183. "type": "number"
  12184. },
  12185. "loanamount": {
  12186. "description": "贷款总额=已定价额+调整金额",
  12187. "type": "number"
  12188. },
  12189. "margin": {
  12190. "description": "保证金",
  12191. "type": "number"
  12192. },
  12193. "modelname": {
  12194. "description": "型号名称",
  12195. "type": "string"
  12196. },
  12197. "payamount": {
  12198. "description": "已收付额(收款或付款)",
  12199. "type": "number"
  12200. },
  12201. "price": {
  12202. "description": "价格",
  12203. "type": "number"
  12204. },
  12205. "pricedamount": {
  12206. "description": "已定价额",
  12207. "type": "number"
  12208. },
  12209. "pricedavg": {
  12210. "description": "已点均价",
  12211. "type": "number"
  12212. },
  12213. "pricedqty": {
  12214. "description": "已定价量",
  12215. "type": "number"
  12216. },
  12217. "pricemove": {
  12218. "description": "升贴水",
  12219. "type": "number"
  12220. },
  12221. "pricetype": {
  12222. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12223. "type": "integer"
  12224. },
  12225. "producttype": {
  12226. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12227. "type": "integer"
  12228. },
  12229. "qty": {
  12230. "description": "合同量",
  12231. "type": "number"
  12232. },
  12233. "reckonadjustamount": {
  12234. "description": "调整金额",
  12235. "type": "number"
  12236. },
  12237. "reckonedamount": {
  12238. "description": "已收付额(已确定额)",
  12239. "type": "number"
  12240. },
  12241. "reckonotheramount": {
  12242. "description": "其它费用",
  12243. "type": "number"
  12244. },
  12245. "reckonrealqty": {
  12246. "description": "已确定量",
  12247. "type": "number"
  12248. },
  12249. "remark": {
  12250. "description": "备注",
  12251. "type": "string"
  12252. },
  12253. "spotcontractid": {
  12254. "description": "合同ID",
  12255. "type": "string"
  12256. },
  12257. "spotgoodsbrandid": {
  12258. "description": "现货品牌ID",
  12259. "type": "integer"
  12260. },
  12261. "spotgoodsdesc": {
  12262. "description": "商品型号(商品规格)",
  12263. "type": "string"
  12264. },
  12265. "spotgoodsmodelid": {
  12266. "description": "现货型号ID",
  12267. "type": "integer"
  12268. },
  12269. "startdate": {
  12270. "description": "点价开始日",
  12271. "type": "string"
  12272. },
  12273. "totalamount": {
  12274. "description": "合计总额",
  12275. "type": "number"
  12276. },
  12277. "unpayamount": {
  12278. "description": "待支收额(支付或收款)",
  12279. "type": "number"
  12280. },
  12281. "unpricedqty": {
  12282. "description": "未定价量",
  12283. "type": "number"
  12284. },
  12285. "unsureqty": {
  12286. "description": "未确定量",
  12287. "type": "number"
  12288. },
  12289. "userid": {
  12290. "description": "用户ID",
  12291. "type": "integer"
  12292. },
  12293. "wrstandardcode": {
  12294. "description": "现货商品代码",
  12295. "type": "string"
  12296. },
  12297. "wrstandardid": {
  12298. "description": "现货商品ID",
  12299. "type": "integer"
  12300. },
  12301. "wrstandardname": {
  12302. "description": "现货商品名称",
  12303. "type": "string"
  12304. }
  12305. }
  12306. },
  12307. "models.ErmcpOPLogModel": {
  12308. "type": "object",
  12309. "properties": {
  12310. "aftervalue": {
  12311. "description": "变更后",
  12312. "type": "number"
  12313. },
  12314. "applyid": {
  12315. "description": "操作人ID",
  12316. "type": "string"
  12317. },
  12318. "applyname": {
  12319. "description": "操作人名称",
  12320. "type": "string"
  12321. },
  12322. "beforevalue": {
  12323. "description": "变更前",
  12324. "type": "number"
  12325. },
  12326. "biztype": {
  12327. "description": "业务类型 - 1:套保计划 2:现货合同",
  12328. "type": "integer"
  12329. },
  12330. "contracttype": {
  12331. "description": "现货合同类型 - 1:采购 -1:销售",
  12332. "type": "integer"
  12333. },
  12334. "logvalue": {
  12335. "description": "数值",
  12336. "type": "number"
  12337. },
  12338. "operatelogtype": {
  12339. "description": "操作流水类型",
  12340. "type": "integer"
  12341. },
  12342. "operatelogtypedesc": {
  12343. "description": "操作流水类型名称",
  12344. "type": "string"
  12345. },
  12346. "relatedid": {
  12347. "description": "现货合同ID\\套保计划",
  12348. "type": "string"
  12349. },
  12350. "updatetime": {
  12351. "description": "更新时间",
  12352. "type": "string"
  12353. }
  12354. }
  12355. },
  12356. "models.ErmcpPendingAudit": {
  12357. "type": "object",
  12358. "properties": {
  12359. "areastockqty": {
  12360. "description": "待审核数量: 库存申请",
  12361. "type": "integer"
  12362. },
  12363. "businessdjqty": {
  12364. "description": "待审核数量: 点价",
  12365. "type": "integer"
  12366. },
  12367. "businessfpqty": {
  12368. "description": "待审核数量: 发票",
  12369. "type": "integer"
  12370. },
  12371. "businessjsqty": {
  12372. "description": "待审核数量: 结算",
  12373. "type": "integer"
  12374. },
  12375. "businesskxqty": {
  12376. "description": "待审核数量: 款项",
  12377. "type": "integer"
  12378. },
  12379. "hedgeplanqty": {
  12380. "description": "待审核数量: 套保计划",
  12381. "type": "integer"
  12382. },
  12383. "spotcontractqty": {
  12384. "description": "待审核数量: 现货合同",
  12385. "type": "integer"
  12386. },
  12387. "userqty": {
  12388. "description": "待审核数量: 用户",
  12389. "type": "integer"
  12390. }
  12391. }
  12392. },
  12393. "models.ErmcpRealExposureModel": {
  12394. "type": "object",
  12395. "properties": {
  12396. "areaUserID": {
  12397. "description": "所属机构",
  12398. "type": "integer"
  12399. },
  12400. "buyFutureQty": {
  12401. "description": "买入期货数量",
  12402. "type": "number"
  12403. },
  12404. "buyPlanQty": {
  12405. "description": "采购计划数量",
  12406. "type": "number"
  12407. },
  12408. "buyPricedQty": {
  12409. "description": "采购合同已定价数量",
  12410. "type": "number"
  12411. },
  12412. "diffFutuQty": {
  12413. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12414. "type": "number"
  12415. },
  12416. "diffSpotQty": {
  12417. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12418. "type": "number"
  12419. },
  12420. "enumdicname": {
  12421. "description": "单位名称",
  12422. "type": "string"
  12423. },
  12424. "middleGoodsCode": {
  12425. "description": "套保品种代码",
  12426. "type": "string"
  12427. },
  12428. "middleGoodsHedgeRatio": {
  12429. "description": "应套保比例",
  12430. "type": "number"
  12431. },
  12432. "middleGoodsID": {
  12433. "description": "套保品种",
  12434. "type": "integer"
  12435. },
  12436. "middleGoodsName": {
  12437. "description": "套保品种名称",
  12438. "type": "string"
  12439. },
  12440. "needHedgeExposoure": {
  12441. "description": "应套保敞口",
  12442. "type": "number"
  12443. },
  12444. "needHedgeRatio": {
  12445. "description": "应套保敞口比例",
  12446. "type": "number"
  12447. },
  12448. "oriBuyFutureQty": {
  12449. "description": "期初买入期货数量",
  12450. "type": "number"
  12451. },
  12452. "oriBuyPlanQty": {
  12453. "description": "期初采购计划数量",
  12454. "type": "number"
  12455. },
  12456. "oriBuyPricedQty": {
  12457. "description": "期初采购合同已定价数量",
  12458. "type": "number"
  12459. },
  12460. "oriSellFutureQty": {
  12461. "description": "期初卖出期货数量",
  12462. "type": "number"
  12463. },
  12464. "oriSellPlanQty": {
  12465. "description": "期初销售计划数量",
  12466. "type": "number"
  12467. },
  12468. "oriSellPricedQty": {
  12469. "description": "期初销售合同已定价数量",
  12470. "type": "number"
  12471. },
  12472. "oriTotalFutuQty": {
  12473. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12474. "type": "number"
  12475. },
  12476. "oriTotalSpotQty": {
  12477. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12478. "type": "number"
  12479. },
  12480. "sellFutureQty": {
  12481. "description": "卖出期货数量",
  12482. "type": "number"
  12483. },
  12484. "sellPlanQty": {
  12485. "description": "销售计划数量",
  12486. "type": "number"
  12487. },
  12488. "sellPricedQty": {
  12489. "description": "销售合同已定价数量",
  12490. "type": "number"
  12491. },
  12492. "totalExposure": {
  12493. "description": "总敞口",
  12494. "type": "number"
  12495. },
  12496. "totalFutureQty": {
  12497. "description": "期货数量",
  12498. "type": "number"
  12499. },
  12500. "totalHedgeRatio": {
  12501. "description": "敞口比例",
  12502. "type": "number"
  12503. },
  12504. "totalNeedHedgeQty": {
  12505. "description": "期货应套保量",
  12506. "type": "number"
  12507. },
  12508. "totalSpotQty": {
  12509. "description": "现货数量",
  12510. "type": "number"
  12511. }
  12512. }
  12513. },
  12514. "models.ErmcpReportDayExposure": {
  12515. "type": "object",
  12516. "properties": {
  12517. "areauserid": {
  12518. "description": "所属机构",
  12519. "type": "integer"
  12520. },
  12521. "buyfutureqty": {
  12522. "description": "买入期货数量",
  12523. "type": "number"
  12524. },
  12525. "buyplanqty": {
  12526. "description": "采购计划数量",
  12527. "type": "number"
  12528. },
  12529. "buypricedqty": {
  12530. "description": "采购合同已定价数量",
  12531. "type": "number"
  12532. },
  12533. "diffFutuQty": {
  12534. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12535. "type": "number"
  12536. },
  12537. "diffSpotQty": {
  12538. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12539. "type": "number"
  12540. },
  12541. "enumdicname": {
  12542. "description": "单位名称",
  12543. "type": "string"
  12544. },
  12545. "middlegoodscode": {
  12546. "description": "套保品种代码",
  12547. "type": "string"
  12548. },
  12549. "middlegoodshedgeratio": {
  12550. "description": "应套保比例",
  12551. "type": "number"
  12552. },
  12553. "middlegoodsid": {
  12554. "description": "套保品种ID",
  12555. "type": "integer"
  12556. },
  12557. "middlegoodsname": {
  12558. "description": "套保品种名称",
  12559. "type": "string"
  12560. },
  12561. "needhedgeexposoure": {
  12562. "description": "应套保敞口",
  12563. "type": "number"
  12564. },
  12565. "needhedgeratio": {
  12566. "description": "应套保敞口比例",
  12567. "type": "number"
  12568. },
  12569. "oriTotalFutuQty": {
  12570. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12571. "type": "number"
  12572. },
  12573. "oriTotalSpotQty": {
  12574. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12575. "type": "number"
  12576. },
  12577. "oribuyfutureqty": {
  12578. "description": "期初买入期货数量",
  12579. "type": "number"
  12580. },
  12581. "oribuyplanqty": {
  12582. "description": "期初采购计划数量",
  12583. "type": "number"
  12584. },
  12585. "oribuypricedqty": {
  12586. "description": "期初采购合同已定价数量",
  12587. "type": "number"
  12588. },
  12589. "orisellfutureqty": {
  12590. "description": "期初卖出期货数量",
  12591. "type": "number"
  12592. },
  12593. "orisellplanqty": {
  12594. "description": "期初销售计划数量",
  12595. "type": "number"
  12596. },
  12597. "orisellpricedqty": {
  12598. "description": "期初销售合同已定价数量",
  12599. "type": "number"
  12600. },
  12601. "reckondate": {
  12602. "description": "日照时期(yyyyMMdd)",
  12603. "type": "string"
  12604. },
  12605. "sellfutureqty": {
  12606. "description": "卖出期货数量",
  12607. "type": "number"
  12608. },
  12609. "sellplanqty": {
  12610. "description": "销售计划数量",
  12611. "type": "number"
  12612. },
  12613. "sellpricedqty": {
  12614. "description": "销售合同已定价数量",
  12615. "type": "number"
  12616. },
  12617. "totalexposure": {
  12618. "description": "总敞口",
  12619. "type": "number"
  12620. },
  12621. "totalfutureqty": {
  12622. "description": "期货数量",
  12623. "type": "number"
  12624. },
  12625. "totalhedgeratio": {
  12626. "description": "敞口比例",
  12627. "type": "number"
  12628. },
  12629. "totalneedhedgeqty": {
  12630. "description": "期货应套保量",
  12631. "type": "number"
  12632. },
  12633. "totalspotqty": {
  12634. "description": "现货数量",
  12635. "type": "number"
  12636. }
  12637. }
  12638. },
  12639. "models.ErmcpReportDayFR": {
  12640. "type": "object",
  12641. "properties": {
  12642. "areauserid": {
  12643. "description": "所属机构",
  12644. "type": "integer"
  12645. },
  12646. "collectinvoiceamount": {
  12647. "description": "今日开票金额",
  12648. "type": "number"
  12649. },
  12650. "collectinvoicecount": {
  12651. "description": "今日开票笔数",
  12652. "type": "integer"
  12653. },
  12654. "collectmoneyamount": {
  12655. "description": "今日收款金额",
  12656. "type": "number"
  12657. },
  12658. "collectmoneycount": {
  12659. "description": "今日收款笔数",
  12660. "type": "integer"
  12661. },
  12662. "payinvoiceamount": {
  12663. "description": "今日收票金额",
  12664. "type": "number"
  12665. },
  12666. "payinvoicecount": {
  12667. "description": "今日收票笔数",
  12668. "type": "integer"
  12669. },
  12670. "paymoneyamount": {
  12671. "description": "今日付款金额",
  12672. "type": "number"
  12673. },
  12674. "paymoneycount": {
  12675. "description": "今日付款笔数",
  12676. "type": "integer"
  12677. },
  12678. "reckondate": {
  12679. "description": "日照时期(yyyyMMdd)",
  12680. "type": "string"
  12681. },
  12682. "updatetime": {
  12683. "description": "更新时间",
  12684. "type": "string"
  12685. }
  12686. }
  12687. },
  12688. "models.ErmcpReportDaySpot": {
  12689. "type": "object",
  12690. "properties": {
  12691. "areauserid": {
  12692. "description": "所属机构T",
  12693. "type": "integer"
  12694. },
  12695. "enumdicname": {
  12696. "description": "现货商品单位名称",
  12697. "type": "string"
  12698. },
  12699. "reckondate": {
  12700. "description": "日照时期(yyyyMMdd)",
  12701. "type": "string"
  12702. },
  12703. "todaybuyreckonqty": {
  12704. "description": "采购确定量",
  12705. "type": "number"
  12706. },
  12707. "todaysellreckonqty": {
  12708. "description": "销售确定量",
  12709. "type": "number"
  12710. },
  12711. "totalbuypricedqty": {
  12712. "description": "采购定价量 = 期末 - 期初",
  12713. "type": "number"
  12714. },
  12715. "totalsellpricedqty": {
  12716. "description": "销售定价量 = 期末 - 期初",
  12717. "type": "number"
  12718. },
  12719. "wrstandardcode": {
  12720. "description": "现货商品代码",
  12721. "type": "string"
  12722. },
  12723. "wrstandardid": {
  12724. "description": "现货商品ID",
  12725. "type": "integer"
  12726. },
  12727. "wrstandardname": {
  12728. "description": "现货商品名称",
  12729. "type": "string"
  12730. }
  12731. }
  12732. },
  12733. "models.ErmcpReportMonSpot": {
  12734. "type": "object",
  12735. "properties": {
  12736. "areauserid": {
  12737. "description": "所属机构T",
  12738. "type": "integer"
  12739. },
  12740. "cycletime": {
  12741. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12742. "type": "string"
  12743. },
  12744. "cycletype": {
  12745. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12746. "type": "integer"
  12747. },
  12748. "enumdicname": {
  12749. "description": "现货商品单位名称",
  12750. "type": "string"
  12751. },
  12752. "todaybuyreckonqty": {
  12753. "description": "采购确定量",
  12754. "type": "number"
  12755. },
  12756. "todaysellreckonqty": {
  12757. "description": "销售确定量",
  12758. "type": "number"
  12759. },
  12760. "totalbuypricedqty": {
  12761. "description": "采购定价量 = 期末 - 期初",
  12762. "type": "number"
  12763. },
  12764. "totalsellpricedqty": {
  12765. "description": "销售定价量 = 期末 - 期初",
  12766. "type": "number"
  12767. },
  12768. "wrstandardcode": {
  12769. "description": "现货商品代码",
  12770. "type": "string"
  12771. },
  12772. "wrstandardid": {
  12773. "description": "现货商品ID",
  12774. "type": "integer"
  12775. },
  12776. "wrstandardname": {
  12777. "description": "现货商品名称",
  12778. "type": "string"
  12779. }
  12780. }
  12781. },
  12782. "models.ErmcpReportMonthFR": {
  12783. "type": "object",
  12784. "properties": {
  12785. "areauserid": {
  12786. "description": "所属机构【原值】",
  12787. "type": "integer"
  12788. },
  12789. "collectinvoiceamount": {
  12790. "description": "今日开票金额【汇总】",
  12791. "type": "number"
  12792. },
  12793. "collectinvoicecount": {
  12794. "description": "今日开票笔数【汇总】",
  12795. "type": "integer"
  12796. },
  12797. "collectmoneyamount": {
  12798. "description": "今日收款金额【汇总】",
  12799. "type": "number"
  12800. },
  12801. "collectmoneycount": {
  12802. "description": "今日收款笔数 【汇总】",
  12803. "type": "integer"
  12804. },
  12805. "cycletime": {
  12806. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12807. "type": "string"
  12808. },
  12809. "cycletype": {
  12810. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12811. "type": "integer"
  12812. },
  12813. "dayFr": {
  12814. "description": "日报表明细",
  12815. "type": "array",
  12816. "items": {
  12817. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12818. }
  12819. },
  12820. "payinvoiceamount": {
  12821. "description": "今日收票金额【汇总】",
  12822. "type": "number"
  12823. },
  12824. "payinvoicecount": {
  12825. "description": "今日收票笔数【汇总】",
  12826. "type": "integer"
  12827. },
  12828. "paymoneyamount": {
  12829. "description": "今日付款金额【汇总】",
  12830. "type": "number"
  12831. },
  12832. "paymoneycount": {
  12833. "description": "今日付款笔数【汇总】",
  12834. "type": "integer"
  12835. },
  12836. "updatetime": {
  12837. "description": "更新时间",
  12838. "type": "string"
  12839. }
  12840. }
  12841. },
  12842. "models.ErmcpReportOPLog": {
  12843. "type": "object",
  12844. "properties": {
  12845. "applyid": {
  12846. "description": "操作人",
  12847. "type": "integer"
  12848. },
  12849. "applyname": {
  12850. "description": "操作人名称",
  12851. "type": "string"
  12852. },
  12853. "biztype": {
  12854. "description": "业务类型 - 1:套保计划 2:现货合同",
  12855. "type": "integer"
  12856. },
  12857. "contracttype": {
  12858. "description": "现货合同类型 - 1:采购 -1:销售",
  12859. "type": "integer"
  12860. },
  12861. "enumdicName": {
  12862. "description": "单位名称",
  12863. "type": "string"
  12864. },
  12865. "logdatetime": {
  12866. "description": "流水日期(时间)",
  12867. "type": "string"
  12868. },
  12869. "logid": {
  12870. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12871. "type": "string"
  12872. },
  12873. "logtypename": {
  12874. "description": "合同类型(名称)",
  12875. "type": "string"
  12876. },
  12877. "logvalue": {
  12878. "description": "数值",
  12879. "type": "string"
  12880. },
  12881. "operatelogtype": {
  12882. "description": "操作流水类型 -",
  12883. "type": "integer"
  12884. },
  12885. "optypename": {
  12886. "description": "流水类型名称",
  12887. "type": "string"
  12888. },
  12889. "relatedid": {
  12890. "description": "现货合同ID\\套保计划",
  12891. "type": "string"
  12892. },
  12893. "relatedno": {
  12894. "description": "合同编号",
  12895. "type": "string"
  12896. },
  12897. "tradedate": {
  12898. "description": "交易日(yyyyMMdd)",
  12899. "type": "string"
  12900. },
  12901. "userid": {
  12902. "description": "机构ID",
  12903. "type": "integer"
  12904. },
  12905. "wrstandardcode": {
  12906. "description": "现货商品代码",
  12907. "type": "string"
  12908. },
  12909. "wrstandardid": {
  12910. "description": "现货商品ID",
  12911. "type": "integer"
  12912. },
  12913. "wrstandardname": {
  12914. "description": "现货商品名称",
  12915. "type": "string"
  12916. }
  12917. }
  12918. },
  12919. "models.ErmcpSpotContractModel": {
  12920. "type": "object",
  12921. "properties": {
  12922. "amount": {
  12923. "description": "金额 [1:一口价、3:暂定价]",
  12924. "type": "number"
  12925. },
  12926. "attachment": {
  12927. "description": "附件",
  12928. "type": "string"
  12929. },
  12930. "auditremark": {
  12931. "description": "审核意见",
  12932. "type": "string"
  12933. },
  12934. "audittime": {
  12935. "description": "审核时间",
  12936. "type": "string"
  12937. },
  12938. "brandname": {
  12939. "description": "品牌名称",
  12940. "type": "string"
  12941. },
  12942. "buyuserid": {
  12943. "description": "采购方ID",
  12944. "type": "integer"
  12945. },
  12946. "buyusername": {
  12947. "description": "采购方名称",
  12948. "type": "string"
  12949. },
  12950. "contracctstatus": {
  12951. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12952. "type": "integer"
  12953. },
  12954. "contractmargin": {
  12955. "description": "合同保证金",
  12956. "type": "number"
  12957. },
  12958. "contractno": {
  12959. "description": "现货合同编号",
  12960. "type": "string"
  12961. },
  12962. "contracttype": {
  12963. "description": "现货合同类型 - 1:采购 -1:销售",
  12964. "type": "integer"
  12965. },
  12966. "convertfactor": {
  12967. "description": "标仓系数",
  12968. "type": "number"
  12969. },
  12970. "createtime": {
  12971. "description": "创建时间",
  12972. "type": "string"
  12973. },
  12974. "deliveryenddate": {
  12975. "description": "交收期(结束)",
  12976. "type": "string"
  12977. },
  12978. "deliverygoodscode": {
  12979. "description": "现货品种代码",
  12980. "type": "string"
  12981. },
  12982. "deliverygoodsid": {
  12983. "description": "现货品种ID",
  12984. "type": "integer"
  12985. },
  12986. "deliverygoodsname": {
  12987. "description": "现货品种名称",
  12988. "type": "string"
  12989. },
  12990. "deliverystartdate": {
  12991. "description": "交收期(开始)",
  12992. "type": "string"
  12993. },
  12994. "enddate": {
  12995. "description": "点价结束日期 [2:点价 3:暂定价]",
  12996. "type": "string"
  12997. },
  12998. "enumdicname": {
  12999. "description": "单位名称",
  13000. "type": "string"
  13001. },
  13002. "goodscode": {
  13003. "description": "点价合约代码",
  13004. "type": "string"
  13005. },
  13006. "goodsid": {
  13007. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13008. "type": "integer"
  13009. },
  13010. "goodsname": {
  13011. "description": "点价商品名称",
  13012. "type": "string"
  13013. },
  13014. "margin": {
  13015. "description": "当前保证金",
  13016. "type": "number"
  13017. },
  13018. "modelname": {
  13019. "description": "型号名称",
  13020. "type": "string"
  13021. },
  13022. "price": {
  13023. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13024. "type": "number"
  13025. },
  13026. "pricemove": {
  13027. "description": "升贴水 [2:点价 3:暂定价]",
  13028. "type": "number"
  13029. },
  13030. "pricetype": {
  13031. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13032. "type": "integer"
  13033. },
  13034. "producttype": {
  13035. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13036. "type": "integer"
  13037. },
  13038. "qty": {
  13039. "description": "数量",
  13040. "type": "number"
  13041. },
  13042. "remark": {
  13043. "description": "备注",
  13044. "type": "string"
  13045. },
  13046. "selluserid": {
  13047. "description": "销售方ID",
  13048. "type": "integer"
  13049. },
  13050. "sellusername": {
  13051. "description": "销售方名称",
  13052. "type": "string"
  13053. },
  13054. "spotcontractid": {
  13055. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13056. "type": "string"
  13057. },
  13058. "spotgoodsbrandid": {
  13059. "description": "现货品牌ID",
  13060. "type": "integer"
  13061. },
  13062. "spotgoodsdesc": {
  13063. "description": "商品型号",
  13064. "type": "string"
  13065. },
  13066. "spotgoodsmodelid": {
  13067. "description": "现货型号ID",
  13068. "type": "integer"
  13069. },
  13070. "startdate": {
  13071. "description": "点价开始日期 [2:点价 3:暂定价]",
  13072. "type": "string"
  13073. },
  13074. "updatetime": {
  13075. "description": "更新时间",
  13076. "type": "string"
  13077. },
  13078. "userid": {
  13079. "description": "机构ID",
  13080. "type": "integer"
  13081. },
  13082. "wrstandardcode": {
  13083. "description": "现货商品代码",
  13084. "type": "string"
  13085. },
  13086. "wrstandardid": {
  13087. "description": "现货商品ID",
  13088. "type": "integer"
  13089. },
  13090. "wrstandardname": {
  13091. "description": "现货商品名称",
  13092. "type": "string"
  13093. }
  13094. }
  13095. },
  13096. "models.ErmcpUserModel": {
  13097. "type": "object",
  13098. "properties": {
  13099. "address": {
  13100. "description": "通讯地址",
  13101. "type": "string"
  13102. },
  13103. "attachment1": {
  13104. "description": "附件1",
  13105. "type": "string"
  13106. },
  13107. "audittime": {
  13108. "description": "审核时间",
  13109. "type": "string"
  13110. },
  13111. "cardfrontphotourl": {
  13112. "description": "证件正面图片地址",
  13113. "type": "string"
  13114. },
  13115. "cardnum": {
  13116. "description": "证件号码",
  13117. "type": "string"
  13118. },
  13119. "cardtype": {
  13120. "description": "证件类型",
  13121. "type": "integer"
  13122. },
  13123. "cardtypename": {
  13124. "description": "证件类型名称",
  13125. "type": "string"
  13126. },
  13127. "cityid": {
  13128. "description": "市",
  13129. "type": "integer"
  13130. },
  13131. "countryid": {
  13132. "description": "国家",
  13133. "type": "integer"
  13134. },
  13135. "createtime": {
  13136. "description": "创建时间",
  13137. "type": "string"
  13138. },
  13139. "customername": {
  13140. "description": "企业名称",
  13141. "type": "string"
  13142. },
  13143. "memberuserid": {
  13144. "description": "所属机构ID",
  13145. "type": "integer"
  13146. },
  13147. "mobile": {
  13148. "description": "手机号码",
  13149. "type": "string"
  13150. },
  13151. "modifytime": {
  13152. "description": "修改时间",
  13153. "type": "string"
  13154. },
  13155. "provinceid": {
  13156. "description": "省",
  13157. "type": "integer"
  13158. },
  13159. "remark": {
  13160. "description": "备注",
  13161. "type": "string"
  13162. },
  13163. "status": {
  13164. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13165. "type": "integer"
  13166. },
  13167. "statusdesc": {
  13168. "description": "账户状态中文描述",
  13169. "type": "string"
  13170. },
  13171. "telphone": {
  13172. "description": "联系电话",
  13173. "type": "string"
  13174. },
  13175. "userid": {
  13176. "description": "用户ID",
  13177. "type": "integer"
  13178. },
  13179. "userinfotype": {
  13180. "description": "客户类型",
  13181. "type": "string"
  13182. }
  13183. }
  13184. },
  13185. "models.ErmcpWareHouseInfo": {
  13186. "type": "object",
  13187. "properties": {
  13188. "address": {
  13189. "description": "详细地址",
  13190. "type": "string"
  13191. },
  13192. "areauserid": {
  13193. "description": "所属机构",
  13194. "type": "integer"
  13195. },
  13196. "autoid": {
  13197. "description": "自增ID(仓库ID)",
  13198. "type": "integer"
  13199. },
  13200. "cityid": {
  13201. "description": "市",
  13202. "type": "integer"
  13203. },
  13204. "contactname": {
  13205. "description": "联系人",
  13206. "type": "string"
  13207. },
  13208. "contactnum": {
  13209. "description": "联系电话",
  13210. "type": "string"
  13211. },
  13212. "countryid": {
  13213. "description": "国家",
  13214. "type": "integer"
  13215. },
  13216. "createtime": {
  13217. "description": "创建时间",
  13218. "type": "string"
  13219. },
  13220. "districtid": {
  13221. "description": "区",
  13222. "type": "integer"
  13223. },
  13224. "hasvideo": {
  13225. "description": "是否有视频 - 0:无 1:有",
  13226. "type": "integer"
  13227. },
  13228. "provinceid": {
  13229. "description": "省",
  13230. "type": "integer"
  13231. },
  13232. "remark": {
  13233. "description": "审核备注",
  13234. "type": "string"
  13235. },
  13236. "videourl": {
  13237. "description": "视频地址",
  13238. "type": "string"
  13239. },
  13240. "warehousecode": {
  13241. "description": "仓库代码",
  13242. "type": "string"
  13243. },
  13244. "warehousename": {
  13245. "description": "仓库名称",
  13246. "type": "string"
  13247. },
  13248. "warehousestatus": {
  13249. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13250. "type": "integer"
  13251. },
  13252. "warehousetype": {
  13253. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13254. "type": "integer"
  13255. }
  13256. }
  13257. },
  13258. "models.ErmcpWrstandDetail": {
  13259. "type": "object",
  13260. "properties": {
  13261. "gbList": {
  13262. "description": "品牌列表",
  13263. "type": "array",
  13264. "items": {
  13265. "$ref": "#/definitions/models.GoodsBrand"
  13266. }
  13267. },
  13268. "goodsList": {
  13269. "description": "关联交易商品列表",
  13270. "type": "array",
  13271. "items": {
  13272. "$ref": "#/definitions/models.RelatedGoodsEx"
  13273. }
  13274. },
  13275. "gtList": {
  13276. "description": "型号列表",
  13277. "type": "array",
  13278. "items": {
  13279. "$ref": "#/definitions/models.GoodsTypeModel"
  13280. }
  13281. },
  13282. "wrd": {
  13283. "description": "基本信息",
  13284. "type": "object",
  13285. "$ref": "#/definitions/models.ErmcpWrstandard"
  13286. },
  13287. "wrsList": {
  13288. "description": "套保信息列表",
  13289. "type": "array",
  13290. "items": {
  13291. "$ref": "#/definitions/models.WRSConverTDetail"
  13292. }
  13293. }
  13294. }
  13295. },
  13296. "models.ErmcpWrstandard": {
  13297. "type": "object",
  13298. "properties": {
  13299. "areauserid": {
  13300. "description": "所属机构",
  13301. "type": "integer"
  13302. },
  13303. "createtime": {
  13304. "description": "创建时间",
  13305. "type": "string"
  13306. },
  13307. "creatorid": {
  13308. "description": "创建人",
  13309. "type": "integer"
  13310. },
  13311. "deliverygoodsid": {
  13312. "description": "品种ID",
  13313. "type": "integer"
  13314. },
  13315. "enumdicname": {
  13316. "description": "单位名称",
  13317. "type": "string"
  13318. },
  13319. "isvalid": {
  13320. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13321. "type": "integer"
  13322. },
  13323. "minivalue": {
  13324. "description": "最小变动值",
  13325. "type": "integer"
  13326. },
  13327. "minivaluedp": {
  13328. "description": "最小变动值小数位",
  13329. "type": "integer"
  13330. },
  13331. "realminivalue": {
  13332. "description": "实际最小变动值",
  13333. "type": "integer"
  13334. },
  13335. "realminivaluedp": {
  13336. "description": "实际最小变动值小数位",
  13337. "type": "integer"
  13338. },
  13339. "remark": {
  13340. "description": "备注",
  13341. "type": "string"
  13342. },
  13343. "unitid": {
  13344. "description": "单位ID",
  13345. "type": "integer"
  13346. },
  13347. "updatetime": {
  13348. "description": "更新时间",
  13349. "type": "string"
  13350. },
  13351. "wrstandardcode": {
  13352. "description": "现货商品代码",
  13353. "type": "string"
  13354. },
  13355. "wrstandardid": {
  13356. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13357. "type": "integer"
  13358. },
  13359. "wrstandardname": {
  13360. "description": "现货商品名称",
  13361. "type": "string"
  13362. }
  13363. }
  13364. },
  13365. "models.Externalexchange": {
  13366. "type": "object",
  13367. "required": [
  13368. "autoid"
  13369. ],
  13370. "properties": {
  13371. "autoid": {
  13372. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13373. "type": "integer"
  13374. },
  13375. "exchangefullname": {
  13376. "description": "外部交易所全称",
  13377. "type": "string"
  13378. },
  13379. "exexchangecode": {
  13380. "description": "外部交易所代码",
  13381. "type": "string"
  13382. },
  13383. "exexchangename": {
  13384. "description": "外部交易所名称(简称)",
  13385. "type": "string"
  13386. },
  13387. "ismarketprice": {
  13388. "description": "是否支持市价 - 0:不支持 1:支持",
  13389. "type": "integer"
  13390. },
  13391. "quotegear": {
  13392. "description": "行情档位(1-10)",
  13393. "type": "integer"
  13394. },
  13395. "showbrokerflag": {
  13396. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13397. "type": "integer"
  13398. },
  13399. "updatetime": {
  13400. "description": "更新时间",
  13401. "type": "string"
  13402. }
  13403. }
  13404. },
  13405. "models.Funcmenulist": {
  13406. "type": "object",
  13407. "required": [
  13408. "resourcecode"
  13409. ],
  13410. "properties": {
  13411. "iconame": {
  13412. "description": "菜单图标",
  13413. "type": "string"
  13414. },
  13415. "menutype": {
  13416. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13417. "type": "integer"
  13418. },
  13419. "parentcode": {
  13420. "description": "上级资源代码",
  13421. "type": "string"
  13422. },
  13423. "remark": {
  13424. "description": "备注",
  13425. "type": "string"
  13426. },
  13427. "resourcecode": {
  13428. "description": "资源代码",
  13429. "type": "string"
  13430. },
  13431. "resourcelevel": {
  13432. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13433. "type": "integer"
  13434. },
  13435. "resourcename": {
  13436. "description": "资源名",
  13437. "type": "string"
  13438. },
  13439. "sort": {
  13440. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13441. "type": "integer"
  13442. },
  13443. "url": {
  13444. "description": "URL",
  13445. "type": "string"
  13446. }
  13447. }
  13448. },
  13449. "models.Goods": {
  13450. "type": "object",
  13451. "required": [
  13452. "goodscode",
  13453. "goodsid",
  13454. "goodsname",
  13455. "marketid"
  13456. ],
  13457. "properties": {
  13458. "agreeunit": {
  13459. "description": "合约单位",
  13460. "type": "number"
  13461. },
  13462. "auditaccountid": {
  13463. "description": "审核操作员账号",
  13464. "type": "integer"
  13465. },
  13466. "audittime": {
  13467. "description": "审核时间",
  13468. "type": "string"
  13469. },
  13470. "cancelaccountid": {
  13471. "description": "注销操作员账号",
  13472. "type": "integer"
  13473. },
  13474. "canceltime": {
  13475. "description": "注销时间",
  13476. "type": "string"
  13477. },
  13478. "closepricemode": {
  13479. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13480. "type": "integer"
  13481. },
  13482. "closepriceparam": {
  13483. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13484. "type": "number"
  13485. },
  13486. "createtime": {
  13487. "description": "创建时间",
  13488. "type": "string"
  13489. },
  13490. "creatorid": {
  13491. "description": "创建人",
  13492. "type": "integer"
  13493. },
  13494. "currencyid": {
  13495. "description": "报价货币ID",
  13496. "type": "integer"
  13497. },
  13498. "cutmode": {
  13499. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13500. "type": "integer"
  13501. },
  13502. "decimalplace": {
  13503. "description": "报价小数位",
  13504. "type": "integer"
  13505. },
  13506. "delistingdate": {
  13507. "description": "商品退市时间(状态:退市) -- 已作废",
  13508. "type": "string"
  13509. },
  13510. "delistingmode": {
  13511. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13512. "type": "integer"
  13513. },
  13514. "deliveryflag": {
  13515. "description": "交割标志 - 0:不可交割 1:可交割",
  13516. "type": "integer"
  13517. },
  13518. "forceclosemode": {
  13519. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13520. "type": "integer"
  13521. },
  13522. "forceclosevalue": {
  13523. "description": "定期强平参数 [收益权]",
  13524. "type": "integer"
  13525. },
  13526. "goodscode": {
  13527. "description": "商品代码(内部)",
  13528. "type": "string"
  13529. },
  13530. "goodscurrencyid": {
  13531. "description": "合约货币ID",
  13532. "type": "integer"
  13533. },
  13534. "goodsgroupid": {
  13535. "description": "所属商品组ID",
  13536. "type": "integer"
  13537. },
  13538. "goodsid": {
  13539. "description": "商品ID(自增ID SEQ_GOODS)",
  13540. "type": "integer"
  13541. },
  13542. "goodsname": {
  13543. "description": "商品名称",
  13544. "type": "string"
  13545. },
  13546. "goodsquotetype": {
  13547. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13548. "type": "integer"
  13549. },
  13550. "goodsstatus": {
  13551. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13552. "type": "integer"
  13553. },
  13554. "goodstradetype": {
  13555. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13556. "type": "integer"
  13557. },
  13558. "goodunitid": {
  13559. "description": "报价单位ID",
  13560. "type": "integer"
  13561. },
  13562. "hasquoter": {
  13563. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13564. "type": "integer"
  13565. },
  13566. "hqprotecttime": {
  13567. "description": "行情保护时间(秒)",
  13568. "type": "integer"
  13569. },
  13570. "innerdealmode": {
  13571. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13572. "type": "integer"
  13573. },
  13574. "isbuylimited": {
  13575. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13576. "type": "integer"
  13577. },
  13578. "lasttradedate": {
  13579. "description": "最后交易日期(状态:待退市)",
  13580. "type": "string"
  13581. },
  13582. "listingdate": {
  13583. "description": "交易开始日期",
  13584. "type": "string"
  13585. },
  13586. "marketid": {
  13587. "description": "所属市场ID",
  13588. "type": "integer"
  13589. },
  13590. "modifierid": {
  13591. "description": "修改人",
  13592. "type": "integer"
  13593. },
  13594. "modifystatus": {
  13595. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13596. "type": "integer"
  13597. },
  13598. "modifytime": {
  13599. "description": "修改时间",
  13600. "type": "string"
  13601. },
  13602. "outerdealmode": {
  13603. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13604. "type": "integer"
  13605. },
  13606. "outgoodscode": {
  13607. "description": "商品代码(外部)",
  13608. "type": "string"
  13609. },
  13610. "qtydecimalplace": {
  13611. "description": "成交量小数位",
  13612. "type": "integer"
  13613. },
  13614. "quotegear": {
  13615. "description": "行情档位(1-10)",
  13616. "type": "integer"
  13617. },
  13618. "quoteminunit": {
  13619. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13620. "type": "integer"
  13621. },
  13622. "quoteshowtype": {
  13623. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13624. "type": "integer"
  13625. },
  13626. "quoteshowtypeinterval": {
  13627. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13628. "type": "integer"
  13629. },
  13630. "remark": {
  13631. "description": "备注",
  13632. "type": "string"
  13633. }
  13634. }
  13635. },
  13636. "models.GoodsBrand": {
  13637. "type": "object",
  13638. "properties": {
  13639. "brandid": {
  13640. "description": "品牌ID",
  13641. "type": "integer"
  13642. },
  13643. "brandname": {
  13644. "description": "品牌名称",
  13645. "type": "string"
  13646. },
  13647. "isvalid": {
  13648. "description": "是否有效 - 0:无效 1:有效",
  13649. "type": "integer"
  13650. }
  13651. }
  13652. },
  13653. "models.GoodsGroupConvert": {
  13654. "type": "object",
  13655. "properties": {
  13656. "convertratio": {
  13657. "description": "折算系数",
  13658. "type": "number"
  13659. },
  13660. "dstgoodsgroupid": {
  13661. "description": "目标期货品种ID",
  13662. "type": "integer"
  13663. },
  13664. "goodsgroupname": {
  13665. "description": "期货品种名称",
  13666. "type": "string"
  13667. },
  13668. "outergroupcode": {
  13669. "description": "期货品种代码",
  13670. "type": "string"
  13671. },
  13672. "srcgoodsgroupid": {
  13673. "description": "源期货品种ID",
  13674. "type": "integer"
  13675. }
  13676. }
  13677. },
  13678. "models.GoodsIDAndName": {
  13679. "type": "object",
  13680. "required": [
  13681. "goodscode",
  13682. "goodsid",
  13683. "goodsname",
  13684. "marketid"
  13685. ],
  13686. "properties": {
  13687. "goodscode": {
  13688. "description": "商品代码(内部)",
  13689. "type": "string"
  13690. },
  13691. "goodsid": {
  13692. "description": "商品ID(自增ID SEQ_GOODS)",
  13693. "type": "integer"
  13694. },
  13695. "goodsname": {
  13696. "description": "商品名称",
  13697. "type": "string"
  13698. },
  13699. "marketid": {
  13700. "description": "所属市场ID",
  13701. "type": "integer"
  13702. }
  13703. }
  13704. },
  13705. "models.GoodsTypeModel": {
  13706. "type": "object",
  13707. "properties": {
  13708. "modelid": {
  13709. "description": "型号ID",
  13710. "type": "integer"
  13711. },
  13712. "modelname": {
  13713. "description": "型号名称",
  13714. "type": "string"
  13715. },
  13716. "updatetime": {
  13717. "description": "更新时间",
  13718. "type": "string"
  13719. }
  13720. }
  13721. },
  13722. "models.Goodsgroup": {
  13723. "type": "object",
  13724. "required": [
  13725. "goodsgroupid",
  13726. "goodsgroupname",
  13727. "goodsgroupstatus",
  13728. "marketid"
  13729. ],
  13730. "properties": {
  13731. "agreeunit": {
  13732. "description": "合约单位",
  13733. "type": "number"
  13734. },
  13735. "canshort": {
  13736. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13737. "type": "integer"
  13738. },
  13739. "closepricemode": {
  13740. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13741. "type": "integer"
  13742. },
  13743. "closepriceparam": {
  13744. "description": "强平最新价浮动比例 - 方式为2时使用",
  13745. "type": "number"
  13746. },
  13747. "createtime": {
  13748. "description": "创建时间",
  13749. "type": "string"
  13750. },
  13751. "creatorid": {
  13752. "description": "创建人",
  13753. "type": "integer"
  13754. },
  13755. "currencyid": {
  13756. "description": "报价货币ID",
  13757. "type": "integer"
  13758. },
  13759. "decimalplace": {
  13760. "description": "报价小数位",
  13761. "type": "integer"
  13762. },
  13763. "exercisetype": {
  13764. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13765. "type": "integer"
  13766. },
  13767. "exexchangeid": {
  13768. "description": "外部交易所ID[通道交易]",
  13769. "type": "integer"
  13770. },
  13771. "goodsgroupid": {
  13772. "description": "商品组ID(自增ID)",
  13773. "type": "integer"
  13774. },
  13775. "goodsgroupname": {
  13776. "description": "商品组名称",
  13777. "type": "string"
  13778. },
  13779. "goodsgroupstatus": {
  13780. "description": "商品组状态 - 1:正常 2:注销",
  13781. "type": "integer"
  13782. },
  13783. "goodunitid": {
  13784. "description": "报价单位ID",
  13785. "type": "integer"
  13786. },
  13787. "innerdealmode": {
  13788. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13789. "type": "integer"
  13790. },
  13791. "isbuylimited": {
  13792. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13793. "type": "integer"
  13794. },
  13795. "marketid": {
  13796. "description": "所属市场ID",
  13797. "type": "integer"
  13798. },
  13799. "modifierid": {
  13800. "description": "修改人",
  13801. "type": "integer"
  13802. },
  13803. "modifytime": {
  13804. "description": "修改时间",
  13805. "type": "string"
  13806. },
  13807. "outerdealmode": {
  13808. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13809. "type": "integer"
  13810. },
  13811. "outergroupcode": {
  13812. "description": "外部商品组代码[通道交易]",
  13813. "type": "string"
  13814. },
  13815. "premiumdecimalplace": {
  13816. "description": "权利金小数位[场外期权]",
  13817. "type": "integer"
  13818. },
  13819. "premiumspreadalgorithm": {
  13820. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13821. "type": "integer"
  13822. },
  13823. "premiumspreadvalue": {
  13824. "description": "权利金点差值[场外期权]",
  13825. "type": "number"
  13826. },
  13827. "qtydecimalplace": {
  13828. "description": "成交量小数位",
  13829. "type": "integer"
  13830. },
  13831. "quotegear": {
  13832. "description": "行情档位(1-10)",
  13833. "type": "integer"
  13834. },
  13835. "quoteminunit": {
  13836. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13837. "type": "integer"
  13838. },
  13839. "quoterid": {
  13840. "description": "报价商ID[场外期权]",
  13841. "type": "integer"
  13842. },
  13843. "quotesourcegroupid": {
  13844. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13845. "type": "integer"
  13846. },
  13847. "syncgoodsqty": {
  13848. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13849. "type": "integer"
  13850. }
  13851. }
  13852. },
  13853. "models.HsbyBuyMyPayOrder": {
  13854. "type": "object",
  13855. "required": [
  13856. "goodscode",
  13857. "goodsname",
  13858. "tradeid",
  13859. "trademode"
  13860. ],
  13861. "properties": {
  13862. "agreeunit": {
  13863. "description": "合约单位",
  13864. "type": "number"
  13865. },
  13866. "buyaccountid": {
  13867. "description": "买方账号ID[报价币种]",
  13868. "type": "integer"
  13869. },
  13870. "buyorderid": {
  13871. "description": "买方委托单号",
  13872. "type": "string"
  13873. },
  13874. "createtime": {
  13875. "description": "创建时间",
  13876. "type": "string"
  13877. },
  13878. "currencysign": {
  13879. "description": "货币符号",
  13880. "type": "string"
  13881. },
  13882. "decimalplace": {
  13883. "description": "报价小数位",
  13884. "type": "integer"
  13885. },
  13886. "goodscode": {
  13887. "description": "商品代码(内部)",
  13888. "type": "string"
  13889. },
  13890. "goodsid": {
  13891. "description": "商品ID",
  13892. "type": "integer"
  13893. },
  13894. "goodsname": {
  13895. "description": "商品名称",
  13896. "type": "string"
  13897. },
  13898. "marketid": {
  13899. "description": "市场ID",
  13900. "type": "integer"
  13901. },
  13902. "offamount": {
  13903. "description": "优惠金额",
  13904. "type": "number"
  13905. },
  13906. "originalamount": {
  13907. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13908. "type": "number"
  13909. },
  13910. "payamount": {
  13911. "description": "支付金额 = TradeAmount + TradeCharge",
  13912. "type": "number"
  13913. },
  13914. "payflag": {
  13915. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13916. "type": "integer"
  13917. },
  13918. "paylimitedtime": {
  13919. "description": "支付期限",
  13920. "type": "string"
  13921. },
  13922. "paytime": {
  13923. "description": "付款时间",
  13924. "type": "string"
  13925. },
  13926. "picurls1": {
  13927. "description": "预售商品介绍图片[多张用逗号分隔]",
  13928. "type": "string"
  13929. },
  13930. "picurls2": {
  13931. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13932. "type": "string"
  13933. },
  13934. "sellaccountid": {
  13935. "description": "卖方账号ID[报价币种]",
  13936. "type": "integer"
  13937. },
  13938. "sellorderid": {
  13939. "description": "卖方委托单号",
  13940. "type": "string"
  13941. },
  13942. "tradeamount": {
  13943. "description": "成交金额",
  13944. "type": "number"
  13945. },
  13946. "tradecharge": {
  13947. "description": "成交手续费(买方)",
  13948. "type": "number"
  13949. },
  13950. "tradedate": {
  13951. "description": "交易日(yyyyMMdd)",
  13952. "type": "string"
  13953. },
  13954. "tradeid": {
  13955. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13956. "type": "string"
  13957. },
  13958. "trademode": {
  13959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13960. "type": "integer"
  13961. },
  13962. "tradeprice": {
  13963. "description": "成交价格",
  13964. "type": "number"
  13965. },
  13966. "tradeqty": {
  13967. "description": "成交数量",
  13968. "type": "integer"
  13969. },
  13970. "vendorname1": {
  13971. "description": "预售商品供应商名称",
  13972. "type": "string"
  13973. },
  13974. "vendorname2": {
  13975. "description": "挂牌商品供应商名称",
  13976. "type": "string"
  13977. }
  13978. }
  13979. },
  13980. "models.HsbyBuyMyTradeDetail": {
  13981. "type": "object",
  13982. "required": [
  13983. "accountid",
  13984. "buyorsell",
  13985. "goodscode",
  13986. "goodsid",
  13987. "goodsname",
  13988. "marketid",
  13989. "orderid",
  13990. "qty",
  13991. "time",
  13992. "trademode"
  13993. ],
  13994. "properties": {
  13995. "accountid": {
  13996. "description": "账户ID[报价币种]",
  13997. "type": "integer"
  13998. },
  13999. "agreeunit": {
  14000. "description": "合约单位",
  14001. "type": "number"
  14002. },
  14003. "amount": {
  14004. "description": "金额 = 价格 * 数量 * 合约单位",
  14005. "type": "number"
  14006. },
  14007. "buyorsell": {
  14008. "description": "买卖 - 0:买 1:卖",
  14009. "type": "integer"
  14010. },
  14011. "currencysign": {
  14012. "description": "货币符号",
  14013. "type": "string"
  14014. },
  14015. "decimalplace": {
  14016. "description": "报价小数位",
  14017. "type": "integer"
  14018. },
  14019. "goodscode": {
  14020. "description": "商品代码(内部)",
  14021. "type": "string"
  14022. },
  14023. "goodsid": {
  14024. "description": "商品ID",
  14025. "type": "integer"
  14026. },
  14027. "goodsname": {
  14028. "description": "商品名称",
  14029. "type": "string"
  14030. },
  14031. "marketid": {
  14032. "description": "市场ID",
  14033. "type": "integer"
  14034. },
  14035. "orderid": {
  14036. "description": "单号(成交单号)",
  14037. "type": "string"
  14038. },
  14039. "picurls1": {
  14040. "description": "预售商品介绍图片[多张用逗号分隔]",
  14041. "type": "string"
  14042. },
  14043. "picurls2": {
  14044. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14045. "type": "string"
  14046. },
  14047. "price": {
  14048. "description": "价格",
  14049. "type": "number"
  14050. },
  14051. "qty": {
  14052. "description": "数量",
  14053. "type": "integer"
  14054. },
  14055. "time": {
  14056. "description": "时间",
  14057. "type": "string"
  14058. },
  14059. "trademode": {
  14060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14061. "type": "integer"
  14062. },
  14063. "vendorname1": {
  14064. "description": "预售商品供应商名称",
  14065. "type": "string"
  14066. },
  14067. "vendorname2": {
  14068. "description": "挂牌商品供应商名称",
  14069. "type": "string"
  14070. }
  14071. }
  14072. },
  14073. "models.HsbyGoodsOrderDetail": {
  14074. "type": "object",
  14075. "required": [
  14076. "buyorsell",
  14077. "orderid",
  14078. "ordertime"
  14079. ],
  14080. "properties": {
  14081. "buyorsell": {
  14082. "description": "买卖 - 0:买 1:卖",
  14083. "type": "integer"
  14084. },
  14085. "currencysign": {
  14086. "description": "货币符号",
  14087. "type": "string"
  14088. },
  14089. "customername": {
  14090. "description": "客户名称(企业名称),已脱敏",
  14091. "type": "string"
  14092. },
  14093. "enableqty": {
  14094. "description": "可用数量",
  14095. "type": "integer"
  14096. },
  14097. "goodunit": {
  14098. "description": "报价单位",
  14099. "type": "string"
  14100. },
  14101. "orderid": {
  14102. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14103. "type": "string"
  14104. },
  14105. "orderprice": {
  14106. "description": "委托价格",
  14107. "type": "number"
  14108. },
  14109. "ordertime": {
  14110. "description": "委托时间",
  14111. "type": "string"
  14112. }
  14113. }
  14114. },
  14115. "models.HsbyListingGoodsDetail": {
  14116. "type": "object",
  14117. "required": [
  14118. "goodscode",
  14119. "goodsid",
  14120. "goodsname",
  14121. "marketid",
  14122. "trademode"
  14123. ],
  14124. "properties": {
  14125. "agreeunit": {
  14126. "description": "合约单位",
  14127. "type": "number"
  14128. },
  14129. "buymaxqty": {
  14130. "description": "购买上限 [71] - 0为不限",
  14131. "type": "integer"
  14132. },
  14133. "currency": {
  14134. "description": "货币",
  14135. "type": "string"
  14136. },
  14137. "currencysign": {
  14138. "description": "货币符号",
  14139. "type": "string"
  14140. },
  14141. "decimalplace": {
  14142. "description": "报价小数位",
  14143. "type": "integer"
  14144. },
  14145. "desccityid": {
  14146. "description": "目的地(市)ID",
  14147. "type": "integer"
  14148. },
  14149. "descprovinceid": {
  14150. "description": "目的地(省)ID",
  14151. "type": "integer"
  14152. },
  14153. "goodscode": {
  14154. "description": "商品代码(内部)",
  14155. "type": "string"
  14156. },
  14157. "goodsdesc": {
  14158. "description": "商品详情",
  14159. "type": "string"
  14160. },
  14161. "goodsid": {
  14162. "description": "商品ID(自增ID SEQ_GOODS)",
  14163. "type": "integer"
  14164. },
  14165. "goodsname": {
  14166. "description": "商品名称",
  14167. "type": "string"
  14168. },
  14169. "goodsprice": {
  14170. "description": "商品价格",
  14171. "type": "number"
  14172. },
  14173. "hotindex": {
  14174. "description": "景点热度",
  14175. "type": "integer"
  14176. },
  14177. "last": {
  14178. "description": "现价",
  14179. "type": "number"
  14180. },
  14181. "limitdown": {
  14182. "description": "跌停价",
  14183. "type": "number"
  14184. },
  14185. "limitup": {
  14186. "description": "涨停价",
  14187. "type": "number"
  14188. },
  14189. "lotsize": {
  14190. "description": "手数最小变动单位",
  14191. "type": "integer"
  14192. },
  14193. "marketid": {
  14194. "description": "所属市场ID",
  14195. "type": "integer"
  14196. },
  14197. "picurls": {
  14198. "description": "介绍图片[多张用逗号分隔]",
  14199. "type": "string"
  14200. },
  14201. "quoteminunit": {
  14202. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14203. "type": "integer"
  14204. },
  14205. "stepvalue": {
  14206. "description": "价格最小变动单位",
  14207. "type": "number"
  14208. },
  14209. "trademode": {
  14210. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14211. "type": "integer"
  14212. },
  14213. "vendorattr": {
  14214. "description": "供应商附件(多张,逗号分隔)",
  14215. "type": "string"
  14216. },
  14217. "vendorname": {
  14218. "description": "供应商名称",
  14219. "type": "string"
  14220. },
  14221. "vendorphone": {
  14222. "description": "供应商客服电话",
  14223. "type": "string"
  14224. },
  14225. "videourls": {
  14226. "description": "介绍视频[多张用逗号分隔]",
  14227. "type": "string"
  14228. }
  14229. }
  14230. },
  14231. "models.HsbyMarketGoods": {
  14232. "type": "object",
  14233. "required": [
  14234. "accountid",
  14235. "buyorsell",
  14236. "goodscode",
  14237. "goodsid",
  14238. "goodsname",
  14239. "marketid",
  14240. "orderid",
  14241. "trademode"
  14242. ],
  14243. "properties": {
  14244. "accountid": {
  14245. "description": "账户ID[报价币种]",
  14246. "type": "integer"
  14247. },
  14248. "agreeunit": {
  14249. "description": "合约单位",
  14250. "type": "number"
  14251. },
  14252. "buyorsell": {
  14253. "description": "买卖 - 0:买 1:卖",
  14254. "type": "integer"
  14255. },
  14256. "categoryid": {
  14257. "description": "类别ID(WRCATEGORY)",
  14258. "type": "integer"
  14259. },
  14260. "currency": {
  14261. "description": "货币",
  14262. "type": "string"
  14263. },
  14264. "currencysign": {
  14265. "description": "货币符号",
  14266. "type": "string"
  14267. },
  14268. "customername": {
  14269. "description": "卖家名称",
  14270. "type": "string"
  14271. },
  14272. "decimalplace": {
  14273. "description": "报价小数位",
  14274. "type": "integer"
  14275. },
  14276. "goodscode": {
  14277. "description": "商品代码(内部)",
  14278. "type": "string"
  14279. },
  14280. "goodsid": {
  14281. "description": "商品ID",
  14282. "type": "integer"
  14283. },
  14284. "goodsname": {
  14285. "description": "商品名称",
  14286. "type": "string"
  14287. },
  14288. "goodsprice": {
  14289. "description": "商品价格",
  14290. "type": "number"
  14291. },
  14292. "hascoupon": {
  14293. "description": "是否可用优惠卷",
  14294. "type": "boolean"
  14295. },
  14296. "hotindex": {
  14297. "description": "景点热度",
  14298. "type": "integer"
  14299. },
  14300. "marketid": {
  14301. "description": "市场ID",
  14302. "type": "integer"
  14303. },
  14304. "orderid": {
  14305. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14306. "type": "string"
  14307. },
  14308. "orderprice": {
  14309. "description": "委托价格",
  14310. "type": "number"
  14311. },
  14312. "orderstatus": {
  14313. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14314. "type": "integer"
  14315. },
  14316. "picurls": {
  14317. "description": "介绍图片[多张用逗号分隔]",
  14318. "type": "string"
  14319. },
  14320. "quoteminunit": {
  14321. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14322. "type": "integer"
  14323. },
  14324. "sellUserID": {
  14325. "description": "卖方UserID",
  14326. "type": "integer"
  14327. },
  14328. "trademode": {
  14329. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14330. "type": "integer"
  14331. },
  14332. "videourls": {
  14333. "description": "介绍视频[多张用逗号分隔]",
  14334. "type": "string"
  14335. }
  14336. }
  14337. },
  14338. "models.HsbyMarketGoodsDetail": {
  14339. "type": "object",
  14340. "required": [
  14341. "accountid",
  14342. "buyorsell",
  14343. "goodscode",
  14344. "goodsid",
  14345. "goodsname",
  14346. "marketid",
  14347. "orderid",
  14348. "orderqty",
  14349. "trademode"
  14350. ],
  14351. "properties": {
  14352. "accountid": {
  14353. "description": "账户ID[报价币种]",
  14354. "type": "integer"
  14355. },
  14356. "agreeunit": {
  14357. "description": "合约单位",
  14358. "type": "number"
  14359. },
  14360. "buymaxqty": {
  14361. "description": "购买上限 [71] - 0为不限",
  14362. "type": "integer"
  14363. },
  14364. "buyorsell": {
  14365. "description": "买卖 - 0:买 1:卖",
  14366. "type": "integer"
  14367. },
  14368. "cancelqty": {
  14369. "description": "撤单数量",
  14370. "type": "integer"
  14371. },
  14372. "categoryid": {
  14373. "description": "类别ID(WRCATEGORY)",
  14374. "type": "integer"
  14375. },
  14376. "currency": {
  14377. "description": "货币",
  14378. "type": "string"
  14379. },
  14380. "currencysign": {
  14381. "description": "货币符号",
  14382. "type": "string"
  14383. },
  14384. "customername": {
  14385. "description": "卖家名称",
  14386. "type": "string"
  14387. },
  14388. "decimalplace": {
  14389. "description": "报价小数位",
  14390. "type": "integer"
  14391. },
  14392. "goodscode": {
  14393. "description": "商品代码(内部)",
  14394. "type": "string"
  14395. },
  14396. "goodsdesc": {
  14397. "description": "商品详情",
  14398. "type": "string"
  14399. },
  14400. "goodsid": {
  14401. "description": "商品ID",
  14402. "type": "integer"
  14403. },
  14404. "goodsname": {
  14405. "description": "商品名称",
  14406. "type": "string"
  14407. },
  14408. "goodsprice": {
  14409. "description": "商品价格",
  14410. "type": "number"
  14411. },
  14412. "hotindex": {
  14413. "description": "景点热度",
  14414. "type": "integer"
  14415. },
  14416. "lotsize": {
  14417. "description": "手数最小变动单位",
  14418. "type": "integer"
  14419. },
  14420. "marketid": {
  14421. "description": "市场ID",
  14422. "type": "integer"
  14423. },
  14424. "orderid": {
  14425. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14426. "type": "string"
  14427. },
  14428. "orderprice": {
  14429. "description": "委托价格",
  14430. "type": "number"
  14431. },
  14432. "orderqty": {
  14433. "description": "委托数量",
  14434. "type": "integer"
  14435. },
  14436. "orderstatus": {
  14437. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14438. "type": "integer"
  14439. },
  14440. "picurls": {
  14441. "description": "介绍图片[多张用逗号分隔]",
  14442. "type": "string"
  14443. },
  14444. "quoteminunit": {
  14445. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14446. "type": "integer"
  14447. },
  14448. "sellUserID": {
  14449. "description": "卖方UserID",
  14450. "type": "integer"
  14451. },
  14452. "trademode": {
  14453. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14454. "type": "integer"
  14455. },
  14456. "tradeqty": {
  14457. "description": "成交数量",
  14458. "type": "integer"
  14459. },
  14460. "vendorattr": {
  14461. "description": "供应商附件(多张,逗号分隔)",
  14462. "type": "string"
  14463. },
  14464. "vendorname": {
  14465. "description": "供应商名称",
  14466. "type": "string"
  14467. },
  14468. "vendorphone": {
  14469. "description": "供应商客服电话",
  14470. "type": "string"
  14471. },
  14472. "videourls": {
  14473. "description": "介绍视频[多张用逗号分隔]",
  14474. "type": "string"
  14475. }
  14476. }
  14477. },
  14478. "models.HsbyMarketInfo": {
  14479. "type": "object",
  14480. "required": [
  14481. "marketid",
  14482. "marketstatus",
  14483. "trademode"
  14484. ],
  14485. "properties": {
  14486. "marketid": {
  14487. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14488. "type": "integer"
  14489. },
  14490. "marketname": {
  14491. "description": "市场名称",
  14492. "type": "string"
  14493. },
  14494. "marketstatus": {
  14495. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14496. "type": "integer"
  14497. },
  14498. "trademode": {
  14499. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14500. "type": "integer"
  14501. }
  14502. }
  14503. },
  14504. "models.HsbyMyGoods": {
  14505. "type": "object",
  14506. "required": [
  14507. "accountid",
  14508. "goodscode",
  14509. "goodsid",
  14510. "goodsname",
  14511. "marketid",
  14512. "trademode"
  14513. ],
  14514. "properties": {
  14515. "accountid": {
  14516. "description": "账号Id",
  14517. "type": "integer"
  14518. },
  14519. "agreeunit": {
  14520. "description": "合约单位",
  14521. "type": "number"
  14522. },
  14523. "buyaverageprice": {
  14524. "description": "持仓均价",
  14525. "type": "number"
  14526. },
  14527. "buycurholderamount": {
  14528. "description": "买当前持仓总金额[商品币种]",
  14529. "type": "number"
  14530. },
  14531. "buycurpositionqty": {
  14532. "description": "买当前持仓总数量",
  14533. "type": "integer"
  14534. },
  14535. "buymaxqty": {
  14536. "description": "购买上限 [71] - 0为不限",
  14537. "type": "integer"
  14538. },
  14539. "currencysign": {
  14540. "description": "货币符号",
  14541. "type": "string"
  14542. },
  14543. "decimalplace": {
  14544. "description": "报价小数位",
  14545. "type": "integer"
  14546. },
  14547. "enableqty": {
  14548. "description": "可用数量",
  14549. "type": "integer"
  14550. },
  14551. "goodscode": {
  14552. "description": "商品代码(内部)",
  14553. "type": "string"
  14554. },
  14555. "goodsid": {
  14556. "description": "商品Id",
  14557. "type": "integer"
  14558. },
  14559. "goodsname": {
  14560. "description": "商品名称",
  14561. "type": "string"
  14562. },
  14563. "goodsprice": {
  14564. "description": "商品价格",
  14565. "type": "number"
  14566. },
  14567. "goodsstatus": {
  14568. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14569. "type": "integer"
  14570. },
  14571. "last": {
  14572. "description": "现价(仅使用于挂牌点选)",
  14573. "type": "number"
  14574. },
  14575. "limitdown": {
  14576. "description": "跌停价(仅使用于挂牌点选)",
  14577. "type": "number"
  14578. },
  14579. "limitup": {
  14580. "description": "涨停价(仅使用于挂牌点选)",
  14581. "type": "number"
  14582. },
  14583. "lotsize": {
  14584. "description": "手数最小变动单位",
  14585. "type": "integer"
  14586. },
  14587. "marketid": {
  14588. "description": "所属市场ID",
  14589. "type": "integer"
  14590. },
  14591. "picurls": {
  14592. "description": "介绍图片[多张用逗号分隔]",
  14593. "type": "string"
  14594. },
  14595. "quoteminunit": {
  14596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14597. "type": "integer"
  14598. },
  14599. "stepvalue": {
  14600. "description": "价格最小变动单位",
  14601. "type": "number"
  14602. },
  14603. "trademode": {
  14604. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14605. "type": "integer"
  14606. }
  14607. }
  14608. },
  14609. "models.HsbyMyPackage": {
  14610. "type": "object",
  14611. "required": [
  14612. "goodscode",
  14613. "goodsname",
  14614. "takeorderid",
  14615. "trademode"
  14616. ],
  14617. "properties": {
  14618. "accountid": {
  14619. "description": "账户ID",
  14620. "type": "integer"
  14621. },
  14622. "address": {
  14623. "description": "提货人详细地址",
  14624. "type": "string"
  14625. },
  14626. "agreeunit": {
  14627. "description": "合约单位",
  14628. "type": "number"
  14629. },
  14630. "amount": {
  14631. "description": "提货金额",
  14632. "type": "number"
  14633. },
  14634. "auditer": {
  14635. "description": "审核人",
  14636. "type": "integer"
  14637. },
  14638. "audittime": {
  14639. "description": "审核时间",
  14640. "type": "string"
  14641. },
  14642. "averageprice": {
  14643. "description": "均价",
  14644. "type": "number"
  14645. },
  14646. "cardnum": {
  14647. "description": "提货人证件号码",
  14648. "type": "string"
  14649. },
  14650. "cardtypeid": {
  14651. "description": "提货人证件类型",
  14652. "type": "integer"
  14653. },
  14654. "checkremark": {
  14655. "description": "审核备注",
  14656. "type": "string"
  14657. },
  14658. "currencysign": {
  14659. "description": "货币符号",
  14660. "type": "string"
  14661. },
  14662. "decimalplace": {
  14663. "description": "报价小数位",
  14664. "type": "integer"
  14665. },
  14666. "goodscode": {
  14667. "description": "商品代码(内部)",
  14668. "type": "string"
  14669. },
  14670. "goodsid": {
  14671. "description": "商品ID",
  14672. "type": "integer"
  14673. },
  14674. "goodsname": {
  14675. "description": "商品名称",
  14676. "type": "string"
  14677. },
  14678. "handlestatus": {
  14679. "description": "处理状态",
  14680. "type": "integer"
  14681. },
  14682. "marketid": {
  14683. "description": "市场ID",
  14684. "type": "integer"
  14685. },
  14686. "phonenum": {
  14687. "description": "提货人联系方式",
  14688. "type": "string"
  14689. },
  14690. "picurls": {
  14691. "description": "介绍图片[多张用逗号分隔]",
  14692. "type": "string"
  14693. },
  14694. "qty": {
  14695. "description": "提货数量",
  14696. "type": "number"
  14697. },
  14698. "recivername": {
  14699. "description": "提货人姓名",
  14700. "type": "string"
  14701. },
  14702. "reqtime": {
  14703. "description": "更新时间",
  14704. "type": "string"
  14705. },
  14706. "takemode": {
  14707. "description": "提货方式 - 2:自提 3:配送",
  14708. "type": "integer"
  14709. },
  14710. "takeorderid": {
  14711. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14712. "type": "string"
  14713. },
  14714. "takeorderstatus": {
  14715. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14716. "type": "integer"
  14717. },
  14718. "takeremark": {
  14719. "description": "提货备注",
  14720. "type": "string"
  14721. },
  14722. "tradedate": {
  14723. "description": "交易日(yyyyMMdd)",
  14724. "type": "string"
  14725. },
  14726. "trademode": {
  14727. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14728. "type": "integer"
  14729. },
  14730. "userid": {
  14731. "description": "用户ID",
  14732. "type": "integer"
  14733. },
  14734. "vendorname": {
  14735. "description": "供应商名称",
  14736. "type": "string"
  14737. }
  14738. }
  14739. },
  14740. "models.HsbyPreGoods": {
  14741. "type": "object",
  14742. "required": [
  14743. "goodscode",
  14744. "goodsid",
  14745. "goodsname",
  14746. "marketid",
  14747. "trademode"
  14748. ],
  14749. "properties": {
  14750. "agreeunit": {
  14751. "description": "合约单位",
  14752. "type": "number"
  14753. },
  14754. "currency": {
  14755. "description": "货币",
  14756. "type": "string"
  14757. },
  14758. "currencysign": {
  14759. "description": "货币符号",
  14760. "type": "string"
  14761. },
  14762. "decimalplace": {
  14763. "description": "报价小数位",
  14764. "type": "integer"
  14765. },
  14766. "desccityid": {
  14767. "description": "目的地(市)",
  14768. "type": "integer"
  14769. },
  14770. "descprovinceid": {
  14771. "description": "目的地(省)",
  14772. "type": "integer"
  14773. },
  14774. "enableqty": {
  14775. "description": "剩余数量",
  14776. "type": "integer"
  14777. },
  14778. "goodscode": {
  14779. "description": "商品代码(内部)",
  14780. "type": "string"
  14781. },
  14782. "goodsid": {
  14783. "description": "商品ID(自增ID SEQ_GOODS)",
  14784. "type": "integer"
  14785. },
  14786. "goodsname": {
  14787. "description": "商品名称",
  14788. "type": "string"
  14789. },
  14790. "goodsstatus": {
  14791. "description": "商品状态- 2:未上市 3:上市",
  14792. "type": "integer"
  14793. },
  14794. "lasttradedate": {
  14795. "description": "最后交易日期(状态:待退市)",
  14796. "type": "string"
  14797. },
  14798. "listingdate": {
  14799. "description": "交易开始日期",
  14800. "type": "string"
  14801. },
  14802. "marketid": {
  14803. "description": "所属市场ID",
  14804. "type": "integer"
  14805. },
  14806. "picurls": {
  14807. "description": "介绍图片[多张用逗号分隔]",
  14808. "type": "string"
  14809. },
  14810. "presaledqty": {
  14811. "description": "已预售量(预售结束时更新)",
  14812. "type": "integer"
  14813. },
  14814. "presaleqty": {
  14815. "description": "预售数量",
  14816. "type": "integer"
  14817. },
  14818. "quoteminunit": {
  14819. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14820. "type": "integer"
  14821. },
  14822. "refprice": {
  14823. "description": "参考价格[一口价]",
  14824. "type": "number"
  14825. },
  14826. "relatedgoodsid": {
  14827. "description": "关联交易合约ID",
  14828. "type": "integer"
  14829. },
  14830. "trademode": {
  14831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14832. "type": "integer"
  14833. },
  14834. "videourls": {
  14835. "description": "介绍视频[多张用逗号分隔]",
  14836. "type": "string"
  14837. }
  14838. }
  14839. },
  14840. "models.HsbyPreGoodsDetail": {
  14841. "type": "object",
  14842. "required": [
  14843. "goodscode",
  14844. "goodsid",
  14845. "goodsname",
  14846. "marketid",
  14847. "trademode"
  14848. ],
  14849. "properties": {
  14850. "agreeunit": {
  14851. "description": "合约单位",
  14852. "type": "number"
  14853. },
  14854. "buymaxqty": {
  14855. "description": "购买上限 [71] - 0为不限",
  14856. "type": "integer"
  14857. },
  14858. "currency": {
  14859. "description": "货币",
  14860. "type": "string"
  14861. },
  14862. "currencysign": {
  14863. "description": "货币符号",
  14864. "type": "string"
  14865. },
  14866. "customername": {
  14867. "description": "发行单位",
  14868. "type": "string"
  14869. },
  14870. "decimalplace": {
  14871. "description": "报价小数位",
  14872. "type": "integer"
  14873. },
  14874. "desccityid": {
  14875. "description": "目的地(市)ID",
  14876. "type": "integer"
  14877. },
  14878. "descprovinceid": {
  14879. "description": "目的地(省)ID",
  14880. "type": "integer"
  14881. },
  14882. "enableqty": {
  14883. "description": "剩余数量",
  14884. "type": "integer"
  14885. },
  14886. "goodscode": {
  14887. "description": "商品代码(内部)",
  14888. "type": "string"
  14889. },
  14890. "goodsdesc": {
  14891. "description": "商品详情",
  14892. "type": "string"
  14893. },
  14894. "goodsid": {
  14895. "description": "商品ID(自增ID SEQ_GOODS)",
  14896. "type": "integer"
  14897. },
  14898. "goodsname": {
  14899. "description": "商品名称",
  14900. "type": "string"
  14901. },
  14902. "goodsstatus": {
  14903. "description": "商品状态- 2:未上市 3:上市",
  14904. "type": "integer"
  14905. },
  14906. "goodunit": {
  14907. "description": "报价单位",
  14908. "type": "string"
  14909. },
  14910. "lasttradedate": {
  14911. "description": "最后交易日期(状态:待退市)",
  14912. "type": "string"
  14913. },
  14914. "listingdate": {
  14915. "description": "交易开始日期",
  14916. "type": "string"
  14917. },
  14918. "lotsize": {
  14919. "description": "手数最小变动单位",
  14920. "type": "integer"
  14921. },
  14922. "marketid": {
  14923. "description": "所属市场ID",
  14924. "type": "integer"
  14925. },
  14926. "picurls": {
  14927. "description": "介绍图片[多张用逗号分隔]",
  14928. "type": "string"
  14929. },
  14930. "presaledqty": {
  14931. "description": "已预售量(预售结束时更新)",
  14932. "type": "integer"
  14933. },
  14934. "presaleqty": {
  14935. "description": "预售数量",
  14936. "type": "integer"
  14937. },
  14938. "quoteminunit": {
  14939. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14940. "type": "integer"
  14941. },
  14942. "refprice": {
  14943. "description": "参考价格[一口价]",
  14944. "type": "number"
  14945. },
  14946. "relatedgoodsid": {
  14947. "description": "关联交易合约ID",
  14948. "type": "integer"
  14949. },
  14950. "stepvalue": {
  14951. "description": "价格最小变动单位",
  14952. "type": "number"
  14953. },
  14954. "trademode": {
  14955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14956. "type": "integer"
  14957. },
  14958. "vendorattr": {
  14959. "description": "供应商附件(多张,逗号分隔)",
  14960. "type": "string"
  14961. },
  14962. "vendorname": {
  14963. "description": "供应商名称",
  14964. "type": "string"
  14965. },
  14966. "vendorphone": {
  14967. "description": "供应商客服电话",
  14968. "type": "string"
  14969. },
  14970. "videourls": {
  14971. "description": "介绍视频[多张用逗号分隔]",
  14972. "type": "string"
  14973. }
  14974. }
  14975. },
  14976. "models.HsbySellCollectionOrder": {
  14977. "type": "object",
  14978. "required": [
  14979. "goodscode",
  14980. "goodsname",
  14981. "tradeid",
  14982. "trademode"
  14983. ],
  14984. "properties": {
  14985. "agreeunit": {
  14986. "description": "合约单位",
  14987. "type": "number"
  14988. },
  14989. "buyaccountid": {
  14990. "description": "买方账号ID[报价币种]",
  14991. "type": "integer"
  14992. },
  14993. "buyorderid": {
  14994. "description": "买方委托单号",
  14995. "type": "string"
  14996. },
  14997. "createtime": {
  14998. "description": "创建时间",
  14999. "type": "string"
  15000. },
  15001. "currencysign": {
  15002. "description": "货币符号",
  15003. "type": "string"
  15004. },
  15005. "decimalplace": {
  15006. "description": "报价小数位",
  15007. "type": "integer"
  15008. },
  15009. "goodscode": {
  15010. "description": "商品代码(内部)",
  15011. "type": "string"
  15012. },
  15013. "goodsid": {
  15014. "description": "商品ID",
  15015. "type": "integer"
  15016. },
  15017. "goodsname": {
  15018. "description": "商品名称",
  15019. "type": "string"
  15020. },
  15021. "marketid": {
  15022. "description": "市场ID",
  15023. "type": "integer"
  15024. },
  15025. "offamount": {
  15026. "description": "优惠金额",
  15027. "type": "number"
  15028. },
  15029. "payamount": {
  15030. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15031. "type": "number"
  15032. },
  15033. "payflag": {
  15034. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15035. "type": "integer"
  15036. },
  15037. "paylimitedtime": {
  15038. "description": "支付期限",
  15039. "type": "string"
  15040. },
  15041. "paytime": {
  15042. "description": "付款时间",
  15043. "type": "string"
  15044. },
  15045. "picurls": {
  15046. "description": "商品介绍图片[多张用逗号分隔]",
  15047. "type": "string"
  15048. },
  15049. "sellaccountid": {
  15050. "description": "卖方账号ID[报价币种]",
  15051. "type": "integer"
  15052. },
  15053. "sellorderid": {
  15054. "description": "卖方委托单号",
  15055. "type": "string"
  15056. },
  15057. "tradeamount": {
  15058. "description": "成交金额",
  15059. "type": "number"
  15060. },
  15061. "tradecharge": {
  15062. "description": "成交手续费(买方)",
  15063. "type": "number"
  15064. },
  15065. "tradedate": {
  15066. "description": "交易日(yyyyMMdd)",
  15067. "type": "string"
  15068. },
  15069. "tradeid": {
  15070. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15071. "type": "string"
  15072. },
  15073. "trademode": {
  15074. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15075. "type": "integer"
  15076. },
  15077. "tradeprice": {
  15078. "description": "成交价格",
  15079. "type": "number"
  15080. },
  15081. "tradeqty": {
  15082. "description": "成交数量",
  15083. "type": "integer"
  15084. }
  15085. }
  15086. },
  15087. "models.HsbySellMyDetail": {
  15088. "type": "object",
  15089. "required": [
  15090. "accountid",
  15091. "buyorsell",
  15092. "goodscode",
  15093. "goodsid",
  15094. "goodsname",
  15095. "marketid",
  15096. "orderid",
  15097. "time",
  15098. "trademode"
  15099. ],
  15100. "properties": {
  15101. "accountid": {
  15102. "description": "账户ID[报价币种]",
  15103. "type": "integer"
  15104. },
  15105. "agreeunit": {
  15106. "description": "合约单位",
  15107. "type": "number"
  15108. },
  15109. "buyorsell": {
  15110. "description": "买卖 - 0:买 1:卖",
  15111. "type": "integer"
  15112. },
  15113. "currencysign": {
  15114. "description": "货币符号",
  15115. "type": "string"
  15116. },
  15117. "decimalplace": {
  15118. "description": "报价小数位",
  15119. "type": "integer"
  15120. },
  15121. "goodscode": {
  15122. "description": "商品代码(内部)",
  15123. "type": "string"
  15124. },
  15125. "goodsid": {
  15126. "description": "商品ID",
  15127. "type": "integer"
  15128. },
  15129. "goodsname": {
  15130. "description": "商品名称",
  15131. "type": "string"
  15132. },
  15133. "marketid": {
  15134. "description": "市场ID",
  15135. "type": "integer"
  15136. },
  15137. "orderid": {
  15138. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15139. "type": "string"
  15140. },
  15141. "ordertype": {
  15142. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15143. "type": "integer"
  15144. },
  15145. "picurls": {
  15146. "description": "介绍图片[多张用逗号分隔]",
  15147. "type": "string"
  15148. },
  15149. "price": {
  15150. "description": "价格",
  15151. "type": "number"
  15152. },
  15153. "qty": {
  15154. "description": "数量",
  15155. "type": "integer"
  15156. },
  15157. "time": {
  15158. "description": "时间",
  15159. "type": "string"
  15160. },
  15161. "trademode": {
  15162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15163. "type": "integer"
  15164. },
  15165. "vendorname": {
  15166. "description": "供应商名称",
  15167. "type": "string"
  15168. }
  15169. }
  15170. },
  15171. "models.HsbyTopGoods": {
  15172. "type": "object",
  15173. "required": [
  15174. "goodscode",
  15175. "goodsid",
  15176. "goodsname",
  15177. "marketid",
  15178. "trademode"
  15179. ],
  15180. "properties": {
  15181. "agreeunit": {
  15182. "description": "合约单位",
  15183. "type": "number"
  15184. },
  15185. "currency": {
  15186. "description": "货币",
  15187. "type": "string"
  15188. },
  15189. "currencysign": {
  15190. "description": "货币符号",
  15191. "type": "string"
  15192. },
  15193. "decimalplace": {
  15194. "description": "报价小数位",
  15195. "type": "integer"
  15196. },
  15197. "desccityid": {
  15198. "description": "目的地(市)",
  15199. "type": "integer"
  15200. },
  15201. "descprovinceid": {
  15202. "description": "目的地(省)",
  15203. "type": "integer"
  15204. },
  15205. "goodscode": {
  15206. "description": "商品代码(内部)",
  15207. "type": "string"
  15208. },
  15209. "goodsid": {
  15210. "description": "商品ID(自增ID SEQ_GOODS)",
  15211. "type": "integer"
  15212. },
  15213. "goodsname": {
  15214. "description": "商品名称",
  15215. "type": "string"
  15216. },
  15217. "hotindex": {
  15218. "description": "景点热度",
  15219. "type": "integer"
  15220. },
  15221. "last": {
  15222. "description": "现价",
  15223. "type": "number"
  15224. },
  15225. "marketid": {
  15226. "description": "所属市场ID",
  15227. "type": "integer"
  15228. },
  15229. "picurls": {
  15230. "description": "介绍图片[多张用逗号分隔]",
  15231. "type": "string"
  15232. },
  15233. "quoteminunit": {
  15234. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15235. "type": "integer"
  15236. },
  15237. "trademode": {
  15238. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15239. "type": "integer"
  15240. },
  15241. "videourls": {
  15242. "description": "介绍视频[多张用逗号分隔]",
  15243. "type": "string"
  15244. }
  15245. }
  15246. },
  15247. "models.HybsMyBuyOrderDetail": {
  15248. "type": "object",
  15249. "required": [
  15250. "accountid",
  15251. "buyorsell",
  15252. "goodscode",
  15253. "goodsid",
  15254. "goodsname",
  15255. "marketid",
  15256. "orderid",
  15257. "orderqty",
  15258. "ordertime",
  15259. "trademode"
  15260. ],
  15261. "properties": {
  15262. "accountid": {
  15263. "description": "账户ID[报价币种]",
  15264. "type": "integer"
  15265. },
  15266. "agreeunit": {
  15267. "description": "合约单位",
  15268. "type": "number"
  15269. },
  15270. "buyorsell": {
  15271. "description": "买卖 - 0:买 1:卖",
  15272. "type": "integer"
  15273. },
  15274. "cancelqty": {
  15275. "description": "撤单数量",
  15276. "type": "integer"
  15277. },
  15278. "currencysign": {
  15279. "description": "货币符号",
  15280. "type": "string"
  15281. },
  15282. "decimalplace": {
  15283. "description": "报价小数位",
  15284. "type": "integer"
  15285. },
  15286. "goodscode": {
  15287. "description": "商品代码(内部)",
  15288. "type": "string"
  15289. },
  15290. "goodsid": {
  15291. "description": "商品ID",
  15292. "type": "integer"
  15293. },
  15294. "goodsname": {
  15295. "description": "商品名称",
  15296. "type": "string"
  15297. },
  15298. "listingselecttype": {
  15299. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15300. "type": "integer"
  15301. },
  15302. "marketid": {
  15303. "description": "市场ID",
  15304. "type": "integer"
  15305. },
  15306. "mybuystatus": {
  15307. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15308. "type": "integer"
  15309. },
  15310. "orderamount": {
  15311. "description": "委托金额",
  15312. "type": "number"
  15313. },
  15314. "orderid": {
  15315. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15316. "type": "string"
  15317. },
  15318. "orderprice": {
  15319. "description": "委托价格",
  15320. "type": "number"
  15321. },
  15322. "orderqty": {
  15323. "description": "委托数量",
  15324. "type": "integer"
  15325. },
  15326. "orderstatus": {
  15327. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15328. "type": "integer"
  15329. },
  15330. "ordertime": {
  15331. "description": "委托时间",
  15332. "type": "string"
  15333. },
  15334. "picurls1": {
  15335. "description": "预售商品介绍图片[多张用逗号分隔]",
  15336. "type": "string"
  15337. },
  15338. "picurls2": {
  15339. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15340. "type": "string"
  15341. },
  15342. "trademode": {
  15343. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15344. "type": "integer"
  15345. },
  15346. "tradeqty": {
  15347. "description": "成交数量",
  15348. "type": "integer"
  15349. },
  15350. "vendorname1": {
  15351. "description": "预售商品供应商名称",
  15352. "type": "string"
  15353. },
  15354. "vendorname2": {
  15355. "description": "挂牌商品供应商名称",
  15356. "type": "string"
  15357. }
  15358. }
  15359. },
  15360. "models.Loginaccount": {
  15361. "type": "object",
  15362. "required": [
  15363. "loginid"
  15364. ],
  15365. "properties": {
  15366. "canoutin": {
  15367. "description": "是否可出入金 - 0:不可 1:可",
  15368. "type": "integer"
  15369. },
  15370. "clientroleid": {
  15371. "description": "终端角色ID",
  15372. "type": "integer"
  15373. },
  15374. "haslogined": {
  15375. "description": "是否已登录 - 0:未登录 1:已登录",
  15376. "type": "integer"
  15377. },
  15378. "hasupdatedpwd": {
  15379. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15380. "type": "integer"
  15381. },
  15382. "lastloginip": {
  15383. "description": "最新登录地址",
  15384. "type": "string"
  15385. },
  15386. "lastloginmode": {
  15387. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15388. "type": "integer"
  15389. },
  15390. "lastloginremark": {
  15391. "description": "最新登录描述",
  15392. "type": "string"
  15393. },
  15394. "lastlogintime": {
  15395. "description": "最新登录时间",
  15396. "type": "string"
  15397. },
  15398. "logincode": {
  15399. "description": "登录代码",
  15400. "type": "string"
  15401. },
  15402. "loginfailnum": {
  15403. "description": "连续登录失败次数(登录成功时清零)",
  15404. "type": "integer"
  15405. },
  15406. "loginid": {
  15407. "description": "登陆账号",
  15408. "type": "integer"
  15409. },
  15410. "loginport": {
  15411. "description": "最新登录端口",
  15412. "type": "integer"
  15413. },
  15414. "loginstatus": {
  15415. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15416. "type": "integer"
  15417. },
  15418. "loginusertype": {
  15419. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15420. "type": "integer"
  15421. },
  15422. "modifierid": {
  15423. "description": "修改人",
  15424. "type": "integer"
  15425. },
  15426. "modifytime": {
  15427. "description": "修改时间",
  15428. "type": "string"
  15429. },
  15430. "pwdwrongcount": {
  15431. "description": "密码错误次数",
  15432. "type": "integer"
  15433. },
  15434. "taaccountrighttype": {
  15435. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15436. "type": "integer"
  15437. },
  15438. "unfreezetime": {
  15439. "description": "账户解冻时间",
  15440. "type": "string"
  15441. },
  15442. "userid": {
  15443. "description": "用户ID",
  15444. "type": "integer"
  15445. }
  15446. }
  15447. },
  15448. "models.Market": {
  15449. "type": "object",
  15450. "required": [
  15451. "marketid",
  15452. "marketstatus",
  15453. "openmethod",
  15454. "reckonpricealgorithm",
  15455. "trademode",
  15456. "tradeproperty"
  15457. ],
  15458. "properties": {
  15459. "auctionwrtype": {
  15460. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15461. "type": "integer"
  15462. },
  15463. "canacceptquote": {
  15464. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15465. "type": "integer"
  15466. },
  15467. "cangoodsexercise": {
  15468. "description": "[期权]是否可现货行权- 0:否 1:是",
  15469. "type": "integer"
  15470. },
  15471. "cangoodsexercisetype": {
  15472. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15473. "type": "integer"
  15474. },
  15475. "canmanualquotestrike": {
  15476. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15477. "type": "integer"
  15478. },
  15479. "canmutistage": {
  15480. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15481. "type": "integer"
  15482. },
  15483. "canpreexercise": {
  15484. "description": "[期权]是否可预申报- 0:否 1:是",
  15485. "type": "integer"
  15486. },
  15487. "clearinterval": {
  15488. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15489. "type": "integer"
  15490. },
  15491. "contracttmp": {
  15492. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15493. "type": "string"
  15494. },
  15495. "exchareaid": {
  15496. "description": "所属交易所,可以没有",
  15497. "type": "integer"
  15498. },
  15499. "goodstype": {
  15500. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15501. "type": "integer"
  15502. },
  15503. "hasrebate": {
  15504. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15505. "type": "integer"
  15506. },
  15507. "hastradecredit": {
  15508. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15509. "type": "integer"
  15510. },
  15511. "haswr": {
  15512. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15513. "type": "integer"
  15514. },
  15515. "isdeductmargin": {
  15516. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15517. "type": "integer"
  15518. },
  15519. "isrecordsource": {
  15520. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15521. "type": "integer"
  15522. },
  15523. "isreleasemargin": {
  15524. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15525. "type": "integer"
  15526. },
  15527. "marginformula": {
  15528. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15529. "type": "integer"
  15530. },
  15531. "marginformula2": {
  15532. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15533. "type": "integer"
  15534. },
  15535. "marketid": {
  15536. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15537. "type": "integer"
  15538. },
  15539. "marketname": {
  15540. "description": "市场名称",
  15541. "type": "string"
  15542. },
  15543. "marketserviceid": {
  15544. "description": "市场服务ID",
  15545. "type": "integer"
  15546. },
  15547. "marketstatus": {
  15548. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15549. "type": "integer"
  15550. },
  15551. "markettype": {
  15552. "description": "市场类型- 1:非交易服务 2:交易服务",
  15553. "type": "integer"
  15554. },
  15555. "matchermode": {
  15556. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15557. "type": "integer"
  15558. },
  15559. "openmethod": {
  15560. "description": "开盘模式 - 0 自动 1手动",
  15561. "type": "integer"
  15562. },
  15563. "otcuserid": {
  15564. "description": "场外期权做市商[场外期权]",
  15565. "type": "integer"
  15566. },
  15567. "outersynctime": {
  15568. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15569. "type": "string"
  15570. },
  15571. "pendingflag": {
  15572. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15573. "type": "integer"
  15574. },
  15575. "pendingtime": {
  15576. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15577. "type": "string"
  15578. },
  15579. "performancetempid": {
  15580. "description": "履约计划模板ID - 作废",
  15581. "type": "integer"
  15582. },
  15583. "premiumquotemode": {
  15584. "description": "权利金报价方式 - 1:自动 2:手动",
  15585. "type": "integer"
  15586. },
  15587. "rebateratio": {
  15588. "description": "返利比率[竞价式]",
  15589. "type": "number"
  15590. },
  15591. "reckonorder": {
  15592. "description": "结算顺序",
  15593. "type": "integer"
  15594. },
  15595. "reckonpricealgorithm": {
  15596. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15597. "type": "integer"
  15598. },
  15599. "reckonpriceparam": {
  15600. "description": "结算价参数",
  15601. "type": "integer"
  15602. },
  15603. "reckontime": {
  15604. "description": "结算时间[通道交易-对冲](HH:mm)",
  15605. "type": "string"
  15606. },
  15607. "roleprioritytype": {
  15608. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15609. "type": "integer"
  15610. },
  15611. "selllistingauditflag": {
  15612. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15613. "type": "integer"
  15614. },
  15615. "trademarkettype": {
  15616. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15617. "type": "integer"
  15618. },
  15619. "trademode": {
  15620. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15621. "type": "integer"
  15622. },
  15623. "tradeproperty": {
  15624. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15625. "type": "integer"
  15626. },
  15627. "tradetype": {
  15628. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15629. "type": "integer"
  15630. }
  15631. }
  15632. },
  15633. "models.Marketrun": {
  15634. "type": "object",
  15635. "required": [
  15636. "marketid",
  15637. "nexttradedate",
  15638. "reckonflag",
  15639. "runstatus",
  15640. "tradedate",
  15641. "tradedate2"
  15642. ],
  15643. "properties": {
  15644. "afternexttradedate": {
  15645. "description": "下下交易日",
  15646. "type": "string"
  15647. },
  15648. "clearquoteflag": {
  15649. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15650. "type": "integer"
  15651. },
  15652. "lastreckondate": {
  15653. "description": "最新交易日(结算成功)",
  15654. "type": "string"
  15655. },
  15656. "machinedate": {
  15657. "description": "机器时间",
  15658. "type": "string"
  15659. },
  15660. "manualflag": {
  15661. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15662. "type": "integer"
  15663. },
  15664. "marketid": {
  15665. "description": "市场ID",
  15666. "type": "integer"
  15667. },
  15668. "nexttradedate": {
  15669. "description": "下一交易日",
  15670. "type": "string"
  15671. },
  15672. "pretradedate": {
  15673. "description": "上一交易日",
  15674. "type": "string"
  15675. },
  15676. "reckonflag": {
  15677. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15678. "type": "integer"
  15679. },
  15680. "runstatus": {
  15681. "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.今日免清算",
  15682. "type": "integer"
  15683. },
  15684. "sectionid": {
  15685. "description": "时间段号[多时段时用]",
  15686. "type": "integer"
  15687. },
  15688. "tradedate": {
  15689. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15690. "type": "string"
  15691. },
  15692. "tradedate2": {
  15693. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15694. "type": "string"
  15695. },
  15696. "updatetime": {
  15697. "description": "更新时间",
  15698. "type": "string"
  15699. }
  15700. }
  15701. },
  15702. "models.Messageboard": {
  15703. "type": "object",
  15704. "required": [
  15705. "messageboardid"
  15706. ],
  15707. "properties": {
  15708. "contactnum": {
  15709. "description": "联系电话",
  15710. "type": "string"
  15711. },
  15712. "createtime": {
  15713. "description": "创建时间",
  15714. "type": "string"
  15715. },
  15716. "message": {
  15717. "description": "留言信息",
  15718. "type": "string"
  15719. },
  15720. "messageboardid": {
  15721. "description": "留言簿ID(SEQ_MessageBoard)",
  15722. "type": "integer"
  15723. },
  15724. "userid": {
  15725. "description": "用户ID",
  15726. "type": "integer"
  15727. }
  15728. }
  15729. },
  15730. "models.MyCoupon": {
  15731. "type": "object",
  15732. "required": [
  15733. "accountid",
  15734. "coupontypeid"
  15735. ],
  15736. "properties": {
  15737. "accountid": {
  15738. "description": "资金账户ID",
  15739. "type": "integer"
  15740. },
  15741. "areauserid": {
  15742. "description": "所属机构",
  15743. "type": "integer"
  15744. },
  15745. "conditionvalue": {
  15746. "description": "条件阈值(可为0)",
  15747. "type": "number"
  15748. },
  15749. "couponcategroy": {
  15750. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15751. "type": "integer"
  15752. },
  15753. "couponname": {
  15754. "description": "优惠券名称",
  15755. "type": "string"
  15756. },
  15757. "coupontypeid": {
  15758. "description": "优惠券类型ID",
  15759. "type": "string"
  15760. },
  15761. "couponvalue": {
  15762. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15763. "type": "number"
  15764. },
  15765. "curfreezeqty": {
  15766. "description": "期末冻结数量",
  15767. "type": "integer"
  15768. },
  15769. "curqty": {
  15770. "description": "期末数量",
  15771. "type": "integer"
  15772. },
  15773. "isgeneral": {
  15774. "description": "是否通用券 - 0:否 1:是",
  15775. "type": "integer"
  15776. },
  15777. "isunusable": {
  15778. "description": "是否不可用",
  15779. "type": "boolean"
  15780. },
  15781. "limitedflag": {
  15782. "description": "是否指定商品 - 0:不限 1:限制",
  15783. "type": "integer"
  15784. },
  15785. "limitedgoodsids": {
  15786. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15787. "type": "string"
  15788. },
  15789. "orifreezeqty": {
  15790. "description": "期初冻结数量",
  15791. "type": "integer"
  15792. },
  15793. "oriqty": {
  15794. "description": "期初数量",
  15795. "type": "integer"
  15796. },
  15797. "reasontype": {
  15798. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15799. "type": "integer"
  15800. },
  15801. "todaydecrease": {
  15802. "description": "今日减少",
  15803. "type": "integer"
  15804. },
  15805. "todayincrease": {
  15806. "description": "今日增加",
  15807. "type": "integer"
  15808. },
  15809. "userid": {
  15810. "description": "用户ID",
  15811. "type": "integer"
  15812. },
  15813. "userscope": {
  15814. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15815. "type": "string"
  15816. }
  15817. }
  15818. },
  15819. "models.MyCouponHold": {
  15820. "type": "object",
  15821. "required": [
  15822. "couponholdid"
  15823. ],
  15824. "properties": {
  15825. "accountid": {
  15826. "description": "资金账户ID",
  15827. "type": "integer"
  15828. },
  15829. "conditionvalue": {
  15830. "description": "条件阈值(可为0)",
  15831. "type": "number"
  15832. },
  15833. "couponcategroy": {
  15834. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15835. "type": "integer"
  15836. },
  15837. "couponholdid": {
  15838. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15839. "type": "string"
  15840. },
  15841. "couponname": {
  15842. "description": "优惠券名称",
  15843. "type": "string"
  15844. },
  15845. "coupontypeid": {
  15846. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15847. "type": "string"
  15848. },
  15849. "couponvalue": {
  15850. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15851. "type": "number"
  15852. },
  15853. "createtime": {
  15854. "description": "创建时间",
  15855. "type": "string"
  15856. },
  15857. "enddate": {
  15858. "description": "结束日期",
  15859. "type": "string"
  15860. },
  15861. "giveapplyid": {
  15862. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15863. "type": "integer"
  15864. },
  15865. "holdstatus": {
  15866. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15867. "type": "integer"
  15868. },
  15869. "isgeneral": {
  15870. "description": "是否通用券 - 0:否 1:是",
  15871. "type": "integer"
  15872. },
  15873. "limitedflag": {
  15874. "description": "是否指定商品 - 0:不限 1:限制",
  15875. "type": "integer"
  15876. },
  15877. "limitedgoodsids": {
  15878. "description": "指定商品IDs[逗号分隔]",
  15879. "type": "string"
  15880. },
  15881. "qty": {
  15882. "description": "数量(按1平铺)",
  15883. "type": "integer"
  15884. },
  15885. "startdate": {
  15886. "description": "开始日期",
  15887. "type": "string"
  15888. },
  15889. "userid": {
  15890. "description": "用户ID",
  15891. "type": "integer"
  15892. },
  15893. "userscope": {
  15894. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15895. "type": "string"
  15896. }
  15897. }
  15898. },
  15899. "models.MyUsedCoupon": {
  15900. "type": "object",
  15901. "required": [
  15902. "coupontypeid",
  15903. "orderid"
  15904. ],
  15905. "properties": {
  15906. "accountid": {
  15907. "description": "资金账户ID(买方)",
  15908. "type": "integer"
  15909. },
  15910. "conditionvalue": {
  15911. "description": "条件阈值(可为0)",
  15912. "type": "number"
  15913. },
  15914. "couponcategroy": {
  15915. "description": "种类 - 1:现金券 2:折扣券",
  15916. "type": "integer"
  15917. },
  15918. "couponname": {
  15919. "description": "优惠券名称",
  15920. "type": "string"
  15921. },
  15922. "coupontypeid": {
  15923. "description": "优惠券类型ID(买方)",
  15924. "type": "string"
  15925. },
  15926. "couponvalue": {
  15927. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15928. "type": "number"
  15929. },
  15930. "createtime": {
  15931. "description": "创建时间",
  15932. "type": "string"
  15933. },
  15934. "goodsid": {
  15935. "description": "商品ID",
  15936. "type": "integer"
  15937. },
  15938. "handlestatus": {
  15939. "description": "处理状态",
  15940. "type": "integer"
  15941. },
  15942. "marketid": {
  15943. "description": "市场ID",
  15944. "type": "integer"
  15945. },
  15946. "offamount": {
  15947. "description": "优惠金额",
  15948. "type": "number"
  15949. },
  15950. "orderid": {
  15951. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15952. "type": "string"
  15953. },
  15954. "sellaccountid": {
  15955. "description": "资金账户ID(卖方)",
  15956. "type": "integer"
  15957. },
  15958. "tradeamount": {
  15959. "description": "成交金额",
  15960. "type": "number"
  15961. },
  15962. "tradeid": {
  15963. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15964. "type": "string"
  15965. },
  15966. "usedqty": {
  15967. "description": "使用数量",
  15968. "type": "integer"
  15969. }
  15970. }
  15971. },
  15972. "models.OperationPrimaryMenu": {
  15973. "type": "object",
  15974. "properties": {
  15975. "Children": {
  15976. "description": "二级功能菜单",
  15977. "type": "array",
  15978. "items": {
  15979. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15980. }
  15981. },
  15982. "Key": {
  15983. "description": "菜单KEY",
  15984. "type": "string"
  15985. },
  15986. "Label": {
  15987. "description": "菜单标题",
  15988. "type": "string"
  15989. }
  15990. }
  15991. },
  15992. "models.OperationSecondaryMenu": {
  15993. "type": "object",
  15994. "properties": {
  15995. "Key": {
  15996. "description": "菜单KEY",
  15997. "type": "string"
  15998. },
  15999. "Label": {
  16000. "description": "菜单标题",
  16001. "type": "string"
  16002. },
  16003. "TabList": {
  16004. "description": "三级功能菜单",
  16005. "type": "array",
  16006. "items": {
  16007. "$ref": "#/definitions/models.OperationTabMenu"
  16008. }
  16009. }
  16010. }
  16011. },
  16012. "models.OperationTabMenu": {
  16013. "type": "object",
  16014. "properties": {
  16015. "Key": {
  16016. "description": "菜单KEY",
  16017. "type": "string"
  16018. },
  16019. "Label": {
  16020. "description": "菜单标题",
  16021. "type": "string"
  16022. }
  16023. }
  16024. },
  16025. "models.PendingAuditBizModel": {
  16026. "type": "object",
  16027. "properties": {
  16028. "accountid": {
  16029. "description": "现货账户",
  16030. "type": "string"
  16031. },
  16032. "areaname": {
  16033. "description": "所属部门",
  16034. "type": "string"
  16035. },
  16036. "bizid": {
  16037. "description": "业务ID",
  16038. "type": "string"
  16039. },
  16040. "bizname": {
  16041. "description": "业务名称",
  16042. "type": "string"
  16043. },
  16044. "status": {
  16045. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16046. "type": "integer"
  16047. },
  16048. "type": {
  16049. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16050. "type": "integer"
  16051. }
  16052. }
  16053. },
  16054. "models.QueryErrorInfosRsp": {
  16055. "type": "object",
  16056. "required": [
  16057. "errorid"
  16058. ],
  16059. "properties": {
  16060. "description": {
  16061. "description": "异常描述",
  16062. "type": "string"
  16063. },
  16064. "errorcode": {
  16065. "description": "异常代码",
  16066. "type": "string"
  16067. },
  16068. "errorid": {
  16069. "description": "异常ID",
  16070. "type": "integer"
  16071. },
  16072. "modulecode": {
  16073. "description": "所属模块",
  16074. "type": "string"
  16075. },
  16076. "operatecode": {
  16077. "description": "所属操作",
  16078. "type": "string"
  16079. },
  16080. "rownumber": {
  16081. "description": "行号",
  16082. "type": "string"
  16083. }
  16084. }
  16085. },
  16086. "models.QueryHedgeOrderDetailRsp": {
  16087. "type": "object",
  16088. "properties": {
  16089. "accountid": {
  16090. "description": "账户ID",
  16091. "type": "integer"
  16092. },
  16093. "buyorsell": {
  16094. "description": "买卖 - 0:买 1:卖",
  16095. "type": "integer"
  16096. },
  16097. "channelbuildtype": {
  16098. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16099. "type": "integer"
  16100. },
  16101. "channelinnerorderstatus": {
  16102. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16103. "type": "integer"
  16104. },
  16105. "channeloperatetype": {
  16106. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16107. "type": "integer"
  16108. },
  16109. "closetype": {
  16110. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16111. "type": "integer"
  16112. },
  16113. "curexchangerate": {
  16114. "description": "当前汇率",
  16115. "type": "number"
  16116. },
  16117. "exchangefullname": {
  16118. "description": "外部交易所全称",
  16119. "type": "string"
  16120. },
  16121. "goodscode": {
  16122. "description": "商品代码(内部)",
  16123. "type": "string"
  16124. },
  16125. "goodsid": {
  16126. "description": "商品ID",
  16127. "type": "integer"
  16128. },
  16129. "goodsname": {
  16130. "description": "商品名称",
  16131. "type": "string"
  16132. },
  16133. "marketid": {
  16134. "description": "市场ID",
  16135. "type": "integer"
  16136. },
  16137. "openfreezemargin": {
  16138. "description": "冻结保证金(冻结交易金额)",
  16139. "type": "number"
  16140. },
  16141. "orderid": {
  16142. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16143. "type": "string"
  16144. },
  16145. "orderprice": {
  16146. "description": "委托价格(账户)",
  16147. "type": "number"
  16148. },
  16149. "orderqty": {
  16150. "description": "委托数量",
  16151. "type": "integer"
  16152. },
  16153. "ordertime": {
  16154. "description": "委托时间",
  16155. "type": "string"
  16156. },
  16157. "pricemode": {
  16158. "description": "取价方式 - 1:市价 2: 限价",
  16159. "type": "integer"
  16160. },
  16161. "tradedate": {
  16162. "description": "交易日(yyyyMMdd)",
  16163. "type": "string"
  16164. },
  16165. "tradeqty": {
  16166. "description": "成交数量",
  16167. "type": "integer"
  16168. }
  16169. }
  16170. },
  16171. "models.QueryHedgeTradeDetailRsp": {
  16172. "type": "object",
  16173. "properties": {
  16174. "accountid": {
  16175. "description": "账号ID",
  16176. "type": "integer"
  16177. },
  16178. "buyorsell": {
  16179. "description": "方向 - 0:买 1:卖",
  16180. "type": "integer"
  16181. },
  16182. "channelbuildtype": {
  16183. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16184. "type": "integer"
  16185. },
  16186. "closecharge": {
  16187. "description": "平仓手续费(账户)",
  16188. "type": "number"
  16189. },
  16190. "closecharge2": {
  16191. "description": "平仓手续费(商品)",
  16192. "type": "number"
  16193. },
  16194. "closetype": {
  16195. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16196. "type": "integer"
  16197. },
  16198. "curexchangerate": {
  16199. "description": "当前汇率",
  16200. "type": "number"
  16201. },
  16202. "exchangefullname": {
  16203. "description": "外部交易所全称",
  16204. "type": "string"
  16205. },
  16206. "goodscode": {
  16207. "description": "商品代码(内部)",
  16208. "type": "string"
  16209. },
  16210. "goodsid": {
  16211. "description": "商品ID",
  16212. "type": "integer"
  16213. },
  16214. "goodsname": {
  16215. "description": "商品名称",
  16216. "type": "string"
  16217. },
  16218. "marketid": {
  16219. "description": "市场ID",
  16220. "type": "integer"
  16221. },
  16222. "opencharge": {
  16223. "description": "建仓手续费(账户)",
  16224. "type": "number"
  16225. },
  16226. "opencharge2": {
  16227. "description": "建仓手续费(商品)",
  16228. "type": "number"
  16229. },
  16230. "orderid": {
  16231. "description": "委托单号",
  16232. "type": "string"
  16233. },
  16234. "tradeamount": {
  16235. "description": "成交金额(账户)",
  16236. "type": "number"
  16237. },
  16238. "tradedate": {
  16239. "description": "交易日(yyyyMMdd)",
  16240. "type": "string"
  16241. },
  16242. "tradeid": {
  16243. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16244. "type": "string"
  16245. },
  16246. "tradeprice": {
  16247. "description": "成交价格",
  16248. "type": "number"
  16249. },
  16250. "tradeqty": {
  16251. "description": "成交数量",
  16252. "type": "integer"
  16253. },
  16254. "tradetime": {
  16255. "description": "成交时间",
  16256. "type": "string"
  16257. },
  16258. "tradetype": {
  16259. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16260. "type": "integer"
  16261. }
  16262. }
  16263. },
  16264. "models.QuotePrimaryMenu": {
  16265. "type": "object",
  16266. "properties": {
  16267. "Index": {
  16268. "description": "序号",
  16269. "type": "integer"
  16270. },
  16271. "Key": {
  16272. "description": "键名",
  16273. "type": "string"
  16274. },
  16275. "Name": {
  16276. "description": "菜单名称",
  16277. "type": "string"
  16278. },
  16279. "SubMenus": {
  16280. "description": "子菜单",
  16281. "type": "array",
  16282. "items": {
  16283. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16284. }
  16285. },
  16286. "SubTitleType": {
  16287. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16288. "type": "integer"
  16289. },
  16290. "TradeModes": {
  16291. "description": "包含市场交易类型",
  16292. "type": "string"
  16293. }
  16294. }
  16295. },
  16296. "models.QuoteSecondaryMenu": {
  16297. "type": "object",
  16298. "properties": {
  16299. "ExExchangeCode": {
  16300. "description": "外部交易所代码",
  16301. "type": "string"
  16302. },
  16303. "ExExchangeID": {
  16304. "description": "外部交易所ID",
  16305. "type": "integer"
  16306. },
  16307. "GoodsGroupIDs": {
  16308. "description": "商品组ID列表",
  16309. "type": "array",
  16310. "items": {
  16311. "type": "integer"
  16312. }
  16313. },
  16314. "Index": {
  16315. "description": "序号",
  16316. "type": "integer"
  16317. },
  16318. "MarketID": {
  16319. "description": "市场ID",
  16320. "type": "integer"
  16321. },
  16322. "MenuTitle": {
  16323. "description": "菜单标题(市场名称或外部交易所名称)",
  16324. "type": "string"
  16325. },
  16326. "TradeMode": {
  16327. "description": "交易模式",
  16328. "type": "integer"
  16329. }
  16330. }
  16331. },
  16332. "models.RelatedGoodsEx": {
  16333. "type": "object",
  16334. "properties": {
  16335. "goodscode": {
  16336. "description": "商品代码",
  16337. "type": "string"
  16338. },
  16339. "goodsid": {
  16340. "description": "商品id",
  16341. "type": "integer"
  16342. },
  16343. "goodsname": {
  16344. "description": "商品名称",
  16345. "type": "string"
  16346. }
  16347. }
  16348. },
  16349. "models.SearchGoods": {
  16350. "type": "object",
  16351. "required": [
  16352. "goodscode",
  16353. "goodsid",
  16354. "goodsname",
  16355. "marketid",
  16356. "trademode"
  16357. ],
  16358. "properties": {
  16359. "goodscode": {
  16360. "description": "商品代码(内部)",
  16361. "type": "string"
  16362. },
  16363. "goodsid": {
  16364. "description": "商品ID(自增ID SEQ_GOODS)",
  16365. "type": "integer"
  16366. },
  16367. "goodsname": {
  16368. "description": "商品名称",
  16369. "type": "string"
  16370. },
  16371. "marketid": {
  16372. "description": "所属市场ID",
  16373. "type": "integer"
  16374. },
  16375. "marketname": {
  16376. "description": "市场名称",
  16377. "type": "string"
  16378. },
  16379. "trademode": {
  16380. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16381. "type": "integer"
  16382. }
  16383. }
  16384. },
  16385. "models.Systemparam": {
  16386. "type": "object",
  16387. "required": [
  16388. "paramcode"
  16389. ],
  16390. "properties": {
  16391. "loginid": {
  16392. "description": "更新用户账号,登录账号",
  16393. "type": "string"
  16394. },
  16395. "modifyflag": {
  16396. "description": "修改标志0 不允许修改 1 允许修改",
  16397. "type": "integer"
  16398. },
  16399. "paramcode": {
  16400. "description": "参数代码",
  16401. "type": "string"
  16402. },
  16403. "paramname": {
  16404. "description": "参数名",
  16405. "type": "string"
  16406. },
  16407. "paramtype": {
  16408. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16409. "type": "integer"
  16410. },
  16411. "paramvalue": {
  16412. "description": "参数值",
  16413. "type": "string"
  16414. },
  16415. "paramvalue2": {
  16416. "description": "参数值(CLOB)",
  16417. "type": "string"
  16418. },
  16419. "regexpress": {
  16420. "description": "正则表达式",
  16421. "type": "string"
  16422. },
  16423. "remark": {
  16424. "description": "备注",
  16425. "type": "string"
  16426. },
  16427. "serverip": {
  16428. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16429. "type": "string"
  16430. },
  16431. "showflag": {
  16432. "description": "是否显示0 不显示 1 显示",
  16433. "type": "integer"
  16434. },
  16435. "updatetime": {
  16436. "description": "更新时间",
  16437. "type": "string"
  16438. },
  16439. "userid": {
  16440. "description": "更新用户ID",
  16441. "type": "integer"
  16442. }
  16443. }
  16444. },
  16445. "models.Szdz3convertconfig": {
  16446. "type": "object",
  16447. "required": [
  16448. "converttype",
  16449. "innergoodsid",
  16450. "outergoodscode"
  16451. ],
  16452. "properties": {
  16453. "canin": {
  16454. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16455. "type": "integer"
  16456. },
  16457. "canout": {
  16458. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16459. "type": "integer"
  16460. },
  16461. "converttype": {
  16462. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16463. "type": "integer"
  16464. },
  16465. "createtime": {
  16466. "description": "创建时间",
  16467. "type": "string"
  16468. },
  16469. "creatorid": {
  16470. "description": "创建人",
  16471. "type": "integer"
  16472. },
  16473. "daymaxvalue": {
  16474. "description": "当日最大转入限制",
  16475. "type": "number"
  16476. },
  16477. "freezedays": {
  16478. "description": "冻结天数 [5:花生米转交易]",
  16479. "type": "integer"
  16480. },
  16481. "innergoodsid": {
  16482. "description": "内部商品ID[交易]",
  16483. "type": "integer"
  16484. },
  16485. "inratio": {
  16486. "description": "目标值",
  16487. "type": "integer"
  16488. },
  16489. "modifierid": {
  16490. "description": "修改人",
  16491. "type": "integer"
  16492. },
  16493. "modifytime": {
  16494. "description": "修改时间",
  16495. "type": "string"
  16496. },
  16497. "outergoodscode": {
  16498. "description": "外部商品代码[JD\\PD]",
  16499. "type": "string"
  16500. },
  16501. "outratio": {
  16502. "description": "源值",
  16503. "type": "integer"
  16504. },
  16505. "pddecimalplace": {
  16506. "description": "PD小数位",
  16507. "type": "integer"
  16508. },
  16509. "timemaxvalue": {
  16510. "description": "单次最大转入限制",
  16511. "type": "number"
  16512. },
  16513. "timeminvalue": {
  16514. "description": "单次最小转入限制",
  16515. "type": "number"
  16516. }
  16517. }
  16518. },
  16519. "models.Szdz3searchwhitelist": {
  16520. "type": "object",
  16521. "required": [
  16522. "userid"
  16523. ],
  16524. "properties": {
  16525. "createtime": {
  16526. "description": "创建时间",
  16527. "type": "string"
  16528. },
  16529. "creatorid": {
  16530. "description": "创建人",
  16531. "type": "integer"
  16532. },
  16533. "modifierid": {
  16534. "description": "修改人",
  16535. "type": "integer"
  16536. },
  16537. "modifytime": {
  16538. "description": "修改时间",
  16539. "type": "string"
  16540. },
  16541. "userid": {
  16542. "description": "用户ID",
  16543. "type": "integer"
  16544. }
  16545. }
  16546. },
  16547. "models.Taaccount": {
  16548. "type": "object",
  16549. "required": [
  16550. "accountid",
  16551. "userid"
  16552. ],
  16553. "properties": {
  16554. "accountflag": {
  16555. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16556. "type": "integer"
  16557. },
  16558. "accountid": {
  16559. "description": "资金账户ID",
  16560. "type": "integer"
  16561. },
  16562. "accountname": {
  16563. "description": "账户名称",
  16564. "type": "string"
  16565. },
  16566. "balance": {
  16567. "description": "期初余额",
  16568. "type": "number"
  16569. },
  16570. "capitalbalance": {
  16571. "description": "本金余额[外部子账户实际出入金余额]",
  16572. "type": "number"
  16573. },
  16574. "changeflag": {
  16575. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16576. "type": "integer"
  16577. },
  16578. "changetime": {
  16579. "description": "账户状态变更时间",
  16580. "type": "string"
  16581. },
  16582. "closepl": {
  16583. "description": "今日平仓盈亏",
  16584. "type": "number"
  16585. },
  16586. "creditdecrease": {
  16587. "description": "今日授信减少",
  16588. "type": "number"
  16589. },
  16590. "creditincrease": {
  16591. "description": "今日授信增加",
  16592. "type": "number"
  16593. },
  16594. "currencyid": {
  16595. "description": "货币ID",
  16596. "type": "integer"
  16597. },
  16598. "currentbalance": {
  16599. "description": "期末余额",
  16600. "type": "number"
  16601. },
  16602. "freezecharge": {
  16603. "description": "手续费冻结",
  16604. "type": "number"
  16605. },
  16606. "freezemargin": {
  16607. "description": "冻结保证金",
  16608. "type": "number"
  16609. },
  16610. "fromaccountid": {
  16611. "description": "所属上级账户",
  16612. "type": "integer"
  16613. },
  16614. "inamount": {
  16615. "description": "今日入金金额(包括三方入金)",
  16616. "type": "number"
  16617. },
  16618. "ismain": {
  16619. "description": "是否母账号 0:不是母账户 1:是母账户",
  16620. "type": "integer"
  16621. },
  16622. "ismarketaccount": {
  16623. "description": "是否机构接单账号 0:不是 1:是",
  16624. "type": "integer"
  16625. },
  16626. "isreckonaccount": {
  16627. "description": "是否机构分润账号 0:不是 1:是",
  16628. "type": "integer"
  16629. },
  16630. "mortgagecredit": {
  16631. "description": "授信金额",
  16632. "type": "number"
  16633. },
  16634. "orifreezecharge": {
  16635. "description": "期初手续费冻结",
  16636. "type": "number"
  16637. },
  16638. "orifreezemargin": {
  16639. "description": "期初冻结保证金",
  16640. "type": "number"
  16641. },
  16642. "orimortgagecredit": {
  16643. "description": "期初授信金额",
  16644. "type": "number"
  16645. },
  16646. "oriothercredit": {
  16647. "description": "期初其它授信金额",
  16648. "type": "number"
  16649. },
  16650. "oriotherfreezemargin": {
  16651. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16652. "type": "number"
  16653. },
  16654. "orioutamountfreeze": {
  16655. "description": "期初出金冻结",
  16656. "type": "number"
  16657. },
  16658. "oriusedmargin": {
  16659. "description": "期初占用保证金",
  16660. "type": "number"
  16661. },
  16662. "othercredit": {
  16663. "description": "其它授信金额",
  16664. "type": "number"
  16665. },
  16666. "othercreditdecrease": {
  16667. "description": "今日其它授信减少",
  16668. "type": "number"
  16669. },
  16670. "othercreditincrease": {
  16671. "description": "今日其它授信增加",
  16672. "type": "number"
  16673. },
  16674. "otherfreezemargin": {
  16675. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16676. "type": "number"
  16677. },
  16678. "otherincome": {
  16679. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16680. "type": "number"
  16681. },
  16682. "otherpay": {
  16683. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16684. "type": "number"
  16685. },
  16686. "outamount": {
  16687. "description": "今日出金金额(包括三方出金)",
  16688. "type": "number"
  16689. },
  16690. "outamountfreeze": {
  16691. "description": "出金冻结",
  16692. "type": "number"
  16693. },
  16694. "outthreshold": {
  16695. "description": "出金阈值",
  16696. "type": "number"
  16697. },
  16698. "parentaccountid": {
  16699. "description": "所属根账号",
  16700. "type": "integer"
  16701. },
  16702. "paycharge": {
  16703. "description": "今日手续费支出",
  16704. "type": "number"
  16705. },
  16706. "relatedaccountstatus": {
  16707. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16708. "type": "integer"
  16709. },
  16710. "relateduserid": {
  16711. "description": "关联用户",
  16712. "type": "integer"
  16713. },
  16714. "serivcegroup": {
  16715. "description": "服务分组",
  16716. "type": "integer"
  16717. },
  16718. "signstatus": {
  16719. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16720. "type": "integer"
  16721. },
  16722. "sublevelpath": {
  16723. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16724. "type": "string"
  16725. },
  16726. "taaccounttype": {
  16727. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16728. "type": "integer"
  16729. },
  16730. "thirdinamount": {
  16731. "description": "今日三方入金",
  16732. "type": "number"
  16733. },
  16734. "thirdoutamount": {
  16735. "description": "今日三方出金",
  16736. "type": "number"
  16737. },
  16738. "tradestatus": {
  16739. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16740. "type": "integer"
  16741. },
  16742. "tradestatuschangetime": {
  16743. "description": "激活时间",
  16744. "type": "string"
  16745. },
  16746. "transferamount": {
  16747. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16748. "type": "number"
  16749. },
  16750. "usedmargin": {
  16751. "description": "占用保证金",
  16752. "type": "number"
  16753. },
  16754. "userid": {
  16755. "description": "用户ID",
  16756. "type": "integer"
  16757. }
  16758. }
  16759. },
  16760. "models.Tablecolumnconfig": {
  16761. "type": "object",
  16762. "required": [
  16763. "autoid"
  16764. ],
  16765. "properties": {
  16766. "aligntype": {
  16767. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16768. "type": "integer"
  16769. },
  16770. "autoid": {
  16771. "description": "AutoID",
  16772. "type": "integer"
  16773. },
  16774. "columnfield": {
  16775. "description": "列字段",
  16776. "type": "string"
  16777. },
  16778. "columntitle": {
  16779. "description": "列Title",
  16780. "type": "string"
  16781. },
  16782. "columnwidth": {
  16783. "description": "列宽",
  16784. "type": "string"
  16785. },
  16786. "formatterstring": {
  16787. "description": "格式化字符",
  16788. "type": "string"
  16789. },
  16790. "formattertype": {
  16791. "description": "格式化类型",
  16792. "type": "string"
  16793. },
  16794. "groupname": {
  16795. "description": "表头分组名称",
  16796. "type": "string"
  16797. },
  16798. "isshow": {
  16799. "description": "是否显示 - 0:不显示 1:显示",
  16800. "type": "integer"
  16801. },
  16802. "needsummary": {
  16803. "description": "是否需要汇总 - 0:不需要 1:需要",
  16804. "type": "integer"
  16805. },
  16806. "orderindex": {
  16807. "description": "顺序",
  16808. "type": "integer"
  16809. },
  16810. "remark": {
  16811. "description": "备注",
  16812. "type": "string"
  16813. },
  16814. "summarytype": {
  16815. "description": "汇总类型 - 1:加总 2:最后一个",
  16816. "type": "integer"
  16817. },
  16818. "tablekey": {
  16819. "description": "列表Key",
  16820. "type": "string"
  16821. }
  16822. }
  16823. },
  16824. "models.Useraccount": {
  16825. "type": "object",
  16826. "required": [
  16827. "userid"
  16828. ],
  16829. "properties": {
  16830. "accountname": {
  16831. "description": "账户名称(机构名称)",
  16832. "type": "string"
  16833. },
  16834. "accountstatus": {
  16835. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16836. "type": "integer"
  16837. },
  16838. "auditremark": {
  16839. "description": "审核备注",
  16840. "type": "string"
  16841. },
  16842. "audittime": {
  16843. "description": "审核时间",
  16844. "type": "string"
  16845. },
  16846. "audituserid": {
  16847. "description": "审核人",
  16848. "type": "integer"
  16849. },
  16850. "broker": {
  16851. "description": "所属经纪人ID",
  16852. "type": "integer"
  16853. },
  16854. "canceltime": {
  16855. "description": "销户时间",
  16856. "type": "string"
  16857. },
  16858. "canceluserid": {
  16859. "description": "销户人",
  16860. "type": "integer"
  16861. },
  16862. "createtime": {
  16863. "description": "创建时间",
  16864. "type": "string"
  16865. },
  16866. "creatorid": {
  16867. "description": "创建人",
  16868. "type": "integer"
  16869. },
  16870. "hasauth": {
  16871. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16872. "type": "integer"
  16873. },
  16874. "isanonymous": {
  16875. "description": "是否匿名下单 - 0:否 1:是",
  16876. "type": "integer"
  16877. },
  16878. "maxinvestornum": {
  16879. "description": "最大用户数(经纪会员下投资者个数)",
  16880. "type": "integer"
  16881. },
  16882. "memberuserid": {
  16883. "description": "所属会员ID",
  16884. "type": "integer"
  16885. },
  16886. "modifierid": {
  16887. "description": "修改人",
  16888. "type": "integer"
  16889. },
  16890. "modifyremark": {
  16891. "description": "变更备注",
  16892. "type": "string"
  16893. },
  16894. "modifystatus": {
  16895. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16896. "type": "integer"
  16897. },
  16898. "modifytime": {
  16899. "description": "修改时间",
  16900. "type": "string"
  16901. },
  16902. "parentuserid": {
  16903. "description": "所属机构ID",
  16904. "type": "integer"
  16905. },
  16906. "reckonaccountid": {
  16907. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16908. "type": "integer"
  16909. },
  16910. "refercount": {
  16911. "description": "推荐总人数",
  16912. "type": "integer"
  16913. },
  16914. "refereeuserid": {
  16915. "description": "推荐人ID",
  16916. "type": "integer"
  16917. },
  16918. "refernum": {
  16919. "description": "推荐码",
  16920. "type": "string"
  16921. },
  16922. "subarealevelpath": {
  16923. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16924. "type": "string"
  16925. },
  16926. "userid": {
  16927. "description": "用户ID",
  16928. "type": "integer"
  16929. },
  16930. "usertype": {
  16931. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16932. "type": "integer"
  16933. }
  16934. }
  16935. },
  16936. "models.Userfavoritegoods": {
  16937. "type": "object",
  16938. "required": [
  16939. "goodsid"
  16940. ],
  16941. "properties": {
  16942. "goodsid": {
  16943. "description": "商品ID",
  16944. "type": "integer"
  16945. }
  16946. }
  16947. },
  16948. "models.Userinfo": {
  16949. "type": "object",
  16950. "required": [
  16951. "userid"
  16952. ],
  16953. "properties": {
  16954. "address": {
  16955. "description": "地址",
  16956. "type": "string"
  16957. },
  16958. "attachment1": {
  16959. "description": "附件1",
  16960. "type": "string"
  16961. },
  16962. "attachment2": {
  16963. "description": "附件2",
  16964. "type": "string"
  16965. },
  16966. "bankaccount": {
  16967. "description": "银行帐号 (加密存储)",
  16968. "type": "string"
  16969. },
  16970. "bankaccountname": {
  16971. "description": "收款人名称",
  16972. "type": "string"
  16973. },
  16974. "bankcardfrontphotourl": {
  16975. "description": "银行卡正面照地址",
  16976. "type": "string"
  16977. },
  16978. "bankid": {
  16979. "description": "银行编码",
  16980. "type": "string"
  16981. },
  16982. "bankname": {
  16983. "description": "银行名称",
  16984. "type": "string"
  16985. },
  16986. "biznature": {
  16987. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16988. "type": "integer"
  16989. },
  16990. "bizscope": {
  16991. "description": "企业经营范围(企业)",
  16992. "type": "string"
  16993. },
  16994. "cardbackphotourl": {
  16995. "description": "证件背面图片地址",
  16996. "type": "string"
  16997. },
  16998. "cardfrontphotourl": {
  16999. "description": "证件正面图片地址",
  17000. "type": "string"
  17001. },
  17002. "cardnum": {
  17003. "description": "证件号码(加密存储)",
  17004. "type": "string"
  17005. },
  17006. "cardtypeid": {
  17007. "description": "证件类型ID",
  17008. "type": "integer"
  17009. },
  17010. "cityid": {
  17011. "description": "市",
  17012. "type": "integer"
  17013. },
  17014. "company": {
  17015. "description": "公司(个人)",
  17016. "type": "string"
  17017. },
  17018. "contactname": {
  17019. "description": "联系人",
  17020. "type": "string"
  17021. },
  17022. "countryid": {
  17023. "description": "国家",
  17024. "type": "integer"
  17025. },
  17026. "createtime": {
  17027. "description": "创建时间",
  17028. "type": "string"
  17029. },
  17030. "creatorid": {
  17031. "description": "创建人",
  17032. "type": "integer"
  17033. },
  17034. "customername": {
  17035. "description": "客户名称(企业名称)",
  17036. "type": "string"
  17037. },
  17038. "districtid": {
  17039. "description": "地区",
  17040. "type": "integer"
  17041. },
  17042. "email": {
  17043. "description": "邮件(加密存储)",
  17044. "type": "string"
  17045. },
  17046. "fax": {
  17047. "description": "传真(加密存储)",
  17048. "type": "string"
  17049. },
  17050. "halfbodyphotourl": {
  17051. "description": "半身照地址",
  17052. "type": "string"
  17053. },
  17054. "hasencrypt": {
  17055. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17056. "type": "integer"
  17057. },
  17058. "headurl": {
  17059. "description": "头像地址",
  17060. "type": "string"
  17061. },
  17062. "legalcardbackphotourl": {
  17063. "description": "法人身份证背面照地址",
  17064. "type": "string"
  17065. },
  17066. "legalcardfrontphotourl": {
  17067. "description": "法人身份证正面照地址",
  17068. "type": "string"
  17069. },
  17070. "legalpersonname": {
  17071. "description": "法人姓名(企业)",
  17072. "type": "string"
  17073. },
  17074. "mobile": {
  17075. "description": "手机号码(加密存储)",
  17076. "type": "string"
  17077. },
  17078. "mobile2": {
  17079. "description": "手机号码[明文-尚志]",
  17080. "type": "string"
  17081. },
  17082. "modifierid": {
  17083. "description": "修改人",
  17084. "type": "integer"
  17085. },
  17086. "modifiertime": {
  17087. "description": "修改时间",
  17088. "type": "string"
  17089. },
  17090. "needinvoice": {
  17091. "description": "是否需要发票 - 0:不需要 1:需要",
  17092. "type": "integer"
  17093. },
  17094. "nickname": {
  17095. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17096. "type": "string"
  17097. },
  17098. "openmode": {
  17099. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17100. "type": "integer"
  17101. },
  17102. "otherurl": {
  17103. "description": "其它图片地址[使用分号分隔]",
  17104. "type": "string"
  17105. },
  17106. "postalcode": {
  17107. "description": "邮政编码",
  17108. "type": "string"
  17109. },
  17110. "provinceid": {
  17111. "description": "省",
  17112. "type": "integer"
  17113. },
  17114. "qq": {
  17115. "description": "QQ(加密存储",
  17116. "type": "string"
  17117. },
  17118. "remark": {
  17119. "description": "备注",
  17120. "type": "string"
  17121. },
  17122. "sex": {
  17123. "description": "用户性别 0: 女 1: 男",
  17124. "type": "integer"
  17125. },
  17126. "signpdfurl": {
  17127. "description": "签约pdf文件",
  17128. "type": "string"
  17129. },
  17130. "telphone": {
  17131. "description": "联系电话(加密存储)",
  17132. "type": "string"
  17133. },
  17134. "userid": {
  17135. "description": "用户ID",
  17136. "type": "integer"
  17137. },
  17138. "userinfotype": {
  17139. "description": "用户信息类型 - 1:个人 2:企业",
  17140. "type": "integer"
  17141. },
  17142. "userstatus": {
  17143. "description": "用户状态 - 1:正常 2:注销",
  17144. "type": "integer"
  17145. },
  17146. "usertype": {
  17147. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17148. "type": "integer"
  17149. },
  17150. "wechat": {
  17151. "description": "微信(加密存储)",
  17152. "type": "string"
  17153. },
  17154. "wskhinfo": {
  17155. "description": "开户申请信息(JSON)",
  17156. "type": "string"
  17157. }
  17158. }
  17159. },
  17160. "models.WRCategoryTree": {
  17161. "type": "object",
  17162. "required": [
  17163. "categoryid"
  17164. ],
  17165. "properties": {
  17166. "areauserid": {
  17167. "description": "所属机构",
  17168. "type": "integer"
  17169. },
  17170. "categorydesc": {
  17171. "description": "类别描述",
  17172. "type": "string"
  17173. },
  17174. "categoryid": {
  17175. "description": "类别ID(SEQ_WRCATEGORY)",
  17176. "type": "integer"
  17177. },
  17178. "categoryname": {
  17179. "description": "类别名称",
  17180. "type": "string"
  17181. },
  17182. "iconurl": {
  17183. "description": "图标地址",
  17184. "type": "string"
  17185. },
  17186. "orderindex": {
  17187. "description": "顺序",
  17188. "type": "integer"
  17189. },
  17190. "parentcategoryid": {
  17191. "description": "父类别ID",
  17192. "type": "integer"
  17193. },
  17194. "subcategory": {
  17195. "description": "子分类",
  17196. "type": "array",
  17197. "items": {
  17198. "$ref": "#/definitions/models.WRCategoryTree"
  17199. }
  17200. }
  17201. }
  17202. },
  17203. "models.WRSConverTDetail": {
  17204. "type": "object",
  17205. "properties": {
  17206. "convertratio": {
  17207. "description": "套保系数",
  17208. "type": "number"
  17209. },
  17210. "deliverygoodsid": {
  17211. "description": "现货品种ID",
  17212. "type": "integer"
  17213. },
  17214. "middlegoodscode": {
  17215. "description": "套保品种代码",
  17216. "type": "string"
  17217. },
  17218. "middlegoodsid": {
  17219. "description": "套保品种ID",
  17220. "type": "integer"
  17221. },
  17222. "middlegoodsname": {
  17223. "description": "套保品种名称",
  17224. "type": "string"
  17225. },
  17226. "modifytime": {
  17227. "description": "修改时间",
  17228. "type": "string"
  17229. },
  17230. "wrstandardid": {
  17231. "description": "现货商品ID",
  17232. "type": "integer"
  17233. }
  17234. }
  17235. },
  17236. "models.WRStandardInfo": {
  17237. "type": "object",
  17238. "required": [
  17239. "wrstandardid"
  17240. ],
  17241. "properties": {
  17242. "createtime": {
  17243. "description": "创建时间",
  17244. "type": "string"
  17245. },
  17246. "creatorid": {
  17247. "description": "创建人",
  17248. "type": "integer"
  17249. },
  17250. "deliverygoodsid": {
  17251. "description": "品种ID",
  17252. "type": "integer"
  17253. },
  17254. "deliverygoodsname": {
  17255. "description": "交割商品名称",
  17256. "type": "string"
  17257. },
  17258. "factoryitemjson": {
  17259. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17260. "type": "string"
  17261. },
  17262. "isvalid": {
  17263. "description": "是否有效 - 0:无效 1:有效",
  17264. "type": "integer"
  17265. },
  17266. "minivalue": {
  17267. "description": "最小变动值",
  17268. "type": "integer"
  17269. },
  17270. "minivaluedp": {
  17271. "description": "最小变动值小数位",
  17272. "type": "integer"
  17273. },
  17274. "realminivalue": {
  17275. "description": "实际最小变动值",
  17276. "type": "integer"
  17277. },
  17278. "realminivaluedp": {
  17279. "description": "实际最小变动值小数位",
  17280. "type": "integer"
  17281. },
  17282. "unitid": {
  17283. "description": "单位ID",
  17284. "type": "integer"
  17285. },
  17286. "unitname": {
  17287. "description": "单位",
  17288. "type": "string"
  17289. },
  17290. "updatetime": {
  17291. "description": "更新时间",
  17292. "type": "string"
  17293. },
  17294. "updatorid": {
  17295. "description": "更新人",
  17296. "type": "integer"
  17297. },
  17298. "wrsstatus": {
  17299. "description": "状态 - 作废 - 0:未激活 1:正常",
  17300. "type": "integer"
  17301. },
  17302. "wrstandardcode": {
  17303. "description": "仓单标准代码",
  17304. "type": "string"
  17305. },
  17306. "wrstandardid": {
  17307. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17308. "type": "integer"
  17309. },
  17310. "wrstandardname": {
  17311. "description": "仓单标准名称",
  17312. "type": "string"
  17313. }
  17314. }
  17315. },
  17316. "models.Warehouseinfo": {
  17317. "type": "object",
  17318. "required": [
  17319. "autoid",
  17320. "warehousecode"
  17321. ],
  17322. "properties": {
  17323. "address": {
  17324. "description": "详细地址",
  17325. "type": "string"
  17326. },
  17327. "areauserid": {
  17328. "description": "所属机构",
  17329. "type": "integer"
  17330. },
  17331. "autoid": {
  17332. "description": "自增ID",
  17333. "type": "integer"
  17334. },
  17335. "cityid": {
  17336. "description": "市",
  17337. "type": "integer"
  17338. },
  17339. "contactname": {
  17340. "description": "联系人",
  17341. "type": "string"
  17342. },
  17343. "contactnum": {
  17344. "description": "联系电话",
  17345. "type": "string"
  17346. },
  17347. "countryid": {
  17348. "description": "国家",
  17349. "type": "integer"
  17350. },
  17351. "createtime": {
  17352. "description": "创建时间",
  17353. "type": "string"
  17354. },
  17355. "districtid": {
  17356. "description": "区",
  17357. "type": "integer"
  17358. },
  17359. "hasvideo": {
  17360. "description": "是否有视频 - 0:无 1:有",
  17361. "type": "integer"
  17362. },
  17363. "provinceid": {
  17364. "description": "省",
  17365. "type": "integer"
  17366. },
  17367. "remark": {
  17368. "description": "审核备注",
  17369. "type": "string"
  17370. },
  17371. "videourl": {
  17372. "description": "视频地址",
  17373. "type": "string"
  17374. },
  17375. "warehousecode": {
  17376. "description": "仓库代码",
  17377. "type": "string"
  17378. },
  17379. "warehousename": {
  17380. "description": "仓库名称",
  17381. "type": "string"
  17382. },
  17383. "warehousestatus": {
  17384. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17385. "type": "integer"
  17386. },
  17387. "warehousetype": {
  17388. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17389. "type": "integer"
  17390. }
  17391. }
  17392. },
  17393. "order.QueryHisTradeDetailRsp": {
  17394. "type": "object",
  17395. "required": [
  17396. "accountid",
  17397. "buyorsell",
  17398. "goodsid",
  17399. "histradedate",
  17400. "marketid",
  17401. "memberuserid",
  17402. "orderid",
  17403. "tradeamount",
  17404. "tradedate",
  17405. "tradeid",
  17406. "tradeprice",
  17407. "tradeqty",
  17408. "tradetime"
  17409. ],
  17410. "properties": {
  17411. "accountid": {
  17412. "description": "账户ID[报价币种]",
  17413. "type": "integer"
  17414. },
  17415. "buildtype": {
  17416. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17417. "type": "integer"
  17418. },
  17419. "buyorsell": {
  17420. "description": "方向 - 0:买 1:卖",
  17421. "type": "integer"
  17422. },
  17423. "charge": {
  17424. "description": "手续费",
  17425. "type": "number"
  17426. },
  17427. "closecharge": {
  17428. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17429. "type": "number"
  17430. },
  17431. "closeexchagechargevalue": {
  17432. "description": "平仓交易所手续费设置值",
  17433. "type": "number"
  17434. },
  17435. "closefeealgorithm": {
  17436. "description": "平仓手续费收取方式 1:比率 2:固定",
  17437. "type": "integer"
  17438. },
  17439. "closememberchargevalue": {
  17440. "description": "平仓会员手续费设置值",
  17441. "type": "number"
  17442. },
  17443. "closepl": {
  17444. "description": "平仓盈亏",
  17445. "type": "number"
  17446. },
  17447. "closepl2": {
  17448. "description": "平仓盈亏[逐笔]",
  17449. "type": "number"
  17450. },
  17451. "closeqty": {
  17452. "description": "平仓数量(先建后平操作 需要记录)",
  17453. "type": "integer"
  17454. },
  17455. "creditamount": {
  17456. "description": "授信金额",
  17457. "type": "number"
  17458. },
  17459. "gcaccountid": {
  17460. "description": "账户ID[合约币种]",
  17461. "type": "integer"
  17462. },
  17463. "goodscode": {
  17464. "description": "商品代码",
  17465. "type": "string"
  17466. },
  17467. "goodsid": {
  17468. "description": "商品ID",
  17469. "type": "integer"
  17470. },
  17471. "goodsname": {
  17472. "description": "商品名称",
  17473. "type": "string"
  17474. },
  17475. "histradedate": {
  17476. "description": "历史交易日",
  17477. "type": "string"
  17478. },
  17479. "intclosepl": {
  17480. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17481. "type": "integer"
  17482. },
  17483. "isconfirmexercise": {
  17484. "description": "是否确认行权- 0:否 1:是",
  17485. "type": "integer"
  17486. },
  17487. "ismain": {
  17488. "description": "是否主单 - 0:不是 1:是",
  17489. "type": "integer"
  17490. },
  17491. "ispreexercise": {
  17492. "description": "是否预申报- 0:否 1:是",
  17493. "type": "integer"
  17494. },
  17495. "isreckoned": {
  17496. "description": "是否结算 - 0:未结算 1:已结算",
  17497. "type": "integer"
  17498. },
  17499. "isvaliddata": {
  17500. "description": "是否有效 - 0:无效 1:有效",
  17501. "type": "integer"
  17502. },
  17503. "listingselecttype": {
  17504. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17505. "type": "integer"
  17506. },
  17507. "marketid": {
  17508. "description": "市场ID",
  17509. "type": "integer"
  17510. },
  17511. "marketname": {
  17512. "description": "市场名称",
  17513. "type": "string"
  17514. },
  17515. "matchaccountid": {
  17516. "description": "对手账号id",
  17517. "type": "integer"
  17518. },
  17519. "memberuserid": {
  17520. "description": "会员id 个人投资者 需要填写",
  17521. "type": "integer"
  17522. },
  17523. "opencharge": {
  17524. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17525. "type": "number"
  17526. },
  17527. "openexchagechargevalue": {
  17528. "description": "建仓交易所手续费设置值",
  17529. "type": "number"
  17530. },
  17531. "openfeealgorithm": {
  17532. "description": "建仓手续费收取方式 1:比率 2:固定",
  17533. "type": "integer"
  17534. },
  17535. "openmemberchargevalue": {
  17536. "description": "建仓会员手续费设置值",
  17537. "type": "number"
  17538. },
  17539. "openqty": {
  17540. "description": "开仓数量(先建后平操作 需要记录)",
  17541. "type": "integer"
  17542. },
  17543. "optiontype": {
  17544. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17545. "type": "integer"
  17546. },
  17547. "orderid": {
  17548. "description": "委托单号",
  17549. "type": "string"
  17550. },
  17551. "performanceplanid": {
  17552. "description": "履约计划ID[期权]",
  17553. "type": "integer"
  17554. },
  17555. "performancestatus": {
  17556. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17557. "type": "integer"
  17558. },
  17559. "preexerciseprice": {
  17560. "description": "预申报价格",
  17561. "type": "number"
  17562. },
  17563. "premium": {
  17564. "description": "权利金 - [持仓单的权利金]",
  17565. "type": "number"
  17566. },
  17567. "relatedouttradeid": {
  17568. "description": "关联外部成交单ID",
  17569. "type": "integer"
  17570. },
  17571. "status": {
  17572. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17573. "type": "integer"
  17574. },
  17575. "tradeamount": {
  17576. "description": "成交金额[账户币种,用于所有权]",
  17577. "type": "number"
  17578. },
  17579. "tradedate": {
  17580. "description": "交易日(yyyyMMdd)",
  17581. "type": "string"
  17582. },
  17583. "tradeid": {
  17584. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17585. "type": "string"
  17586. },
  17587. "trademode": {
  17588. "description": "交易模式",
  17589. "type": "integer"
  17590. },
  17591. "tradeprice": {
  17592. "description": "成交价格",
  17593. "type": "number"
  17594. },
  17595. "tradeproperty": {
  17596. "description": "交易属性",
  17597. "type": "integer"
  17598. },
  17599. "tradeqty": {
  17600. "description": "成交数量",
  17601. "type": "integer"
  17602. },
  17603. "tradetime": {
  17604. "description": "成交时间",
  17605. "type": "string"
  17606. },
  17607. "tradetype": {
  17608. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17609. "type": "integer"
  17610. }
  17611. }
  17612. },
  17613. "order.QueryHisTradeOrderDetailRsp": {
  17614. "type": "object",
  17615. "required": [
  17616. "accountid",
  17617. "buildtype",
  17618. "buyorsell",
  17619. "goodsid",
  17620. "histradedate",
  17621. "marketid",
  17622. "memberuserid",
  17623. "operatetype",
  17624. "orderid",
  17625. "orderqty",
  17626. "ordertime",
  17627. "pricemode",
  17628. "tradedate",
  17629. "validtype"
  17630. ],
  17631. "properties": {
  17632. "accountid": {
  17633. "description": "账户ID[报价币种]",
  17634. "type": "integer"
  17635. },
  17636. "buildtype": {
  17637. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17638. "type": "integer"
  17639. },
  17640. "buyorsell": {
  17641. "description": "买卖 - 0:买 1:卖",
  17642. "type": "integer"
  17643. },
  17644. "cancelorderid": {
  17645. "description": "撤单单号(撤单时填写)",
  17646. "type": "string"
  17647. },
  17648. "cancelqty": {
  17649. "description": "撤单数量",
  17650. "type": "integer"
  17651. },
  17652. "clientordertime": {
  17653. "description": "客户端委托时间",
  17654. "type": "string"
  17655. },
  17656. "clientticket": {
  17657. "description": "客户端流水号",
  17658. "type": "string"
  17659. },
  17660. "clienttype": {
  17661. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17662. "type": "integer"
  17663. },
  17664. "closeexchagechargevalue": {
  17665. "description": "平仓交易所手续费设置值",
  17666. "type": "number"
  17667. },
  17668. "closefeealgorithm": {
  17669. "description": "平仓手续费收取方式 1:比率 2:固定",
  17670. "type": "integer"
  17671. },
  17672. "closefreezecharge": {
  17673. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17674. "type": "number"
  17675. },
  17676. "closememberchargevalue": {
  17677. "description": "平仓会员手续费设置值",
  17678. "type": "number"
  17679. },
  17680. "closeqty": {
  17681. "description": "平仓数量(先建后平操作 需要记录)",
  17682. "type": "integer"
  17683. },
  17684. "closetradeqty": {
  17685. "description": "平仓成交数量(先建后平操作,需要记录)",
  17686. "type": "integer"
  17687. },
  17688. "closeunfreezecharge": {
  17689. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17690. "type": "number"
  17691. },
  17692. "delistingtype": {
  17693. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17694. "type": "integer"
  17695. },
  17696. "freezecharge": {
  17697. "description": "冻结手续费",
  17698. "type": "number"
  17699. },
  17700. "freezemargin": {
  17701. "description": "冻结保证金(冻结交易金额)",
  17702. "type": "number"
  17703. },
  17704. "gcaccountid": {
  17705. "description": "账户ID[合约币种]",
  17706. "type": "integer"
  17707. },
  17708. "goodscode": {
  17709. "description": "商品代码",
  17710. "type": "string"
  17711. },
  17712. "goodsid": {
  17713. "description": "商品ID",
  17714. "type": "integer"
  17715. },
  17716. "goodsname": {
  17717. "description": "商品名称",
  17718. "type": "string"
  17719. },
  17720. "histradedate": {
  17721. "description": "历史交易日",
  17722. "type": "string"
  17723. },
  17724. "isconfirmexercise": {
  17725. "description": "是否确认行权- 0:否 1:是",
  17726. "type": "integer"
  17727. },
  17728. "ispreexercise": {
  17729. "description": "是否预申报- 0:否 1:是",
  17730. "type": "integer"
  17731. },
  17732. "isvaliddata": {
  17733. "description": "是否有效 - 0:无效 1:有效",
  17734. "type": "integer"
  17735. },
  17736. "listingselecttype": {
  17737. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17738. "type": "integer"
  17739. },
  17740. "marginalgorithm": {
  17741. "description": "保证金收取方式 1:比率 2:固定",
  17742. "type": "integer"
  17743. },
  17744. "marginvalue": {
  17745. "description": "即市保证金设置值",
  17746. "type": "number"
  17747. },
  17748. "marketid": {
  17749. "description": "市场ID",
  17750. "type": "integer"
  17751. },
  17752. "marketmaxsub": {
  17753. "description": "市价最大偏移范围",
  17754. "type": "number"
  17755. },
  17756. "marketname": {
  17757. "description": "市场名称",
  17758. "type": "string"
  17759. },
  17760. "memberuserid": {
  17761. "description": "所属会员UserID",
  17762. "type": "integer"
  17763. },
  17764. "openexchagechargevalue": {
  17765. "description": "建仓交易所手续费设置值",
  17766. "type": "number"
  17767. },
  17768. "openfeealgorithm": {
  17769. "description": "建仓手续费收取方式 1:比率 2:固定",
  17770. "type": "integer"
  17771. },
  17772. "openfreezecharge": {
  17773. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17774. "type": "number"
  17775. },
  17776. "openmemberchargevalue": {
  17777. "description": "建仓会员手续费设置值",
  17778. "type": "number"
  17779. },
  17780. "openqty": {
  17781. "description": "开仓数量(先建后平操作,需要记录)",
  17782. "type": "integer"
  17783. },
  17784. "opentradeqty": {
  17785. "description": "开仓成交数量(先建后平操作,需要记录)",
  17786. "type": "integer"
  17787. },
  17788. "openunfreezecharge": {
  17789. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17790. "type": "number"
  17791. },
  17792. "operatetype": {
  17793. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17794. "type": "integer"
  17795. },
  17796. "operatorid": {
  17797. "description": "登录账号(LoginID)",
  17798. "type": "integer"
  17799. },
  17800. "optiontype": {
  17801. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17802. "type": "integer"
  17803. },
  17804. "orderid": {
  17805. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17806. "type": "string"
  17807. },
  17808. "orderprice": {
  17809. "description": "委托价格",
  17810. "type": "number"
  17811. },
  17812. "orderqty": {
  17813. "description": "委托数量",
  17814. "type": "integer"
  17815. },
  17816. "ordersrc": {
  17817. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17818. "type": "integer"
  17819. },
  17820. "orderstatus": {
  17821. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17822. "type": "integer"
  17823. },
  17824. "ordertime": {
  17825. "description": "委托时间",
  17826. "type": "string"
  17827. },
  17828. "preexerciseprice": {
  17829. "description": "预申报价格",
  17830. "type": "number"
  17831. },
  17832. "premium": {
  17833. "description": "权利金",
  17834. "type": "number"
  17835. },
  17836. "preorderid": {
  17837. "description": "关联预埋单号(止盈止损单时填写)",
  17838. "type": "string"
  17839. },
  17840. "pricemode": {
  17841. "description": "取价方式 - 1:市价 2: 限价",
  17842. "type": "integer"
  17843. },
  17844. "quoteid": {
  17845. "description": "报价单ID",
  17846. "type": "integer"
  17847. },
  17848. "relatedid": {
  17849. "description": "关联单号(交割单)",
  17850. "type": "string"
  17851. },
  17852. "retcode": {
  17853. "description": "错误代码",
  17854. "type": "integer"
  17855. },
  17856. "sessionid": {
  17857. "description": "会话ID",
  17858. "type": "integer"
  17859. },
  17860. "tradedate": {
  17861. "description": "交易日(yyyyMMdd)",
  17862. "type": "string"
  17863. },
  17864. "trademode": {
  17865. "description": "交易模式",
  17866. "type": "integer"
  17867. },
  17868. "tradeproperty": {
  17869. "description": "交易属性",
  17870. "type": "integer"
  17871. },
  17872. "tradeqty": {
  17873. "description": "成交数量",
  17874. "type": "integer"
  17875. },
  17876. "unfreezecharge": {
  17877. "description": "解冻手续费",
  17878. "type": "number"
  17879. },
  17880. "unfreezemargin": {
  17881. "description": "解冻保证金",
  17882. "type": "number"
  17883. },
  17884. "updatetime": {
  17885. "description": "更新时间",
  17886. "type": "string"
  17887. },
  17888. "uuid": {
  17889. "description": "发起端唯一id",
  17890. "type": "string"
  17891. },
  17892. "validtime": {
  17893. "description": "有效期限",
  17894. "type": "string"
  17895. },
  17896. "validtype": {
  17897. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17898. "type": "integer"
  17899. },
  17900. "volumetype": {
  17901. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "order.QueryTradeDetailRsp": {
  17907. "type": "object",
  17908. "required": [
  17909. "accountid",
  17910. "buyorsell",
  17911. "goodsid",
  17912. "marketid",
  17913. "memberuserid",
  17914. "orderid",
  17915. "tradeamount",
  17916. "tradedate",
  17917. "tradeid",
  17918. "tradeprice",
  17919. "tradeqty",
  17920. "tradetime"
  17921. ],
  17922. "properties": {
  17923. "accountid": {
  17924. "description": "账户ID[报价币种]",
  17925. "type": "integer"
  17926. },
  17927. "buildtype": {
  17928. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17929. "type": "integer"
  17930. },
  17931. "buyorsell": {
  17932. "description": "方向 - 0:买 1:卖",
  17933. "type": "integer"
  17934. },
  17935. "charge": {
  17936. "description": "手续费",
  17937. "type": "number"
  17938. },
  17939. "closecharge": {
  17940. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17941. "type": "number"
  17942. },
  17943. "closeexchagechargevalue": {
  17944. "description": "平仓交易所手续费设置值",
  17945. "type": "number"
  17946. },
  17947. "closefeealgorithm": {
  17948. "description": "平仓手续费收取方式 1:比率 2:固定",
  17949. "type": "integer"
  17950. },
  17951. "closememberchargevalue": {
  17952. "description": "平仓会员手续费设置值",
  17953. "type": "number"
  17954. },
  17955. "closepl": {
  17956. "description": "平仓盈亏",
  17957. "type": "number"
  17958. },
  17959. "closepl2": {
  17960. "description": "平仓盈亏[逐笔]",
  17961. "type": "number"
  17962. },
  17963. "closeqty": {
  17964. "description": "平仓数量(先建后平操作 需要记录)",
  17965. "type": "integer"
  17966. },
  17967. "creditamount": {
  17968. "description": "授信金额",
  17969. "type": "number"
  17970. },
  17971. "gcaccountid": {
  17972. "description": "账户ID[合约币种]",
  17973. "type": "integer"
  17974. },
  17975. "goodscode": {
  17976. "description": "商品代码",
  17977. "type": "string"
  17978. },
  17979. "goodsid": {
  17980. "description": "商品ID",
  17981. "type": "integer"
  17982. },
  17983. "goodsname": {
  17984. "description": "商品名称",
  17985. "type": "string"
  17986. },
  17987. "intclosepl": {
  17988. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17989. "type": "integer"
  17990. },
  17991. "isconfirmexercise": {
  17992. "description": "是否确认行权- 0:否 1:是",
  17993. "type": "integer"
  17994. },
  17995. "ismain": {
  17996. "description": "是否主单 - 0:不是 1:是",
  17997. "type": "integer"
  17998. },
  17999. "ispreexercise": {
  18000. "description": "是否预申报- 0:否 1:是",
  18001. "type": "integer"
  18002. },
  18003. "isreckoned": {
  18004. "description": "是否结算 - 0:未结算 1:已结算",
  18005. "type": "integer"
  18006. },
  18007. "listingselecttype": {
  18008. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18009. "type": "integer"
  18010. },
  18011. "marketid": {
  18012. "description": "市场ID",
  18013. "type": "integer"
  18014. },
  18015. "marketname": {
  18016. "description": "市场名称",
  18017. "type": "string"
  18018. },
  18019. "matchaccountid": {
  18020. "description": "对手账号id",
  18021. "type": "integer"
  18022. },
  18023. "memberuserid": {
  18024. "description": "会员id 个人投资者 需要填写",
  18025. "type": "integer"
  18026. },
  18027. "opencharge": {
  18028. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18029. "type": "number"
  18030. },
  18031. "openexchagechargevalue": {
  18032. "description": "建仓交易所手续费设置值",
  18033. "type": "number"
  18034. },
  18035. "openfeealgorithm": {
  18036. "description": "建仓手续费收取方式 1:比率 2:固定",
  18037. "type": "integer"
  18038. },
  18039. "openmemberchargevalue": {
  18040. "description": "建仓会员手续费设置值",
  18041. "type": "number"
  18042. },
  18043. "openqty": {
  18044. "description": "开仓数量(先建后平操作 需要记录)",
  18045. "type": "integer"
  18046. },
  18047. "optiontype": {
  18048. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18049. "type": "integer"
  18050. },
  18051. "orderid": {
  18052. "description": "委托单号",
  18053. "type": "string"
  18054. },
  18055. "performanceplanid": {
  18056. "description": "履约计划ID[期权]",
  18057. "type": "integer"
  18058. },
  18059. "performancestatus": {
  18060. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18061. "type": "integer"
  18062. },
  18063. "preexerciseprice": {
  18064. "description": "预申报价格",
  18065. "type": "number"
  18066. },
  18067. "premium": {
  18068. "description": "权利金 - [持仓单的权利金]",
  18069. "type": "number"
  18070. },
  18071. "relatedouttradeid": {
  18072. "description": "关联外部成交单ID",
  18073. "type": "integer"
  18074. },
  18075. "status": {
  18076. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18077. "type": "integer"
  18078. },
  18079. "tradeamount": {
  18080. "description": "成交金额[账户币种,用于所有权]",
  18081. "type": "number"
  18082. },
  18083. "tradedate": {
  18084. "description": "交易日(yyyyMMdd)",
  18085. "type": "string"
  18086. },
  18087. "tradeid": {
  18088. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18089. "type": "string"
  18090. },
  18091. "trademode": {
  18092. "description": "交易模式",
  18093. "type": "integer"
  18094. },
  18095. "tradeprice": {
  18096. "description": "成交价格",
  18097. "type": "number"
  18098. },
  18099. "tradeproperty": {
  18100. "description": "交易属性",
  18101. "type": "integer"
  18102. },
  18103. "tradeqty": {
  18104. "description": "成交数量",
  18105. "type": "integer"
  18106. },
  18107. "tradetime": {
  18108. "description": "成交时间",
  18109. "type": "string"
  18110. },
  18111. "tradetype": {
  18112. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18113. "type": "integer"
  18114. }
  18115. }
  18116. },
  18117. "order.QueryTradeOrderDetailRsp": {
  18118. "type": "object",
  18119. "required": [
  18120. "accountid",
  18121. "buildtype",
  18122. "buyorsell",
  18123. "goodsid",
  18124. "marketid",
  18125. "operatetype",
  18126. "orderqty",
  18127. "ordertime",
  18128. "pricemode",
  18129. "tradedate",
  18130. "validtype"
  18131. ],
  18132. "properties": {
  18133. "accountid": {
  18134. "description": "账户ID[报价币种]",
  18135. "type": "integer"
  18136. },
  18137. "buildtype": {
  18138. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18139. "type": "integer"
  18140. },
  18141. "buyorsell": {
  18142. "description": "买卖 - 0:买 1:卖",
  18143. "type": "integer"
  18144. },
  18145. "cancelorderid": {
  18146. "description": "撤单单号(撤单时填写)",
  18147. "type": "string"
  18148. },
  18149. "cancelqty": {
  18150. "description": "撤单数量",
  18151. "type": "integer"
  18152. },
  18153. "clienttype": {
  18154. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18155. "type": "integer"
  18156. },
  18157. "closefreezecharge": {
  18158. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18159. "type": "number"
  18160. },
  18161. "closeqty": {
  18162. "description": "平仓数量(先建后平操作 需要记录)",
  18163. "type": "integer"
  18164. },
  18165. "closetradeqty": {
  18166. "description": "平仓成交数量(先建后平操作,需要记录)",
  18167. "type": "integer"
  18168. },
  18169. "closeunfreezecharge": {
  18170. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18171. "type": "number"
  18172. },
  18173. "delistingtype": {
  18174. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18175. "type": "integer"
  18176. },
  18177. "enableqty": {
  18178. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18179. "type": "integer"
  18180. },
  18181. "freezecharge": {
  18182. "description": "冻结手续费",
  18183. "type": "number"
  18184. },
  18185. "freezemargin": {
  18186. "description": "冻结保证金(冻结交易金额)",
  18187. "type": "number"
  18188. },
  18189. "goodscode": {
  18190. "description": "商品代码",
  18191. "type": "string"
  18192. },
  18193. "goodsid": {
  18194. "description": "商品ID",
  18195. "type": "integer"
  18196. },
  18197. "goodsname": {
  18198. "description": "商品名称",
  18199. "type": "string"
  18200. },
  18201. "listingselecttype": {
  18202. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18203. "type": "integer"
  18204. },
  18205. "marketid": {
  18206. "description": "市场ID",
  18207. "type": "integer"
  18208. },
  18209. "marketname": {
  18210. "description": "市场名称",
  18211. "type": "string"
  18212. },
  18213. "openfreezecharge": {
  18214. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18215. "type": "number"
  18216. },
  18217. "openqty": {
  18218. "description": "开仓数量(先建后平操作,需要记录)",
  18219. "type": "integer"
  18220. },
  18221. "opentradeqty": {
  18222. "description": "开仓成交数量(先建后平操作,需要记录)",
  18223. "type": "integer"
  18224. },
  18225. "openunfreezecharge": {
  18226. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18227. "type": "number"
  18228. },
  18229. "operatetype": {
  18230. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18231. "type": "integer"
  18232. },
  18233. "operatorid": {
  18234. "description": "登录账号(LoginID)",
  18235. "type": "integer"
  18236. },
  18237. "orderid": {
  18238. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18239. "type": "string"
  18240. },
  18241. "orderprice": {
  18242. "description": "委托价格",
  18243. "type": "number"
  18244. },
  18245. "orderqty": {
  18246. "description": "委托数量",
  18247. "type": "integer"
  18248. },
  18249. "ordersrc": {
  18250. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18251. "type": "integer"
  18252. },
  18253. "orderstatus": {
  18254. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18255. "type": "integer"
  18256. },
  18257. "ordertime": {
  18258. "description": "委托时间",
  18259. "type": "string"
  18260. },
  18261. "preorderid": {
  18262. "description": "关联预埋单号(止盈止损单时填写)",
  18263. "type": "string"
  18264. },
  18265. "pricemode": {
  18266. "description": "取价方式 - 1:市价 2: 限价",
  18267. "type": "integer"
  18268. },
  18269. "relatedid": {
  18270. "description": "关联单号(交割单)",
  18271. "type": "string"
  18272. },
  18273. "tradedate": {
  18274. "description": "交易日(yyyyMMdd)",
  18275. "type": "string"
  18276. },
  18277. "trademode": {
  18278. "description": "交易模式",
  18279. "type": "integer"
  18280. },
  18281. "tradeqty": {
  18282. "description": "成交数量",
  18283. "type": "integer"
  18284. },
  18285. "unfreezecharge": {
  18286. "description": "解冻手续费",
  18287. "type": "number"
  18288. },
  18289. "unfreezemargin": {
  18290. "description": "解冻保证金",
  18291. "type": "number"
  18292. },
  18293. "validtime": {
  18294. "description": "有效期限",
  18295. "type": "string"
  18296. },
  18297. "validtype": {
  18298. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18299. "type": "integer"
  18300. },
  18301. "volumetype": {
  18302. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18303. "type": "integer"
  18304. }
  18305. }
  18306. },
  18307. "order.QueryTradePositionRsp": {
  18308. "type": "object",
  18309. "required": [
  18310. "goodsid"
  18311. ],
  18312. "properties": {
  18313. "accountid": {
  18314. "description": "资金账户",
  18315. "type": "integer"
  18316. },
  18317. "agreeunit": {
  18318. "description": "合约单位",
  18319. "type": "number"
  18320. },
  18321. "averageprice": {
  18322. "description": "持仓均价",
  18323. "type": "number"
  18324. },
  18325. "buyorsell": {
  18326. "description": "方向 - 0:买 1:卖",
  18327. "type": "integer"
  18328. },
  18329. "closetotalqty": {
  18330. "description": "平仓总数量",
  18331. "type": "integer"
  18332. },
  18333. "curholderamount": {
  18334. "description": "当前持仓总金额[商品币种]",
  18335. "type": "number"
  18336. },
  18337. "curpositionqty": {
  18338. "description": "当前持仓总数量",
  18339. "type": "integer"
  18340. },
  18341. "currencyid": {
  18342. "description": "报价货币ID",
  18343. "type": "integer"
  18344. },
  18345. "curtdposition": {
  18346. "description": "期末今日头寸",
  18347. "type": "integer"
  18348. },
  18349. "decimalplace": {
  18350. "description": "报价小数位",
  18351. "type": "integer"
  18352. },
  18353. "enableqty": {
  18354. "description": "可用量",
  18355. "type": "integer"
  18356. },
  18357. "fretdposition": {
  18358. "description": "冻结今日头寸",
  18359. "type": "integer"
  18360. },
  18361. "frozenqty": {
  18362. "description": "持仓冻结数量",
  18363. "type": "integer"
  18364. },
  18365. "goodscode": {
  18366. "description": "商品代码",
  18367. "type": "string"
  18368. },
  18369. "goodsid": {
  18370. "description": "商品Id",
  18371. "type": "integer"
  18372. },
  18373. "goodsname": {
  18374. "description": "商品名称",
  18375. "type": "string"
  18376. },
  18377. "goodunit": {
  18378. "description": "报价单位",
  18379. "type": "string"
  18380. },
  18381. "goodunitid": {
  18382. "description": "报价单位ID",
  18383. "type": "integer"
  18384. },
  18385. "holderamount": {
  18386. "description": "期初持仓总金额[商品币种]",
  18387. "type": "number"
  18388. },
  18389. "marketid": {
  18390. "description": "所属市场ID",
  18391. "type": "integer"
  18392. },
  18393. "openreqqty": {
  18394. "description": "开仓申请数量(用于比较最大持仓数量)",
  18395. "type": "integer"
  18396. },
  18397. "opentotalqty": {
  18398. "description": "开仓总数量",
  18399. "type": "integer"
  18400. },
  18401. "otherfrozenqty": {
  18402. "description": "持仓其他冻结数量(交割冻结)",
  18403. "type": "integer"
  18404. },
  18405. "positionqty": {
  18406. "description": "期初持仓数量",
  18407. "type": "integer"
  18408. },
  18409. "tnqty": {
  18410. "description": "T+N冻结总量",
  18411. "type": "integer"
  18412. },
  18413. "tnusedqty": {
  18414. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18415. "type": "integer"
  18416. },
  18417. "trademode": {
  18418. "description": "交易模式",
  18419. "type": "integer"
  18420. },
  18421. "usedmargin": {
  18422. "description": "占用保证金[商品币种]",
  18423. "type": "number"
  18424. }
  18425. }
  18426. },
  18427. "quote.HistoryData": {
  18428. "type": "object",
  18429. "properties": {
  18430. "c": {
  18431. "description": "收盘价",
  18432. "type": "number"
  18433. },
  18434. "f": {
  18435. "description": "是否补充数据",
  18436. "type": "boolean"
  18437. },
  18438. "h": {
  18439. "description": "最高价",
  18440. "type": "number"
  18441. },
  18442. "hv": {
  18443. "description": "持仓量",
  18444. "type": "integer"
  18445. },
  18446. "l": {
  18447. "description": "最低价",
  18448. "type": "number"
  18449. },
  18450. "o": {
  18451. "description": "开盘价",
  18452. "type": "number"
  18453. },
  18454. "s": {
  18455. "description": "结算价,日线周期(包括)以上才有",
  18456. "type": "number"
  18457. },
  18458. "ts": {
  18459. "description": "时间",
  18460. "type": "string"
  18461. },
  18462. "tt": {
  18463. "description": "总金额",
  18464. "type": "number"
  18465. },
  18466. "tv": {
  18467. "description": "总量",
  18468. "type": "integer"
  18469. }
  18470. }
  18471. },
  18472. "quote.HistoryTikData": {
  18473. "type": "object",
  18474. "properties": {
  18475. "AV": {
  18476. "description": "卖量",
  18477. "type": "integer"
  18478. },
  18479. "Ask": {
  18480. "description": "卖价",
  18481. "type": "number"
  18482. },
  18483. "BV": {
  18484. "description": "买量",
  18485. "type": "integer"
  18486. },
  18487. "Bid": {
  18488. "description": "买价",
  18489. "type": "number"
  18490. },
  18491. "HI": {
  18492. "description": "单笔持仓",
  18493. "type": "integer"
  18494. },
  18495. "HV": {
  18496. "description": "持仓量",
  18497. "type": "integer"
  18498. },
  18499. "PE": {
  18500. "description": "现价",
  18501. "type": "number"
  18502. },
  18503. "TDR": {
  18504. "description": "交易方向,0:买 1:卖",
  18505. "type": "integer"
  18506. },
  18507. "TK": {
  18508. "description": "交易类型",
  18509. "type": "integer"
  18510. },
  18511. "TS": {
  18512. "description": "行情时间文本",
  18513. "type": "string"
  18514. },
  18515. "TT": {
  18516. "description": "现金额",
  18517. "type": "number"
  18518. },
  18519. "Vol": {
  18520. "description": "现量",
  18521. "type": "integer"
  18522. }
  18523. }
  18524. },
  18525. "quote.QueryQuoteDayRsp": {
  18526. "type": "object",
  18527. "properties": {
  18528. "ask": {
  18529. "description": "卖1",
  18530. "type": "number"
  18531. },
  18532. "ask10": {
  18533. "description": "卖10",
  18534. "type": "number"
  18535. },
  18536. "ask2": {
  18537. "description": "卖2",
  18538. "type": "number"
  18539. },
  18540. "ask3": {
  18541. "description": "卖3",
  18542. "type": "number"
  18543. },
  18544. "ask4": {
  18545. "description": "卖4",
  18546. "type": "number"
  18547. },
  18548. "ask5": {
  18549. "description": "卖5",
  18550. "type": "number"
  18551. },
  18552. "ask6": {
  18553. "description": "卖6",
  18554. "type": "number"
  18555. },
  18556. "ask7": {
  18557. "description": "卖7",
  18558. "type": "number"
  18559. },
  18560. "ask8": {
  18561. "description": "卖8",
  18562. "type": "number"
  18563. },
  18564. "ask9": {
  18565. "description": "卖9",
  18566. "type": "number"
  18567. },
  18568. "askorderid": {
  18569. "description": "卖单号1",
  18570. "type": "integer"
  18571. },
  18572. "askorderid2": {
  18573. "description": "卖单号2",
  18574. "type": "integer"
  18575. },
  18576. "askorderid3": {
  18577. "description": "卖单号3",
  18578. "type": "integer"
  18579. },
  18580. "askorderid4": {
  18581. "description": "卖单号4",
  18582. "type": "integer"
  18583. },
  18584. "askorderid5": {
  18585. "description": "卖单号5",
  18586. "type": "integer"
  18587. },
  18588. "askordervolume": {
  18589. "description": "卖单量1",
  18590. "type": "integer"
  18591. },
  18592. "askordervolume10": {
  18593. "description": "卖单量10",
  18594. "type": "integer"
  18595. },
  18596. "askordervolume2": {
  18597. "description": "卖单量2",
  18598. "type": "integer"
  18599. },
  18600. "askordervolume3": {
  18601. "description": "卖单量3",
  18602. "type": "integer"
  18603. },
  18604. "askordervolume4": {
  18605. "description": "卖单量4",
  18606. "type": "integer"
  18607. },
  18608. "askordervolume5": {
  18609. "description": "卖单量5",
  18610. "type": "integer"
  18611. },
  18612. "askordervolume6": {
  18613. "description": "卖单量6",
  18614. "type": "integer"
  18615. },
  18616. "askordervolume7": {
  18617. "description": "卖单量7",
  18618. "type": "integer"
  18619. },
  18620. "askordervolume8": {
  18621. "description": "卖单量8",
  18622. "type": "integer"
  18623. },
  18624. "askordervolume9": {
  18625. "description": "卖单量9",
  18626. "type": "integer"
  18627. },
  18628. "askqueueinfo": {
  18629. "description": "大利市卖港股用",
  18630. "type": "string"
  18631. },
  18632. "askvolume": {
  18633. "description": "卖量1",
  18634. "type": "integer"
  18635. },
  18636. "askvolume10": {
  18637. "description": "卖量10",
  18638. "type": "integer"
  18639. },
  18640. "askvolume2": {
  18641. "description": "卖量2",
  18642. "type": "integer"
  18643. },
  18644. "askvolume3": {
  18645. "description": "卖量3",
  18646. "type": "integer"
  18647. },
  18648. "askvolume4": {
  18649. "description": "卖量4",
  18650. "type": "integer"
  18651. },
  18652. "askvolume5": {
  18653. "description": "卖量5",
  18654. "type": "integer"
  18655. },
  18656. "askvolume6": {
  18657. "description": "卖量6",
  18658. "type": "integer"
  18659. },
  18660. "askvolume7": {
  18661. "description": "卖量7",
  18662. "type": "integer"
  18663. },
  18664. "askvolume8": {
  18665. "description": "卖量8",
  18666. "type": "integer"
  18667. },
  18668. "askvolume9": {
  18669. "description": "卖量9",
  18670. "type": "integer"
  18671. },
  18672. "averageprice": {
  18673. "description": "均价",
  18674. "type": "number"
  18675. },
  18676. "bid": {
  18677. "description": "买1",
  18678. "type": "number"
  18679. },
  18680. "bid10": {
  18681. "description": "买10",
  18682. "type": "number"
  18683. },
  18684. "bid2": {
  18685. "description": "买2",
  18686. "type": "number"
  18687. },
  18688. "bid3": {
  18689. "description": "买3",
  18690. "type": "number"
  18691. },
  18692. "bid4": {
  18693. "description": "买4",
  18694. "type": "number"
  18695. },
  18696. "bid5": {
  18697. "description": "买5",
  18698. "type": "number"
  18699. },
  18700. "bid6": {
  18701. "description": "买6",
  18702. "type": "number"
  18703. },
  18704. "bid7": {
  18705. "description": "买7",
  18706. "type": "number"
  18707. },
  18708. "bid8": {
  18709. "description": "买8",
  18710. "type": "number"
  18711. },
  18712. "bid9": {
  18713. "description": "买9",
  18714. "type": "number"
  18715. },
  18716. "bidorderid": {
  18717. "description": "买单号1",
  18718. "type": "integer"
  18719. },
  18720. "bidorderid2": {
  18721. "description": "买单号2",
  18722. "type": "integer"
  18723. },
  18724. "bidorderid3": {
  18725. "description": "买单号3",
  18726. "type": "integer"
  18727. },
  18728. "bidorderid4": {
  18729. "description": "买单号4",
  18730. "type": "integer"
  18731. },
  18732. "bidorderid5": {
  18733. "description": "买单号5",
  18734. "type": "integer"
  18735. },
  18736. "bidordervolume": {
  18737. "description": "买单量1",
  18738. "type": "integer"
  18739. },
  18740. "bidordervolume10": {
  18741. "description": "买单量10",
  18742. "type": "integer"
  18743. },
  18744. "bidordervolume2": {
  18745. "description": "买单量2",
  18746. "type": "integer"
  18747. },
  18748. "bidordervolume3": {
  18749. "description": "买单量3",
  18750. "type": "integer"
  18751. },
  18752. "bidordervolume4": {
  18753. "description": "买单量4",
  18754. "type": "integer"
  18755. },
  18756. "bidordervolume5": {
  18757. "description": "买单量5",
  18758. "type": "integer"
  18759. },
  18760. "bidordervolume6": {
  18761. "description": "买单量6",
  18762. "type": "integer"
  18763. },
  18764. "bidordervolume7": {
  18765. "description": "买单量7",
  18766. "type": "integer"
  18767. },
  18768. "bidordervolume8": {
  18769. "description": "买单量8",
  18770. "type": "integer"
  18771. },
  18772. "bidordervolume9": {
  18773. "description": "买单量9",
  18774. "type": "integer"
  18775. },
  18776. "bidqueueinfo": {
  18777. "description": "大利市买港股用",
  18778. "type": "string"
  18779. },
  18780. "bidvolume": {
  18781. "description": "买量1",
  18782. "type": "integer"
  18783. },
  18784. "bidvolume10": {
  18785. "description": "买量10",
  18786. "type": "integer"
  18787. },
  18788. "bidvolume2": {
  18789. "description": "买量2",
  18790. "type": "integer"
  18791. },
  18792. "bidvolume3": {
  18793. "description": "买量3",
  18794. "type": "integer"
  18795. },
  18796. "bidvolume4": {
  18797. "description": "买量4",
  18798. "type": "integer"
  18799. },
  18800. "bidvolume5": {
  18801. "description": "买量5",
  18802. "type": "integer"
  18803. },
  18804. "bidvolume6": {
  18805. "description": "买量6",
  18806. "type": "integer"
  18807. },
  18808. "bidvolume7": {
  18809. "description": "买量7",
  18810. "type": "integer"
  18811. },
  18812. "bidvolume8": {
  18813. "description": "买量8",
  18814. "type": "integer"
  18815. },
  18816. "bidvolume9": {
  18817. "description": "买量9",
  18818. "type": "integer"
  18819. },
  18820. "calloptionpremiums": {
  18821. "description": "认购期权1",
  18822. "type": "integer"
  18823. },
  18824. "calloptionpremiums2": {
  18825. "description": "认购期权2",
  18826. "type": "integer"
  18827. },
  18828. "calloptionpremiums3": {
  18829. "description": "认购期权3",
  18830. "type": "integer"
  18831. },
  18832. "calloptionpremiums4": {
  18833. "description": "认购期权4",
  18834. "type": "integer"
  18835. },
  18836. "calloptionpremiums5": {
  18837. "description": "认购期权5",
  18838. "type": "integer"
  18839. },
  18840. "cleartime": {
  18841. "description": "清盘时间",
  18842. "type": "integer"
  18843. },
  18844. "exchangecode": {
  18845. "description": "交易所代码",
  18846. "type": "integer"
  18847. },
  18848. "exchangedate": {
  18849. "description": "交易日",
  18850. "type": "integer"
  18851. },
  18852. "goodscode": {
  18853. "description": "商品代码",
  18854. "type": "string"
  18855. },
  18856. "grepmarketprice": {
  18857. "description": "暗盘价 港股专用",
  18858. "type": "number"
  18859. },
  18860. "highest": {
  18861. "description": "最高价",
  18862. "type": "number"
  18863. },
  18864. "holdincrement": {
  18865. "description": "单笔持仓",
  18866. "type": "integer"
  18867. },
  18868. "holdvolume": {
  18869. "description": "持仓",
  18870. "type": "integer"
  18871. },
  18872. "iep": {
  18873. "description": "平衡价 港股专用",
  18874. "type": "number"
  18875. },
  18876. "iev": {
  18877. "description": "平衡量 港股专用",
  18878. "type": "number"
  18879. },
  18880. "inventory": {
  18881. "description": "库存",
  18882. "type": "integer"
  18883. },
  18884. "iscleared": {
  18885. "description": "是否清盘标志",
  18886. "type": "integer"
  18887. },
  18888. "issettled": {
  18889. "description": "是否结算标志",
  18890. "type": "integer"
  18891. },
  18892. "last": {
  18893. "description": "最新价",
  18894. "type": "number"
  18895. },
  18896. "lastlot": {
  18897. "description": "最新成交手数",
  18898. "type": "integer"
  18899. },
  18900. "lasttime": {
  18901. "description": "行情时间(只有现价变化行情时间才变化)",
  18902. "type": "string"
  18903. },
  18904. "lastturnover": {
  18905. "description": "最新成交金额",
  18906. "type": "number"
  18907. },
  18908. "lastvolume": {
  18909. "description": "最新成交量",
  18910. "type": "integer"
  18911. },
  18912. "limitdown": {
  18913. "description": "跌停价",
  18914. "type": "number"
  18915. },
  18916. "limitup": {
  18917. "description": "涨停价",
  18918. "type": "number"
  18919. },
  18920. "lowest": {
  18921. "description": "最低价",
  18922. "type": "number"
  18923. },
  18924. "nontotalholdervolume": {
  18925. "description": "非交易持仓量",
  18926. "type": "integer"
  18927. },
  18928. "nontotallot": {
  18929. "description": "非交易总手数",
  18930. "type": "integer"
  18931. },
  18932. "nontotalturnover": {
  18933. "description": "非交易总金额",
  18934. "type": "integer"
  18935. },
  18936. "nontotalvolume": {
  18937. "description": "非交易总量",
  18938. "type": "integer"
  18939. },
  18940. "opened": {
  18941. "description": "开盘价",
  18942. "type": "number"
  18943. },
  18944. "opentime": {
  18945. "description": "开盘时间",
  18946. "type": "string"
  18947. },
  18948. "orderid": {
  18949. "description": "序号",
  18950. "type": "integer"
  18951. },
  18952. "preclose": {
  18953. "description": "昨收",
  18954. "type": "number"
  18955. },
  18956. "preholdvolume": {
  18957. "description": "昨持仓",
  18958. "type": "integer"
  18959. },
  18960. "presettle": {
  18961. "description": "昨结价",
  18962. "type": "number"
  18963. },
  18964. "publictradetype": {
  18965. "description": "公共交易标志类型 港股专用",
  18966. "type": "string"
  18967. },
  18968. "putoptionpremiums": {
  18969. "description": "认沽期权1",
  18970. "type": "integer"
  18971. },
  18972. "putoptionpremiums2": {
  18973. "description": "认沽期权2",
  18974. "type": "integer"
  18975. },
  18976. "putoptionpremiums3": {
  18977. "description": "认沽期权3",
  18978. "type": "integer"
  18979. },
  18980. "putoptionpremiums4": {
  18981. "description": "认沽期权4",
  18982. "type": "integer"
  18983. },
  18984. "putoptionpremiums5": {
  18985. "description": "认沽期权5",
  18986. "type": "integer"
  18987. },
  18988. "settle": {
  18989. "description": "结算价",
  18990. "type": "number"
  18991. },
  18992. "strikeprice": {
  18993. "description": "发行价",
  18994. "type": "number"
  18995. },
  18996. "totalaskvolume": {
  18997. "description": "内盘",
  18998. "type": "integer"
  18999. },
  19000. "totalbidvolume": {
  19001. "description": "外盘",
  19002. "type": "integer"
  19003. },
  19004. "totallot": {
  19005. "description": "总手数",
  19006. "type": "integer"
  19007. },
  19008. "totalturnover": {
  19009. "description": "总金额",
  19010. "type": "number"
  19011. },
  19012. "totalvolume": {
  19013. "description": "总量",
  19014. "type": "integer"
  19015. },
  19016. "utclasttime": {
  19017. "description": "utc的行情时间",
  19018. "type": "string"
  19019. }
  19020. }
  19021. },
  19022. "quote.QueryTSDataRsp": {
  19023. "type": "object",
  19024. "properties": {
  19025. "decimalPlace": {
  19026. "description": "小数位",
  19027. "type": "integer"
  19028. },
  19029. "endTime": {
  19030. "description": "结束时间",
  19031. "type": "string"
  19032. },
  19033. "goodsCode": {
  19034. "description": "商品代码",
  19035. "type": "string"
  19036. },
  19037. "historyDatas": {
  19038. "description": "历史数据",
  19039. "type": "array",
  19040. "items": {
  19041. "$ref": "#/definitions/quote.HistoryData"
  19042. }
  19043. },
  19044. "outGoodsCode": {
  19045. "description": "外部商品代码",
  19046. "type": "string"
  19047. },
  19048. "preSettle": {
  19049. "description": "昨结",
  19050. "type": "number"
  19051. },
  19052. "startTime": {
  19053. "description": "开始时间",
  19054. "type": "string"
  19055. },
  19056. "tradeDate": {
  19057. "description": "交易日",
  19058. "type": "string"
  19059. }
  19060. }
  19061. },
  19062. "szdz.QueryConvertLogRsp": {
  19063. "type": "object",
  19064. "required": [
  19065. "logid"
  19066. ],
  19067. "properties": {
  19068. "accountid": {
  19069. "description": "资金账户ID",
  19070. "type": "integer"
  19071. },
  19072. "clientticket": {
  19073. "description": "客户端流水号",
  19074. "type": "string"
  19075. },
  19076. "converttype": {
  19077. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19078. "type": "integer"
  19079. },
  19080. "createtime": {
  19081. "description": "记账时间",
  19082. "type": "string"
  19083. },
  19084. "daymaxvalue": {
  19085. "description": "配置当日最大转入限制",
  19086. "type": "number"
  19087. },
  19088. "daymaxvalue2": {
  19089. "description": "配置当日最大转入限制(转入)",
  19090. "type": "number"
  19091. },
  19092. "goodscode": {
  19093. "description": "商品代码",
  19094. "type": "string"
  19095. },
  19096. "goodsname": {
  19097. "description": "商品名称",
  19098. "type": "string"
  19099. },
  19100. "handlestatus": {
  19101. "description": "处理状态",
  19102. "type": "integer"
  19103. },
  19104. "innergoodsid": {
  19105. "description": "内部商品ID",
  19106. "type": "integer"
  19107. },
  19108. "inratio": {
  19109. "description": "配置转入比值",
  19110. "type": "integer"
  19111. },
  19112. "invalue": {
  19113. "description": "目标值",
  19114. "type": "number"
  19115. },
  19116. "logid": {
  19117. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19118. "type": "integer"
  19119. },
  19120. "mobile": {
  19121. "description": "手机号码(加密存储)",
  19122. "type": "string"
  19123. },
  19124. "outergoodscode": {
  19125. "description": "外部商品代码[JD\\PD]",
  19126. "type": "string"
  19127. },
  19128. "outratio": {
  19129. "description": "配置转出比值",
  19130. "type": "integer"
  19131. },
  19132. "outvalue": {
  19133. "description": "源值",
  19134. "type": "number"
  19135. },
  19136. "pddecimalplace": {
  19137. "description": "PD小数位",
  19138. "type": "integer"
  19139. },
  19140. "qty": {
  19141. "description": "数量",
  19142. "type": "string"
  19143. },
  19144. "remark": {
  19145. "description": "备注",
  19146. "type": "string"
  19147. },
  19148. "sessionid": {
  19149. "description": "会话ID",
  19150. "type": "integer"
  19151. },
  19152. "timemaxvalue": {
  19153. "description": "配置单次最大转入限制",
  19154. "type": "number"
  19155. },
  19156. "timemaxvalue2": {
  19157. "description": "配置单次最大转入限制(转入)",
  19158. "type": "number"
  19159. },
  19160. "timeminvalue": {
  19161. "description": "配置单次最小数量限制",
  19162. "type": "number"
  19163. },
  19164. "timeminvalue2": {
  19165. "description": "配置单次最小数量限制(转入)",
  19166. "type": "number"
  19167. },
  19168. "tradedate": {
  19169. "description": "交易日(yyyyMMdd)",
  19170. "type": "string"
  19171. },
  19172. "userid": {
  19173. "description": "用户ID",
  19174. "type": "integer"
  19175. }
  19176. }
  19177. },
  19178. "szdz.QueryGoodsPickupRsp": {
  19179. "type": "object",
  19180. "required": [
  19181. "takeorderid"
  19182. ],
  19183. "properties": {
  19184. "accountid": {
  19185. "description": "账户ID",
  19186. "type": "integer"
  19187. },
  19188. "address": {
  19189. "description": "提货人详细地址",
  19190. "type": "string"
  19191. },
  19192. "auditer": {
  19193. "description": "审核人",
  19194. "type": "integer"
  19195. },
  19196. "audittime": {
  19197. "description": "审核时间",
  19198. "type": "string"
  19199. },
  19200. "cardnum": {
  19201. "description": "提货人证件号码",
  19202. "type": "string"
  19203. },
  19204. "cardtypeid": {
  19205. "description": "提货人证件类型",
  19206. "type": "integer"
  19207. },
  19208. "checkremark": {
  19209. "description": "审核备注",
  19210. "type": "string"
  19211. },
  19212. "goodscode": {
  19213. "description": "商品代码",
  19214. "type": "string"
  19215. },
  19216. "goodsid": {
  19217. "description": "商品ID",
  19218. "type": "integer"
  19219. },
  19220. "goodsname": {
  19221. "description": "商品名称",
  19222. "type": "string"
  19223. },
  19224. "handlestatus": {
  19225. "description": "处理状态",
  19226. "type": "integer"
  19227. },
  19228. "marketid": {
  19229. "description": "市场ID",
  19230. "type": "integer"
  19231. },
  19232. "phonenum": {
  19233. "description": "提货人联系方式",
  19234. "type": "string"
  19235. },
  19236. "qty": {
  19237. "description": "提货数量",
  19238. "type": "number"
  19239. },
  19240. "recivername": {
  19241. "description": "提货人姓名",
  19242. "type": "string"
  19243. },
  19244. "reqtime": {
  19245. "description": "更新时间",
  19246. "type": "string"
  19247. },
  19248. "takemode": {
  19249. "description": "提货方式 - 2:自提 3:配送",
  19250. "type": "integer"
  19251. },
  19252. "takeorderid": {
  19253. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19254. "type": "string"
  19255. },
  19256. "takeorderstatus": {
  19257. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19258. "type": "integer"
  19259. },
  19260. "takeremark": {
  19261. "description": "提货备注",
  19262. "type": "string"
  19263. },
  19264. "tradedate": {
  19265. "description": "交易日(yyyyMMdd)",
  19266. "type": "string"
  19267. },
  19268. "userid": {
  19269. "description": "用户ID",
  19270. "type": "integer"
  19271. }
  19272. }
  19273. },
  19274. "szdz.QueryRecieptOrderRsp": {
  19275. "type": "object",
  19276. "required": [
  19277. "ordertime"
  19278. ],
  19279. "properties": {
  19280. "accountName": {
  19281. "description": "所属账号名称(已脱敏)",
  19282. "type": "string"
  19283. },
  19284. "accountid": {
  19285. "description": "资金账号",
  19286. "type": "integer"
  19287. },
  19288. "buyorsell": {
  19289. "description": "方向 - 0:买 1:卖",
  19290. "type": "integer"
  19291. },
  19292. "enableqty": {
  19293. "description": "可摘数量",
  19294. "type": "integer"
  19295. },
  19296. "goodscode": {
  19297. "description": "商品代码",
  19298. "type": "string"
  19299. },
  19300. "goodsid": {
  19301. "description": "商品ID",
  19302. "type": "integer"
  19303. },
  19304. "goodsname": {
  19305. "description": "商品名称",
  19306. "type": "string"
  19307. },
  19308. "orderid": {
  19309. "description": "委托单号",
  19310. "type": "string"
  19311. },
  19312. "orderprice": {
  19313. "description": "委托价格",
  19314. "type": "number"
  19315. },
  19316. "ordertime": {
  19317. "description": "委托时间",
  19318. "type": "string"
  19319. },
  19320. "tradedate": {
  19321. "description": "交易日(yyyyMMdd)",
  19322. "type": "string"
  19323. }
  19324. }
  19325. },
  19326. "szdz.QuerySZDZTradePositionRsp": {
  19327. "type": "object",
  19328. "properties": {
  19329. "accountid": {
  19330. "description": "账号Id",
  19331. "type": "integer"
  19332. },
  19333. "agreeunit": {
  19334. "description": "合约单位",
  19335. "type": "number"
  19336. },
  19337. "averageprice": {
  19338. "description": "持仓均价",
  19339. "type": "number"
  19340. },
  19341. "buyorsell": {
  19342. "description": "方向 - 0:买 1:卖",
  19343. "type": "integer"
  19344. },
  19345. "closetotalqty": {
  19346. "description": "平仓总数量",
  19347. "type": "integer"
  19348. },
  19349. "curholderamount": {
  19350. "description": "当前持仓总金额",
  19351. "type": "number"
  19352. },
  19353. "curpositionqty": {
  19354. "description": "当前持仓总数量",
  19355. "type": "integer"
  19356. },
  19357. "currencyid": {
  19358. "description": "报价货币ID",
  19359. "type": "integer"
  19360. },
  19361. "curtdposition": {
  19362. "description": "期末今日头寸",
  19363. "type": "integer"
  19364. },
  19365. "decimalplace": {
  19366. "description": "报价小数位",
  19367. "type": "integer"
  19368. },
  19369. "enableqty": {
  19370. "description": "可用量",
  19371. "type": "integer"
  19372. },
  19373. "fretdposition": {
  19374. "description": "冻结今日头寸",
  19375. "type": "integer"
  19376. },
  19377. "frozenqty": {
  19378. "description": "持仓冻结数量",
  19379. "type": "integer"
  19380. },
  19381. "goodscode": {
  19382. "description": "商品代码(内部)",
  19383. "type": "string"
  19384. },
  19385. "goodsid": {
  19386. "description": "商品Id",
  19387. "type": "integer"
  19388. },
  19389. "goodsname": {
  19390. "description": "商品名称",
  19391. "type": "string"
  19392. },
  19393. "goodunit": {
  19394. "description": "报价单位",
  19395. "type": "string"
  19396. },
  19397. "goodunitid": {
  19398. "description": "报价单位ID",
  19399. "type": "integer"
  19400. },
  19401. "holderamount": {
  19402. "description": "期初持仓总金额",
  19403. "type": "number"
  19404. },
  19405. "marketid": {
  19406. "description": "市场ID",
  19407. "type": "integer"
  19408. },
  19409. "openreqqty": {
  19410. "description": "开仓申请数量",
  19411. "type": "integer"
  19412. },
  19413. "opentotalqty": {
  19414. "description": "开仓总数量",
  19415. "type": "integer"
  19416. },
  19417. "otherfrozenqty": {
  19418. "description": "持仓其他冻结数量(交割冻结)",
  19419. "type": "integer"
  19420. },
  19421. "positionqty": {
  19422. "description": "期初持仓数量",
  19423. "type": "integer"
  19424. },
  19425. "szdz3freezqty": {
  19426. "description": "尚志大宗转换冻结总数量",
  19427. "type": "integer"
  19428. },
  19429. "tnqty": {
  19430. "description": "T+N冻结总量",
  19431. "type": "integer"
  19432. },
  19433. "tnusedqty": {
  19434. "description": "T+N使用量",
  19435. "type": "integer"
  19436. },
  19437. "trademode": {
  19438. "description": "交易模式",
  19439. "type": "integer"
  19440. },
  19441. "usedmargin": {
  19442. "description": "占用保证金",
  19443. "type": "number"
  19444. }
  19445. }
  19446. },
  19447. "taaccount.QueryAmountLogRsp": {
  19448. "type": "object",
  19449. "required": [
  19450. "accountid",
  19451. "amount",
  19452. "amountadjusttype",
  19453. "autoid",
  19454. "balance",
  19455. "createtime",
  19456. "currentbalance",
  19457. "operatetype"
  19458. ],
  19459. "properties": {
  19460. "OPERATETYPENAME": {
  19461. "description": "资金操作类型名称",
  19462. "type": "string"
  19463. },
  19464. "accountid": {
  19465. "description": "资金账户ID",
  19466. "type": "integer"
  19467. },
  19468. "agoodscode": {
  19469. "description": "竞拍商品代码",
  19470. "type": "string"
  19471. },
  19472. "agoodsname": {
  19473. "description": "竞拍商品名称",
  19474. "type": "string"
  19475. },
  19476. "amount": {
  19477. "description": "资金金额",
  19478. "type": "number"
  19479. },
  19480. "amountadjusttype": {
  19481. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19482. "type": "integer"
  19483. },
  19484. "autoid": {
  19485. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19486. "type": "integer"
  19487. },
  19488. "balance": {
  19489. "description": "期初余额",
  19490. "type": "number"
  19491. },
  19492. "businesscode": {
  19493. "description": "业务编号",
  19494. "type": "integer"
  19495. },
  19496. "createtime": {
  19497. "description": "发生时间",
  19498. "type": "string"
  19499. },
  19500. "currencyid": {
  19501. "description": "币种ID",
  19502. "type": "integer"
  19503. },
  19504. "currentbalance": {
  19505. "description": "期末余额(变动后金额)",
  19506. "type": "number"
  19507. },
  19508. "dgoodscode": {
  19509. "description": "交割商品代码",
  19510. "type": "string"
  19511. },
  19512. "dgoodsname": {
  19513. "description": "交割商品名称",
  19514. "type": "string"
  19515. },
  19516. "goodscode": {
  19517. "description": "商品代码",
  19518. "type": "string"
  19519. },
  19520. "goodsid": {
  19521. "description": "商品ID",
  19522. "type": "integer"
  19523. },
  19524. "goodsname": {
  19525. "description": "商品名称",
  19526. "type": "string"
  19527. },
  19528. "marketid": {
  19529. "description": "市场ID",
  19530. "type": "integer"
  19531. },
  19532. "marketname": {
  19533. "description": "市场名称",
  19534. "type": "string"
  19535. },
  19536. "moneyticket": {
  19537. "description": "资金流水号:银行端流水号",
  19538. "type": "integer"
  19539. },
  19540. "operatetype": {
  19541. "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:营销收款",
  19542. "type": "integer"
  19543. },
  19544. "relationorderid": {
  19545. "description": "关联单号",
  19546. "type": "string"
  19547. },
  19548. "remark": {
  19549. "description": "备注",
  19550. "type": "string"
  19551. },
  19552. "trademode": {
  19553. "description": "交易模式",
  19554. "type": "integer"
  19555. }
  19556. }
  19557. },
  19558. "taaccount.QueryHisAmountLogRsp": {
  19559. "type": "object",
  19560. "required": [
  19561. "accountid",
  19562. "amount",
  19563. "amountadjusttype",
  19564. "autoid",
  19565. "balance",
  19566. "createtime",
  19567. "currentbalance",
  19568. "histradedate",
  19569. "operatetype"
  19570. ],
  19571. "properties": {
  19572. "OPERATETYPENAME": {
  19573. "description": "资金操作类型名称",
  19574. "type": "string"
  19575. },
  19576. "accountid": {
  19577. "description": "资金账户ID",
  19578. "type": "integer"
  19579. },
  19580. "agoodscode": {
  19581. "description": "竞拍商品代码",
  19582. "type": "string"
  19583. },
  19584. "agoodsname": {
  19585. "description": "竞拍商品名称",
  19586. "type": "string"
  19587. },
  19588. "amount": {
  19589. "description": "资金金额",
  19590. "type": "number"
  19591. },
  19592. "amountadjusttype": {
  19593. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19594. "type": "integer"
  19595. },
  19596. "autoid": {
  19597. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19598. "type": "integer"
  19599. },
  19600. "balance": {
  19601. "description": "期初余额",
  19602. "type": "number"
  19603. },
  19604. "businesscode": {
  19605. "description": "业务编号",
  19606. "type": "integer"
  19607. },
  19608. "createtime": {
  19609. "description": "发生时间",
  19610. "type": "string"
  19611. },
  19612. "currencyid": {
  19613. "description": "币种ID",
  19614. "type": "integer"
  19615. },
  19616. "currentbalance": {
  19617. "description": "期末余额(变动后金额)",
  19618. "type": "number"
  19619. },
  19620. "dgoodscode": {
  19621. "description": "交割商品代码",
  19622. "type": "string"
  19623. },
  19624. "dgoodsname": {
  19625. "description": "交割商品名称",
  19626. "type": "string"
  19627. },
  19628. "goodscode": {
  19629. "description": "商品代码",
  19630. "type": "string"
  19631. },
  19632. "goodsid": {
  19633. "description": "商品ID",
  19634. "type": "integer"
  19635. },
  19636. "goodsname": {
  19637. "description": "商品名称",
  19638. "type": "string"
  19639. },
  19640. "histradedate": {
  19641. "description": "历史交易日",
  19642. "type": "string"
  19643. },
  19644. "isvaliddata": {
  19645. "description": "是否有效 - 0:无效 1:有效",
  19646. "type": "integer"
  19647. },
  19648. "marketid": {
  19649. "description": "市场ID",
  19650. "type": "integer"
  19651. },
  19652. "marketname": {
  19653. "description": "市场名称",
  19654. "type": "string"
  19655. },
  19656. "moneyticket": {
  19657. "description": "资金流水号:银行端流水号",
  19658. "type": "integer"
  19659. },
  19660. "operatetype": {
  19661. "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:营销收款",
  19662. "type": "integer"
  19663. },
  19664. "relationorderid": {
  19665. "description": "关联单号",
  19666. "type": "string"
  19667. },
  19668. "remark": {
  19669. "description": "备注",
  19670. "type": "string"
  19671. },
  19672. "trademode": {
  19673. "description": "交易模式",
  19674. "type": "integer"
  19675. }
  19676. }
  19677. },
  19678. "trade.QueryRecieptOrderRsp": {
  19679. "type": "object",
  19680. "required": [
  19681. "ordertime"
  19682. ],
  19683. "properties": {
  19684. "accountName": {
  19685. "description": "所属账号名称(已脱敏)",
  19686. "type": "string"
  19687. },
  19688. "accountid": {
  19689. "description": "资金账号",
  19690. "type": "integer"
  19691. },
  19692. "buyorsell": {
  19693. "description": "方向 - 0:买 1:卖",
  19694. "type": "integer"
  19695. },
  19696. "enableqty": {
  19697. "description": "可摘数量",
  19698. "type": "integer"
  19699. },
  19700. "goodscode": {
  19701. "description": "商品代码",
  19702. "type": "string"
  19703. },
  19704. "goodsid": {
  19705. "description": "商品ID",
  19706. "type": "integer"
  19707. },
  19708. "goodsname": {
  19709. "description": "商品名称",
  19710. "type": "string"
  19711. },
  19712. "orderid": {
  19713. "description": "委托单号",
  19714. "type": "string"
  19715. },
  19716. "orderprice": {
  19717. "description": "委托价格",
  19718. "type": "number"
  19719. },
  19720. "ordertime": {
  19721. "description": "委托时间",
  19722. "type": "string"
  19723. },
  19724. "tradedate": {
  19725. "description": "交易日(yyyyMMdd)",
  19726. "type": "string"
  19727. }
  19728. }
  19729. },
  19730. "user.LoginQueryRsp": {
  19731. "type": "object",
  19732. "properties": {
  19733. "externalExchanges": {
  19734. "description": "外部交易所",
  19735. "type": "array",
  19736. "items": {
  19737. "$ref": "#/definitions/models.Externalexchange"
  19738. }
  19739. },
  19740. "goodsgroups": {
  19741. "description": "商品组",
  19742. "type": "array",
  19743. "items": {
  19744. "$ref": "#/definitions/models.Goodsgroup"
  19745. }
  19746. },
  19747. "loginAccount": {
  19748. "description": "登录账号",
  19749. "type": "object",
  19750. "$ref": "#/definitions/models.Loginaccount"
  19751. },
  19752. "markets": {
  19753. "description": "市场",
  19754. "type": "array",
  19755. "items": {
  19756. "$ref": "#/definitions/models.Market"
  19757. }
  19758. },
  19759. "systemParams": {
  19760. "description": "系统参数",
  19761. "type": "array",
  19762. "items": {
  19763. "$ref": "#/definitions/models.Systemparam"
  19764. }
  19765. },
  19766. "userAccount": {
  19767. "description": "用户账号",
  19768. "type": "object",
  19769. "$ref": "#/definitions/models.Useraccount"
  19770. },
  19771. "userInfo": {
  19772. "description": "用户信息",
  19773. "type": "object",
  19774. "$ref": "#/definitions/models.Userinfo"
  19775. },
  19776. "username": {
  19777. "description": "用户姓名",
  19778. "type": "string"
  19779. }
  19780. }
  19781. }
  19782. },
  19783. "securityDefinitions": {
  19784. "ApiKeyAuth": {
  19785. "type": "apiKey",
  19786. "name": "Authorization",
  19787. "in": "header"
  19788. }
  19789. }
  19790. }`
  19791. type swaggerInfo struct {
  19792. Version string
  19793. Host string
  19794. BasePath string
  19795. Schemes []string
  19796. Title string
  19797. Description string
  19798. }
  19799. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19800. var SwaggerInfo = swaggerInfo{
  19801. Version: "1.0",
  19802. Host: "",
  19803. BasePath: "/api",
  19804. Schemes: []string{},
  19805. Title: "MTP2.0 查询服务 API",
  19806. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19807. }
  19808. type s struct{}
  19809. func (s *s) ReadDoc() string {
  19810. sInfo := SwaggerInfo
  19811. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19812. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19813. "marshal": func(v interface{}) string {
  19814. a, _ := json.Marshal(v)
  19815. return string(a)
  19816. },
  19817. }).Parse(doc)
  19818. if err != nil {
  19819. return doc
  19820. }
  19821. var tpl bytes.Buffer
  19822. if err := t.Execute(&tpl, sInfo); err != nil {
  19823. return doc
  19824. }
  19825. return tpl.String()
  19826. }
  19827. func init() {
  19828. swag.Register(swag.Name, &s{})
  19829. }