docs.go 719 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006
  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/GetErmcpGoodsSortByPosition": {
  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": "string",
  845. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  846. "name": "sortIndex",
  847. "in": "query"
  848. }
  849. ],
  850. "responses": {
  851. "200": {
  852. "description": "OK",
  853. "schema": {
  854. "$ref": "#/definitions/models.Goodssortbypreposition"
  855. }
  856. },
  857. "500": {
  858. "description": "Internal Server Error",
  859. "schema": {
  860. "$ref": "#/definitions/app.Response"
  861. }
  862. }
  863. }
  864. }
  865. },
  866. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  867. "get": {
  868. "security": [
  869. {
  870. "ApiKeyAuth": []
  871. }
  872. ],
  873. "produces": [
  874. "application/json"
  875. ],
  876. "tags": [
  877. "企业风险管理(app)"
  878. ],
  879. "summary": "获取企业风管终端权限",
  880. "parameters": [
  881. {
  882. "type": "integer",
  883. "description": "登录账号",
  884. "name": "loginID",
  885. "in": "query",
  886. "required": true
  887. }
  888. ],
  889. "responses": {
  890. "200": {
  891. "description": "OK",
  892. "schema": {
  893. "$ref": "#/definitions/models.Funcmenulist"
  894. }
  895. },
  896. "500": {
  897. "description": "Internal Server Error",
  898. "schema": {
  899. "$ref": "#/definitions/app.Response"
  900. }
  901. }
  902. }
  903. }
  904. },
  905. "/Ermcp/QryReportDayExposure": {
  906. "get": {
  907. "security": [
  908. {
  909. "ApiKeyAuth": []
  910. }
  911. ],
  912. "produces": [
  913. "application/json"
  914. ],
  915. "tags": [
  916. "企业风险管理(app)"
  917. ],
  918. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  919. "parameters": [
  920. {
  921. "type": "integer",
  922. "description": "用户ID",
  923. "name": "userid",
  924. "in": "query",
  925. "required": true
  926. },
  927. {
  928. "type": "string",
  929. "description": "交易日(格式:yyyyMMdd)",
  930. "name": "tradedate",
  931. "in": "query",
  932. "required": true
  933. }
  934. ],
  935. "responses": {
  936. "200": {
  937. "description": "OK",
  938. "schema": {
  939. "type": "array",
  940. "items": {
  941. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  942. }
  943. }
  944. },
  945. "500": {
  946. "description": "Internal Server Error",
  947. "schema": {
  948. "$ref": "#/definitions/app.Response"
  949. }
  950. }
  951. }
  952. }
  953. },
  954. "/Ermcp/QryReportDayFinance": {
  955. "get": {
  956. "security": [
  957. {
  958. "ApiKeyAuth": []
  959. }
  960. ],
  961. "produces": [
  962. "application/json"
  963. ],
  964. "tags": [
  965. "企业风险管理(app)"
  966. ],
  967. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  968. "parameters": [
  969. {
  970. "type": "integer",
  971. "description": "用户ID",
  972. "name": "userid",
  973. "in": "query",
  974. "required": true
  975. },
  976. {
  977. "type": "string",
  978. "description": "交易日(格式:yyyyMMdd)",
  979. "name": "tradedate",
  980. "in": "query",
  981. "required": true
  982. }
  983. ],
  984. "responses": {
  985. "200": {
  986. "description": "OK",
  987. "schema": {
  988. "type": "array",
  989. "items": {
  990. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  991. }
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Ermcp/QryReportDayFinanceFp": {
  1004. "get": {
  1005. "security": [
  1006. {
  1007. "ApiKeyAuth": []
  1008. }
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "企业风险管理(app)"
  1015. ],
  1016. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1017. "parameters": [
  1018. {
  1019. "type": "integer",
  1020. "description": "用户ID",
  1021. "name": "userid",
  1022. "in": "query",
  1023. "required": true
  1024. },
  1025. {
  1026. "type": "string",
  1027. "description": "交易日(格式:yyyyMMdd)",
  1028. "name": "tradedate",
  1029. "in": "query",
  1030. "required": true
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QryReportDayFinanceKx": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "string",
  1076. "description": "交易日(格式:yyyyMMdd)",
  1077. "name": "tradedate",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QryReportDaySpot": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query",
  1121. "required": true
  1122. },
  1123. {
  1124. "type": "string",
  1125. "description": "交易日(格式:yyyyMMdd)",
  1126. "name": "tradedate",
  1127. "in": "query",
  1128. "required": true
  1129. }
  1130. ],
  1131. "responses": {
  1132. "200": {
  1133. "description": "OK",
  1134. "schema": {
  1135. "type": "array",
  1136. "items": {
  1137. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1138. }
  1139. }
  1140. },
  1141. "500": {
  1142. "description": "Internal Server Error",
  1143. "schema": {
  1144. "$ref": "#/definitions/app.Response"
  1145. }
  1146. }
  1147. }
  1148. }
  1149. },
  1150. "/Ermcp/QryReportDaySpotDetail": {
  1151. "get": {
  1152. "security": [
  1153. {
  1154. "ApiKeyAuth": []
  1155. }
  1156. ],
  1157. "produces": [
  1158. "application/json"
  1159. ],
  1160. "tags": [
  1161. "企业风险管理(app)"
  1162. ],
  1163. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1164. "parameters": [
  1165. {
  1166. "type": "integer",
  1167. "description": "用户ID",
  1168. "name": "userid",
  1169. "in": "query",
  1170. "required": true
  1171. },
  1172. {
  1173. "type": "integer",
  1174. "description": "现货商品id",
  1175. "name": "wrstandardid",
  1176. "in": "query",
  1177. "required": true
  1178. },
  1179. {
  1180. "type": "string",
  1181. "description": "交易日(格式:yyyyMMdd)",
  1182. "name": "tradedate",
  1183. "in": "query",
  1184. "required": true
  1185. }
  1186. ],
  1187. "responses": {
  1188. "200": {
  1189. "description": "OK",
  1190. "schema": {
  1191. "type": "array",
  1192. "items": {
  1193. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1194. }
  1195. }
  1196. },
  1197. "500": {
  1198. "description": "Internal Server Error",
  1199. "schema": {
  1200. "$ref": "#/definitions/app.Response"
  1201. }
  1202. }
  1203. }
  1204. }
  1205. },
  1206. "/Ermcp/QryReportMonthFinance": {
  1207. "get": {
  1208. "security": [
  1209. {
  1210. "ApiKeyAuth": []
  1211. }
  1212. ],
  1213. "produces": [
  1214. "application/json"
  1215. ],
  1216. "tags": [
  1217. "企业风险管理(app)"
  1218. ],
  1219. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1220. "parameters": [
  1221. {
  1222. "type": "integer",
  1223. "description": "用户ID",
  1224. "name": "userid",
  1225. "in": "query",
  1226. "required": true
  1227. },
  1228. {
  1229. "type": "string",
  1230. "description": "周期时间:月(格式:yyyyMM)",
  1231. "name": "cycletime",
  1232. "in": "query",
  1233. "required": true
  1234. }
  1235. ],
  1236. "responses": {
  1237. "200": {
  1238. "description": "OK",
  1239. "schema": {
  1240. "type": "array",
  1241. "items": {
  1242. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1243. }
  1244. }
  1245. },
  1246. "500": {
  1247. "description": "Internal Server Error",
  1248. "schema": {
  1249. "$ref": "#/definitions/app.Response"
  1250. }
  1251. }
  1252. }
  1253. }
  1254. },
  1255. "/Ermcp/QryReportMonthSpot": {
  1256. "get": {
  1257. "security": [
  1258. {
  1259. "ApiKeyAuth": []
  1260. }
  1261. ],
  1262. "produces": [
  1263. "application/json"
  1264. ],
  1265. "tags": [
  1266. "企业风险管理(app)"
  1267. ],
  1268. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1269. "parameters": [
  1270. {
  1271. "type": "integer",
  1272. "description": "用户ID",
  1273. "name": "userid",
  1274. "in": "query",
  1275. "required": true
  1276. },
  1277. {
  1278. "type": "string",
  1279. "description": "周期时间:月(格式:yyyyMM)",
  1280. "name": "cycletime",
  1281. "in": "query",
  1282. "required": true
  1283. }
  1284. ],
  1285. "responses": {
  1286. "200": {
  1287. "description": "OK",
  1288. "schema": {
  1289. "type": "array",
  1290. "items": {
  1291. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1292. }
  1293. }
  1294. },
  1295. "500": {
  1296. "description": "Internal Server Error",
  1297. "schema": {
  1298. "$ref": "#/definitions/app.Response"
  1299. }
  1300. }
  1301. }
  1302. }
  1303. },
  1304. "/Ermcp/QryReportMonthSpotDetail": {
  1305. "get": {
  1306. "security": [
  1307. {
  1308. "ApiKeyAuth": []
  1309. }
  1310. ],
  1311. "produces": [
  1312. "application/json"
  1313. ],
  1314. "tags": [
  1315. "企业风险管理(app)"
  1316. ],
  1317. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1318. "parameters": [
  1319. {
  1320. "type": "integer",
  1321. "description": "用户ID",
  1322. "name": "userid",
  1323. "in": "query",
  1324. "required": true
  1325. },
  1326. {
  1327. "type": "integer",
  1328. "description": "现货商品id",
  1329. "name": "wrstandardid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "string",
  1335. "description": "周期时间:月(格式:yyyyMM)",
  1336. "name": "cycletime",
  1337. "in": "query",
  1338. "required": true
  1339. }
  1340. ],
  1341. "responses": {
  1342. "200": {
  1343. "description": "OK",
  1344. "schema": {
  1345. "type": "array",
  1346. "items": {
  1347. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1348. }
  1349. }
  1350. },
  1351. "500": {
  1352. "description": "Internal Server Error",
  1353. "schema": {
  1354. "$ref": "#/definitions/app.Response"
  1355. }
  1356. }
  1357. }
  1358. }
  1359. },
  1360. "/Ermcp/QueryAreaStock": {
  1361. "get": {
  1362. "security": [
  1363. {
  1364. "ApiKeyAuth": []
  1365. }
  1366. ],
  1367. "produces": [
  1368. "application/json"
  1369. ],
  1370. "tags": [
  1371. "企业风险管理(app)"
  1372. ],
  1373. "summary": "查询机构库存(库存管理/当前库存)",
  1374. "parameters": [
  1375. {
  1376. "type": "integer",
  1377. "description": "用户ID",
  1378. "name": "userid",
  1379. "in": "query",
  1380. "required": true
  1381. }
  1382. ],
  1383. "responses": {
  1384. "200": {
  1385. "description": "OK",
  1386. "schema": {
  1387. "type": "array",
  1388. "items": {
  1389. "$ref": "#/definitions/models.ErmcpAreaStock"
  1390. }
  1391. }
  1392. },
  1393. "500": {
  1394. "description": "Internal Server Error",
  1395. "schema": {
  1396. "$ref": "#/definitions/app.Response"
  1397. }
  1398. }
  1399. }
  1400. }
  1401. },
  1402. "/Ermcp/QueryAreaStockApply": {
  1403. "get": {
  1404. "security": [
  1405. {
  1406. "ApiKeyAuth": []
  1407. }
  1408. ],
  1409. "produces": [
  1410. "application/json"
  1411. ],
  1412. "tags": [
  1413. "企业风险管理(app)"
  1414. ],
  1415. "summary": "查询库存申请(出入库记录|库存审核)",
  1416. "parameters": [
  1417. {
  1418. "type": "integer",
  1419. "description": "用户ID",
  1420. "name": "userid",
  1421. "in": "query",
  1422. "required": true
  1423. },
  1424. {
  1425. "type": "string",
  1426. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1427. "name": "inouttype",
  1428. "in": "query"
  1429. },
  1430. {
  1431. "type": "integer",
  1432. "description": "合同ID",
  1433. "name": "spotcontractid",
  1434. "in": "query"
  1435. },
  1436. {
  1437. "type": "integer",
  1438. "description": "现货商品ID",
  1439. "name": "wrstandardid",
  1440. "in": "query"
  1441. },
  1442. {
  1443. "type": "integer",
  1444. "description": "品牌ID",
  1445. "name": "spotgoodsbrandid",
  1446. "in": "query"
  1447. },
  1448. {
  1449. "type": "integer",
  1450. "description": "型号ID",
  1451. "name": "spotgoodsmodelid",
  1452. "in": "query"
  1453. },
  1454. {
  1455. "type": "integer",
  1456. "description": "仓库ID",
  1457. "name": "warehouseinfoid",
  1458. "in": "query"
  1459. },
  1460. {
  1461. "type": "string",
  1462. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1463. "name": "applystatus",
  1464. "in": "query"
  1465. }
  1466. ],
  1467. "responses": {
  1468. "200": {
  1469. "description": "OK",
  1470. "schema": {
  1471. "type": "array",
  1472. "items": {
  1473. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1474. }
  1475. }
  1476. },
  1477. "500": {
  1478. "description": "Internal Server Error",
  1479. "schema": {
  1480. "$ref": "#/definitions/app.Response"
  1481. }
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "/Ermcp/QueryAreaStockApplySum": {
  1487. "get": {
  1488. "security": [
  1489. {
  1490. "ApiKeyAuth": []
  1491. }
  1492. ],
  1493. "produces": [
  1494. "application/json"
  1495. ],
  1496. "tags": [
  1497. "企业风险管理(app)"
  1498. ],
  1499. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1500. "parameters": [
  1501. {
  1502. "type": "integer",
  1503. "description": "合同ID",
  1504. "name": "spotcontractid",
  1505. "in": "query"
  1506. }
  1507. ],
  1508. "responses": {
  1509. "200": {
  1510. "description": "OK",
  1511. "schema": {
  1512. "type": "array",
  1513. "items": {
  1514. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1515. }
  1516. }
  1517. },
  1518. "500": {
  1519. "description": "Internal Server Error",
  1520. "schema": {
  1521. "$ref": "#/definitions/app.Response"
  1522. }
  1523. }
  1524. }
  1525. }
  1526. },
  1527. "/Ermcp/QueryAreaStockReport": {
  1528. "get": {
  1529. "security": [
  1530. {
  1531. "ApiKeyAuth": []
  1532. }
  1533. ],
  1534. "produces": [
  1535. "application/json"
  1536. ],
  1537. "tags": [
  1538. "企业风险管理(app)"
  1539. ],
  1540. "summary": "查询库存报表",
  1541. "parameters": [
  1542. {
  1543. "type": "integer",
  1544. "description": "用户ID",
  1545. "name": "userid",
  1546. "in": "query",
  1547. "required": true
  1548. },
  1549. {
  1550. "type": "integer",
  1551. "description": "查询类型 1-日报表 2-月报表",
  1552. "name": "querytype",
  1553. "in": "query",
  1554. "required": true
  1555. },
  1556. {
  1557. "type": "string",
  1558. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1559. "name": "querydate",
  1560. "in": "query",
  1561. "required": true
  1562. },
  1563. {
  1564. "type": "integer",
  1565. "description": "现货商品ID",
  1566. "name": "wrstandardid",
  1567. "in": "query"
  1568. },
  1569. {
  1570. "type": "integer",
  1571. "description": "品牌ID",
  1572. "name": "spotgoodsbrandid",
  1573. "in": "query"
  1574. },
  1575. {
  1576. "type": "integer",
  1577. "description": "型号ID",
  1578. "name": "spotgoodsmodelid",
  1579. "in": "query"
  1580. },
  1581. {
  1582. "type": "integer",
  1583. "description": "仓库ID",
  1584. "name": "warehouseinfoid",
  1585. "in": "query"
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "OK",
  1591. "schema": {
  1592. "type": "array",
  1593. "items": {
  1594. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1595. }
  1596. }
  1597. },
  1598. "500": {
  1599. "description": "Internal Server Error",
  1600. "schema": {
  1601. "$ref": "#/definitions/app.Response"
  1602. }
  1603. }
  1604. }
  1605. }
  1606. },
  1607. "/Ermcp/QueryAreaStockReportDetail": {
  1608. "get": {
  1609. "security": [
  1610. {
  1611. "ApiKeyAuth": []
  1612. }
  1613. ],
  1614. "produces": [
  1615. "application/json"
  1616. ],
  1617. "tags": [
  1618. "企业风险管理(app)"
  1619. ],
  1620. "summary": "查询库存报表明细",
  1621. "parameters": [
  1622. {
  1623. "type": "integer",
  1624. "description": "用户ID",
  1625. "name": "userid",
  1626. "in": "query",
  1627. "required": true
  1628. },
  1629. {
  1630. "type": "integer",
  1631. "description": "查询类型 1-日报表明细 2-月报表明细",
  1632. "name": "querytype",
  1633. "in": "query",
  1634. "required": true
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1639. "name": "detailtype",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1646. "name": "querydate",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "现货商品ID",
  1653. "name": "wrstandardid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "integer",
  1658. "description": "品牌ID",
  1659. "name": "spotgoodsbrandid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "integer",
  1664. "description": "型号ID",
  1665. "name": "spotgoodsmodelid",
  1666. "in": "query"
  1667. },
  1668. {
  1669. "type": "integer",
  1670. "description": "仓库ID",
  1671. "name": "warehouseinfoid",
  1672. "in": "query"
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Ermcp/QueryAvaildGoodsGroup": {
  1695. "get": {
  1696. "security": [
  1697. {
  1698. "ApiKeyAuth": []
  1699. }
  1700. ],
  1701. "produces": [
  1702. "application/json"
  1703. ],
  1704. "tags": [
  1705. "企业风险管理(app)"
  1706. ],
  1707. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1708. "parameters": [
  1709. {
  1710. "type": "integer",
  1711. "description": "所属机构ID",
  1712. "name": "userid",
  1713. "in": "query",
  1714. "required": true
  1715. }
  1716. ],
  1717. "responses": {
  1718. "200": {
  1719. "description": "OK",
  1720. "schema": {
  1721. "type": "array",
  1722. "items": {
  1723. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1724. }
  1725. }
  1726. },
  1727. "500": {
  1728. "description": "Internal Server Error",
  1729. "schema": {
  1730. "$ref": "#/definitions/app.Response"
  1731. }
  1732. }
  1733. }
  1734. }
  1735. },
  1736. "/Ermcp/QueryBusinessDj": {
  1737. "get": {
  1738. "security": [
  1739. {
  1740. "ApiKeyAuth": []
  1741. }
  1742. ],
  1743. "produces": [
  1744. "application/json"
  1745. ],
  1746. "tags": [
  1747. "企业风险管理(app)"
  1748. ],
  1749. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1750. "parameters": [
  1751. {
  1752. "type": "integer",
  1753. "description": "用户ID",
  1754. "name": "UserId",
  1755. "in": "query",
  1756. "required": true
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "现货合同ID, 不填则查所有",
  1761. "name": "relatedid",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "type": "array",
  1770. "items": {
  1771. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1772. }
  1773. }
  1774. },
  1775. "500": {
  1776. "description": "Internal Server Error",
  1777. "schema": {
  1778. "$ref": "#/definitions/app.Response"
  1779. }
  1780. }
  1781. }
  1782. }
  1783. },
  1784. "/Ermcp/QueryBusinessFp": {
  1785. "get": {
  1786. "security": [
  1787. {
  1788. "ApiKeyAuth": []
  1789. }
  1790. ],
  1791. "produces": [
  1792. "application/json"
  1793. ],
  1794. "tags": [
  1795. "企业风险管理(app)"
  1796. ],
  1797. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1798. "parameters": [
  1799. {
  1800. "type": "integer",
  1801. "description": "用户ID",
  1802. "name": "UserId",
  1803. "in": "query",
  1804. "required": true
  1805. },
  1806. {
  1807. "type": "string",
  1808. "description": "现货合同ID, 不填则查所有",
  1809. "name": "relatedid",
  1810. "in": "query"
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryBusinessJs": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "用户ID",
  1850. "name": "UserId",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "string",
  1856. "description": "现货合同ID, 不填则查所有",
  1857. "name": "relatedid",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "string",
  1862. "description": "操作申请id",
  1863. "name": "operateapplyid",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "type": "array",
  1872. "items": {
  1873. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1874. }
  1875. }
  1876. },
  1877. "500": {
  1878. "description": "Internal Server Error",
  1879. "schema": {
  1880. "$ref": "#/definitions/app.Response"
  1881. }
  1882. }
  1883. }
  1884. }
  1885. },
  1886. "/Ermcp/QueryBusinessJsEx": {
  1887. "get": {
  1888. "security": [
  1889. {
  1890. "ApiKeyAuth": []
  1891. }
  1892. ],
  1893. "produces": [
  1894. "application/json"
  1895. ],
  1896. "tags": [
  1897. "企业风险管理(app)"
  1898. ],
  1899. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1900. "parameters": [
  1901. {
  1902. "type": "integer",
  1903. "description": "用户ID",
  1904. "name": "UserId",
  1905. "in": "query",
  1906. "required": true
  1907. },
  1908. {
  1909. "type": "string",
  1910. "description": "现货合同ID, 不填则查所有",
  1911. "name": "relatedid",
  1912. "in": "query"
  1913. }
  1914. ],
  1915. "responses": {
  1916. "200": {
  1917. "description": "OK",
  1918. "schema": {
  1919. "type": "array",
  1920. "items": {
  1921. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1922. }
  1923. }
  1924. },
  1925. "500": {
  1926. "description": "Internal Server Error",
  1927. "schema": {
  1928. "$ref": "#/definitions/app.Response"
  1929. }
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "/Ermcp/QueryBusinessKx": {
  1935. "get": {
  1936. "security": [
  1937. {
  1938. "ApiKeyAuth": []
  1939. }
  1940. ],
  1941. "produces": [
  1942. "application/json"
  1943. ],
  1944. "tags": [
  1945. "企业风险管理(app)"
  1946. ],
  1947. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1948. "parameters": [
  1949. {
  1950. "type": "integer",
  1951. "description": "用户ID",
  1952. "name": "UserId",
  1953. "in": "query",
  1954. "required": true
  1955. },
  1956. {
  1957. "type": "string",
  1958. "description": "现货合同ID, 不填则查所有",
  1959. "name": "relatedid",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "type": "array",
  1968. "items": {
  1969. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1970. }
  1971. }
  1972. },
  1973. "500": {
  1974. "description": "Internal Server Error",
  1975. "schema": {
  1976. "$ref": "#/definitions/app.Response"
  1977. }
  1978. }
  1979. }
  1980. }
  1981. },
  1982. "/Ermcp/QueryChangeLog": {
  1983. "get": {
  1984. "security": [
  1985. {
  1986. "ApiKeyAuth": []
  1987. }
  1988. ],
  1989. "produces": [
  1990. "application/json"
  1991. ],
  1992. "tags": [
  1993. "企业风险管理(app)"
  1994. ],
  1995. "summary": "查询变更记录",
  1996. "parameters": [
  1997. {
  1998. "type": "string",
  1999. "description": "合同ID",
  2000. "name": "RelatedId",
  2001. "in": "query",
  2002. "required": true
  2003. }
  2004. ],
  2005. "responses": {
  2006. "200": {
  2007. "description": "OK",
  2008. "schema": {
  2009. "type": "array",
  2010. "items": {
  2011. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2012. }
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryContract": {
  2025. "get": {
  2026. "security": [
  2027. {
  2028. "ApiKeyAuth": []
  2029. }
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "企业风险管理(app)"
  2036. ],
  2037. "summary": "查询合同(采购和销售)",
  2038. "parameters": [
  2039. {
  2040. "type": "integer",
  2041. "description": "用户ID",
  2042. "name": "userId",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "合同类型 1-采购, -1-销售",
  2049. "name": "contracttype",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2056. "name": "querytype",
  2057. "in": "query",
  2058. "required": true
  2059. },
  2060. {
  2061. "type": "string",
  2062. "description": "合同ID(SpotContractId)",
  2063. "name": "contractid",
  2064. "in": "query"
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryErmcpHisOrderDetails": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "获取企业风管期货历史委托单信息",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "资金账户ID",
  2104. "name": "accountID",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "string",
  2110. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2111. "name": "startDate",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "string",
  2116. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2117. "name": "endDate",
  2118. "in": "query"
  2119. }
  2120. ],
  2121. "responses": {
  2122. "200": {
  2123. "description": "OK",
  2124. "schema": {
  2125. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2126. }
  2127. },
  2128. "500": {
  2129. "description": "Internal Server Error",
  2130. "schema": {
  2131. "$ref": "#/definitions/app.Response"
  2132. }
  2133. }
  2134. }
  2135. }
  2136. },
  2137. "/Ermcp/QueryErmcpHisTradeDetails": {
  2138. "get": {
  2139. "security": [
  2140. {
  2141. "ApiKeyAuth": []
  2142. }
  2143. ],
  2144. "produces": [
  2145. "application/json"
  2146. ],
  2147. "tags": [
  2148. "企业风险管理(app)"
  2149. ],
  2150. "summary": "获取企业风管期货历史成交单信息",
  2151. "parameters": [
  2152. {
  2153. "type": "integer",
  2154. "description": "资金账户ID",
  2155. "name": "accountID",
  2156. "in": "query",
  2157. "required": true
  2158. },
  2159. {
  2160. "type": "integer",
  2161. "description": "商品ID",
  2162. "name": "goodsID",
  2163. "in": "query"
  2164. },
  2165. {
  2166. "type": "integer",
  2167. "description": "买卖方向,0:买 1:卖",
  2168. "name": "buyOrSell",
  2169. "in": "query"
  2170. },
  2171. {
  2172. "type": "string",
  2173. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2174. "name": "startDate",
  2175. "in": "query"
  2176. },
  2177. {
  2178. "type": "string",
  2179. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2180. "name": "endDate",
  2181. "in": "query"
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/Ermcp/QueryErmcpOrderDetails": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "企业风险管理(app)"
  2212. ],
  2213. "summary": "获取企业风管期货委托单信息",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "资金账户ID",
  2218. "name": "accountID",
  2219. "in": "query",
  2220. "required": true
  2221. }
  2222. ],
  2223. "responses": {
  2224. "200": {
  2225. "description": "OK",
  2226. "schema": {
  2227. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2228. }
  2229. },
  2230. "500": {
  2231. "description": "Internal Server Error",
  2232. "schema": {
  2233. "$ref": "#/definitions/app.Response"
  2234. }
  2235. }
  2236. }
  2237. }
  2238. },
  2239. "/Ermcp/QueryErmcpTradeDetails": {
  2240. "get": {
  2241. "security": [
  2242. {
  2243. "ApiKeyAuth": []
  2244. }
  2245. ],
  2246. "produces": [
  2247. "application/json"
  2248. ],
  2249. "tags": [
  2250. "企业风险管理(app)"
  2251. ],
  2252. "summary": "获取企业风管期货成交单信息",
  2253. "parameters": [
  2254. {
  2255. "type": "integer",
  2256. "description": "资金账户ID",
  2257. "name": "accountID",
  2258. "in": "query",
  2259. "required": true
  2260. },
  2261. {
  2262. "type": "integer",
  2263. "description": "商品ID",
  2264. "name": "goodsID",
  2265. "in": "query"
  2266. },
  2267. {
  2268. "type": "integer",
  2269. "description": "买卖方向,0:买 1:卖",
  2270. "name": "buyOrSell",
  2271. "in": "query"
  2272. }
  2273. ],
  2274. "responses": {
  2275. "200": {
  2276. "description": "OK",
  2277. "schema": {
  2278. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2279. }
  2280. },
  2281. "500": {
  2282. "description": "Internal Server Error",
  2283. "schema": {
  2284. "$ref": "#/definitions/app.Response"
  2285. }
  2286. }
  2287. }
  2288. }
  2289. },
  2290. "/Ermcp/QueryErmcpTradePosition": {
  2291. "get": {
  2292. "security": [
  2293. {
  2294. "ApiKeyAuth": []
  2295. }
  2296. ],
  2297. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "企业风险管理(app)"
  2303. ],
  2304. "summary": "获取企业风管期货持仓头寸信息",
  2305. "parameters": [
  2306. {
  2307. "type": "integer",
  2308. "description": "资金账户ID",
  2309. "name": "accountID",
  2310. "in": "query",
  2311. "required": true
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "所属市场ID",
  2316. "name": "marketID",
  2317. "in": "query"
  2318. }
  2319. ],
  2320. "responses": {
  2321. "200": {
  2322. "description": "OK",
  2323. "schema": {
  2324. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2325. }
  2326. },
  2327. "500": {
  2328. "description": "Internal Server Error",
  2329. "schema": {
  2330. "$ref": "#/definitions/app.Response"
  2331. }
  2332. }
  2333. }
  2334. }
  2335. },
  2336. "/Ermcp/QueryExposureDetail": {
  2337. "get": {
  2338. "security": [
  2339. {
  2340. "ApiKeyAuth": []
  2341. }
  2342. ],
  2343. "produces": [
  2344. "application/json"
  2345. ],
  2346. "tags": [
  2347. "企业风险管理(app)"
  2348. ],
  2349. "summary": "查询敞口现货明细",
  2350. "parameters": [
  2351. {
  2352. "type": "integer",
  2353. "description": "所属机构ID",
  2354. "name": "areaUserId",
  2355. "in": "query",
  2356. "required": true
  2357. },
  2358. {
  2359. "type": "integer",
  2360. "description": "套保商品",
  2361. "name": "middleGoodsId",
  2362. "in": "query",
  2363. "required": true
  2364. }
  2365. ],
  2366. "responses": {
  2367. "200": {
  2368. "description": "OK",
  2369. "schema": {
  2370. "type": "array",
  2371. "items": {
  2372. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2373. }
  2374. }
  2375. },
  2376. "500": {
  2377. "description": "Internal Server Error",
  2378. "schema": {
  2379. "$ref": "#/definitions/app.Response"
  2380. }
  2381. }
  2382. }
  2383. }
  2384. },
  2385. "/Ermcp/QueryExposureHedgePosition": {
  2386. "get": {
  2387. "security": [
  2388. {
  2389. "ApiKeyAuth": []
  2390. }
  2391. ],
  2392. "produces": [
  2393. "application/json"
  2394. ],
  2395. "tags": [
  2396. "企业风险管理(app)"
  2397. ],
  2398. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2399. "parameters": [
  2400. {
  2401. "type": "integer",
  2402. "description": "所属机构ID",
  2403. "name": "areaUserId",
  2404. "in": "query",
  2405. "required": true
  2406. }
  2407. ],
  2408. "responses": {
  2409. "200": {
  2410. "description": "OK",
  2411. "schema": {
  2412. "type": "array",
  2413. "items": {
  2414. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2415. }
  2416. }
  2417. },
  2418. "500": {
  2419. "description": "Internal Server Error",
  2420. "schema": {
  2421. "$ref": "#/definitions/app.Response"
  2422. }
  2423. }
  2424. }
  2425. }
  2426. },
  2427. "/Ermcp/QueryExposureHedgePositionDetail": {
  2428. "get": {
  2429. "security": [
  2430. {
  2431. "ApiKeyAuth": []
  2432. }
  2433. ],
  2434. "produces": [
  2435. "application/json"
  2436. ],
  2437. "tags": [
  2438. "企业风险管理(app)"
  2439. ],
  2440. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2441. "parameters": [
  2442. {
  2443. "type": "integer",
  2444. "description": "所属机构ID",
  2445. "name": "areaUserId",
  2446. "in": "query",
  2447. "required": true
  2448. },
  2449. {
  2450. "type": "integer",
  2451. "description": "商品id",
  2452. "name": "goodsId",
  2453. "in": "query",
  2454. "required": true
  2455. }
  2456. ],
  2457. "responses": {
  2458. "200": {
  2459. "description": "OK",
  2460. "schema": {
  2461. "type": "array",
  2462. "items": {
  2463. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2464. }
  2465. }
  2466. },
  2467. "500": {
  2468. "description": "Internal Server Error",
  2469. "schema": {
  2470. "$ref": "#/definitions/app.Response"
  2471. }
  2472. }
  2473. }
  2474. }
  2475. },
  2476. "/Ermcp/QueryExposureSpot": {
  2477. "get": {
  2478. "security": [
  2479. {
  2480. "ApiKeyAuth": []
  2481. }
  2482. ],
  2483. "produces": [
  2484. "application/json"
  2485. ],
  2486. "tags": [
  2487. "企业风险管理(app)"
  2488. ],
  2489. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2490. "parameters": [
  2491. {
  2492. "type": "integer",
  2493. "description": "所属机构ID",
  2494. "name": "areaUserId",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryExposureSpotDetail": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "areaUserId",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "现货品种ID",
  2543. "name": "wrstandardId",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryGGConvertConfig": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "品种id(不填则查所有)",
  2585. "name": "goodsgroupid",
  2586. "in": "query"
  2587. }
  2588. ],
  2589. "responses": {
  2590. "200": {
  2591. "description": "OK",
  2592. "schema": {
  2593. "type": "array",
  2594. "items": {
  2595. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2596. }
  2597. }
  2598. },
  2599. "500": {
  2600. "description": "Internal Server Error",
  2601. "schema": {
  2602. "$ref": "#/definitions/app.Response"
  2603. }
  2604. }
  2605. }
  2606. }
  2607. },
  2608. "/Ermcp/QueryGoodsBrand": {
  2609. "get": {
  2610. "security": [
  2611. {
  2612. "ApiKeyAuth": []
  2613. }
  2614. ],
  2615. "produces": [
  2616. "application/json"
  2617. ],
  2618. "tags": [
  2619. "企业风险管理(app)"
  2620. ],
  2621. "summary": "查询商品品牌",
  2622. "parameters": [
  2623. {
  2624. "type": "integer",
  2625. "description": "用户ID",
  2626. "name": "userid",
  2627. "in": "query",
  2628. "required": true
  2629. },
  2630. {
  2631. "type": "integer",
  2632. "description": "现货商品ID",
  2633. "name": "wrstandardid",
  2634. "in": "query"
  2635. }
  2636. ],
  2637. "responses": {
  2638. "200": {
  2639. "description": "OK",
  2640. "schema": {
  2641. "type": "array",
  2642. "items": {
  2643. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2644. }
  2645. }
  2646. },
  2647. "500": {
  2648. "description": "Internal Server Error",
  2649. "schema": {
  2650. "$ref": "#/definitions/app.Response"
  2651. }
  2652. }
  2653. }
  2654. }
  2655. },
  2656. "/Ermcp/QueryGoodsModel": {
  2657. "get": {
  2658. "security": [
  2659. {
  2660. "ApiKeyAuth": []
  2661. }
  2662. ],
  2663. "produces": [
  2664. "application/json"
  2665. ],
  2666. "tags": [
  2667. "企业风险管理(app)"
  2668. ],
  2669. "summary": "查询商品型号",
  2670. "parameters": [
  2671. {
  2672. "type": "integer",
  2673. "description": "用户ID",
  2674. "name": "userid",
  2675. "in": "query",
  2676. "required": true
  2677. }
  2678. ],
  2679. "responses": {
  2680. "200": {
  2681. "description": "OK",
  2682. "schema": {
  2683. "type": "array",
  2684. "items": {
  2685. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2686. }
  2687. }
  2688. },
  2689. "500": {
  2690. "description": "Internal Server Error",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "/Ermcp/QueryHedgePlan": {
  2699. "get": {
  2700. "security": [
  2701. {
  2702. "ApiKeyAuth": []
  2703. }
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "企业风险管理(app)"
  2710. ],
  2711. "summary": "查询套保计划",
  2712. "parameters": [
  2713. {
  2714. "type": "integer",
  2715. "description": "用户ID",
  2716. "name": "userId",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "string",
  2722. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2723. "name": "HedgePlanStatus",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryHisExposure": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "所属机构ID",
  2765. "name": "areaUserId",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "每个品种记录数",
  2772. "name": "lastNum",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryMiddleGoods": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询套保品种(菜单:套保品种)",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "所属机构ID",
  2814. "name": "userid",
  2815. "in": "query",
  2816. "required": true
  2817. },
  2818. {
  2819. "type": "integer",
  2820. "description": "状态 0-停用 1-正常",
  2821. "name": "status",
  2822. "in": "query",
  2823. "required": true
  2824. }
  2825. ],
  2826. "responses": {
  2827. "200": {
  2828. "description": "OK",
  2829. "schema": {
  2830. "type": "array",
  2831. "items": {
  2832. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2833. }
  2834. }
  2835. },
  2836. "500": {
  2837. "description": "Internal Server Error",
  2838. "schema": {
  2839. "$ref": "#/definitions/app.Response"
  2840. }
  2841. }
  2842. }
  2843. }
  2844. },
  2845. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2846. "get": {
  2847. "security": [
  2848. {
  2849. "ApiKeyAuth": []
  2850. }
  2851. ],
  2852. "produces": [
  2853. "application/json"
  2854. ],
  2855. "tags": [
  2856. "企业风险管理(app)"
  2857. ],
  2858. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2859. "parameters": [
  2860. {
  2861. "type": "integer",
  2862. "description": "所属机构ID",
  2863. "name": "userid",
  2864. "in": "query",
  2865. "required": true
  2866. },
  2867. {
  2868. "type": "integer",
  2869. "description": "套保品种id",
  2870. "name": "middlegoodsid",
  2871. "in": "query",
  2872. "required": true
  2873. }
  2874. ],
  2875. "responses": {
  2876. "200": {
  2877. "description": "OK",
  2878. "schema": {
  2879. "type": "array",
  2880. "items": {
  2881. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2882. }
  2883. }
  2884. },
  2885. "500": {
  2886. "description": "Internal Server Error",
  2887. "schema": {
  2888. "$ref": "#/definitions/app.Response"
  2889. }
  2890. }
  2891. }
  2892. }
  2893. },
  2894. "/Ermcp/QueryMiddleGoodsDetail": {
  2895. "get": {
  2896. "security": [
  2897. {
  2898. "ApiKeyAuth": []
  2899. }
  2900. ],
  2901. "produces": [
  2902. "application/json"
  2903. ],
  2904. "tags": [
  2905. "企业风险管理(app)"
  2906. ],
  2907. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2908. "parameters": [
  2909. {
  2910. "type": "integer",
  2911. "description": "所属机构ID",
  2912. "name": "userid",
  2913. "in": "query",
  2914. "required": true
  2915. },
  2916. {
  2917. "type": "integer",
  2918. "description": "套保品种id",
  2919. "name": "middlegoodsid",
  2920. "in": "query",
  2921. "required": true
  2922. }
  2923. ],
  2924. "responses": {
  2925. "200": {
  2926. "description": "OK",
  2927. "schema": {
  2928. "type": "array",
  2929. "items": {
  2930. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2931. }
  2932. }
  2933. },
  2934. "500": {
  2935. "description": "Internal Server Error",
  2936. "schema": {
  2937. "$ref": "#/definitions/app.Response"
  2938. }
  2939. }
  2940. }
  2941. }
  2942. },
  2943. "/Ermcp/QueryPendingAuditInfo": {
  2944. "get": {
  2945. "security": [
  2946. {
  2947. "ApiKeyAuth": []
  2948. }
  2949. ],
  2950. "produces": [
  2951. "application/json"
  2952. ],
  2953. "tags": [
  2954. "企业风险管理(app)"
  2955. ],
  2956. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2957. "parameters": [
  2958. {
  2959. "type": "integer",
  2960. "description": "用户ID",
  2961. "name": "UserId",
  2962. "in": "query",
  2963. "required": true
  2964. }
  2965. ],
  2966. "responses": {
  2967. "200": {
  2968. "description": "OK",
  2969. "schema": {
  2970. "type": "array",
  2971. "items": {
  2972. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2973. }
  2974. }
  2975. },
  2976. "500": {
  2977. "description": "Internal Server Error",
  2978. "schema": {
  2979. "$ref": "#/definitions/app.Response"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "/Ermcp/QueryRealtimeExposure": {
  2986. "get": {
  2987. "security": [
  2988. {
  2989. "ApiKeyAuth": []
  2990. }
  2991. ],
  2992. "produces": [
  2993. "application/json"
  2994. ],
  2995. "tags": [
  2996. "企业风险管理(app)"
  2997. ],
  2998. "summary": "查询实时敞口",
  2999. "parameters": [
  3000. {
  3001. "type": "integer",
  3002. "description": "所属机构ID",
  3003. "name": "AreaUserID",
  3004. "in": "query",
  3005. "required": true
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryRealtimeExposurePosition": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "所属机构ID",
  3045. "name": "areaUserId",
  3046. "in": "query",
  3047. "required": true
  3048. },
  3049. {
  3050. "type": "integer",
  3051. "description": "套保商品ID",
  3052. "name": "middleGoodsId",
  3053. "in": "query",
  3054. "required": true
  3055. }
  3056. ],
  3057. "responses": {
  3058. "200": {
  3059. "description": "OK",
  3060. "schema": {
  3061. "type": "array",
  3062. "items": {
  3063. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3064. }
  3065. }
  3066. },
  3067. "500": {
  3068. "description": "Internal Server Error",
  3069. "schema": {
  3070. "$ref": "#/definitions/app.Response"
  3071. }
  3072. }
  3073. }
  3074. }
  3075. },
  3076. "/Ermcp/QuerySpotContract": {
  3077. "get": {
  3078. "security": [
  3079. {
  3080. "ApiKeyAuth": []
  3081. }
  3082. ],
  3083. "produces": [
  3084. "application/json"
  3085. ],
  3086. "tags": [
  3087. "企业风险管理(app)"
  3088. ],
  3089. "summary": "查询现货合同(对应现货合同菜单)",
  3090. "parameters": [
  3091. {
  3092. "type": "integer",
  3093. "description": "用户ID",
  3094. "name": "userId",
  3095. "in": "query",
  3096. "required": true
  3097. },
  3098. {
  3099. "type": "integer",
  3100. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3101. "name": "QueryType",
  3102. "in": "query",
  3103. "required": true
  3104. }
  3105. ],
  3106. "responses": {
  3107. "200": {
  3108. "description": "OK",
  3109. "schema": {
  3110. "type": "array",
  3111. "items": {
  3112. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3113. }
  3114. }
  3115. },
  3116. "500": {
  3117. "description": "Internal Server Error",
  3118. "schema": {
  3119. "$ref": "#/definitions/app.Response"
  3120. }
  3121. }
  3122. }
  3123. }
  3124. },
  3125. "/Ermcp/QueryUserInfo": {
  3126. "get": {
  3127. "security": [
  3128. {
  3129. "ApiKeyAuth": []
  3130. }
  3131. ],
  3132. "produces": [
  3133. "application/json"
  3134. ],
  3135. "tags": [
  3136. "企业风险管理(app)"
  3137. ],
  3138. "summary": "查询客户资料",
  3139. "parameters": [
  3140. {
  3141. "type": "integer",
  3142. "description": "所属机构用户ID",
  3143. "name": "MemberUserID",
  3144. "in": "query",
  3145. "required": true
  3146. },
  3147. {
  3148. "type": "integer",
  3149. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3150. "name": "queryType",
  3151. "in": "query",
  3152. "required": true
  3153. }
  3154. ],
  3155. "responses": {
  3156. "200": {
  3157. "description": "OK",
  3158. "schema": {
  3159. "type": "array",
  3160. "items": {
  3161. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3162. }
  3163. }
  3164. },
  3165. "500": {
  3166. "description": "Internal Server Error",
  3167. "schema": {
  3168. "$ref": "#/definitions/app.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/Ermcp/QueryWarehouseInfo": {
  3175. "get": {
  3176. "security": [
  3177. {
  3178. "ApiKeyAuth": []
  3179. }
  3180. ],
  3181. "produces": [
  3182. "application/json"
  3183. ],
  3184. "tags": [
  3185. "企业风险管理(app)"
  3186. ],
  3187. "summary": "查询仓库信息",
  3188. "parameters": [
  3189. {
  3190. "type": "integer",
  3191. "description": "用户ID",
  3192. "name": "userid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "string",
  3198. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3199. "name": "status",
  3200. "in": "query"
  3201. }
  3202. ],
  3203. "responses": {
  3204. "200": {
  3205. "description": "OK",
  3206. "schema": {
  3207. "type": "array",
  3208. "items": {
  3209. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3210. }
  3211. }
  3212. },
  3213. "500": {
  3214. "description": "Internal Server Error",
  3215. "schema": {
  3216. "$ref": "#/definitions/app.Response"
  3217. }
  3218. }
  3219. }
  3220. }
  3221. },
  3222. "/Ermcp/QueryWrStandard": {
  3223. "get": {
  3224. "security": [
  3225. {
  3226. "ApiKeyAuth": []
  3227. }
  3228. ],
  3229. "produces": [
  3230. "application/json"
  3231. ],
  3232. "tags": [
  3233. "企业风险管理(app)"
  3234. ],
  3235. "summary": "查询现货商品",
  3236. "parameters": [
  3237. {
  3238. "type": "integer",
  3239. "description": "所属机构ID",
  3240. "name": "userid",
  3241. "in": "query",
  3242. "required": true
  3243. },
  3244. {
  3245. "type": "integer",
  3246. "description": "状态 0-停用 1-正常",
  3247. "name": "status",
  3248. "in": "query",
  3249. "required": true
  3250. }
  3251. ],
  3252. "responses": {
  3253. "200": {
  3254. "description": "OK",
  3255. "schema": {
  3256. "type": "array",
  3257. "items": {
  3258. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3259. }
  3260. }
  3261. },
  3262. "500": {
  3263. "description": "Internal Server Error",
  3264. "schema": {
  3265. "$ref": "#/definitions/app.Response"
  3266. }
  3267. }
  3268. }
  3269. }
  3270. },
  3271. "/Ermcp/QueryWrStandardDetail": {
  3272. "get": {
  3273. "security": [
  3274. {
  3275. "ApiKeyAuth": []
  3276. }
  3277. ],
  3278. "produces": [
  3279. "application/json"
  3280. ],
  3281. "tags": [
  3282. "企业风险管理(app)"
  3283. ],
  3284. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3285. "parameters": [
  3286. {
  3287. "type": "integer",
  3288. "description": "所属机构ID",
  3289. "name": "userid",
  3290. "in": "query",
  3291. "required": true
  3292. },
  3293. {
  3294. "type": "integer",
  3295. "description": "现货商品ID",
  3296. "name": "wrstandardid",
  3297. "in": "query",
  3298. "required": true
  3299. },
  3300. {
  3301. "type": "integer",
  3302. "description": "可不填, 1-查询关联交易商品",
  3303. "name": "goods",
  3304. "in": "query"
  3305. }
  3306. ],
  3307. "responses": {
  3308. "200": {
  3309. "description": "OK",
  3310. "schema": {
  3311. "type": "array",
  3312. "items": {
  3313. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3314. }
  3315. }
  3316. },
  3317. "500": {
  3318. "description": "Internal Server Error",
  3319. "schema": {
  3320. "$ref": "#/definitions/app.Response"
  3321. }
  3322. }
  3323. }
  3324. }
  3325. },
  3326. "/Erms2/QueryArbitrageStrategy": {
  3327. "get": {
  3328. "security": [
  3329. {
  3330. "ApiKeyAuth": []
  3331. }
  3332. ],
  3333. "produces": [
  3334. "application/json"
  3335. ],
  3336. "tags": [
  3337. "风险管理"
  3338. ],
  3339. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3340. "parameters": [
  3341. {
  3342. "type": "integer",
  3343. "description": "账户ID",
  3344. "name": "userid",
  3345. "in": "query",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "string",
  3350. "description": "商品组ID(品种ID)",
  3351. "name": "goodsgroupid",
  3352. "in": "query"
  3353. }
  3354. ],
  3355. "responses": {
  3356. "200": {
  3357. "description": "OK",
  3358. "schema": {
  3359. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3360. }
  3361. },
  3362. "500": {
  3363. "description": "Internal Server Error",
  3364. "schema": {
  3365. "$ref": "#/definitions/app.Response"
  3366. }
  3367. }
  3368. }
  3369. }
  3370. },
  3371. "/Erms2/QueryInnerTradeDetail": {
  3372. "get": {
  3373. "security": [
  3374. {
  3375. "ApiKeyAuth": []
  3376. }
  3377. ],
  3378. "produces": [
  3379. "application/json"
  3380. ],
  3381. "tags": [
  3382. "风险管理"
  3383. ],
  3384. "summary": "查询内部成交单信息",
  3385. "parameters": [
  3386. {
  3387. "type": "integer",
  3388. "description": "资金账户",
  3389. "name": "accountid",
  3390. "in": "query",
  3391. "required": true
  3392. }
  3393. ],
  3394. "responses": {
  3395. "200": {
  3396. "description": "OK",
  3397. "schema": {
  3398. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3399. }
  3400. },
  3401. "500": {
  3402. "description": "Internal Server Error",
  3403. "schema": {
  3404. "$ref": "#/definitions/app.Response"
  3405. }
  3406. }
  3407. }
  3408. }
  3409. },
  3410. "/Erms2/QuerySpotContract": {
  3411. "get": {
  3412. "security": [
  3413. {
  3414. "ApiKeyAuth": []
  3415. }
  3416. ],
  3417. "produces": [
  3418. "application/json"
  3419. ],
  3420. "tags": [
  3421. "风险管理"
  3422. ],
  3423. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3424. "parameters": [
  3425. {
  3426. "type": "integer",
  3427. "description": "策略申请ID",
  3428. "name": "asapplyid",
  3429. "in": "query",
  3430. "required": true
  3431. },
  3432. {
  3433. "type": "integer",
  3434. "description": "现货合同ID",
  3435. "name": "spotcontractid",
  3436. "in": "query"
  3437. }
  3438. ],
  3439. "responses": {
  3440. "200": {
  3441. "description": "OK",
  3442. "schema": {
  3443. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3444. }
  3445. },
  3446. "500": {
  3447. "description": "Internal Server Error",
  3448. "schema": {
  3449. "$ref": "#/definitions/app.Response"
  3450. }
  3451. }
  3452. }
  3453. }
  3454. },
  3455. "/Erms3/AddErms2ASApply": {
  3456. "post": {
  3457. "security": [
  3458. {
  3459. "ApiKeyAuth": []
  3460. }
  3461. ],
  3462. "produces": [
  3463. "application/json"
  3464. ],
  3465. "tags": [
  3466. "风险管理v3"
  3467. ],
  3468. "summary": "新增期现套利业务申请",
  3469. "parameters": [
  3470. {
  3471. "description": "申请参数",
  3472. "name": "jsonBody",
  3473. "in": "body",
  3474. "required": true,
  3475. "schema": {
  3476. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3477. }
  3478. }
  3479. ],
  3480. "responses": {
  3481. "200": {
  3482. "description": "OK",
  3483. "schema": {
  3484. "$ref": "#/definitions/app.Response"
  3485. }
  3486. },
  3487. "500": {
  3488. "description": "Internal Server Error",
  3489. "schema": {
  3490. "$ref": "#/definitions/app.Response"
  3491. }
  3492. }
  3493. }
  3494. }
  3495. },
  3496. "/Erms3/AddErms2SpotTradeApply": {
  3497. "post": {
  3498. "security": [
  3499. {
  3500. "ApiKeyAuth": []
  3501. }
  3502. ],
  3503. "produces": [
  3504. "application/json"
  3505. ],
  3506. "tags": [
  3507. "风险管理v3"
  3508. ],
  3509. "summary": "新增现货贸易业务申请",
  3510. "parameters": [
  3511. {
  3512. "description": "申请参数",
  3513. "name": "jsonBody",
  3514. "in": "body",
  3515. "required": true,
  3516. "schema": {
  3517. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3518. }
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "$ref": "#/definitions/app.Response"
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Erms3/AddSpotContractApply": {
  3538. "post": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "风险管理v3"
  3549. ],
  3550. "summary": "新增现货合同申请",
  3551. "parameters": [
  3552. {
  3553. "description": "申请参数",
  3554. "name": "jsonBody",
  3555. "in": "body",
  3556. "required": true,
  3557. "schema": {
  3558. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3559. }
  3560. }
  3561. ],
  3562. "responses": {
  3563. "200": {
  3564. "description": "OK",
  3565. "schema": {
  3566. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3567. }
  3568. },
  3569. "500": {
  3570. "description": "Internal Server Error",
  3571. "schema": {
  3572. "$ref": "#/definitions/app.Response"
  3573. }
  3574. }
  3575. }
  3576. }
  3577. },
  3578. "/Erms3/AddUserInfoApply": {
  3579. "post": {
  3580. "security": [
  3581. {
  3582. "ApiKeyAuth": []
  3583. }
  3584. ],
  3585. "produces": [
  3586. "application/json"
  3587. ],
  3588. "tags": [
  3589. "风险管理v3"
  3590. ],
  3591. "summary": "新增客户申请",
  3592. "parameters": [
  3593. {
  3594. "description": "用户信息",
  3595. "name": "jsonBody",
  3596. "in": "body",
  3597. "required": true,
  3598. "schema": {
  3599. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3600. }
  3601. }
  3602. ],
  3603. "responses": {
  3604. "200": {
  3605. "description": "OK",
  3606. "schema": {
  3607. "$ref": "#/definitions/app.Response"
  3608. }
  3609. },
  3610. "500": {
  3611. "description": "Internal Server Error",
  3612. "schema": {
  3613. "$ref": "#/definitions/app.Response"
  3614. }
  3615. }
  3616. }
  3617. }
  3618. },
  3619. "/Erms3/ModifyUserInfoApply": {
  3620. "post": {
  3621. "security": [
  3622. {
  3623. "ApiKeyAuth": []
  3624. }
  3625. ],
  3626. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3627. "produces": [
  3628. "application/json"
  3629. ],
  3630. "tags": [
  3631. "风险管理v3"
  3632. ],
  3633. "summary": "修改客户申请",
  3634. "parameters": [
  3635. {
  3636. "description": "用户信息",
  3637. "name": "jsonBody",
  3638. "in": "body",
  3639. "required": true,
  3640. "schema": {
  3641. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3642. }
  3643. }
  3644. ],
  3645. "responses": {
  3646. "200": {
  3647. "description": "OK",
  3648. "schema": {
  3649. "$ref": "#/definitions/app.Response"
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Erms3/QueryBusinessInfo": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "produces": [
  3669. "application/json"
  3670. ],
  3671. "tags": [
  3672. "风险管理v3"
  3673. ],
  3674. "summary": "查询业务表单数据",
  3675. "parameters": [
  3676. {
  3677. "type": "string",
  3678. "description": "资金账号ID列表,用逗号分隔",
  3679. "name": "accountids",
  3680. "in": "query",
  3681. "required": true
  3682. },
  3683. {
  3684. "type": "integer",
  3685. "description": "状态,0为未结束 1为已结束",
  3686. "name": "status",
  3687. "in": "query",
  3688. "required": true
  3689. }
  3690. ],
  3691. "responses": {
  3692. "200": {
  3693. "description": "OK",
  3694. "schema": {
  3695. "type": "array",
  3696. "items": {
  3697. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3698. }
  3699. }
  3700. },
  3701. "500": {
  3702. "description": "Internal Server Error",
  3703. "schema": {
  3704. "$ref": "#/definitions/app.Response"
  3705. }
  3706. }
  3707. }
  3708. }
  3709. },
  3710. "/Erms3/QueryPendingAuditContract": {
  3711. "get": {
  3712. "security": [
  3713. {
  3714. "ApiKeyAuth": []
  3715. }
  3716. ],
  3717. "produces": [
  3718. "application/json"
  3719. ],
  3720. "tags": [
  3721. "风险管理v3"
  3722. ],
  3723. "summary": "查询待审核合同",
  3724. "parameters": [
  3725. {
  3726. "type": "string",
  3727. "description": "资金账号ID列表,逗号隔开",
  3728. "name": "accountids",
  3729. "in": "query",
  3730. "required": true
  3731. },
  3732. {
  3733. "type": "integer",
  3734. "description": "合同类型 1-采购 -1-销售",
  3735. "name": "contracttype",
  3736. "in": "query",
  3737. "required": true
  3738. },
  3739. {
  3740. "type": "integer",
  3741. "description": "合同模式 1-普通 2-回购",
  3742. "name": "contractmode",
  3743. "in": "query",
  3744. "required": true
  3745. }
  3746. ],
  3747. "responses": {
  3748. "200": {
  3749. "description": "OK",
  3750. "schema": {
  3751. "type": "array",
  3752. "items": {
  3753. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3754. }
  3755. }
  3756. },
  3757. "500": {
  3758. "description": "Internal Server Error",
  3759. "schema": {
  3760. "$ref": "#/definitions/app.Response"
  3761. }
  3762. }
  3763. }
  3764. }
  3765. },
  3766. "/Erms3/QueryPendingBusiness": {
  3767. "get": {
  3768. "security": [
  3769. {
  3770. "ApiKeyAuth": []
  3771. }
  3772. ],
  3773. "produces": [
  3774. "application/json"
  3775. ],
  3776. "tags": [
  3777. "风险管理v3"
  3778. ],
  3779. "summary": "查询待审核基差贸易业务",
  3780. "parameters": [
  3781. {
  3782. "type": "string",
  3783. "description": "资金账号ID列表,逗号隔开",
  3784. "name": "accountids",
  3785. "in": "query",
  3786. "required": true
  3787. }
  3788. ],
  3789. "responses": {
  3790. "200": {
  3791. "description": "OK",
  3792. "schema": {
  3793. "type": "array",
  3794. "items": {
  3795. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3796. }
  3797. }
  3798. },
  3799. "500": {
  3800. "description": "Internal Server Error",
  3801. "schema": {
  3802. "$ref": "#/definitions/app.Response"
  3803. }
  3804. }
  3805. }
  3806. }
  3807. },
  3808. "/Erms3/QuerySpotContractAppleForm": {
  3809. "get": {
  3810. "security": [
  3811. {
  3812. "ApiKeyAuth": []
  3813. }
  3814. ],
  3815. "produces": [
  3816. "application/json"
  3817. ],
  3818. "tags": [
  3819. "风险管理v3"
  3820. ],
  3821. "summary": "查询合同申请表单数据",
  3822. "parameters": [
  3823. {
  3824. "type": "integer",
  3825. "description": "登录账号",
  3826. "name": "loginID",
  3827. "in": "query",
  3828. "required": true
  3829. }
  3830. ],
  3831. "responses": {
  3832. "200": {
  3833. "description": "OK",
  3834. "schema": {
  3835. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3836. }
  3837. },
  3838. "500": {
  3839. "description": "Internal Server Error",
  3840. "schema": {
  3841. "$ref": "#/definitions/app.Response"
  3842. }
  3843. }
  3844. }
  3845. }
  3846. },
  3847. "/Erms3/QuerySpotContractDetail": {
  3848. "get": {
  3849. "security": [
  3850. {
  3851. "ApiKeyAuth": []
  3852. }
  3853. ],
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "风险管理v3"
  3859. ],
  3860. "summary": "查询合同详细信息",
  3861. "parameters": [
  3862. {
  3863. "type": "string",
  3864. "description": "资金账号ID列表,用逗号分隔",
  3865. "name": "accountids",
  3866. "in": "query",
  3867. "required": true
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "合同类型,1为采购合同 -1为销售合同",
  3872. "name": "contracttype",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "合同模式,1为普通合同 2为回购销售合同",
  3879. "name": "contractmode",
  3880. "in": "query",
  3881. "required": true
  3882. },
  3883. {
  3884. "type": "integer",
  3885. "description": "状态,0为履约中 1为已完成",
  3886. "name": "status",
  3887. "in": "query",
  3888. "required": true
  3889. }
  3890. ],
  3891. "responses": {
  3892. "200": {
  3893. "description": "OK",
  3894. "schema": {
  3895. "type": "array",
  3896. "items": {
  3897. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3898. }
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/Erms3/QueryUserInfoApplies": {
  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.QueryUserInfoAppliesRsp"
  3949. }
  3950. },
  3951. "500": {
  3952. "description": "Internal Server Error",
  3953. "schema": {
  3954. "$ref": "#/definitions/app.Response"
  3955. }
  3956. }
  3957. }
  3958. }
  3959. },
  3960. "/Erms3/QueryUserInfos": {
  3961. "get": {
  3962. "security": [
  3963. {
  3964. "ApiKeyAuth": []
  3965. }
  3966. ],
  3967. "produces": [
  3968. "application/json"
  3969. ],
  3970. "tags": [
  3971. "风险管理v3"
  3972. ],
  3973. "summary": "客户信息查询",
  3974. "parameters": [
  3975. {
  3976. "type": "integer",
  3977. "description": "页码",
  3978. "name": "page",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "每页条数",
  3984. "name": "pagesize",
  3985. "in": "query"
  3986. },
  3987. {
  3988. "type": "string",
  3989. "description": "客户名称,支持模糊查询",
  3990. "name": "userName",
  3991. "in": "query"
  3992. }
  3993. ],
  3994. "responses": {
  3995. "200": {
  3996. "description": "OK",
  3997. "schema": {
  3998. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3999. }
  4000. },
  4001. "500": {
  4002. "description": "Internal Server Error",
  4003. "schema": {
  4004. "$ref": "#/definitions/app.Response"
  4005. }
  4006. }
  4007. }
  4008. }
  4009. },
  4010. "/HSBY/GetHsbyMyCount": {
  4011. "get": {
  4012. "security": [
  4013. {
  4014. "ApiKeyAuth": []
  4015. }
  4016. ],
  4017. "description": "说明: 不包括已完成的数量。",
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "定制【海商报业】"
  4023. ],
  4024. "summary": "获取我的订单与包裹数量",
  4025. "parameters": [
  4026. {
  4027. "type": "string",
  4028. "description": "资金账户列表,格式:1,2,3",
  4029. "name": "accountIDs",
  4030. "in": "query",
  4031. "required": true
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4039. }
  4040. },
  4041. "500": {
  4042. "description": "Internal Server Error",
  4043. "schema": {
  4044. "$ref": "#/definitions/app.Response"
  4045. }
  4046. }
  4047. }
  4048. }
  4049. },
  4050. "/HSBY/QueryClientFixedADConfigs": {
  4051. "get": {
  4052. "security": [
  4053. {
  4054. "ApiKeyAuth": []
  4055. }
  4056. ],
  4057. "produces": [
  4058. "application/json"
  4059. ],
  4060. "tags": [
  4061. "定制【海商报业】"
  4062. ],
  4063. "summary": "获取终端固定广告配置",
  4064. "responses": {
  4065. "200": {
  4066. "description": "OK",
  4067. "schema": {
  4068. "$ref": "#/definitions/models.Clientfixedadconfig"
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "produces": [
  4088. "application/json"
  4089. ],
  4090. "tags": [
  4091. "定制【海商报业】"
  4092. ],
  4093. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4094. "parameters": [
  4095. {
  4096. "type": "integer",
  4097. "description": "页码",
  4098. "name": "page",
  4099. "in": "query"
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "每页条数",
  4104. "name": "pagesize",
  4105. "in": "query"
  4106. },
  4107. {
  4108. "type": "string",
  4109. "description": "资金账户列表,格式:1,2,3",
  4110. "name": "accountIDs",
  4111. "in": "query",
  4112. "required": true
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4120. }
  4121. },
  4122. "500": {
  4123. "description": "Internal Server Error",
  4124. "schema": {
  4125. "$ref": "#/definitions/app.Response"
  4126. }
  4127. }
  4128. }
  4129. }
  4130. },
  4131. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4132. "get": {
  4133. "security": [
  4134. {
  4135. "ApiKeyAuth": []
  4136. }
  4137. ],
  4138. "description": "说明:查询结果已按委托价格和委托时间排序",
  4139. "produces": [
  4140. "application/json"
  4141. ],
  4142. "tags": [
  4143. "定制【海商报业】"
  4144. ],
  4145. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4146. "parameters": [
  4147. {
  4148. "type": "integer",
  4149. "description": "商品ID",
  4150. "name": "goodsID",
  4151. "in": "query",
  4152. "required": true
  4153. },
  4154. {
  4155. "type": "string",
  4156. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4157. "name": "accountIDs",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "integer",
  4162. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4163. "name": "buyOrSell",
  4164. "in": "query"
  4165. },
  4166. {
  4167. "type": "number",
  4168. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4169. "name": "price",
  4170. "in": "query"
  4171. },
  4172. {
  4173. "type": "integer",
  4174. "description": "档位,不传则默认为3档",
  4175. "name": "speed",
  4176. "in": "query"
  4177. }
  4178. ],
  4179. "responses": {
  4180. "200": {
  4181. "description": "OK",
  4182. "schema": {
  4183. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4184. }
  4185. },
  4186. "500": {
  4187. "description": "Internal Server Error",
  4188. "schema": {
  4189. "$ref": "#/definitions/app.Response"
  4190. }
  4191. }
  4192. }
  4193. }
  4194. },
  4195. "/HSBY/QueryHsbyListingGoodsDetail": {
  4196. "get": {
  4197. "security": [
  4198. {
  4199. "ApiKeyAuth": []
  4200. }
  4201. ],
  4202. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4203. "produces": [
  4204. "application/json"
  4205. ],
  4206. "tags": [
  4207. "定制【海商报业】"
  4208. ],
  4209. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4210. "parameters": [
  4211. {
  4212. "type": "integer",
  4213. "description": "商品ID",
  4214. "name": "goodsID",
  4215. "in": "query",
  4216. "required": true
  4217. },
  4218. {
  4219. "type": "integer",
  4220. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4221. "name": "accountID",
  4222. "in": "query"
  4223. }
  4224. ],
  4225. "responses": {
  4226. "200": {
  4227. "description": "OK",
  4228. "schema": {
  4229. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4230. }
  4231. },
  4232. "500": {
  4233. "description": "Internal Server Error",
  4234. "schema": {
  4235. "$ref": "#/definitions/app.Response"
  4236. }
  4237. }
  4238. }
  4239. }
  4240. },
  4241. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4242. "get": {
  4243. "security": [
  4244. {
  4245. "ApiKeyAuth": []
  4246. }
  4247. ],
  4248. "produces": [
  4249. "application/json"
  4250. ],
  4251. "tags": [
  4252. "定制【海商报业】"
  4253. ],
  4254. "summary": "查询三级市场(商城)商品信息详情",
  4255. "parameters": [
  4256. {
  4257. "type": "integer",
  4258. "description": "委托单号",
  4259. "name": "orderID",
  4260. "in": "query",
  4261. "required": true
  4262. },
  4263. {
  4264. "type": "integer",
  4265. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4266. "name": "accountID",
  4267. "in": "query"
  4268. }
  4269. ],
  4270. "responses": {
  4271. "200": {
  4272. "description": "OK",
  4273. "schema": {
  4274. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4275. }
  4276. },
  4277. "500": {
  4278. "description": "Internal Server Error",
  4279. "schema": {
  4280. "$ref": "#/definitions/app.Response"
  4281. }
  4282. }
  4283. }
  4284. }
  4285. },
  4286. "/HSBY/QueryHsbyMarketGoodses": {
  4287. "get": {
  4288. "security": [
  4289. {
  4290. "ApiKeyAuth": []
  4291. }
  4292. ],
  4293. "produces": [
  4294. "application/json"
  4295. ],
  4296. "tags": [
  4297. "定制【海商报业】"
  4298. ],
  4299. "summary": "查询特卖商品列表(三级商城)",
  4300. "parameters": [
  4301. {
  4302. "type": "integer",
  4303. "description": "页码",
  4304. "name": "page",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "每页条数",
  4310. "name": "pagesize",
  4311. "in": "query"
  4312. },
  4313. {
  4314. "type": "string",
  4315. "description": "市场ID列表,格式:1,2,3",
  4316. "name": "marketIDs",
  4317. "in": "query",
  4318. "required": true
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4323. "name": "accountID",
  4324. "in": "query",
  4325. "required": true
  4326. },
  4327. {
  4328. "type": "integer",
  4329. "description": "类别ID",
  4330. "name": "categoryID",
  4331. "in": "query"
  4332. },
  4333. {
  4334. "type": "string",
  4335. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4336. "name": "goodsIDs",
  4337. "in": "query"
  4338. },
  4339. {
  4340. "type": "integer",
  4341. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4342. "name": "couponTypeID",
  4343. "in": "query"
  4344. }
  4345. ],
  4346. "responses": {
  4347. "200": {
  4348. "description": "OK",
  4349. "schema": {
  4350. "$ref": "#/definitions/models.HsbyMarketGoods"
  4351. }
  4352. },
  4353. "500": {
  4354. "description": "Internal Server Error",
  4355. "schema": {
  4356. "$ref": "#/definitions/app.Response"
  4357. }
  4358. }
  4359. }
  4360. }
  4361. },
  4362. "/HSBY/QueryHsbyMarkets": {
  4363. "get": {
  4364. "security": [
  4365. {
  4366. "ApiKeyAuth": []
  4367. }
  4368. ],
  4369. "produces": [
  4370. "application/json"
  4371. ],
  4372. "tags": [
  4373. "定制【海商报业】"
  4374. ],
  4375. "summary": "查询海商报业相关市场信息",
  4376. "responses": {
  4377. "200": {
  4378. "description": "OK",
  4379. "schema": {
  4380. "$ref": "#/definitions/models.HsbyMarketInfo"
  4381. }
  4382. },
  4383. "500": {
  4384. "description": "Internal Server Error",
  4385. "schema": {
  4386. "$ref": "#/definitions/app.Response"
  4387. }
  4388. }
  4389. }
  4390. }
  4391. },
  4392. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4393. "get": {
  4394. "security": [
  4395. {
  4396. "ApiKeyAuth": []
  4397. }
  4398. ],
  4399. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "定制【海商报业】"
  4405. ],
  4406. "summary": "查询“我的订单”信息",
  4407. "parameters": [
  4408. {
  4409. "type": "string",
  4410. "description": "资金账户列表,格式:1,2,3",
  4411. "name": "accountIDs",
  4412. "in": "query",
  4413. "required": true
  4414. }
  4415. ],
  4416. "responses": {
  4417. "200": {
  4418. "description": "OK",
  4419. "schema": {
  4420. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4421. }
  4422. },
  4423. "500": {
  4424. "description": "Internal Server Error",
  4425. "schema": {
  4426. "$ref": "#/definitions/app.Response"
  4427. }
  4428. }
  4429. }
  4430. }
  4431. },
  4432. "/HSBY/QueryHsbyMyGoods": {
  4433. "get": {
  4434. "security": [
  4435. {
  4436. "ApiKeyAuth": []
  4437. }
  4438. ],
  4439. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4440. "produces": [
  4441. "application/json"
  4442. ],
  4443. "tags": [
  4444. "定制【海商报业】"
  4445. ],
  4446. "summary": "查询“我的商品”信息",
  4447. "parameters": [
  4448. {
  4449. "type": "string",
  4450. "description": "资金账户列表,格式:1,2,3",
  4451. "name": "accountIDs",
  4452. "in": "query",
  4453. "required": true
  4454. }
  4455. ],
  4456. "responses": {
  4457. "200": {
  4458. "description": "OK",
  4459. "schema": {
  4460. "$ref": "#/definitions/models.HsbyMyGoods"
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/HSBY/QueryHsbyMyPackages": {
  4473. "get": {
  4474. "security": [
  4475. {
  4476. "ApiKeyAuth": []
  4477. }
  4478. ],
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "定制【海商报业】"
  4484. ],
  4485. "summary": "查询我的包裹信息",
  4486. "parameters": [
  4487. {
  4488. "type": "string",
  4489. "description": "资金账户列表,格式:1,2,3",
  4490. "name": "accountIDs",
  4491. "in": "query",
  4492. "required": true
  4493. },
  4494. {
  4495. "type": "integer",
  4496. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4497. "name": "takeOrderStatus",
  4498. "in": "query"
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "$ref": "#/definitions/models.HsbyMyPackage"
  4506. }
  4507. },
  4508. "500": {
  4509. "description": "Internal Server Error",
  4510. "schema": {
  4511. "$ref": "#/definitions/app.Response"
  4512. }
  4513. }
  4514. }
  4515. }
  4516. },
  4517. "/HSBY/QueryHsbyPreGoodsDetail": {
  4518. "get": {
  4519. "security": [
  4520. {
  4521. "ApiKeyAuth": []
  4522. }
  4523. ],
  4524. "produces": [
  4525. "application/json"
  4526. ],
  4527. "tags": [
  4528. "定制【海商报业】"
  4529. ],
  4530. "summary": "查询一级市场(预售)商品信息详情",
  4531. "parameters": [
  4532. {
  4533. "type": "integer",
  4534. "description": "商品ID",
  4535. "name": "goodsID",
  4536. "in": "query",
  4537. "required": true
  4538. },
  4539. {
  4540. "type": "integer",
  4541. "description": "资金账户,主要用于获取预售商品购买上限",
  4542. "name": "accountID",
  4543. "in": "query"
  4544. }
  4545. ],
  4546. "responses": {
  4547. "200": {
  4548. "description": "OK",
  4549. "schema": {
  4550. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4551. }
  4552. },
  4553. "500": {
  4554. "description": "Internal Server Error",
  4555. "schema": {
  4556. "$ref": "#/definitions/app.Response"
  4557. }
  4558. }
  4559. }
  4560. }
  4561. },
  4562. "/HSBY/QueryHsbyPreGoodses": {
  4563. "get": {
  4564. "security": [
  4565. {
  4566. "ApiKeyAuth": []
  4567. }
  4568. ],
  4569. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "定制【海商报业】"
  4575. ],
  4576. "summary": "查询新品上市商品列表(一级市场预售)",
  4577. "parameters": [
  4578. {
  4579. "type": "integer",
  4580. "description": "页码",
  4581. "name": "page",
  4582. "in": "query"
  4583. },
  4584. {
  4585. "type": "integer",
  4586. "description": "每页条数",
  4587. "name": "pagesize",
  4588. "in": "query"
  4589. },
  4590. {
  4591. "type": "string",
  4592. "description": "市场ID列表,格式:1,2,3",
  4593. "name": "marketIDs",
  4594. "in": "query",
  4595. "required": true
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "目的地(省)ID",
  4600. "name": "descProvinceID",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "目的地(市)ID",
  4606. "name": "descCityID",
  4607. "in": "query"
  4608. }
  4609. ],
  4610. "responses": {
  4611. "200": {
  4612. "description": "OK",
  4613. "schema": {
  4614. "$ref": "#/definitions/models.HsbyPreGoods"
  4615. }
  4616. },
  4617. "500": {
  4618. "description": "Internal Server Error",
  4619. "schema": {
  4620. "$ref": "#/definitions/app.Response"
  4621. }
  4622. }
  4623. }
  4624. }
  4625. },
  4626. "/HSBY/QueryHsbySellMyDetails": {
  4627. "get": {
  4628. "security": [
  4629. {
  4630. "ApiKeyAuth": []
  4631. }
  4632. ],
  4633. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "定制【海商报业】"
  4639. ],
  4640. "summary": "查询\"我的闲置\"单据信息",
  4641. "parameters": [
  4642. {
  4643. "type": "integer",
  4644. "description": "页码",
  4645. "name": "page",
  4646. "in": "query"
  4647. },
  4648. {
  4649. "type": "integer",
  4650. "description": "每页条数",
  4651. "name": "pagesize",
  4652. "in": "query"
  4653. },
  4654. {
  4655. "type": "string",
  4656. "description": "资金账户列表,格式:1,2,3",
  4657. "name": "accountIDs",
  4658. "in": "query",
  4659. "required": true
  4660. },
  4661. {
  4662. "type": "integer",
  4663. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4664. "name": "orderType",
  4665. "in": "query"
  4666. }
  4667. ],
  4668. "responses": {
  4669. "200": {
  4670. "description": "OK",
  4671. "schema": {
  4672. "$ref": "#/definitions/models.HsbySellMyDetail"
  4673. }
  4674. },
  4675. "500": {
  4676. "description": "Internal Server Error",
  4677. "schema": {
  4678. "$ref": "#/definitions/app.Response"
  4679. }
  4680. }
  4681. }
  4682. }
  4683. },
  4684. "/HSBY/QueryHsbyTopGoodses": {
  4685. "get": {
  4686. "security": [
  4687. {
  4688. "ApiKeyAuth": []
  4689. }
  4690. ],
  4691. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4692. "produces": [
  4693. "application/json"
  4694. ],
  4695. "tags": [
  4696. "定制【海商报业】"
  4697. ],
  4698. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4699. "parameters": [
  4700. {
  4701. "type": "integer",
  4702. "description": "页码",
  4703. "name": "page",
  4704. "in": "query"
  4705. },
  4706. {
  4707. "type": "integer",
  4708. "description": "每页条数",
  4709. "name": "pagesize",
  4710. "in": "query"
  4711. },
  4712. {
  4713. "type": "string",
  4714. "description": "市场ID列表,格式:1,2,3",
  4715. "name": "marketIDs",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "integer",
  4721. "description": "目的地(省)ID",
  4722. "name": "descProvinceID",
  4723. "in": "query"
  4724. },
  4725. {
  4726. "type": "integer",
  4727. "description": "目的地(市)ID",
  4728. "name": "descCityID",
  4729. "in": "query"
  4730. }
  4731. ],
  4732. "responses": {
  4733. "200": {
  4734. "description": "OK",
  4735. "schema": {
  4736. "$ref": "#/definitions/models.HsbyTopGoods"
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4756. "produces": [
  4757. "application/json"
  4758. ],
  4759. "tags": [
  4760. "定制【海商报业】"
  4761. ],
  4762. "summary": "查询游客三级市场(商城)商品信息详情",
  4763. "parameters": [
  4764. {
  4765. "type": "integer",
  4766. "description": "商品ID",
  4767. "name": "goodsID",
  4768. "in": "query",
  4769. "required": true
  4770. }
  4771. ],
  4772. "responses": {
  4773. "200": {
  4774. "description": "OK",
  4775. "schema": {
  4776. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4777. }
  4778. },
  4779. "500": {
  4780. "description": "Internal Server Error",
  4781. "schema": {
  4782. "$ref": "#/definitions/app.Response"
  4783. }
  4784. }
  4785. }
  4786. }
  4787. },
  4788. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4789. "get": {
  4790. "security": [
  4791. {
  4792. "ApiKeyAuth": []
  4793. }
  4794. ],
  4795. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4796. "produces": [
  4797. "application/json"
  4798. ],
  4799. "tags": [
  4800. "定制【海商报业】"
  4801. ],
  4802. "summary": "查询游客特卖商品列表(三级商城)",
  4803. "parameters": [
  4804. {
  4805. "type": "integer",
  4806. "description": "页码",
  4807. "name": "page",
  4808. "in": "query"
  4809. },
  4810. {
  4811. "type": "integer",
  4812. "description": "每页条数",
  4813. "name": "pagesize",
  4814. "in": "query"
  4815. },
  4816. {
  4817. "type": "string",
  4818. "description": "市场ID列表,格式:1,2,3",
  4819. "name": "marketIDs",
  4820. "in": "query",
  4821. "required": true
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "类别ID",
  4826. "name": "categoryID",
  4827. "in": "query"
  4828. },
  4829. {
  4830. "type": "string",
  4831. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4832. "name": "goodsIDs",
  4833. "in": "query"
  4834. }
  4835. ],
  4836. "responses": {
  4837. "200": {
  4838. "description": "OK",
  4839. "schema": {
  4840. "$ref": "#/definitions/models.HsbyMarketGoods"
  4841. }
  4842. },
  4843. "500": {
  4844. "description": "Internal Server Error",
  4845. "schema": {
  4846. "$ref": "#/definitions/app.Response"
  4847. }
  4848. }
  4849. }
  4850. }
  4851. },
  4852. "/HSBY/QueryMyCollectionOrders": {
  4853. "get": {
  4854. "security": [
  4855. {
  4856. "ApiKeyAuth": []
  4857. }
  4858. ],
  4859. "produces": [
  4860. "application/json"
  4861. ],
  4862. "tags": [
  4863. "定制【海商报业】"
  4864. ],
  4865. "summary": "我的闲置中收款信息查询",
  4866. "parameters": [
  4867. {
  4868. "type": "integer",
  4869. "description": "页码",
  4870. "name": "page",
  4871. "in": "query"
  4872. },
  4873. {
  4874. "type": "integer",
  4875. "description": "每页条数",
  4876. "name": "pagesize",
  4877. "in": "query"
  4878. },
  4879. {
  4880. "type": "string",
  4881. "description": "资金账户,格式:1,2,3",
  4882. "name": "accountIDs",
  4883. "in": "query",
  4884. "required": true
  4885. }
  4886. ],
  4887. "responses": {
  4888. "200": {
  4889. "description": "OK",
  4890. "schema": {
  4891. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4892. }
  4893. },
  4894. "500": {
  4895. "description": "Internal Server Error",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. }
  4900. }
  4901. }
  4902. },
  4903. "/HSBY/QueryMyCouponHolds": {
  4904. "get": {
  4905. "security": [
  4906. {
  4907. "ApiKeyAuth": []
  4908. }
  4909. ],
  4910. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4911. "produces": [
  4912. "application/json"
  4913. ],
  4914. "tags": [
  4915. "定制【海商报业】"
  4916. ],
  4917. "summary": "我的优惠卷持仓查询",
  4918. "parameters": [
  4919. {
  4920. "type": "string",
  4921. "description": "资金账户列表,格式:1,2,3",
  4922. "name": "accountIDs",
  4923. "in": "query",
  4924. "required": true
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4929. "name": "holdStatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/models.MyCouponHold"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/HSBY/QueryMyCoupons": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "定制【海商报业】"
  4961. ],
  4962. "summary": "我的优惠卷查询",
  4963. "parameters": [
  4964. {
  4965. "type": "string",
  4966. "description": "资金账户列表,格式:1,2,3",
  4967. "name": "accountIDs",
  4968. "in": "query",
  4969. "required": true
  4970. },
  4971. {
  4972. "type": "integer",
  4973. "description": "商品ID, 一般与sellUserID配套传入",
  4974. "name": "goodsID",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "卖方UserID",
  4980. "name": "sellUserID",
  4981. "in": "query"
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/models.MyCoupon"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/HSBY/QueryMyPayOrders": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "定制【海商报业】"
  5012. ],
  5013. "summary": "获取我的订单中待付款信息",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "页码",
  5018. "name": "page",
  5019. "in": "query"
  5020. },
  5021. {
  5022. "type": "integer",
  5023. "description": "每页条数",
  5024. "name": "pagesize",
  5025. "in": "query"
  5026. },
  5027. {
  5028. "type": "string",
  5029. "description": "资金账户列表,格式:1,2,3",
  5030. "name": "accountIDs",
  5031. "in": "query",
  5032. "required": true
  5033. },
  5034. {
  5035. "type": "integer",
  5036. "description": "买方委托单号",
  5037. "name": "buyOrderID",
  5038. "in": "query"
  5039. },
  5040. {
  5041. "type": "integer",
  5042. "description": "卖方委托单号",
  5043. "name": "sellOrderID",
  5044. "in": "query"
  5045. }
  5046. ],
  5047. "responses": {
  5048. "200": {
  5049. "description": "OK",
  5050. "schema": {
  5051. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5052. }
  5053. },
  5054. "500": {
  5055. "description": "Internal Server Error",
  5056. "schema": {
  5057. "$ref": "#/definitions/app.Response"
  5058. }
  5059. }
  5060. }
  5061. }
  5062. },
  5063. "/HSBY/QueryMyUsedCoupon": {
  5064. "get": {
  5065. "security": [
  5066. {
  5067. "ApiKeyAuth": []
  5068. }
  5069. ],
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "定制【海商报业】"
  5075. ],
  5076. "summary": "已使用优惠卷查询",
  5077. "parameters": [
  5078. {
  5079. "type": "string",
  5080. "description": "资金账户列表,格式:1,2,3",
  5081. "name": "accountIDs",
  5082. "in": "query",
  5083. "required": true
  5084. }
  5085. ],
  5086. "responses": {
  5087. "200": {
  5088. "description": "OK",
  5089. "schema": {
  5090. "$ref": "#/definitions/models.MyUsedCoupon"
  5091. }
  5092. },
  5093. "500": {
  5094. "description": "Internal Server Error",
  5095. "schema": {
  5096. "$ref": "#/definitions/app.Response"
  5097. }
  5098. }
  5099. }
  5100. }
  5101. },
  5102. "/HSBY/QueryProvincesAndCities": {
  5103. "get": {
  5104. "security": [
  5105. {
  5106. "ApiKeyAuth": []
  5107. }
  5108. ],
  5109. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5110. "produces": [
  5111. "application/json"
  5112. ],
  5113. "tags": [
  5114. "定制【海商报业】"
  5115. ],
  5116. "summary": "查询省市信息(不包括区)",
  5117. "parameters": [
  5118. {
  5119. "type": "integer",
  5120. "description": "省ID",
  5121. "name": "provinceID",
  5122. "in": "query"
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/HSBY/SetHsbyMyPackagesStatus": {
  5142. "post": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "定制【海商报业】"
  5153. ],
  5154. "summary": "设置我的包裹已收货状态",
  5155. "parameters": [
  5156. {
  5157. "type": "string",
  5158. "description": "提货单号",
  5159. "name": "takeOrderID",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "资金账号",
  5166. "name": "accountID",
  5167. "in": "query",
  5168. "required": true
  5169. }
  5170. ],
  5171. "responses": {
  5172. "200": {
  5173. "description": "OK",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. },
  5178. "500": {
  5179. "description": "Internal Server Error",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. }
  5184. }
  5185. }
  5186. },
  5187. "/Market/QueryGoodsesByLoginID": {
  5188. "get": {
  5189. "security": [
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "produces": [
  5195. "application/json"
  5196. ],
  5197. "tags": [
  5198. "通用市场"
  5199. ],
  5200. "summary": "获取登录账号有权限的商品信息",
  5201. "parameters": [
  5202. {
  5203. "type": "integer",
  5204. "description": "登录账号",
  5205. "name": "loginID",
  5206. "in": "query",
  5207. "required": true
  5208. },
  5209. {
  5210. "type": "string",
  5211. "description": "市场ID列表,格式:1,2,3",
  5212. "name": "marketIDs",
  5213. "in": "query"
  5214. }
  5215. ],
  5216. "responses": {
  5217. "200": {
  5218. "description": "OK",
  5219. "schema": {
  5220. "$ref": "#/definitions/models.Goods"
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Market/QueryMarketRun": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "通用市场"
  5244. ],
  5245. "summary": "查询市场运行信息",
  5246. "parameters": [
  5247. {
  5248. "type": "integer",
  5249. "description": "市场ID,不传返回所有",
  5250. "name": "marketID",
  5251. "in": "query"
  5252. }
  5253. ],
  5254. "responses": {
  5255. "200": {
  5256. "description": "OK",
  5257. "schema": {
  5258. "$ref": "#/definitions/models.Marketrun"
  5259. }
  5260. },
  5261. "500": {
  5262. "description": "Internal Server Error",
  5263. "schema": {
  5264. "$ref": "#/definitions/app.Response"
  5265. }
  5266. }
  5267. }
  5268. }
  5269. },
  5270. "/Market/QueryMarketsByLoginID": {
  5271. "get": {
  5272. "security": [
  5273. {
  5274. "ApiKeyAuth": []
  5275. }
  5276. ],
  5277. "produces": [
  5278. "application/json"
  5279. ],
  5280. "tags": [
  5281. "通用市场"
  5282. ],
  5283. "summary": "获取登录账号有权限的市场信息",
  5284. "parameters": [
  5285. {
  5286. "type": "integer",
  5287. "description": "登录账号",
  5288. "name": "loginID",
  5289. "in": "query",
  5290. "required": true
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/models.Market"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/Order/QueryHisTradeDetail": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "通用单据"
  5321. ],
  5322. "summary": "历史成交单查询(合约市场)",
  5323. "parameters": [
  5324. {
  5325. "type": "string",
  5326. "description": "资金账户 - 格式:1,2,3",
  5327. "name": "accountID",
  5328. "in": "query",
  5329. "required": true
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "成交单号",
  5334. "name": "tradeID",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "委托单号",
  5340. "name": "orderID",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "string",
  5345. "description": "交易模式 - 格式:1,2,3",
  5346. "name": "tradeMode",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "委托单据类型",
  5352. "name": "buildType",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "string",
  5357. "description": "成交类别 - 格式:1,2,3",
  5358. "name": "tradeType",
  5359. "in": "query"
  5360. },
  5361. {
  5362. "type": "string",
  5363. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5364. "name": "startDate",
  5365. "in": "query"
  5366. },
  5367. {
  5368. "type": "string",
  5369. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5370. "name": "endDate",
  5371. "in": "query"
  5372. }
  5373. ],
  5374. "responses": {
  5375. "200": {
  5376. "description": "OK",
  5377. "schema": {
  5378. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5379. }
  5380. },
  5381. "500": {
  5382. "description": "Internal Server Error",
  5383. "schema": {
  5384. "$ref": "#/definitions/app.Response"
  5385. }
  5386. }
  5387. }
  5388. }
  5389. },
  5390. "/Order/QueryHisTradeOrderDetail": {
  5391. "get": {
  5392. "security": [
  5393. {
  5394. "ApiKeyAuth": []
  5395. }
  5396. ],
  5397. "produces": [
  5398. "application/json"
  5399. ],
  5400. "tags": [
  5401. "通用单据"
  5402. ],
  5403. "summary": "历史委托单查询请求(合约市场)",
  5404. "parameters": [
  5405. {
  5406. "type": "string",
  5407. "description": "资金账户 - 格式:1,2,3",
  5408. "name": "accountID",
  5409. "in": "query",
  5410. "required": true
  5411. },
  5412. {
  5413. "type": "string",
  5414. "description": "交易模式 - 格式:1,2,3",
  5415. "name": "tradeMode",
  5416. "in": "query"
  5417. },
  5418. {
  5419. "type": "string",
  5420. "description": "委托状态 - 格式:1,2,3",
  5421. "name": "orderStatus",
  5422. "in": "query"
  5423. },
  5424. {
  5425. "type": "integer",
  5426. "description": "委托单号",
  5427. "name": "orderID",
  5428. "in": "query"
  5429. },
  5430. {
  5431. "type": "string",
  5432. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5433. "name": "startDate",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "string",
  5438. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5439. "name": "endDate",
  5440. "in": "query"
  5441. }
  5442. ],
  5443. "responses": {
  5444. "200": {
  5445. "description": "OK",
  5446. "schema": {
  5447. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5448. }
  5449. },
  5450. "500": {
  5451. "description": "Internal Server Error",
  5452. "schema": {
  5453. "$ref": "#/definitions/app.Response"
  5454. }
  5455. }
  5456. }
  5457. }
  5458. },
  5459. "/Order/QueryTradeDetail": {
  5460. "get": {
  5461. "security": [
  5462. {
  5463. "ApiKeyAuth": []
  5464. }
  5465. ],
  5466. "produces": [
  5467. "application/json"
  5468. ],
  5469. "tags": [
  5470. "通用单据"
  5471. ],
  5472. "summary": "成交单查询(合约市场)",
  5473. "parameters": [
  5474. {
  5475. "type": "string",
  5476. "description": "资金账户 - 格式:1,2,3",
  5477. "name": "accountID",
  5478. "in": "query",
  5479. "required": true
  5480. },
  5481. {
  5482. "type": "integer",
  5483. "description": "成交单号",
  5484. "name": "tradeID",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "委托单号",
  5490. "name": "orderID",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "string",
  5495. "description": "交易模式 - 格式:1,2,3",
  5496. "name": "tradeMode",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "integer",
  5501. "description": "委托单据类型",
  5502. "name": "buildType",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "string",
  5507. "description": "成交类别 - 格式:1,2,3",
  5508. "name": "tradeType",
  5509. "in": "query"
  5510. }
  5511. ],
  5512. "responses": {
  5513. "200": {
  5514. "description": "OK",
  5515. "schema": {
  5516. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5517. }
  5518. },
  5519. "500": {
  5520. "description": "Internal Server Error",
  5521. "schema": {
  5522. "$ref": "#/definitions/app.Response"
  5523. }
  5524. }
  5525. }
  5526. }
  5527. },
  5528. "/Order/QueryTradeOrderDetail": {
  5529. "get": {
  5530. "security": [
  5531. {
  5532. "ApiKeyAuth": []
  5533. }
  5534. ],
  5535. "produces": [
  5536. "application/json"
  5537. ],
  5538. "tags": [
  5539. "通用单据"
  5540. ],
  5541. "summary": "委托单查询请求(合约市场)",
  5542. "parameters": [
  5543. {
  5544. "type": "string",
  5545. "description": "资金账户 - 格式:1,2,3",
  5546. "name": "accountID",
  5547. "in": "query",
  5548. "required": true
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "交易模式 - 格式:1,2,3",
  5553. "name": "tradeMode",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "委托状态 - 格式:1,2,3",
  5559. "name": "orderStatus",
  5560. "in": "query"
  5561. },
  5562. {
  5563. "type": "integer",
  5564. "description": "委托单号",
  5565. "name": "orderID",
  5566. "in": "query"
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/Order/QueryTradePosition": {
  5586. "get": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "通用单据"
  5597. ],
  5598. "summary": "持仓汇总查询(合约市场)",
  5599. "parameters": [
  5600. {
  5601. "type": "string",
  5602. "description": "资金账户 - 格式:1,2,3",
  5603. "name": "accountID",
  5604. "in": "query",
  5605. "required": true
  5606. },
  5607. {
  5608. "type": "string",
  5609. "description": "交易模式 - 格式:1,2,3",
  5610. "name": "tradeMode",
  5611. "in": "query"
  5612. }
  5613. ],
  5614. "responses": {
  5615. "200": {
  5616. "description": "OK",
  5617. "schema": {
  5618. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5619. }
  5620. },
  5621. "500": {
  5622. "description": "Internal Server Error",
  5623. "schema": {
  5624. "$ref": "#/definitions/app.Response"
  5625. }
  5626. }
  5627. }
  5628. }
  5629. },
  5630. "/Quote/QueryHistoryDatas": {
  5631. "get": {
  5632. "security": [
  5633. {
  5634. "ApiKeyAuth": []
  5635. }
  5636. ],
  5637. "produces": [
  5638. "application/json"
  5639. ],
  5640. "tags": [
  5641. "行情服务"
  5642. ],
  5643. "summary": "查询行情历史数据",
  5644. "parameters": [
  5645. {
  5646. "type": "integer",
  5647. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5648. "name": "cycleType",
  5649. "in": "query",
  5650. "required": true
  5651. },
  5652. {
  5653. "type": "string",
  5654. "description": "商品代码",
  5655. "name": "goodsCode",
  5656. "in": "query",
  5657. "required": true
  5658. },
  5659. {
  5660. "type": "string",
  5661. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5662. "name": "startTime",
  5663. "in": "query"
  5664. },
  5665. {
  5666. "type": "string",
  5667. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5668. "name": "endTime",
  5669. "in": "query"
  5670. },
  5671. {
  5672. "type": "integer",
  5673. "description": "条数",
  5674. "name": "count",
  5675. "in": "query"
  5676. },
  5677. {
  5678. "type": "boolean",
  5679. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5680. "name": "isAsc",
  5681. "in": "query"
  5682. }
  5683. ],
  5684. "responses": {
  5685. "200": {
  5686. "description": "OK",
  5687. "schema": {
  5688. "$ref": "#/definitions/quote.HistoryData"
  5689. }
  5690. },
  5691. "500": {
  5692. "description": "Internal Server Error",
  5693. "schema": {
  5694. "$ref": "#/definitions/app.Response"
  5695. }
  5696. }
  5697. }
  5698. }
  5699. },
  5700. "/Quote/QueryHistoryTikDatas": {
  5701. "get": {
  5702. "security": [
  5703. {
  5704. "ApiKeyAuth": []
  5705. }
  5706. ],
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "行情服务"
  5712. ],
  5713. "summary": "查询行情Tik数据",
  5714. "parameters": [
  5715. {
  5716. "type": "string",
  5717. "description": "商品代码",
  5718. "name": "goodsCode",
  5719. "in": "query",
  5720. "required": true
  5721. },
  5722. {
  5723. "type": "string",
  5724. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5725. "name": "startTime",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "string",
  5730. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5731. "name": "endTime",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "条数",
  5737. "name": "count",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "boolean",
  5742. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5743. "name": "isAsc",
  5744. "in": "query"
  5745. }
  5746. ],
  5747. "responses": {
  5748. "200": {
  5749. "description": "OK",
  5750. "schema": {
  5751. "$ref": "#/definitions/quote.HistoryTikData"
  5752. }
  5753. },
  5754. "500": {
  5755. "description": "Internal Server Error",
  5756. "schema": {
  5757. "$ref": "#/definitions/app.Response"
  5758. }
  5759. }
  5760. }
  5761. }
  5762. },
  5763. "/Quote/QueryQuoteDay": {
  5764. "get": {
  5765. "security": [
  5766. {
  5767. "ApiKeyAuth": []
  5768. }
  5769. ],
  5770. "produces": [
  5771. "application/json"
  5772. ],
  5773. "tags": [
  5774. "行情服务"
  5775. ],
  5776. "summary": "获取商品盘面信息",
  5777. "parameters": [
  5778. {
  5779. "type": "string",
  5780. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5781. "name": "goodsCodes",
  5782. "in": "query",
  5783. "required": true
  5784. }
  5785. ],
  5786. "responses": {
  5787. "200": {
  5788. "description": "OK",
  5789. "schema": {
  5790. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5791. }
  5792. },
  5793. "500": {
  5794. "description": "Internal Server Error",
  5795. "schema": {
  5796. "$ref": "#/definitions/app.Response"
  5797. }
  5798. }
  5799. }
  5800. }
  5801. },
  5802. "/Quote/QueryTSData": {
  5803. "get": {
  5804. "security": [
  5805. {
  5806. "ApiKeyAuth": []
  5807. }
  5808. ],
  5809. "produces": [
  5810. "application/json"
  5811. ],
  5812. "tags": [
  5813. "行情服务"
  5814. ],
  5815. "summary": "分时图数据查询",
  5816. "parameters": [
  5817. {
  5818. "type": "string",
  5819. "description": "商品代码",
  5820. "name": "goodsCode",
  5821. "in": "query",
  5822. "required": true
  5823. }
  5824. ],
  5825. "responses": {
  5826. "200": {
  5827. "description": "OK",
  5828. "schema": {
  5829. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/SZDZ/QueryConvertConfig": {
  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": "integer",
  5858. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5859. "name": "convertType",
  5860. "in": "query"
  5861. },
  5862. {
  5863. "type": "string",
  5864. "description": "外部商品代码[JD\\PD]",
  5865. "name": "outerGoodsCode",
  5866. "in": "query"
  5867. },
  5868. {
  5869. "type": "string",
  5870. "description": "内部商品ID列表[交易],格式:1,2,3",
  5871. "name": "innerGoodsIDs",
  5872. "in": "query"
  5873. }
  5874. ],
  5875. "responses": {
  5876. "200": {
  5877. "description": "OK",
  5878. "schema": {
  5879. "$ref": "#/definitions/models.Szdz3convertconfig"
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/SZDZ/QueryConvertLog": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "定制【尚志大宗】"
  5903. ],
  5904. "summary": "交易系统转换流水查询",
  5905. "parameters": [
  5906. {
  5907. "type": "string",
  5908. "description": "资金账户 - 格式:1,2,3",
  5909. "name": "accountID",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "string",
  5915. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5916. "name": "startDate",
  5917. "in": "query"
  5918. },
  5919. {
  5920. "type": "string",
  5921. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5922. "name": "endDate",
  5923. "in": "query"
  5924. }
  5925. ],
  5926. "responses": {
  5927. "200": {
  5928. "description": "OK",
  5929. "schema": {
  5930. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/SZDZ/QueryGoodsPickup": {
  5943. "get": {
  5944. "security": [
  5945. {
  5946. "ApiKeyAuth": []
  5947. }
  5948. ],
  5949. "produces": [
  5950. "application/json"
  5951. ],
  5952. "tags": [
  5953. "定制【尚志大宗】"
  5954. ],
  5955. "summary": "商品提货单查询",
  5956. "parameters": [
  5957. {
  5958. "type": "string",
  5959. "description": "资金账户 - 格式:1,2,3",
  5960. "name": "accountID",
  5961. "in": "query",
  5962. "required": true
  5963. },
  5964. {
  5965. "type": "integer",
  5966. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5967. "name": "takeOrderStatus",
  5968. "in": "query"
  5969. }
  5970. ],
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5976. }
  5977. },
  5978. "500": {
  5979. "description": "Internal Server Error",
  5980. "schema": {
  5981. "$ref": "#/definitions/app.Response"
  5982. }
  5983. }
  5984. }
  5985. }
  5986. },
  5987. "/SZDZ/QueryRecieptOrder": {
  5988. "get": {
  5989. "security": [
  5990. {
  5991. "ApiKeyAuth": []
  5992. }
  5993. ],
  5994. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5995. "produces": [
  5996. "application/json"
  5997. ],
  5998. "tags": [
  5999. "定制【尚志大宗】"
  6000. ],
  6001. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6002. "parameters": [
  6003. {
  6004. "type": "integer",
  6005. "description": "页码",
  6006. "name": "page",
  6007. "in": "query"
  6008. },
  6009. {
  6010. "type": "integer",
  6011. "description": "每页条数",
  6012. "name": "pagesize",
  6013. "in": "query"
  6014. },
  6015. {
  6016. "type": "integer",
  6017. "description": "商品ID",
  6018. "name": "goodsID",
  6019. "in": "query",
  6020. "required": true
  6021. },
  6022. {
  6023. "type": "string",
  6024. "description": "所属账户名称",
  6025. "name": "accountName",
  6026. "in": "query"
  6027. },
  6028. {
  6029. "type": "integer",
  6030. "description": "市场ID",
  6031. "name": "marketID",
  6032. "in": "query"
  6033. },
  6034. {
  6035. "type": "integer",
  6036. "description": "方向 - 0:买 1:卖",
  6037. "name": "buyorsell",
  6038. "in": "query",
  6039. "required": true
  6040. }
  6041. ],
  6042. "responses": {
  6043. "200": {
  6044. "description": "OK",
  6045. "schema": {
  6046. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6047. }
  6048. },
  6049. "500": {
  6050. "description": "Internal Server Error",
  6051. "schema": {
  6052. "$ref": "#/definitions/app.Response"
  6053. }
  6054. }
  6055. }
  6056. }
  6057. },
  6058. "/SZDZ/QuerySZDZTradePosition": {
  6059. "get": {
  6060. "security": [
  6061. {
  6062. "ApiKeyAuth": []
  6063. }
  6064. ],
  6065. "produces": [
  6066. "application/json"
  6067. ],
  6068. "tags": [
  6069. "定制【尚志大宗】"
  6070. ],
  6071. "summary": "持仓汇总查询(尚志大宗)",
  6072. "parameters": [
  6073. {
  6074. "type": "integer",
  6075. "description": "资金账户",
  6076. "name": "accountID",
  6077. "in": "query",
  6078. "required": true
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/SZDZ/SearchWhite": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "定制【尚志大宗】"
  6109. ],
  6110. "summary": "搜索白名单",
  6111. "parameters": [
  6112. {
  6113. "type": "integer",
  6114. "description": "用户ID",
  6115. "name": "userID",
  6116. "in": "query",
  6117. "required": true
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/Search/SearchGoodses": {
  6137. "get": {
  6138. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6139. "produces": [
  6140. "application/json"
  6141. ],
  6142. "tags": [
  6143. "检索服务"
  6144. ],
  6145. "summary": "检索商品信息",
  6146. "parameters": [
  6147. {
  6148. "type": "string",
  6149. "description": "检索内容",
  6150. "name": "content",
  6151. "in": "query",
  6152. "required": true
  6153. },
  6154. {
  6155. "type": "string",
  6156. "description": "交易模式,格式:1,2,3",
  6157. "name": "tradeModes",
  6158. "in": "query"
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "$ref": "#/definitions/models.SearchGoods"
  6166. }
  6167. },
  6168. "500": {
  6169. "description": "Internal Server Error",
  6170. "schema": {
  6171. "$ref": "#/definitions/app.Response"
  6172. }
  6173. }
  6174. }
  6175. }
  6176. },
  6177. "/TaAccount/GetTaAccounts": {
  6178. "get": {
  6179. "security": [
  6180. {
  6181. "ApiKeyAuth": []
  6182. }
  6183. ],
  6184. "produces": [
  6185. "application/json"
  6186. ],
  6187. "tags": [
  6188. "资金账户"
  6189. ],
  6190. "summary": "获取资金账户信息",
  6191. "parameters": [
  6192. {
  6193. "type": "integer",
  6194. "description": "登录账户",
  6195. "name": "loginID",
  6196. "in": "query",
  6197. "required": true
  6198. },
  6199. {
  6200. "type": "integer",
  6201. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6202. "name": "taAccountType",
  6203. "in": "query"
  6204. }
  6205. ],
  6206. "responses": {
  6207. "200": {
  6208. "description": "OK",
  6209. "schema": {
  6210. "$ref": "#/definitions/models.Taaccount"
  6211. }
  6212. },
  6213. "500": {
  6214. "description": "Internal Server Error",
  6215. "schema": {
  6216. "$ref": "#/definitions/app.Response"
  6217. }
  6218. }
  6219. }
  6220. }
  6221. },
  6222. "/TaAccount/QueryAmountLog": {
  6223. "get": {
  6224. "security": [
  6225. {
  6226. "ApiKeyAuth": []
  6227. }
  6228. ],
  6229. "produces": [
  6230. "application/json"
  6231. ],
  6232. "tags": [
  6233. "资金账户"
  6234. ],
  6235. "summary": "资金流水查询(当前)",
  6236. "parameters": [
  6237. {
  6238. "type": "integer",
  6239. "description": "页码",
  6240. "name": "page",
  6241. "in": "query"
  6242. },
  6243. {
  6244. "type": "integer",
  6245. "description": "每页条数",
  6246. "name": "pagesize",
  6247. "in": "query"
  6248. },
  6249. {
  6250. "type": "string",
  6251. "description": "资金账户 - 格式:1,2,3",
  6252. "name": "accountID",
  6253. "in": "query",
  6254. "required": true
  6255. },
  6256. {
  6257. "type": "string",
  6258. "description": "资金操作类型 - 格式:1,2,3",
  6259. "name": "OperateType",
  6260. "in": "query"
  6261. }
  6262. ],
  6263. "responses": {
  6264. "200": {
  6265. "description": "OK",
  6266. "schema": {
  6267. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6268. }
  6269. },
  6270. "500": {
  6271. "description": "Internal Server Error",
  6272. "schema": {
  6273. "$ref": "#/definitions/app.Response"
  6274. }
  6275. }
  6276. }
  6277. }
  6278. },
  6279. "/TaAccount/QueryHisAmountLog": {
  6280. "get": {
  6281. "security": [
  6282. {
  6283. "ApiKeyAuth": []
  6284. }
  6285. ],
  6286. "produces": [
  6287. "application/json"
  6288. ],
  6289. "tags": [
  6290. "资金账户"
  6291. ],
  6292. "summary": "资金流水查询(历史)",
  6293. "parameters": [
  6294. {
  6295. "type": "integer",
  6296. "description": "页码",
  6297. "name": "page",
  6298. "in": "query"
  6299. },
  6300. {
  6301. "type": "integer",
  6302. "description": "每页条数",
  6303. "name": "pagesize",
  6304. "in": "query"
  6305. },
  6306. {
  6307. "type": "string",
  6308. "description": "资金账户 - 格式:1,2,3",
  6309. "name": "accountID",
  6310. "in": "query",
  6311. "required": true
  6312. },
  6313. {
  6314. "type": "string",
  6315. "description": "资金操作类型 - 格式:1,2,3",
  6316. "name": "OperateType",
  6317. "in": "query"
  6318. },
  6319. {
  6320. "type": "string",
  6321. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6322. "name": "startDate",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "string",
  6327. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6328. "name": "endDate",
  6329. "in": "query"
  6330. }
  6331. ],
  6332. "responses": {
  6333. "200": {
  6334. "description": "OK",
  6335. "schema": {
  6336. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6337. }
  6338. },
  6339. "500": {
  6340. "description": "Internal Server Error",
  6341. "schema": {
  6342. "$ref": "#/definitions/app.Response"
  6343. }
  6344. }
  6345. }
  6346. }
  6347. },
  6348. "/Trade/QueryRecieptOrder": {
  6349. "get": {
  6350. "security": [
  6351. {
  6352. "ApiKeyAuth": []
  6353. }
  6354. ],
  6355. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "通用交易"
  6361. ],
  6362. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "页码",
  6367. "name": "page",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "integer",
  6372. "description": "每页条数",
  6373. "name": "pagesize",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "integer",
  6378. "description": "商品ID",
  6379. "name": "goodsID",
  6380. "in": "query",
  6381. "required": true
  6382. },
  6383. {
  6384. "type": "string",
  6385. "description": "所属账户名称",
  6386. "name": "accountName",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "integer",
  6391. "description": "市场ID",
  6392. "name": "marketID",
  6393. "in": "query"
  6394. },
  6395. {
  6396. "type": "integer",
  6397. "description": "方向 - 0:买 1:卖",
  6398. "name": "buyorsell",
  6399. "in": "query",
  6400. "required": true
  6401. }
  6402. ],
  6403. "responses": {
  6404. "200": {
  6405. "description": "OK",
  6406. "schema": {
  6407. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6408. }
  6409. },
  6410. "500": {
  6411. "description": "Internal Server Error",
  6412. "schema": {
  6413. "$ref": "#/definitions/app.Response"
  6414. }
  6415. }
  6416. }
  6417. }
  6418. },
  6419. "/User/AddMessageBoard": {
  6420. "post": {
  6421. "security": [
  6422. {
  6423. "ApiKeyAuth": []
  6424. }
  6425. ],
  6426. "produces": [
  6427. "application/json"
  6428. ],
  6429. "tags": [
  6430. "用户信息"
  6431. ],
  6432. "summary": "添加用户留言板信息",
  6433. "parameters": [
  6434. {
  6435. "type": "integer",
  6436. "description": "用户ID",
  6437. "name": "userID",
  6438. "in": "query",
  6439. "required": true
  6440. },
  6441. {
  6442. "type": "string",
  6443. "description": "留言信息",
  6444. "name": "message",
  6445. "in": "query",
  6446. "required": true
  6447. },
  6448. {
  6449. "type": "string",
  6450. "description": "联系电话",
  6451. "name": "contactNum",
  6452. "in": "query",
  6453. "required": true
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/User/AddUserFavoriteGoods": {
  6473. "post": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "用户信息"
  6484. ],
  6485. "summary": "添加用户商品收藏信息",
  6486. "parameters": [
  6487. {
  6488. "type": "integer",
  6489. "description": "用户ID",
  6490. "name": "userID",
  6491. "in": "query",
  6492. "required": true
  6493. },
  6494. {
  6495. "type": "integer",
  6496. "description": "商品ID",
  6497. "name": "goodsID",
  6498. "in": "query",
  6499. "required": true
  6500. }
  6501. ],
  6502. "responses": {
  6503. "200": {
  6504. "description": "OK",
  6505. "schema": {
  6506. "$ref": "#/definitions/app.Response"
  6507. }
  6508. },
  6509. "500": {
  6510. "description": "Internal Server Error",
  6511. "schema": {
  6512. "$ref": "#/definitions/app.Response"
  6513. }
  6514. }
  6515. }
  6516. }
  6517. },
  6518. "/User/GetLoginID": {
  6519. "get": {
  6520. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "用户信息"
  6526. ],
  6527. "summary": "获取登录ID",
  6528. "parameters": [
  6529. {
  6530. "type": "string",
  6531. "description": "登录代码",
  6532. "name": "username",
  6533. "in": "query",
  6534. "required": true
  6535. }
  6536. ],
  6537. "responses": {
  6538. "200": {
  6539. "description": "OK",
  6540. "schema": {
  6541. "$ref": "#/definitions/app.Response"
  6542. }
  6543. },
  6544. "500": {
  6545. "description": "Internal Server Error",
  6546. "schema": {
  6547. "$ref": "#/definitions/app.Response"
  6548. }
  6549. }
  6550. }
  6551. }
  6552. },
  6553. "/User/GetUserAccount": {
  6554. "get": {
  6555. "security": [
  6556. {
  6557. "ApiKeyAuth": []
  6558. }
  6559. ],
  6560. "produces": [
  6561. "application/json"
  6562. ],
  6563. "tags": [
  6564. "用户信息"
  6565. ],
  6566. "summary": "获取用户账号信息",
  6567. "parameters": [
  6568. {
  6569. "type": "integer",
  6570. "description": "用户ID",
  6571. "name": "userID",
  6572. "in": "query",
  6573. "required": true
  6574. }
  6575. ],
  6576. "responses": {
  6577. "200": {
  6578. "description": "OK",
  6579. "schema": {
  6580. "$ref": "#/definitions/models.Useraccount"
  6581. }
  6582. },
  6583. "500": {
  6584. "description": "Internal Server Error",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. }
  6589. }
  6590. }
  6591. },
  6592. "/User/GetUserAuthStatus": {
  6593. "get": {
  6594. "security": [
  6595. {
  6596. "ApiKeyAuth": []
  6597. }
  6598. ],
  6599. "produces": [
  6600. "application/json"
  6601. ],
  6602. "tags": [
  6603. "用户信息"
  6604. ],
  6605. "summary": "获取用户实名认证状态",
  6606. "parameters": [
  6607. {
  6608. "type": "integer",
  6609. "description": "用户ID",
  6610. "name": "userID",
  6611. "in": "query",
  6612. "required": true
  6613. }
  6614. ],
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/app.Response"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/User/LoginQuery": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. }
  6637. ],
  6638. "produces": [
  6639. "application/json"
  6640. ],
  6641. "tags": [
  6642. "用户信息"
  6643. ],
  6644. "summary": "账户登录后信息查询",
  6645. "parameters": [
  6646. {
  6647. "type": "integer",
  6648. "description": "登录账号",
  6649. "name": "loginID",
  6650. "in": "query",
  6651. "required": true
  6652. }
  6653. ],
  6654. "responses": {
  6655. "200": {
  6656. "description": "OK",
  6657. "schema": {
  6658. "$ref": "#/definitions/user.LoginQueryRsp"
  6659. }
  6660. },
  6661. "500": {
  6662. "description": "Internal Server Error",
  6663. "schema": {
  6664. "$ref": "#/definitions/app.Response"
  6665. }
  6666. }
  6667. }
  6668. }
  6669. },
  6670. "/User/QueryMessageBoard": {
  6671. "get": {
  6672. "security": [
  6673. {
  6674. "ApiKeyAuth": []
  6675. }
  6676. ],
  6677. "produces": [
  6678. "application/json"
  6679. ],
  6680. "tags": [
  6681. "用户信息"
  6682. ],
  6683. "summary": "获取用户留言板信息",
  6684. "parameters": [
  6685. {
  6686. "type": "integer",
  6687. "description": "用户ID",
  6688. "name": "userID",
  6689. "in": "query",
  6690. "required": true
  6691. }
  6692. ],
  6693. "responses": {
  6694. "200": {
  6695. "description": "OK",
  6696. "schema": {
  6697. "$ref": "#/definitions/models.Messageboard"
  6698. }
  6699. },
  6700. "500": {
  6701. "description": "Internal Server Error",
  6702. "schema": {
  6703. "$ref": "#/definitions/app.Response"
  6704. }
  6705. }
  6706. }
  6707. }
  6708. },
  6709. "/User/QueryUserFavoriteGoodses": {
  6710. "get": {
  6711. "security": [
  6712. {
  6713. "ApiKeyAuth": []
  6714. }
  6715. ],
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "用户信息"
  6721. ],
  6722. "summary": "获取用户商品收藏信息",
  6723. "parameters": [
  6724. {
  6725. "type": "integer",
  6726. "description": "用户ID",
  6727. "name": "userID",
  6728. "in": "query",
  6729. "required": true
  6730. }
  6731. ],
  6732. "responses": {
  6733. "200": {
  6734. "description": "OK",
  6735. "schema": {
  6736. "$ref": "#/definitions/models.Userfavoritegoods"
  6737. }
  6738. },
  6739. "500": {
  6740. "description": "Internal Server Error",
  6741. "schema": {
  6742. "$ref": "#/definitions/app.Response"
  6743. }
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "/User/QueryUserInfo": {
  6749. "get": {
  6750. "security": [
  6751. {
  6752. "ApiKeyAuth": []
  6753. }
  6754. ],
  6755. "produces": [
  6756. "application/json"
  6757. ],
  6758. "tags": [
  6759. "用户信息"
  6760. ],
  6761. "summary": "获取用户信息",
  6762. "parameters": [
  6763. {
  6764. "type": "integer",
  6765. "description": "用户ID",
  6766. "name": "userID",
  6767. "in": "query",
  6768. "required": true
  6769. },
  6770. {
  6771. "type": "boolean",
  6772. "description": "是否解密",
  6773. "name": "isDecrypt",
  6774. "in": "query"
  6775. }
  6776. ],
  6777. "responses": {
  6778. "200": {
  6779. "description": "OK",
  6780. "schema": {
  6781. "$ref": "#/definitions/models.Userinfo"
  6782. }
  6783. },
  6784. "500": {
  6785. "description": "Internal Server Error",
  6786. "schema": {
  6787. "$ref": "#/definitions/app.Response"
  6788. }
  6789. }
  6790. }
  6791. }
  6792. },
  6793. "/User/QueryUserReferNum": {
  6794. "get": {
  6795. "produces": [
  6796. "application/json"
  6797. ],
  6798. "tags": [
  6799. "用户信息"
  6800. ],
  6801. "summary": "获取用户邀请码",
  6802. "parameters": [
  6803. {
  6804. "type": "integer",
  6805. "description": "用户ID",
  6806. "name": "userID",
  6807. "in": "query",
  6808. "required": true
  6809. }
  6810. ],
  6811. "responses": {
  6812. "200": {
  6813. "description": "OK",
  6814. "schema": {
  6815. "$ref": "#/definitions/app.Response"
  6816. }
  6817. },
  6818. "500": {
  6819. "description": "Internal Server Error",
  6820. "schema": {
  6821. "$ref": "#/definitions/app.Response"
  6822. }
  6823. }
  6824. }
  6825. }
  6826. },
  6827. "/User/RemoveUserFavoriteGoods": {
  6828. "post": {
  6829. "security": [
  6830. {
  6831. "ApiKeyAuth": []
  6832. }
  6833. ],
  6834. "produces": [
  6835. "application/json"
  6836. ],
  6837. "tags": [
  6838. "用户信息"
  6839. ],
  6840. "summary": "移除用户商品收藏信息",
  6841. "parameters": [
  6842. {
  6843. "type": "integer",
  6844. "description": "用户ID",
  6845. "name": "userID",
  6846. "in": "query",
  6847. "required": true
  6848. },
  6849. {
  6850. "type": "integer",
  6851. "description": "商品ID",
  6852. "name": "goodsID",
  6853. "in": "query",
  6854. "required": true
  6855. }
  6856. ],
  6857. "responses": {
  6858. "200": {
  6859. "description": "OK",
  6860. "schema": {
  6861. "$ref": "#/definitions/app.Response"
  6862. }
  6863. },
  6864. "500": {
  6865. "description": "Internal Server Error",
  6866. "schema": {
  6867. "$ref": "#/definitions/app.Response"
  6868. }
  6869. }
  6870. }
  6871. }
  6872. },
  6873. "/User/UpdateUserAccountStatus": {
  6874. "post": {
  6875. "security": [
  6876. {
  6877. "ApiKeyAuth": []
  6878. }
  6879. ],
  6880. "produces": [
  6881. "application/json"
  6882. ],
  6883. "tags": [
  6884. "用户信息"
  6885. ],
  6886. "summary": "更新用户状态",
  6887. "parameters": [
  6888. {
  6889. "type": "integer",
  6890. "description": "用户ID",
  6891. "name": "userID",
  6892. "in": "query",
  6893. "required": true
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "账户状态 - 4:正常 6:注销(停用)",
  6898. "name": "accountStatus",
  6899. "in": "query",
  6900. "required": true
  6901. }
  6902. ],
  6903. "responses": {
  6904. "200": {
  6905. "description": "OK",
  6906. "schema": {
  6907. "$ref": "#/definitions/app.Response"
  6908. }
  6909. },
  6910. "500": {
  6911. "description": "Internal Server Error",
  6912. "schema": {
  6913. "$ref": "#/definitions/app.Response"
  6914. }
  6915. }
  6916. }
  6917. }
  6918. },
  6919. "/WR/GetWRCategoryInfo": {
  6920. "get": {
  6921. "produces": [
  6922. "application/json"
  6923. ],
  6924. "tags": [
  6925. "仓单服务"
  6926. ],
  6927. "summary": "获取现货分类信息",
  6928. "responses": {
  6929. "200": {
  6930. "description": "OK",
  6931. "schema": {
  6932. "$ref": "#/definitions/models.WRCategoryTree"
  6933. }
  6934. },
  6935. "500": {
  6936. "description": "Internal Server Error",
  6937. "schema": {
  6938. "$ref": "#/definitions/app.Response"
  6939. }
  6940. }
  6941. }
  6942. }
  6943. },
  6944. "/WRTrade/GetAllDeliveryGoods": {
  6945. "get": {
  6946. "security": [
  6947. {
  6948. "ApiKeyAuth": []
  6949. },
  6950. {
  6951. "ApiKeyAuth": []
  6952. }
  6953. ],
  6954. "produces": [
  6955. "application/json",
  6956. "application/json"
  6957. ],
  6958. "tags": [
  6959. "仓单贸易",
  6960. "仓单贸易"
  6961. ],
  6962. "summary": "获取带仓单分类的种类信息",
  6963. "responses": {
  6964. "200": {
  6965. "description": "OK",
  6966. "schema": {
  6967. "$ref": "#/definitions/app.Response"
  6968. }
  6969. },
  6970. "500": {
  6971. "description": "Internal Server Error",
  6972. "schema": {
  6973. "$ref": "#/definitions/app.Response"
  6974. }
  6975. }
  6976. }
  6977. }
  6978. }
  6979. },
  6980. "definitions": {
  6981. "app.Response": {
  6982. "type": "object",
  6983. "properties": {
  6984. "code": {
  6985. "type": "integer"
  6986. },
  6987. "data": {
  6988. "type": "object"
  6989. },
  6990. "msg": {
  6991. "type": "string"
  6992. },
  6993. "page": {
  6994. "description": "页码",
  6995. "type": "integer"
  6996. },
  6997. "pagesize": {
  6998. "description": "每页条数",
  6999. "type": "integer"
  7000. },
  7001. "total": {
  7002. "description": "总条数",
  7003. "type": "integer"
  7004. }
  7005. }
  7006. },
  7007. "common.QueryImageConfigsRsp": {
  7008. "type": "object",
  7009. "required": [
  7010. "configid"
  7011. ],
  7012. "properties": {
  7013. "areauserid": {
  7014. "description": "所属机构ID",
  7015. "type": "integer"
  7016. },
  7017. "configid": {
  7018. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7019. "type": "integer"
  7020. },
  7021. "createdate": {
  7022. "description": "创建时间",
  7023. "type": "string"
  7024. },
  7025. "creatorid": {
  7026. "description": "创建人",
  7027. "type": "integer"
  7028. },
  7029. "imagepath": {
  7030. "description": "图片",
  7031. "type": "string"
  7032. },
  7033. "imagetype": {
  7034. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7035. "type": "integer"
  7036. },
  7037. "isshow": {
  7038. "description": "是否展示 - 0:不展示 1:展示",
  7039. "type": "integer"
  7040. },
  7041. "marketid": {
  7042. "description": "市场ID",
  7043. "type": "integer"
  7044. },
  7045. "modifierid": {
  7046. "description": "操作人",
  7047. "type": "integer"
  7048. },
  7049. "sort": {
  7050. "description": "排序",
  7051. "type": "integer"
  7052. },
  7053. "title": {
  7054. "description": "标题",
  7055. "type": "string"
  7056. },
  7057. "trademode": {
  7058. "description": "交易模式",
  7059. "type": "integer"
  7060. },
  7061. "updatedate": {
  7062. "description": "修改时间",
  7063. "type": "string"
  7064. },
  7065. "url": {
  7066. "description": "链接(地址或商品ID)",
  7067. "type": "string"
  7068. },
  7069. "urltype": {
  7070. "description": "链接类型 - 1:直接地址 2:商品ID",
  7071. "type": "integer"
  7072. }
  7073. }
  7074. },
  7075. "common.QueryNoticeRsp": {
  7076. "type": "object",
  7077. "required": [
  7078. "autoid"
  7079. ],
  7080. "properties": {
  7081. "auditoruserid": {
  7082. "description": "审核人",
  7083. "type": "integer"
  7084. },
  7085. "auditremark": {
  7086. "description": "审核备注",
  7087. "type": "string"
  7088. },
  7089. "audittime": {
  7090. "description": "审核日期",
  7091. "type": "string"
  7092. },
  7093. "autoid": {
  7094. "description": "自增ID",
  7095. "type": "integer"
  7096. },
  7097. "content": {
  7098. "description": "内容",
  7099. "type": "string"
  7100. },
  7101. "createtime": {
  7102. "description": "创建时间",
  7103. "type": "string"
  7104. },
  7105. "creatorid": {
  7106. "description": "建仓人",
  7107. "type": "integer"
  7108. },
  7109. "endtime": {
  7110. "description": "结束时间",
  7111. "type": "string"
  7112. },
  7113. "istop": {
  7114. "description": "是否置顶 - 0:不置顶 1:置顶",
  7115. "type": "integer"
  7116. },
  7117. "msgiconurl": {
  7118. "description": "消息图标Url",
  7119. "type": "string"
  7120. },
  7121. "msgtype": {
  7122. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7123. "type": "integer"
  7124. },
  7125. "publisher": {
  7126. "description": "消息发布者",
  7127. "type": "string"
  7128. },
  7129. "readed": {
  7130. "description": "是否已读",
  7131. "type": "boolean"
  7132. },
  7133. "scheduletime": {
  7134. "description": "计划发送时间",
  7135. "type": "string"
  7136. },
  7137. "sendtype": {
  7138. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7139. "type": "integer"
  7140. },
  7141. "sentstatus": {
  7142. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7143. "type": "integer"
  7144. },
  7145. "title": {
  7146. "description": "标题",
  7147. "type": "string"
  7148. },
  7149. "userid": {
  7150. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7151. "type": "integer"
  7152. }
  7153. }
  7154. },
  7155. "common.QueryProvincesAndCitiesRsp": {
  7156. "type": "object",
  7157. "properties": {
  7158. "cities": {
  7159. "description": "市",
  7160. "type": "array",
  7161. "items": {
  7162. "$ref": "#/definitions/models.Division"
  7163. }
  7164. },
  7165. "province": {
  7166. "description": "省",
  7167. "type": "object",
  7168. "$ref": "#/definitions/models.Division"
  7169. }
  7170. }
  7171. },
  7172. "common.QueryTableDefineRsp": {
  7173. "type": "object",
  7174. "required": [
  7175. "tablekey"
  7176. ],
  7177. "properties": {
  7178. "columns": {
  7179. "description": "列头信息数组",
  7180. "type": "array",
  7181. "items": {
  7182. "$ref": "#/definitions/models.Tablecolumnconfig"
  7183. }
  7184. },
  7185. "remark": {
  7186. "description": "Remark",
  7187. "type": "string"
  7188. },
  7189. "tabelmenu": {
  7190. "description": "列表菜单",
  7191. "type": "string"
  7192. },
  7193. "tablekey": {
  7194. "description": "列表Key",
  7195. "type": "string"
  7196. },
  7197. "tablename": {
  7198. "description": "列表名称",
  7199. "type": "string"
  7200. },
  7201. "tabletype": {
  7202. "description": "列表类型 - 1:管理端 2:终端",
  7203. "type": "integer"
  7204. }
  7205. }
  7206. },
  7207. "common.QueryTraderMenuRsp": {
  7208. "type": "object",
  7209. "properties": {
  7210. "OperationMenu": {
  7211. "description": "功能菜单",
  7212. "type": "array",
  7213. "items": {
  7214. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7215. }
  7216. },
  7217. "QuoteMenu": {
  7218. "description": "报价牌分类菜单",
  7219. "type": "array",
  7220. "items": {
  7221. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7222. }
  7223. }
  7224. }
  7225. },
  7226. "cptrade.Cptradepositioncancel": {
  7227. "type": "object",
  7228. "required": [
  7229. "cancelid"
  7230. ],
  7231. "properties": {
  7232. "accountid": {
  7233. "description": "申请人账户ID",
  7234. "type": "integer"
  7235. },
  7236. "applystatus": {
  7237. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7238. "type": "integer"
  7239. },
  7240. "applytime": {
  7241. "description": "申请时间",
  7242. "type": "string"
  7243. },
  7244. "cancelid": {
  7245. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7246. "type": "integer"
  7247. },
  7248. "cancelqty": {
  7249. "description": "注销数量",
  7250. "type": "integer"
  7251. },
  7252. "createtime": {
  7253. "description": "创建时间",
  7254. "type": "string"
  7255. },
  7256. "creatorid": {
  7257. "description": "创建人ID",
  7258. "type": "integer"
  7259. },
  7260. "creatorname": {
  7261. "description": "创建人",
  7262. "type": "string"
  7263. },
  7264. "goodscode": {
  7265. "description": "订单商品代码",
  7266. "type": "string"
  7267. },
  7268. "goodsid": {
  7269. "description": "商品ID",
  7270. "type": "integer"
  7271. },
  7272. "goodsname": {
  7273. "description": "订单商品名称",
  7274. "type": "string"
  7275. },
  7276. "goodunit": {
  7277. "description": "报价单位",
  7278. "type": "string"
  7279. },
  7280. "handlestatus": {
  7281. "description": "处理状态",
  7282. "type": "integer"
  7283. },
  7284. "marketid": {
  7285. "description": "市场ID",
  7286. "type": "integer"
  7287. },
  7288. "marketname": {
  7289. "description": "市场名称",
  7290. "type": "string"
  7291. },
  7292. "tradedate": {
  7293. "description": "交易日(yyyyMMdd)",
  7294. "type": "string"
  7295. },
  7296. "userid": {
  7297. "description": "申请人ID",
  7298. "type": "integer"
  7299. }
  7300. }
  7301. },
  7302. "cptrade.Cptradepresaleapply": {
  7303. "type": "object",
  7304. "required": [
  7305. "applyid"
  7306. ],
  7307. "properties": {
  7308. "accountid": {
  7309. "description": "申请人账户ID",
  7310. "type": "integer"
  7311. },
  7312. "applyid": {
  7313. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7314. "type": "integer"
  7315. },
  7316. "applyremark": {
  7317. "description": "申请备注",
  7318. "type": "string"
  7319. },
  7320. "applystatus": {
  7321. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7322. "type": "integer"
  7323. },
  7324. "applytime": {
  7325. "description": "申请时间",
  7326. "type": "string"
  7327. },
  7328. "attachmenturl": {
  7329. "description": "附件地址",
  7330. "type": "string"
  7331. },
  7332. "endtime": {
  7333. "description": "预售结束时间",
  7334. "type": "string"
  7335. },
  7336. "goodscode": {
  7337. "description": "商品代码",
  7338. "type": "string"
  7339. },
  7340. "goodsid": {
  7341. "description": "商品ID",
  7342. "type": "integer"
  7343. },
  7344. "goodsname": {
  7345. "description": "商品名称",
  7346. "type": "string"
  7347. },
  7348. "goodunit": {
  7349. "description": "报价单位",
  7350. "type": "string"
  7351. },
  7352. "handlestatus": {
  7353. "description": "处理状态",
  7354. "type": "integer"
  7355. },
  7356. "marketid": {
  7357. "description": "预售市场ID",
  7358. "type": "integer"
  7359. },
  7360. "marketname": {
  7361. "description": "预售市场名称",
  7362. "type": "string"
  7363. },
  7364. "presaleqty": {
  7365. "description": "预售数量",
  7366. "type": "integer"
  7367. },
  7368. "relatedgoodscode": {
  7369. "description": "关联交易合约代码",
  7370. "type": "string"
  7371. },
  7372. "relatedgoodsid": {
  7373. "description": "关联交易合约ID",
  7374. "type": "integer"
  7375. },
  7376. "relatedgoodsname": {
  7377. "description": "关联交易合约名称",
  7378. "type": "string"
  7379. },
  7380. "starttime": {
  7381. "description": "预售开始时间",
  7382. "type": "string"
  7383. },
  7384. "tradedate": {
  7385. "description": "交易日(yyyyMMdd)",
  7386. "type": "string"
  7387. },
  7388. "trademode": {
  7389. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7390. "type": "integer"
  7391. },
  7392. "userid": {
  7393. "description": "申请人ID",
  7394. "type": "integer"
  7395. }
  7396. }
  7397. },
  7398. "cptrade.Cptradeusergoodsdata": {
  7399. "type": "object",
  7400. "required": [
  7401. "accountid",
  7402. "goodsid"
  7403. ],
  7404. "properties": {
  7405. "EnabledQty": {
  7406. "description": "可用量",
  7407. "type": "integer"
  7408. },
  7409. "GoodsCode": {
  7410. "description": "订单商品代码",
  7411. "type": "string"
  7412. },
  7413. "GoodsName": {
  7414. "description": "订单商品名称",
  7415. "type": "string"
  7416. },
  7417. "WRStandardCode": {
  7418. "description": "仓单标准代码",
  7419. "type": "string"
  7420. },
  7421. "WRStandardName": {
  7422. "description": "仓单标准名称",
  7423. "type": "string"
  7424. },
  7425. "accountid": {
  7426. "description": "账户ID",
  7427. "type": "integer"
  7428. },
  7429. "cancelqty": {
  7430. "description": "注销量",
  7431. "type": "integer"
  7432. },
  7433. "curpresaleqty": {
  7434. "description": "当前预售量",
  7435. "type": "integer"
  7436. },
  7437. "deliveryqty": {
  7438. "description": "交割量",
  7439. "type": "integer"
  7440. },
  7441. "freezeamount": {
  7442. "description": "冻结金额",
  7443. "type": "number"
  7444. },
  7445. "goodsid": {
  7446. "description": "商品ID",
  7447. "type": "integer"
  7448. },
  7449. "goodunit": {
  7450. "description": "报价单位",
  7451. "type": "string"
  7452. },
  7453. "hasspotfreeze": {
  7454. "description": "是否有现货冻结 - 0:否 1:有",
  7455. "type": "integer"
  7456. },
  7457. "inqty": {
  7458. "description": "转入量(总数量)",
  7459. "type": "integer"
  7460. },
  7461. "marketid": {
  7462. "description": "市场ID",
  7463. "type": "integer"
  7464. },
  7465. "presaledamount": {
  7466. "description": "已预售总金额",
  7467. "type": "integer"
  7468. },
  7469. "presaledqty": {
  7470. "description": "已预售量",
  7471. "type": "integer"
  7472. },
  7473. "userid": {
  7474. "description": "用户ID",
  7475. "type": "integer"
  7476. },
  7477. "wrstandardid": {
  7478. "description": "仓单标准ID",
  7479. "type": "integer"
  7480. }
  7481. }
  7482. },
  7483. "cptrade.QueryCPTradeMyBidRsp": {
  7484. "type": "object",
  7485. "required": [
  7486. "accountid",
  7487. "goodsid",
  7488. "marketid",
  7489. "orderid",
  7490. "orderqty",
  7491. "ordertime",
  7492. "tradeprice",
  7493. "tradeqty"
  7494. ],
  7495. "properties": {
  7496. "accountid": {
  7497. "description": "账户ID[报价币种]",
  7498. "type": "integer"
  7499. },
  7500. "goodsid": {
  7501. "description": "商品ID",
  7502. "type": "integer"
  7503. },
  7504. "goodunit": {
  7505. "description": "报价单位",
  7506. "type": "string"
  7507. },
  7508. "marketid": {
  7509. "description": "市场ID",
  7510. "type": "integer"
  7511. },
  7512. "orderid": {
  7513. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7514. "type": "integer"
  7515. },
  7516. "orderprice": {
  7517. "description": "委托价格",
  7518. "type": "number"
  7519. },
  7520. "orderqty": {
  7521. "description": "委托数量",
  7522. "type": "integer"
  7523. },
  7524. "ordertime": {
  7525. "description": "委托时间",
  7526. "type": "string"
  7527. },
  7528. "ordertotalprice": {
  7529. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7530. "type": "number"
  7531. },
  7532. "ordertotalweight": {
  7533. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7534. "type": "integer"
  7535. },
  7536. "totaltotalprice": {
  7537. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7538. "type": "number"
  7539. },
  7540. "tradeprice": {
  7541. "description": "成交价格",
  7542. "type": "number"
  7543. },
  7544. "tradeqty": {
  7545. "description": "成交数量",
  7546. "type": "integer"
  7547. }
  7548. }
  7549. },
  7550. "cptrade.QueryCPTradeOrderDetailRsq": {
  7551. "type": "object",
  7552. "required": [
  7553. "accountid",
  7554. "buildtype",
  7555. "buyorsell",
  7556. "goodsid",
  7557. "marketid",
  7558. "memberuserid",
  7559. "operatetype",
  7560. "orderqty",
  7561. "ordertime",
  7562. "pricemode",
  7563. "strorderid",
  7564. "tradedate",
  7565. "validtype"
  7566. ],
  7567. "properties": {
  7568. "accountid": {
  7569. "description": "账户ID[报价币种]",
  7570. "type": "integer"
  7571. },
  7572. "buildtype": {
  7573. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7574. "type": "integer"
  7575. },
  7576. "buyorsell": {
  7577. "description": "买卖 - 0:买 1:卖",
  7578. "type": "integer"
  7579. },
  7580. "cancelorderid": {
  7581. "description": "撤单单号(撤单时填写)",
  7582. "type": "integer"
  7583. },
  7584. "cancelqty": {
  7585. "description": "撤单数量",
  7586. "type": "integer"
  7587. },
  7588. "clientordertime": {
  7589. "description": "客户端委托时间",
  7590. "type": "string"
  7591. },
  7592. "clientticket": {
  7593. "description": "客户端流水号",
  7594. "type": "string"
  7595. },
  7596. "clienttype": {
  7597. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7598. "type": "integer"
  7599. },
  7600. "closeexchagechargevalue": {
  7601. "description": "平仓交易所手续费设置值",
  7602. "type": "number"
  7603. },
  7604. "closefeealgorithm": {
  7605. "description": "平仓手续费收取方式 1:比率 2:固定",
  7606. "type": "integer"
  7607. },
  7608. "closefreezecharge": {
  7609. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7610. "type": "number"
  7611. },
  7612. "closememberchargevalue": {
  7613. "description": "平仓会员手续费设置值",
  7614. "type": "number"
  7615. },
  7616. "closeqty": {
  7617. "description": "平仓数量(先建后平操作 需要记录)",
  7618. "type": "integer"
  7619. },
  7620. "closetradeqty": {
  7621. "description": "平仓成交数量(先建后平操作,需要记录)",
  7622. "type": "integer"
  7623. },
  7624. "closeunfreezecharge": {
  7625. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7626. "type": "number"
  7627. },
  7628. "delistingtype": {
  7629. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7630. "type": "integer"
  7631. },
  7632. "freezecharge": {
  7633. "description": "冻结手续费",
  7634. "type": "number"
  7635. },
  7636. "freezemargin": {
  7637. "description": "冻结保证金(冻结交易金额)",
  7638. "type": "number"
  7639. },
  7640. "gcaccountid": {
  7641. "description": "账户ID[合约币种]",
  7642. "type": "integer"
  7643. },
  7644. "goodsid": {
  7645. "description": "商品ID",
  7646. "type": "integer"
  7647. },
  7648. "isconfirmexercise": {
  7649. "description": "是否确认行权- 0:否 1:是",
  7650. "type": "integer"
  7651. },
  7652. "ispreexercise": {
  7653. "description": "是否预申报- 0:否 1:是",
  7654. "type": "integer"
  7655. },
  7656. "listingselecttype": {
  7657. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7658. "type": "integer"
  7659. },
  7660. "marginalgorithm": {
  7661. "description": "保证金收取方式 1:比率 2:固定",
  7662. "type": "integer"
  7663. },
  7664. "marginvalue": {
  7665. "description": "即市保证金设置值",
  7666. "type": "number"
  7667. },
  7668. "marketid": {
  7669. "description": "市场ID",
  7670. "type": "integer"
  7671. },
  7672. "marketmaxsub": {
  7673. "description": "市价最大偏移范围",
  7674. "type": "number"
  7675. },
  7676. "memberuserid": {
  7677. "description": "所属会员UserID",
  7678. "type": "integer"
  7679. },
  7680. "openexchagechargevalue": {
  7681. "description": "建仓交易所手续费设置值",
  7682. "type": "number"
  7683. },
  7684. "openfeealgorithm": {
  7685. "description": "建仓手续费收取方式 1:比率 2:固定",
  7686. "type": "integer"
  7687. },
  7688. "openfreezecharge": {
  7689. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7690. "type": "number"
  7691. },
  7692. "openmemberchargevalue": {
  7693. "description": "建仓会员手续费设置值",
  7694. "type": "number"
  7695. },
  7696. "openqty": {
  7697. "description": "开仓数量(先建后平操作,需要记录)",
  7698. "type": "integer"
  7699. },
  7700. "opentradeqty": {
  7701. "description": "开仓成交数量(先建后平操作,需要记录)",
  7702. "type": "integer"
  7703. },
  7704. "openunfreezecharge": {
  7705. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7706. "type": "number"
  7707. },
  7708. "operatetype": {
  7709. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7710. "type": "integer"
  7711. },
  7712. "operatorid": {
  7713. "description": "登录账号(LoginID)",
  7714. "type": "integer"
  7715. },
  7716. "optiontype": {
  7717. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7718. "type": "integer"
  7719. },
  7720. "orderprice": {
  7721. "description": "委托价格",
  7722. "type": "number"
  7723. },
  7724. "orderqty": {
  7725. "description": "委托数量",
  7726. "type": "integer"
  7727. },
  7728. "ordersrc": {
  7729. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7730. "type": "integer"
  7731. },
  7732. "orderstatus": {
  7733. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7734. "type": "integer"
  7735. },
  7736. "ordertime": {
  7737. "description": "委托时间",
  7738. "type": "string"
  7739. },
  7740. "preexerciseprice": {
  7741. "description": "预申报价格",
  7742. "type": "number"
  7743. },
  7744. "premium": {
  7745. "description": "权利金",
  7746. "type": "number"
  7747. },
  7748. "preorderid": {
  7749. "description": "关联预埋单号(止盈止损单时填写)",
  7750. "type": "integer"
  7751. },
  7752. "pricemode": {
  7753. "description": "取价方式 - 1:市价 2: 限价",
  7754. "type": "integer"
  7755. },
  7756. "quoteid": {
  7757. "description": "报价单ID",
  7758. "type": "integer"
  7759. },
  7760. "relatedid": {
  7761. "description": "关联单号(交割单)",
  7762. "type": "integer"
  7763. },
  7764. "retcode": {
  7765. "description": "错误代码",
  7766. "type": "integer"
  7767. },
  7768. "sessionid": {
  7769. "description": "会话ID",
  7770. "type": "integer"
  7771. },
  7772. "strorderid": {
  7773. "description": "委托单号",
  7774. "type": "string"
  7775. },
  7776. "tradedate": {
  7777. "description": "交易日(yyyyMMdd)",
  7778. "type": "string"
  7779. },
  7780. "tradeproperty": {
  7781. "description": "交易属性",
  7782. "type": "integer"
  7783. },
  7784. "tradeqty": {
  7785. "description": "成交数量",
  7786. "type": "integer"
  7787. },
  7788. "unfreezecharge": {
  7789. "description": "解冻手续费",
  7790. "type": "number"
  7791. },
  7792. "unfreezemargin": {
  7793. "description": "解冻保证金",
  7794. "type": "number"
  7795. },
  7796. "updatetime": {
  7797. "description": "更新时间",
  7798. "type": "string"
  7799. },
  7800. "uuid": {
  7801. "description": "发起端唯一id",
  7802. "type": "string"
  7803. },
  7804. "validtime": {
  7805. "description": "有效期限",
  7806. "type": "string"
  7807. },
  7808. "validtype": {
  7809. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7810. "type": "integer"
  7811. },
  7812. "volumetype": {
  7813. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7814. "type": "integer"
  7815. }
  7816. }
  7817. },
  7818. "cptrade.QueryMyCPTradeGoodsRsp": {
  7819. "type": "object",
  7820. "required": [
  7821. "goodscode",
  7822. "goodsid",
  7823. "goodsname",
  7824. "marketid",
  7825. "relatedgoodscode",
  7826. "relatedgoodsname"
  7827. ],
  7828. "properties": {
  7829. "accountid": {
  7830. "description": "卖方账户ID",
  7831. "type": "integer"
  7832. },
  7833. "agreeunit": {
  7834. "description": "合约单位",
  7835. "type": "number"
  7836. },
  7837. "applyid": {
  7838. "description": "关联申请ID",
  7839. "type": "integer"
  7840. },
  7841. "attachmenturl": {
  7842. "description": "附件地址",
  7843. "type": "string"
  7844. },
  7845. "createtime": {
  7846. "description": "创建时间",
  7847. "type": "string"
  7848. },
  7849. "currencyid": {
  7850. "description": "报价货币ID",
  7851. "type": "integer"
  7852. },
  7853. "decimalplace": {
  7854. "description": "报价小数位",
  7855. "type": "integer"
  7856. },
  7857. "endtime": {
  7858. "description": "预售结束时间",
  7859. "type": "string"
  7860. },
  7861. "floorprice": {
  7862. "description": "底价[大宗式竞拍]",
  7863. "type": "number"
  7864. },
  7865. "goodscode": {
  7866. "description": "商品代码(预售)",
  7867. "type": "string"
  7868. },
  7869. "goodsdetail": {
  7870. "description": "详情[大宗]",
  7871. "type": "string"
  7872. },
  7873. "goodsid": {
  7874. "description": "商品ID(自增ID SEQ_GOODS)",
  7875. "type": "integer"
  7876. },
  7877. "goodsname": {
  7878. "description": "商品名称(预售)",
  7879. "type": "string"
  7880. },
  7881. "goodunit": {
  7882. "description": "报价单位",
  7883. "type": "string"
  7884. },
  7885. "goodunitid": {
  7886. "description": "报价单位ID",
  7887. "type": "integer"
  7888. },
  7889. "marketid": {
  7890. "description": "所属市场ID",
  7891. "type": "integer"
  7892. },
  7893. "marketname": {
  7894. "description": "预售市场名称",
  7895. "type": "string"
  7896. },
  7897. "presaledamount": {
  7898. "description": "已预售总金额(预售结束时更新)",
  7899. "type": "number"
  7900. },
  7901. "presaledqty": {
  7902. "description": "已预售量(预售结束时更新)",
  7903. "type": "integer"
  7904. },
  7905. "presalemode": {
  7906. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7907. "type": "integer"
  7908. },
  7909. "presaleqty": {
  7910. "description": "预售数量",
  7911. "type": "integer"
  7912. },
  7913. "refprice": {
  7914. "description": "参考价格[一口价]",
  7915. "type": "number"
  7916. },
  7917. "relatedgoodscode": {
  7918. "description": "商品代码(订单)",
  7919. "type": "string"
  7920. },
  7921. "relatedgoodsid": {
  7922. "description": "关联交易合约ID",
  7923. "type": "integer"
  7924. },
  7925. "relatedgoodsname": {
  7926. "description": "商品名称(订单)",
  7927. "type": "string"
  7928. },
  7929. "relatedmarketid": {
  7930. "description": "关联交易合约市场ID",
  7931. "type": "integer"
  7932. },
  7933. "sellstatus": {
  7934. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7935. "type": "integer"
  7936. },
  7937. "startprice": {
  7938. "description": "起拍价[大宗式竞拍]",
  7939. "type": "number"
  7940. },
  7941. "starttime": {
  7942. "description": "预售开始时间",
  7943. "type": "string"
  7944. },
  7945. "tradedate": {
  7946. "description": "交易日(yyyyMMdd)",
  7947. "type": "string"
  7948. },
  7949. "tradeprice": {
  7950. "description": "成交价[大宗]",
  7951. "type": "number"
  7952. },
  7953. "userid": {
  7954. "description": "卖方用户ID",
  7955. "type": "integer"
  7956. }
  7957. }
  7958. },
  7959. "cptrade.QueryPresaleGoodsExRsp": {
  7960. "type": "object",
  7961. "required": [
  7962. "goodsid"
  7963. ],
  7964. "properties": {
  7965. "attachmenturl": {
  7966. "description": "附件地址",
  7967. "type": "string"
  7968. },
  7969. "createtime": {
  7970. "description": "创建时间",
  7971. "type": "string"
  7972. },
  7973. "endtime": {
  7974. "description": "预售结束时间",
  7975. "type": "string"
  7976. },
  7977. "floorprice": {
  7978. "description": "底价[大宗式竞拍]",
  7979. "type": "number"
  7980. },
  7981. "goodsdetail": {
  7982. "description": "详情[大宗]",
  7983. "type": "string"
  7984. },
  7985. "goodsid": {
  7986. "description": "商品ID(预售)",
  7987. "type": "integer"
  7988. },
  7989. "goodunit": {
  7990. "description": "报价单位",
  7991. "type": "string"
  7992. },
  7993. "marketid": {
  7994. "description": "预售市场ID - 根据预售模式选择市场",
  7995. "type": "integer"
  7996. },
  7997. "presaledamount": {
  7998. "description": "已预售总金额(预售结束时更新)",
  7999. "type": "number"
  8000. },
  8001. "presaledqty": {
  8002. "description": "已预售量(预售结束时更新)",
  8003. "type": "integer"
  8004. },
  8005. "presalemode": {
  8006. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8007. "type": "integer"
  8008. },
  8009. "presaleqty": {
  8010. "description": "预售数量",
  8011. "type": "integer"
  8012. },
  8013. "refprice": {
  8014. "description": "参考价格[一口价]",
  8015. "type": "number"
  8016. },
  8017. "relatedgoodsid": {
  8018. "description": "关联交易合约ID",
  8019. "type": "integer"
  8020. },
  8021. "relatedmarketid": {
  8022. "description": "关联交易合约市场ID",
  8023. "type": "integer"
  8024. },
  8025. "sellstatus": {
  8026. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8027. "type": "integer"
  8028. },
  8029. "startprice": {
  8030. "description": "起拍价[大宗式竞拍]",
  8031. "type": "number"
  8032. },
  8033. "starttime": {
  8034. "description": "预售开始时间",
  8035. "type": "string"
  8036. },
  8037. "tradedate": {
  8038. "description": "交易日(yyyyMMdd)",
  8039. "type": "string"
  8040. },
  8041. "tradeprice": {
  8042. "description": "成交价[大宗]",
  8043. "type": "number"
  8044. }
  8045. }
  8046. },
  8047. "delivery.QueryDeliveryRelationRsp": {
  8048. "type": "object",
  8049. "required": [
  8050. "begindate",
  8051. "enddate",
  8052. "goodsid",
  8053. "mindeliveryqty",
  8054. "xdeliveryratio"
  8055. ],
  8056. "properties": {
  8057. "begindate": {
  8058. "description": "起始日期(yyyyMMdd)",
  8059. "type": "string"
  8060. },
  8061. "buytemplateid": {
  8062. "description": "买履约计划模板ID",
  8063. "type": "integer"
  8064. },
  8065. "deliverygoodscode": {
  8066. "description": "品种代码",
  8067. "type": "string"
  8068. },
  8069. "deliverygoodsid": {
  8070. "description": "交割商品",
  8071. "type": "integer"
  8072. },
  8073. "deliverygoodsname": {
  8074. "description": "品种名称",
  8075. "type": "string"
  8076. },
  8077. "deliverymode": {
  8078. "description": "交割方式 - 1:点选式 2:申报式",
  8079. "type": "integer"
  8080. },
  8081. "deliverypricerule": {
  8082. "description": "交割价规则- 1:行情价 2:建仓价",
  8083. "type": "integer"
  8084. },
  8085. "deliverytype": {
  8086. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8087. "type": "integer"
  8088. },
  8089. "enddate": {
  8090. "description": "结束日期(yyyyMMdd)",
  8091. "type": "string"
  8092. },
  8093. "goodscode": {
  8094. "description": "商品代码",
  8095. "type": "string"
  8096. },
  8097. "goodsid": {
  8098. "description": "交易合约ID",
  8099. "type": "integer"
  8100. },
  8101. "goodsname": {
  8102. "description": "商品名称",
  8103. "type": "string"
  8104. },
  8105. "marketid": {
  8106. "description": "市场ID",
  8107. "type": "integer"
  8108. },
  8109. "mindeliveryqty": {
  8110. "description": "最小交割系数(K)",
  8111. "type": "integer"
  8112. },
  8113. "p2deliveryprice": {
  8114. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8115. "type": "number"
  8116. },
  8117. "p2deliveryratio": {
  8118. "description": "P2合约系数(p)",
  8119. "type": "integer"
  8120. },
  8121. "p2goodsid": {
  8122. "description": "P2合约ID",
  8123. "type": "integer"
  8124. },
  8125. "p2pricemode": {
  8126. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8127. "type": "integer"
  8128. },
  8129. "pdeliveryprice": {
  8130. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8131. "type": "number"
  8132. },
  8133. "pdeliveryratio": {
  8134. "description": "P合约系数(n)",
  8135. "type": "integer"
  8136. },
  8137. "pgoodsid": {
  8138. "description": "P合约ID",
  8139. "type": "integer"
  8140. },
  8141. "ppricemode": {
  8142. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8143. "type": "integer"
  8144. },
  8145. "rratio": {
  8146. "description": "兑换系数(R)",
  8147. "type": "integer"
  8148. },
  8149. "rratio1": {
  8150. "description": "兑换系数(交易合约)(R1)",
  8151. "type": "integer"
  8152. },
  8153. "rratio2": {
  8154. "description": "兑换系数(仓单标准)(R2)",
  8155. "type": "integer"
  8156. },
  8157. "selltemplateid": {
  8158. "description": "卖履约计划模板ID",
  8159. "type": "integer"
  8160. },
  8161. "wrstandardid": {
  8162. "description": "仓单标准ID",
  8163. "type": "integer"
  8164. },
  8165. "xdeliveryratio": {
  8166. "description": "交易合约系数(m)",
  8167. "type": "integer"
  8168. }
  8169. }
  8170. },
  8171. "ermcp.ExposureDetailRsp": {
  8172. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8173. },
  8174. "ermcp.ExposureHedgePosDetailRsp": {
  8175. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8176. },
  8177. "ermcp.ExposureHedgePositionRsp": {
  8178. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8179. },
  8180. "ermcp.ExposureSpotDetailRsp": {
  8181. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8182. },
  8183. "ermcp.ExposureSpotRsp": {
  8184. "$ref": "#/definitions/models.AreaSpotModel"
  8185. },
  8186. "ermcp.HisExposureRsp": {
  8187. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8188. },
  8189. "ermcp.PendingAuditCntRsp": {
  8190. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8191. },
  8192. "ermcp.QryAreaStockApplyRsp": {
  8193. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8194. },
  8195. "ermcp.QryAvalidGPRsp": {
  8196. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8197. },
  8198. "ermcp.QryBusinessDjRsp": {
  8199. "type": "object",
  8200. "properties": {
  8201. "amount": {
  8202. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8203. "type": "number"
  8204. },
  8205. "applyid": {
  8206. "description": "申请人",
  8207. "type": "string"
  8208. },
  8209. "applyname": {
  8210. "description": "申请人名称",
  8211. "type": "string"
  8212. },
  8213. "applystatus": {
  8214. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8215. "type": "integer"
  8216. },
  8217. "applytime": {
  8218. "description": "申请时间",
  8219. "type": "string"
  8220. },
  8221. "attachurl": {
  8222. "description": "附件",
  8223. "type": "string"
  8224. },
  8225. "auditid": {
  8226. "description": "审核人ID",
  8227. "type": "string"
  8228. },
  8229. "auditname": {
  8230. "description": "审核人名称",
  8231. "type": "string"
  8232. },
  8233. "audittime": {
  8234. "description": "审核时间",
  8235. "type": "string"
  8236. },
  8237. "buyusername": {
  8238. "description": "采购方名称",
  8239. "type": "string"
  8240. },
  8241. "contractno": {
  8242. "description": "合同编号",
  8243. "type": "string"
  8244. },
  8245. "contractstatus": {
  8246. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8247. "type": "integer"
  8248. },
  8249. "contracttype": {
  8250. "description": "现货合同类型 - 1:采购 -1:销售",
  8251. "type": "integer"
  8252. },
  8253. "enumdicname": {
  8254. "description": "单位名称",
  8255. "type": "string"
  8256. },
  8257. "goodscode": {
  8258. "description": "点价合约",
  8259. "type": "string"
  8260. },
  8261. "goodsname": {
  8262. "description": "商品名称",
  8263. "type": "string"
  8264. },
  8265. "operateapplyid": {
  8266. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8267. "type": "string"
  8268. },
  8269. "operateapplytype": {
  8270. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8271. "type": "integer"
  8272. },
  8273. "pricedPrice": {
  8274. "description": "点价价格(非必填)",
  8275. "type": "number"
  8276. },
  8277. "pricedQty": {
  8278. "description": "点价数量(非必填)",
  8279. "type": "number"
  8280. },
  8281. "pricemove": {
  8282. "description": "升贴水",
  8283. "type": "number"
  8284. },
  8285. "pricetype": {
  8286. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8287. "type": "integer"
  8288. },
  8289. "relatedid": {
  8290. "description": "现货合同ID",
  8291. "type": "string"
  8292. },
  8293. "sellusername": {
  8294. "description": "销售方名字",
  8295. "type": "string"
  8296. },
  8297. "userid": {
  8298. "description": "用户ID",
  8299. "type": "integer"
  8300. },
  8301. "wrstandardcode": {
  8302. "description": "现货商品代码",
  8303. "type": "string"
  8304. },
  8305. "wrstandardid": {
  8306. "description": "现货商品id",
  8307. "type": "integer"
  8308. },
  8309. "wrstandardname": {
  8310. "description": "现货商品名称",
  8311. "type": "string"
  8312. }
  8313. }
  8314. },
  8315. "ermcp.QryBussinessFpRsp": {
  8316. "type": "object",
  8317. "properties": {
  8318. "applyid": {
  8319. "description": "申请人",
  8320. "type": "string"
  8321. },
  8322. "applyname": {
  8323. "description": "申请人名称",
  8324. "type": "string"
  8325. },
  8326. "applystatus": {
  8327. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8328. "type": "integer"
  8329. },
  8330. "applytime": {
  8331. "description": "申请时间",
  8332. "type": "string"
  8333. },
  8334. "attachurl": {
  8335. "description": "附件",
  8336. "type": "string"
  8337. },
  8338. "auditid": {
  8339. "description": "审核人ID",
  8340. "type": "string"
  8341. },
  8342. "auditname": {
  8343. "description": "审核人名称",
  8344. "type": "string"
  8345. },
  8346. "audittime": {
  8347. "description": "审核时间",
  8348. "type": "string"
  8349. },
  8350. "buyusername": {
  8351. "description": "采购方名称",
  8352. "type": "string"
  8353. },
  8354. "contractno": {
  8355. "description": "合同编号",
  8356. "type": "string"
  8357. },
  8358. "contractstatus": {
  8359. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8360. "type": "integer"
  8361. },
  8362. "contracttype": {
  8363. "description": "现货合同类型 - 1:采购 -1:销售",
  8364. "type": "integer"
  8365. },
  8366. "enumdicname": {
  8367. "description": "单位名称",
  8368. "type": "string"
  8369. },
  8370. "goodscode": {
  8371. "description": "点价合约",
  8372. "type": "string"
  8373. },
  8374. "goodsname": {
  8375. "description": "商品名称",
  8376. "type": "string"
  8377. },
  8378. "invoiceAmount": {
  8379. "description": "已开收票金额(销售为开票,采购为收票)",
  8380. "type": "number"
  8381. },
  8382. "operateapplyid": {
  8383. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8384. "type": "string"
  8385. },
  8386. "operateapplytype": {
  8387. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8388. "type": "integer"
  8389. },
  8390. "pricemove": {
  8391. "description": "升贴水",
  8392. "type": "number"
  8393. },
  8394. "pricetype": {
  8395. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8396. "type": "integer"
  8397. },
  8398. "relatedid": {
  8399. "description": "现货合同ID",
  8400. "type": "string"
  8401. },
  8402. "sellusername": {
  8403. "description": "销售方名字",
  8404. "type": "string"
  8405. },
  8406. "userid": {
  8407. "description": "用户ID",
  8408. "type": "integer"
  8409. },
  8410. "wrstandardcode": {
  8411. "description": "现货商品代码",
  8412. "type": "string"
  8413. },
  8414. "wrstandardid": {
  8415. "description": "现货商品id",
  8416. "type": "integer"
  8417. },
  8418. "wrstandardname": {
  8419. "description": "现货商品名称",
  8420. "type": "string"
  8421. }
  8422. }
  8423. },
  8424. "ermcp.QryBussinessJsExRsp": {
  8425. "type": "object",
  8426. "properties": {
  8427. "applyid": {
  8428. "description": "申请人",
  8429. "type": "string"
  8430. },
  8431. "applyname": {
  8432. "description": "申请人名称",
  8433. "type": "string"
  8434. },
  8435. "applystatus": {
  8436. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8437. "type": "integer"
  8438. },
  8439. "applytime": {
  8440. "description": "申请时间",
  8441. "type": "string"
  8442. },
  8443. "attachurl": {
  8444. "description": "附件",
  8445. "type": "string"
  8446. },
  8447. "auditid": {
  8448. "description": "审核人ID",
  8449. "type": "string"
  8450. },
  8451. "auditname": {
  8452. "description": "审核人名称",
  8453. "type": "string"
  8454. },
  8455. "audittime": {
  8456. "description": "审核时间",
  8457. "type": "string"
  8458. },
  8459. "buyusername": {
  8460. "description": "采购方名称",
  8461. "type": "string"
  8462. },
  8463. "contractno": {
  8464. "description": "合同编号",
  8465. "type": "string"
  8466. },
  8467. "contractstatus": {
  8468. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8469. "type": "integer"
  8470. },
  8471. "contracttype": {
  8472. "description": "现货合同类型 - 1:采购 -1:销售",
  8473. "type": "integer"
  8474. },
  8475. "enumdicname": {
  8476. "description": "单位名称",
  8477. "type": "string"
  8478. },
  8479. "goodscode": {
  8480. "description": "点价合约",
  8481. "type": "string"
  8482. },
  8483. "goodsname": {
  8484. "description": "商品名称",
  8485. "type": "string"
  8486. },
  8487. "operateapplyid": {
  8488. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8489. "type": "string"
  8490. },
  8491. "operateapplytype": {
  8492. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8493. "type": "integer"
  8494. },
  8495. "pricemove": {
  8496. "description": "升贴水",
  8497. "type": "number"
  8498. },
  8499. "pricetype": {
  8500. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8501. "type": "integer"
  8502. },
  8503. "reckontype": {
  8504. "description": "结算类型",
  8505. "type": "string"
  8506. },
  8507. "reckonvalue": {
  8508. "description": "值",
  8509. "type": "number"
  8510. },
  8511. "relatedid": {
  8512. "description": "现货合同ID",
  8513. "type": "string"
  8514. },
  8515. "sellusername": {
  8516. "description": "销售方名字",
  8517. "type": "string"
  8518. },
  8519. "userid": {
  8520. "description": "用户ID",
  8521. "type": "integer"
  8522. },
  8523. "wrstandardcode": {
  8524. "description": "现货商品代码",
  8525. "type": "string"
  8526. },
  8527. "wrstandardid": {
  8528. "description": "现货商品id",
  8529. "type": "integer"
  8530. },
  8531. "wrstandardname": {
  8532. "description": "现货商品名称",
  8533. "type": "string"
  8534. }
  8535. }
  8536. },
  8537. "ermcp.QryBussinessJsRsp": {
  8538. "type": "object",
  8539. "properties": {
  8540. "addmargin": {
  8541. "description": "追加保证金(非必填)",
  8542. "type": "number"
  8543. },
  8544. "applyid": {
  8545. "description": "申请人",
  8546. "type": "string"
  8547. },
  8548. "applyname": {
  8549. "description": "申请人名称",
  8550. "type": "string"
  8551. },
  8552. "applystatus": {
  8553. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8554. "type": "integer"
  8555. },
  8556. "applytime": {
  8557. "description": "申请时间",
  8558. "type": "string"
  8559. },
  8560. "attachurl": {
  8561. "description": "附件",
  8562. "type": "string"
  8563. },
  8564. "auditid": {
  8565. "description": "审核人ID",
  8566. "type": "string"
  8567. },
  8568. "auditname": {
  8569. "description": "审核人名称",
  8570. "type": "string"
  8571. },
  8572. "audittime": {
  8573. "description": "审核时间",
  8574. "type": "string"
  8575. },
  8576. "buyusername": {
  8577. "description": "采购方名称",
  8578. "type": "string"
  8579. },
  8580. "contractno": {
  8581. "description": "合同编号",
  8582. "type": "string"
  8583. },
  8584. "contractstatus": {
  8585. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8586. "type": "integer"
  8587. },
  8588. "contracttype": {
  8589. "description": "现货合同类型 - 1:采购 -1:销售",
  8590. "type": "integer"
  8591. },
  8592. "decmargin": {
  8593. "description": "减少保证金(非必填)",
  8594. "type": "number"
  8595. },
  8596. "enumdicname": {
  8597. "description": "单位名称",
  8598. "type": "string"
  8599. },
  8600. "goodscode": {
  8601. "description": "点价合约",
  8602. "type": "string"
  8603. },
  8604. "goodsname": {
  8605. "description": "商品名称",
  8606. "type": "string"
  8607. },
  8608. "operateapplyid": {
  8609. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8610. "type": "string"
  8611. },
  8612. "operateapplytype": {
  8613. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8614. "type": "integer"
  8615. },
  8616. "pricemove": {
  8617. "description": "升贴水",
  8618. "type": "number"
  8619. },
  8620. "pricetype": {
  8621. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8622. "type": "integer"
  8623. },
  8624. "reckonadjustamount": {
  8625. "description": "结算调整金额(非必填)",
  8626. "type": "number"
  8627. },
  8628. "reckonosamount": {
  8629. "description": "结算溢短金额(非必填)",
  8630. "type": "number"
  8631. },
  8632. "reckonotheramount": {
  8633. "description": "结算其他费用(非必填)",
  8634. "type": "number"
  8635. },
  8636. "reckonrealqty": {
  8637. "description": "结算实际数量(非必填)",
  8638. "type": "number"
  8639. },
  8640. "relatedid": {
  8641. "description": "现货合同ID",
  8642. "type": "string"
  8643. },
  8644. "sellusername": {
  8645. "description": "销售方名字",
  8646. "type": "string"
  8647. },
  8648. "userid": {
  8649. "description": "用户ID",
  8650. "type": "integer"
  8651. },
  8652. "wrstandardcode": {
  8653. "description": "现货商品代码",
  8654. "type": "string"
  8655. },
  8656. "wrstandardid": {
  8657. "description": "现货商品id",
  8658. "type": "integer"
  8659. },
  8660. "wrstandardname": {
  8661. "description": "现货商品名称",
  8662. "type": "string"
  8663. }
  8664. }
  8665. },
  8666. "ermcp.QryBussinessKxRsp": {
  8667. "type": "object",
  8668. "properties": {
  8669. "applyid": {
  8670. "description": "申请人",
  8671. "type": "string"
  8672. },
  8673. "applyname": {
  8674. "description": "申请人名称",
  8675. "type": "string"
  8676. },
  8677. "applystatus": {
  8678. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8679. "type": "integer"
  8680. },
  8681. "applytime": {
  8682. "description": "申请时间",
  8683. "type": "string"
  8684. },
  8685. "attachurl": {
  8686. "description": "附件",
  8687. "type": "string"
  8688. },
  8689. "auditid": {
  8690. "description": "审核人ID",
  8691. "type": "string"
  8692. },
  8693. "auditname": {
  8694. "description": "审核人名称",
  8695. "type": "string"
  8696. },
  8697. "audittime": {
  8698. "description": "审核时间",
  8699. "type": "string"
  8700. },
  8701. "buyusername": {
  8702. "description": "采购方名称",
  8703. "type": "string"
  8704. },
  8705. "contractno": {
  8706. "description": "合同编号",
  8707. "type": "string"
  8708. },
  8709. "contractstatus": {
  8710. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8711. "type": "integer"
  8712. },
  8713. "contracttype": {
  8714. "description": "现货合同类型 - 1:采购 -1:销售",
  8715. "type": "integer"
  8716. },
  8717. "deductamount": {
  8718. "description": "退款(非必填)",
  8719. "type": "number"
  8720. },
  8721. "enumdicname": {
  8722. "description": "单位名称",
  8723. "type": "string"
  8724. },
  8725. "goodscode": {
  8726. "description": "点价合约",
  8727. "type": "string"
  8728. },
  8729. "goodsname": {
  8730. "description": "商品名称",
  8731. "type": "string"
  8732. },
  8733. "kxtype": {
  8734. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8735. "type": "integer"
  8736. },
  8737. "operateapplyid": {
  8738. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8739. "type": "string"
  8740. },
  8741. "operateapplytype": {
  8742. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8743. "type": "integer"
  8744. },
  8745. "payamount": {
  8746. "description": "收付款(非必填)",
  8747. "type": "number"
  8748. },
  8749. "pricemove": {
  8750. "description": "升贴水",
  8751. "type": "number"
  8752. },
  8753. "pricetype": {
  8754. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8755. "type": "integer"
  8756. },
  8757. "relatedid": {
  8758. "description": "现货合同ID",
  8759. "type": "string"
  8760. },
  8761. "sellusername": {
  8762. "description": "销售方名字",
  8763. "type": "string"
  8764. },
  8765. "userid": {
  8766. "description": "用户ID",
  8767. "type": "integer"
  8768. },
  8769. "wrstandardcode": {
  8770. "description": "现货商品代码",
  8771. "type": "string"
  8772. },
  8773. "wrstandardid": {
  8774. "description": "现货商品id",
  8775. "type": "integer"
  8776. },
  8777. "wrstandardname": {
  8778. "description": "现货商品名称",
  8779. "type": "string"
  8780. }
  8781. }
  8782. },
  8783. "ermcp.QryErmcpRsp": {
  8784. "$ref": "#/definitions/models.ErmcpModel"
  8785. },
  8786. "ermcp.QryGGCovertCfgRsp": {
  8787. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8788. },
  8789. "ermcp.QryHedgePlanRsp": {
  8790. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8791. },
  8792. "ermcp.QryMGChangeLogRsp": {
  8793. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8794. },
  8795. "ermcp.QryMiddleGoodsDetailRsp": {
  8796. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8797. },
  8798. "ermcp.QryMiddleGoodsRsp": {
  8799. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8800. },
  8801. "ermcp.QryOPLogRsp": {
  8802. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8803. },
  8804. "ermcp.QryReportDaySpotDetailRsp": {
  8805. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8806. },
  8807. "ermcp.QryReportExposureDayRsp": {
  8808. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8809. },
  8810. "ermcp.QryReportFinanceDayRsp": {
  8811. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8812. },
  8813. "ermcp.QryReportFinanceKxRsp": {
  8814. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8815. },
  8816. "ermcp.QryReportFinanceMonRsp": {
  8817. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8818. },
  8819. "ermcp.QryReportSpotDayRsp": {
  8820. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8821. },
  8822. "ermcp.QryReportSpotMonRsp": {
  8823. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8824. },
  8825. "ermcp.QryReportSpotMonthDetailRsp": {
  8826. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8827. },
  8828. "ermcp.QrySpotContractRsp": {
  8829. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8830. },
  8831. "ermcp.QryUserInfoRsp": {
  8832. "$ref": "#/definitions/models.ErmcpUserModel"
  8833. },
  8834. "ermcp.QryWarehouseRsp": {
  8835. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8836. },
  8837. "ermcp.QryWrStandardDetailRsp": {
  8838. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8839. },
  8840. "ermcp.QryWrStandardRsp": {
  8841. "$ref": "#/definitions/models.ErmcpWrstandard"
  8842. },
  8843. "ermcp.QueryAreaStockApplySumRsp": {
  8844. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8845. },
  8846. "ermcp.QueryErmcpTradePositionRsp": {
  8847. "type": "object",
  8848. "properties": {
  8849. "agreeunit": {
  8850. "description": "合约单位",
  8851. "type": "number"
  8852. },
  8853. "buyorsell": {
  8854. "description": "方向 - 0:买 1:卖",
  8855. "type": "integer"
  8856. },
  8857. "curpositionqty": {
  8858. "description": "持仓(总仓数量, 期末头寸)",
  8859. "type": "integer"
  8860. },
  8861. "curtdposition": {
  8862. "description": "今仓数量(期末今日头寸)",
  8863. "type": "integer"
  8864. },
  8865. "curtdpositionenabled": {
  8866. "description": "今仓可用",
  8867. "type": "integer"
  8868. },
  8869. "decimalplace": {
  8870. "description": "报价小数位",
  8871. "type": "integer"
  8872. },
  8873. "enableqty": {
  8874. "description": "可用(总仓可用)",
  8875. "type": "integer"
  8876. },
  8877. "exexchangename": {
  8878. "description": "外部交易所名称",
  8879. "type": "string"
  8880. },
  8881. "goodscode": {
  8882. "description": "商品代码(内部)",
  8883. "type": "string"
  8884. },
  8885. "goodsid": {
  8886. "description": "商品ID(自增ID SEQ_GOODS)",
  8887. "type": "integer"
  8888. },
  8889. "goodsname": {
  8890. "description": "商品名称",
  8891. "type": "string"
  8892. },
  8893. "last": {
  8894. "description": "现价",
  8895. "type": "number"
  8896. },
  8897. "marketid": {
  8898. "description": "所属市场ID",
  8899. "type": "integer"
  8900. },
  8901. "openaverageprice": {
  8902. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8903. "type": "number"
  8904. },
  8905. "opencost": {
  8906. "description": "开仓成本",
  8907. "type": "number"
  8908. },
  8909. "openpl": {
  8910. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8911. "type": "number"
  8912. },
  8913. "outgoodscode": {
  8914. "description": "商品代码(外部)",
  8915. "type": "string"
  8916. },
  8917. "positionaverageprice": {
  8918. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8919. "type": "number"
  8920. },
  8921. "positioncost": {
  8922. "description": "持仓成本",
  8923. "type": "number"
  8924. },
  8925. "positionpl": {
  8926. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8927. "type": "number"
  8928. },
  8929. "positionplrate": {
  8930. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8931. "type": "number"
  8932. },
  8933. "usedmargin": {
  8934. "description": "占用保证金",
  8935. "type": "number"
  8936. }
  8937. }
  8938. },
  8939. "ermcp.RealtimeExposurePositionRsp": {
  8940. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8941. },
  8942. "ermcp.RealtimeExposureRsp": {
  8943. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8944. },
  8945. "erms2.QueryArbitrageStrategyRsp": {
  8946. "type": "object",
  8947. "required": [
  8948. "asapplyid"
  8949. ],
  8950. "properties": {
  8951. "applybasis": {
  8952. "description": "申请基差",
  8953. "type": "number"
  8954. },
  8955. "asapplyid": {
  8956. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8957. "type": "string"
  8958. },
  8959. "asname": {
  8960. "description": "策略名称",
  8961. "type": "string"
  8962. },
  8963. "asno": {
  8964. "description": "策略编号",
  8965. "type": "string"
  8966. },
  8967. "basischangepl": {
  8968. "description": "基差变动损益[结算更新]",
  8969. "type": "number"
  8970. },
  8971. "biztype": {
  8972. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8973. "type": "integer"
  8974. },
  8975. "closetradedate": {
  8976. "description": "完结交易日(yyyyMMdd)",
  8977. "type": "string"
  8978. },
  8979. "curbasis": {
  8980. "description": "当前基差[结算更新]",
  8981. "type": "number"
  8982. },
  8983. "deliverygoodsid": {
  8984. "description": "现货品种ID",
  8985. "type": "integer"
  8986. },
  8987. "futureavgprice": {
  8988. "description": "期货建仓均价",
  8989. "type": "number"
  8990. },
  8991. "futurecloseamount": {
  8992. "description": "期货平仓金额",
  8993. "type": "number"
  8994. },
  8995. "futurecloseqty": {
  8996. "description": "期货平仓数量",
  8997. "type": "number"
  8998. },
  8999. "futureopenamount": {
  9000. "description": "期货开仓金额",
  9001. "type": "number"
  9002. },
  9003. "futureopenqty": {
  9004. "description": "期货开仓数量",
  9005. "type": "number"
  9006. },
  9007. "futurepl": {
  9008. "description": "期货总盈亏[结算更新]",
  9009. "type": "number"
  9010. },
  9011. "futureqty": {
  9012. "description": "期货持仓数量",
  9013. "type": "number"
  9014. },
  9015. "futurequote": {
  9016. "description": "期货额度",
  9017. "type": "number"
  9018. },
  9019. "goodsgroupid": {
  9020. "description": "期货品种ID",
  9021. "type": "integer"
  9022. },
  9023. "marketid": {
  9024. "description": "市场ID",
  9025. "type": "integer"
  9026. },
  9027. "netexposure": {
  9028. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9029. "type": "number"
  9030. },
  9031. "netexposurepl": {
  9032. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9033. "type": "number"
  9034. },
  9035. "netexposurerate": {
  9036. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9037. "type": "number"
  9038. },
  9039. "openbasis": {
  9040. "description": "建仓基差",
  9041. "type": "number"
  9042. },
  9043. "pricedspotqty": {
  9044. "description": "已定价现货数量",
  9045. "type": "number"
  9046. },
  9047. "pricedspotqtynotax": {
  9048. "description": "已定价现货不含税数量",
  9049. "type": "number"
  9050. },
  9051. "remark": {
  9052. "description": "备注",
  9053. "type": "string"
  9054. },
  9055. "spotavgprice": {
  9056. "description": "现货均价",
  9057. "type": "number"
  9058. },
  9059. "spotbuyamount": {
  9060. "description": "现货采购金额",
  9061. "type": "number"
  9062. },
  9063. "spotbuyqty": {
  9064. "description": "现货采购数量",
  9065. "type": "number"
  9066. },
  9067. "spotpl": {
  9068. "description": "现货总盈亏[结算更新]",
  9069. "type": "number"
  9070. },
  9071. "spotquota": {
  9072. "description": "现货额度",
  9073. "type": "number"
  9074. },
  9075. "spotsellamount": {
  9076. "description": "现货销售金额",
  9077. "type": "number"
  9078. },
  9079. "spotsellqty": {
  9080. "description": "现货销售数量",
  9081. "type": "number"
  9082. },
  9083. "spotusedquota": {
  9084. "description": "现货占用资金",
  9085. "type": "number"
  9086. },
  9087. "strategystatus": {
  9088. "description": "策略状态 - 0:未结束 1:已结束",
  9089. "type": "integer"
  9090. },
  9091. "totalpl": {
  9092. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9093. "type": "number"
  9094. },
  9095. "tradedate": {
  9096. "description": "交易日(yyyyMMdd)",
  9097. "type": "string"
  9098. },
  9099. "updatetime": {
  9100. "description": "更新时间",
  9101. "type": "string"
  9102. },
  9103. "usedquota": {
  9104. "description": "已占用资金",
  9105. "type": "number"
  9106. },
  9107. "userid": {
  9108. "description": "所属机构",
  9109. "type": "integer"
  9110. }
  9111. }
  9112. },
  9113. "erms2.QueryInnerTradeDetailRsp": {
  9114. "type": "object",
  9115. "required": [
  9116. "asapplyid",
  9117. "buyorsell",
  9118. "goodscode",
  9119. "goodsgroupid",
  9120. "goodsgroupname",
  9121. "goodsname",
  9122. "tradeid"
  9123. ],
  9124. "properties": {
  9125. "accountid": {
  9126. "description": "账号ID",
  9127. "type": "integer"
  9128. },
  9129. "agreeunit": {
  9130. "description": "合约单位",
  9131. "type": "number"
  9132. },
  9133. "asapplyid": {
  9134. "description": "策略申请ID",
  9135. "type": "integer"
  9136. },
  9137. "asname": {
  9138. "description": "策略名称",
  9139. "type": "string"
  9140. },
  9141. "asno": {
  9142. "description": "策略编号",
  9143. "type": "string"
  9144. },
  9145. "buyorsell": {
  9146. "description": "方向 - 0:买 1:卖",
  9147. "type": "integer"
  9148. },
  9149. "channelbuildtype": {
  9150. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9151. "type": "integer"
  9152. },
  9153. "closetype": {
  9154. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9155. "type": "integer"
  9156. },
  9157. "decimalplace": {
  9158. "description": "报价小数位",
  9159. "type": "integer"
  9160. },
  9161. "detailtype": {
  9162. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9163. "type": "integer"
  9164. },
  9165. "exexchangecode": {
  9166. "description": "外部交易所代码",
  9167. "type": "string"
  9168. },
  9169. "exexchangename": {
  9170. "description": "外部交易所名称",
  9171. "type": "string"
  9172. },
  9173. "goodscode": {
  9174. "description": "商品代码(合约)",
  9175. "type": "string"
  9176. },
  9177. "goodsgroupid": {
  9178. "description": "商品组ID(品种ID)",
  9179. "type": "integer"
  9180. },
  9181. "goodsgroupname": {
  9182. "description": "商品组名称(品种)",
  9183. "type": "string"
  9184. },
  9185. "goodsid": {
  9186. "description": "商品ID",
  9187. "type": "integer"
  9188. },
  9189. "goodsname": {
  9190. "description": "商品名称(合约)",
  9191. "type": "string"
  9192. },
  9193. "goodunit": {
  9194. "description": "报价单位",
  9195. "type": "string"
  9196. },
  9197. "marketid": {
  9198. "description": "市场ID",
  9199. "type": "integer"
  9200. },
  9201. "orderid": {
  9202. "description": "委托单号",
  9203. "type": "string"
  9204. },
  9205. "outgoodscode": {
  9206. "description": "商品代码(外部)",
  9207. "type": "string"
  9208. },
  9209. "relatedouttradeid": {
  9210. "description": "关联外部成交单ID",
  9211. "type": "string"
  9212. },
  9213. "remark": {
  9214. "description": "备注",
  9215. "type": "string"
  9216. },
  9217. "spotcontractid": {
  9218. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9219. "type": "integer"
  9220. },
  9221. "spotcontractno": {
  9222. "description": "现货合同编号",
  9223. "type": "string"
  9224. },
  9225. "tradeid": {
  9226. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9227. "type": "string"
  9228. },
  9229. "tradeprice": {
  9230. "description": "成交价格",
  9231. "type": "number"
  9232. },
  9233. "tradeqty": {
  9234. "description": "成交数量",
  9235. "type": "integer"
  9236. },
  9237. "tradetime": {
  9238. "description": "成交时间",
  9239. "type": "string"
  9240. },
  9241. "updatetime": {
  9242. "description": "更新时间",
  9243. "type": "string"
  9244. }
  9245. }
  9246. },
  9247. "erms2.QuerySpotContractRsp": {
  9248. "type": "object",
  9249. "required": [
  9250. "spotcontractid"
  9251. ],
  9252. "properties": {
  9253. "accountid": {
  9254. "description": "资金账户ID",
  9255. "type": "integer"
  9256. },
  9257. "areauserid": {
  9258. "description": "所属机构",
  9259. "type": "integer"
  9260. },
  9261. "closedate": {
  9262. "description": "终止日期",
  9263. "type": "string"
  9264. },
  9265. "closeremark": {
  9266. "description": "结束备注",
  9267. "type": "string"
  9268. },
  9269. "closetradedate": {
  9270. "description": "完结交易日(yyyyMMdd)",
  9271. "type": "string"
  9272. },
  9273. "closetype": {
  9274. "description": "终止类型 - 1:违约 2:提前终止",
  9275. "type": "integer"
  9276. },
  9277. "contractamount": {
  9278. "description": "合同金额",
  9279. "type": "number"
  9280. },
  9281. "contractattachment": {
  9282. "description": "合同附件",
  9283. "type": "string"
  9284. },
  9285. "contractno": {
  9286. "description": "现货合同编号",
  9287. "type": "string"
  9288. },
  9289. "contractqty": {
  9290. "description": "合同数量(数值) (用于计算)",
  9291. "type": "number"
  9292. },
  9293. "contractqtychar": {
  9294. "description": "合同数量\\已订价数量 (用于显示)",
  9295. "type": "string"
  9296. },
  9297. "contractstatus": {
  9298. "description": "合同状态 - 0:未结束 1:已结束",
  9299. "type": "integer"
  9300. },
  9301. "contracttype": {
  9302. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9303. "type": "integer"
  9304. },
  9305. "customeraccountid": {
  9306. "description": "客户资金账户ID",
  9307. "type": "integer"
  9308. },
  9309. "customeruserid": {
  9310. "description": "客户ID",
  9311. "type": "integer"
  9312. },
  9313. "deliverygoodsdesc": {
  9314. "description": "品种说明",
  9315. "type": "string"
  9316. },
  9317. "deliverygoodsid": {
  9318. "description": "现货品种ID",
  9319. "type": "integer"
  9320. },
  9321. "handlestatus": {
  9322. "description": "处理状态",
  9323. "type": "integer"
  9324. },
  9325. "invoiceatt": {
  9326. "description": "发票附件",
  9327. "type": "string"
  9328. },
  9329. "invoicedatetime": {
  9330. "description": "开收票更新时间",
  9331. "type": "string"
  9332. },
  9333. "invoiceopentime": {
  9334. "description": "开票时间",
  9335. "type": "string"
  9336. },
  9337. "invoiceremark": {
  9338. "description": "发票备注",
  9339. "type": "string"
  9340. },
  9341. "invoicestatus": {
  9342. "description": "开收票状态 - 0:未开票 1:已开票",
  9343. "type": "integer"
  9344. },
  9345. "lastdate": {
  9346. "description": "交货时间",
  9347. "type": "string"
  9348. },
  9349. "marketid": {
  9350. "description": "市场ID",
  9351. "type": "integer"
  9352. },
  9353. "paydatetime": {
  9354. "description": "收付款更新时间",
  9355. "type": "string"
  9356. },
  9357. "payremark": {
  9358. "description": "收付款备注",
  9359. "type": "string"
  9360. },
  9361. "paystatus": {
  9362. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9363. "type": "integer"
  9364. },
  9365. "positionqty": {
  9366. "description": "头寸数量 - 合同数量去小数部分",
  9367. "type": "integer"
  9368. },
  9369. "producttype": {
  9370. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9371. "type": "integer"
  9372. },
  9373. "relatedqty": {
  9374. "description": "已关联数量",
  9375. "type": "number"
  9376. },
  9377. "relatedstatus": {
  9378. "description": "关联完结状态 - 0:未结束 1:已结束",
  9379. "type": "integer"
  9380. },
  9381. "remark": {
  9382. "description": "备注",
  9383. "type": "string"
  9384. },
  9385. "signdate": {
  9386. "description": "签订日期",
  9387. "type": "string"
  9388. },
  9389. "spotcontractid": {
  9390. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9391. "type": "string"
  9392. },
  9393. "spotdatetime": {
  9394. "description": "收发货更新时间",
  9395. "type": "string"
  9396. },
  9397. "spotprice": {
  9398. "description": "价格",
  9399. "type": "number"
  9400. },
  9401. "spotremark": {
  9402. "description": "收发货备注",
  9403. "type": "string"
  9404. },
  9405. "spotstatus": {
  9406. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9407. "type": "integer"
  9408. },
  9409. "tradedate": {
  9410. "description": "交易日(yyyyMMdd)",
  9411. "type": "string"
  9412. },
  9413. "userid": {
  9414. "description": "业务员用户ID",
  9415. "type": "integer"
  9416. },
  9417. "warehouseid": {
  9418. "description": "仓库ID",
  9419. "type": "integer"
  9420. },
  9421. "wrfactortypeid": {
  9422. "description": "仓单要素类型ID",
  9423. "type": "integer"
  9424. },
  9425. "wrstandardid": {
  9426. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9427. "type": "integer"
  9428. }
  9429. }
  9430. },
  9431. "erms3.AddErms2ASApplyReq": {
  9432. "type": "object",
  9433. "required": [
  9434. "asapplyid"
  9435. ],
  9436. "properties": {
  9437. "applybasis": {
  9438. "description": "申请基差",
  9439. "type": "number"
  9440. },
  9441. "applystatus": {
  9442. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9443. "type": "integer"
  9444. },
  9445. "asapplyid": {
  9446. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9447. "type": "integer"
  9448. },
  9449. "asname": {
  9450. "description": "策略名称",
  9451. "type": "string"
  9452. },
  9453. "asno": {
  9454. "description": "策略编号",
  9455. "type": "string"
  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. "biztype": {
  9470. "description": "业务类型 - 1:正向套利 2:反向套利",
  9471. "type": "integer"
  9472. },
  9473. "createtime": {
  9474. "description": "创建时间",
  9475. "type": "string"
  9476. },
  9477. "creatorid": {
  9478. "description": "创建人",
  9479. "type": "integer"
  9480. },
  9481. "deliverygoodsid": {
  9482. "description": "现货品种ID",
  9483. "type": "integer"
  9484. },
  9485. "futurequote": {
  9486. "description": "期货额度",
  9487. "type": "number"
  9488. },
  9489. "goodsgroupid": {
  9490. "description": "期货品种ID",
  9491. "type": "integer"
  9492. },
  9493. "marketid": {
  9494. "description": "市场ID",
  9495. "type": "integer"
  9496. },
  9497. "remark": {
  9498. "description": "备注",
  9499. "type": "string"
  9500. },
  9501. "spotquota": {
  9502. "description": "现货额度",
  9503. "type": "number"
  9504. },
  9505. "tradedate": {
  9506. "description": "交易日(yyyyMMdd)",
  9507. "type": "string"
  9508. },
  9509. "userid": {
  9510. "description": "所属机构",
  9511. "type": "integer"
  9512. }
  9513. }
  9514. },
  9515. "erms3.AddErms2SpotTradeApplyReq": {
  9516. "type": "object",
  9517. "required": [
  9518. "spottradeid"
  9519. ],
  9520. "properties": {
  9521. "applyjsondetail": {
  9522. "description": "申请明细(JSON)",
  9523. "type": "string"
  9524. },
  9525. "applystatus": {
  9526. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9527. "type": "integer"
  9528. },
  9529. "areauserid": {
  9530. "description": "所属机构",
  9531. "type": "integer"
  9532. },
  9533. "auditid": {
  9534. "description": "审核人",
  9535. "type": "integer"
  9536. },
  9537. "auditremark": {
  9538. "description": "审核备注",
  9539. "type": "string"
  9540. },
  9541. "audittime": {
  9542. "description": "审核时间",
  9543. "type": "string"
  9544. },
  9545. "createtime": {
  9546. "description": "创建时间",
  9547. "type": "string"
  9548. },
  9549. "creatorid": {
  9550. "description": "创建人",
  9551. "type": "integer"
  9552. },
  9553. "deliverygoodsid": {
  9554. "description": "现货品种ID",
  9555. "type": "integer"
  9556. },
  9557. "futureaccountid": {
  9558. "description": "期货资金账户",
  9559. "type": "integer"
  9560. },
  9561. "goodsgroupid": {
  9562. "description": "期货品种",
  9563. "type": "integer"
  9564. },
  9565. "marketid": {
  9566. "description": "市场ID",
  9567. "type": "integer"
  9568. },
  9569. "remark": {
  9570. "description": "备注",
  9571. "type": "string"
  9572. },
  9573. "spotaccountid": {
  9574. "description": "现货资金账户",
  9575. "type": "integer"
  9576. },
  9577. "spottradeid": {
  9578. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9579. "type": "integer"
  9580. },
  9581. "spottradename": {
  9582. "description": "业务名称",
  9583. "type": "string"
  9584. },
  9585. "spottradeno": {
  9586. "description": "业务编号",
  9587. "type": "string"
  9588. },
  9589. "tradedate": {
  9590. "description": "交易日(yyyyMMdd)",
  9591. "type": "string"
  9592. },
  9593. "wrstandardid": {
  9594. "description": "仓单标准ID",
  9595. "type": "integer"
  9596. }
  9597. }
  9598. },
  9599. "erms3.AddSpotContractApplyReq": {
  9600. "type": "object",
  9601. "required": [
  9602. "accountid",
  9603. "areauserid",
  9604. "contractno",
  9605. "contracttype",
  9606. "customeraccountid",
  9607. "customeruserid",
  9608. "details",
  9609. "orimargin",
  9610. "signdate"
  9611. ],
  9612. "properties": {
  9613. "accountid": {
  9614. "description": "资金账户ID",
  9615. "type": "integer"
  9616. },
  9617. "areauserid": {
  9618. "description": "所属机构",
  9619. "type": "integer"
  9620. },
  9621. "contractattachment": {
  9622. "description": "合同附件",
  9623. "type": "string"
  9624. },
  9625. "contractno": {
  9626. "description": "现货合同编号",
  9627. "type": "string"
  9628. },
  9629. "contracttype": {
  9630. "description": "现货合同类型 - 1:采购 -1:销售",
  9631. "type": "integer"
  9632. },
  9633. "creatorid": {
  9634. "description": "申请人",
  9635. "type": "integer"
  9636. },
  9637. "customeraccountid": {
  9638. "description": "客户资金账户ID",
  9639. "type": "integer"
  9640. },
  9641. "customeruserid": {
  9642. "description": "客户ID",
  9643. "type": "integer"
  9644. },
  9645. "details": {
  9646. "description": "明细",
  9647. "type": "array",
  9648. "items": {
  9649. "$ref": "#/definitions/erms3.SoptContractDetail"
  9650. }
  9651. },
  9652. "orimargin": {
  9653. "description": "初始保证金",
  9654. "type": "number"
  9655. },
  9656. "remark": {
  9657. "description": "备注",
  9658. "type": "string"
  9659. },
  9660. "signdate": {
  9661. "description": "签订日期",
  9662. "type": "string"
  9663. }
  9664. }
  9665. },
  9666. "erms3.AddSpotContractApplyRsp": {
  9667. "type": "object",
  9668. "required": [
  9669. "contractno"
  9670. ],
  9671. "properties": {
  9672. "contractno": {
  9673. "description": "现货合同编号",
  9674. "type": "string"
  9675. },
  9676. "spotcontractid": {
  9677. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9678. "type": "integer"
  9679. }
  9680. }
  9681. },
  9682. "erms3.AddUserInfoApplyReq": {
  9683. "type": "object",
  9684. "required": [
  9685. "userid"
  9686. ],
  9687. "properties": {
  9688. "accountid": {
  9689. "description": "交易系统帐号Id (加密存储)",
  9690. "type": "integer"
  9691. },
  9692. "areacode": {
  9693. "description": "机构代码",
  9694. "type": "string"
  9695. },
  9696. "areaid": {
  9697. "description": "机构Id",
  9698. "type": "integer"
  9699. },
  9700. "attachment1": {
  9701. "description": "附件1",
  9702. "type": "string"
  9703. },
  9704. "attachment2": {
  9705. "description": "附件2",
  9706. "type": "string"
  9707. },
  9708. "attachment3": {
  9709. "description": "附件3",
  9710. "type": "string"
  9711. },
  9712. "attachment4": {
  9713. "description": "附件4",
  9714. "type": "string"
  9715. },
  9716. "attachment5": {
  9717. "description": "附件5",
  9718. "type": "string"
  9719. },
  9720. "auditedby": {
  9721. "description": "审核人",
  9722. "type": "string"
  9723. },
  9724. "auditime": {
  9725. "description": "审核时间",
  9726. "type": "string"
  9727. },
  9728. "bankaccount": {
  9729. "description": "银行帐号 (加密存储)",
  9730. "type": "string"
  9731. },
  9732. "bankaccountname": {
  9733. "description": "收款人名称",
  9734. "type": "string"
  9735. },
  9736. "bankcardbackphotourl": {
  9737. "description": "银行卡背面照地址",
  9738. "type": "string"
  9739. },
  9740. "bankcardfrontphotourl": {
  9741. "description": "银行卡正面照地址",
  9742. "type": "string"
  9743. },
  9744. "bankid": {
  9745. "description": "银行编码",
  9746. "type": "string"
  9747. },
  9748. "bankname": {
  9749. "description": "银行名称",
  9750. "type": "string"
  9751. },
  9752. "bankpictureurl": {
  9753. "description": "银行卡正面地址",
  9754. "type": "string"
  9755. },
  9756. "biznature": {
  9757. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9758. "type": "integer"
  9759. },
  9760. "bizscope": {
  9761. "description": "企业经营范围(企业)",
  9762. "type": "string"
  9763. },
  9764. "biztype": {
  9765. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9766. "type": "integer"
  9767. },
  9768. "brokerid": {
  9769. "description": "经纪人ID(加密存储)",
  9770. "type": "string"
  9771. },
  9772. "cardaddress": {
  9773. "description": "证件地址 (加密存储)",
  9774. "type": "string"
  9775. },
  9776. "cardbackphotourl": {
  9777. "description": "背面证件照地址",
  9778. "type": "string"
  9779. },
  9780. "cardfrontphotourl": {
  9781. "description": "正面证件照地址",
  9782. "type": "string"
  9783. },
  9784. "cardnum": {
  9785. "description": "证件号码 (加密存储)",
  9786. "type": "string"
  9787. },
  9788. "cardtype": {
  9789. "description": "证件类型",
  9790. "type": "integer"
  9791. },
  9792. "cityid": {
  9793. "description": "市",
  9794. "type": "integer"
  9795. },
  9796. "company": {
  9797. "description": "公司(个人)",
  9798. "type": "string"
  9799. },
  9800. "contactcardbackphotourl": {
  9801. "description": "联系人证件背面图片地址",
  9802. "type": "string"
  9803. },
  9804. "contactcardfrontphotourl": {
  9805. "description": "联系人证件正面图片地址",
  9806. "type": "string"
  9807. },
  9808. "contactname": {
  9809. "description": "联系人",
  9810. "type": "string"
  9811. },
  9812. "countryid": {
  9813. "description": "国家",
  9814. "type": "integer"
  9815. },
  9816. "createtime": {
  9817. "description": "开户申请时间",
  9818. "type": "string"
  9819. },
  9820. "cusbankid": {
  9821. "description": "签约类型",
  9822. "type": "string"
  9823. },
  9824. "cusbankname": {
  9825. "description": "签约类型名称",
  9826. "type": "string"
  9827. },
  9828. "customername": {
  9829. "description": "客户名称(企业名称)",
  9830. "type": "string"
  9831. },
  9832. "districtid": {
  9833. "description": "地区",
  9834. "type": "integer"
  9835. },
  9836. "email": {
  9837. "description": "Email地址(加密存储)",
  9838. "type": "string"
  9839. },
  9840. "halfbodyphotourl": {
  9841. "description": "半身照地址",
  9842. "type": "string"
  9843. },
  9844. "headurl": {
  9845. "description": "头像地址",
  9846. "type": "string"
  9847. },
  9848. "ipaddress": {
  9849. "description": "IP地址",
  9850. "type": "string"
  9851. },
  9852. "isvalidate": {
  9853. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9854. "type": "string"
  9855. },
  9856. "legalcardbackphotourl": {
  9857. "description": "法人身份证背面照地址",
  9858. "type": "string"
  9859. },
  9860. "legalcardfrontphotourl": {
  9861. "description": "法人身份证正面照地址",
  9862. "type": "string"
  9863. },
  9864. "legalpersonname": {
  9865. "description": "法人姓名(企业)",
  9866. "type": "string"
  9867. },
  9868. "logincode": {
  9869. "description": "登录帐号 (加密存储)",
  9870. "type": "string"
  9871. },
  9872. "memberareaid": {
  9873. "description": "所属会员ID",
  9874. "type": "integer"
  9875. },
  9876. "mobile2": {
  9877. "description": "手机号码[明文-尚志]",
  9878. "type": "string"
  9879. },
  9880. "mobilephone": {
  9881. "description": "手机号码 (加密存储)",
  9882. "type": "string"
  9883. },
  9884. "modifiedby": {
  9885. "description": "修改人帐号",
  9886. "type": "integer"
  9887. },
  9888. "modifiedtime": {
  9889. "description": "修改时间",
  9890. "type": "string"
  9891. },
  9892. "nickname": {
  9893. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9894. "type": "string"
  9895. },
  9896. "openmode": {
  9897. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9898. "type": "integer"
  9899. },
  9900. "otherurl": {
  9901. "description": "其它图片地址[使用分号分隔]",
  9902. "type": "string"
  9903. },
  9904. "postalcode": {
  9905. "description": "邮政编码",
  9906. "type": "string"
  9907. },
  9908. "provinceid": {
  9909. "description": "省",
  9910. "type": "integer"
  9911. },
  9912. "proxystatementurl": {
  9913. "description": "授权委托书",
  9914. "type": "string"
  9915. },
  9916. "qq": {
  9917. "description": "QQ(加密存储",
  9918. "type": "string"
  9919. },
  9920. "referral": {
  9921. "description": "推荐人编码",
  9922. "type": "string"
  9923. },
  9924. "remark": {
  9925. "description": "备注",
  9926. "type": "string"
  9927. },
  9928. "removebeforestatus": {
  9929. "description": "REMOVEBEFORESTATUS",
  9930. "type": "integer"
  9931. },
  9932. "sex": {
  9933. "description": "性别 - 0:女 1:男",
  9934. "type": "integer"
  9935. },
  9936. "signedstatus": {
  9937. "description": "账户一号签签约状态",
  9938. "type": "integer"
  9939. },
  9940. "signpdfurl": {
  9941. "description": "签约pdf文件",
  9942. "type": "string"
  9943. },
  9944. "subbranch": {
  9945. "description": "开户支行",
  9946. "type": "string"
  9947. },
  9948. "telphone": {
  9949. "description": "联系电话(加密存储)",
  9950. "type": "string"
  9951. },
  9952. "userid": {
  9953. "description": "用户ID(自增ID)",
  9954. "type": "integer"
  9955. },
  9956. "userinfotype": {
  9957. "description": "用户信息类型 - 1:个人 2:企业",
  9958. "type": "integer"
  9959. },
  9960. "username": {
  9961. "description": "用户姓名",
  9962. "type": "string"
  9963. },
  9964. "userstate": {
  9965. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9966. "type": "integer"
  9967. },
  9968. "usertype": {
  9969. "description": "用户类型 - 1:投资者 2:机构",
  9970. "type": "integer"
  9971. },
  9972. "videourl": {
  9973. "description": "视频地址",
  9974. "type": "string"
  9975. },
  9976. "wechat": {
  9977. "description": "微信号 (加密存储)",
  9978. "type": "string"
  9979. }
  9980. }
  9981. },
  9982. "erms3.CustomerInfo": {
  9983. "type": "object",
  9984. "required": [
  9985. "userid"
  9986. ],
  9987. "properties": {
  9988. "accountids": {
  9989. "description": "资金账户ID列表",
  9990. "type": "array",
  9991. "items": {
  9992. "type": "integer"
  9993. }
  9994. },
  9995. "customername": {
  9996. "description": "名称(企业名称)",
  9997. "type": "string"
  9998. },
  9999. "mobile": {
  10000. "description": "手机号码",
  10001. "type": "string"
  10002. },
  10003. "userid": {
  10004. "description": "用户ID",
  10005. "type": "integer"
  10006. }
  10007. }
  10008. },
  10009. "erms3.ModifyUserInfoApplyReq": {
  10010. "type": "object",
  10011. "required": [
  10012. "userid"
  10013. ],
  10014. "properties": {
  10015. "accountid": {
  10016. "description": "交易系统帐号Id (加密存储)",
  10017. "type": "integer"
  10018. },
  10019. "areacode": {
  10020. "description": "机构代码",
  10021. "type": "string"
  10022. },
  10023. "areaid": {
  10024. "description": "机构Id",
  10025. "type": "integer"
  10026. },
  10027. "attachment1": {
  10028. "description": "附件1",
  10029. "type": "string"
  10030. },
  10031. "attachment2": {
  10032. "description": "附件2",
  10033. "type": "string"
  10034. },
  10035. "attachment3": {
  10036. "description": "附件3",
  10037. "type": "string"
  10038. },
  10039. "attachment4": {
  10040. "description": "附件4",
  10041. "type": "string"
  10042. },
  10043. "attachment5": {
  10044. "description": "附件5",
  10045. "type": "string"
  10046. },
  10047. "auditedby": {
  10048. "description": "审核人",
  10049. "type": "string"
  10050. },
  10051. "auditime": {
  10052. "description": "审核时间",
  10053. "type": "string"
  10054. },
  10055. "bankaccount": {
  10056. "description": "银行帐号 (加密存储)",
  10057. "type": "string"
  10058. },
  10059. "bankaccountname": {
  10060. "description": "收款人名称",
  10061. "type": "string"
  10062. },
  10063. "bankcardbackphotourl": {
  10064. "description": "银行卡背面照地址",
  10065. "type": "string"
  10066. },
  10067. "bankcardfrontphotourl": {
  10068. "description": "银行卡正面照地址",
  10069. "type": "string"
  10070. },
  10071. "bankid": {
  10072. "description": "银行编码",
  10073. "type": "string"
  10074. },
  10075. "bankname": {
  10076. "description": "银行名称",
  10077. "type": "string"
  10078. },
  10079. "bankpictureurl": {
  10080. "description": "银行卡正面地址",
  10081. "type": "string"
  10082. },
  10083. "biznature": {
  10084. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10085. "type": "integer"
  10086. },
  10087. "bizscope": {
  10088. "description": "企业经营范围(企业)",
  10089. "type": "string"
  10090. },
  10091. "biztype": {
  10092. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10093. "type": "integer"
  10094. },
  10095. "brokerid": {
  10096. "description": "经纪人ID(加密存储)",
  10097. "type": "string"
  10098. },
  10099. "cardaddress": {
  10100. "description": "证件地址 (加密存储)",
  10101. "type": "string"
  10102. },
  10103. "cardbackphotourl": {
  10104. "description": "背面证件照地址",
  10105. "type": "string"
  10106. },
  10107. "cardfrontphotourl": {
  10108. "description": "正面证件照地址",
  10109. "type": "string"
  10110. },
  10111. "cardnum": {
  10112. "description": "证件号码 (加密存储)",
  10113. "type": "string"
  10114. },
  10115. "cardtype": {
  10116. "description": "证件类型",
  10117. "type": "integer"
  10118. },
  10119. "cityid": {
  10120. "description": "市",
  10121. "type": "integer"
  10122. },
  10123. "company": {
  10124. "description": "公司(个人)",
  10125. "type": "string"
  10126. },
  10127. "contactcardbackphotourl": {
  10128. "description": "联系人证件背面图片地址",
  10129. "type": "string"
  10130. },
  10131. "contactcardfrontphotourl": {
  10132. "description": "联系人证件正面图片地址",
  10133. "type": "string"
  10134. },
  10135. "contactname": {
  10136. "description": "联系人",
  10137. "type": "string"
  10138. },
  10139. "countryid": {
  10140. "description": "国家",
  10141. "type": "integer"
  10142. },
  10143. "createtime": {
  10144. "description": "开户申请时间",
  10145. "type": "string"
  10146. },
  10147. "cusbankid": {
  10148. "description": "签约类型",
  10149. "type": "string"
  10150. },
  10151. "cusbankname": {
  10152. "description": "签约类型名称",
  10153. "type": "string"
  10154. },
  10155. "customername": {
  10156. "description": "客户名称(企业名称)",
  10157. "type": "string"
  10158. },
  10159. "districtid": {
  10160. "description": "地区",
  10161. "type": "integer"
  10162. },
  10163. "email": {
  10164. "description": "Email地址(加密存储)",
  10165. "type": "string"
  10166. },
  10167. "halfbodyphotourl": {
  10168. "description": "半身照地址",
  10169. "type": "string"
  10170. },
  10171. "headurl": {
  10172. "description": "头像地址",
  10173. "type": "string"
  10174. },
  10175. "ipaddress": {
  10176. "description": "IP地址",
  10177. "type": "string"
  10178. },
  10179. "isvalidate": {
  10180. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10181. "type": "string"
  10182. },
  10183. "legalcardbackphotourl": {
  10184. "description": "法人身份证背面照地址",
  10185. "type": "string"
  10186. },
  10187. "legalcardfrontphotourl": {
  10188. "description": "法人身份证正面照地址",
  10189. "type": "string"
  10190. },
  10191. "legalpersonname": {
  10192. "description": "法人姓名(企业)",
  10193. "type": "string"
  10194. },
  10195. "logincode": {
  10196. "description": "登录帐号 (加密存储)",
  10197. "type": "string"
  10198. },
  10199. "memberareaid": {
  10200. "description": "所属会员ID",
  10201. "type": "integer"
  10202. },
  10203. "mobile2": {
  10204. "description": "手机号码[明文-尚志]",
  10205. "type": "string"
  10206. },
  10207. "mobilephone": {
  10208. "description": "手机号码 (加密存储)",
  10209. "type": "string"
  10210. },
  10211. "modifiedby": {
  10212. "description": "修改人帐号",
  10213. "type": "integer"
  10214. },
  10215. "modifiedtime": {
  10216. "description": "修改时间",
  10217. "type": "string"
  10218. },
  10219. "nickname": {
  10220. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10221. "type": "string"
  10222. },
  10223. "openmode": {
  10224. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10225. "type": "integer"
  10226. },
  10227. "otherurl": {
  10228. "description": "其它图片地址[使用分号分隔]",
  10229. "type": "string"
  10230. },
  10231. "postalcode": {
  10232. "description": "邮政编码",
  10233. "type": "string"
  10234. },
  10235. "provinceid": {
  10236. "description": "省",
  10237. "type": "integer"
  10238. },
  10239. "proxystatementurl": {
  10240. "description": "授权委托书",
  10241. "type": "string"
  10242. },
  10243. "qq": {
  10244. "description": "QQ(加密存储",
  10245. "type": "string"
  10246. },
  10247. "referral": {
  10248. "description": "推荐人编码",
  10249. "type": "string"
  10250. },
  10251. "remark": {
  10252. "description": "备注",
  10253. "type": "string"
  10254. },
  10255. "removebeforestatus": {
  10256. "description": "REMOVEBEFORESTATUS",
  10257. "type": "integer"
  10258. },
  10259. "sex": {
  10260. "description": "性别 - 0:女 1:男",
  10261. "type": "integer"
  10262. },
  10263. "signedstatus": {
  10264. "description": "账户一号签签约状态",
  10265. "type": "integer"
  10266. },
  10267. "signpdfurl": {
  10268. "description": "签约pdf文件",
  10269. "type": "string"
  10270. },
  10271. "subbranch": {
  10272. "description": "开户支行",
  10273. "type": "string"
  10274. },
  10275. "telphone": {
  10276. "description": "联系电话(加密存储)",
  10277. "type": "string"
  10278. },
  10279. "userid": {
  10280. "description": "用户ID(自增ID)",
  10281. "type": "integer"
  10282. },
  10283. "userinfotype": {
  10284. "description": "用户信息类型 - 1:个人 2:企业",
  10285. "type": "integer"
  10286. },
  10287. "username": {
  10288. "description": "用户姓名",
  10289. "type": "string"
  10290. },
  10291. "userstate": {
  10292. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10293. "type": "integer"
  10294. },
  10295. "usertype": {
  10296. "description": "用户类型 - 1:投资者 2:机构",
  10297. "type": "integer"
  10298. },
  10299. "videourl": {
  10300. "description": "视频地址",
  10301. "type": "string"
  10302. },
  10303. "wechat": {
  10304. "description": "微信号 (加密存储)",
  10305. "type": "string"
  10306. }
  10307. }
  10308. },
  10309. "erms3.QryAuditContractRsp": {
  10310. "type": "object",
  10311. "required": [
  10312. "matchcustomername",
  10313. "spotcontractid"
  10314. ],
  10315. "properties": {
  10316. "accountid": {
  10317. "description": "交易员ID",
  10318. "type": "string"
  10319. },
  10320. "applystatus": {
  10321. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10322. "type": "integer"
  10323. },
  10324. "curdeliveryqty": {
  10325. "description": "未交收量",
  10326. "type": "integer"
  10327. },
  10328. "customername": {
  10329. "description": "采购方ID",
  10330. "type": "string"
  10331. },
  10332. "deliverygoodsid": {
  10333. "description": "品种ID",
  10334. "type": "string"
  10335. },
  10336. "deliveryqty": {
  10337. "description": "交收量",
  10338. "type": "integer"
  10339. },
  10340. "enumdicname": {
  10341. "description": "单位名称",
  10342. "type": "string"
  10343. },
  10344. "matchaccountid": {
  10345. "description": "业务员ID",
  10346. "type": "string"
  10347. },
  10348. "matchcustomername": {
  10349. "description": "销售方ID",
  10350. "type": "string"
  10351. },
  10352. "pricedqty": {
  10353. "description": "定价量",
  10354. "type": "number"
  10355. },
  10356. "signdate": {
  10357. "description": "签订日期",
  10358. "type": "string"
  10359. },
  10360. "spotcontractid": {
  10361. "description": "合同ID",
  10362. "type": "string"
  10363. },
  10364. "totaldqty": {
  10365. "description": "合同量",
  10366. "type": "number"
  10367. },
  10368. "unpricedqty": {
  10369. "description": "未定价量",
  10370. "type": "number"
  10371. },
  10372. "wrstandardname": {
  10373. "description": "商品名称",
  10374. "type": "string"
  10375. }
  10376. }
  10377. },
  10378. "erms3.QryPendingBizRsp": {
  10379. "$ref": "#/definitions/models.PendingAuditBizModel"
  10380. },
  10381. "erms3.QueryBusinessInfoRsp": {
  10382. "type": "object",
  10383. "properties": {
  10384. "businessid": {
  10385. "description": "业务ID.",
  10386. "type": "integer"
  10387. },
  10388. "buyamount": {
  10389. "description": "采购额.",
  10390. "type": "number"
  10391. },
  10392. "buyqty": {
  10393. "description": "采购量.",
  10394. "type": "string"
  10395. },
  10396. "futurepl": {
  10397. "description": "期货盈亏.",
  10398. "type": "number"
  10399. },
  10400. "futureqty": {
  10401. "description": "期货敞口.",
  10402. "type": "string"
  10403. },
  10404. "goodsid": {
  10405. "description": "商品名称/商品代码.",
  10406. "type": "string"
  10407. },
  10408. "hedgingqty": {
  10409. "description": "套保量.",
  10410. "type": "string"
  10411. },
  10412. "sellamount": {
  10413. "description": "销售额.",
  10414. "type": "number"
  10415. },
  10416. "sellqty": {
  10417. "description": "销售量.",
  10418. "type": "string"
  10419. },
  10420. "spotmarketvalue": {
  10421. "description": "现货市值.",
  10422. "type": "number"
  10423. },
  10424. "spotpl": {
  10425. "description": "浮动权益.",
  10426. "type": "number"
  10427. },
  10428. "spotqty": {
  10429. "description": "现货量.",
  10430. "type": "string"
  10431. },
  10432. "statu": {
  10433. "description": "状态,0-未结束 1-已结束.",
  10434. "type": "integer"
  10435. },
  10436. "totalpl": {
  10437. "description": "总盈亏.",
  10438. "type": "number"
  10439. },
  10440. "totalqty": {
  10441. "description": "总敞口.",
  10442. "type": "string"
  10443. },
  10444. "type": {
  10445. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10446. "type": "integer"
  10447. }
  10448. }
  10449. },
  10450. "erms3.QuerySpotContractAppleFormRsp": {
  10451. "type": "object",
  10452. "properties": {
  10453. "goodses": {
  10454. "description": "合约列表",
  10455. "type": "array",
  10456. "items": {
  10457. "$ref": "#/definitions/models.GoodsIDAndName"
  10458. }
  10459. },
  10460. "oppositeusers": {
  10461. "description": "对方账号列表",
  10462. "type": "array",
  10463. "items": {
  10464. "$ref": "#/definitions/erms3.CustomerInfo"
  10465. }
  10466. },
  10467. "ouruser": {
  10468. "description": "我方账号",
  10469. "type": "object",
  10470. "$ref": "#/definitions/erms3.CustomerInfo"
  10471. },
  10472. "warehouseinfos": {
  10473. "description": "仓库信息列表",
  10474. "type": "array",
  10475. "items": {
  10476. "$ref": "#/definitions/models.Warehouseinfo"
  10477. }
  10478. },
  10479. "wrstandards": {
  10480. "description": "仓单标准列表",
  10481. "type": "array",
  10482. "items": {
  10483. "$ref": "#/definitions/models.WRStandardInfo"
  10484. }
  10485. }
  10486. }
  10487. },
  10488. "erms3.QuerySpotContractInfoRsp": {
  10489. "type": "object",
  10490. "properties": {
  10491. "accountid": {
  10492. "description": "表示交易员ID.",
  10493. "type": "integer"
  10494. },
  10495. "curdeliveryqty": {
  10496. "description": "表示未交收量.",
  10497. "type": "number"
  10498. },
  10499. "customername": {
  10500. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10501. "type": "string"
  10502. },
  10503. "deliverygoodsid": {
  10504. "description": "表示品种ID.",
  10505. "type": "string"
  10506. },
  10507. "deliveryqty": {
  10508. "description": "表示交收量.",
  10509. "type": "number"
  10510. },
  10511. "matchaccountid": {
  10512. "description": "表示业务员ID.",
  10513. "type": "integer"
  10514. },
  10515. "matchcustomername": {
  10516. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10517. "type": "string"
  10518. },
  10519. "priceqty": {
  10520. "description": "表示定价量.",
  10521. "type": "number"
  10522. },
  10523. "relatedbizid": {
  10524. "description": "表示业务ID.",
  10525. "type": "string"
  10526. },
  10527. "signdate": {
  10528. "description": "表示签订日期.",
  10529. "type": "string"
  10530. },
  10531. "spotcontractid": {
  10532. "description": "合同ID",
  10533. "type": "string"
  10534. },
  10535. "status": {
  10536. "description": "表示状态,0-履约中 1-已完成.",
  10537. "type": "integer"
  10538. },
  10539. "totalqty": {
  10540. "description": "表示合同量.",
  10541. "type": "number"
  10542. },
  10543. "unpricedqty": {
  10544. "description": "表示未定价量.",
  10545. "type": "number"
  10546. },
  10547. "wrstandardname": {
  10548. "description": "表示商品ID.",
  10549. "type": "string"
  10550. }
  10551. }
  10552. },
  10553. "erms3.QueryUserInfoAppliesRsp": {
  10554. "type": "object",
  10555. "required": [
  10556. "userid"
  10557. ],
  10558. "properties": {
  10559. "biznature": {
  10560. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10561. "type": "integer"
  10562. },
  10563. "contactname": {
  10564. "description": "联系人",
  10565. "type": "string"
  10566. },
  10567. "createtime": {
  10568. "description": "开户申请时间",
  10569. "type": "string"
  10570. },
  10571. "userid": {
  10572. "description": "用户ID(自增ID)",
  10573. "type": "integer"
  10574. },
  10575. "userinfotype": {
  10576. "description": "用户信息类型 - 1:个人 2:企业",
  10577. "type": "integer"
  10578. },
  10579. "username": {
  10580. "description": "用户姓名",
  10581. "type": "string"
  10582. },
  10583. "userstate": {
  10584. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10585. "type": "integer"
  10586. }
  10587. }
  10588. },
  10589. "erms3.QueryUserInfosRsp": {
  10590. "type": "object",
  10591. "required": [
  10592. "userid"
  10593. ],
  10594. "properties": {
  10595. "biznature": {
  10596. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10597. "type": "integer"
  10598. },
  10599. "contactname": {
  10600. "description": "联系人",
  10601. "type": "string"
  10602. },
  10603. "customername": {
  10604. "description": "客户名称(企业名称)",
  10605. "type": "string"
  10606. },
  10607. "userid": {
  10608. "description": "用户ID",
  10609. "type": "integer"
  10610. },
  10611. "userinfotype": {
  10612. "description": "用户信息类型 - 1:个人 2:企业",
  10613. "type": "integer"
  10614. },
  10615. "userstatus": {
  10616. "description": "用户状态 - 1:正常 2:注销",
  10617. "type": "integer"
  10618. }
  10619. }
  10620. },
  10621. "erms3.SoptContractDetail": {
  10622. "type": "object",
  10623. "required": [
  10624. "deliverygoodsid",
  10625. "producttype",
  10626. "unitname",
  10627. "warehouseid",
  10628. "wrstandardid",
  10629. "wrstandardname"
  10630. ],
  10631. "properties": {
  10632. "deliverygoodsdesc": {
  10633. "description": "现货品种说明",
  10634. "type": "string"
  10635. },
  10636. "deliverygoodsid": {
  10637. "description": "现货品种ID",
  10638. "type": "integer"
  10639. },
  10640. "deliverygoodsname": {
  10641. "description": "现货品种名称",
  10642. "type": "string"
  10643. },
  10644. "pointdesc": {
  10645. "description": "点价描述",
  10646. "type": "string"
  10647. },
  10648. "producttype": {
  10649. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10650. "type": "integer"
  10651. },
  10652. "producttypename": {
  10653. "description": "产品类型名称",
  10654. "type": "string"
  10655. },
  10656. "spotPointOrderVoList": {
  10657. "description": "点价列表",
  10658. "type": "array",
  10659. "items": {
  10660. "$ref": "#/definitions/erms3.SpotPointOrder"
  10661. }
  10662. },
  10663. "spotPriceOrderList": {
  10664. "description": "定价列表",
  10665. "type": "array",
  10666. "items": {
  10667. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10668. }
  10669. },
  10670. "unitname": {
  10671. "description": "单位名称",
  10672. "type": "string"
  10673. },
  10674. "warehouseid": {
  10675. "description": "仓库ID",
  10676. "type": "integer"
  10677. },
  10678. "warehousename": {
  10679. "description": "仓库名称",
  10680. "type": "string"
  10681. },
  10682. "wrstandardid": {
  10683. "description": "交易标的ID",
  10684. "type": "integer"
  10685. },
  10686. "wrstandardname": {
  10687. "description": "交易标的名称",
  10688. "type": "string"
  10689. }
  10690. }
  10691. },
  10692. "erms3.SpotPointOrder": {
  10693. "type": "object",
  10694. "required": [
  10695. "basic",
  10696. "goodsid",
  10697. "qty"
  10698. ],
  10699. "properties": {
  10700. "basic": {
  10701. "description": "基差",
  10702. "type": "number"
  10703. },
  10704. "deliveryenddate": {
  10705. "description": "交收结束日期",
  10706. "type": "string"
  10707. },
  10708. "deliverystartdate": {
  10709. "description": "交收开始日期",
  10710. "type": "string"
  10711. },
  10712. "enddate": {
  10713. "description": "点价结束日期",
  10714. "type": "string"
  10715. },
  10716. "goodsid": {
  10717. "description": "商品ID",
  10718. "type": "integer"
  10719. },
  10720. "goodsname": {
  10721. "description": "商品名称",
  10722. "type": "string"
  10723. },
  10724. "qty": {
  10725. "description": "数量",
  10726. "type": "number"
  10727. },
  10728. "startdate": {
  10729. "description": "点价开始日期",
  10730. "type": "string"
  10731. }
  10732. }
  10733. },
  10734. "erms3.SpotPriceOrder": {
  10735. "type": "object",
  10736. "required": [
  10737. "amount",
  10738. "price",
  10739. "qty"
  10740. ],
  10741. "properties": {
  10742. "amount": {
  10743. "description": "金额",
  10744. "type": "number"
  10745. },
  10746. "deliveryenddate": {
  10747. "description": "交收结束日期",
  10748. "type": "string"
  10749. },
  10750. "deliverystartdate": {
  10751. "description": "交收开始日期",
  10752. "type": "string"
  10753. },
  10754. "price": {
  10755. "description": "价格",
  10756. "type": "number"
  10757. },
  10758. "qty": {
  10759. "description": "数量",
  10760. "type": "number"
  10761. }
  10762. }
  10763. },
  10764. "hsby.GetHsbyMyCountRsp": {
  10765. "type": "object",
  10766. "properties": {
  10767. "myCouponCount": {
  10768. "description": "我的优惠卷数量",
  10769. "type": "integer"
  10770. },
  10771. "myOrderDetailListingCount": {
  10772. "description": "我的订单求购中数量",
  10773. "type": "integer"
  10774. },
  10775. "myOrderDetailPreCount": {
  10776. "description": "我的订单抢购中数量",
  10777. "type": "integer"
  10778. },
  10779. "myPackageUnReceiveCount": {
  10780. "description": "我的包裹待收货数量",
  10781. "type": "integer"
  10782. },
  10783. "myPackageUnSendCount": {
  10784. "description": "我的包裹待发货数量",
  10785. "type": "integer"
  10786. },
  10787. "myPayOrderCount": {
  10788. "description": "我的订单待付款数量",
  10789. "type": "integer"
  10790. }
  10791. }
  10792. },
  10793. "hsby.QueryProvincesAndCitiesRsp": {
  10794. "type": "object",
  10795. "properties": {
  10796. "cities": {
  10797. "description": "市",
  10798. "type": "array",
  10799. "items": {
  10800. "$ref": "#/definitions/models.Division"
  10801. }
  10802. },
  10803. "province": {
  10804. "description": "省",
  10805. "type": "object",
  10806. "$ref": "#/definitions/models.Division"
  10807. }
  10808. }
  10809. },
  10810. "models.AreaSpotModel": {
  10811. "type": "object",
  10812. "properties": {
  10813. "areauserid": {
  10814. "description": "所属机构",
  10815. "type": "integer"
  10816. },
  10817. "decreaseqty": {
  10818. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10819. "type": "number"
  10820. },
  10821. "increaseqty": {
  10822. "description": "增加数量=销售计划数量+采购已定价数量",
  10823. "type": "number"
  10824. },
  10825. "oritoalspotqty": {
  10826. "description": "昨日数量",
  10827. "type": "number"
  10828. },
  10829. "totalspotqty": {
  10830. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10831. "type": "number"
  10832. },
  10833. "updatetime": {
  10834. "description": "更新时间",
  10835. "type": "string"
  10836. },
  10837. "wrstandardcode": {
  10838. "description": "现货品种代码",
  10839. "type": "string"
  10840. },
  10841. "wrstandardid": {
  10842. "description": "现货商品ID",
  10843. "type": "integer"
  10844. },
  10845. "wrstandardname": {
  10846. "description": "现货品种",
  10847. "type": "string"
  10848. }
  10849. }
  10850. },
  10851. "models.Clientfixedadconfig": {
  10852. "type": "object",
  10853. "required": [
  10854. "adsort",
  10855. "adtype"
  10856. ],
  10857. "properties": {
  10858. "adsort": {
  10859. "description": "排序",
  10860. "type": "integer"
  10861. },
  10862. "adtype": {
  10863. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10864. "type": "integer"
  10865. },
  10866. "areauserid": {
  10867. "description": "所属机构ID",
  10868. "type": "integer"
  10869. },
  10870. "createdate": {
  10871. "description": "创建时间",
  10872. "type": "string"
  10873. },
  10874. "creatorid": {
  10875. "description": "创建人",
  10876. "type": "integer"
  10877. },
  10878. "imagepath": {
  10879. "description": "图片",
  10880. "type": "string"
  10881. },
  10882. "isshow": {
  10883. "description": "是否展示 - 0:不展示 1:展示",
  10884. "type": "integer"
  10885. },
  10886. "modifierid": {
  10887. "description": "操作人",
  10888. "type": "integer"
  10889. },
  10890. "recsize": {
  10891. "description": "推荐尺寸",
  10892. "type": "string"
  10893. },
  10894. "title": {
  10895. "description": "标题",
  10896. "type": "string"
  10897. },
  10898. "updatedate": {
  10899. "description": "更新时间",
  10900. "type": "string"
  10901. },
  10902. "urlcontent": {
  10903. "description": "链接(地址或商品ID)",
  10904. "type": "string"
  10905. },
  10906. "urltype": {
  10907. "description": "链接类型 - 1:直接地址 2:商品ID",
  10908. "type": "integer"
  10909. }
  10910. }
  10911. },
  10912. "models.Division": {
  10913. "type": "object",
  10914. "required": [
  10915. "autoid",
  10916. "divisioncode"
  10917. ],
  10918. "properties": {
  10919. "autoid": {
  10920. "description": "自增ID",
  10921. "type": "integer"
  10922. },
  10923. "divisioncode": {
  10924. "description": "行政代码",
  10925. "type": "string"
  10926. },
  10927. "divisionlevel": {
  10928. "description": "行政级别",
  10929. "type": "string"
  10930. },
  10931. "divisionname": {
  10932. "description": "行政名称",
  10933. "type": "string"
  10934. },
  10935. "modifierid": {
  10936. "description": "修改人",
  10937. "type": "integer"
  10938. },
  10939. "modifytime": {
  10940. "description": "修改时间",
  10941. "type": "string"
  10942. },
  10943. "parentcode": {
  10944. "description": "上级行政代码",
  10945. "type": "string"
  10946. },
  10947. "pathname": {
  10948. "description": "路径名称",
  10949. "type": "string"
  10950. },
  10951. "postcode": {
  10952. "description": "邮政编码",
  10953. "type": "string"
  10954. },
  10955. "separablename": {
  10956. "description": "可拆分的全称",
  10957. "type": "string"
  10958. },
  10959. "shortcode": {
  10960. "description": "地区简码",
  10961. "type": "string"
  10962. }
  10963. }
  10964. },
  10965. "models.Enumdicitem": {
  10966. "type": "object",
  10967. "required": [
  10968. "autoid",
  10969. "enumdiccode",
  10970. "enumdicid",
  10971. "enumitemname"
  10972. ],
  10973. "properties": {
  10974. "autoid": {
  10975. "description": "自增ID",
  10976. "type": "integer"
  10977. },
  10978. "bankmappedvalue": {
  10979. "description": "银行服务对应值",
  10980. "type": "string"
  10981. },
  10982. "enumdiccode": {
  10983. "description": "所属枚举代码",
  10984. "type": "string"
  10985. },
  10986. "enumdicid": {
  10987. "description": "所属枚举ID",
  10988. "type": "integer"
  10989. },
  10990. "enumdicname": {
  10991. "description": "枚举项名称",
  10992. "type": "string"
  10993. },
  10994. "enumitemname": {
  10995. "description": "枚举项值",
  10996. "type": "integer"
  10997. },
  10998. "enumitemstatus": {
  10999. "description": "枚举项状态 - 1.启用 2.不启用",
  11000. "type": "integer"
  11001. },
  11002. "enumitemvalue": {
  11003. "description": "通用值 - [币种通用简写]",
  11004. "type": "string"
  11005. },
  11006. "param1": {
  11007. "description": "参数1[币种:币种小数位]",
  11008. "type": "string"
  11009. },
  11010. "param2": {
  11011. "description": "参数1[币种:币种显示单位]",
  11012. "type": "string"
  11013. },
  11014. "remark": {
  11015. "description": "备注",
  11016. "type": "string"
  11017. }
  11018. }
  11019. },
  11020. "models.ErmcpAreaSpotDetailModel": {
  11021. "type": "object",
  11022. "properties": {
  11023. "contracttype": {
  11024. "description": "合同类型 1-采购 -1-销售",
  11025. "type": "integer"
  11026. },
  11027. "createtime": {
  11028. "description": "创建时间",
  11029. "type": "string"
  11030. },
  11031. "enumdicname": {
  11032. "description": "现货商品单位名称",
  11033. "type": "string"
  11034. },
  11035. "logtype": {
  11036. "description": "记录类型 1-套保 2-现货合同",
  11037. "type": "integer"
  11038. },
  11039. "qty": {
  11040. "description": "数量",
  11041. "type": "number"
  11042. },
  11043. "recordname": {
  11044. "description": "类型名称",
  11045. "type": "string"
  11046. },
  11047. "relatedid": {
  11048. "description": "套保计划ID/现货合同ID",
  11049. "type": "string"
  11050. },
  11051. "relatedno": {
  11052. "description": "编号",
  11053. "type": "string"
  11054. },
  11055. "strtime": {
  11056. "description": "时间",
  11057. "type": "string"
  11058. },
  11059. "wrstandardcode": {
  11060. "description": "现货商品代码",
  11061. "type": "string"
  11062. },
  11063. "wrstandardname": {
  11064. "description": "现货商品名称",
  11065. "type": "string"
  11066. }
  11067. }
  11068. },
  11069. "models.ErmcpAreaStock": {
  11070. "type": "object",
  11071. "properties": {
  11072. "brandname": {
  11073. "description": "品牌名称",
  11074. "type": "string"
  11075. },
  11076. "curstock": {
  11077. "description": "期末库存量(今日量)",
  11078. "type": "number"
  11079. },
  11080. "deliverygoodsid": {
  11081. "description": "现货品种ID",
  11082. "type": "integer"
  11083. },
  11084. "enumdicname": {
  11085. "description": "单位名称",
  11086. "type": "string"
  11087. },
  11088. "modelname": {
  11089. "description": "型号名称",
  11090. "type": "string"
  11091. },
  11092. "oristock": {
  11093. "description": "期初库存量(昨日量)",
  11094. "type": "number"
  11095. },
  11096. "spotgoodsbrandid": {
  11097. "description": "现货品牌ID",
  11098. "type": "integer"
  11099. },
  11100. "spotgoodsmodelid": {
  11101. "description": "现货型号ID",
  11102. "type": "integer"
  11103. },
  11104. "todaybuyinqty": {
  11105. "description": "今日采购入库量",
  11106. "type": "number"
  11107. },
  11108. "todayproduceinqty": {
  11109. "description": "今日生产入库量",
  11110. "type": "number"
  11111. },
  11112. "todayproduceoutqty": {
  11113. "description": "今日生产出库量",
  11114. "type": "number"
  11115. },
  11116. "todayselloutqty": {
  11117. "description": "今日销售出库量",
  11118. "type": "number"
  11119. },
  11120. "unitid": {
  11121. "description": "单位id",
  11122. "type": "integer"
  11123. },
  11124. "updatetime": {
  11125. "description": "更新时间",
  11126. "type": "string"
  11127. },
  11128. "userid": {
  11129. "description": "机构ID",
  11130. "type": "integer"
  11131. },
  11132. "username": {
  11133. "description": "机构名称",
  11134. "type": "string"
  11135. },
  11136. "warehousecode": {
  11137. "description": "仓库代码",
  11138. "type": "string"
  11139. },
  11140. "warehouseinfoid": {
  11141. "description": "仓库ID",
  11142. "type": "string"
  11143. },
  11144. "warehousename": {
  11145. "description": "仓库名称",
  11146. "type": "string"
  11147. },
  11148. "warehousetype": {
  11149. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11150. "type": "integer"
  11151. },
  11152. "wrstandardcode": {
  11153. "description": "现货商品代码",
  11154. "type": "string"
  11155. },
  11156. "wrstandardid": {
  11157. "description": "现货商品ID",
  11158. "type": "string"
  11159. },
  11160. "wrstandardname": {
  11161. "description": "现货商品名称",
  11162. "type": "string"
  11163. }
  11164. }
  11165. },
  11166. "models.ErmcpAreaStockApply": {
  11167. "type": "object",
  11168. "properties": {
  11169. "applyid": {
  11170. "description": "申请人",
  11171. "type": "integer"
  11172. },
  11173. "applyname": {
  11174. "description": "申请人名称",
  11175. "type": "string"
  11176. },
  11177. "applyremark": {
  11178. "description": "申请备注",
  11179. "type": "string"
  11180. },
  11181. "applysrc": {
  11182. "description": "申请来源 - 1:管理端 2:终端",
  11183. "type": "integer"
  11184. },
  11185. "applystatus": {
  11186. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11187. "type": "integer"
  11188. },
  11189. "applytime": {
  11190. "description": "申请时间",
  11191. "type": "string"
  11192. },
  11193. "auditid": {
  11194. "description": "审核人",
  11195. "type": "integer"
  11196. },
  11197. "auditname": {
  11198. "description": "审核人名称",
  11199. "type": "string"
  11200. },
  11201. "auditremark": {
  11202. "description": "审核备注",
  11203. "type": "string"
  11204. },
  11205. "auditsrc": {
  11206. "description": "审核来源 - 1:管理端 2:终端",
  11207. "type": "integer"
  11208. },
  11209. "audittime": {
  11210. "description": "审核时间",
  11211. "type": "string"
  11212. },
  11213. "audittradedate": {
  11214. "description": "审核交易日(yyyyMMdd)",
  11215. "type": "string"
  11216. },
  11217. "brandname": {
  11218. "description": "品牌名称",
  11219. "type": "string"
  11220. },
  11221. "buyuserid": {
  11222. "description": "采购方userid",
  11223. "type": "integer"
  11224. },
  11225. "buyusername": {
  11226. "description": "采购方名称",
  11227. "type": "string"
  11228. },
  11229. "contractno": {
  11230. "description": "合同编号",
  11231. "type": "string"
  11232. },
  11233. "contractqty": {
  11234. "description": "合同量",
  11235. "type": "number"
  11236. },
  11237. "contracttype": {
  11238. "description": "现货合同类型 - 1:采购 -1:销售",
  11239. "type": "integer"
  11240. },
  11241. "deliverygoodsid": {
  11242. "description": "现货品种ID",
  11243. "type": "integer"
  11244. },
  11245. "enumdicname": {
  11246. "description": "现货商品单位名称",
  11247. "type": "string"
  11248. },
  11249. "inoutapplyid": {
  11250. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11251. "type": "string"
  11252. },
  11253. "inouttype": {
  11254. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11255. "type": "integer"
  11256. },
  11257. "modelname": {
  11258. "description": "型号名称",
  11259. "type": "string"
  11260. },
  11261. "pricetype": {
  11262. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11263. "type": "integer"
  11264. },
  11265. "qty": {
  11266. "description": "数量",
  11267. "type": "number"
  11268. },
  11269. "selluserid": {
  11270. "description": "销售方userid",
  11271. "type": "integer"
  11272. },
  11273. "sellusername": {
  11274. "description": "销售方名称",
  11275. "type": "string"
  11276. },
  11277. "spotcontractid": {
  11278. "description": "关联现货合同ID",
  11279. "type": "string"
  11280. },
  11281. "spotgoodsbrandid": {
  11282. "description": "现货品牌ID",
  11283. "type": "integer"
  11284. },
  11285. "spotgoodsmodelid": {
  11286. "description": "现货型号ID",
  11287. "type": "integer"
  11288. },
  11289. "unitid": {
  11290. "description": "单位id",
  11291. "type": "integer"
  11292. },
  11293. "userid": {
  11294. "description": "机构ID",
  11295. "type": "integer"
  11296. },
  11297. "warehousecode": {
  11298. "description": "仓库代码",
  11299. "type": "string"
  11300. },
  11301. "warehouseinfoid": {
  11302. "description": "现货仓库ID",
  11303. "type": "string"
  11304. },
  11305. "warehousename": {
  11306. "description": "仓库名称",
  11307. "type": "string"
  11308. },
  11309. "warehousetype": {
  11310. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11311. "type": "integer"
  11312. },
  11313. "wrstandardcode": {
  11314. "description": "现货商品代码",
  11315. "type": "string"
  11316. },
  11317. "wrstandardid": {
  11318. "description": "现货商品ID",
  11319. "type": "string"
  11320. },
  11321. "wrstandardname": {
  11322. "description": "现货商品名称",
  11323. "type": "string"
  11324. }
  11325. }
  11326. },
  11327. "models.ErmcpAreaStockApplySum": {
  11328. "type": "object",
  11329. "properties": {
  11330. "brandname": {
  11331. "description": "品牌名称",
  11332. "type": "string"
  11333. },
  11334. "inouttype": {
  11335. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11336. "type": "integer"
  11337. },
  11338. "modelname": {
  11339. "description": "型号名称",
  11340. "type": "string"
  11341. },
  11342. "spotcontractid": {
  11343. "description": "关联现货合同ID",
  11344. "type": "string"
  11345. },
  11346. "spotgoodsbrandid": {
  11347. "description": "品牌id",
  11348. "type": "integer"
  11349. },
  11350. "spotgoodsmodelid": {
  11351. "description": "型号id",
  11352. "type": "integer"
  11353. },
  11354. "totalqty": {
  11355. "description": "总数量",
  11356. "type": "number"
  11357. }
  11358. }
  11359. },
  11360. "models.ErmcpAreaStockReport": {
  11361. "type": "object",
  11362. "properties": {
  11363. "brandname": {
  11364. "description": "品牌名称",
  11365. "type": "string"
  11366. },
  11367. "curstock": {
  11368. "description": "期末库存量",
  11369. "type": "number"
  11370. },
  11371. "deliverygoodsid": {
  11372. "description": "现货品种ID",
  11373. "type": "integer"
  11374. },
  11375. "enumdicname": {
  11376. "description": "单位名称",
  11377. "type": "string"
  11378. },
  11379. "modelname": {
  11380. "description": "型号名称",
  11381. "type": "string"
  11382. },
  11383. "oristock": {
  11384. "description": "期初库存量",
  11385. "type": "number"
  11386. },
  11387. "spotgoodsbrandid": {
  11388. "description": "现货品牌ID",
  11389. "type": "integer"
  11390. },
  11391. "spotgoodsmodelid": {
  11392. "description": "现货型号ID",
  11393. "type": "integer"
  11394. },
  11395. "todaybuyinqty": {
  11396. "description": "今日采购入库量",
  11397. "type": "number"
  11398. },
  11399. "todayproduceinqty": {
  11400. "description": "今日生产入库量",
  11401. "type": "number"
  11402. },
  11403. "todayproduceoutqty": {
  11404. "description": "今日生产出库量",
  11405. "type": "number"
  11406. },
  11407. "todayselloutqty": {
  11408. "description": "今日销售出库量",
  11409. "type": "number"
  11410. },
  11411. "unitid": {
  11412. "description": "单位id",
  11413. "type": "integer"
  11414. },
  11415. "updatetime": {
  11416. "description": "更新时间",
  11417. "type": "string"
  11418. },
  11419. "userid": {
  11420. "description": "机构ID",
  11421. "type": "integer"
  11422. },
  11423. "username": {
  11424. "description": "机构名称",
  11425. "type": "string"
  11426. },
  11427. "warehousecode": {
  11428. "description": "仓库代码",
  11429. "type": "string"
  11430. },
  11431. "warehouseinfoid": {
  11432. "description": "仓库ID",
  11433. "type": "string"
  11434. },
  11435. "warehousename": {
  11436. "description": "仓库名称",
  11437. "type": "string"
  11438. },
  11439. "warehousetype": {
  11440. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11441. "type": "integer"
  11442. },
  11443. "wrstandardcode": {
  11444. "description": "现货商品代码",
  11445. "type": "string"
  11446. },
  11447. "wrstandardid": {
  11448. "description": "现货商品ID",
  11449. "type": "string"
  11450. },
  11451. "wrstandardname": {
  11452. "description": "现货商品名称",
  11453. "type": "string"
  11454. }
  11455. }
  11456. },
  11457. "models.ErmcpAvalidGoodsGroupModel": {
  11458. "type": "object",
  11459. "properties": {
  11460. "goodsgroupid": {
  11461. "description": "期货品种id",
  11462. "type": "integer"
  11463. },
  11464. "goodsgroupname": {
  11465. "description": "期货品种名称",
  11466. "type": "string"
  11467. },
  11468. "goodunitid": {
  11469. "description": "品种单位id",
  11470. "type": "integer"
  11471. },
  11472. "goodunitname": {
  11473. "description": "品种单位名称",
  11474. "type": "string"
  11475. },
  11476. "outergroupcode": {
  11477. "description": "期货品种代码",
  11478. "type": "string"
  11479. }
  11480. }
  11481. },
  11482. "models.ErmcpExposureDetailModel": {
  11483. "type": "object",
  11484. "properties": {
  11485. "areauserid": {
  11486. "description": "机构ID",
  11487. "type": "integer"
  11488. },
  11489. "changeQty": {
  11490. "description": "套保变动量",
  11491. "type": "number"
  11492. },
  11493. "contracttype": {
  11494. "description": "现货合同类型 - 1:采购 -1:销售",
  11495. "type": "integer"
  11496. },
  11497. "convertfactor": {
  11498. "description": "标仓系数",
  11499. "type": "number"
  11500. },
  11501. "convertratio": {
  11502. "description": "套保系数",
  11503. "type": "number"
  11504. },
  11505. "createtime": {
  11506. "description": "时间",
  11507. "type": "string"
  11508. },
  11509. "enumdicname": {
  11510. "description": "现货商品单位名称",
  11511. "type": "string"
  11512. },
  11513. "logtype": {
  11514. "description": "类型 - 1:套保计划 2:现货合同",
  11515. "type": "integer"
  11516. },
  11517. "middlegoodsId": {
  11518. "description": "套保商品id",
  11519. "type": "integer"
  11520. },
  11521. "middlegoodscode": {
  11522. "description": "套保商品代码",
  11523. "type": "string"
  11524. },
  11525. "middlegoodsname": {
  11526. "description": "套保商品名称",
  11527. "type": "string"
  11528. },
  11529. "qty": {
  11530. "description": "数量",
  11531. "type": "number"
  11532. },
  11533. "relateNo": {
  11534. "description": "现货合同/套保计划编号",
  11535. "type": "string"
  11536. },
  11537. "wrstandardcode": {
  11538. "description": "现货商品代码",
  11539. "type": "string"
  11540. },
  11541. "wrstandardid": {
  11542. "description": "现货商品ID",
  11543. "type": "integer"
  11544. },
  11545. "wrstandardname": {
  11546. "description": "现货商品名称",
  11547. "type": "string"
  11548. }
  11549. }
  11550. },
  11551. "models.ErmcpExposurePostion": {
  11552. "type": "object",
  11553. "properties": {
  11554. "agreeunit": {
  11555. "description": "合约单位",
  11556. "type": "string"
  11557. },
  11558. "areauserid": {
  11559. "description": "所属机构id",
  11560. "type": "integer"
  11561. },
  11562. "convertratio": {
  11563. "description": "期货品种系数(折算系数)",
  11564. "type": "number"
  11565. },
  11566. "curqty": {
  11567. "description": "当前持仓",
  11568. "type": "integer"
  11569. },
  11570. "diffhedgeqty": {
  11571. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11572. "type": "number"
  11573. },
  11574. "diffqty": {
  11575. "description": "持仓变动量=当前持仓-昨日持仓",
  11576. "type": "integer"
  11577. },
  11578. "goodscode": {
  11579. "description": "商品代码",
  11580. "type": "string"
  11581. },
  11582. "goodsid": {
  11583. "description": "商品id",
  11584. "type": "integer"
  11585. },
  11586. "goodsname": {
  11587. "description": "商品名称",
  11588. "type": "string"
  11589. },
  11590. "middlegoodsid": {
  11591. "description": "套保商品id",
  11592. "type": "integer"
  11593. },
  11594. "ydqty": {
  11595. "description": "昨日持仓",
  11596. "type": "integer"
  11597. }
  11598. }
  11599. },
  11600. "models.ErmcpGGConvertCfg": {
  11601. "type": "object",
  11602. "properties": {
  11603. "convertratio": {
  11604. "description": "折算系数",
  11605. "type": "number"
  11606. },
  11607. "destgoodsgroupid": {
  11608. "description": "目标品种ID",
  11609. "type": "integer"
  11610. },
  11611. "dstcode": {
  11612. "description": "目录品种代码",
  11613. "type": "string"
  11614. },
  11615. "dstexchangecode": {
  11616. "description": "目标期货交易所",
  11617. "type": "string"
  11618. },
  11619. "dstname": {
  11620. "description": "目标品种名称",
  11621. "type": "string"
  11622. },
  11623. "dstunitid": {
  11624. "description": "目标品种单位ID",
  11625. "type": "integer"
  11626. },
  11627. "dstunitidname": {
  11628. "description": "目标品种单位名称",
  11629. "type": "string"
  11630. },
  11631. "modifytime": {
  11632. "description": "修改时间",
  11633. "type": "string"
  11634. },
  11635. "srccode": {
  11636. "description": "源品种代码",
  11637. "type": "string"
  11638. },
  11639. "srcexchangecode": {
  11640. "description": "源期货交易所",
  11641. "type": "string"
  11642. },
  11643. "srcgoodsgroupid": {
  11644. "description": "源品种ID",
  11645. "type": "integer"
  11646. },
  11647. "srcname": {
  11648. "description": "源品种名称",
  11649. "type": "string"
  11650. },
  11651. "srcunitid": {
  11652. "description": "源品种单位ID",
  11653. "type": "integer"
  11654. },
  11655. "srcunitidname": {
  11656. "description": "源品种单位名称",
  11657. "type": "string"
  11658. }
  11659. }
  11660. },
  11661. "models.ErmcpGoodsBrand": {
  11662. "type": "object",
  11663. "properties": {
  11664. "areauserid": {
  11665. "description": "所属机构",
  11666. "type": "integer"
  11667. },
  11668. "brandid": {
  11669. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  11670. "type": "integer"
  11671. },
  11672. "brandname": {
  11673. "description": "品牌名称",
  11674. "type": "string"
  11675. },
  11676. "createtime": {
  11677. "description": "创建时间",
  11678. "type": "string"
  11679. },
  11680. "creatorid": {
  11681. "description": "创建人",
  11682. "type": "integer"
  11683. },
  11684. "creatorsrc": {
  11685. "description": "创建人来源 - 1:管理端 2:终端",
  11686. "type": "integer"
  11687. },
  11688. "deliverygoodsid": {
  11689. "description": "现货品种ID",
  11690. "type": "integer"
  11691. },
  11692. "isvalid": {
  11693. "description": "是否有效 - 0:无效 1:有效",
  11694. "type": "integer"
  11695. },
  11696. "updatetime": {
  11697. "description": "更新时间",
  11698. "type": "string"
  11699. },
  11700. "updatorid": {
  11701. "description": "更新人",
  11702. "type": "integer"
  11703. },
  11704. "updatorsrc": {
  11705. "description": "更新人来源 - 1:管理端 2:终端",
  11706. "type": "integer"
  11707. },
  11708. "wrstandardid": {
  11709. "description": "现货商品ID",
  11710. "type": "integer"
  11711. }
  11712. }
  11713. },
  11714. "models.ErmcpGoodsModel": {
  11715. "type": "object",
  11716. "properties": {
  11717. "areauserid": {
  11718. "description": "所属机构",
  11719. "type": "integer"
  11720. },
  11721. "createtime": {
  11722. "description": "创建时间",
  11723. "type": "string"
  11724. },
  11725. "creatorid": {
  11726. "description": "创建人",
  11727. "type": "integer"
  11728. },
  11729. "creatorsrc": {
  11730. "description": "创建人来源 - 1:管理端 2:终端",
  11731. "type": "integer"
  11732. },
  11733. "deliverygoodsid": {
  11734. "description": "现货品种ID",
  11735. "type": "integer"
  11736. },
  11737. "isvalid": {
  11738. "description": "是否有效 - 0:无效 1:有效",
  11739. "type": "integer"
  11740. },
  11741. "modelid": {
  11742. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  11743. "type": "integer"
  11744. },
  11745. "modelname": {
  11746. "description": "型号名称",
  11747. "type": "string"
  11748. },
  11749. "updatetime": {
  11750. "description": "更新时间",
  11751. "type": "string"
  11752. },
  11753. "updatorid": {
  11754. "description": "更新人",
  11755. "type": "integer"
  11756. },
  11757. "updatorsrc": {
  11758. "description": "更新人来源 - 1:管理端 2:终端",
  11759. "type": "integer"
  11760. },
  11761. "wrstandardid": {
  11762. "description": "现货商品ID",
  11763. "type": "integer"
  11764. }
  11765. }
  11766. },
  11767. "models.ErmcpHedgePlan": {
  11768. "type": "object",
  11769. "properties": {
  11770. "areauserid": {
  11771. "description": "用户ID",
  11772. "type": "integer"
  11773. },
  11774. "audittime": {
  11775. "description": "审核时间",
  11776. "type": "string"
  11777. },
  11778. "contracttype": {
  11779. "description": "计划类型 - 1:采购 -1:销售",
  11780. "type": "integer"
  11781. },
  11782. "convertfactor": {
  11783. "description": "标仓系数",
  11784. "type": "number"
  11785. },
  11786. "createtime": {
  11787. "description": "创建时间",
  11788. "type": "string"
  11789. },
  11790. "deliverygoodsid": {
  11791. "description": "现货品种ID",
  11792. "type": "integer"
  11793. },
  11794. "deliverygoodsname": {
  11795. "description": "现货品种名称",
  11796. "type": "string"
  11797. },
  11798. "enumdicname": {
  11799. "description": "单位名称",
  11800. "type": "string"
  11801. },
  11802. "hedgeplanid": {
  11803. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11804. "type": "string"
  11805. },
  11806. "hedgeplanno": {
  11807. "description": "套保计划编号(名称)",
  11808. "type": "string"
  11809. },
  11810. "hedgeplanstatus": {
  11811. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11812. "type": "integer"
  11813. },
  11814. "planqty": {
  11815. "description": "计划数量",
  11816. "type": "number"
  11817. },
  11818. "plantime": {
  11819. "description": "计划时间",
  11820. "type": "string"
  11821. },
  11822. "producttype": {
  11823. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11824. "type": "integer"
  11825. },
  11826. "remark": {
  11827. "description": "备注",
  11828. "type": "string"
  11829. },
  11830. "spotgoodsdesc": {
  11831. "description": "商品型号",
  11832. "type": "string"
  11833. },
  11834. "unitid": {
  11835. "description": "单位id",
  11836. "type": "integer"
  11837. },
  11838. "updatetime": {
  11839. "description": "更新时间",
  11840. "type": "string"
  11841. },
  11842. "wrstandardid": {
  11843. "description": "现货商品ID",
  11844. "type": "integer"
  11845. },
  11846. "wrstandardname": {
  11847. "description": "现货商品名称",
  11848. "type": "string"
  11849. }
  11850. }
  11851. },
  11852. "models.ErmcpHedgePosition": {
  11853. "type": "object",
  11854. "properties": {
  11855. "accountid": {
  11856. "description": "资金账号[外部母账户]",
  11857. "type": "integer"
  11858. },
  11859. "curbuyposition": {
  11860. "description": "期末买头寸",
  11861. "type": "integer"
  11862. },
  11863. "cursellposition": {
  11864. "description": "期末卖头寸",
  11865. "type": "integer"
  11866. },
  11867. "curtdbuyposition": {
  11868. "description": "期末今日买头寸",
  11869. "type": "integer"
  11870. },
  11871. "curtdsellposition": {
  11872. "description": "期末今日卖头寸",
  11873. "type": "integer"
  11874. },
  11875. "curydbuyposition": {
  11876. "description": "期末上日买头寸",
  11877. "type": "integer"
  11878. },
  11879. "curydsellposition": {
  11880. "description": "期末上日卖头寸",
  11881. "type": "integer"
  11882. },
  11883. "decreaseqty": {
  11884. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11885. "type": "integer"
  11886. },
  11887. "fretdbuyposition": {
  11888. "description": "冻结今日买头寸",
  11889. "type": "integer"
  11890. },
  11891. "fretdsellposition": {
  11892. "description": "冻结今日卖头寸",
  11893. "type": "integer"
  11894. },
  11895. "freydbuyposition": {
  11896. "description": "冻结上日买头寸",
  11897. "type": "integer"
  11898. },
  11899. "freydsellposition": {
  11900. "description": "冻结上日卖头寸",
  11901. "type": "integer"
  11902. },
  11903. "goodscode": {
  11904. "description": "商品代码",
  11905. "type": "string"
  11906. },
  11907. "goodsid": {
  11908. "description": "商品id",
  11909. "type": "integer"
  11910. },
  11911. "goodsname": {
  11912. "description": "商品名称",
  11913. "type": "string"
  11914. },
  11915. "hedgeaccountcode": {
  11916. "description": "对冲账号",
  11917. "type": "string"
  11918. },
  11919. "hedgegoodsid": {
  11920. "description": "对冲合约ID",
  11921. "type": "integer"
  11922. },
  11923. "increaseqty": {
  11924. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11925. "type": "integer"
  11926. },
  11927. "marketid": {
  11928. "description": "市场ID",
  11929. "type": "integer"
  11930. },
  11931. "relateduserid": {
  11932. "description": "关联用户id",
  11933. "type": "integer"
  11934. },
  11935. "totalcurqty": {
  11936. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11937. "type": "integer"
  11938. },
  11939. "totalydqty": {
  11940. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11941. "type": "integer"
  11942. },
  11943. "tradedate": {
  11944. "description": "交易日(yyyyMMdd)",
  11945. "type": "string"
  11946. },
  11947. "ydbuyposition": {
  11948. "description": "期初买头寸",
  11949. "type": "integer"
  11950. },
  11951. "ydsellposition": {
  11952. "description": "期初卖头寸",
  11953. "type": "integer"
  11954. }
  11955. }
  11956. },
  11957. "models.ErmcpHedgePositionDetail": {
  11958. "type": "object",
  11959. "properties": {
  11960. "buyorsell": {
  11961. "description": "买卖方向 0-买 1-卖",
  11962. "type": "integer"
  11963. },
  11964. "channelbuildtype": {
  11965. "description": "开平方向 1-建仓 2-平仓",
  11966. "type": "integer"
  11967. },
  11968. "goodscode": {
  11969. "description": "商品代码",
  11970. "type": "string"
  11971. },
  11972. "goodsname": {
  11973. "description": "商品名称",
  11974. "type": "string"
  11975. },
  11976. "hedgegoodsid": {
  11977. "description": "商品id",
  11978. "type": "integer"
  11979. },
  11980. "tradeqty": {
  11981. "description": "数量(成交数量)",
  11982. "type": "integer"
  11983. },
  11984. "tradetime": {
  11985. "description": "时间(成交时间)",
  11986. "type": "string"
  11987. }
  11988. }
  11989. },
  11990. "models.ErmcpHisExposure": {
  11991. "type": "object",
  11992. "properties": {
  11993. "needhedgeexposoure": {
  11994. "description": "应套保敞口",
  11995. "type": "number"
  11996. },
  11997. "reckondate": {
  11998. "description": "日照时期(yyyyMMdd)",
  11999. "type": "string"
  12000. },
  12001. "totalexposure": {
  12002. "description": "总敞口",
  12003. "type": "number"
  12004. }
  12005. }
  12006. },
  12007. "models.ErmcpHisExposureS": {
  12008. "type": "object",
  12009. "properties": {
  12010. "data": {
  12011. "description": "历史敞口",
  12012. "type": "array",
  12013. "items": {
  12014. "$ref": "#/definitions/models.ErmcpHisExposure"
  12015. }
  12016. },
  12017. "enumdicname": {
  12018. "description": "单位名称",
  12019. "type": "string"
  12020. },
  12021. "middlegoodscode": {
  12022. "description": "套保品种代码",
  12023. "type": "string"
  12024. },
  12025. "middlegoodsid": {
  12026. "description": "套保品种ID",
  12027. "type": "integer"
  12028. },
  12029. "middlegoodsname": {
  12030. "description": "套保品种名称",
  12031. "type": "string"
  12032. }
  12033. }
  12034. },
  12035. "models.ErmcpMiddleGoodsChangeLog": {
  12036. "type": "object",
  12037. "properties": {
  12038. "aftervalue": {
  12039. "description": "变更后",
  12040. "type": "number"
  12041. },
  12042. "applyid": {
  12043. "description": "操作人",
  12044. "type": "integer"
  12045. },
  12046. "applyname": {
  12047. "description": "操作人名称",
  12048. "type": "string"
  12049. },
  12050. "applysrc": {
  12051. "description": "操作来源 - 1:管理端 2:终端",
  12052. "type": "integer"
  12053. },
  12054. "beforevalue": {
  12055. "description": "变更前",
  12056. "type": "number"
  12057. },
  12058. "changelogtype": {
  12059. "description": "变更流水类型 - 1:套保比率变更",
  12060. "type": "integer"
  12061. },
  12062. "handlestatus": {
  12063. "description": "处理状态",
  12064. "type": "integer"
  12065. },
  12066. "logdatetime": {
  12067. "description": "流水日期",
  12068. "type": "string"
  12069. },
  12070. "logid": {
  12071. "description": "流水ID",
  12072. "type": "integer"
  12073. },
  12074. "logremark": {
  12075. "description": "流水备注",
  12076. "type": "string"
  12077. },
  12078. "middlegoodsid": {
  12079. "description": "套保品种ID",
  12080. "type": "integer"
  12081. },
  12082. "tradedate": {
  12083. "description": "交易日(yyyyMMdd)",
  12084. "type": "string"
  12085. },
  12086. "updatetime": {
  12087. "description": "更新时间",
  12088. "type": "string"
  12089. }
  12090. }
  12091. },
  12092. "models.ErmcpMiddleGoodsDetail": {
  12093. "type": "object",
  12094. "properties": {
  12095. "cvList": {
  12096. "description": "期货品种折算列表",
  12097. "type": "array",
  12098. "items": {
  12099. "$ref": "#/definitions/models.GoodsGroupConvert"
  12100. }
  12101. },
  12102. "mg": {
  12103. "description": "套保品种基本信息",
  12104. "type": "object",
  12105. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12106. }
  12107. }
  12108. },
  12109. "models.ErmcpMiddleGoodsModel": {
  12110. "type": "object",
  12111. "properties": {
  12112. "areauserid": {
  12113. "description": "机构用户ID",
  12114. "type": "integer"
  12115. },
  12116. "createtime": {
  12117. "description": "修改时间",
  12118. "type": "string"
  12119. },
  12120. "enumdicname": {
  12121. "description": "单位名称",
  12122. "type": "string"
  12123. },
  12124. "evaluateratio": {
  12125. "description": "估价系数",
  12126. "type": "number"
  12127. },
  12128. "goodsgroupid": {
  12129. "description": "关联期货品种ID",
  12130. "type": "integer"
  12131. },
  12132. "isvalid": {
  12133. "description": "状态 0-无效(停用) 1-有效(正常)",
  12134. "type": "integer"
  12135. },
  12136. "middlegoodscode": {
  12137. "description": "套保品种代码",
  12138. "type": "string"
  12139. },
  12140. "middlegoodsid": {
  12141. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12142. "type": "integer"
  12143. },
  12144. "middlegoodsname": {
  12145. "description": "套保品种名称",
  12146. "type": "string"
  12147. },
  12148. "modifytime": {
  12149. "description": "修改时间",
  12150. "type": "string"
  12151. },
  12152. "needhedgeratio": {
  12153. "description": "套保比率",
  12154. "type": "number"
  12155. },
  12156. "qtydecimalplace": {
  12157. "description": "数量小数位",
  12158. "type": "integer"
  12159. },
  12160. "relatedgoodsid": {
  12161. "description": "关联交易商品ID",
  12162. "type": "integer"
  12163. },
  12164. "relatedgoodstype": {
  12165. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12166. "type": "integer"
  12167. },
  12168. "remark": {
  12169. "description": "备注",
  12170. "type": "string"
  12171. }
  12172. }
  12173. },
  12174. "models.ErmcpModel": {
  12175. "type": "object",
  12176. "properties": {
  12177. "accountname": {
  12178. "description": "账户名称",
  12179. "type": "string"
  12180. },
  12181. "attachment": {
  12182. "description": "附件",
  12183. "type": "string"
  12184. },
  12185. "audittime": {
  12186. "description": "审核时间",
  12187. "type": "string"
  12188. },
  12189. "brandname": {
  12190. "description": "品牌名称",
  12191. "type": "string"
  12192. },
  12193. "contracctstatus": {
  12194. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12195. "type": "integer"
  12196. },
  12197. "contractmargin": {
  12198. "description": "合同保证金",
  12199. "type": "number"
  12200. },
  12201. "contractno": {
  12202. "description": "合同编号",
  12203. "type": "string"
  12204. },
  12205. "contracttype": {
  12206. "description": "合同类型 1-采购, -1-销售",
  12207. "type": "integer"
  12208. },
  12209. "convertfactor": {
  12210. "description": "标仓系数",
  12211. "type": "number"
  12212. },
  12213. "createtime": {
  12214. "description": "创建时间",
  12215. "type": "string"
  12216. },
  12217. "daikaiamount": {
  12218. "description": "应收(开)票额",
  12219. "type": "number"
  12220. },
  12221. "deliveryenddate": {
  12222. "description": "交割结束日",
  12223. "type": "string"
  12224. },
  12225. "deliverygoodscode": {
  12226. "description": "现货品种代码",
  12227. "type": "string"
  12228. },
  12229. "deliverygoodsid": {
  12230. "description": "现货商品ID",
  12231. "type": "integer"
  12232. },
  12233. "deliverygoodsname": {
  12234. "description": "现货品种名称",
  12235. "type": "string"
  12236. },
  12237. "deliverystartdate": {
  12238. "description": "交割开始日",
  12239. "type": "string"
  12240. },
  12241. "enddate": {
  12242. "description": "点价结束日",
  12243. "type": "string"
  12244. },
  12245. "enumdicname": {
  12246. "description": "单位名称",
  12247. "type": "string"
  12248. },
  12249. "goodscode": {
  12250. "description": "点价商品代码",
  12251. "type": "string"
  12252. },
  12253. "goodsid": {
  12254. "description": "点价商品ID",
  12255. "type": "integer"
  12256. },
  12257. "goodsname": {
  12258. "description": "点价商品名称",
  12259. "type": "string"
  12260. },
  12261. "invoiceamount": {
  12262. "description": "已开票额",
  12263. "type": "number"
  12264. },
  12265. "loanamount": {
  12266. "description": "贷款总额=已定价额+调整金额",
  12267. "type": "number"
  12268. },
  12269. "margin": {
  12270. "description": "保证金",
  12271. "type": "number"
  12272. },
  12273. "modelname": {
  12274. "description": "型号名称",
  12275. "type": "string"
  12276. },
  12277. "payamount": {
  12278. "description": "已收付额(收款或付款)",
  12279. "type": "number"
  12280. },
  12281. "preinvoiceamount": {
  12282. "description": "预收(开)票额",
  12283. "type": "number"
  12284. },
  12285. "prepayamount": {
  12286. "description": "预收付额",
  12287. "type": "number"
  12288. },
  12289. "price": {
  12290. "description": "价格",
  12291. "type": "number"
  12292. },
  12293. "pricedamount": {
  12294. "description": "已定价额",
  12295. "type": "number"
  12296. },
  12297. "pricedavg": {
  12298. "description": "已点均价",
  12299. "type": "number"
  12300. },
  12301. "pricedqty": {
  12302. "description": "已定价量",
  12303. "type": "number"
  12304. },
  12305. "pricemove": {
  12306. "description": "升贴水",
  12307. "type": "number"
  12308. },
  12309. "pricetype": {
  12310. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12311. "type": "integer"
  12312. },
  12313. "producttype": {
  12314. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12315. "type": "integer"
  12316. },
  12317. "qty": {
  12318. "description": "合同量",
  12319. "type": "number"
  12320. },
  12321. "reckonadjustamount": {
  12322. "description": "调整金额",
  12323. "type": "number"
  12324. },
  12325. "reckonedamount": {
  12326. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  12327. "type": "number"
  12328. },
  12329. "reckonotheramount": {
  12330. "description": "其它费用",
  12331. "type": "number"
  12332. },
  12333. "reckonrealqty": {
  12334. "description": "已确定量",
  12335. "type": "number"
  12336. },
  12337. "remark": {
  12338. "description": "备注",
  12339. "type": "string"
  12340. },
  12341. "spotcontractid": {
  12342. "description": "合同ID",
  12343. "type": "string"
  12344. },
  12345. "spotgoodsbrandid": {
  12346. "description": "现货品牌ID",
  12347. "type": "integer"
  12348. },
  12349. "spotgoodsdesc": {
  12350. "description": "商品型号(商品规格)",
  12351. "type": "string"
  12352. },
  12353. "spotgoodsmodelid": {
  12354. "description": "现货型号ID",
  12355. "type": "integer"
  12356. },
  12357. "startdate": {
  12358. "description": "点价开始日",
  12359. "type": "string"
  12360. },
  12361. "totalamount": {
  12362. "description": "合计总额",
  12363. "type": "number"
  12364. },
  12365. "unpayamount": {
  12366. "description": "应收付款额(应支付或应收款)",
  12367. "type": "number"
  12368. },
  12369. "unpricedqty": {
  12370. "description": "未定价量",
  12371. "type": "number"
  12372. },
  12373. "unsureqty": {
  12374. "description": "未确定量",
  12375. "type": "number"
  12376. },
  12377. "userid": {
  12378. "description": "用户ID",
  12379. "type": "integer"
  12380. },
  12381. "wrstandardcode": {
  12382. "description": "现货商品代码",
  12383. "type": "string"
  12384. },
  12385. "wrstandardid": {
  12386. "description": "现货商品ID",
  12387. "type": "integer"
  12388. },
  12389. "wrstandardname": {
  12390. "description": "现货商品名称",
  12391. "type": "string"
  12392. }
  12393. }
  12394. },
  12395. "models.ErmcpOPLogModel": {
  12396. "type": "object",
  12397. "properties": {
  12398. "aftervalue": {
  12399. "description": "变更后",
  12400. "type": "number"
  12401. },
  12402. "applyid": {
  12403. "description": "操作人ID",
  12404. "type": "string"
  12405. },
  12406. "applyname": {
  12407. "description": "操作人名称",
  12408. "type": "string"
  12409. },
  12410. "beforevalue": {
  12411. "description": "变更前",
  12412. "type": "number"
  12413. },
  12414. "biztype": {
  12415. "description": "业务类型 - 1:套保计划 2:现货合同",
  12416. "type": "integer"
  12417. },
  12418. "contracttype": {
  12419. "description": "现货合同类型 - 1:采购 -1:销售",
  12420. "type": "integer"
  12421. },
  12422. "logvalue": {
  12423. "description": "数值",
  12424. "type": "number"
  12425. },
  12426. "operatelogtype": {
  12427. "description": "操作流水类型",
  12428. "type": "integer"
  12429. },
  12430. "operatelogtypedesc": {
  12431. "description": "操作流水类型名称",
  12432. "type": "string"
  12433. },
  12434. "relatedid": {
  12435. "description": "现货合同ID\\套保计划",
  12436. "type": "string"
  12437. },
  12438. "updatetime": {
  12439. "description": "更新时间",
  12440. "type": "string"
  12441. }
  12442. }
  12443. },
  12444. "models.ErmcpPendingAudit": {
  12445. "type": "object",
  12446. "properties": {
  12447. "areastockqty": {
  12448. "description": "待审核数量: 库存申请",
  12449. "type": "integer"
  12450. },
  12451. "businessdjqty": {
  12452. "description": "待审核数量: 点价",
  12453. "type": "integer"
  12454. },
  12455. "businessfpqty": {
  12456. "description": "待审核数量: 发票",
  12457. "type": "integer"
  12458. },
  12459. "businessjsqty": {
  12460. "description": "待审核数量: 结算",
  12461. "type": "integer"
  12462. },
  12463. "businesskxqty": {
  12464. "description": "待审核数量: 款项",
  12465. "type": "integer"
  12466. },
  12467. "hedgeplanqty": {
  12468. "description": "待审核数量: 套保计划",
  12469. "type": "integer"
  12470. },
  12471. "spotcontractqty": {
  12472. "description": "待审核数量: 现货合同",
  12473. "type": "integer"
  12474. },
  12475. "userqty": {
  12476. "description": "待审核数量: 用户",
  12477. "type": "integer"
  12478. }
  12479. }
  12480. },
  12481. "models.ErmcpRealExposureModel": {
  12482. "type": "object",
  12483. "properties": {
  12484. "AreaUserID": {
  12485. "description": "所属机构",
  12486. "type": "integer"
  12487. },
  12488. "BuyFutureQty": {
  12489. "description": "买入期货数量",
  12490. "type": "number"
  12491. },
  12492. "BuyPlanQty": {
  12493. "description": "采购计划数量",
  12494. "type": "number"
  12495. },
  12496. "BuyPricedQty": {
  12497. "description": "采购合同已定价数量",
  12498. "type": "number"
  12499. },
  12500. "MiddleGoodsCode": {
  12501. "description": "套保品种代码",
  12502. "type": "string"
  12503. },
  12504. "MiddleGoodsHedgeRatio": {
  12505. "description": "应套保比例",
  12506. "type": "number"
  12507. },
  12508. "MiddleGoodsID": {
  12509. "description": "套保品种",
  12510. "type": "integer"
  12511. },
  12512. "MiddleGoodsName": {
  12513. "description": "套保品种名称",
  12514. "type": "string"
  12515. },
  12516. "NeedHedgeExposoure": {
  12517. "description": "应套保敞口",
  12518. "type": "number"
  12519. },
  12520. "NeedHedgeRatio": {
  12521. "description": "应套保敞口比例",
  12522. "type": "number"
  12523. },
  12524. "OriBuyFutureQty": {
  12525. "description": "期初买入期货数量",
  12526. "type": "number"
  12527. },
  12528. "OriBuyPlanQty": {
  12529. "description": "期初采购计划数量",
  12530. "type": "number"
  12531. },
  12532. "OriBuyPricedQty": {
  12533. "description": "期初采购合同已定价数量",
  12534. "type": "number"
  12535. },
  12536. "OriSellFutureQty": {
  12537. "description": "期初卖出期货数量",
  12538. "type": "number"
  12539. },
  12540. "OriSellPlanQty": {
  12541. "description": "期初销售计划数量",
  12542. "type": "number"
  12543. },
  12544. "OriSellPricedQty": {
  12545. "description": "期初销售合同已定价数量",
  12546. "type": "number"
  12547. },
  12548. "SellFutureQty": {
  12549. "description": "卖出期货数量",
  12550. "type": "number"
  12551. },
  12552. "SellPlanQty": {
  12553. "description": "销售计划数量",
  12554. "type": "number"
  12555. },
  12556. "SellPricedQty": {
  12557. "description": "销售合同已定价数量",
  12558. "type": "number"
  12559. },
  12560. "TotalExposure": {
  12561. "description": "总敞口",
  12562. "type": "number"
  12563. },
  12564. "TotalFutureQty": {
  12565. "description": "期货数量",
  12566. "type": "number"
  12567. },
  12568. "TotalHedgeRatio": {
  12569. "description": "敞口比例",
  12570. "type": "number"
  12571. },
  12572. "TotalNeedHedgeQty": {
  12573. "description": "期货应套保量",
  12574. "type": "number"
  12575. },
  12576. "TotalSpotQty": {
  12577. "description": "现货数量",
  12578. "type": "number"
  12579. },
  12580. "diffFutuQty": {
  12581. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12582. "type": "number"
  12583. },
  12584. "diffSpotQty": {
  12585. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12586. "type": "number"
  12587. },
  12588. "enumdicname": {
  12589. "description": "单位名称",
  12590. "type": "string"
  12591. },
  12592. "oriTotalFutuQty": {
  12593. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12594. "type": "number"
  12595. },
  12596. "oriTotalSpotQty": {
  12597. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12598. "type": "number"
  12599. }
  12600. }
  12601. },
  12602. "models.ErmcpReportDayExposure": {
  12603. "type": "object",
  12604. "properties": {
  12605. "areauserid": {
  12606. "description": "所属机构",
  12607. "type": "integer"
  12608. },
  12609. "buyfutureqty": {
  12610. "description": "买入期货数量",
  12611. "type": "number"
  12612. },
  12613. "buyplanqty": {
  12614. "description": "采购计划数量",
  12615. "type": "number"
  12616. },
  12617. "buypricedqty": {
  12618. "description": "采购合同已定价数量",
  12619. "type": "number"
  12620. },
  12621. "diffFutuQty": {
  12622. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12623. "type": "number"
  12624. },
  12625. "diffSpotQty": {
  12626. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12627. "type": "number"
  12628. },
  12629. "enumdicname": {
  12630. "description": "单位名称",
  12631. "type": "string"
  12632. },
  12633. "middlegoodscode": {
  12634. "description": "套保品种代码",
  12635. "type": "string"
  12636. },
  12637. "middlegoodshedgeratio": {
  12638. "description": "应套保比例",
  12639. "type": "number"
  12640. },
  12641. "middlegoodsid": {
  12642. "description": "套保品种ID",
  12643. "type": "integer"
  12644. },
  12645. "middlegoodsname": {
  12646. "description": "套保品种名称",
  12647. "type": "string"
  12648. },
  12649. "needhedgeexposoure": {
  12650. "description": "应套保敞口",
  12651. "type": "number"
  12652. },
  12653. "needhedgeratio": {
  12654. "description": "应套保敞口比例",
  12655. "type": "number"
  12656. },
  12657. "oriTotalFutuQty": {
  12658. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12659. "type": "number"
  12660. },
  12661. "oriTotalSpotQty": {
  12662. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12663. "type": "number"
  12664. },
  12665. "oribuyfutureqty": {
  12666. "description": "期初买入期货数量",
  12667. "type": "number"
  12668. },
  12669. "oribuyplanqty": {
  12670. "description": "期初采购计划数量",
  12671. "type": "number"
  12672. },
  12673. "oribuypricedqty": {
  12674. "description": "期初采购合同已定价数量",
  12675. "type": "number"
  12676. },
  12677. "orisellfutureqty": {
  12678. "description": "期初卖出期货数量",
  12679. "type": "number"
  12680. },
  12681. "orisellplanqty": {
  12682. "description": "期初销售计划数量",
  12683. "type": "number"
  12684. },
  12685. "orisellpricedqty": {
  12686. "description": "期初销售合同已定价数量",
  12687. "type": "number"
  12688. },
  12689. "reckondate": {
  12690. "description": "日照时期(yyyyMMdd)",
  12691. "type": "string"
  12692. },
  12693. "sellfutureqty": {
  12694. "description": "卖出期货数量",
  12695. "type": "number"
  12696. },
  12697. "sellplanqty": {
  12698. "description": "销售计划数量",
  12699. "type": "number"
  12700. },
  12701. "sellpricedqty": {
  12702. "description": "销售合同已定价数量",
  12703. "type": "number"
  12704. },
  12705. "totalexposure": {
  12706. "description": "总敞口",
  12707. "type": "number"
  12708. },
  12709. "totalfutureqty": {
  12710. "description": "期货数量",
  12711. "type": "number"
  12712. },
  12713. "totalhedgeratio": {
  12714. "description": "敞口比例",
  12715. "type": "number"
  12716. },
  12717. "totalneedhedgeqty": {
  12718. "description": "期货应套保量",
  12719. "type": "number"
  12720. },
  12721. "totalspotqty": {
  12722. "description": "现货数量",
  12723. "type": "number"
  12724. }
  12725. }
  12726. },
  12727. "models.ErmcpReportDayFR": {
  12728. "type": "object",
  12729. "properties": {
  12730. "areauserid": {
  12731. "description": "所属机构",
  12732. "type": "integer"
  12733. },
  12734. "collectinvoiceamount": {
  12735. "description": "今日开票金额",
  12736. "type": "number"
  12737. },
  12738. "collectinvoicecount": {
  12739. "description": "今日开票笔数",
  12740. "type": "integer"
  12741. },
  12742. "collectmoneyamount": {
  12743. "description": "今日收款金额",
  12744. "type": "number"
  12745. },
  12746. "collectmoneycount": {
  12747. "description": "今日收款笔数",
  12748. "type": "integer"
  12749. },
  12750. "payinvoiceamount": {
  12751. "description": "今日收票金额",
  12752. "type": "number"
  12753. },
  12754. "payinvoicecount": {
  12755. "description": "今日收票笔数",
  12756. "type": "integer"
  12757. },
  12758. "paymoneyamount": {
  12759. "description": "今日付款金额",
  12760. "type": "number"
  12761. },
  12762. "paymoneycount": {
  12763. "description": "今日付款笔数",
  12764. "type": "integer"
  12765. },
  12766. "reckondate": {
  12767. "description": "日照时期(yyyyMMdd)",
  12768. "type": "string"
  12769. },
  12770. "updatetime": {
  12771. "description": "更新时间",
  12772. "type": "string"
  12773. }
  12774. }
  12775. },
  12776. "models.ErmcpReportDaySpot": {
  12777. "type": "object",
  12778. "properties": {
  12779. "areauserid": {
  12780. "description": "所属机构T",
  12781. "type": "integer"
  12782. },
  12783. "buyinqty": {
  12784. "description": "采购入库量",
  12785. "type": "number"
  12786. },
  12787. "enumdicname": {
  12788. "description": "现货商品单位名称",
  12789. "type": "string"
  12790. },
  12791. "reckondate": {
  12792. "description": "日照时期(yyyyMMdd)",
  12793. "type": "string"
  12794. },
  12795. "selloutqty": {
  12796. "description": "销售出库量",
  12797. "type": "number"
  12798. },
  12799. "todaybuyreckonqty": {
  12800. "description": "采购确定量",
  12801. "type": "number"
  12802. },
  12803. "todaysellreckonqty": {
  12804. "description": "销售确定量",
  12805. "type": "number"
  12806. },
  12807. "totalbuypricedqty": {
  12808. "description": "采购定价量 = 期末 - 期初",
  12809. "type": "number"
  12810. },
  12811. "totalsellpricedqty": {
  12812. "description": "销售定价量 = 期末 - 期初",
  12813. "type": "number"
  12814. },
  12815. "wrstandardcode": {
  12816. "description": "现货商品代码",
  12817. "type": "string"
  12818. },
  12819. "wrstandardid": {
  12820. "description": "现货商品ID",
  12821. "type": "integer"
  12822. },
  12823. "wrstandardname": {
  12824. "description": "现货商品名称",
  12825. "type": "string"
  12826. }
  12827. }
  12828. },
  12829. "models.ErmcpReportMonSpot": {
  12830. "type": "object",
  12831. "properties": {
  12832. "areauserid": {
  12833. "description": "所属机构T",
  12834. "type": "integer"
  12835. },
  12836. "buyinqty": {
  12837. "description": "采购入库量",
  12838. "type": "number"
  12839. },
  12840. "cycletime": {
  12841. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12842. "type": "string"
  12843. },
  12844. "cycletype": {
  12845. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12846. "type": "integer"
  12847. },
  12848. "enumdicname": {
  12849. "description": "现货商品单位名称",
  12850. "type": "string"
  12851. },
  12852. "selloutqty": {
  12853. "description": "销售出库量",
  12854. "type": "number"
  12855. },
  12856. "todaybuyreckonqty": {
  12857. "description": "采购确定量",
  12858. "type": "number"
  12859. },
  12860. "todaysellreckonqty": {
  12861. "description": "销售确定量",
  12862. "type": "number"
  12863. },
  12864. "totalbuypricedqty": {
  12865. "description": "采购定价量 = 期末 - 期初",
  12866. "type": "number"
  12867. },
  12868. "totalsellpricedqty": {
  12869. "description": "销售定价量 = 期末 - 期初",
  12870. "type": "number"
  12871. },
  12872. "wrstandardcode": {
  12873. "description": "现货商品代码",
  12874. "type": "string"
  12875. },
  12876. "wrstandardid": {
  12877. "description": "现货商品ID",
  12878. "type": "integer"
  12879. },
  12880. "wrstandardname": {
  12881. "description": "现货商品名称",
  12882. "type": "string"
  12883. }
  12884. }
  12885. },
  12886. "models.ErmcpReportMonthFR": {
  12887. "type": "object",
  12888. "properties": {
  12889. "areauserid": {
  12890. "description": "所属机构【原值】",
  12891. "type": "integer"
  12892. },
  12893. "collectinvoiceamount": {
  12894. "description": "今日开票金额【汇总】",
  12895. "type": "number"
  12896. },
  12897. "collectinvoicecount": {
  12898. "description": "今日开票笔数【汇总】",
  12899. "type": "integer"
  12900. },
  12901. "collectmoneyamount": {
  12902. "description": "今日收款金额【汇总】",
  12903. "type": "number"
  12904. },
  12905. "collectmoneycount": {
  12906. "description": "今日收款笔数 【汇总】",
  12907. "type": "integer"
  12908. },
  12909. "cycletime": {
  12910. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12911. "type": "string"
  12912. },
  12913. "cycletype": {
  12914. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12915. "type": "integer"
  12916. },
  12917. "dayFr": {
  12918. "description": "日报表明细",
  12919. "type": "array",
  12920. "items": {
  12921. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12922. }
  12923. },
  12924. "payinvoiceamount": {
  12925. "description": "今日收票金额【汇总】",
  12926. "type": "number"
  12927. },
  12928. "payinvoicecount": {
  12929. "description": "今日收票笔数【汇总】",
  12930. "type": "integer"
  12931. },
  12932. "paymoneyamount": {
  12933. "description": "今日付款金额【汇总】",
  12934. "type": "number"
  12935. },
  12936. "paymoneycount": {
  12937. "description": "今日付款笔数【汇总】",
  12938. "type": "integer"
  12939. },
  12940. "updatetime": {
  12941. "description": "更新时间",
  12942. "type": "string"
  12943. }
  12944. }
  12945. },
  12946. "models.ErmcpReportOPLog": {
  12947. "type": "object",
  12948. "properties": {
  12949. "applyid": {
  12950. "description": "操作人",
  12951. "type": "integer"
  12952. },
  12953. "applyname": {
  12954. "description": "操作人名称",
  12955. "type": "string"
  12956. },
  12957. "biztype": {
  12958. "description": "业务类型 - 1:套保计划 2:现货合同",
  12959. "type": "integer"
  12960. },
  12961. "brandname": {
  12962. "description": "品牌名称",
  12963. "type": "string"
  12964. },
  12965. "contracttype": {
  12966. "description": "现货合同类型 - 1:采购 -1:销售",
  12967. "type": "integer"
  12968. },
  12969. "enumdicName": {
  12970. "description": "单位名称",
  12971. "type": "string"
  12972. },
  12973. "logdatetime": {
  12974. "description": "流水日期(时间)",
  12975. "type": "string"
  12976. },
  12977. "logid": {
  12978. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12979. "type": "string"
  12980. },
  12981. "logtypename": {
  12982. "description": "合同类型(名称)",
  12983. "type": "string"
  12984. },
  12985. "logvalue": {
  12986. "description": "数值",
  12987. "type": "string"
  12988. },
  12989. "modelname": {
  12990. "description": "型号名称",
  12991. "type": "string"
  12992. },
  12993. "operatelogtype": {
  12994. "description": "操作流水类型 -",
  12995. "type": "integer"
  12996. },
  12997. "optypename": {
  12998. "description": "流水类型名称",
  12999. "type": "string"
  13000. },
  13001. "relatedid": {
  13002. "description": "现货合同ID\\套保计划",
  13003. "type": "string"
  13004. },
  13005. "relatedno": {
  13006. "description": "合同编号",
  13007. "type": "string"
  13008. },
  13009. "tradedate": {
  13010. "description": "交易日(yyyyMMdd)",
  13011. "type": "string"
  13012. },
  13013. "userid": {
  13014. "description": "机构ID",
  13015. "type": "integer"
  13016. },
  13017. "wrstandardcode": {
  13018. "description": "现货商品代码",
  13019. "type": "string"
  13020. },
  13021. "wrstandardid": {
  13022. "description": "现货商品ID",
  13023. "type": "integer"
  13024. },
  13025. "wrstandardname": {
  13026. "description": "现货商品名称",
  13027. "type": "string"
  13028. }
  13029. }
  13030. },
  13031. "models.ErmcpSpotContractModel": {
  13032. "type": "object",
  13033. "properties": {
  13034. "amount": {
  13035. "description": "金额 [1:一口价、3:暂定价]",
  13036. "type": "number"
  13037. },
  13038. "attachment": {
  13039. "description": "附件",
  13040. "type": "string"
  13041. },
  13042. "auditremark": {
  13043. "description": "审核意见",
  13044. "type": "string"
  13045. },
  13046. "audittime": {
  13047. "description": "审核时间",
  13048. "type": "string"
  13049. },
  13050. "brandname": {
  13051. "description": "品牌名称",
  13052. "type": "string"
  13053. },
  13054. "buyuserid": {
  13055. "description": "采购方ID",
  13056. "type": "integer"
  13057. },
  13058. "buyusername": {
  13059. "description": "采购方名称",
  13060. "type": "string"
  13061. },
  13062. "contracctstatus": {
  13063. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13064. "type": "integer"
  13065. },
  13066. "contractmargin": {
  13067. "description": "合同保证金",
  13068. "type": "number"
  13069. },
  13070. "contractno": {
  13071. "description": "现货合同编号",
  13072. "type": "string"
  13073. },
  13074. "contracttype": {
  13075. "description": "现货合同类型 - 1:采购 -1:销售",
  13076. "type": "integer"
  13077. },
  13078. "convertfactor": {
  13079. "description": "标仓系数",
  13080. "type": "number"
  13081. },
  13082. "createtime": {
  13083. "description": "创建时间",
  13084. "type": "string"
  13085. },
  13086. "deliveryenddate": {
  13087. "description": "交收期(结束)",
  13088. "type": "string"
  13089. },
  13090. "deliverygoodscode": {
  13091. "description": "现货品种代码",
  13092. "type": "string"
  13093. },
  13094. "deliverygoodsid": {
  13095. "description": "现货品种ID",
  13096. "type": "integer"
  13097. },
  13098. "deliverygoodsname": {
  13099. "description": "现货品种名称",
  13100. "type": "string"
  13101. },
  13102. "deliverystartdate": {
  13103. "description": "交收期(开始)",
  13104. "type": "string"
  13105. },
  13106. "enddate": {
  13107. "description": "点价结束日期 [2:点价 3:暂定价]",
  13108. "type": "string"
  13109. },
  13110. "enumdicname": {
  13111. "description": "单位名称",
  13112. "type": "string"
  13113. },
  13114. "goodscode": {
  13115. "description": "点价合约代码",
  13116. "type": "string"
  13117. },
  13118. "goodsid": {
  13119. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13120. "type": "integer"
  13121. },
  13122. "goodsname": {
  13123. "description": "点价商品名称",
  13124. "type": "string"
  13125. },
  13126. "margin": {
  13127. "description": "当前保证金",
  13128. "type": "number"
  13129. },
  13130. "modelname": {
  13131. "description": "型号名称",
  13132. "type": "string"
  13133. },
  13134. "price": {
  13135. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13136. "type": "number"
  13137. },
  13138. "pricemove": {
  13139. "description": "升贴水 [2:点价 3:暂定价]",
  13140. "type": "number"
  13141. },
  13142. "pricetype": {
  13143. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13144. "type": "integer"
  13145. },
  13146. "producttype": {
  13147. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13148. "type": "integer"
  13149. },
  13150. "qty": {
  13151. "description": "数量",
  13152. "type": "number"
  13153. },
  13154. "remark": {
  13155. "description": "备注",
  13156. "type": "string"
  13157. },
  13158. "selluserid": {
  13159. "description": "销售方ID",
  13160. "type": "integer"
  13161. },
  13162. "sellusername": {
  13163. "description": "销售方名称",
  13164. "type": "string"
  13165. },
  13166. "spotcontractid": {
  13167. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13168. "type": "string"
  13169. },
  13170. "spotgoodsbrandid": {
  13171. "description": "现货品牌ID",
  13172. "type": "integer"
  13173. },
  13174. "spotgoodsdesc": {
  13175. "description": "商品型号",
  13176. "type": "string"
  13177. },
  13178. "spotgoodsmodelid": {
  13179. "description": "现货型号ID",
  13180. "type": "integer"
  13181. },
  13182. "startdate": {
  13183. "description": "点价开始日期 [2:点价 3:暂定价]",
  13184. "type": "string"
  13185. },
  13186. "updatetime": {
  13187. "description": "更新时间",
  13188. "type": "string"
  13189. },
  13190. "userid": {
  13191. "description": "机构ID",
  13192. "type": "integer"
  13193. },
  13194. "wrstandardcode": {
  13195. "description": "现货商品代码",
  13196. "type": "string"
  13197. },
  13198. "wrstandardid": {
  13199. "description": "现货商品ID",
  13200. "type": "integer"
  13201. },
  13202. "wrstandardname": {
  13203. "description": "现货商品名称",
  13204. "type": "string"
  13205. }
  13206. }
  13207. },
  13208. "models.ErmcpUserModel": {
  13209. "type": "object",
  13210. "properties": {
  13211. "address": {
  13212. "description": "通讯地址",
  13213. "type": "string"
  13214. },
  13215. "attachment1": {
  13216. "description": "附件1",
  13217. "type": "string"
  13218. },
  13219. "audittime": {
  13220. "description": "审核时间",
  13221. "type": "string"
  13222. },
  13223. "cardfrontphotourl": {
  13224. "description": "证件正面图片地址",
  13225. "type": "string"
  13226. },
  13227. "cardnum": {
  13228. "description": "证件号码",
  13229. "type": "string"
  13230. },
  13231. "cardtype": {
  13232. "description": "证件类型",
  13233. "type": "integer"
  13234. },
  13235. "cardtypename": {
  13236. "description": "证件类型名称",
  13237. "type": "string"
  13238. },
  13239. "cityid": {
  13240. "description": "市",
  13241. "type": "integer"
  13242. },
  13243. "countryid": {
  13244. "description": "国家",
  13245. "type": "integer"
  13246. },
  13247. "createtime": {
  13248. "description": "创建时间",
  13249. "type": "string"
  13250. },
  13251. "customername": {
  13252. "description": "企业名称",
  13253. "type": "string"
  13254. },
  13255. "districtid": {
  13256. "description": "区域",
  13257. "type": "integer"
  13258. },
  13259. "memberuserid": {
  13260. "description": "所属机构ID",
  13261. "type": "integer"
  13262. },
  13263. "mobile": {
  13264. "description": "手机号码",
  13265. "type": "string"
  13266. },
  13267. "modifytime": {
  13268. "description": "修改时间",
  13269. "type": "string"
  13270. },
  13271. "provinceid": {
  13272. "description": "省",
  13273. "type": "integer"
  13274. },
  13275. "remark": {
  13276. "description": "备注",
  13277. "type": "string"
  13278. },
  13279. "status": {
  13280. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13281. "type": "integer"
  13282. },
  13283. "statusdesc": {
  13284. "description": "账户状态中文描述",
  13285. "type": "string"
  13286. },
  13287. "telphone": {
  13288. "description": "联系电话",
  13289. "type": "string"
  13290. },
  13291. "userid": {
  13292. "description": "用户ID",
  13293. "type": "integer"
  13294. },
  13295. "userinfotype": {
  13296. "description": "客户类型",
  13297. "type": "string"
  13298. }
  13299. }
  13300. },
  13301. "models.ErmcpWareHouseInfo": {
  13302. "type": "object",
  13303. "properties": {
  13304. "address": {
  13305. "description": "详细地址",
  13306. "type": "string"
  13307. },
  13308. "areauserid": {
  13309. "description": "所属机构",
  13310. "type": "integer"
  13311. },
  13312. "autoid": {
  13313. "description": "自增ID(仓库ID)",
  13314. "type": "integer"
  13315. },
  13316. "cityid": {
  13317. "description": "市",
  13318. "type": "integer"
  13319. },
  13320. "contactname": {
  13321. "description": "联系人",
  13322. "type": "string"
  13323. },
  13324. "contactnum": {
  13325. "description": "联系电话",
  13326. "type": "string"
  13327. },
  13328. "countryid": {
  13329. "description": "国家",
  13330. "type": "integer"
  13331. },
  13332. "createtime": {
  13333. "description": "创建时间",
  13334. "type": "string"
  13335. },
  13336. "districtid": {
  13337. "description": "区",
  13338. "type": "integer"
  13339. },
  13340. "hasvideo": {
  13341. "description": "是否有视频 - 0:无 1:有",
  13342. "type": "integer"
  13343. },
  13344. "provinceid": {
  13345. "description": "省",
  13346. "type": "integer"
  13347. },
  13348. "remark": {
  13349. "description": "审核备注",
  13350. "type": "string"
  13351. },
  13352. "videourl": {
  13353. "description": "视频地址",
  13354. "type": "string"
  13355. },
  13356. "warehousecode": {
  13357. "description": "仓库代码",
  13358. "type": "string"
  13359. },
  13360. "warehousename": {
  13361. "description": "仓库名称",
  13362. "type": "string"
  13363. },
  13364. "warehousestatus": {
  13365. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13366. "type": "integer"
  13367. },
  13368. "warehousetype": {
  13369. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13370. "type": "integer"
  13371. }
  13372. }
  13373. },
  13374. "models.ErmcpWrstandDetail": {
  13375. "type": "object",
  13376. "properties": {
  13377. "gbList": {
  13378. "description": "品牌列表",
  13379. "type": "array",
  13380. "items": {
  13381. "$ref": "#/definitions/models.GoodsBrand"
  13382. }
  13383. },
  13384. "goodsList": {
  13385. "description": "关联交易商品列表",
  13386. "type": "array",
  13387. "items": {
  13388. "$ref": "#/definitions/models.RelatedGoodsEx"
  13389. }
  13390. },
  13391. "gtList": {
  13392. "description": "型号列表",
  13393. "type": "array",
  13394. "items": {
  13395. "$ref": "#/definitions/models.GoodsTypeModel"
  13396. }
  13397. },
  13398. "wrd": {
  13399. "description": "基本信息",
  13400. "type": "object",
  13401. "$ref": "#/definitions/models.ErmcpWrstandard"
  13402. },
  13403. "wrsList": {
  13404. "description": "套保信息列表",
  13405. "type": "array",
  13406. "items": {
  13407. "$ref": "#/definitions/models.WRSConverTDetail"
  13408. }
  13409. }
  13410. }
  13411. },
  13412. "models.ErmcpWrstandard": {
  13413. "type": "object",
  13414. "properties": {
  13415. "areauserid": {
  13416. "description": "所属机构",
  13417. "type": "integer"
  13418. },
  13419. "createtime": {
  13420. "description": "创建时间",
  13421. "type": "string"
  13422. },
  13423. "creatorid": {
  13424. "description": "创建人",
  13425. "type": "integer"
  13426. },
  13427. "deliverygoodsid": {
  13428. "description": "品种ID",
  13429. "type": "integer"
  13430. },
  13431. "enumdicname": {
  13432. "description": "单位名称",
  13433. "type": "string"
  13434. },
  13435. "isvalid": {
  13436. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13437. "type": "integer"
  13438. },
  13439. "minivalue": {
  13440. "description": "最小变动值",
  13441. "type": "integer"
  13442. },
  13443. "minivaluedp": {
  13444. "description": "最小变动值小数位",
  13445. "type": "integer"
  13446. },
  13447. "realminivalue": {
  13448. "description": "实际最小变动值",
  13449. "type": "integer"
  13450. },
  13451. "realminivaluedp": {
  13452. "description": "实际最小变动值小数位",
  13453. "type": "integer"
  13454. },
  13455. "remark": {
  13456. "description": "备注",
  13457. "type": "string"
  13458. },
  13459. "unitid": {
  13460. "description": "单位ID",
  13461. "type": "integer"
  13462. },
  13463. "updatetime": {
  13464. "description": "更新时间",
  13465. "type": "string"
  13466. },
  13467. "wrstandardcode": {
  13468. "description": "现货商品代码",
  13469. "type": "string"
  13470. },
  13471. "wrstandardid": {
  13472. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13473. "type": "integer"
  13474. },
  13475. "wrstandardname": {
  13476. "description": "现货商品名称",
  13477. "type": "string"
  13478. }
  13479. }
  13480. },
  13481. "models.Externalexchange": {
  13482. "type": "object",
  13483. "required": [
  13484. "autoid"
  13485. ],
  13486. "properties": {
  13487. "autoid": {
  13488. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13489. "type": "integer"
  13490. },
  13491. "exchangefullname": {
  13492. "description": "外部交易所全称",
  13493. "type": "string"
  13494. },
  13495. "exexchangecode": {
  13496. "description": "外部交易所代码",
  13497. "type": "string"
  13498. },
  13499. "exexchangename": {
  13500. "description": "外部交易所名称(简称)",
  13501. "type": "string"
  13502. },
  13503. "ismarketprice": {
  13504. "description": "是否支持市价 - 0:不支持 1:支持",
  13505. "type": "integer"
  13506. },
  13507. "quotegear": {
  13508. "description": "行情档位(1-10)",
  13509. "type": "integer"
  13510. },
  13511. "showbrokerflag": {
  13512. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13513. "type": "integer"
  13514. },
  13515. "updatetime": {
  13516. "description": "更新时间",
  13517. "type": "string"
  13518. }
  13519. }
  13520. },
  13521. "models.Funcmenulist": {
  13522. "type": "object",
  13523. "required": [
  13524. "resourcecode"
  13525. ],
  13526. "properties": {
  13527. "iconame": {
  13528. "description": "菜单图标",
  13529. "type": "string"
  13530. },
  13531. "menutype": {
  13532. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13533. "type": "integer"
  13534. },
  13535. "parentcode": {
  13536. "description": "上级资源代码",
  13537. "type": "string"
  13538. },
  13539. "remark": {
  13540. "description": "备注",
  13541. "type": "string"
  13542. },
  13543. "resourcecode": {
  13544. "description": "资源代码",
  13545. "type": "string"
  13546. },
  13547. "resourcelevel": {
  13548. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13549. "type": "integer"
  13550. },
  13551. "resourcename": {
  13552. "description": "资源名",
  13553. "type": "string"
  13554. },
  13555. "sort": {
  13556. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13557. "type": "integer"
  13558. },
  13559. "url": {
  13560. "description": "URL",
  13561. "type": "string"
  13562. }
  13563. }
  13564. },
  13565. "models.Goods": {
  13566. "type": "object",
  13567. "required": [
  13568. "goodscode",
  13569. "goodsid",
  13570. "goodsname",
  13571. "marketid"
  13572. ],
  13573. "properties": {
  13574. "agreeunit": {
  13575. "description": "合约单位",
  13576. "type": "number"
  13577. },
  13578. "auditaccountid": {
  13579. "description": "审核操作员账号",
  13580. "type": "integer"
  13581. },
  13582. "audittime": {
  13583. "description": "审核时间",
  13584. "type": "string"
  13585. },
  13586. "cancelaccountid": {
  13587. "description": "注销操作员账号",
  13588. "type": "integer"
  13589. },
  13590. "canceltime": {
  13591. "description": "注销时间",
  13592. "type": "string"
  13593. },
  13594. "closepricemode": {
  13595. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13596. "type": "integer"
  13597. },
  13598. "closepriceparam": {
  13599. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13600. "type": "number"
  13601. },
  13602. "createtime": {
  13603. "description": "创建时间",
  13604. "type": "string"
  13605. },
  13606. "creatorid": {
  13607. "description": "创建人",
  13608. "type": "integer"
  13609. },
  13610. "currencyid": {
  13611. "description": "报价货币ID",
  13612. "type": "integer"
  13613. },
  13614. "cutmode": {
  13615. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13616. "type": "integer"
  13617. },
  13618. "decimalplace": {
  13619. "description": "报价小数位",
  13620. "type": "integer"
  13621. },
  13622. "delistingdate": {
  13623. "description": "商品退市时间(状态:退市) -- 已作废",
  13624. "type": "string"
  13625. },
  13626. "delistingmode": {
  13627. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13628. "type": "integer"
  13629. },
  13630. "deliveryflag": {
  13631. "description": "交割标志 - 0:不可交割 1:可交割",
  13632. "type": "integer"
  13633. },
  13634. "forceclosemode": {
  13635. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13636. "type": "integer"
  13637. },
  13638. "forceclosevalue": {
  13639. "description": "定期强平参数 [收益权]",
  13640. "type": "integer"
  13641. },
  13642. "goodscode": {
  13643. "description": "商品代码(内部)",
  13644. "type": "string"
  13645. },
  13646. "goodscurrencyid": {
  13647. "description": "合约货币ID",
  13648. "type": "integer"
  13649. },
  13650. "goodsgroupid": {
  13651. "description": "所属商品组ID",
  13652. "type": "integer"
  13653. },
  13654. "goodsid": {
  13655. "description": "商品ID(自增ID SEQ_GOODS)",
  13656. "type": "integer"
  13657. },
  13658. "goodsname": {
  13659. "description": "商品名称",
  13660. "type": "string"
  13661. },
  13662. "goodsquotetype": {
  13663. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13664. "type": "integer"
  13665. },
  13666. "goodsstatus": {
  13667. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13668. "type": "integer"
  13669. },
  13670. "goodstradetype": {
  13671. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13672. "type": "integer"
  13673. },
  13674. "goodunitid": {
  13675. "description": "报价单位ID",
  13676. "type": "integer"
  13677. },
  13678. "hasquoter": {
  13679. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13680. "type": "integer"
  13681. },
  13682. "hqprotecttime": {
  13683. "description": "行情保护时间(秒)",
  13684. "type": "integer"
  13685. },
  13686. "innerdealmode": {
  13687. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13688. "type": "integer"
  13689. },
  13690. "isbuylimited": {
  13691. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13692. "type": "integer"
  13693. },
  13694. "lasttradedate": {
  13695. "description": "最后交易日期(状态:待退市)",
  13696. "type": "string"
  13697. },
  13698. "listingdate": {
  13699. "description": "交易开始日期",
  13700. "type": "string"
  13701. },
  13702. "marketid": {
  13703. "description": "所属市场ID",
  13704. "type": "integer"
  13705. },
  13706. "modifierid": {
  13707. "description": "修改人",
  13708. "type": "integer"
  13709. },
  13710. "modifystatus": {
  13711. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13712. "type": "integer"
  13713. },
  13714. "modifytime": {
  13715. "description": "修改时间",
  13716. "type": "string"
  13717. },
  13718. "outerdealmode": {
  13719. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13720. "type": "integer"
  13721. },
  13722. "outgoodscode": {
  13723. "description": "商品代码(外部)",
  13724. "type": "string"
  13725. },
  13726. "qtydecimalplace": {
  13727. "description": "成交量小数位",
  13728. "type": "integer"
  13729. },
  13730. "quotegear": {
  13731. "description": "行情档位(1-10)",
  13732. "type": "integer"
  13733. },
  13734. "quoteminunit": {
  13735. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13736. "type": "integer"
  13737. },
  13738. "quoteshowtype": {
  13739. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13740. "type": "integer"
  13741. },
  13742. "quoteshowtypeinterval": {
  13743. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13744. "type": "integer"
  13745. },
  13746. "remark": {
  13747. "description": "备注",
  13748. "type": "string"
  13749. }
  13750. }
  13751. },
  13752. "models.GoodsBrand": {
  13753. "type": "object",
  13754. "properties": {
  13755. "brandid": {
  13756. "description": "品牌ID",
  13757. "type": "integer"
  13758. },
  13759. "brandname": {
  13760. "description": "品牌名称",
  13761. "type": "string"
  13762. },
  13763. "isvalid": {
  13764. "description": "是否有效 - 0:无效 1:有效",
  13765. "type": "integer"
  13766. }
  13767. }
  13768. },
  13769. "models.GoodsGroupConvert": {
  13770. "type": "object",
  13771. "properties": {
  13772. "convertratio": {
  13773. "description": "折算系数",
  13774. "type": "number"
  13775. },
  13776. "dstgoodsgroupid": {
  13777. "description": "目标期货品种ID",
  13778. "type": "integer"
  13779. },
  13780. "goodsgroupname": {
  13781. "description": "期货品种名称",
  13782. "type": "string"
  13783. },
  13784. "outergroupcode": {
  13785. "description": "期货品种代码",
  13786. "type": "string"
  13787. },
  13788. "srcgoodsgroupid": {
  13789. "description": "源期货品种ID",
  13790. "type": "integer"
  13791. }
  13792. }
  13793. },
  13794. "models.GoodsIDAndName": {
  13795. "type": "object",
  13796. "required": [
  13797. "goodscode",
  13798. "goodsid",
  13799. "goodsname",
  13800. "marketid"
  13801. ],
  13802. "properties": {
  13803. "goodscode": {
  13804. "description": "商品代码(内部)",
  13805. "type": "string"
  13806. },
  13807. "goodsid": {
  13808. "description": "商品ID(自增ID SEQ_GOODS)",
  13809. "type": "integer"
  13810. },
  13811. "goodsname": {
  13812. "description": "商品名称",
  13813. "type": "string"
  13814. },
  13815. "marketid": {
  13816. "description": "所属市场ID",
  13817. "type": "integer"
  13818. }
  13819. }
  13820. },
  13821. "models.GoodsTypeModel": {
  13822. "type": "object",
  13823. "properties": {
  13824. "modelid": {
  13825. "description": "型号ID",
  13826. "type": "integer"
  13827. },
  13828. "modelname": {
  13829. "description": "型号名称",
  13830. "type": "string"
  13831. },
  13832. "updatetime": {
  13833. "description": "更新时间",
  13834. "type": "string"
  13835. }
  13836. }
  13837. },
  13838. "models.Goodsgroup": {
  13839. "type": "object",
  13840. "required": [
  13841. "goodsgroupid",
  13842. "goodsgroupname",
  13843. "goodsgroupstatus",
  13844. "marketid"
  13845. ],
  13846. "properties": {
  13847. "agreeunit": {
  13848. "description": "合约单位",
  13849. "type": "number"
  13850. },
  13851. "canshort": {
  13852. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13853. "type": "integer"
  13854. },
  13855. "closepricemode": {
  13856. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13857. "type": "integer"
  13858. },
  13859. "closepriceparam": {
  13860. "description": "强平最新价浮动比例 - 方式为2时使用",
  13861. "type": "number"
  13862. },
  13863. "createtime": {
  13864. "description": "创建时间",
  13865. "type": "string"
  13866. },
  13867. "creatorid": {
  13868. "description": "创建人",
  13869. "type": "integer"
  13870. },
  13871. "currencyid": {
  13872. "description": "报价货币ID",
  13873. "type": "integer"
  13874. },
  13875. "decimalplace": {
  13876. "description": "报价小数位",
  13877. "type": "integer"
  13878. },
  13879. "exercisetype": {
  13880. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13881. "type": "integer"
  13882. },
  13883. "exexchangeid": {
  13884. "description": "外部交易所ID[通道交易]",
  13885. "type": "integer"
  13886. },
  13887. "goodsgroupid": {
  13888. "description": "商品组ID(自增ID)",
  13889. "type": "integer"
  13890. },
  13891. "goodsgroupname": {
  13892. "description": "商品组名称",
  13893. "type": "string"
  13894. },
  13895. "goodsgroupstatus": {
  13896. "description": "商品组状态 - 1:正常 2:注销",
  13897. "type": "integer"
  13898. },
  13899. "goodunitid": {
  13900. "description": "报价单位ID",
  13901. "type": "integer"
  13902. },
  13903. "innerdealmode": {
  13904. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13905. "type": "integer"
  13906. },
  13907. "isbuylimited": {
  13908. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13909. "type": "integer"
  13910. },
  13911. "marketid": {
  13912. "description": "所属市场ID",
  13913. "type": "integer"
  13914. },
  13915. "modifierid": {
  13916. "description": "修改人",
  13917. "type": "integer"
  13918. },
  13919. "modifytime": {
  13920. "description": "修改时间",
  13921. "type": "string"
  13922. },
  13923. "outerdealmode": {
  13924. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13925. "type": "integer"
  13926. },
  13927. "outergroupcode": {
  13928. "description": "外部商品组代码[通道交易]",
  13929. "type": "string"
  13930. },
  13931. "premiumdecimalplace": {
  13932. "description": "权利金小数位[场外期权]",
  13933. "type": "integer"
  13934. },
  13935. "premiumspreadalgorithm": {
  13936. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13937. "type": "integer"
  13938. },
  13939. "premiumspreadvalue": {
  13940. "description": "权利金点差值[场外期权]",
  13941. "type": "number"
  13942. },
  13943. "qtydecimalplace": {
  13944. "description": "成交量小数位",
  13945. "type": "integer"
  13946. },
  13947. "quotegear": {
  13948. "description": "行情档位(1-10)",
  13949. "type": "integer"
  13950. },
  13951. "quoteminunit": {
  13952. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13953. "type": "integer"
  13954. },
  13955. "quoterid": {
  13956. "description": "报价商ID[场外期权]",
  13957. "type": "integer"
  13958. },
  13959. "quotesourcegroupid": {
  13960. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13961. "type": "integer"
  13962. },
  13963. "syncgoodsqty": {
  13964. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13965. "type": "integer"
  13966. }
  13967. }
  13968. },
  13969. "models.Goodssortbypreposition": {
  13970. "type": "object",
  13971. "required": [
  13972. "goodscode",
  13973. "tradedate"
  13974. ],
  13975. "properties": {
  13976. "goodscode": {
  13977. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  13978. "type": "string"
  13979. },
  13980. "goodsgroupcode": {
  13981. "description": "品种代码",
  13982. "type": "string"
  13983. },
  13984. "prepositionqty": {
  13985. "description": "昨持仓量",
  13986. "type": "integer"
  13987. },
  13988. "sortindex": {
  13989. "description": "排序",
  13990. "type": "integer"
  13991. },
  13992. "tradedate": {
  13993. "description": "交易日",
  13994. "type": "string"
  13995. },
  13996. "updatetime": {
  13997. "description": "更新时间",
  13998. "type": "string"
  13999. }
  14000. }
  14001. },
  14002. "models.HsbyBuyMyPayOrder": {
  14003. "type": "object",
  14004. "required": [
  14005. "goodscode",
  14006. "goodsname",
  14007. "tradeid",
  14008. "trademode"
  14009. ],
  14010. "properties": {
  14011. "agreeunit": {
  14012. "description": "合约单位",
  14013. "type": "number"
  14014. },
  14015. "buyaccountid": {
  14016. "description": "买方账号ID[报价币种]",
  14017. "type": "integer"
  14018. },
  14019. "buyorderid": {
  14020. "description": "买方委托单号",
  14021. "type": "string"
  14022. },
  14023. "createtime": {
  14024. "description": "创建时间",
  14025. "type": "string"
  14026. },
  14027. "currencysign": {
  14028. "description": "货币符号",
  14029. "type": "string"
  14030. },
  14031. "decimalplace": {
  14032. "description": "报价小数位",
  14033. "type": "integer"
  14034. },
  14035. "goodscode": {
  14036. "description": "商品代码(内部)",
  14037. "type": "string"
  14038. },
  14039. "goodsid": {
  14040. "description": "商品ID",
  14041. "type": "integer"
  14042. },
  14043. "goodsname": {
  14044. "description": "商品名称",
  14045. "type": "string"
  14046. },
  14047. "marketid": {
  14048. "description": "市场ID",
  14049. "type": "integer"
  14050. },
  14051. "offamount": {
  14052. "description": "优惠金额",
  14053. "type": "number"
  14054. },
  14055. "originalamount": {
  14056. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14057. "type": "number"
  14058. },
  14059. "payamount": {
  14060. "description": "支付金额 = TradeAmount + TradeCharge",
  14061. "type": "number"
  14062. },
  14063. "payflag": {
  14064. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14065. "type": "integer"
  14066. },
  14067. "paylimitedtime": {
  14068. "description": "支付期限",
  14069. "type": "string"
  14070. },
  14071. "paytime": {
  14072. "description": "付款时间",
  14073. "type": "string"
  14074. },
  14075. "picurls1": {
  14076. "description": "预售商品介绍图片[多张用逗号分隔]",
  14077. "type": "string"
  14078. },
  14079. "picurls2": {
  14080. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14081. "type": "string"
  14082. },
  14083. "sellaccountid": {
  14084. "description": "卖方账号ID[报价币种]",
  14085. "type": "integer"
  14086. },
  14087. "sellorderid": {
  14088. "description": "卖方委托单号",
  14089. "type": "string"
  14090. },
  14091. "tradeamount": {
  14092. "description": "成交金额",
  14093. "type": "number"
  14094. },
  14095. "tradecharge": {
  14096. "description": "成交手续费(买方)",
  14097. "type": "number"
  14098. },
  14099. "tradedate": {
  14100. "description": "交易日(yyyyMMdd)",
  14101. "type": "string"
  14102. },
  14103. "tradeid": {
  14104. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14105. "type": "string"
  14106. },
  14107. "trademode": {
  14108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14109. "type": "integer"
  14110. },
  14111. "tradeprice": {
  14112. "description": "成交价格",
  14113. "type": "number"
  14114. },
  14115. "tradeqty": {
  14116. "description": "成交数量",
  14117. "type": "integer"
  14118. },
  14119. "vendorname1": {
  14120. "description": "预售商品供应商名称",
  14121. "type": "string"
  14122. },
  14123. "vendorname2": {
  14124. "description": "挂牌商品供应商名称",
  14125. "type": "string"
  14126. }
  14127. }
  14128. },
  14129. "models.HsbyBuyMyTradeDetail": {
  14130. "type": "object",
  14131. "required": [
  14132. "accountid",
  14133. "buyorsell",
  14134. "goodscode",
  14135. "goodsid",
  14136. "goodsname",
  14137. "marketid",
  14138. "orderid",
  14139. "qty",
  14140. "time",
  14141. "trademode"
  14142. ],
  14143. "properties": {
  14144. "accountid": {
  14145. "description": "账户ID[报价币种]",
  14146. "type": "integer"
  14147. },
  14148. "agreeunit": {
  14149. "description": "合约单位",
  14150. "type": "number"
  14151. },
  14152. "amount": {
  14153. "description": "金额 = 价格 * 数量 * 合约单位",
  14154. "type": "number"
  14155. },
  14156. "buyorsell": {
  14157. "description": "买卖 - 0:买 1:卖",
  14158. "type": "integer"
  14159. },
  14160. "currencysign": {
  14161. "description": "货币符号",
  14162. "type": "string"
  14163. },
  14164. "decimalplace": {
  14165. "description": "报价小数位",
  14166. "type": "integer"
  14167. },
  14168. "goodscode": {
  14169. "description": "商品代码(内部)",
  14170. "type": "string"
  14171. },
  14172. "goodsid": {
  14173. "description": "商品ID",
  14174. "type": "integer"
  14175. },
  14176. "goodsname": {
  14177. "description": "商品名称",
  14178. "type": "string"
  14179. },
  14180. "marketid": {
  14181. "description": "市场ID",
  14182. "type": "integer"
  14183. },
  14184. "orderamount": {
  14185. "description": "委托金额",
  14186. "type": "number"
  14187. },
  14188. "orderid": {
  14189. "description": "单号(成交单号)",
  14190. "type": "string"
  14191. },
  14192. "picurls1": {
  14193. "description": "预售商品介绍图片[多张用逗号分隔]",
  14194. "type": "string"
  14195. },
  14196. "picurls2": {
  14197. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14198. "type": "string"
  14199. },
  14200. "price": {
  14201. "description": "价格",
  14202. "type": "number"
  14203. },
  14204. "qty": {
  14205. "description": "数量",
  14206. "type": "integer"
  14207. },
  14208. "time": {
  14209. "description": "时间",
  14210. "type": "string"
  14211. },
  14212. "trademode": {
  14213. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14214. "type": "integer"
  14215. },
  14216. "vendorname1": {
  14217. "description": "预售商品供应商名称",
  14218. "type": "string"
  14219. },
  14220. "vendorname2": {
  14221. "description": "挂牌商品供应商名称",
  14222. "type": "string"
  14223. }
  14224. }
  14225. },
  14226. "models.HsbyGoodsOrderDetail": {
  14227. "type": "object",
  14228. "required": [
  14229. "buyorsell",
  14230. "orderid",
  14231. "ordertime"
  14232. ],
  14233. "properties": {
  14234. "buyorsell": {
  14235. "description": "买卖 - 0:买 1:卖",
  14236. "type": "integer"
  14237. },
  14238. "currencysign": {
  14239. "description": "货币符号",
  14240. "type": "string"
  14241. },
  14242. "customername": {
  14243. "description": "客户名称(企业名称),已脱敏",
  14244. "type": "string"
  14245. },
  14246. "enableqty": {
  14247. "description": "可用数量",
  14248. "type": "integer"
  14249. },
  14250. "goodunit": {
  14251. "description": "报价单位",
  14252. "type": "string"
  14253. },
  14254. "orderid": {
  14255. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14256. "type": "string"
  14257. },
  14258. "orderprice": {
  14259. "description": "委托价格",
  14260. "type": "number"
  14261. },
  14262. "ordertime": {
  14263. "description": "委托时间",
  14264. "type": "string"
  14265. }
  14266. }
  14267. },
  14268. "models.HsbyListingGoodsDetail": {
  14269. "type": "object",
  14270. "required": [
  14271. "goodscode",
  14272. "goodsid",
  14273. "goodsname",
  14274. "marketid",
  14275. "trademode"
  14276. ],
  14277. "properties": {
  14278. "agreeunit": {
  14279. "description": "合约单位",
  14280. "type": "number"
  14281. },
  14282. "buymaxqty": {
  14283. "description": "购买上限 [71] - 0为不限",
  14284. "type": "integer"
  14285. },
  14286. "currency": {
  14287. "description": "货币",
  14288. "type": "string"
  14289. },
  14290. "currencysign": {
  14291. "description": "货币符号",
  14292. "type": "string"
  14293. },
  14294. "decimalplace": {
  14295. "description": "报价小数位",
  14296. "type": "integer"
  14297. },
  14298. "desccityid": {
  14299. "description": "目的地(市)ID",
  14300. "type": "integer"
  14301. },
  14302. "descprovinceid": {
  14303. "description": "目的地(省)ID",
  14304. "type": "integer"
  14305. },
  14306. "goodscode": {
  14307. "description": "商品代码(内部)",
  14308. "type": "string"
  14309. },
  14310. "goodsdesc": {
  14311. "description": "商品详情",
  14312. "type": "string"
  14313. },
  14314. "goodsid": {
  14315. "description": "商品ID(自增ID SEQ_GOODS)",
  14316. "type": "integer"
  14317. },
  14318. "goodsname": {
  14319. "description": "商品名称",
  14320. "type": "string"
  14321. },
  14322. "goodsprice": {
  14323. "description": "商品价格",
  14324. "type": "number"
  14325. },
  14326. "hotindex": {
  14327. "description": "景点热度",
  14328. "type": "integer"
  14329. },
  14330. "last": {
  14331. "description": "现价",
  14332. "type": "number"
  14333. },
  14334. "limitdown": {
  14335. "description": "跌停价",
  14336. "type": "number"
  14337. },
  14338. "limitup": {
  14339. "description": "涨停价",
  14340. "type": "number"
  14341. },
  14342. "lotsize": {
  14343. "description": "手数最小变动单位",
  14344. "type": "integer"
  14345. },
  14346. "marketid": {
  14347. "description": "所属市场ID",
  14348. "type": "integer"
  14349. },
  14350. "picurls": {
  14351. "description": "介绍图片[多张用逗号分隔]",
  14352. "type": "string"
  14353. },
  14354. "quoteminunit": {
  14355. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14356. "type": "integer"
  14357. },
  14358. "stepvalue": {
  14359. "description": "价格最小变动单位",
  14360. "type": "number"
  14361. },
  14362. "trademode": {
  14363. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14364. "type": "integer"
  14365. },
  14366. "vendorattr": {
  14367. "description": "供应商附件(多张,逗号分隔)",
  14368. "type": "string"
  14369. },
  14370. "vendorname": {
  14371. "description": "供应商名称",
  14372. "type": "string"
  14373. },
  14374. "vendorphone": {
  14375. "description": "供应商客服电话",
  14376. "type": "string"
  14377. },
  14378. "videourls": {
  14379. "description": "介绍视频[多张用逗号分隔]",
  14380. "type": "string"
  14381. }
  14382. }
  14383. },
  14384. "models.HsbyMarketGoods": {
  14385. "type": "object",
  14386. "required": [
  14387. "accountid",
  14388. "buyorsell",
  14389. "goodscode",
  14390. "goodsid",
  14391. "goodsname",
  14392. "marketid",
  14393. "orderid",
  14394. "trademode"
  14395. ],
  14396. "properties": {
  14397. "accountid": {
  14398. "description": "账户ID[报价币种]",
  14399. "type": "integer"
  14400. },
  14401. "agreeunit": {
  14402. "description": "合约单位",
  14403. "type": "number"
  14404. },
  14405. "buyorsell": {
  14406. "description": "买卖 - 0:买 1:卖",
  14407. "type": "integer"
  14408. },
  14409. "categoryid": {
  14410. "description": "类别ID(WRCATEGORY)",
  14411. "type": "integer"
  14412. },
  14413. "currency": {
  14414. "description": "货币",
  14415. "type": "string"
  14416. },
  14417. "currencysign": {
  14418. "description": "货币符号",
  14419. "type": "string"
  14420. },
  14421. "customername": {
  14422. "description": "卖家名称",
  14423. "type": "string"
  14424. },
  14425. "decimalplace": {
  14426. "description": "报价小数位",
  14427. "type": "integer"
  14428. },
  14429. "goodscode": {
  14430. "description": "商品代码(内部)",
  14431. "type": "string"
  14432. },
  14433. "goodsid": {
  14434. "description": "商品ID",
  14435. "type": "integer"
  14436. },
  14437. "goodsname": {
  14438. "description": "商品名称",
  14439. "type": "string"
  14440. },
  14441. "goodsprice": {
  14442. "description": "商品价格",
  14443. "type": "number"
  14444. },
  14445. "hascoupon": {
  14446. "description": "是否可用优惠卷",
  14447. "type": "boolean"
  14448. },
  14449. "hotindex": {
  14450. "description": "景点热度",
  14451. "type": "integer"
  14452. },
  14453. "marketid": {
  14454. "description": "市场ID",
  14455. "type": "integer"
  14456. },
  14457. "orderid": {
  14458. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14459. "type": "string"
  14460. },
  14461. "orderprice": {
  14462. "description": "委托价格",
  14463. "type": "number"
  14464. },
  14465. "orderstatus": {
  14466. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14467. "type": "integer"
  14468. },
  14469. "picurls": {
  14470. "description": "介绍图片[多张用逗号分隔]",
  14471. "type": "string"
  14472. },
  14473. "quoteminunit": {
  14474. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14475. "type": "integer"
  14476. },
  14477. "sellUserID": {
  14478. "description": "卖方UserID",
  14479. "type": "integer"
  14480. },
  14481. "trademode": {
  14482. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14483. "type": "integer"
  14484. },
  14485. "videourls": {
  14486. "description": "介绍视频[多张用逗号分隔]",
  14487. "type": "string"
  14488. }
  14489. }
  14490. },
  14491. "models.HsbyMarketGoodsDetail": {
  14492. "type": "object",
  14493. "required": [
  14494. "accountid",
  14495. "buyorsell",
  14496. "goodscode",
  14497. "goodsid",
  14498. "goodsname",
  14499. "marketid",
  14500. "orderid",
  14501. "orderqty",
  14502. "trademode"
  14503. ],
  14504. "properties": {
  14505. "accountid": {
  14506. "description": "账户ID[报价币种]",
  14507. "type": "integer"
  14508. },
  14509. "agreeunit": {
  14510. "description": "合约单位",
  14511. "type": "number"
  14512. },
  14513. "buymaxqty": {
  14514. "description": "购买上限 [71] - 0为不限",
  14515. "type": "integer"
  14516. },
  14517. "buyorsell": {
  14518. "description": "买卖 - 0:买 1:卖",
  14519. "type": "integer"
  14520. },
  14521. "cancelqty": {
  14522. "description": "撤单数量",
  14523. "type": "integer"
  14524. },
  14525. "categoryid": {
  14526. "description": "类别ID(WRCATEGORY)",
  14527. "type": "integer"
  14528. },
  14529. "currency": {
  14530. "description": "货币",
  14531. "type": "string"
  14532. },
  14533. "currencysign": {
  14534. "description": "货币符号",
  14535. "type": "string"
  14536. },
  14537. "customername": {
  14538. "description": "卖家名称",
  14539. "type": "string"
  14540. },
  14541. "decimalplace": {
  14542. "description": "报价小数位",
  14543. "type": "integer"
  14544. },
  14545. "goodscode": {
  14546. "description": "商品代码(内部)",
  14547. "type": "string"
  14548. },
  14549. "goodsdesc": {
  14550. "description": "商品详情",
  14551. "type": "string"
  14552. },
  14553. "goodsid": {
  14554. "description": "商品ID",
  14555. "type": "integer"
  14556. },
  14557. "goodsname": {
  14558. "description": "商品名称",
  14559. "type": "string"
  14560. },
  14561. "goodsprice": {
  14562. "description": "商品价格",
  14563. "type": "number"
  14564. },
  14565. "hotindex": {
  14566. "description": "景点热度",
  14567. "type": "integer"
  14568. },
  14569. "lotsize": {
  14570. "description": "手数最小变动单位",
  14571. "type": "integer"
  14572. },
  14573. "marketid": {
  14574. "description": "市场ID",
  14575. "type": "integer"
  14576. },
  14577. "orderid": {
  14578. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14579. "type": "string"
  14580. },
  14581. "orderprice": {
  14582. "description": "委托价格",
  14583. "type": "number"
  14584. },
  14585. "orderqty": {
  14586. "description": "委托数量",
  14587. "type": "integer"
  14588. },
  14589. "orderstatus": {
  14590. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14591. "type": "integer"
  14592. },
  14593. "picurls": {
  14594. "description": "介绍图片[多张用逗号分隔]",
  14595. "type": "string"
  14596. },
  14597. "quoteminunit": {
  14598. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14599. "type": "integer"
  14600. },
  14601. "sellUserID": {
  14602. "description": "卖方UserID",
  14603. "type": "integer"
  14604. },
  14605. "trademode": {
  14606. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14607. "type": "integer"
  14608. },
  14609. "tradeqty": {
  14610. "description": "成交数量",
  14611. "type": "integer"
  14612. },
  14613. "vendorattr": {
  14614. "description": "供应商附件(多张,逗号分隔)",
  14615. "type": "string"
  14616. },
  14617. "vendorname": {
  14618. "description": "供应商名称",
  14619. "type": "string"
  14620. },
  14621. "vendorphone": {
  14622. "description": "供应商客服电话",
  14623. "type": "string"
  14624. },
  14625. "videourls": {
  14626. "description": "介绍视频[多张用逗号分隔]",
  14627. "type": "string"
  14628. }
  14629. }
  14630. },
  14631. "models.HsbyMarketInfo": {
  14632. "type": "object",
  14633. "required": [
  14634. "marketid",
  14635. "marketstatus",
  14636. "trademode"
  14637. ],
  14638. "properties": {
  14639. "marketid": {
  14640. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14641. "type": "integer"
  14642. },
  14643. "marketname": {
  14644. "description": "市场名称",
  14645. "type": "string"
  14646. },
  14647. "marketstatus": {
  14648. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14649. "type": "integer"
  14650. },
  14651. "trademode": {
  14652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14653. "type": "integer"
  14654. }
  14655. }
  14656. },
  14657. "models.HsbyMyGoods": {
  14658. "type": "object",
  14659. "required": [
  14660. "accountid",
  14661. "goodscode",
  14662. "goodsid",
  14663. "goodsname",
  14664. "marketid",
  14665. "trademode"
  14666. ],
  14667. "properties": {
  14668. "accountid": {
  14669. "description": "账号Id",
  14670. "type": "integer"
  14671. },
  14672. "agreeunit": {
  14673. "description": "合约单位",
  14674. "type": "number"
  14675. },
  14676. "buyaverageprice": {
  14677. "description": "持仓均价",
  14678. "type": "number"
  14679. },
  14680. "buycurholderamount": {
  14681. "description": "买当前持仓总金额[商品币种]",
  14682. "type": "number"
  14683. },
  14684. "buycurpositionqty": {
  14685. "description": "买当前持仓总数量",
  14686. "type": "integer"
  14687. },
  14688. "buymaxqty": {
  14689. "description": "购买上限 [71] - 0为不限",
  14690. "type": "integer"
  14691. },
  14692. "currencysign": {
  14693. "description": "货币符号",
  14694. "type": "string"
  14695. },
  14696. "decimalplace": {
  14697. "description": "报价小数位",
  14698. "type": "integer"
  14699. },
  14700. "enableqty": {
  14701. "description": "可用数量",
  14702. "type": "integer"
  14703. },
  14704. "goodscode": {
  14705. "description": "商品代码(内部)",
  14706. "type": "string"
  14707. },
  14708. "goodsid": {
  14709. "description": "商品Id",
  14710. "type": "integer"
  14711. },
  14712. "goodsname": {
  14713. "description": "商品名称",
  14714. "type": "string"
  14715. },
  14716. "goodsprice": {
  14717. "description": "商品价格",
  14718. "type": "number"
  14719. },
  14720. "goodsstatus": {
  14721. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14722. "type": "integer"
  14723. },
  14724. "last": {
  14725. "description": "现价(仅使用于挂牌点选)",
  14726. "type": "number"
  14727. },
  14728. "limitdown": {
  14729. "description": "跌停价(仅使用于挂牌点选)",
  14730. "type": "number"
  14731. },
  14732. "limitup": {
  14733. "description": "涨停价(仅使用于挂牌点选)",
  14734. "type": "number"
  14735. },
  14736. "lotsize": {
  14737. "description": "手数最小变动单位",
  14738. "type": "integer"
  14739. },
  14740. "marketid": {
  14741. "description": "所属市场ID",
  14742. "type": "integer"
  14743. },
  14744. "picurls": {
  14745. "description": "介绍图片[多张用逗号分隔]",
  14746. "type": "string"
  14747. },
  14748. "quoteminunit": {
  14749. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14750. "type": "integer"
  14751. },
  14752. "stepvalue": {
  14753. "description": "价格最小变动单位",
  14754. "type": "number"
  14755. },
  14756. "trademode": {
  14757. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14758. "type": "integer"
  14759. }
  14760. }
  14761. },
  14762. "models.HsbyMyPackage": {
  14763. "type": "object",
  14764. "required": [
  14765. "goodscode",
  14766. "goodsname",
  14767. "takeorderid",
  14768. "trademode"
  14769. ],
  14770. "properties": {
  14771. "accountid": {
  14772. "description": "账户ID",
  14773. "type": "integer"
  14774. },
  14775. "address": {
  14776. "description": "提货人详细地址",
  14777. "type": "string"
  14778. },
  14779. "agreeunit": {
  14780. "description": "合约单位",
  14781. "type": "number"
  14782. },
  14783. "amount": {
  14784. "description": "提货金额",
  14785. "type": "number"
  14786. },
  14787. "auditer": {
  14788. "description": "审核人",
  14789. "type": "integer"
  14790. },
  14791. "audittime": {
  14792. "description": "审核时间",
  14793. "type": "string"
  14794. },
  14795. "averageprice": {
  14796. "description": "均价",
  14797. "type": "number"
  14798. },
  14799. "cardnum": {
  14800. "description": "提货人证件号码",
  14801. "type": "string"
  14802. },
  14803. "cardtypeid": {
  14804. "description": "提货人证件类型",
  14805. "type": "integer"
  14806. },
  14807. "checkremark": {
  14808. "description": "审核备注",
  14809. "type": "string"
  14810. },
  14811. "currencysign": {
  14812. "description": "货币符号",
  14813. "type": "string"
  14814. },
  14815. "decimalplace": {
  14816. "description": "报价小数位",
  14817. "type": "integer"
  14818. },
  14819. "goodscode": {
  14820. "description": "商品代码(内部)",
  14821. "type": "string"
  14822. },
  14823. "goodsid": {
  14824. "description": "商品ID",
  14825. "type": "integer"
  14826. },
  14827. "goodsname": {
  14828. "description": "商品名称",
  14829. "type": "string"
  14830. },
  14831. "handlestatus": {
  14832. "description": "处理状态",
  14833. "type": "integer"
  14834. },
  14835. "marketid": {
  14836. "description": "市场ID",
  14837. "type": "integer"
  14838. },
  14839. "phonenum": {
  14840. "description": "提货人联系方式",
  14841. "type": "string"
  14842. },
  14843. "picurls": {
  14844. "description": "介绍图片[多张用逗号分隔]",
  14845. "type": "string"
  14846. },
  14847. "qty": {
  14848. "description": "提货数量",
  14849. "type": "number"
  14850. },
  14851. "recivername": {
  14852. "description": "提货人姓名",
  14853. "type": "string"
  14854. },
  14855. "reqtime": {
  14856. "description": "更新时间",
  14857. "type": "string"
  14858. },
  14859. "takemode": {
  14860. "description": "提货方式 - 2:自提 3:配送",
  14861. "type": "integer"
  14862. },
  14863. "takeorderid": {
  14864. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14865. "type": "string"
  14866. },
  14867. "takeorderstatus": {
  14868. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14869. "type": "integer"
  14870. },
  14871. "takeremark": {
  14872. "description": "提货备注",
  14873. "type": "string"
  14874. },
  14875. "tradedate": {
  14876. "description": "交易日(yyyyMMdd)",
  14877. "type": "string"
  14878. },
  14879. "trademode": {
  14880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14881. "type": "integer"
  14882. },
  14883. "userid": {
  14884. "description": "用户ID",
  14885. "type": "integer"
  14886. },
  14887. "vendorname": {
  14888. "description": "供应商名称",
  14889. "type": "string"
  14890. }
  14891. }
  14892. },
  14893. "models.HsbyPreGoods": {
  14894. "type": "object",
  14895. "required": [
  14896. "goodscode",
  14897. "goodsid",
  14898. "goodsname",
  14899. "marketid",
  14900. "trademode"
  14901. ],
  14902. "properties": {
  14903. "agreeunit": {
  14904. "description": "合约单位",
  14905. "type": "number"
  14906. },
  14907. "currency": {
  14908. "description": "货币",
  14909. "type": "string"
  14910. },
  14911. "currencysign": {
  14912. "description": "货币符号",
  14913. "type": "string"
  14914. },
  14915. "decimalplace": {
  14916. "description": "报价小数位",
  14917. "type": "integer"
  14918. },
  14919. "desccityid": {
  14920. "description": "目的地(市)",
  14921. "type": "integer"
  14922. },
  14923. "descprovinceid": {
  14924. "description": "目的地(省)",
  14925. "type": "integer"
  14926. },
  14927. "enableqty": {
  14928. "description": "剩余数量",
  14929. "type": "integer"
  14930. },
  14931. "goodscode": {
  14932. "description": "商品代码(内部)",
  14933. "type": "string"
  14934. },
  14935. "goodsid": {
  14936. "description": "商品ID(自增ID SEQ_GOODS)",
  14937. "type": "integer"
  14938. },
  14939. "goodsname": {
  14940. "description": "商品名称",
  14941. "type": "string"
  14942. },
  14943. "goodsstatus": {
  14944. "description": "商品状态- 2:未上市 3:上市",
  14945. "type": "integer"
  14946. },
  14947. "lasttradedate": {
  14948. "description": "最后交易日期(状态:待退市)",
  14949. "type": "string"
  14950. },
  14951. "listingdate": {
  14952. "description": "交易开始日期",
  14953. "type": "string"
  14954. },
  14955. "marketid": {
  14956. "description": "所属市场ID",
  14957. "type": "integer"
  14958. },
  14959. "picurls": {
  14960. "description": "介绍图片[多张用逗号分隔]",
  14961. "type": "string"
  14962. },
  14963. "presaledqty": {
  14964. "description": "已预售量(预售结束时更新)",
  14965. "type": "integer"
  14966. },
  14967. "presaleqty": {
  14968. "description": "预售数量",
  14969. "type": "integer"
  14970. },
  14971. "quoteminunit": {
  14972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14973. "type": "integer"
  14974. },
  14975. "refprice": {
  14976. "description": "参考价格[一口价]",
  14977. "type": "number"
  14978. },
  14979. "relatedgoodsid": {
  14980. "description": "关联交易合约ID",
  14981. "type": "integer"
  14982. },
  14983. "trademode": {
  14984. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14985. "type": "integer"
  14986. },
  14987. "videourls": {
  14988. "description": "介绍视频[多张用逗号分隔]",
  14989. "type": "string"
  14990. }
  14991. }
  14992. },
  14993. "models.HsbyPreGoodsDetail": {
  14994. "type": "object",
  14995. "required": [
  14996. "goodscode",
  14997. "goodsid",
  14998. "goodsname",
  14999. "marketid",
  15000. "trademode"
  15001. ],
  15002. "properties": {
  15003. "agreeunit": {
  15004. "description": "合约单位",
  15005. "type": "number"
  15006. },
  15007. "buymaxqty": {
  15008. "description": "购买上限 [71] - 0为不限",
  15009. "type": "integer"
  15010. },
  15011. "currency": {
  15012. "description": "货币",
  15013. "type": "string"
  15014. },
  15015. "currencysign": {
  15016. "description": "货币符号",
  15017. "type": "string"
  15018. },
  15019. "customername": {
  15020. "description": "发行单位",
  15021. "type": "string"
  15022. },
  15023. "decimalplace": {
  15024. "description": "报价小数位",
  15025. "type": "integer"
  15026. },
  15027. "desccityid": {
  15028. "description": "目的地(市)ID",
  15029. "type": "integer"
  15030. },
  15031. "descprovinceid": {
  15032. "description": "目的地(省)ID",
  15033. "type": "integer"
  15034. },
  15035. "enableqty": {
  15036. "description": "剩余数量",
  15037. "type": "integer"
  15038. },
  15039. "goodscode": {
  15040. "description": "商品代码(内部)",
  15041. "type": "string"
  15042. },
  15043. "goodsdesc": {
  15044. "description": "商品详情",
  15045. "type": "string"
  15046. },
  15047. "goodsid": {
  15048. "description": "商品ID(自增ID SEQ_GOODS)",
  15049. "type": "integer"
  15050. },
  15051. "goodsname": {
  15052. "description": "商品名称",
  15053. "type": "string"
  15054. },
  15055. "goodsstatus": {
  15056. "description": "商品状态- 2:未上市 3:上市",
  15057. "type": "integer"
  15058. },
  15059. "goodunit": {
  15060. "description": "报价单位",
  15061. "type": "string"
  15062. },
  15063. "lasttradedate": {
  15064. "description": "最后交易日期(状态:待退市)",
  15065. "type": "string"
  15066. },
  15067. "listingdate": {
  15068. "description": "交易开始日期",
  15069. "type": "string"
  15070. },
  15071. "lotsize": {
  15072. "description": "手数最小变动单位",
  15073. "type": "integer"
  15074. },
  15075. "marketid": {
  15076. "description": "所属市场ID",
  15077. "type": "integer"
  15078. },
  15079. "picurls": {
  15080. "description": "介绍图片[多张用逗号分隔]",
  15081. "type": "string"
  15082. },
  15083. "presaledqty": {
  15084. "description": "已预售量(预售结束时更新)",
  15085. "type": "integer"
  15086. },
  15087. "presaleqty": {
  15088. "description": "预售数量",
  15089. "type": "integer"
  15090. },
  15091. "quoteminunit": {
  15092. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15093. "type": "integer"
  15094. },
  15095. "refprice": {
  15096. "description": "参考价格[一口价]",
  15097. "type": "number"
  15098. },
  15099. "relatedgoodsid": {
  15100. "description": "关联交易合约ID",
  15101. "type": "integer"
  15102. },
  15103. "stepvalue": {
  15104. "description": "价格最小变动单位",
  15105. "type": "number"
  15106. },
  15107. "trademode": {
  15108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15109. "type": "integer"
  15110. },
  15111. "vendorattr": {
  15112. "description": "供应商附件(多张,逗号分隔)",
  15113. "type": "string"
  15114. },
  15115. "vendorname": {
  15116. "description": "供应商名称",
  15117. "type": "string"
  15118. },
  15119. "vendorphone": {
  15120. "description": "供应商客服电话",
  15121. "type": "string"
  15122. },
  15123. "videourls": {
  15124. "description": "介绍视频[多张用逗号分隔]",
  15125. "type": "string"
  15126. }
  15127. }
  15128. },
  15129. "models.HsbySellCollectionOrder": {
  15130. "type": "object",
  15131. "required": [
  15132. "goodscode",
  15133. "goodsname",
  15134. "tradeid",
  15135. "trademode"
  15136. ],
  15137. "properties": {
  15138. "agreeunit": {
  15139. "description": "合约单位",
  15140. "type": "number"
  15141. },
  15142. "buyaccountid": {
  15143. "description": "买方账号ID[报价币种]",
  15144. "type": "integer"
  15145. },
  15146. "buyorderid": {
  15147. "description": "买方委托单号",
  15148. "type": "string"
  15149. },
  15150. "createtime": {
  15151. "description": "创建时间",
  15152. "type": "string"
  15153. },
  15154. "currencysign": {
  15155. "description": "货币符号",
  15156. "type": "string"
  15157. },
  15158. "decimalplace": {
  15159. "description": "报价小数位",
  15160. "type": "integer"
  15161. },
  15162. "goodscode": {
  15163. "description": "商品代码(内部)",
  15164. "type": "string"
  15165. },
  15166. "goodsid": {
  15167. "description": "商品ID",
  15168. "type": "integer"
  15169. },
  15170. "goodsname": {
  15171. "description": "商品名称",
  15172. "type": "string"
  15173. },
  15174. "marketid": {
  15175. "description": "市场ID",
  15176. "type": "integer"
  15177. },
  15178. "offamount": {
  15179. "description": "优惠金额",
  15180. "type": "number"
  15181. },
  15182. "payamount": {
  15183. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15184. "type": "number"
  15185. },
  15186. "payflag": {
  15187. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15188. "type": "integer"
  15189. },
  15190. "paylimitedtime": {
  15191. "description": "支付期限",
  15192. "type": "string"
  15193. },
  15194. "paytime": {
  15195. "description": "付款时间",
  15196. "type": "string"
  15197. },
  15198. "picurls": {
  15199. "description": "商品介绍图片[多张用逗号分隔]",
  15200. "type": "string"
  15201. },
  15202. "sellaccountid": {
  15203. "description": "卖方账号ID[报价币种]",
  15204. "type": "integer"
  15205. },
  15206. "sellorderid": {
  15207. "description": "卖方委托单号",
  15208. "type": "string"
  15209. },
  15210. "tradeamount": {
  15211. "description": "成交金额",
  15212. "type": "number"
  15213. },
  15214. "tradecharge": {
  15215. "description": "成交手续费(买方)",
  15216. "type": "number"
  15217. },
  15218. "tradedate": {
  15219. "description": "交易日(yyyyMMdd)",
  15220. "type": "string"
  15221. },
  15222. "tradeid": {
  15223. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15224. "type": "string"
  15225. },
  15226. "trademode": {
  15227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15228. "type": "integer"
  15229. },
  15230. "tradeprice": {
  15231. "description": "成交价格",
  15232. "type": "number"
  15233. },
  15234. "tradeqty": {
  15235. "description": "成交数量",
  15236. "type": "integer"
  15237. }
  15238. }
  15239. },
  15240. "models.HsbySellMyDetail": {
  15241. "type": "object",
  15242. "required": [
  15243. "accountid",
  15244. "buyorsell",
  15245. "goodscode",
  15246. "goodsid",
  15247. "goodsname",
  15248. "marketid",
  15249. "orderid",
  15250. "time",
  15251. "trademode"
  15252. ],
  15253. "properties": {
  15254. "accountid": {
  15255. "description": "账户ID[报价币种]",
  15256. "type": "integer"
  15257. },
  15258. "agreeunit": {
  15259. "description": "合约单位",
  15260. "type": "number"
  15261. },
  15262. "buyorsell": {
  15263. "description": "买卖 - 0:买 1:卖",
  15264. "type": "integer"
  15265. },
  15266. "currencysign": {
  15267. "description": "货币符号",
  15268. "type": "string"
  15269. },
  15270. "decimalplace": {
  15271. "description": "报价小数位",
  15272. "type": "integer"
  15273. },
  15274. "goodscode": {
  15275. "description": "商品代码(内部)",
  15276. "type": "string"
  15277. },
  15278. "goodsid": {
  15279. "description": "商品ID",
  15280. "type": "integer"
  15281. },
  15282. "goodsname": {
  15283. "description": "商品名称",
  15284. "type": "string"
  15285. },
  15286. "marketid": {
  15287. "description": "市场ID",
  15288. "type": "integer"
  15289. },
  15290. "orderid": {
  15291. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15292. "type": "string"
  15293. },
  15294. "ordertype": {
  15295. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15296. "type": "integer"
  15297. },
  15298. "picurls": {
  15299. "description": "介绍图片[多张用逗号分隔]",
  15300. "type": "string"
  15301. },
  15302. "price": {
  15303. "description": "价格",
  15304. "type": "number"
  15305. },
  15306. "qty": {
  15307. "description": "数量",
  15308. "type": "integer"
  15309. },
  15310. "time": {
  15311. "description": "时间",
  15312. "type": "string"
  15313. },
  15314. "trademode": {
  15315. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15316. "type": "integer"
  15317. },
  15318. "vendorname": {
  15319. "description": "供应商名称",
  15320. "type": "string"
  15321. }
  15322. }
  15323. },
  15324. "models.HsbyTopGoods": {
  15325. "type": "object",
  15326. "required": [
  15327. "goodscode",
  15328. "goodsid",
  15329. "goodsname",
  15330. "marketid",
  15331. "trademode"
  15332. ],
  15333. "properties": {
  15334. "agreeunit": {
  15335. "description": "合约单位",
  15336. "type": "number"
  15337. },
  15338. "currency": {
  15339. "description": "货币",
  15340. "type": "string"
  15341. },
  15342. "currencysign": {
  15343. "description": "货币符号",
  15344. "type": "string"
  15345. },
  15346. "decimalplace": {
  15347. "description": "报价小数位",
  15348. "type": "integer"
  15349. },
  15350. "desccityid": {
  15351. "description": "目的地(市)",
  15352. "type": "integer"
  15353. },
  15354. "descprovinceid": {
  15355. "description": "目的地(省)",
  15356. "type": "integer"
  15357. },
  15358. "goodscode": {
  15359. "description": "商品代码(内部)",
  15360. "type": "string"
  15361. },
  15362. "goodsid": {
  15363. "description": "商品ID(自增ID SEQ_GOODS)",
  15364. "type": "integer"
  15365. },
  15366. "goodsname": {
  15367. "description": "商品名称",
  15368. "type": "string"
  15369. },
  15370. "hotindex": {
  15371. "description": "景点热度",
  15372. "type": "integer"
  15373. },
  15374. "last": {
  15375. "description": "现价",
  15376. "type": "number"
  15377. },
  15378. "marketid": {
  15379. "description": "所属市场ID",
  15380. "type": "integer"
  15381. },
  15382. "picurls": {
  15383. "description": "介绍图片[多张用逗号分隔]",
  15384. "type": "string"
  15385. },
  15386. "quoteminunit": {
  15387. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15388. "type": "integer"
  15389. },
  15390. "trademode": {
  15391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15392. "type": "integer"
  15393. },
  15394. "videourls": {
  15395. "description": "介绍视频[多张用逗号分隔]",
  15396. "type": "string"
  15397. }
  15398. }
  15399. },
  15400. "models.HybsMyBuyOrderDetail": {
  15401. "type": "object",
  15402. "required": [
  15403. "accountid",
  15404. "buyorsell",
  15405. "goodscode",
  15406. "goodsid",
  15407. "goodsname",
  15408. "marketid",
  15409. "orderid",
  15410. "orderqty",
  15411. "ordertime",
  15412. "trademode"
  15413. ],
  15414. "properties": {
  15415. "accountid": {
  15416. "description": "账户ID[报价币种]",
  15417. "type": "integer"
  15418. },
  15419. "agreeunit": {
  15420. "description": "合约单位",
  15421. "type": "number"
  15422. },
  15423. "buyorsell": {
  15424. "description": "买卖 - 0:买 1:卖",
  15425. "type": "integer"
  15426. },
  15427. "cancelqty": {
  15428. "description": "撤单数量",
  15429. "type": "integer"
  15430. },
  15431. "currencysign": {
  15432. "description": "货币符号",
  15433. "type": "string"
  15434. },
  15435. "decimalplace": {
  15436. "description": "报价小数位",
  15437. "type": "integer"
  15438. },
  15439. "goodscode": {
  15440. "description": "商品代码(内部)",
  15441. "type": "string"
  15442. },
  15443. "goodsid": {
  15444. "description": "商品ID",
  15445. "type": "integer"
  15446. },
  15447. "goodsname": {
  15448. "description": "商品名称",
  15449. "type": "string"
  15450. },
  15451. "listingselecttype": {
  15452. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15453. "type": "integer"
  15454. },
  15455. "marketid": {
  15456. "description": "市场ID",
  15457. "type": "integer"
  15458. },
  15459. "mybuystatus": {
  15460. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15461. "type": "integer"
  15462. },
  15463. "orderamount": {
  15464. "description": "委托金额",
  15465. "type": "number"
  15466. },
  15467. "orderid": {
  15468. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15469. "type": "string"
  15470. },
  15471. "orderprice": {
  15472. "description": "委托价格",
  15473. "type": "number"
  15474. },
  15475. "orderqty": {
  15476. "description": "委托数量",
  15477. "type": "integer"
  15478. },
  15479. "orderstatus": {
  15480. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15481. "type": "integer"
  15482. },
  15483. "ordertime": {
  15484. "description": "委托时间",
  15485. "type": "string"
  15486. },
  15487. "picurls1": {
  15488. "description": "预售商品介绍图片[多张用逗号分隔]",
  15489. "type": "string"
  15490. },
  15491. "picurls2": {
  15492. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15493. "type": "string"
  15494. },
  15495. "trademode": {
  15496. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15497. "type": "integer"
  15498. },
  15499. "tradeqty": {
  15500. "description": "成交数量",
  15501. "type": "integer"
  15502. },
  15503. "vendorname1": {
  15504. "description": "预售商品供应商名称",
  15505. "type": "string"
  15506. },
  15507. "vendorname2": {
  15508. "description": "挂牌商品供应商名称",
  15509. "type": "string"
  15510. }
  15511. }
  15512. },
  15513. "models.Loginaccount": {
  15514. "type": "object",
  15515. "required": [
  15516. "loginid"
  15517. ],
  15518. "properties": {
  15519. "canoutin": {
  15520. "description": "是否可出入金 - 0:不可 1:可",
  15521. "type": "integer"
  15522. },
  15523. "clientroleid": {
  15524. "description": "终端角色ID",
  15525. "type": "integer"
  15526. },
  15527. "haslogined": {
  15528. "description": "是否已登录 - 0:未登录 1:已登录",
  15529. "type": "integer"
  15530. },
  15531. "hasupdatedpwd": {
  15532. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15533. "type": "integer"
  15534. },
  15535. "lastloginip": {
  15536. "description": "最新登录地址",
  15537. "type": "string"
  15538. },
  15539. "lastloginmode": {
  15540. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15541. "type": "integer"
  15542. },
  15543. "lastloginremark": {
  15544. "description": "最新登录描述",
  15545. "type": "string"
  15546. },
  15547. "lastlogintime": {
  15548. "description": "最新登录时间",
  15549. "type": "string"
  15550. },
  15551. "logincode": {
  15552. "description": "登录代码",
  15553. "type": "string"
  15554. },
  15555. "loginfailnum": {
  15556. "description": "连续登录失败次数(登录成功时清零)",
  15557. "type": "integer"
  15558. },
  15559. "loginid": {
  15560. "description": "登陆账号",
  15561. "type": "integer"
  15562. },
  15563. "loginport": {
  15564. "description": "最新登录端口",
  15565. "type": "integer"
  15566. },
  15567. "loginstatus": {
  15568. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15569. "type": "integer"
  15570. },
  15571. "loginusertype": {
  15572. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15573. "type": "integer"
  15574. },
  15575. "modifierid": {
  15576. "description": "修改人",
  15577. "type": "integer"
  15578. },
  15579. "modifytime": {
  15580. "description": "修改时间",
  15581. "type": "string"
  15582. },
  15583. "pwdwrongcount": {
  15584. "description": "密码错误次数",
  15585. "type": "integer"
  15586. },
  15587. "taaccountrighttype": {
  15588. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15589. "type": "integer"
  15590. },
  15591. "unfreezetime": {
  15592. "description": "账户解冻时间",
  15593. "type": "string"
  15594. },
  15595. "userid": {
  15596. "description": "用户ID",
  15597. "type": "integer"
  15598. }
  15599. }
  15600. },
  15601. "models.Market": {
  15602. "type": "object",
  15603. "required": [
  15604. "marketid",
  15605. "marketstatus",
  15606. "openmethod",
  15607. "reckonpricealgorithm",
  15608. "trademode",
  15609. "tradeproperty"
  15610. ],
  15611. "properties": {
  15612. "auctionwrtype": {
  15613. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15614. "type": "integer"
  15615. },
  15616. "canacceptquote": {
  15617. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15618. "type": "integer"
  15619. },
  15620. "cangoodsexercise": {
  15621. "description": "[期权]是否可现货行权- 0:否 1:是",
  15622. "type": "integer"
  15623. },
  15624. "cangoodsexercisetype": {
  15625. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15626. "type": "integer"
  15627. },
  15628. "canmanualquotestrike": {
  15629. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15630. "type": "integer"
  15631. },
  15632. "canmutistage": {
  15633. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15634. "type": "integer"
  15635. },
  15636. "canpreexercise": {
  15637. "description": "[期权]是否可预申报- 0:否 1:是",
  15638. "type": "integer"
  15639. },
  15640. "clearinterval": {
  15641. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15642. "type": "integer"
  15643. },
  15644. "contracttmp": {
  15645. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15646. "type": "string"
  15647. },
  15648. "exchareaid": {
  15649. "description": "所属交易所,可以没有",
  15650. "type": "integer"
  15651. },
  15652. "goodstype": {
  15653. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15654. "type": "integer"
  15655. },
  15656. "hasrebate": {
  15657. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15658. "type": "integer"
  15659. },
  15660. "hastradecredit": {
  15661. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15662. "type": "integer"
  15663. },
  15664. "haswr": {
  15665. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15666. "type": "integer"
  15667. },
  15668. "isdeductmargin": {
  15669. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15670. "type": "integer"
  15671. },
  15672. "isrecordsource": {
  15673. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15674. "type": "integer"
  15675. },
  15676. "isreleasemargin": {
  15677. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15678. "type": "integer"
  15679. },
  15680. "marginformula": {
  15681. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15682. "type": "integer"
  15683. },
  15684. "marginformula2": {
  15685. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15686. "type": "integer"
  15687. },
  15688. "marketid": {
  15689. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15690. "type": "integer"
  15691. },
  15692. "marketname": {
  15693. "description": "市场名称",
  15694. "type": "string"
  15695. },
  15696. "marketserviceid": {
  15697. "description": "市场服务ID",
  15698. "type": "integer"
  15699. },
  15700. "marketstatus": {
  15701. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15702. "type": "integer"
  15703. },
  15704. "markettype": {
  15705. "description": "市场类型- 1:非交易服务 2:交易服务",
  15706. "type": "integer"
  15707. },
  15708. "matchermode": {
  15709. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15710. "type": "integer"
  15711. },
  15712. "openmethod": {
  15713. "description": "开盘模式 - 0 自动 1手动",
  15714. "type": "integer"
  15715. },
  15716. "otcuserid": {
  15717. "description": "场外期权做市商[场外期权]",
  15718. "type": "integer"
  15719. },
  15720. "outersynctime": {
  15721. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15722. "type": "string"
  15723. },
  15724. "pendingflag": {
  15725. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15726. "type": "integer"
  15727. },
  15728. "pendingtime": {
  15729. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15730. "type": "string"
  15731. },
  15732. "performancetempid": {
  15733. "description": "履约计划模板ID - 作废",
  15734. "type": "integer"
  15735. },
  15736. "premiumquotemode": {
  15737. "description": "权利金报价方式 - 1:自动 2:手动",
  15738. "type": "integer"
  15739. },
  15740. "rebateratio": {
  15741. "description": "返利比率[竞价式]",
  15742. "type": "number"
  15743. },
  15744. "reckonorder": {
  15745. "description": "结算顺序",
  15746. "type": "integer"
  15747. },
  15748. "reckonpricealgorithm": {
  15749. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15750. "type": "integer"
  15751. },
  15752. "reckonpriceparam": {
  15753. "description": "结算价参数",
  15754. "type": "integer"
  15755. },
  15756. "reckontime": {
  15757. "description": "结算时间[通道交易-对冲](HH:mm)",
  15758. "type": "string"
  15759. },
  15760. "roleprioritytype": {
  15761. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15762. "type": "integer"
  15763. },
  15764. "selllistingauditflag": {
  15765. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15766. "type": "integer"
  15767. },
  15768. "trademarkettype": {
  15769. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15770. "type": "integer"
  15771. },
  15772. "trademode": {
  15773. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15774. "type": "integer"
  15775. },
  15776. "tradeproperty": {
  15777. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15778. "type": "integer"
  15779. },
  15780. "tradetype": {
  15781. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15782. "type": "integer"
  15783. }
  15784. }
  15785. },
  15786. "models.Marketrun": {
  15787. "type": "object",
  15788. "required": [
  15789. "marketid",
  15790. "nexttradedate",
  15791. "reckonflag",
  15792. "runstatus",
  15793. "tradedate",
  15794. "tradedate2"
  15795. ],
  15796. "properties": {
  15797. "afternexttradedate": {
  15798. "description": "下下交易日",
  15799. "type": "string"
  15800. },
  15801. "clearquoteflag": {
  15802. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15803. "type": "integer"
  15804. },
  15805. "lastreckondate": {
  15806. "description": "最新交易日(结算成功)",
  15807. "type": "string"
  15808. },
  15809. "machinedate": {
  15810. "description": "机器时间",
  15811. "type": "string"
  15812. },
  15813. "manualflag": {
  15814. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15815. "type": "integer"
  15816. },
  15817. "marketid": {
  15818. "description": "市场ID",
  15819. "type": "integer"
  15820. },
  15821. "nexttradedate": {
  15822. "description": "下一交易日",
  15823. "type": "string"
  15824. },
  15825. "pretradedate": {
  15826. "description": "上一交易日",
  15827. "type": "string"
  15828. },
  15829. "reckonflag": {
  15830. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15831. "type": "integer"
  15832. },
  15833. "runstatus": {
  15834. "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.今日免清算",
  15835. "type": "integer"
  15836. },
  15837. "sectionid": {
  15838. "description": "时间段号[多时段时用]",
  15839. "type": "integer"
  15840. },
  15841. "tradedate": {
  15842. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15843. "type": "string"
  15844. },
  15845. "tradedate2": {
  15846. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15847. "type": "string"
  15848. },
  15849. "updatetime": {
  15850. "description": "更新时间",
  15851. "type": "string"
  15852. }
  15853. }
  15854. },
  15855. "models.Messageboard": {
  15856. "type": "object",
  15857. "required": [
  15858. "messageboardid"
  15859. ],
  15860. "properties": {
  15861. "contactnum": {
  15862. "description": "联系电话",
  15863. "type": "string"
  15864. },
  15865. "createtime": {
  15866. "description": "创建时间",
  15867. "type": "string"
  15868. },
  15869. "message": {
  15870. "description": "留言信息",
  15871. "type": "string"
  15872. },
  15873. "messageboardid": {
  15874. "description": "留言簿ID(SEQ_MessageBoard)",
  15875. "type": "integer"
  15876. },
  15877. "userid": {
  15878. "description": "用户ID",
  15879. "type": "integer"
  15880. }
  15881. }
  15882. },
  15883. "models.MyCoupon": {
  15884. "type": "object",
  15885. "required": [
  15886. "accountid",
  15887. "coupontypeid"
  15888. ],
  15889. "properties": {
  15890. "accountid": {
  15891. "description": "资金账户ID",
  15892. "type": "integer"
  15893. },
  15894. "areauserid": {
  15895. "description": "所属机构",
  15896. "type": "integer"
  15897. },
  15898. "conditionvalue": {
  15899. "description": "条件阈值(可为0)",
  15900. "type": "number"
  15901. },
  15902. "couponcategroy": {
  15903. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15904. "type": "integer"
  15905. },
  15906. "couponname": {
  15907. "description": "优惠券名称",
  15908. "type": "string"
  15909. },
  15910. "coupontypeid": {
  15911. "description": "优惠券类型ID",
  15912. "type": "string"
  15913. },
  15914. "couponvalue": {
  15915. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15916. "type": "number"
  15917. },
  15918. "curfreezeqty": {
  15919. "description": "期末冻结数量",
  15920. "type": "integer"
  15921. },
  15922. "curqty": {
  15923. "description": "期末数量",
  15924. "type": "integer"
  15925. },
  15926. "isgeneral": {
  15927. "description": "是否通用券 - 0:否 1:是",
  15928. "type": "integer"
  15929. },
  15930. "isunusable": {
  15931. "description": "是否不可用",
  15932. "type": "boolean"
  15933. },
  15934. "limitedflag": {
  15935. "description": "是否指定商品 - 0:不限 1:限制",
  15936. "type": "integer"
  15937. },
  15938. "limitedgoodsids": {
  15939. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15940. "type": "string"
  15941. },
  15942. "orifreezeqty": {
  15943. "description": "期初冻结数量",
  15944. "type": "integer"
  15945. },
  15946. "oriqty": {
  15947. "description": "期初数量",
  15948. "type": "integer"
  15949. },
  15950. "reasontype": {
  15951. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15952. "type": "integer"
  15953. },
  15954. "todaydecrease": {
  15955. "description": "今日减少",
  15956. "type": "integer"
  15957. },
  15958. "todayincrease": {
  15959. "description": "今日增加",
  15960. "type": "integer"
  15961. },
  15962. "userid": {
  15963. "description": "用户ID",
  15964. "type": "integer"
  15965. },
  15966. "userscope": {
  15967. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15968. "type": "string"
  15969. }
  15970. }
  15971. },
  15972. "models.MyCouponHold": {
  15973. "type": "object",
  15974. "required": [
  15975. "couponholdid"
  15976. ],
  15977. "properties": {
  15978. "accountid": {
  15979. "description": "资金账户ID",
  15980. "type": "integer"
  15981. },
  15982. "conditionvalue": {
  15983. "description": "条件阈值(可为0)",
  15984. "type": "number"
  15985. },
  15986. "couponcategroy": {
  15987. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15988. "type": "integer"
  15989. },
  15990. "couponholdid": {
  15991. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15992. "type": "string"
  15993. },
  15994. "couponname": {
  15995. "description": "优惠券名称",
  15996. "type": "string"
  15997. },
  15998. "coupontypeid": {
  15999. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16000. "type": "string"
  16001. },
  16002. "couponvalue": {
  16003. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16004. "type": "number"
  16005. },
  16006. "createtime": {
  16007. "description": "创建时间",
  16008. "type": "string"
  16009. },
  16010. "enddate": {
  16011. "description": "结束日期",
  16012. "type": "string"
  16013. },
  16014. "giveapplyid": {
  16015. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16016. "type": "integer"
  16017. },
  16018. "holdstatus": {
  16019. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16020. "type": "integer"
  16021. },
  16022. "isgeneral": {
  16023. "description": "是否通用券 - 0:否 1:是",
  16024. "type": "integer"
  16025. },
  16026. "limitedflag": {
  16027. "description": "是否指定商品 - 0:不限 1:限制",
  16028. "type": "integer"
  16029. },
  16030. "limitedgoodsids": {
  16031. "description": "指定商品IDs[逗号分隔]",
  16032. "type": "string"
  16033. },
  16034. "qty": {
  16035. "description": "数量(按1平铺)",
  16036. "type": "integer"
  16037. },
  16038. "startdate": {
  16039. "description": "开始日期",
  16040. "type": "string"
  16041. },
  16042. "userid": {
  16043. "description": "用户ID",
  16044. "type": "integer"
  16045. },
  16046. "userscope": {
  16047. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16048. "type": "string"
  16049. }
  16050. }
  16051. },
  16052. "models.MyUsedCoupon": {
  16053. "type": "object",
  16054. "required": [
  16055. "coupontypeid",
  16056. "orderid"
  16057. ],
  16058. "properties": {
  16059. "accountid": {
  16060. "description": "资金账户ID(买方)",
  16061. "type": "integer"
  16062. },
  16063. "conditionvalue": {
  16064. "description": "条件阈值(可为0)",
  16065. "type": "number"
  16066. },
  16067. "couponcategroy": {
  16068. "description": "种类 - 1:现金券 2:折扣券",
  16069. "type": "integer"
  16070. },
  16071. "couponname": {
  16072. "description": "优惠券名称",
  16073. "type": "string"
  16074. },
  16075. "coupontypeid": {
  16076. "description": "优惠券类型ID(买方)",
  16077. "type": "string"
  16078. },
  16079. "couponvalue": {
  16080. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16081. "type": "number"
  16082. },
  16083. "createtime": {
  16084. "description": "创建时间",
  16085. "type": "string"
  16086. },
  16087. "goodsid": {
  16088. "description": "商品ID",
  16089. "type": "integer"
  16090. },
  16091. "handlestatus": {
  16092. "description": "处理状态",
  16093. "type": "integer"
  16094. },
  16095. "marketid": {
  16096. "description": "市场ID",
  16097. "type": "integer"
  16098. },
  16099. "offamount": {
  16100. "description": "优惠金额",
  16101. "type": "number"
  16102. },
  16103. "orderid": {
  16104. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16105. "type": "string"
  16106. },
  16107. "sellaccountid": {
  16108. "description": "资金账户ID(卖方)",
  16109. "type": "integer"
  16110. },
  16111. "tradeamount": {
  16112. "description": "成交金额",
  16113. "type": "number"
  16114. },
  16115. "tradeid": {
  16116. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16117. "type": "string"
  16118. },
  16119. "usedqty": {
  16120. "description": "使用数量",
  16121. "type": "integer"
  16122. }
  16123. }
  16124. },
  16125. "models.OperationPrimaryMenu": {
  16126. "type": "object",
  16127. "properties": {
  16128. "Children": {
  16129. "description": "二级功能菜单",
  16130. "type": "array",
  16131. "items": {
  16132. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16133. }
  16134. },
  16135. "Key": {
  16136. "description": "菜单KEY",
  16137. "type": "string"
  16138. },
  16139. "Label": {
  16140. "description": "菜单标题",
  16141. "type": "string"
  16142. }
  16143. }
  16144. },
  16145. "models.OperationSecondaryMenu": {
  16146. "type": "object",
  16147. "properties": {
  16148. "Key": {
  16149. "description": "菜单KEY",
  16150. "type": "string"
  16151. },
  16152. "Label": {
  16153. "description": "菜单标题",
  16154. "type": "string"
  16155. },
  16156. "TabList": {
  16157. "description": "三级功能菜单",
  16158. "type": "array",
  16159. "items": {
  16160. "$ref": "#/definitions/models.OperationTabMenu"
  16161. }
  16162. }
  16163. }
  16164. },
  16165. "models.OperationTabMenu": {
  16166. "type": "object",
  16167. "properties": {
  16168. "Key": {
  16169. "description": "菜单KEY",
  16170. "type": "string"
  16171. },
  16172. "Label": {
  16173. "description": "菜单标题",
  16174. "type": "string"
  16175. }
  16176. }
  16177. },
  16178. "models.PendingAuditBizModel": {
  16179. "type": "object",
  16180. "properties": {
  16181. "accountid": {
  16182. "description": "现货账户",
  16183. "type": "string"
  16184. },
  16185. "areaname": {
  16186. "description": "所属部门",
  16187. "type": "string"
  16188. },
  16189. "bizid": {
  16190. "description": "业务ID",
  16191. "type": "string"
  16192. },
  16193. "bizname": {
  16194. "description": "业务名称",
  16195. "type": "string"
  16196. },
  16197. "status": {
  16198. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16199. "type": "integer"
  16200. },
  16201. "type": {
  16202. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16203. "type": "integer"
  16204. }
  16205. }
  16206. },
  16207. "models.QueryErrorInfosRsp": {
  16208. "type": "object",
  16209. "required": [
  16210. "errorid"
  16211. ],
  16212. "properties": {
  16213. "description": {
  16214. "description": "异常描述",
  16215. "type": "string"
  16216. },
  16217. "errorcode": {
  16218. "description": "异常代码",
  16219. "type": "string"
  16220. },
  16221. "errorid": {
  16222. "description": "异常ID",
  16223. "type": "integer"
  16224. },
  16225. "modulecode": {
  16226. "description": "所属模块",
  16227. "type": "string"
  16228. },
  16229. "operatecode": {
  16230. "description": "所属操作",
  16231. "type": "string"
  16232. },
  16233. "rownumber": {
  16234. "description": "行号",
  16235. "type": "string"
  16236. }
  16237. }
  16238. },
  16239. "models.QueryHedgeOrderDetailRsp": {
  16240. "type": "object",
  16241. "properties": {
  16242. "accountid": {
  16243. "description": "账户ID",
  16244. "type": "integer"
  16245. },
  16246. "buyorsell": {
  16247. "description": "买卖 - 0:买 1:卖",
  16248. "type": "integer"
  16249. },
  16250. "cancellogincode": {
  16251. "description": "撤单人",
  16252. "type": "string"
  16253. },
  16254. "channelbuildtype": {
  16255. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16256. "type": "integer"
  16257. },
  16258. "channelinnerorderstatus": {
  16259. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16260. "type": "integer"
  16261. },
  16262. "channeloperatetype": {
  16263. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16264. "type": "integer"
  16265. },
  16266. "closetype": {
  16267. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16268. "type": "integer"
  16269. },
  16270. "curexchangerate": {
  16271. "description": "当前汇率",
  16272. "type": "number"
  16273. },
  16274. "exchangefullname": {
  16275. "description": "外部交易所全称",
  16276. "type": "string"
  16277. },
  16278. "goodscode": {
  16279. "description": "商品代码(内部)",
  16280. "type": "string"
  16281. },
  16282. "goodsid": {
  16283. "description": "商品ID",
  16284. "type": "integer"
  16285. },
  16286. "goodsname": {
  16287. "description": "商品名称",
  16288. "type": "string"
  16289. },
  16290. "marketid": {
  16291. "description": "市场ID",
  16292. "type": "integer"
  16293. },
  16294. "openfreezemargin": {
  16295. "description": "冻结保证金(冻结交易金额)",
  16296. "type": "number"
  16297. },
  16298. "orderid": {
  16299. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16300. "type": "string"
  16301. },
  16302. "orderlogincode": {
  16303. "description": "委托人",
  16304. "type": "string"
  16305. },
  16306. "orderprice": {
  16307. "description": "委托价格(账户)",
  16308. "type": "number"
  16309. },
  16310. "orderqty": {
  16311. "description": "委托数量",
  16312. "type": "integer"
  16313. },
  16314. "ordertime": {
  16315. "description": "委托时间",
  16316. "type": "string"
  16317. },
  16318. "pricemode": {
  16319. "description": "取价方式 - 1:市价 2: 限价",
  16320. "type": "integer"
  16321. },
  16322. "tradedate": {
  16323. "description": "交易日(yyyyMMdd)",
  16324. "type": "string"
  16325. },
  16326. "tradeqty": {
  16327. "description": "成交数量",
  16328. "type": "integer"
  16329. }
  16330. }
  16331. },
  16332. "models.QueryHedgeTradeDetailRsp": {
  16333. "type": "object",
  16334. "properties": {
  16335. "accountid": {
  16336. "description": "账号ID",
  16337. "type": "integer"
  16338. },
  16339. "buyorsell": {
  16340. "description": "方向 - 0:买 1:卖",
  16341. "type": "integer"
  16342. },
  16343. "channelbuildtype": {
  16344. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16345. "type": "integer"
  16346. },
  16347. "closecharge": {
  16348. "description": "平仓手续费(账户)",
  16349. "type": "number"
  16350. },
  16351. "closecharge2": {
  16352. "description": "平仓手续费(商品)",
  16353. "type": "number"
  16354. },
  16355. "closetype": {
  16356. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16357. "type": "integer"
  16358. },
  16359. "curexchangerate": {
  16360. "description": "当前汇率",
  16361. "type": "number"
  16362. },
  16363. "exchangefullname": {
  16364. "description": "外部交易所全称",
  16365. "type": "string"
  16366. },
  16367. "goodscode": {
  16368. "description": "商品代码(内部)",
  16369. "type": "string"
  16370. },
  16371. "goodsid": {
  16372. "description": "商品ID",
  16373. "type": "integer"
  16374. },
  16375. "goodsname": {
  16376. "description": "商品名称",
  16377. "type": "string"
  16378. },
  16379. "marketid": {
  16380. "description": "市场ID",
  16381. "type": "integer"
  16382. },
  16383. "opencharge": {
  16384. "description": "建仓手续费(账户)",
  16385. "type": "number"
  16386. },
  16387. "opencharge2": {
  16388. "description": "建仓手续费(商品)",
  16389. "type": "number"
  16390. },
  16391. "orderid": {
  16392. "description": "委托单号",
  16393. "type": "string"
  16394. },
  16395. "orderlogincode": {
  16396. "description": "委托人",
  16397. "type": "string"
  16398. },
  16399. "tradeamount": {
  16400. "description": "成交金额(账户)",
  16401. "type": "number"
  16402. },
  16403. "tradedate": {
  16404. "description": "交易日(yyyyMMdd)",
  16405. "type": "string"
  16406. },
  16407. "tradeid": {
  16408. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16409. "type": "string"
  16410. },
  16411. "tradeprice": {
  16412. "description": "成交价格",
  16413. "type": "number"
  16414. },
  16415. "tradeqty": {
  16416. "description": "成交数量",
  16417. "type": "integer"
  16418. },
  16419. "tradetime": {
  16420. "description": "成交时间",
  16421. "type": "string"
  16422. },
  16423. "tradetype": {
  16424. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16425. "type": "integer"
  16426. }
  16427. }
  16428. },
  16429. "models.QuotePrimaryMenu": {
  16430. "type": "object",
  16431. "properties": {
  16432. "Index": {
  16433. "description": "序号",
  16434. "type": "integer"
  16435. },
  16436. "Key": {
  16437. "description": "键名",
  16438. "type": "string"
  16439. },
  16440. "Name": {
  16441. "description": "菜单名称",
  16442. "type": "string"
  16443. },
  16444. "SubMenus": {
  16445. "description": "子菜单",
  16446. "type": "array",
  16447. "items": {
  16448. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16449. }
  16450. },
  16451. "SubTitleType": {
  16452. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16453. "type": "integer"
  16454. },
  16455. "TradeModes": {
  16456. "description": "包含市场交易类型",
  16457. "type": "string"
  16458. }
  16459. }
  16460. },
  16461. "models.QuoteSecondaryMenu": {
  16462. "type": "object",
  16463. "properties": {
  16464. "ExExchangeCode": {
  16465. "description": "外部交易所代码",
  16466. "type": "string"
  16467. },
  16468. "ExExchangeID": {
  16469. "description": "外部交易所ID",
  16470. "type": "integer"
  16471. },
  16472. "GoodsGroupIDs": {
  16473. "description": "商品组ID列表",
  16474. "type": "array",
  16475. "items": {
  16476. "type": "integer"
  16477. }
  16478. },
  16479. "Index": {
  16480. "description": "序号",
  16481. "type": "integer"
  16482. },
  16483. "MarketID": {
  16484. "description": "市场ID",
  16485. "type": "integer"
  16486. },
  16487. "MenuTitle": {
  16488. "description": "菜单标题(市场名称或外部交易所名称)",
  16489. "type": "string"
  16490. },
  16491. "TradeMode": {
  16492. "description": "交易模式",
  16493. "type": "integer"
  16494. }
  16495. }
  16496. },
  16497. "models.RelatedGoodsEx": {
  16498. "type": "object",
  16499. "properties": {
  16500. "goodscode": {
  16501. "description": "商品代码",
  16502. "type": "string"
  16503. },
  16504. "goodsid": {
  16505. "description": "商品id",
  16506. "type": "integer"
  16507. },
  16508. "goodsname": {
  16509. "description": "商品名称",
  16510. "type": "string"
  16511. }
  16512. }
  16513. },
  16514. "models.SearchGoods": {
  16515. "type": "object",
  16516. "required": [
  16517. "goodscode",
  16518. "goodsid",
  16519. "goodsname",
  16520. "marketid",
  16521. "trademode"
  16522. ],
  16523. "properties": {
  16524. "goodscode": {
  16525. "description": "商品代码(内部)",
  16526. "type": "string"
  16527. },
  16528. "goodsid": {
  16529. "description": "商品ID(自增ID SEQ_GOODS)",
  16530. "type": "integer"
  16531. },
  16532. "goodsname": {
  16533. "description": "商品名称",
  16534. "type": "string"
  16535. },
  16536. "marketid": {
  16537. "description": "所属市场ID",
  16538. "type": "integer"
  16539. },
  16540. "marketname": {
  16541. "description": "市场名称",
  16542. "type": "string"
  16543. },
  16544. "trademode": {
  16545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16546. "type": "integer"
  16547. }
  16548. }
  16549. },
  16550. "models.Systemparam": {
  16551. "type": "object",
  16552. "required": [
  16553. "paramcode"
  16554. ],
  16555. "properties": {
  16556. "loginid": {
  16557. "description": "更新用户账号,登录账号",
  16558. "type": "string"
  16559. },
  16560. "modifyflag": {
  16561. "description": "修改标志0 不允许修改 1 允许修改",
  16562. "type": "integer"
  16563. },
  16564. "paramcode": {
  16565. "description": "参数代码",
  16566. "type": "string"
  16567. },
  16568. "paramname": {
  16569. "description": "参数名",
  16570. "type": "string"
  16571. },
  16572. "paramtype": {
  16573. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16574. "type": "integer"
  16575. },
  16576. "paramvalue": {
  16577. "description": "参数值",
  16578. "type": "string"
  16579. },
  16580. "paramvalue2": {
  16581. "description": "参数值(CLOB)",
  16582. "type": "string"
  16583. },
  16584. "regexpress": {
  16585. "description": "正则表达式",
  16586. "type": "string"
  16587. },
  16588. "remark": {
  16589. "description": "备注",
  16590. "type": "string"
  16591. },
  16592. "serverip": {
  16593. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16594. "type": "string"
  16595. },
  16596. "showflag": {
  16597. "description": "是否显示0 不显示 1 显示",
  16598. "type": "integer"
  16599. },
  16600. "updatetime": {
  16601. "description": "更新时间",
  16602. "type": "string"
  16603. },
  16604. "userid": {
  16605. "description": "更新用户ID",
  16606. "type": "integer"
  16607. }
  16608. }
  16609. },
  16610. "models.Szdz3convertconfig": {
  16611. "type": "object",
  16612. "required": [
  16613. "converttype",
  16614. "innergoodsid",
  16615. "outergoodscode"
  16616. ],
  16617. "properties": {
  16618. "canin": {
  16619. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16620. "type": "integer"
  16621. },
  16622. "canout": {
  16623. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16624. "type": "integer"
  16625. },
  16626. "converttype": {
  16627. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16628. "type": "integer"
  16629. },
  16630. "createtime": {
  16631. "description": "创建时间",
  16632. "type": "string"
  16633. },
  16634. "creatorid": {
  16635. "description": "创建人",
  16636. "type": "integer"
  16637. },
  16638. "daymaxvalue": {
  16639. "description": "当日最大转入限制",
  16640. "type": "number"
  16641. },
  16642. "freezedays": {
  16643. "description": "冻结天数 [5:花生米转交易]",
  16644. "type": "integer"
  16645. },
  16646. "innergoodsid": {
  16647. "description": "内部商品ID[交易]",
  16648. "type": "integer"
  16649. },
  16650. "inratio": {
  16651. "description": "目标值",
  16652. "type": "integer"
  16653. },
  16654. "modifierid": {
  16655. "description": "修改人",
  16656. "type": "integer"
  16657. },
  16658. "modifytime": {
  16659. "description": "修改时间",
  16660. "type": "string"
  16661. },
  16662. "outergoodscode": {
  16663. "description": "外部商品代码[JD\\PD]",
  16664. "type": "string"
  16665. },
  16666. "outratio": {
  16667. "description": "源值",
  16668. "type": "integer"
  16669. },
  16670. "pddecimalplace": {
  16671. "description": "PD小数位",
  16672. "type": "integer"
  16673. },
  16674. "timemaxvalue": {
  16675. "description": "单次最大转入限制",
  16676. "type": "number"
  16677. },
  16678. "timeminvalue": {
  16679. "description": "单次最小转入限制",
  16680. "type": "number"
  16681. }
  16682. }
  16683. },
  16684. "models.Szdz3searchwhitelist": {
  16685. "type": "object",
  16686. "required": [
  16687. "userid"
  16688. ],
  16689. "properties": {
  16690. "createtime": {
  16691. "description": "创建时间",
  16692. "type": "string"
  16693. },
  16694. "creatorid": {
  16695. "description": "创建人",
  16696. "type": "integer"
  16697. },
  16698. "modifierid": {
  16699. "description": "修改人",
  16700. "type": "integer"
  16701. },
  16702. "modifytime": {
  16703. "description": "修改时间",
  16704. "type": "string"
  16705. },
  16706. "userid": {
  16707. "description": "用户ID",
  16708. "type": "integer"
  16709. }
  16710. }
  16711. },
  16712. "models.Taaccount": {
  16713. "type": "object",
  16714. "required": [
  16715. "accountid",
  16716. "userid"
  16717. ],
  16718. "properties": {
  16719. "accountflag": {
  16720. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16721. "type": "integer"
  16722. },
  16723. "accountid": {
  16724. "description": "资金账户ID",
  16725. "type": "integer"
  16726. },
  16727. "accountname": {
  16728. "description": "账户名称",
  16729. "type": "string"
  16730. },
  16731. "balance": {
  16732. "description": "期初余额",
  16733. "type": "number"
  16734. },
  16735. "capitalbalance": {
  16736. "description": "本金余额[外部子账户实际出入金余额]",
  16737. "type": "number"
  16738. },
  16739. "changeflag": {
  16740. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16741. "type": "integer"
  16742. },
  16743. "changetime": {
  16744. "description": "账户状态变更时间",
  16745. "type": "string"
  16746. },
  16747. "closepl": {
  16748. "description": "今日平仓盈亏",
  16749. "type": "number"
  16750. },
  16751. "creditdecrease": {
  16752. "description": "今日授信减少",
  16753. "type": "number"
  16754. },
  16755. "creditincrease": {
  16756. "description": "今日授信增加",
  16757. "type": "number"
  16758. },
  16759. "currencyid": {
  16760. "description": "货币ID",
  16761. "type": "integer"
  16762. },
  16763. "currentbalance": {
  16764. "description": "期末余额",
  16765. "type": "number"
  16766. },
  16767. "freezecharge": {
  16768. "description": "手续费冻结",
  16769. "type": "number"
  16770. },
  16771. "freezemargin": {
  16772. "description": "冻结保证金",
  16773. "type": "number"
  16774. },
  16775. "fromaccountid": {
  16776. "description": "所属上级账户",
  16777. "type": "integer"
  16778. },
  16779. "inamount": {
  16780. "description": "今日入金金额(包括三方入金)",
  16781. "type": "number"
  16782. },
  16783. "ismain": {
  16784. "description": "是否母账号 0:不是母账户 1:是母账户",
  16785. "type": "integer"
  16786. },
  16787. "ismarketaccount": {
  16788. "description": "是否机构接单账号 0:不是 1:是",
  16789. "type": "integer"
  16790. },
  16791. "isreckonaccount": {
  16792. "description": "是否机构分润账号 0:不是 1:是",
  16793. "type": "integer"
  16794. },
  16795. "mortgagecredit": {
  16796. "description": "授信金额",
  16797. "type": "number"
  16798. },
  16799. "orifreezecharge": {
  16800. "description": "期初手续费冻结",
  16801. "type": "number"
  16802. },
  16803. "orifreezemargin": {
  16804. "description": "期初冻结保证金",
  16805. "type": "number"
  16806. },
  16807. "orimortgagecredit": {
  16808. "description": "期初授信金额",
  16809. "type": "number"
  16810. },
  16811. "oriothercredit": {
  16812. "description": "期初其它授信金额",
  16813. "type": "number"
  16814. },
  16815. "oriotherfreezemargin": {
  16816. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16817. "type": "number"
  16818. },
  16819. "orioutamountfreeze": {
  16820. "description": "期初出金冻结",
  16821. "type": "number"
  16822. },
  16823. "oriusedmargin": {
  16824. "description": "期初占用保证金",
  16825. "type": "number"
  16826. },
  16827. "othercredit": {
  16828. "description": "其它授信金额",
  16829. "type": "number"
  16830. },
  16831. "othercreditdecrease": {
  16832. "description": "今日其它授信减少",
  16833. "type": "number"
  16834. },
  16835. "othercreditincrease": {
  16836. "description": "今日其它授信增加",
  16837. "type": "number"
  16838. },
  16839. "otherfreezemargin": {
  16840. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16841. "type": "number"
  16842. },
  16843. "otherincome": {
  16844. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16845. "type": "number"
  16846. },
  16847. "otherpay": {
  16848. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16849. "type": "number"
  16850. },
  16851. "outamount": {
  16852. "description": "今日出金金额(包括三方出金)",
  16853. "type": "number"
  16854. },
  16855. "outamountfreeze": {
  16856. "description": "出金冻结",
  16857. "type": "number"
  16858. },
  16859. "outthreshold": {
  16860. "description": "出金阈值",
  16861. "type": "number"
  16862. },
  16863. "parentaccountid": {
  16864. "description": "所属根账号",
  16865. "type": "integer"
  16866. },
  16867. "paycharge": {
  16868. "description": "今日手续费支出",
  16869. "type": "number"
  16870. },
  16871. "relatedaccountstatus": {
  16872. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16873. "type": "integer"
  16874. },
  16875. "relateduserid": {
  16876. "description": "关联用户",
  16877. "type": "integer"
  16878. },
  16879. "serivcegroup": {
  16880. "description": "服务分组",
  16881. "type": "integer"
  16882. },
  16883. "signstatus": {
  16884. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16885. "type": "integer"
  16886. },
  16887. "sublevelpath": {
  16888. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16889. "type": "string"
  16890. },
  16891. "taaccounttype": {
  16892. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16893. "type": "integer"
  16894. },
  16895. "thirdinamount": {
  16896. "description": "今日三方入金",
  16897. "type": "number"
  16898. },
  16899. "thirdoutamount": {
  16900. "description": "今日三方出金",
  16901. "type": "number"
  16902. },
  16903. "tradestatus": {
  16904. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16905. "type": "integer"
  16906. },
  16907. "tradestatuschangetime": {
  16908. "description": "激活时间",
  16909. "type": "string"
  16910. },
  16911. "transferamount": {
  16912. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16913. "type": "number"
  16914. },
  16915. "usedmargin": {
  16916. "description": "占用保证金",
  16917. "type": "number"
  16918. },
  16919. "userid": {
  16920. "description": "用户ID",
  16921. "type": "integer"
  16922. }
  16923. }
  16924. },
  16925. "models.Tablecolumnconfig": {
  16926. "type": "object",
  16927. "required": [
  16928. "autoid"
  16929. ],
  16930. "properties": {
  16931. "aligntype": {
  16932. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16933. "type": "integer"
  16934. },
  16935. "autoid": {
  16936. "description": "AutoID",
  16937. "type": "integer"
  16938. },
  16939. "columnfield": {
  16940. "description": "列字段",
  16941. "type": "string"
  16942. },
  16943. "columntitle": {
  16944. "description": "列Title",
  16945. "type": "string"
  16946. },
  16947. "columnwidth": {
  16948. "description": "列宽",
  16949. "type": "string"
  16950. },
  16951. "formatterstring": {
  16952. "description": "格式化字符",
  16953. "type": "string"
  16954. },
  16955. "formattertype": {
  16956. "description": "格式化类型",
  16957. "type": "string"
  16958. },
  16959. "groupname": {
  16960. "description": "表头分组名称",
  16961. "type": "string"
  16962. },
  16963. "isshow": {
  16964. "description": "是否显示 - 0:不显示 1:显示",
  16965. "type": "integer"
  16966. },
  16967. "needsummary": {
  16968. "description": "是否需要汇总 - 0:不需要 1:需要",
  16969. "type": "integer"
  16970. },
  16971. "orderindex": {
  16972. "description": "顺序",
  16973. "type": "integer"
  16974. },
  16975. "remark": {
  16976. "description": "备注",
  16977. "type": "string"
  16978. },
  16979. "summarytype": {
  16980. "description": "汇总类型 - 1:加总 2:最后一个",
  16981. "type": "integer"
  16982. },
  16983. "tablekey": {
  16984. "description": "列表Key",
  16985. "type": "string"
  16986. }
  16987. }
  16988. },
  16989. "models.Useraccount": {
  16990. "type": "object",
  16991. "required": [
  16992. "userid"
  16993. ],
  16994. "properties": {
  16995. "accountname": {
  16996. "description": "账户名称(机构名称)",
  16997. "type": "string"
  16998. },
  16999. "accountstatus": {
  17000. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17001. "type": "integer"
  17002. },
  17003. "auditremark": {
  17004. "description": "审核备注",
  17005. "type": "string"
  17006. },
  17007. "audittime": {
  17008. "description": "审核时间",
  17009. "type": "string"
  17010. },
  17011. "audituserid": {
  17012. "description": "审核人",
  17013. "type": "integer"
  17014. },
  17015. "broker": {
  17016. "description": "所属经纪人ID",
  17017. "type": "integer"
  17018. },
  17019. "canceltime": {
  17020. "description": "销户时间",
  17021. "type": "string"
  17022. },
  17023. "canceluserid": {
  17024. "description": "销户人",
  17025. "type": "integer"
  17026. },
  17027. "createtime": {
  17028. "description": "创建时间",
  17029. "type": "string"
  17030. },
  17031. "creatorid": {
  17032. "description": "创建人",
  17033. "type": "integer"
  17034. },
  17035. "hasauth": {
  17036. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17037. "type": "integer"
  17038. },
  17039. "isanonymous": {
  17040. "description": "是否匿名下单 - 0:否 1:是",
  17041. "type": "integer"
  17042. },
  17043. "maxinvestornum": {
  17044. "description": "最大用户数(经纪会员下投资者个数)",
  17045. "type": "integer"
  17046. },
  17047. "memberuserid": {
  17048. "description": "所属会员ID",
  17049. "type": "integer"
  17050. },
  17051. "modifierid": {
  17052. "description": "修改人",
  17053. "type": "integer"
  17054. },
  17055. "modifyremark": {
  17056. "description": "变更备注",
  17057. "type": "string"
  17058. },
  17059. "modifystatus": {
  17060. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17061. "type": "integer"
  17062. },
  17063. "modifytime": {
  17064. "description": "修改时间",
  17065. "type": "string"
  17066. },
  17067. "parentuserid": {
  17068. "description": "所属机构ID",
  17069. "type": "integer"
  17070. },
  17071. "reckonaccountid": {
  17072. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17073. "type": "integer"
  17074. },
  17075. "refercount": {
  17076. "description": "推荐总人数",
  17077. "type": "integer"
  17078. },
  17079. "refereeuserid": {
  17080. "description": "推荐人ID",
  17081. "type": "integer"
  17082. },
  17083. "refernum": {
  17084. "description": "推荐码",
  17085. "type": "string"
  17086. },
  17087. "subarealevelpath": {
  17088. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17089. "type": "string"
  17090. },
  17091. "userid": {
  17092. "description": "用户ID",
  17093. "type": "integer"
  17094. },
  17095. "usertype": {
  17096. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17097. "type": "integer"
  17098. }
  17099. }
  17100. },
  17101. "models.Userfavoritegoods": {
  17102. "type": "object",
  17103. "required": [
  17104. "goodsid"
  17105. ],
  17106. "properties": {
  17107. "goodsid": {
  17108. "description": "商品ID",
  17109. "type": "integer"
  17110. }
  17111. }
  17112. },
  17113. "models.Userinfo": {
  17114. "type": "object",
  17115. "required": [
  17116. "userid"
  17117. ],
  17118. "properties": {
  17119. "address": {
  17120. "description": "地址",
  17121. "type": "string"
  17122. },
  17123. "attachment1": {
  17124. "description": "附件1",
  17125. "type": "string"
  17126. },
  17127. "attachment2": {
  17128. "description": "附件2",
  17129. "type": "string"
  17130. },
  17131. "bankaccount": {
  17132. "description": "银行帐号 (加密存储)",
  17133. "type": "string"
  17134. },
  17135. "bankaccountname": {
  17136. "description": "收款人名称",
  17137. "type": "string"
  17138. },
  17139. "bankcardfrontphotourl": {
  17140. "description": "银行卡正面照地址",
  17141. "type": "string"
  17142. },
  17143. "bankid": {
  17144. "description": "银行编码",
  17145. "type": "string"
  17146. },
  17147. "bankname": {
  17148. "description": "银行名称",
  17149. "type": "string"
  17150. },
  17151. "biznature": {
  17152. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17153. "type": "integer"
  17154. },
  17155. "bizscope": {
  17156. "description": "企业经营范围(企业)",
  17157. "type": "string"
  17158. },
  17159. "cardbackphotourl": {
  17160. "description": "证件背面图片地址",
  17161. "type": "string"
  17162. },
  17163. "cardfrontphotourl": {
  17164. "description": "证件正面图片地址",
  17165. "type": "string"
  17166. },
  17167. "cardnum": {
  17168. "description": "证件号码(加密存储)",
  17169. "type": "string"
  17170. },
  17171. "cardtypeid": {
  17172. "description": "证件类型ID",
  17173. "type": "integer"
  17174. },
  17175. "cityid": {
  17176. "description": "市",
  17177. "type": "integer"
  17178. },
  17179. "company": {
  17180. "description": "公司(个人)",
  17181. "type": "string"
  17182. },
  17183. "contactname": {
  17184. "description": "联系人",
  17185. "type": "string"
  17186. },
  17187. "countryid": {
  17188. "description": "国家",
  17189. "type": "integer"
  17190. },
  17191. "createtime": {
  17192. "description": "创建时间",
  17193. "type": "string"
  17194. },
  17195. "creatorid": {
  17196. "description": "创建人",
  17197. "type": "integer"
  17198. },
  17199. "customername": {
  17200. "description": "客户名称(企业名称)",
  17201. "type": "string"
  17202. },
  17203. "districtid": {
  17204. "description": "地区",
  17205. "type": "integer"
  17206. },
  17207. "email": {
  17208. "description": "邮件(加密存储)",
  17209. "type": "string"
  17210. },
  17211. "fax": {
  17212. "description": "传真(加密存储)",
  17213. "type": "string"
  17214. },
  17215. "halfbodyphotourl": {
  17216. "description": "半身照地址",
  17217. "type": "string"
  17218. },
  17219. "hasencrypt": {
  17220. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17221. "type": "integer"
  17222. },
  17223. "headurl": {
  17224. "description": "头像地址",
  17225. "type": "string"
  17226. },
  17227. "legalcardbackphotourl": {
  17228. "description": "法人身份证背面照地址",
  17229. "type": "string"
  17230. },
  17231. "legalcardfrontphotourl": {
  17232. "description": "法人身份证正面照地址",
  17233. "type": "string"
  17234. },
  17235. "legalpersonname": {
  17236. "description": "法人姓名(企业)",
  17237. "type": "string"
  17238. },
  17239. "mobile": {
  17240. "description": "手机号码(加密存储)",
  17241. "type": "string"
  17242. },
  17243. "mobile2": {
  17244. "description": "手机号码[明文-尚志]",
  17245. "type": "string"
  17246. },
  17247. "modifierid": {
  17248. "description": "修改人",
  17249. "type": "integer"
  17250. },
  17251. "modifiertime": {
  17252. "description": "修改时间",
  17253. "type": "string"
  17254. },
  17255. "needinvoice": {
  17256. "description": "是否需要发票 - 0:不需要 1:需要",
  17257. "type": "integer"
  17258. },
  17259. "nickname": {
  17260. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17261. "type": "string"
  17262. },
  17263. "openmode": {
  17264. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17265. "type": "integer"
  17266. },
  17267. "otherurl": {
  17268. "description": "其它图片地址[使用分号分隔]",
  17269. "type": "string"
  17270. },
  17271. "postalcode": {
  17272. "description": "邮政编码",
  17273. "type": "string"
  17274. },
  17275. "provinceid": {
  17276. "description": "省",
  17277. "type": "integer"
  17278. },
  17279. "qq": {
  17280. "description": "QQ(加密存储",
  17281. "type": "string"
  17282. },
  17283. "remark": {
  17284. "description": "备注",
  17285. "type": "string"
  17286. },
  17287. "sex": {
  17288. "description": "用户性别 0: 女 1: 男",
  17289. "type": "integer"
  17290. },
  17291. "signpdfurl": {
  17292. "description": "签约pdf文件",
  17293. "type": "string"
  17294. },
  17295. "telphone": {
  17296. "description": "联系电话(加密存储)",
  17297. "type": "string"
  17298. },
  17299. "userid": {
  17300. "description": "用户ID",
  17301. "type": "integer"
  17302. },
  17303. "userinfotype": {
  17304. "description": "用户信息类型 - 1:个人 2:企业",
  17305. "type": "integer"
  17306. },
  17307. "userstatus": {
  17308. "description": "用户状态 - 1:正常 2:注销",
  17309. "type": "integer"
  17310. },
  17311. "usertype": {
  17312. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17313. "type": "integer"
  17314. },
  17315. "wechat": {
  17316. "description": "微信(加密存储)",
  17317. "type": "string"
  17318. },
  17319. "wskhinfo": {
  17320. "description": "开户申请信息(JSON)",
  17321. "type": "string"
  17322. }
  17323. }
  17324. },
  17325. "models.WRCategoryTree": {
  17326. "type": "object",
  17327. "required": [
  17328. "categoryid"
  17329. ],
  17330. "properties": {
  17331. "areauserid": {
  17332. "description": "所属机构",
  17333. "type": "integer"
  17334. },
  17335. "categorydesc": {
  17336. "description": "类别描述",
  17337. "type": "string"
  17338. },
  17339. "categoryid": {
  17340. "description": "类别ID(SEQ_WRCATEGORY)",
  17341. "type": "integer"
  17342. },
  17343. "categoryname": {
  17344. "description": "类别名称",
  17345. "type": "string"
  17346. },
  17347. "iconurl": {
  17348. "description": "图标地址",
  17349. "type": "string"
  17350. },
  17351. "orderindex": {
  17352. "description": "顺序",
  17353. "type": "integer"
  17354. },
  17355. "parentcategoryid": {
  17356. "description": "父类别ID",
  17357. "type": "integer"
  17358. },
  17359. "subcategory": {
  17360. "description": "子分类",
  17361. "type": "array",
  17362. "items": {
  17363. "$ref": "#/definitions/models.WRCategoryTree"
  17364. }
  17365. }
  17366. }
  17367. },
  17368. "models.WRSConverTDetail": {
  17369. "type": "object",
  17370. "properties": {
  17371. "convertratio": {
  17372. "description": "套保系数",
  17373. "type": "number"
  17374. },
  17375. "deliverygoodsid": {
  17376. "description": "现货品种ID",
  17377. "type": "integer"
  17378. },
  17379. "middlegoodscode": {
  17380. "description": "套保品种代码",
  17381. "type": "string"
  17382. },
  17383. "middlegoodsid": {
  17384. "description": "套保品种ID",
  17385. "type": "integer"
  17386. },
  17387. "middlegoodsname": {
  17388. "description": "套保品种名称",
  17389. "type": "string"
  17390. },
  17391. "modifytime": {
  17392. "description": "修改时间",
  17393. "type": "string"
  17394. },
  17395. "wrstandardid": {
  17396. "description": "现货商品ID",
  17397. "type": "integer"
  17398. }
  17399. }
  17400. },
  17401. "models.WRStandardInfo": {
  17402. "type": "object",
  17403. "required": [
  17404. "wrstandardid"
  17405. ],
  17406. "properties": {
  17407. "createtime": {
  17408. "description": "创建时间",
  17409. "type": "string"
  17410. },
  17411. "creatorid": {
  17412. "description": "创建人",
  17413. "type": "integer"
  17414. },
  17415. "deliverygoodsid": {
  17416. "description": "品种ID",
  17417. "type": "integer"
  17418. },
  17419. "deliverygoodsname": {
  17420. "description": "交割商品名称",
  17421. "type": "string"
  17422. },
  17423. "factoryitemjson": {
  17424. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17425. "type": "string"
  17426. },
  17427. "isvalid": {
  17428. "description": "是否有效 - 0:无效 1:有效",
  17429. "type": "integer"
  17430. },
  17431. "minivalue": {
  17432. "description": "最小变动值",
  17433. "type": "integer"
  17434. },
  17435. "minivaluedp": {
  17436. "description": "最小变动值小数位",
  17437. "type": "integer"
  17438. },
  17439. "realminivalue": {
  17440. "description": "实际最小变动值",
  17441. "type": "integer"
  17442. },
  17443. "realminivaluedp": {
  17444. "description": "实际最小变动值小数位",
  17445. "type": "integer"
  17446. },
  17447. "unitid": {
  17448. "description": "单位ID",
  17449. "type": "integer"
  17450. },
  17451. "unitname": {
  17452. "description": "单位",
  17453. "type": "string"
  17454. },
  17455. "updatetime": {
  17456. "description": "更新时间",
  17457. "type": "string"
  17458. },
  17459. "updatorid": {
  17460. "description": "更新人",
  17461. "type": "integer"
  17462. },
  17463. "wrsstatus": {
  17464. "description": "状态 - 作废 - 0:未激活 1:正常",
  17465. "type": "integer"
  17466. },
  17467. "wrstandardcode": {
  17468. "description": "仓单标准代码",
  17469. "type": "string"
  17470. },
  17471. "wrstandardid": {
  17472. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17473. "type": "integer"
  17474. },
  17475. "wrstandardname": {
  17476. "description": "仓单标准名称",
  17477. "type": "string"
  17478. }
  17479. }
  17480. },
  17481. "models.Warehouseinfo": {
  17482. "type": "object",
  17483. "required": [
  17484. "autoid",
  17485. "warehousecode"
  17486. ],
  17487. "properties": {
  17488. "address": {
  17489. "description": "详细地址",
  17490. "type": "string"
  17491. },
  17492. "areauserid": {
  17493. "description": "所属机构",
  17494. "type": "integer"
  17495. },
  17496. "autoid": {
  17497. "description": "自增ID",
  17498. "type": "integer"
  17499. },
  17500. "cityid": {
  17501. "description": "市",
  17502. "type": "integer"
  17503. },
  17504. "contactname": {
  17505. "description": "联系人",
  17506. "type": "string"
  17507. },
  17508. "contactnum": {
  17509. "description": "联系电话",
  17510. "type": "string"
  17511. },
  17512. "countryid": {
  17513. "description": "国家",
  17514. "type": "integer"
  17515. },
  17516. "createtime": {
  17517. "description": "创建时间",
  17518. "type": "string"
  17519. },
  17520. "districtid": {
  17521. "description": "区",
  17522. "type": "integer"
  17523. },
  17524. "hasvideo": {
  17525. "description": "是否有视频 - 0:无 1:有",
  17526. "type": "integer"
  17527. },
  17528. "provinceid": {
  17529. "description": "省",
  17530. "type": "integer"
  17531. },
  17532. "remark": {
  17533. "description": "审核备注",
  17534. "type": "string"
  17535. },
  17536. "videourl": {
  17537. "description": "视频地址",
  17538. "type": "string"
  17539. },
  17540. "warehousecode": {
  17541. "description": "仓库代码",
  17542. "type": "string"
  17543. },
  17544. "warehousename": {
  17545. "description": "仓库名称",
  17546. "type": "string"
  17547. },
  17548. "warehousestatus": {
  17549. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17550. "type": "integer"
  17551. },
  17552. "warehousetype": {
  17553. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17554. "type": "integer"
  17555. }
  17556. }
  17557. },
  17558. "order.QueryHisTradeDetailRsp": {
  17559. "type": "object",
  17560. "required": [
  17561. "accountid",
  17562. "buyorsell",
  17563. "goodsid",
  17564. "histradedate",
  17565. "marketid",
  17566. "memberuserid",
  17567. "orderid",
  17568. "tradeamount",
  17569. "tradedate",
  17570. "tradeid",
  17571. "tradeprice",
  17572. "tradeqty",
  17573. "tradetime"
  17574. ],
  17575. "properties": {
  17576. "accountid": {
  17577. "description": "账户ID[报价币种]",
  17578. "type": "integer"
  17579. },
  17580. "buildtype": {
  17581. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17582. "type": "integer"
  17583. },
  17584. "buyorsell": {
  17585. "description": "方向 - 0:买 1:卖",
  17586. "type": "integer"
  17587. },
  17588. "charge": {
  17589. "description": "手续费",
  17590. "type": "number"
  17591. },
  17592. "closecharge": {
  17593. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17594. "type": "number"
  17595. },
  17596. "closeexchagechargevalue": {
  17597. "description": "平仓交易所手续费设置值",
  17598. "type": "number"
  17599. },
  17600. "closefeealgorithm": {
  17601. "description": "平仓手续费收取方式 1:比率 2:固定",
  17602. "type": "integer"
  17603. },
  17604. "closememberchargevalue": {
  17605. "description": "平仓会员手续费设置值",
  17606. "type": "number"
  17607. },
  17608. "closepl": {
  17609. "description": "平仓盈亏",
  17610. "type": "number"
  17611. },
  17612. "closepl2": {
  17613. "description": "平仓盈亏[逐笔]",
  17614. "type": "number"
  17615. },
  17616. "closeqty": {
  17617. "description": "平仓数量(先建后平操作 需要记录)",
  17618. "type": "integer"
  17619. },
  17620. "creditamount": {
  17621. "description": "授信金额",
  17622. "type": "number"
  17623. },
  17624. "gcaccountid": {
  17625. "description": "账户ID[合约币种]",
  17626. "type": "integer"
  17627. },
  17628. "goodscode": {
  17629. "description": "商品代码",
  17630. "type": "string"
  17631. },
  17632. "goodsid": {
  17633. "description": "商品ID",
  17634. "type": "integer"
  17635. },
  17636. "goodsname": {
  17637. "description": "商品名称",
  17638. "type": "string"
  17639. },
  17640. "histradedate": {
  17641. "description": "历史交易日",
  17642. "type": "string"
  17643. },
  17644. "intclosepl": {
  17645. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17646. "type": "integer"
  17647. },
  17648. "isconfirmexercise": {
  17649. "description": "是否确认行权- 0:否 1:是",
  17650. "type": "integer"
  17651. },
  17652. "ismain": {
  17653. "description": "是否主单 - 0:不是 1:是",
  17654. "type": "integer"
  17655. },
  17656. "ispreexercise": {
  17657. "description": "是否预申报- 0:否 1:是",
  17658. "type": "integer"
  17659. },
  17660. "isreckoned": {
  17661. "description": "是否结算 - 0:未结算 1:已结算",
  17662. "type": "integer"
  17663. },
  17664. "isvaliddata": {
  17665. "description": "是否有效 - 0:无效 1:有效",
  17666. "type": "integer"
  17667. },
  17668. "listingselecttype": {
  17669. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17670. "type": "integer"
  17671. },
  17672. "marketid": {
  17673. "description": "市场ID",
  17674. "type": "integer"
  17675. },
  17676. "marketname": {
  17677. "description": "市场名称",
  17678. "type": "string"
  17679. },
  17680. "matchaccountid": {
  17681. "description": "对手账号id",
  17682. "type": "integer"
  17683. },
  17684. "memberuserid": {
  17685. "description": "会员id 个人投资者 需要填写",
  17686. "type": "integer"
  17687. },
  17688. "opencharge": {
  17689. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17690. "type": "number"
  17691. },
  17692. "openexchagechargevalue": {
  17693. "description": "建仓交易所手续费设置值",
  17694. "type": "number"
  17695. },
  17696. "openfeealgorithm": {
  17697. "description": "建仓手续费收取方式 1:比率 2:固定",
  17698. "type": "integer"
  17699. },
  17700. "openmemberchargevalue": {
  17701. "description": "建仓会员手续费设置值",
  17702. "type": "number"
  17703. },
  17704. "openqty": {
  17705. "description": "开仓数量(先建后平操作 需要记录)",
  17706. "type": "integer"
  17707. },
  17708. "optiontype": {
  17709. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17710. "type": "integer"
  17711. },
  17712. "orderid": {
  17713. "description": "委托单号",
  17714. "type": "string"
  17715. },
  17716. "performanceplanid": {
  17717. "description": "履约计划ID[期权]",
  17718. "type": "integer"
  17719. },
  17720. "performancestatus": {
  17721. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17722. "type": "integer"
  17723. },
  17724. "preexerciseprice": {
  17725. "description": "预申报价格",
  17726. "type": "number"
  17727. },
  17728. "premium": {
  17729. "description": "权利金 - [持仓单的权利金]",
  17730. "type": "number"
  17731. },
  17732. "relatedouttradeid": {
  17733. "description": "关联外部成交单ID",
  17734. "type": "integer"
  17735. },
  17736. "status": {
  17737. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17738. "type": "integer"
  17739. },
  17740. "tradeamount": {
  17741. "description": "成交金额[账户币种,用于所有权]",
  17742. "type": "number"
  17743. },
  17744. "tradedate": {
  17745. "description": "交易日(yyyyMMdd)",
  17746. "type": "string"
  17747. },
  17748. "tradeid": {
  17749. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17750. "type": "string"
  17751. },
  17752. "trademode": {
  17753. "description": "交易模式",
  17754. "type": "integer"
  17755. },
  17756. "tradeprice": {
  17757. "description": "成交价格",
  17758. "type": "number"
  17759. },
  17760. "tradeproperty": {
  17761. "description": "交易属性",
  17762. "type": "integer"
  17763. },
  17764. "tradeqty": {
  17765. "description": "成交数量",
  17766. "type": "integer"
  17767. },
  17768. "tradetime": {
  17769. "description": "成交时间",
  17770. "type": "string"
  17771. },
  17772. "tradetype": {
  17773. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17774. "type": "integer"
  17775. }
  17776. }
  17777. },
  17778. "order.QueryHisTradeOrderDetailRsp": {
  17779. "type": "object",
  17780. "required": [
  17781. "accountid",
  17782. "buildtype",
  17783. "buyorsell",
  17784. "goodsid",
  17785. "histradedate",
  17786. "marketid",
  17787. "memberuserid",
  17788. "operatetype",
  17789. "orderid",
  17790. "orderqty",
  17791. "ordertime",
  17792. "pricemode",
  17793. "tradedate",
  17794. "validtype"
  17795. ],
  17796. "properties": {
  17797. "accountid": {
  17798. "description": "账户ID[报价币种]",
  17799. "type": "integer"
  17800. },
  17801. "buildtype": {
  17802. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17803. "type": "integer"
  17804. },
  17805. "buyorsell": {
  17806. "description": "买卖 - 0:买 1:卖",
  17807. "type": "integer"
  17808. },
  17809. "cancelorderid": {
  17810. "description": "撤单单号(撤单时填写)",
  17811. "type": "string"
  17812. },
  17813. "cancelqty": {
  17814. "description": "撤单数量",
  17815. "type": "integer"
  17816. },
  17817. "clientordertime": {
  17818. "description": "客户端委托时间",
  17819. "type": "string"
  17820. },
  17821. "clientticket": {
  17822. "description": "客户端流水号",
  17823. "type": "string"
  17824. },
  17825. "clienttype": {
  17826. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17827. "type": "integer"
  17828. },
  17829. "closeexchagechargevalue": {
  17830. "description": "平仓交易所手续费设置值",
  17831. "type": "number"
  17832. },
  17833. "closefeealgorithm": {
  17834. "description": "平仓手续费收取方式 1:比率 2:固定",
  17835. "type": "integer"
  17836. },
  17837. "closefreezecharge": {
  17838. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17839. "type": "number"
  17840. },
  17841. "closememberchargevalue": {
  17842. "description": "平仓会员手续费设置值",
  17843. "type": "number"
  17844. },
  17845. "closeqty": {
  17846. "description": "平仓数量(先建后平操作 需要记录)",
  17847. "type": "integer"
  17848. },
  17849. "closetradeqty": {
  17850. "description": "平仓成交数量(先建后平操作,需要记录)",
  17851. "type": "integer"
  17852. },
  17853. "closeunfreezecharge": {
  17854. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17855. "type": "number"
  17856. },
  17857. "delistingtype": {
  17858. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17859. "type": "integer"
  17860. },
  17861. "freezecharge": {
  17862. "description": "冻结手续费",
  17863. "type": "number"
  17864. },
  17865. "freezemargin": {
  17866. "description": "冻结保证金(冻结交易金额)",
  17867. "type": "number"
  17868. },
  17869. "gcaccountid": {
  17870. "description": "账户ID[合约币种]",
  17871. "type": "integer"
  17872. },
  17873. "goodscode": {
  17874. "description": "商品代码",
  17875. "type": "string"
  17876. },
  17877. "goodsid": {
  17878. "description": "商品ID",
  17879. "type": "integer"
  17880. },
  17881. "goodsname": {
  17882. "description": "商品名称",
  17883. "type": "string"
  17884. },
  17885. "histradedate": {
  17886. "description": "历史交易日",
  17887. "type": "string"
  17888. },
  17889. "isconfirmexercise": {
  17890. "description": "是否确认行权- 0:否 1:是",
  17891. "type": "integer"
  17892. },
  17893. "ispreexercise": {
  17894. "description": "是否预申报- 0:否 1:是",
  17895. "type": "integer"
  17896. },
  17897. "isvaliddata": {
  17898. "description": "是否有效 - 0:无效 1:有效",
  17899. "type": "integer"
  17900. },
  17901. "listingselecttype": {
  17902. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17903. "type": "integer"
  17904. },
  17905. "marginalgorithm": {
  17906. "description": "保证金收取方式 1:比率 2:固定",
  17907. "type": "integer"
  17908. },
  17909. "marginvalue": {
  17910. "description": "即市保证金设置值",
  17911. "type": "number"
  17912. },
  17913. "marketid": {
  17914. "description": "市场ID",
  17915. "type": "integer"
  17916. },
  17917. "marketmaxsub": {
  17918. "description": "市价最大偏移范围",
  17919. "type": "number"
  17920. },
  17921. "marketname": {
  17922. "description": "市场名称",
  17923. "type": "string"
  17924. },
  17925. "memberuserid": {
  17926. "description": "所属会员UserID",
  17927. "type": "integer"
  17928. },
  17929. "openexchagechargevalue": {
  17930. "description": "建仓交易所手续费设置值",
  17931. "type": "number"
  17932. },
  17933. "openfeealgorithm": {
  17934. "description": "建仓手续费收取方式 1:比率 2:固定",
  17935. "type": "integer"
  17936. },
  17937. "openfreezecharge": {
  17938. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17939. "type": "number"
  17940. },
  17941. "openmemberchargevalue": {
  17942. "description": "建仓会员手续费设置值",
  17943. "type": "number"
  17944. },
  17945. "openqty": {
  17946. "description": "开仓数量(先建后平操作,需要记录)",
  17947. "type": "integer"
  17948. },
  17949. "opentradeqty": {
  17950. "description": "开仓成交数量(先建后平操作,需要记录)",
  17951. "type": "integer"
  17952. },
  17953. "openunfreezecharge": {
  17954. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17955. "type": "number"
  17956. },
  17957. "operatetype": {
  17958. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17959. "type": "integer"
  17960. },
  17961. "operatorid": {
  17962. "description": "登录账号(LoginID)",
  17963. "type": "integer"
  17964. },
  17965. "optiontype": {
  17966. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17967. "type": "integer"
  17968. },
  17969. "orderid": {
  17970. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17971. "type": "string"
  17972. },
  17973. "orderprice": {
  17974. "description": "委托价格",
  17975. "type": "number"
  17976. },
  17977. "orderqty": {
  17978. "description": "委托数量",
  17979. "type": "integer"
  17980. },
  17981. "ordersrc": {
  17982. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17983. "type": "integer"
  17984. },
  17985. "orderstatus": {
  17986. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17987. "type": "integer"
  17988. },
  17989. "ordertime": {
  17990. "description": "委托时间",
  17991. "type": "string"
  17992. },
  17993. "preexerciseprice": {
  17994. "description": "预申报价格",
  17995. "type": "number"
  17996. },
  17997. "premium": {
  17998. "description": "权利金",
  17999. "type": "number"
  18000. },
  18001. "preorderid": {
  18002. "description": "关联预埋单号(止盈止损单时填写)",
  18003. "type": "string"
  18004. },
  18005. "pricemode": {
  18006. "description": "取价方式 - 1:市价 2: 限价",
  18007. "type": "integer"
  18008. },
  18009. "quoteid": {
  18010. "description": "报价单ID",
  18011. "type": "integer"
  18012. },
  18013. "relatedid": {
  18014. "description": "关联单号(交割单)",
  18015. "type": "string"
  18016. },
  18017. "retcode": {
  18018. "description": "错误代码",
  18019. "type": "integer"
  18020. },
  18021. "sessionid": {
  18022. "description": "会话ID",
  18023. "type": "integer"
  18024. },
  18025. "tradedate": {
  18026. "description": "交易日(yyyyMMdd)",
  18027. "type": "string"
  18028. },
  18029. "trademode": {
  18030. "description": "交易模式",
  18031. "type": "integer"
  18032. },
  18033. "tradeproperty": {
  18034. "description": "交易属性",
  18035. "type": "integer"
  18036. },
  18037. "tradeqty": {
  18038. "description": "成交数量",
  18039. "type": "integer"
  18040. },
  18041. "unfreezecharge": {
  18042. "description": "解冻手续费",
  18043. "type": "number"
  18044. },
  18045. "unfreezemargin": {
  18046. "description": "解冻保证金",
  18047. "type": "number"
  18048. },
  18049. "updatetime": {
  18050. "description": "更新时间",
  18051. "type": "string"
  18052. },
  18053. "uuid": {
  18054. "description": "发起端唯一id",
  18055. "type": "string"
  18056. },
  18057. "validtime": {
  18058. "description": "有效期限",
  18059. "type": "string"
  18060. },
  18061. "validtype": {
  18062. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18063. "type": "integer"
  18064. },
  18065. "volumetype": {
  18066. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18067. "type": "integer"
  18068. }
  18069. }
  18070. },
  18071. "order.QueryTradeDetailRsp": {
  18072. "type": "object",
  18073. "required": [
  18074. "accountid",
  18075. "buyorsell",
  18076. "goodsid",
  18077. "marketid",
  18078. "memberuserid",
  18079. "orderid",
  18080. "tradeamount",
  18081. "tradedate",
  18082. "tradeid",
  18083. "tradeprice",
  18084. "tradeqty",
  18085. "tradetime"
  18086. ],
  18087. "properties": {
  18088. "accountid": {
  18089. "description": "账户ID[报价币种]",
  18090. "type": "integer"
  18091. },
  18092. "buildtype": {
  18093. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18094. "type": "integer"
  18095. },
  18096. "buyorsell": {
  18097. "description": "方向 - 0:买 1:卖",
  18098. "type": "integer"
  18099. },
  18100. "charge": {
  18101. "description": "手续费",
  18102. "type": "number"
  18103. },
  18104. "closecharge": {
  18105. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18106. "type": "number"
  18107. },
  18108. "closeexchagechargevalue": {
  18109. "description": "平仓交易所手续费设置值",
  18110. "type": "number"
  18111. },
  18112. "closefeealgorithm": {
  18113. "description": "平仓手续费收取方式 1:比率 2:固定",
  18114. "type": "integer"
  18115. },
  18116. "closememberchargevalue": {
  18117. "description": "平仓会员手续费设置值",
  18118. "type": "number"
  18119. },
  18120. "closepl": {
  18121. "description": "平仓盈亏",
  18122. "type": "number"
  18123. },
  18124. "closepl2": {
  18125. "description": "平仓盈亏[逐笔]",
  18126. "type": "number"
  18127. },
  18128. "closeqty": {
  18129. "description": "平仓数量(先建后平操作 需要记录)",
  18130. "type": "integer"
  18131. },
  18132. "creditamount": {
  18133. "description": "授信金额",
  18134. "type": "number"
  18135. },
  18136. "gcaccountid": {
  18137. "description": "账户ID[合约币种]",
  18138. "type": "integer"
  18139. },
  18140. "goodscode": {
  18141. "description": "商品代码",
  18142. "type": "string"
  18143. },
  18144. "goodsid": {
  18145. "description": "商品ID",
  18146. "type": "integer"
  18147. },
  18148. "goodsname": {
  18149. "description": "商品名称",
  18150. "type": "string"
  18151. },
  18152. "intclosepl": {
  18153. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18154. "type": "integer"
  18155. },
  18156. "isconfirmexercise": {
  18157. "description": "是否确认行权- 0:否 1:是",
  18158. "type": "integer"
  18159. },
  18160. "ismain": {
  18161. "description": "是否主单 - 0:不是 1:是",
  18162. "type": "integer"
  18163. },
  18164. "ispreexercise": {
  18165. "description": "是否预申报- 0:否 1:是",
  18166. "type": "integer"
  18167. },
  18168. "isreckoned": {
  18169. "description": "是否结算 - 0:未结算 1:已结算",
  18170. "type": "integer"
  18171. },
  18172. "listingselecttype": {
  18173. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18174. "type": "integer"
  18175. },
  18176. "marketid": {
  18177. "description": "市场ID",
  18178. "type": "integer"
  18179. },
  18180. "marketname": {
  18181. "description": "市场名称",
  18182. "type": "string"
  18183. },
  18184. "matchaccountid": {
  18185. "description": "对手账号id",
  18186. "type": "integer"
  18187. },
  18188. "memberuserid": {
  18189. "description": "会员id 个人投资者 需要填写",
  18190. "type": "integer"
  18191. },
  18192. "opencharge": {
  18193. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18194. "type": "number"
  18195. },
  18196. "openexchagechargevalue": {
  18197. "description": "建仓交易所手续费设置值",
  18198. "type": "number"
  18199. },
  18200. "openfeealgorithm": {
  18201. "description": "建仓手续费收取方式 1:比率 2:固定",
  18202. "type": "integer"
  18203. },
  18204. "openmemberchargevalue": {
  18205. "description": "建仓会员手续费设置值",
  18206. "type": "number"
  18207. },
  18208. "openqty": {
  18209. "description": "开仓数量(先建后平操作 需要记录)",
  18210. "type": "integer"
  18211. },
  18212. "optiontype": {
  18213. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18214. "type": "integer"
  18215. },
  18216. "orderid": {
  18217. "description": "委托单号",
  18218. "type": "string"
  18219. },
  18220. "performanceplanid": {
  18221. "description": "履约计划ID[期权]",
  18222. "type": "integer"
  18223. },
  18224. "performancestatus": {
  18225. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18226. "type": "integer"
  18227. },
  18228. "preexerciseprice": {
  18229. "description": "预申报价格",
  18230. "type": "number"
  18231. },
  18232. "premium": {
  18233. "description": "权利金 - [持仓单的权利金]",
  18234. "type": "number"
  18235. },
  18236. "relatedouttradeid": {
  18237. "description": "关联外部成交单ID",
  18238. "type": "integer"
  18239. },
  18240. "status": {
  18241. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18242. "type": "integer"
  18243. },
  18244. "tradeamount": {
  18245. "description": "成交金额[账户币种,用于所有权]",
  18246. "type": "number"
  18247. },
  18248. "tradedate": {
  18249. "description": "交易日(yyyyMMdd)",
  18250. "type": "string"
  18251. },
  18252. "tradeid": {
  18253. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18254. "type": "string"
  18255. },
  18256. "trademode": {
  18257. "description": "交易模式",
  18258. "type": "integer"
  18259. },
  18260. "tradeprice": {
  18261. "description": "成交价格",
  18262. "type": "number"
  18263. },
  18264. "tradeproperty": {
  18265. "description": "交易属性",
  18266. "type": "integer"
  18267. },
  18268. "tradeqty": {
  18269. "description": "成交数量",
  18270. "type": "integer"
  18271. },
  18272. "tradetime": {
  18273. "description": "成交时间",
  18274. "type": "string"
  18275. },
  18276. "tradetype": {
  18277. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18278. "type": "integer"
  18279. }
  18280. }
  18281. },
  18282. "order.QueryTradeOrderDetailRsp": {
  18283. "type": "object",
  18284. "required": [
  18285. "accountid",
  18286. "buildtype",
  18287. "buyorsell",
  18288. "goodsid",
  18289. "marketid",
  18290. "operatetype",
  18291. "orderqty",
  18292. "ordertime",
  18293. "pricemode",
  18294. "tradedate",
  18295. "validtype"
  18296. ],
  18297. "properties": {
  18298. "accountid": {
  18299. "description": "账户ID[报价币种]",
  18300. "type": "integer"
  18301. },
  18302. "buildtype": {
  18303. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18304. "type": "integer"
  18305. },
  18306. "buyorsell": {
  18307. "description": "买卖 - 0:买 1:卖",
  18308. "type": "integer"
  18309. },
  18310. "cancelorderid": {
  18311. "description": "撤单单号(撤单时填写)",
  18312. "type": "string"
  18313. },
  18314. "cancelqty": {
  18315. "description": "撤单数量",
  18316. "type": "integer"
  18317. },
  18318. "clienttype": {
  18319. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18320. "type": "integer"
  18321. },
  18322. "closefreezecharge": {
  18323. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18324. "type": "number"
  18325. },
  18326. "closeqty": {
  18327. "description": "平仓数量(先建后平操作 需要记录)",
  18328. "type": "integer"
  18329. },
  18330. "closetradeqty": {
  18331. "description": "平仓成交数量(先建后平操作,需要记录)",
  18332. "type": "integer"
  18333. },
  18334. "closeunfreezecharge": {
  18335. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18336. "type": "number"
  18337. },
  18338. "delistingtype": {
  18339. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18340. "type": "integer"
  18341. },
  18342. "enableqty": {
  18343. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18344. "type": "integer"
  18345. },
  18346. "freezecharge": {
  18347. "description": "冻结手续费",
  18348. "type": "number"
  18349. },
  18350. "freezemargin": {
  18351. "description": "冻结保证金(冻结交易金额)",
  18352. "type": "number"
  18353. },
  18354. "goodscode": {
  18355. "description": "商品代码",
  18356. "type": "string"
  18357. },
  18358. "goodsid": {
  18359. "description": "商品ID",
  18360. "type": "integer"
  18361. },
  18362. "goodsname": {
  18363. "description": "商品名称",
  18364. "type": "string"
  18365. },
  18366. "listingselecttype": {
  18367. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18368. "type": "integer"
  18369. },
  18370. "marketid": {
  18371. "description": "市场ID",
  18372. "type": "integer"
  18373. },
  18374. "marketname": {
  18375. "description": "市场名称",
  18376. "type": "string"
  18377. },
  18378. "openfreezecharge": {
  18379. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18380. "type": "number"
  18381. },
  18382. "openqty": {
  18383. "description": "开仓数量(先建后平操作,需要记录)",
  18384. "type": "integer"
  18385. },
  18386. "opentradeqty": {
  18387. "description": "开仓成交数量(先建后平操作,需要记录)",
  18388. "type": "integer"
  18389. },
  18390. "openunfreezecharge": {
  18391. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18392. "type": "number"
  18393. },
  18394. "operatetype": {
  18395. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18396. "type": "integer"
  18397. },
  18398. "operatorid": {
  18399. "description": "登录账号(LoginID)",
  18400. "type": "integer"
  18401. },
  18402. "orderid": {
  18403. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18404. "type": "string"
  18405. },
  18406. "orderprice": {
  18407. "description": "委托价格",
  18408. "type": "number"
  18409. },
  18410. "orderqty": {
  18411. "description": "委托数量",
  18412. "type": "integer"
  18413. },
  18414. "ordersrc": {
  18415. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18416. "type": "integer"
  18417. },
  18418. "orderstatus": {
  18419. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18420. "type": "integer"
  18421. },
  18422. "ordertime": {
  18423. "description": "委托时间",
  18424. "type": "string"
  18425. },
  18426. "preorderid": {
  18427. "description": "关联预埋单号(止盈止损单时填写)",
  18428. "type": "string"
  18429. },
  18430. "pricemode": {
  18431. "description": "取价方式 - 1:市价 2: 限价",
  18432. "type": "integer"
  18433. },
  18434. "relatedid": {
  18435. "description": "关联单号(交割单)",
  18436. "type": "string"
  18437. },
  18438. "tradedate": {
  18439. "description": "交易日(yyyyMMdd)",
  18440. "type": "string"
  18441. },
  18442. "trademode": {
  18443. "description": "交易模式",
  18444. "type": "integer"
  18445. },
  18446. "tradeqty": {
  18447. "description": "成交数量",
  18448. "type": "integer"
  18449. },
  18450. "unfreezecharge": {
  18451. "description": "解冻手续费",
  18452. "type": "number"
  18453. },
  18454. "unfreezemargin": {
  18455. "description": "解冻保证金",
  18456. "type": "number"
  18457. },
  18458. "validtime": {
  18459. "description": "有效期限",
  18460. "type": "string"
  18461. },
  18462. "validtype": {
  18463. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18464. "type": "integer"
  18465. },
  18466. "volumetype": {
  18467. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18468. "type": "integer"
  18469. }
  18470. }
  18471. },
  18472. "order.QueryTradePositionRsp": {
  18473. "type": "object",
  18474. "required": [
  18475. "goodsid"
  18476. ],
  18477. "properties": {
  18478. "accountid": {
  18479. "description": "资金账户",
  18480. "type": "integer"
  18481. },
  18482. "agreeunit": {
  18483. "description": "合约单位",
  18484. "type": "number"
  18485. },
  18486. "averageprice": {
  18487. "description": "持仓均价",
  18488. "type": "number"
  18489. },
  18490. "buyorsell": {
  18491. "description": "方向 - 0:买 1:卖",
  18492. "type": "integer"
  18493. },
  18494. "closetotalqty": {
  18495. "description": "平仓总数量",
  18496. "type": "integer"
  18497. },
  18498. "curholderamount": {
  18499. "description": "当前持仓总金额[商品币种]",
  18500. "type": "number"
  18501. },
  18502. "curpositionqty": {
  18503. "description": "当前持仓总数量",
  18504. "type": "integer"
  18505. },
  18506. "currencyid": {
  18507. "description": "报价货币ID",
  18508. "type": "integer"
  18509. },
  18510. "curtdposition": {
  18511. "description": "期末今日头寸",
  18512. "type": "integer"
  18513. },
  18514. "decimalplace": {
  18515. "description": "报价小数位",
  18516. "type": "integer"
  18517. },
  18518. "enableqty": {
  18519. "description": "可用量",
  18520. "type": "integer"
  18521. },
  18522. "fretdposition": {
  18523. "description": "冻结今日头寸",
  18524. "type": "integer"
  18525. },
  18526. "frozenqty": {
  18527. "description": "持仓冻结数量",
  18528. "type": "integer"
  18529. },
  18530. "goodscode": {
  18531. "description": "商品代码",
  18532. "type": "string"
  18533. },
  18534. "goodsid": {
  18535. "description": "商品Id",
  18536. "type": "integer"
  18537. },
  18538. "goodsname": {
  18539. "description": "商品名称",
  18540. "type": "string"
  18541. },
  18542. "goodunit": {
  18543. "description": "报价单位",
  18544. "type": "string"
  18545. },
  18546. "goodunitid": {
  18547. "description": "报价单位ID",
  18548. "type": "integer"
  18549. },
  18550. "holderamount": {
  18551. "description": "期初持仓总金额[商品币种]",
  18552. "type": "number"
  18553. },
  18554. "marketid": {
  18555. "description": "所属市场ID",
  18556. "type": "integer"
  18557. },
  18558. "openreqqty": {
  18559. "description": "开仓申请数量(用于比较最大持仓数量)",
  18560. "type": "integer"
  18561. },
  18562. "opentotalqty": {
  18563. "description": "开仓总数量",
  18564. "type": "integer"
  18565. },
  18566. "otherfrozenqty": {
  18567. "description": "持仓其他冻结数量(交割冻结)",
  18568. "type": "integer"
  18569. },
  18570. "positionqty": {
  18571. "description": "期初持仓数量",
  18572. "type": "integer"
  18573. },
  18574. "tnqty": {
  18575. "description": "T+N冻结总量",
  18576. "type": "integer"
  18577. },
  18578. "tnusedqty": {
  18579. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18580. "type": "integer"
  18581. },
  18582. "trademode": {
  18583. "description": "交易模式",
  18584. "type": "integer"
  18585. },
  18586. "usedmargin": {
  18587. "description": "占用保证金[商品币种]",
  18588. "type": "number"
  18589. }
  18590. }
  18591. },
  18592. "quote.HistoryData": {
  18593. "type": "object",
  18594. "properties": {
  18595. "c": {
  18596. "description": "收盘价",
  18597. "type": "number"
  18598. },
  18599. "f": {
  18600. "description": "是否补充数据",
  18601. "type": "boolean"
  18602. },
  18603. "h": {
  18604. "description": "最高价",
  18605. "type": "number"
  18606. },
  18607. "hv": {
  18608. "description": "持仓量",
  18609. "type": "integer"
  18610. },
  18611. "l": {
  18612. "description": "最低价",
  18613. "type": "number"
  18614. },
  18615. "o": {
  18616. "description": "开盘价",
  18617. "type": "number"
  18618. },
  18619. "s": {
  18620. "description": "结算价,日线周期(包括)以上才有",
  18621. "type": "number"
  18622. },
  18623. "ts": {
  18624. "description": "时间",
  18625. "type": "string"
  18626. },
  18627. "tt": {
  18628. "description": "总金额",
  18629. "type": "number"
  18630. },
  18631. "tv": {
  18632. "description": "总量",
  18633. "type": "integer"
  18634. }
  18635. }
  18636. },
  18637. "quote.HistoryTikData": {
  18638. "type": "object",
  18639. "properties": {
  18640. "AV": {
  18641. "description": "卖量",
  18642. "type": "integer"
  18643. },
  18644. "Ask": {
  18645. "description": "卖价",
  18646. "type": "number"
  18647. },
  18648. "BV": {
  18649. "description": "买量",
  18650. "type": "integer"
  18651. },
  18652. "Bid": {
  18653. "description": "买价",
  18654. "type": "number"
  18655. },
  18656. "HI": {
  18657. "description": "单笔持仓",
  18658. "type": "integer"
  18659. },
  18660. "HV": {
  18661. "description": "持仓量",
  18662. "type": "integer"
  18663. },
  18664. "PE": {
  18665. "description": "现价",
  18666. "type": "number"
  18667. },
  18668. "TDR": {
  18669. "description": "交易方向,0:买 1:卖",
  18670. "type": "integer"
  18671. },
  18672. "TK": {
  18673. "description": "交易类型",
  18674. "type": "integer"
  18675. },
  18676. "TS": {
  18677. "description": "行情时间文本",
  18678. "type": "string"
  18679. },
  18680. "TT": {
  18681. "description": "现金额",
  18682. "type": "number"
  18683. },
  18684. "Vol": {
  18685. "description": "现量",
  18686. "type": "integer"
  18687. }
  18688. }
  18689. },
  18690. "quote.QueryQuoteDayRsp": {
  18691. "type": "object",
  18692. "properties": {
  18693. "ask": {
  18694. "description": "卖1",
  18695. "type": "number"
  18696. },
  18697. "ask10": {
  18698. "description": "卖10",
  18699. "type": "number"
  18700. },
  18701. "ask2": {
  18702. "description": "卖2",
  18703. "type": "number"
  18704. },
  18705. "ask3": {
  18706. "description": "卖3",
  18707. "type": "number"
  18708. },
  18709. "ask4": {
  18710. "description": "卖4",
  18711. "type": "number"
  18712. },
  18713. "ask5": {
  18714. "description": "卖5",
  18715. "type": "number"
  18716. },
  18717. "ask6": {
  18718. "description": "卖6",
  18719. "type": "number"
  18720. },
  18721. "ask7": {
  18722. "description": "卖7",
  18723. "type": "number"
  18724. },
  18725. "ask8": {
  18726. "description": "卖8",
  18727. "type": "number"
  18728. },
  18729. "ask9": {
  18730. "description": "卖9",
  18731. "type": "number"
  18732. },
  18733. "askorderid": {
  18734. "description": "卖单号1",
  18735. "type": "integer"
  18736. },
  18737. "askorderid2": {
  18738. "description": "卖单号2",
  18739. "type": "integer"
  18740. },
  18741. "askorderid3": {
  18742. "description": "卖单号3",
  18743. "type": "integer"
  18744. },
  18745. "askorderid4": {
  18746. "description": "卖单号4",
  18747. "type": "integer"
  18748. },
  18749. "askorderid5": {
  18750. "description": "卖单号5",
  18751. "type": "integer"
  18752. },
  18753. "askordervolume": {
  18754. "description": "卖单量1",
  18755. "type": "integer"
  18756. },
  18757. "askordervolume10": {
  18758. "description": "卖单量10",
  18759. "type": "integer"
  18760. },
  18761. "askordervolume2": {
  18762. "description": "卖单量2",
  18763. "type": "integer"
  18764. },
  18765. "askordervolume3": {
  18766. "description": "卖单量3",
  18767. "type": "integer"
  18768. },
  18769. "askordervolume4": {
  18770. "description": "卖单量4",
  18771. "type": "integer"
  18772. },
  18773. "askordervolume5": {
  18774. "description": "卖单量5",
  18775. "type": "integer"
  18776. },
  18777. "askordervolume6": {
  18778. "description": "卖单量6",
  18779. "type": "integer"
  18780. },
  18781. "askordervolume7": {
  18782. "description": "卖单量7",
  18783. "type": "integer"
  18784. },
  18785. "askordervolume8": {
  18786. "description": "卖单量8",
  18787. "type": "integer"
  18788. },
  18789. "askordervolume9": {
  18790. "description": "卖单量9",
  18791. "type": "integer"
  18792. },
  18793. "askqueueinfo": {
  18794. "description": "大利市卖港股用",
  18795. "type": "string"
  18796. },
  18797. "askvolume": {
  18798. "description": "卖量1",
  18799. "type": "integer"
  18800. },
  18801. "askvolume10": {
  18802. "description": "卖量10",
  18803. "type": "integer"
  18804. },
  18805. "askvolume2": {
  18806. "description": "卖量2",
  18807. "type": "integer"
  18808. },
  18809. "askvolume3": {
  18810. "description": "卖量3",
  18811. "type": "integer"
  18812. },
  18813. "askvolume4": {
  18814. "description": "卖量4",
  18815. "type": "integer"
  18816. },
  18817. "askvolume5": {
  18818. "description": "卖量5",
  18819. "type": "integer"
  18820. },
  18821. "askvolume6": {
  18822. "description": "卖量6",
  18823. "type": "integer"
  18824. },
  18825. "askvolume7": {
  18826. "description": "卖量7",
  18827. "type": "integer"
  18828. },
  18829. "askvolume8": {
  18830. "description": "卖量8",
  18831. "type": "integer"
  18832. },
  18833. "askvolume9": {
  18834. "description": "卖量9",
  18835. "type": "integer"
  18836. },
  18837. "averageprice": {
  18838. "description": "均价",
  18839. "type": "number"
  18840. },
  18841. "bid": {
  18842. "description": "买1",
  18843. "type": "number"
  18844. },
  18845. "bid10": {
  18846. "description": "买10",
  18847. "type": "number"
  18848. },
  18849. "bid2": {
  18850. "description": "买2",
  18851. "type": "number"
  18852. },
  18853. "bid3": {
  18854. "description": "买3",
  18855. "type": "number"
  18856. },
  18857. "bid4": {
  18858. "description": "买4",
  18859. "type": "number"
  18860. },
  18861. "bid5": {
  18862. "description": "买5",
  18863. "type": "number"
  18864. },
  18865. "bid6": {
  18866. "description": "买6",
  18867. "type": "number"
  18868. },
  18869. "bid7": {
  18870. "description": "买7",
  18871. "type": "number"
  18872. },
  18873. "bid8": {
  18874. "description": "买8",
  18875. "type": "number"
  18876. },
  18877. "bid9": {
  18878. "description": "买9",
  18879. "type": "number"
  18880. },
  18881. "bidorderid": {
  18882. "description": "买单号1",
  18883. "type": "integer"
  18884. },
  18885. "bidorderid2": {
  18886. "description": "买单号2",
  18887. "type": "integer"
  18888. },
  18889. "bidorderid3": {
  18890. "description": "买单号3",
  18891. "type": "integer"
  18892. },
  18893. "bidorderid4": {
  18894. "description": "买单号4",
  18895. "type": "integer"
  18896. },
  18897. "bidorderid5": {
  18898. "description": "买单号5",
  18899. "type": "integer"
  18900. },
  18901. "bidordervolume": {
  18902. "description": "买单量1",
  18903. "type": "integer"
  18904. },
  18905. "bidordervolume10": {
  18906. "description": "买单量10",
  18907. "type": "integer"
  18908. },
  18909. "bidordervolume2": {
  18910. "description": "买单量2",
  18911. "type": "integer"
  18912. },
  18913. "bidordervolume3": {
  18914. "description": "买单量3",
  18915. "type": "integer"
  18916. },
  18917. "bidordervolume4": {
  18918. "description": "买单量4",
  18919. "type": "integer"
  18920. },
  18921. "bidordervolume5": {
  18922. "description": "买单量5",
  18923. "type": "integer"
  18924. },
  18925. "bidordervolume6": {
  18926. "description": "买单量6",
  18927. "type": "integer"
  18928. },
  18929. "bidordervolume7": {
  18930. "description": "买单量7",
  18931. "type": "integer"
  18932. },
  18933. "bidordervolume8": {
  18934. "description": "买单量8",
  18935. "type": "integer"
  18936. },
  18937. "bidordervolume9": {
  18938. "description": "买单量9",
  18939. "type": "integer"
  18940. },
  18941. "bidqueueinfo": {
  18942. "description": "大利市买港股用",
  18943. "type": "string"
  18944. },
  18945. "bidvolume": {
  18946. "description": "买量1",
  18947. "type": "integer"
  18948. },
  18949. "bidvolume10": {
  18950. "description": "买量10",
  18951. "type": "integer"
  18952. },
  18953. "bidvolume2": {
  18954. "description": "买量2",
  18955. "type": "integer"
  18956. },
  18957. "bidvolume3": {
  18958. "description": "买量3",
  18959. "type": "integer"
  18960. },
  18961. "bidvolume4": {
  18962. "description": "买量4",
  18963. "type": "integer"
  18964. },
  18965. "bidvolume5": {
  18966. "description": "买量5",
  18967. "type": "integer"
  18968. },
  18969. "bidvolume6": {
  18970. "description": "买量6",
  18971. "type": "integer"
  18972. },
  18973. "bidvolume7": {
  18974. "description": "买量7",
  18975. "type": "integer"
  18976. },
  18977. "bidvolume8": {
  18978. "description": "买量8",
  18979. "type": "integer"
  18980. },
  18981. "bidvolume9": {
  18982. "description": "买量9",
  18983. "type": "integer"
  18984. },
  18985. "calloptionpremiums": {
  18986. "description": "认购期权1",
  18987. "type": "integer"
  18988. },
  18989. "calloptionpremiums2": {
  18990. "description": "认购期权2",
  18991. "type": "integer"
  18992. },
  18993. "calloptionpremiums3": {
  18994. "description": "认购期权3",
  18995. "type": "integer"
  18996. },
  18997. "calloptionpremiums4": {
  18998. "description": "认购期权4",
  18999. "type": "integer"
  19000. },
  19001. "calloptionpremiums5": {
  19002. "description": "认购期权5",
  19003. "type": "integer"
  19004. },
  19005. "cleartime": {
  19006. "description": "清盘时间",
  19007. "type": "integer"
  19008. },
  19009. "exchangecode": {
  19010. "description": "交易所代码",
  19011. "type": "integer"
  19012. },
  19013. "exchangedate": {
  19014. "description": "交易日",
  19015. "type": "integer"
  19016. },
  19017. "goodscode": {
  19018. "description": "商品代码",
  19019. "type": "string"
  19020. },
  19021. "grepmarketprice": {
  19022. "description": "暗盘价 港股专用",
  19023. "type": "number"
  19024. },
  19025. "highest": {
  19026. "description": "最高价",
  19027. "type": "number"
  19028. },
  19029. "holdincrement": {
  19030. "description": "单笔持仓",
  19031. "type": "integer"
  19032. },
  19033. "holdvolume": {
  19034. "description": "持仓",
  19035. "type": "integer"
  19036. },
  19037. "iep": {
  19038. "description": "平衡价 港股专用",
  19039. "type": "number"
  19040. },
  19041. "iev": {
  19042. "description": "平衡量 港股专用",
  19043. "type": "number"
  19044. },
  19045. "inventory": {
  19046. "description": "库存",
  19047. "type": "integer"
  19048. },
  19049. "iscleared": {
  19050. "description": "是否清盘标志",
  19051. "type": "integer"
  19052. },
  19053. "issettled": {
  19054. "description": "是否结算标志",
  19055. "type": "integer"
  19056. },
  19057. "last": {
  19058. "description": "最新价",
  19059. "type": "number"
  19060. },
  19061. "lastlot": {
  19062. "description": "最新成交手数",
  19063. "type": "integer"
  19064. },
  19065. "lasttime": {
  19066. "description": "行情时间(只有现价变化行情时间才变化)",
  19067. "type": "string"
  19068. },
  19069. "lastturnover": {
  19070. "description": "最新成交金额",
  19071. "type": "number"
  19072. },
  19073. "lastvolume": {
  19074. "description": "最新成交量",
  19075. "type": "integer"
  19076. },
  19077. "limitdown": {
  19078. "description": "跌停价",
  19079. "type": "number"
  19080. },
  19081. "limitup": {
  19082. "description": "涨停价",
  19083. "type": "number"
  19084. },
  19085. "lowest": {
  19086. "description": "最低价",
  19087. "type": "number"
  19088. },
  19089. "nontotalholdervolume": {
  19090. "description": "非交易持仓量",
  19091. "type": "integer"
  19092. },
  19093. "nontotallot": {
  19094. "description": "非交易总手数",
  19095. "type": "integer"
  19096. },
  19097. "nontotalturnover": {
  19098. "description": "非交易总金额",
  19099. "type": "integer"
  19100. },
  19101. "nontotalvolume": {
  19102. "description": "非交易总量",
  19103. "type": "integer"
  19104. },
  19105. "opened": {
  19106. "description": "开盘价",
  19107. "type": "number"
  19108. },
  19109. "opentime": {
  19110. "description": "开盘时间",
  19111. "type": "string"
  19112. },
  19113. "orderid": {
  19114. "description": "序号",
  19115. "type": "integer"
  19116. },
  19117. "preclose": {
  19118. "description": "昨收",
  19119. "type": "number"
  19120. },
  19121. "preholdvolume": {
  19122. "description": "昨持仓",
  19123. "type": "integer"
  19124. },
  19125. "presettle": {
  19126. "description": "昨结价",
  19127. "type": "number"
  19128. },
  19129. "publictradetype": {
  19130. "description": "公共交易标志类型 港股专用",
  19131. "type": "string"
  19132. },
  19133. "putoptionpremiums": {
  19134. "description": "认沽期权1",
  19135. "type": "integer"
  19136. },
  19137. "putoptionpremiums2": {
  19138. "description": "认沽期权2",
  19139. "type": "integer"
  19140. },
  19141. "putoptionpremiums3": {
  19142. "description": "认沽期权3",
  19143. "type": "integer"
  19144. },
  19145. "putoptionpremiums4": {
  19146. "description": "认沽期权4",
  19147. "type": "integer"
  19148. },
  19149. "putoptionpremiums5": {
  19150. "description": "认沽期权5",
  19151. "type": "integer"
  19152. },
  19153. "settle": {
  19154. "description": "结算价",
  19155. "type": "number"
  19156. },
  19157. "strikeprice": {
  19158. "description": "发行价",
  19159. "type": "number"
  19160. },
  19161. "totalaskvolume": {
  19162. "description": "内盘",
  19163. "type": "integer"
  19164. },
  19165. "totalbidvolume": {
  19166. "description": "外盘",
  19167. "type": "integer"
  19168. },
  19169. "totallot": {
  19170. "description": "总手数",
  19171. "type": "integer"
  19172. },
  19173. "totalturnover": {
  19174. "description": "总金额",
  19175. "type": "number"
  19176. },
  19177. "totalvolume": {
  19178. "description": "总量",
  19179. "type": "integer"
  19180. },
  19181. "utclasttime": {
  19182. "description": "utc的行情时间",
  19183. "type": "string"
  19184. }
  19185. }
  19186. },
  19187. "quote.QueryTSDataRsp": {
  19188. "type": "object",
  19189. "properties": {
  19190. "decimalPlace": {
  19191. "description": "小数位",
  19192. "type": "integer"
  19193. },
  19194. "endTime": {
  19195. "description": "结束时间",
  19196. "type": "string"
  19197. },
  19198. "goodsCode": {
  19199. "description": "商品代码",
  19200. "type": "string"
  19201. },
  19202. "historyDatas": {
  19203. "description": "历史数据",
  19204. "type": "array",
  19205. "items": {
  19206. "$ref": "#/definitions/quote.HistoryData"
  19207. }
  19208. },
  19209. "outGoodsCode": {
  19210. "description": "外部商品代码",
  19211. "type": "string"
  19212. },
  19213. "preSettle": {
  19214. "description": "昨结价",
  19215. "type": "number"
  19216. },
  19217. "startTime": {
  19218. "description": "开始时间",
  19219. "type": "string"
  19220. },
  19221. "tradeDate": {
  19222. "description": "交易日",
  19223. "type": "string"
  19224. }
  19225. }
  19226. },
  19227. "szdz.QueryConvertLogRsp": {
  19228. "type": "object",
  19229. "required": [
  19230. "logid"
  19231. ],
  19232. "properties": {
  19233. "accountid": {
  19234. "description": "资金账户ID",
  19235. "type": "integer"
  19236. },
  19237. "clientticket": {
  19238. "description": "客户端流水号",
  19239. "type": "string"
  19240. },
  19241. "converttype": {
  19242. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19243. "type": "integer"
  19244. },
  19245. "createtime": {
  19246. "description": "记账时间",
  19247. "type": "string"
  19248. },
  19249. "daymaxvalue": {
  19250. "description": "配置当日最大转入限制",
  19251. "type": "number"
  19252. },
  19253. "daymaxvalue2": {
  19254. "description": "配置当日最大转入限制(转入)",
  19255. "type": "number"
  19256. },
  19257. "goodscode": {
  19258. "description": "商品代码",
  19259. "type": "string"
  19260. },
  19261. "goodsname": {
  19262. "description": "商品名称",
  19263. "type": "string"
  19264. },
  19265. "handlestatus": {
  19266. "description": "处理状态",
  19267. "type": "integer"
  19268. },
  19269. "innergoodsid": {
  19270. "description": "内部商品ID",
  19271. "type": "integer"
  19272. },
  19273. "inratio": {
  19274. "description": "配置转入比值",
  19275. "type": "integer"
  19276. },
  19277. "invalue": {
  19278. "description": "目标值",
  19279. "type": "number"
  19280. },
  19281. "logid": {
  19282. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19283. "type": "integer"
  19284. },
  19285. "mobile": {
  19286. "description": "手机号码(加密存储)",
  19287. "type": "string"
  19288. },
  19289. "outergoodscode": {
  19290. "description": "外部商品代码[JD\\PD]",
  19291. "type": "string"
  19292. },
  19293. "outratio": {
  19294. "description": "配置转出比值",
  19295. "type": "integer"
  19296. },
  19297. "outvalue": {
  19298. "description": "源值",
  19299. "type": "number"
  19300. },
  19301. "pddecimalplace": {
  19302. "description": "PD小数位",
  19303. "type": "integer"
  19304. },
  19305. "qty": {
  19306. "description": "数量",
  19307. "type": "string"
  19308. },
  19309. "remark": {
  19310. "description": "备注",
  19311. "type": "string"
  19312. },
  19313. "sessionid": {
  19314. "description": "会话ID",
  19315. "type": "integer"
  19316. },
  19317. "timemaxvalue": {
  19318. "description": "配置单次最大转入限制",
  19319. "type": "number"
  19320. },
  19321. "timemaxvalue2": {
  19322. "description": "配置单次最大转入限制(转入)",
  19323. "type": "number"
  19324. },
  19325. "timeminvalue": {
  19326. "description": "配置单次最小数量限制",
  19327. "type": "number"
  19328. },
  19329. "timeminvalue2": {
  19330. "description": "配置单次最小数量限制(转入)",
  19331. "type": "number"
  19332. },
  19333. "tradedate": {
  19334. "description": "交易日(yyyyMMdd)",
  19335. "type": "string"
  19336. },
  19337. "userid": {
  19338. "description": "用户ID",
  19339. "type": "integer"
  19340. }
  19341. }
  19342. },
  19343. "szdz.QueryGoodsPickupRsp": {
  19344. "type": "object",
  19345. "required": [
  19346. "takeorderid"
  19347. ],
  19348. "properties": {
  19349. "accountid": {
  19350. "description": "账户ID",
  19351. "type": "integer"
  19352. },
  19353. "address": {
  19354. "description": "提货人详细地址",
  19355. "type": "string"
  19356. },
  19357. "auditer": {
  19358. "description": "审核人",
  19359. "type": "integer"
  19360. },
  19361. "audittime": {
  19362. "description": "审核时间",
  19363. "type": "string"
  19364. },
  19365. "cardnum": {
  19366. "description": "提货人证件号码",
  19367. "type": "string"
  19368. },
  19369. "cardtypeid": {
  19370. "description": "提货人证件类型",
  19371. "type": "integer"
  19372. },
  19373. "checkremark": {
  19374. "description": "审核备注",
  19375. "type": "string"
  19376. },
  19377. "goodscode": {
  19378. "description": "商品代码",
  19379. "type": "string"
  19380. },
  19381. "goodsid": {
  19382. "description": "商品ID",
  19383. "type": "integer"
  19384. },
  19385. "goodsname": {
  19386. "description": "商品名称",
  19387. "type": "string"
  19388. },
  19389. "handlestatus": {
  19390. "description": "处理状态",
  19391. "type": "integer"
  19392. },
  19393. "marketid": {
  19394. "description": "市场ID",
  19395. "type": "integer"
  19396. },
  19397. "phonenum": {
  19398. "description": "提货人联系方式",
  19399. "type": "string"
  19400. },
  19401. "qty": {
  19402. "description": "提货数量",
  19403. "type": "number"
  19404. },
  19405. "recivername": {
  19406. "description": "提货人姓名",
  19407. "type": "string"
  19408. },
  19409. "reqtime": {
  19410. "description": "更新时间",
  19411. "type": "string"
  19412. },
  19413. "takemode": {
  19414. "description": "提货方式 - 2:自提 3:配送",
  19415. "type": "integer"
  19416. },
  19417. "takeorderid": {
  19418. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19419. "type": "string"
  19420. },
  19421. "takeorderstatus": {
  19422. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19423. "type": "integer"
  19424. },
  19425. "takeremark": {
  19426. "description": "提货备注",
  19427. "type": "string"
  19428. },
  19429. "tradedate": {
  19430. "description": "交易日(yyyyMMdd)",
  19431. "type": "string"
  19432. },
  19433. "userid": {
  19434. "description": "用户ID",
  19435. "type": "integer"
  19436. }
  19437. }
  19438. },
  19439. "szdz.QueryRecieptOrderRsp": {
  19440. "type": "object",
  19441. "required": [
  19442. "ordertime"
  19443. ],
  19444. "properties": {
  19445. "accountName": {
  19446. "description": "所属账号名称(已脱敏)",
  19447. "type": "string"
  19448. },
  19449. "accountid": {
  19450. "description": "资金账号",
  19451. "type": "integer"
  19452. },
  19453. "buyorsell": {
  19454. "description": "方向 - 0:买 1:卖",
  19455. "type": "integer"
  19456. },
  19457. "enableqty": {
  19458. "description": "可摘数量",
  19459. "type": "integer"
  19460. },
  19461. "goodscode": {
  19462. "description": "商品代码",
  19463. "type": "string"
  19464. },
  19465. "goodsid": {
  19466. "description": "商品ID",
  19467. "type": "integer"
  19468. },
  19469. "goodsname": {
  19470. "description": "商品名称",
  19471. "type": "string"
  19472. },
  19473. "orderid": {
  19474. "description": "委托单号",
  19475. "type": "string"
  19476. },
  19477. "orderprice": {
  19478. "description": "委托价格",
  19479. "type": "number"
  19480. },
  19481. "ordertime": {
  19482. "description": "委托时间",
  19483. "type": "string"
  19484. },
  19485. "tradedate": {
  19486. "description": "交易日(yyyyMMdd)",
  19487. "type": "string"
  19488. }
  19489. }
  19490. },
  19491. "szdz.QuerySZDZTradePositionRsp": {
  19492. "type": "object",
  19493. "properties": {
  19494. "accountid": {
  19495. "description": "账号Id",
  19496. "type": "integer"
  19497. },
  19498. "agreeunit": {
  19499. "description": "合约单位",
  19500. "type": "number"
  19501. },
  19502. "averageprice": {
  19503. "description": "持仓均价",
  19504. "type": "number"
  19505. },
  19506. "buyorsell": {
  19507. "description": "方向 - 0:买 1:卖",
  19508. "type": "integer"
  19509. },
  19510. "closetotalqty": {
  19511. "description": "平仓总数量",
  19512. "type": "integer"
  19513. },
  19514. "curholderamount": {
  19515. "description": "当前持仓总金额",
  19516. "type": "number"
  19517. },
  19518. "curpositionqty": {
  19519. "description": "当前持仓总数量",
  19520. "type": "integer"
  19521. },
  19522. "currencyid": {
  19523. "description": "报价货币ID",
  19524. "type": "integer"
  19525. },
  19526. "curtdposition": {
  19527. "description": "期末今日头寸",
  19528. "type": "integer"
  19529. },
  19530. "decimalplace": {
  19531. "description": "报价小数位",
  19532. "type": "integer"
  19533. },
  19534. "enableqty": {
  19535. "description": "可用量",
  19536. "type": "integer"
  19537. },
  19538. "fretdposition": {
  19539. "description": "冻结今日头寸",
  19540. "type": "integer"
  19541. },
  19542. "frozenqty": {
  19543. "description": "持仓冻结数量",
  19544. "type": "integer"
  19545. },
  19546. "goodscode": {
  19547. "description": "商品代码(内部)",
  19548. "type": "string"
  19549. },
  19550. "goodsid": {
  19551. "description": "商品Id",
  19552. "type": "integer"
  19553. },
  19554. "goodsname": {
  19555. "description": "商品名称",
  19556. "type": "string"
  19557. },
  19558. "goodunit": {
  19559. "description": "报价单位",
  19560. "type": "string"
  19561. },
  19562. "goodunitid": {
  19563. "description": "报价单位ID",
  19564. "type": "integer"
  19565. },
  19566. "holderamount": {
  19567. "description": "期初持仓总金额",
  19568. "type": "number"
  19569. },
  19570. "marketid": {
  19571. "description": "市场ID",
  19572. "type": "integer"
  19573. },
  19574. "openreqqty": {
  19575. "description": "开仓申请数量",
  19576. "type": "integer"
  19577. },
  19578. "opentotalqty": {
  19579. "description": "开仓总数量",
  19580. "type": "integer"
  19581. },
  19582. "otherfrozenqty": {
  19583. "description": "持仓其他冻结数量(交割冻结)",
  19584. "type": "integer"
  19585. },
  19586. "positionqty": {
  19587. "description": "期初持仓数量",
  19588. "type": "integer"
  19589. },
  19590. "szdz3freezqty": {
  19591. "description": "尚志大宗转换冻结总数量",
  19592. "type": "integer"
  19593. },
  19594. "tnqty": {
  19595. "description": "T+N冻结总量",
  19596. "type": "integer"
  19597. },
  19598. "tnusedqty": {
  19599. "description": "T+N使用量",
  19600. "type": "integer"
  19601. },
  19602. "trademode": {
  19603. "description": "交易模式",
  19604. "type": "integer"
  19605. },
  19606. "usedmargin": {
  19607. "description": "占用保证金",
  19608. "type": "number"
  19609. }
  19610. }
  19611. },
  19612. "taaccount.QueryAmountLogRsp": {
  19613. "type": "object",
  19614. "required": [
  19615. "accountid",
  19616. "amount",
  19617. "amountadjusttype",
  19618. "autoid",
  19619. "balance",
  19620. "createtime",
  19621. "currentbalance",
  19622. "operatetype"
  19623. ],
  19624. "properties": {
  19625. "OPERATETYPENAME": {
  19626. "description": "资金操作类型名称",
  19627. "type": "string"
  19628. },
  19629. "accountid": {
  19630. "description": "资金账户ID",
  19631. "type": "integer"
  19632. },
  19633. "agoodscode": {
  19634. "description": "竞拍商品代码",
  19635. "type": "string"
  19636. },
  19637. "agoodsname": {
  19638. "description": "竞拍商品名称",
  19639. "type": "string"
  19640. },
  19641. "amount": {
  19642. "description": "资金金额",
  19643. "type": "number"
  19644. },
  19645. "amountadjusttype": {
  19646. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19647. "type": "integer"
  19648. },
  19649. "autoid": {
  19650. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19651. "type": "integer"
  19652. },
  19653. "balance": {
  19654. "description": "期初余额",
  19655. "type": "number"
  19656. },
  19657. "businesscode": {
  19658. "description": "业务编号",
  19659. "type": "integer"
  19660. },
  19661. "createtime": {
  19662. "description": "发生时间",
  19663. "type": "string"
  19664. },
  19665. "currencyid": {
  19666. "description": "币种ID",
  19667. "type": "integer"
  19668. },
  19669. "currentbalance": {
  19670. "description": "期末余额(变动后金额)",
  19671. "type": "number"
  19672. },
  19673. "dgoodscode": {
  19674. "description": "交割商品代码",
  19675. "type": "string"
  19676. },
  19677. "dgoodsname": {
  19678. "description": "交割商品名称",
  19679. "type": "string"
  19680. },
  19681. "goodscode": {
  19682. "description": "商品代码",
  19683. "type": "string"
  19684. },
  19685. "goodsid": {
  19686. "description": "商品ID",
  19687. "type": "integer"
  19688. },
  19689. "goodsname": {
  19690. "description": "商品名称",
  19691. "type": "string"
  19692. },
  19693. "marketid": {
  19694. "description": "市场ID",
  19695. "type": "integer"
  19696. },
  19697. "marketname": {
  19698. "description": "市场名称",
  19699. "type": "string"
  19700. },
  19701. "moneyticket": {
  19702. "description": "资金流水号:银行端流水号",
  19703. "type": "integer"
  19704. },
  19705. "operatetype": {
  19706. "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:营销收款",
  19707. "type": "integer"
  19708. },
  19709. "relationorderid": {
  19710. "description": "关联单号",
  19711. "type": "string"
  19712. },
  19713. "remark": {
  19714. "description": "备注",
  19715. "type": "string"
  19716. },
  19717. "trademode": {
  19718. "description": "交易模式",
  19719. "type": "integer"
  19720. }
  19721. }
  19722. },
  19723. "taaccount.QueryHisAmountLogRsp": {
  19724. "type": "object",
  19725. "required": [
  19726. "accountid",
  19727. "amount",
  19728. "amountadjusttype",
  19729. "autoid",
  19730. "balance",
  19731. "createtime",
  19732. "currentbalance",
  19733. "histradedate",
  19734. "operatetype"
  19735. ],
  19736. "properties": {
  19737. "OPERATETYPENAME": {
  19738. "description": "资金操作类型名称",
  19739. "type": "string"
  19740. },
  19741. "accountid": {
  19742. "description": "资金账户ID",
  19743. "type": "integer"
  19744. },
  19745. "agoodscode": {
  19746. "description": "竞拍商品代码",
  19747. "type": "string"
  19748. },
  19749. "agoodsname": {
  19750. "description": "竞拍商品名称",
  19751. "type": "string"
  19752. },
  19753. "amount": {
  19754. "description": "资金金额",
  19755. "type": "number"
  19756. },
  19757. "amountadjusttype": {
  19758. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19759. "type": "integer"
  19760. },
  19761. "autoid": {
  19762. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19763. "type": "integer"
  19764. },
  19765. "balance": {
  19766. "description": "期初余额",
  19767. "type": "number"
  19768. },
  19769. "businesscode": {
  19770. "description": "业务编号",
  19771. "type": "integer"
  19772. },
  19773. "createtime": {
  19774. "description": "发生时间",
  19775. "type": "string"
  19776. },
  19777. "currencyid": {
  19778. "description": "币种ID",
  19779. "type": "integer"
  19780. },
  19781. "currentbalance": {
  19782. "description": "期末余额(变动后金额)",
  19783. "type": "number"
  19784. },
  19785. "dgoodscode": {
  19786. "description": "交割商品代码",
  19787. "type": "string"
  19788. },
  19789. "dgoodsname": {
  19790. "description": "交割商品名称",
  19791. "type": "string"
  19792. },
  19793. "goodscode": {
  19794. "description": "商品代码",
  19795. "type": "string"
  19796. },
  19797. "goodsid": {
  19798. "description": "商品ID",
  19799. "type": "integer"
  19800. },
  19801. "goodsname": {
  19802. "description": "商品名称",
  19803. "type": "string"
  19804. },
  19805. "histradedate": {
  19806. "description": "历史交易日",
  19807. "type": "string"
  19808. },
  19809. "isvaliddata": {
  19810. "description": "是否有效 - 0:无效 1:有效",
  19811. "type": "integer"
  19812. },
  19813. "marketid": {
  19814. "description": "市场ID",
  19815. "type": "integer"
  19816. },
  19817. "marketname": {
  19818. "description": "市场名称",
  19819. "type": "string"
  19820. },
  19821. "moneyticket": {
  19822. "description": "资金流水号:银行端流水号",
  19823. "type": "integer"
  19824. },
  19825. "operatetype": {
  19826. "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:营销收款",
  19827. "type": "integer"
  19828. },
  19829. "relationorderid": {
  19830. "description": "关联单号",
  19831. "type": "string"
  19832. },
  19833. "remark": {
  19834. "description": "备注",
  19835. "type": "string"
  19836. },
  19837. "trademode": {
  19838. "description": "交易模式",
  19839. "type": "integer"
  19840. }
  19841. }
  19842. },
  19843. "trade.QueryRecieptOrderRsp": {
  19844. "type": "object",
  19845. "required": [
  19846. "ordertime"
  19847. ],
  19848. "properties": {
  19849. "accountName": {
  19850. "description": "所属账号名称(已脱敏)",
  19851. "type": "string"
  19852. },
  19853. "accountid": {
  19854. "description": "资金账号",
  19855. "type": "integer"
  19856. },
  19857. "buyorsell": {
  19858. "description": "方向 - 0:买 1:卖",
  19859. "type": "integer"
  19860. },
  19861. "enableqty": {
  19862. "description": "可摘数量",
  19863. "type": "integer"
  19864. },
  19865. "goodscode": {
  19866. "description": "商品代码",
  19867. "type": "string"
  19868. },
  19869. "goodsid": {
  19870. "description": "商品ID",
  19871. "type": "integer"
  19872. },
  19873. "goodsname": {
  19874. "description": "商品名称",
  19875. "type": "string"
  19876. },
  19877. "orderid": {
  19878. "description": "委托单号",
  19879. "type": "string"
  19880. },
  19881. "orderprice": {
  19882. "description": "委托价格",
  19883. "type": "number"
  19884. },
  19885. "ordertime": {
  19886. "description": "委托时间",
  19887. "type": "string"
  19888. },
  19889. "tradedate": {
  19890. "description": "交易日(yyyyMMdd)",
  19891. "type": "string"
  19892. }
  19893. }
  19894. },
  19895. "user.LoginQueryRsp": {
  19896. "type": "object",
  19897. "properties": {
  19898. "externalExchanges": {
  19899. "description": "外部交易所",
  19900. "type": "array",
  19901. "items": {
  19902. "$ref": "#/definitions/models.Externalexchange"
  19903. }
  19904. },
  19905. "goodsgroups": {
  19906. "description": "商品组",
  19907. "type": "array",
  19908. "items": {
  19909. "$ref": "#/definitions/models.Goodsgroup"
  19910. }
  19911. },
  19912. "loginAccount": {
  19913. "description": "登录账号",
  19914. "type": "object",
  19915. "$ref": "#/definitions/models.Loginaccount"
  19916. },
  19917. "markets": {
  19918. "description": "市场",
  19919. "type": "array",
  19920. "items": {
  19921. "$ref": "#/definitions/models.Market"
  19922. }
  19923. },
  19924. "systemParams": {
  19925. "description": "系统参数",
  19926. "type": "array",
  19927. "items": {
  19928. "$ref": "#/definitions/models.Systemparam"
  19929. }
  19930. },
  19931. "userAccount": {
  19932. "description": "用户账号",
  19933. "type": "object",
  19934. "$ref": "#/definitions/models.Useraccount"
  19935. },
  19936. "userInfo": {
  19937. "description": "用户信息",
  19938. "type": "object",
  19939. "$ref": "#/definitions/models.Userinfo"
  19940. },
  19941. "username": {
  19942. "description": "用户姓名",
  19943. "type": "string"
  19944. }
  19945. }
  19946. }
  19947. },
  19948. "securityDefinitions": {
  19949. "ApiKeyAuth": {
  19950. "type": "apiKey",
  19951. "name": "Authorization",
  19952. "in": "header"
  19953. }
  19954. }
  19955. }`
  19956. type swaggerInfo struct {
  19957. Version string
  19958. Host string
  19959. BasePath string
  19960. Schemes []string
  19961. Title string
  19962. Description string
  19963. }
  19964. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19965. var SwaggerInfo = swaggerInfo{
  19966. Version: "1.0",
  19967. Host: "",
  19968. BasePath: "/api",
  19969. Schemes: []string{},
  19970. Title: "MTP2.0 查询服务 API",
  19971. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19972. }
  19973. type s struct{}
  19974. func (s *s) ReadDoc() string {
  19975. sInfo := SwaggerInfo
  19976. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19977. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19978. "marshal": func(v interface{}) string {
  19979. a, _ := json.Marshal(v)
  19980. return string(a)
  19981. },
  19982. }).Parse(doc)
  19983. if err != nil {
  19984. return doc
  19985. }
  19986. var tpl bytes.Buffer
  19987. if err := t.Execute(&tpl, sInfo); err != nil {
  19988. return doc
  19989. }
  19990. return tpl.String()
  19991. }
  19992. func init() {
  19993. swag.Register(swag.Name, &s{})
  19994. }