docs.go 718 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990
  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. }
  12169. },
  12170. "models.ErmcpModel": {
  12171. "type": "object",
  12172. "properties": {
  12173. "accountname": {
  12174. "description": "账户名称",
  12175. "type": "string"
  12176. },
  12177. "attachment": {
  12178. "description": "附件",
  12179. "type": "string"
  12180. },
  12181. "audittime": {
  12182. "description": "审核时间",
  12183. "type": "string"
  12184. },
  12185. "brandname": {
  12186. "description": "品牌名称",
  12187. "type": "string"
  12188. },
  12189. "contracctstatus": {
  12190. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12191. "type": "integer"
  12192. },
  12193. "contractmargin": {
  12194. "description": "合同保证金",
  12195. "type": "number"
  12196. },
  12197. "contractno": {
  12198. "description": "合同编号",
  12199. "type": "string"
  12200. },
  12201. "contracttype": {
  12202. "description": "合同类型 1-采购, -1-销售",
  12203. "type": "integer"
  12204. },
  12205. "convertfactor": {
  12206. "description": "标仓系数",
  12207. "type": "number"
  12208. },
  12209. "createtime": {
  12210. "description": "创建时间",
  12211. "type": "string"
  12212. },
  12213. "daikaiamount": {
  12214. "description": "待开票额",
  12215. "type": "number"
  12216. },
  12217. "deliveryenddate": {
  12218. "description": "交割结束日",
  12219. "type": "string"
  12220. },
  12221. "deliverygoodscode": {
  12222. "description": "现货品种代码",
  12223. "type": "string"
  12224. },
  12225. "deliverygoodsid": {
  12226. "description": "现货商品ID",
  12227. "type": "integer"
  12228. },
  12229. "deliverygoodsname": {
  12230. "description": "现货品种名称",
  12231. "type": "string"
  12232. },
  12233. "deliverystartdate": {
  12234. "description": "交割开始日",
  12235. "type": "string"
  12236. },
  12237. "enddate": {
  12238. "description": "点价结束日",
  12239. "type": "string"
  12240. },
  12241. "enumdicname": {
  12242. "description": "单位名称",
  12243. "type": "string"
  12244. },
  12245. "goodscode": {
  12246. "description": "点价商品代码",
  12247. "type": "string"
  12248. },
  12249. "goodsid": {
  12250. "description": "点价商品ID",
  12251. "type": "integer"
  12252. },
  12253. "goodsname": {
  12254. "description": "点价商品名称",
  12255. "type": "string"
  12256. },
  12257. "invoiceamount": {
  12258. "description": "已开票额",
  12259. "type": "number"
  12260. },
  12261. "loanamount": {
  12262. "description": "贷款总额=已定价额+调整金额",
  12263. "type": "number"
  12264. },
  12265. "margin": {
  12266. "description": "保证金",
  12267. "type": "number"
  12268. },
  12269. "modelname": {
  12270. "description": "型号名称",
  12271. "type": "string"
  12272. },
  12273. "payamount": {
  12274. "description": "已收付额(收款或付款)",
  12275. "type": "number"
  12276. },
  12277. "price": {
  12278. "description": "价格",
  12279. "type": "number"
  12280. },
  12281. "pricedamount": {
  12282. "description": "已定价额",
  12283. "type": "number"
  12284. },
  12285. "pricedavg": {
  12286. "description": "已点均价",
  12287. "type": "number"
  12288. },
  12289. "pricedqty": {
  12290. "description": "已定价量",
  12291. "type": "number"
  12292. },
  12293. "pricemove": {
  12294. "description": "升贴水",
  12295. "type": "number"
  12296. },
  12297. "pricetype": {
  12298. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12299. "type": "integer"
  12300. },
  12301. "producttype": {
  12302. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12303. "type": "integer"
  12304. },
  12305. "qty": {
  12306. "description": "合同量",
  12307. "type": "number"
  12308. },
  12309. "reckonadjustamount": {
  12310. "description": "调整金额",
  12311. "type": "number"
  12312. },
  12313. "reckonedamount": {
  12314. "description": "已收付额(已确定额)",
  12315. "type": "number"
  12316. },
  12317. "reckonotheramount": {
  12318. "description": "其它费用",
  12319. "type": "number"
  12320. },
  12321. "reckonrealqty": {
  12322. "description": "已确定量",
  12323. "type": "number"
  12324. },
  12325. "remark": {
  12326. "description": "备注",
  12327. "type": "string"
  12328. },
  12329. "spotcontractid": {
  12330. "description": "合同ID",
  12331. "type": "string"
  12332. },
  12333. "spotgoodsbrandid": {
  12334. "description": "现货品牌ID",
  12335. "type": "integer"
  12336. },
  12337. "spotgoodsdesc": {
  12338. "description": "商品型号(商品规格)",
  12339. "type": "string"
  12340. },
  12341. "spotgoodsmodelid": {
  12342. "description": "现货型号ID",
  12343. "type": "integer"
  12344. },
  12345. "startdate": {
  12346. "description": "点价开始日",
  12347. "type": "string"
  12348. },
  12349. "totalamount": {
  12350. "description": "合计总额",
  12351. "type": "number"
  12352. },
  12353. "unpayamount": {
  12354. "description": "待支收额(支付或收款)",
  12355. "type": "number"
  12356. },
  12357. "unpricedqty": {
  12358. "description": "未定价量",
  12359. "type": "number"
  12360. },
  12361. "unsureqty": {
  12362. "description": "未确定量",
  12363. "type": "number"
  12364. },
  12365. "userid": {
  12366. "description": "用户ID",
  12367. "type": "integer"
  12368. },
  12369. "wrstandardcode": {
  12370. "description": "现货商品代码",
  12371. "type": "string"
  12372. },
  12373. "wrstandardid": {
  12374. "description": "现货商品ID",
  12375. "type": "integer"
  12376. },
  12377. "wrstandardname": {
  12378. "description": "现货商品名称",
  12379. "type": "string"
  12380. }
  12381. }
  12382. },
  12383. "models.ErmcpOPLogModel": {
  12384. "type": "object",
  12385. "properties": {
  12386. "aftervalue": {
  12387. "description": "变更后",
  12388. "type": "number"
  12389. },
  12390. "applyid": {
  12391. "description": "操作人ID",
  12392. "type": "string"
  12393. },
  12394. "applyname": {
  12395. "description": "操作人名称",
  12396. "type": "string"
  12397. },
  12398. "beforevalue": {
  12399. "description": "变更前",
  12400. "type": "number"
  12401. },
  12402. "biztype": {
  12403. "description": "业务类型 - 1:套保计划 2:现货合同",
  12404. "type": "integer"
  12405. },
  12406. "contracttype": {
  12407. "description": "现货合同类型 - 1:采购 -1:销售",
  12408. "type": "integer"
  12409. },
  12410. "logvalue": {
  12411. "description": "数值",
  12412. "type": "number"
  12413. },
  12414. "operatelogtype": {
  12415. "description": "操作流水类型",
  12416. "type": "integer"
  12417. },
  12418. "operatelogtypedesc": {
  12419. "description": "操作流水类型名称",
  12420. "type": "string"
  12421. },
  12422. "relatedid": {
  12423. "description": "现货合同ID\\套保计划",
  12424. "type": "string"
  12425. },
  12426. "updatetime": {
  12427. "description": "更新时间",
  12428. "type": "string"
  12429. }
  12430. }
  12431. },
  12432. "models.ErmcpPendingAudit": {
  12433. "type": "object",
  12434. "properties": {
  12435. "areastockqty": {
  12436. "description": "待审核数量: 库存申请",
  12437. "type": "integer"
  12438. },
  12439. "businessdjqty": {
  12440. "description": "待审核数量: 点价",
  12441. "type": "integer"
  12442. },
  12443. "businessfpqty": {
  12444. "description": "待审核数量: 发票",
  12445. "type": "integer"
  12446. },
  12447. "businessjsqty": {
  12448. "description": "待审核数量: 结算",
  12449. "type": "integer"
  12450. },
  12451. "businesskxqty": {
  12452. "description": "待审核数量: 款项",
  12453. "type": "integer"
  12454. },
  12455. "hedgeplanqty": {
  12456. "description": "待审核数量: 套保计划",
  12457. "type": "integer"
  12458. },
  12459. "spotcontractqty": {
  12460. "description": "待审核数量: 现货合同",
  12461. "type": "integer"
  12462. },
  12463. "userqty": {
  12464. "description": "待审核数量: 用户",
  12465. "type": "integer"
  12466. }
  12467. }
  12468. },
  12469. "models.ErmcpRealExposureModel": {
  12470. "type": "object",
  12471. "properties": {
  12472. "AreaUserID": {
  12473. "description": "所属机构",
  12474. "type": "integer"
  12475. },
  12476. "BuyFutureQty": {
  12477. "description": "买入期货数量",
  12478. "type": "number"
  12479. },
  12480. "BuyPlanQty": {
  12481. "description": "采购计划数量",
  12482. "type": "number"
  12483. },
  12484. "BuyPricedQty": {
  12485. "description": "采购合同已定价数量",
  12486. "type": "number"
  12487. },
  12488. "MiddleGoodsCode": {
  12489. "description": "套保品种代码",
  12490. "type": "string"
  12491. },
  12492. "MiddleGoodsHedgeRatio": {
  12493. "description": "应套保比例",
  12494. "type": "number"
  12495. },
  12496. "MiddleGoodsID": {
  12497. "description": "套保品种",
  12498. "type": "integer"
  12499. },
  12500. "MiddleGoodsName": {
  12501. "description": "套保品种名称",
  12502. "type": "string"
  12503. },
  12504. "NeedHedgeExposoure": {
  12505. "description": "应套保敞口",
  12506. "type": "number"
  12507. },
  12508. "NeedHedgeRatio": {
  12509. "description": "应套保敞口比例",
  12510. "type": "number"
  12511. },
  12512. "OriBuyFutureQty": {
  12513. "description": "期初买入期货数量",
  12514. "type": "number"
  12515. },
  12516. "OriBuyPlanQty": {
  12517. "description": "期初采购计划数量",
  12518. "type": "number"
  12519. },
  12520. "OriBuyPricedQty": {
  12521. "description": "期初采购合同已定价数量",
  12522. "type": "number"
  12523. },
  12524. "OriSellFutureQty": {
  12525. "description": "期初卖出期货数量",
  12526. "type": "number"
  12527. },
  12528. "OriSellPlanQty": {
  12529. "description": "期初销售计划数量",
  12530. "type": "number"
  12531. },
  12532. "OriSellPricedQty": {
  12533. "description": "期初销售合同已定价数量",
  12534. "type": "number"
  12535. },
  12536. "SellFutureQty": {
  12537. "description": "卖出期货数量",
  12538. "type": "number"
  12539. },
  12540. "SellPlanQty": {
  12541. "description": "销售计划数量",
  12542. "type": "number"
  12543. },
  12544. "SellPricedQty": {
  12545. "description": "销售合同已定价数量",
  12546. "type": "number"
  12547. },
  12548. "TotalExposure": {
  12549. "description": "总敞口",
  12550. "type": "number"
  12551. },
  12552. "TotalFutureQty": {
  12553. "description": "期货数量",
  12554. "type": "number"
  12555. },
  12556. "TotalHedgeRatio": {
  12557. "description": "敞口比例",
  12558. "type": "number"
  12559. },
  12560. "TotalNeedHedgeQty": {
  12561. "description": "期货应套保量",
  12562. "type": "number"
  12563. },
  12564. "TotalSpotQty": {
  12565. "description": "现货数量",
  12566. "type": "number"
  12567. },
  12568. "diffFutuQty": {
  12569. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12570. "type": "number"
  12571. },
  12572. "diffSpotQty": {
  12573. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12574. "type": "number"
  12575. },
  12576. "enumdicname": {
  12577. "description": "单位名称",
  12578. "type": "string"
  12579. },
  12580. "oriTotalFutuQty": {
  12581. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12582. "type": "number"
  12583. },
  12584. "oriTotalSpotQty": {
  12585. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12586. "type": "number"
  12587. }
  12588. }
  12589. },
  12590. "models.ErmcpReportDayExposure": {
  12591. "type": "object",
  12592. "properties": {
  12593. "areauserid": {
  12594. "description": "所属机构",
  12595. "type": "integer"
  12596. },
  12597. "buyfutureqty": {
  12598. "description": "买入期货数量",
  12599. "type": "number"
  12600. },
  12601. "buyplanqty": {
  12602. "description": "采购计划数量",
  12603. "type": "number"
  12604. },
  12605. "buypricedqty": {
  12606. "description": "采购合同已定价数量",
  12607. "type": "number"
  12608. },
  12609. "diffFutuQty": {
  12610. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12611. "type": "number"
  12612. },
  12613. "diffSpotQty": {
  12614. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12615. "type": "number"
  12616. },
  12617. "enumdicname": {
  12618. "description": "单位名称",
  12619. "type": "string"
  12620. },
  12621. "middlegoodscode": {
  12622. "description": "套保品种代码",
  12623. "type": "string"
  12624. },
  12625. "middlegoodshedgeratio": {
  12626. "description": "应套保比例",
  12627. "type": "number"
  12628. },
  12629. "middlegoodsid": {
  12630. "description": "套保品种ID",
  12631. "type": "integer"
  12632. },
  12633. "middlegoodsname": {
  12634. "description": "套保品种名称",
  12635. "type": "string"
  12636. },
  12637. "needhedgeexposoure": {
  12638. "description": "应套保敞口",
  12639. "type": "number"
  12640. },
  12641. "needhedgeratio": {
  12642. "description": "应套保敞口比例",
  12643. "type": "number"
  12644. },
  12645. "oriTotalFutuQty": {
  12646. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12647. "type": "number"
  12648. },
  12649. "oriTotalSpotQty": {
  12650. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12651. "type": "number"
  12652. },
  12653. "oribuyfutureqty": {
  12654. "description": "期初买入期货数量",
  12655. "type": "number"
  12656. },
  12657. "oribuyplanqty": {
  12658. "description": "期初采购计划数量",
  12659. "type": "number"
  12660. },
  12661. "oribuypricedqty": {
  12662. "description": "期初采购合同已定价数量",
  12663. "type": "number"
  12664. },
  12665. "orisellfutureqty": {
  12666. "description": "期初卖出期货数量",
  12667. "type": "number"
  12668. },
  12669. "orisellplanqty": {
  12670. "description": "期初销售计划数量",
  12671. "type": "number"
  12672. },
  12673. "orisellpricedqty": {
  12674. "description": "期初销售合同已定价数量",
  12675. "type": "number"
  12676. },
  12677. "reckondate": {
  12678. "description": "日照时期(yyyyMMdd)",
  12679. "type": "string"
  12680. },
  12681. "sellfutureqty": {
  12682. "description": "卖出期货数量",
  12683. "type": "number"
  12684. },
  12685. "sellplanqty": {
  12686. "description": "销售计划数量",
  12687. "type": "number"
  12688. },
  12689. "sellpricedqty": {
  12690. "description": "销售合同已定价数量",
  12691. "type": "number"
  12692. },
  12693. "totalexposure": {
  12694. "description": "总敞口",
  12695. "type": "number"
  12696. },
  12697. "totalfutureqty": {
  12698. "description": "期货数量",
  12699. "type": "number"
  12700. },
  12701. "totalhedgeratio": {
  12702. "description": "敞口比例",
  12703. "type": "number"
  12704. },
  12705. "totalneedhedgeqty": {
  12706. "description": "期货应套保量",
  12707. "type": "number"
  12708. },
  12709. "totalspotqty": {
  12710. "description": "现货数量",
  12711. "type": "number"
  12712. }
  12713. }
  12714. },
  12715. "models.ErmcpReportDayFR": {
  12716. "type": "object",
  12717. "properties": {
  12718. "areauserid": {
  12719. "description": "所属机构",
  12720. "type": "integer"
  12721. },
  12722. "collectinvoiceamount": {
  12723. "description": "今日开票金额",
  12724. "type": "number"
  12725. },
  12726. "collectinvoicecount": {
  12727. "description": "今日开票笔数",
  12728. "type": "integer"
  12729. },
  12730. "collectmoneyamount": {
  12731. "description": "今日收款金额",
  12732. "type": "number"
  12733. },
  12734. "collectmoneycount": {
  12735. "description": "今日收款笔数",
  12736. "type": "integer"
  12737. },
  12738. "payinvoiceamount": {
  12739. "description": "今日收票金额",
  12740. "type": "number"
  12741. },
  12742. "payinvoicecount": {
  12743. "description": "今日收票笔数",
  12744. "type": "integer"
  12745. },
  12746. "paymoneyamount": {
  12747. "description": "今日付款金额",
  12748. "type": "number"
  12749. },
  12750. "paymoneycount": {
  12751. "description": "今日付款笔数",
  12752. "type": "integer"
  12753. },
  12754. "reckondate": {
  12755. "description": "日照时期(yyyyMMdd)",
  12756. "type": "string"
  12757. },
  12758. "updatetime": {
  12759. "description": "更新时间",
  12760. "type": "string"
  12761. }
  12762. }
  12763. },
  12764. "models.ErmcpReportDaySpot": {
  12765. "type": "object",
  12766. "properties": {
  12767. "areauserid": {
  12768. "description": "所属机构T",
  12769. "type": "integer"
  12770. },
  12771. "buyinqty": {
  12772. "description": "采购入库量",
  12773. "type": "number"
  12774. },
  12775. "enumdicname": {
  12776. "description": "现货商品单位名称",
  12777. "type": "string"
  12778. },
  12779. "reckondate": {
  12780. "description": "日照时期(yyyyMMdd)",
  12781. "type": "string"
  12782. },
  12783. "selloutqty": {
  12784. "description": "销售出库量",
  12785. "type": "number"
  12786. },
  12787. "todaybuyreckonqty": {
  12788. "description": "采购确定量",
  12789. "type": "number"
  12790. },
  12791. "todaysellreckonqty": {
  12792. "description": "销售确定量",
  12793. "type": "number"
  12794. },
  12795. "totalbuypricedqty": {
  12796. "description": "采购定价量 = 期末 - 期初",
  12797. "type": "number"
  12798. },
  12799. "totalsellpricedqty": {
  12800. "description": "销售定价量 = 期末 - 期初",
  12801. "type": "number"
  12802. },
  12803. "wrstandardcode": {
  12804. "description": "现货商品代码",
  12805. "type": "string"
  12806. },
  12807. "wrstandardid": {
  12808. "description": "现货商品ID",
  12809. "type": "integer"
  12810. },
  12811. "wrstandardname": {
  12812. "description": "现货商品名称",
  12813. "type": "string"
  12814. }
  12815. }
  12816. },
  12817. "models.ErmcpReportMonSpot": {
  12818. "type": "object",
  12819. "properties": {
  12820. "areauserid": {
  12821. "description": "所属机构T",
  12822. "type": "integer"
  12823. },
  12824. "buyinqty": {
  12825. "description": "采购入库量",
  12826. "type": "number"
  12827. },
  12828. "cycletime": {
  12829. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12830. "type": "string"
  12831. },
  12832. "cycletype": {
  12833. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12834. "type": "integer"
  12835. },
  12836. "enumdicname": {
  12837. "description": "现货商品单位名称",
  12838. "type": "string"
  12839. },
  12840. "selloutqty": {
  12841. "description": "销售出库量",
  12842. "type": "number"
  12843. },
  12844. "todaybuyreckonqty": {
  12845. "description": "采购确定量",
  12846. "type": "number"
  12847. },
  12848. "todaysellreckonqty": {
  12849. "description": "销售确定量",
  12850. "type": "number"
  12851. },
  12852. "totalbuypricedqty": {
  12853. "description": "采购定价量 = 期末 - 期初",
  12854. "type": "number"
  12855. },
  12856. "totalsellpricedqty": {
  12857. "description": "销售定价量 = 期末 - 期初",
  12858. "type": "number"
  12859. },
  12860. "wrstandardcode": {
  12861. "description": "现货商品代码",
  12862. "type": "string"
  12863. },
  12864. "wrstandardid": {
  12865. "description": "现货商品ID",
  12866. "type": "integer"
  12867. },
  12868. "wrstandardname": {
  12869. "description": "现货商品名称",
  12870. "type": "string"
  12871. }
  12872. }
  12873. },
  12874. "models.ErmcpReportMonthFR": {
  12875. "type": "object",
  12876. "properties": {
  12877. "areauserid": {
  12878. "description": "所属机构【原值】",
  12879. "type": "integer"
  12880. },
  12881. "collectinvoiceamount": {
  12882. "description": "今日开票金额【汇总】",
  12883. "type": "number"
  12884. },
  12885. "collectinvoicecount": {
  12886. "description": "今日开票笔数【汇总】",
  12887. "type": "integer"
  12888. },
  12889. "collectmoneyamount": {
  12890. "description": "今日收款金额【汇总】",
  12891. "type": "number"
  12892. },
  12893. "collectmoneycount": {
  12894. "description": "今日收款笔数 【汇总】",
  12895. "type": "integer"
  12896. },
  12897. "cycletime": {
  12898. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12899. "type": "string"
  12900. },
  12901. "cycletype": {
  12902. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12903. "type": "integer"
  12904. },
  12905. "dayFr": {
  12906. "description": "日报表明细",
  12907. "type": "array",
  12908. "items": {
  12909. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12910. }
  12911. },
  12912. "payinvoiceamount": {
  12913. "description": "今日收票金额【汇总】",
  12914. "type": "number"
  12915. },
  12916. "payinvoicecount": {
  12917. "description": "今日收票笔数【汇总】",
  12918. "type": "integer"
  12919. },
  12920. "paymoneyamount": {
  12921. "description": "今日付款金额【汇总】",
  12922. "type": "number"
  12923. },
  12924. "paymoneycount": {
  12925. "description": "今日付款笔数【汇总】",
  12926. "type": "integer"
  12927. },
  12928. "updatetime": {
  12929. "description": "更新时间",
  12930. "type": "string"
  12931. }
  12932. }
  12933. },
  12934. "models.ErmcpReportOPLog": {
  12935. "type": "object",
  12936. "properties": {
  12937. "applyid": {
  12938. "description": "操作人",
  12939. "type": "integer"
  12940. },
  12941. "applyname": {
  12942. "description": "操作人名称",
  12943. "type": "string"
  12944. },
  12945. "biztype": {
  12946. "description": "业务类型 - 1:套保计划 2:现货合同",
  12947. "type": "integer"
  12948. },
  12949. "brandname": {
  12950. "description": "品牌名称",
  12951. "type": "string"
  12952. },
  12953. "contracttype": {
  12954. "description": "现货合同类型 - 1:采购 -1:销售",
  12955. "type": "integer"
  12956. },
  12957. "enumdicName": {
  12958. "description": "单位名称",
  12959. "type": "string"
  12960. },
  12961. "logdatetime": {
  12962. "description": "流水日期(时间)",
  12963. "type": "string"
  12964. },
  12965. "logid": {
  12966. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12967. "type": "string"
  12968. },
  12969. "logtypename": {
  12970. "description": "合同类型(名称)",
  12971. "type": "string"
  12972. },
  12973. "logvalue": {
  12974. "description": "数值",
  12975. "type": "string"
  12976. },
  12977. "modelname": {
  12978. "description": "型号名称",
  12979. "type": "string"
  12980. },
  12981. "operatelogtype": {
  12982. "description": "操作流水类型 -",
  12983. "type": "integer"
  12984. },
  12985. "optypename": {
  12986. "description": "流水类型名称",
  12987. "type": "string"
  12988. },
  12989. "relatedid": {
  12990. "description": "现货合同ID\\套保计划",
  12991. "type": "string"
  12992. },
  12993. "relatedno": {
  12994. "description": "合同编号",
  12995. "type": "string"
  12996. },
  12997. "tradedate": {
  12998. "description": "交易日(yyyyMMdd)",
  12999. "type": "string"
  13000. },
  13001. "userid": {
  13002. "description": "机构ID",
  13003. "type": "integer"
  13004. },
  13005. "wrstandardcode": {
  13006. "description": "现货商品代码",
  13007. "type": "string"
  13008. },
  13009. "wrstandardid": {
  13010. "description": "现货商品ID",
  13011. "type": "integer"
  13012. },
  13013. "wrstandardname": {
  13014. "description": "现货商品名称",
  13015. "type": "string"
  13016. }
  13017. }
  13018. },
  13019. "models.ErmcpSpotContractModel": {
  13020. "type": "object",
  13021. "properties": {
  13022. "amount": {
  13023. "description": "金额 [1:一口价、3:暂定价]",
  13024. "type": "number"
  13025. },
  13026. "attachment": {
  13027. "description": "附件",
  13028. "type": "string"
  13029. },
  13030. "auditremark": {
  13031. "description": "审核意见",
  13032. "type": "string"
  13033. },
  13034. "audittime": {
  13035. "description": "审核时间",
  13036. "type": "string"
  13037. },
  13038. "brandname": {
  13039. "description": "品牌名称",
  13040. "type": "string"
  13041. },
  13042. "buyuserid": {
  13043. "description": "采购方ID",
  13044. "type": "integer"
  13045. },
  13046. "buyusername": {
  13047. "description": "采购方名称",
  13048. "type": "string"
  13049. },
  13050. "contracctstatus": {
  13051. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13052. "type": "integer"
  13053. },
  13054. "contractmargin": {
  13055. "description": "合同保证金",
  13056. "type": "number"
  13057. },
  13058. "contractno": {
  13059. "description": "现货合同编号",
  13060. "type": "string"
  13061. },
  13062. "contracttype": {
  13063. "description": "现货合同类型 - 1:采购 -1:销售",
  13064. "type": "integer"
  13065. },
  13066. "convertfactor": {
  13067. "description": "标仓系数",
  13068. "type": "number"
  13069. },
  13070. "createtime": {
  13071. "description": "创建时间",
  13072. "type": "string"
  13073. },
  13074. "deliveryenddate": {
  13075. "description": "交收期(结束)",
  13076. "type": "string"
  13077. },
  13078. "deliverygoodscode": {
  13079. "description": "现货品种代码",
  13080. "type": "string"
  13081. },
  13082. "deliverygoodsid": {
  13083. "description": "现货品种ID",
  13084. "type": "integer"
  13085. },
  13086. "deliverygoodsname": {
  13087. "description": "现货品种名称",
  13088. "type": "string"
  13089. },
  13090. "deliverystartdate": {
  13091. "description": "交收期(开始)",
  13092. "type": "string"
  13093. },
  13094. "enddate": {
  13095. "description": "点价结束日期 [2:点价 3:暂定价]",
  13096. "type": "string"
  13097. },
  13098. "enumdicname": {
  13099. "description": "单位名称",
  13100. "type": "string"
  13101. },
  13102. "goodscode": {
  13103. "description": "点价合约代码",
  13104. "type": "string"
  13105. },
  13106. "goodsid": {
  13107. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13108. "type": "integer"
  13109. },
  13110. "goodsname": {
  13111. "description": "点价商品名称",
  13112. "type": "string"
  13113. },
  13114. "margin": {
  13115. "description": "当前保证金",
  13116. "type": "number"
  13117. },
  13118. "modelname": {
  13119. "description": "型号名称",
  13120. "type": "string"
  13121. },
  13122. "price": {
  13123. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13124. "type": "number"
  13125. },
  13126. "pricemove": {
  13127. "description": "升贴水 [2:点价 3:暂定价]",
  13128. "type": "number"
  13129. },
  13130. "pricetype": {
  13131. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13132. "type": "integer"
  13133. },
  13134. "producttype": {
  13135. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13136. "type": "integer"
  13137. },
  13138. "qty": {
  13139. "description": "数量",
  13140. "type": "number"
  13141. },
  13142. "remark": {
  13143. "description": "备注",
  13144. "type": "string"
  13145. },
  13146. "selluserid": {
  13147. "description": "销售方ID",
  13148. "type": "integer"
  13149. },
  13150. "sellusername": {
  13151. "description": "销售方名称",
  13152. "type": "string"
  13153. },
  13154. "spotcontractid": {
  13155. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13156. "type": "string"
  13157. },
  13158. "spotgoodsbrandid": {
  13159. "description": "现货品牌ID",
  13160. "type": "integer"
  13161. },
  13162. "spotgoodsdesc": {
  13163. "description": "商品型号",
  13164. "type": "string"
  13165. },
  13166. "spotgoodsmodelid": {
  13167. "description": "现货型号ID",
  13168. "type": "integer"
  13169. },
  13170. "startdate": {
  13171. "description": "点价开始日期 [2:点价 3:暂定价]",
  13172. "type": "string"
  13173. },
  13174. "updatetime": {
  13175. "description": "更新时间",
  13176. "type": "string"
  13177. },
  13178. "userid": {
  13179. "description": "机构ID",
  13180. "type": "integer"
  13181. },
  13182. "wrstandardcode": {
  13183. "description": "现货商品代码",
  13184. "type": "string"
  13185. },
  13186. "wrstandardid": {
  13187. "description": "现货商品ID",
  13188. "type": "integer"
  13189. },
  13190. "wrstandardname": {
  13191. "description": "现货商品名称",
  13192. "type": "string"
  13193. }
  13194. }
  13195. },
  13196. "models.ErmcpUserModel": {
  13197. "type": "object",
  13198. "properties": {
  13199. "address": {
  13200. "description": "通讯地址",
  13201. "type": "string"
  13202. },
  13203. "attachment1": {
  13204. "description": "附件1",
  13205. "type": "string"
  13206. },
  13207. "audittime": {
  13208. "description": "审核时间",
  13209. "type": "string"
  13210. },
  13211. "cardfrontphotourl": {
  13212. "description": "证件正面图片地址",
  13213. "type": "string"
  13214. },
  13215. "cardnum": {
  13216. "description": "证件号码",
  13217. "type": "string"
  13218. },
  13219. "cardtype": {
  13220. "description": "证件类型",
  13221. "type": "integer"
  13222. },
  13223. "cardtypename": {
  13224. "description": "证件类型名称",
  13225. "type": "string"
  13226. },
  13227. "cityid": {
  13228. "description": "市",
  13229. "type": "integer"
  13230. },
  13231. "countryid": {
  13232. "description": "国家",
  13233. "type": "integer"
  13234. },
  13235. "createtime": {
  13236. "description": "创建时间",
  13237. "type": "string"
  13238. },
  13239. "customername": {
  13240. "description": "企业名称",
  13241. "type": "string"
  13242. },
  13243. "memberuserid": {
  13244. "description": "所属机构ID",
  13245. "type": "integer"
  13246. },
  13247. "mobile": {
  13248. "description": "手机号码",
  13249. "type": "string"
  13250. },
  13251. "modifytime": {
  13252. "description": "修改时间",
  13253. "type": "string"
  13254. },
  13255. "provinceid": {
  13256. "description": "省",
  13257. "type": "integer"
  13258. },
  13259. "remark": {
  13260. "description": "备注",
  13261. "type": "string"
  13262. },
  13263. "status": {
  13264. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  13265. "type": "integer"
  13266. },
  13267. "statusdesc": {
  13268. "description": "账户状态中文描述",
  13269. "type": "string"
  13270. },
  13271. "telphone": {
  13272. "description": "联系电话",
  13273. "type": "string"
  13274. },
  13275. "userid": {
  13276. "description": "用户ID",
  13277. "type": "integer"
  13278. },
  13279. "userinfotype": {
  13280. "description": "客户类型",
  13281. "type": "string"
  13282. }
  13283. }
  13284. },
  13285. "models.ErmcpWareHouseInfo": {
  13286. "type": "object",
  13287. "properties": {
  13288. "address": {
  13289. "description": "详细地址",
  13290. "type": "string"
  13291. },
  13292. "areauserid": {
  13293. "description": "所属机构",
  13294. "type": "integer"
  13295. },
  13296. "autoid": {
  13297. "description": "自增ID(仓库ID)",
  13298. "type": "integer"
  13299. },
  13300. "cityid": {
  13301. "description": "市",
  13302. "type": "integer"
  13303. },
  13304. "contactname": {
  13305. "description": "联系人",
  13306. "type": "string"
  13307. },
  13308. "contactnum": {
  13309. "description": "联系电话",
  13310. "type": "string"
  13311. },
  13312. "countryid": {
  13313. "description": "国家",
  13314. "type": "integer"
  13315. },
  13316. "createtime": {
  13317. "description": "创建时间",
  13318. "type": "string"
  13319. },
  13320. "districtid": {
  13321. "description": "区",
  13322. "type": "integer"
  13323. },
  13324. "hasvideo": {
  13325. "description": "是否有视频 - 0:无 1:有",
  13326. "type": "integer"
  13327. },
  13328. "provinceid": {
  13329. "description": "省",
  13330. "type": "integer"
  13331. },
  13332. "remark": {
  13333. "description": "审核备注",
  13334. "type": "string"
  13335. },
  13336. "videourl": {
  13337. "description": "视频地址",
  13338. "type": "string"
  13339. },
  13340. "warehousecode": {
  13341. "description": "仓库代码",
  13342. "type": "string"
  13343. },
  13344. "warehousename": {
  13345. "description": "仓库名称",
  13346. "type": "string"
  13347. },
  13348. "warehousestatus": {
  13349. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13350. "type": "integer"
  13351. },
  13352. "warehousetype": {
  13353. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13354. "type": "integer"
  13355. }
  13356. }
  13357. },
  13358. "models.ErmcpWrstandDetail": {
  13359. "type": "object",
  13360. "properties": {
  13361. "gbList": {
  13362. "description": "品牌列表",
  13363. "type": "array",
  13364. "items": {
  13365. "$ref": "#/definitions/models.GoodsBrand"
  13366. }
  13367. },
  13368. "goodsList": {
  13369. "description": "关联交易商品列表",
  13370. "type": "array",
  13371. "items": {
  13372. "$ref": "#/definitions/models.RelatedGoodsEx"
  13373. }
  13374. },
  13375. "gtList": {
  13376. "description": "型号列表",
  13377. "type": "array",
  13378. "items": {
  13379. "$ref": "#/definitions/models.GoodsTypeModel"
  13380. }
  13381. },
  13382. "wrd": {
  13383. "description": "基本信息",
  13384. "type": "object",
  13385. "$ref": "#/definitions/models.ErmcpWrstandard"
  13386. },
  13387. "wrsList": {
  13388. "description": "套保信息列表",
  13389. "type": "array",
  13390. "items": {
  13391. "$ref": "#/definitions/models.WRSConverTDetail"
  13392. }
  13393. }
  13394. }
  13395. },
  13396. "models.ErmcpWrstandard": {
  13397. "type": "object",
  13398. "properties": {
  13399. "areauserid": {
  13400. "description": "所属机构",
  13401. "type": "integer"
  13402. },
  13403. "createtime": {
  13404. "description": "创建时间",
  13405. "type": "string"
  13406. },
  13407. "creatorid": {
  13408. "description": "创建人",
  13409. "type": "integer"
  13410. },
  13411. "deliverygoodsid": {
  13412. "description": "品种ID",
  13413. "type": "integer"
  13414. },
  13415. "enumdicname": {
  13416. "description": "单位名称",
  13417. "type": "string"
  13418. },
  13419. "isvalid": {
  13420. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13421. "type": "integer"
  13422. },
  13423. "minivalue": {
  13424. "description": "最小变动值",
  13425. "type": "integer"
  13426. },
  13427. "minivaluedp": {
  13428. "description": "最小变动值小数位",
  13429. "type": "integer"
  13430. },
  13431. "realminivalue": {
  13432. "description": "实际最小变动值",
  13433. "type": "integer"
  13434. },
  13435. "realminivaluedp": {
  13436. "description": "实际最小变动值小数位",
  13437. "type": "integer"
  13438. },
  13439. "remark": {
  13440. "description": "备注",
  13441. "type": "string"
  13442. },
  13443. "unitid": {
  13444. "description": "单位ID",
  13445. "type": "integer"
  13446. },
  13447. "updatetime": {
  13448. "description": "更新时间",
  13449. "type": "string"
  13450. },
  13451. "wrstandardcode": {
  13452. "description": "现货商品代码",
  13453. "type": "string"
  13454. },
  13455. "wrstandardid": {
  13456. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13457. "type": "integer"
  13458. },
  13459. "wrstandardname": {
  13460. "description": "现货商品名称",
  13461. "type": "string"
  13462. }
  13463. }
  13464. },
  13465. "models.Externalexchange": {
  13466. "type": "object",
  13467. "required": [
  13468. "autoid"
  13469. ],
  13470. "properties": {
  13471. "autoid": {
  13472. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13473. "type": "integer"
  13474. },
  13475. "exchangefullname": {
  13476. "description": "外部交易所全称",
  13477. "type": "string"
  13478. },
  13479. "exexchangecode": {
  13480. "description": "外部交易所代码",
  13481. "type": "string"
  13482. },
  13483. "exexchangename": {
  13484. "description": "外部交易所名称(简称)",
  13485. "type": "string"
  13486. },
  13487. "ismarketprice": {
  13488. "description": "是否支持市价 - 0:不支持 1:支持",
  13489. "type": "integer"
  13490. },
  13491. "quotegear": {
  13492. "description": "行情档位(1-10)",
  13493. "type": "integer"
  13494. },
  13495. "showbrokerflag": {
  13496. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13497. "type": "integer"
  13498. },
  13499. "updatetime": {
  13500. "description": "更新时间",
  13501. "type": "string"
  13502. }
  13503. }
  13504. },
  13505. "models.Funcmenulist": {
  13506. "type": "object",
  13507. "required": [
  13508. "resourcecode"
  13509. ],
  13510. "properties": {
  13511. "iconame": {
  13512. "description": "菜单图标",
  13513. "type": "string"
  13514. },
  13515. "menutype": {
  13516. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13517. "type": "integer"
  13518. },
  13519. "parentcode": {
  13520. "description": "上级资源代码",
  13521. "type": "string"
  13522. },
  13523. "remark": {
  13524. "description": "备注",
  13525. "type": "string"
  13526. },
  13527. "resourcecode": {
  13528. "description": "资源代码",
  13529. "type": "string"
  13530. },
  13531. "resourcelevel": {
  13532. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13533. "type": "integer"
  13534. },
  13535. "resourcename": {
  13536. "description": "资源名",
  13537. "type": "string"
  13538. },
  13539. "sort": {
  13540. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13541. "type": "integer"
  13542. },
  13543. "url": {
  13544. "description": "URL",
  13545. "type": "string"
  13546. }
  13547. }
  13548. },
  13549. "models.Goods": {
  13550. "type": "object",
  13551. "required": [
  13552. "goodscode",
  13553. "goodsid",
  13554. "goodsname",
  13555. "marketid"
  13556. ],
  13557. "properties": {
  13558. "agreeunit": {
  13559. "description": "合约单位",
  13560. "type": "number"
  13561. },
  13562. "auditaccountid": {
  13563. "description": "审核操作员账号",
  13564. "type": "integer"
  13565. },
  13566. "audittime": {
  13567. "description": "审核时间",
  13568. "type": "string"
  13569. },
  13570. "cancelaccountid": {
  13571. "description": "注销操作员账号",
  13572. "type": "integer"
  13573. },
  13574. "canceltime": {
  13575. "description": "注销时间",
  13576. "type": "string"
  13577. },
  13578. "closepricemode": {
  13579. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13580. "type": "integer"
  13581. },
  13582. "closepriceparam": {
  13583. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13584. "type": "number"
  13585. },
  13586. "createtime": {
  13587. "description": "创建时间",
  13588. "type": "string"
  13589. },
  13590. "creatorid": {
  13591. "description": "创建人",
  13592. "type": "integer"
  13593. },
  13594. "currencyid": {
  13595. "description": "报价货币ID",
  13596. "type": "integer"
  13597. },
  13598. "cutmode": {
  13599. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13600. "type": "integer"
  13601. },
  13602. "decimalplace": {
  13603. "description": "报价小数位",
  13604. "type": "integer"
  13605. },
  13606. "delistingdate": {
  13607. "description": "商品退市时间(状态:退市) -- 已作废",
  13608. "type": "string"
  13609. },
  13610. "delistingmode": {
  13611. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13612. "type": "integer"
  13613. },
  13614. "deliveryflag": {
  13615. "description": "交割标志 - 0:不可交割 1:可交割",
  13616. "type": "integer"
  13617. },
  13618. "forceclosemode": {
  13619. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13620. "type": "integer"
  13621. },
  13622. "forceclosevalue": {
  13623. "description": "定期强平参数 [收益权]",
  13624. "type": "integer"
  13625. },
  13626. "goodscode": {
  13627. "description": "商品代码(内部)",
  13628. "type": "string"
  13629. },
  13630. "goodscurrencyid": {
  13631. "description": "合约货币ID",
  13632. "type": "integer"
  13633. },
  13634. "goodsgroupid": {
  13635. "description": "所属商品组ID",
  13636. "type": "integer"
  13637. },
  13638. "goodsid": {
  13639. "description": "商品ID(自增ID SEQ_GOODS)",
  13640. "type": "integer"
  13641. },
  13642. "goodsname": {
  13643. "description": "商品名称",
  13644. "type": "string"
  13645. },
  13646. "goodsquotetype": {
  13647. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13648. "type": "integer"
  13649. },
  13650. "goodsstatus": {
  13651. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13652. "type": "integer"
  13653. },
  13654. "goodstradetype": {
  13655. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13656. "type": "integer"
  13657. },
  13658. "goodunitid": {
  13659. "description": "报价单位ID",
  13660. "type": "integer"
  13661. },
  13662. "hasquoter": {
  13663. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13664. "type": "integer"
  13665. },
  13666. "hqprotecttime": {
  13667. "description": "行情保护时间(秒)",
  13668. "type": "integer"
  13669. },
  13670. "innerdealmode": {
  13671. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13672. "type": "integer"
  13673. },
  13674. "isbuylimited": {
  13675. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13676. "type": "integer"
  13677. },
  13678. "lasttradedate": {
  13679. "description": "最后交易日期(状态:待退市)",
  13680. "type": "string"
  13681. },
  13682. "listingdate": {
  13683. "description": "交易开始日期",
  13684. "type": "string"
  13685. },
  13686. "marketid": {
  13687. "description": "所属市场ID",
  13688. "type": "integer"
  13689. },
  13690. "modifierid": {
  13691. "description": "修改人",
  13692. "type": "integer"
  13693. },
  13694. "modifystatus": {
  13695. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13696. "type": "integer"
  13697. },
  13698. "modifytime": {
  13699. "description": "修改时间",
  13700. "type": "string"
  13701. },
  13702. "outerdealmode": {
  13703. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13704. "type": "integer"
  13705. },
  13706. "outgoodscode": {
  13707. "description": "商品代码(外部)",
  13708. "type": "string"
  13709. },
  13710. "qtydecimalplace": {
  13711. "description": "成交量小数位",
  13712. "type": "integer"
  13713. },
  13714. "quotegear": {
  13715. "description": "行情档位(1-10)",
  13716. "type": "integer"
  13717. },
  13718. "quoteminunit": {
  13719. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13720. "type": "integer"
  13721. },
  13722. "quoteshowtype": {
  13723. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13724. "type": "integer"
  13725. },
  13726. "quoteshowtypeinterval": {
  13727. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13728. "type": "integer"
  13729. },
  13730. "remark": {
  13731. "description": "备注",
  13732. "type": "string"
  13733. }
  13734. }
  13735. },
  13736. "models.GoodsBrand": {
  13737. "type": "object",
  13738. "properties": {
  13739. "brandid": {
  13740. "description": "品牌ID",
  13741. "type": "integer"
  13742. },
  13743. "brandname": {
  13744. "description": "品牌名称",
  13745. "type": "string"
  13746. },
  13747. "isvalid": {
  13748. "description": "是否有效 - 0:无效 1:有效",
  13749. "type": "integer"
  13750. }
  13751. }
  13752. },
  13753. "models.GoodsGroupConvert": {
  13754. "type": "object",
  13755. "properties": {
  13756. "convertratio": {
  13757. "description": "折算系数",
  13758. "type": "number"
  13759. },
  13760. "dstgoodsgroupid": {
  13761. "description": "目标期货品种ID",
  13762. "type": "integer"
  13763. },
  13764. "goodsgroupname": {
  13765. "description": "期货品种名称",
  13766. "type": "string"
  13767. },
  13768. "outergroupcode": {
  13769. "description": "期货品种代码",
  13770. "type": "string"
  13771. },
  13772. "srcgoodsgroupid": {
  13773. "description": "源期货品种ID",
  13774. "type": "integer"
  13775. }
  13776. }
  13777. },
  13778. "models.GoodsIDAndName": {
  13779. "type": "object",
  13780. "required": [
  13781. "goodscode",
  13782. "goodsid",
  13783. "goodsname",
  13784. "marketid"
  13785. ],
  13786. "properties": {
  13787. "goodscode": {
  13788. "description": "商品代码(内部)",
  13789. "type": "string"
  13790. },
  13791. "goodsid": {
  13792. "description": "商品ID(自增ID SEQ_GOODS)",
  13793. "type": "integer"
  13794. },
  13795. "goodsname": {
  13796. "description": "商品名称",
  13797. "type": "string"
  13798. },
  13799. "marketid": {
  13800. "description": "所属市场ID",
  13801. "type": "integer"
  13802. }
  13803. }
  13804. },
  13805. "models.GoodsTypeModel": {
  13806. "type": "object",
  13807. "properties": {
  13808. "modelid": {
  13809. "description": "型号ID",
  13810. "type": "integer"
  13811. },
  13812. "modelname": {
  13813. "description": "型号名称",
  13814. "type": "string"
  13815. },
  13816. "updatetime": {
  13817. "description": "更新时间",
  13818. "type": "string"
  13819. }
  13820. }
  13821. },
  13822. "models.Goodsgroup": {
  13823. "type": "object",
  13824. "required": [
  13825. "goodsgroupid",
  13826. "goodsgroupname",
  13827. "goodsgroupstatus",
  13828. "marketid"
  13829. ],
  13830. "properties": {
  13831. "agreeunit": {
  13832. "description": "合约单位",
  13833. "type": "number"
  13834. },
  13835. "canshort": {
  13836. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13837. "type": "integer"
  13838. },
  13839. "closepricemode": {
  13840. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13841. "type": "integer"
  13842. },
  13843. "closepriceparam": {
  13844. "description": "强平最新价浮动比例 - 方式为2时使用",
  13845. "type": "number"
  13846. },
  13847. "createtime": {
  13848. "description": "创建时间",
  13849. "type": "string"
  13850. },
  13851. "creatorid": {
  13852. "description": "创建人",
  13853. "type": "integer"
  13854. },
  13855. "currencyid": {
  13856. "description": "报价货币ID",
  13857. "type": "integer"
  13858. },
  13859. "decimalplace": {
  13860. "description": "报价小数位",
  13861. "type": "integer"
  13862. },
  13863. "exercisetype": {
  13864. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13865. "type": "integer"
  13866. },
  13867. "exexchangeid": {
  13868. "description": "外部交易所ID[通道交易]",
  13869. "type": "integer"
  13870. },
  13871. "goodsgroupid": {
  13872. "description": "商品组ID(自增ID)",
  13873. "type": "integer"
  13874. },
  13875. "goodsgroupname": {
  13876. "description": "商品组名称",
  13877. "type": "string"
  13878. },
  13879. "goodsgroupstatus": {
  13880. "description": "商品组状态 - 1:正常 2:注销",
  13881. "type": "integer"
  13882. },
  13883. "goodunitid": {
  13884. "description": "报价单位ID",
  13885. "type": "integer"
  13886. },
  13887. "innerdealmode": {
  13888. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13889. "type": "integer"
  13890. },
  13891. "isbuylimited": {
  13892. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13893. "type": "integer"
  13894. },
  13895. "marketid": {
  13896. "description": "所属市场ID",
  13897. "type": "integer"
  13898. },
  13899. "modifierid": {
  13900. "description": "修改人",
  13901. "type": "integer"
  13902. },
  13903. "modifytime": {
  13904. "description": "修改时间",
  13905. "type": "string"
  13906. },
  13907. "outerdealmode": {
  13908. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13909. "type": "integer"
  13910. },
  13911. "outergroupcode": {
  13912. "description": "外部商品组代码[通道交易]",
  13913. "type": "string"
  13914. },
  13915. "premiumdecimalplace": {
  13916. "description": "权利金小数位[场外期权]",
  13917. "type": "integer"
  13918. },
  13919. "premiumspreadalgorithm": {
  13920. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13921. "type": "integer"
  13922. },
  13923. "premiumspreadvalue": {
  13924. "description": "权利金点差值[场外期权]",
  13925. "type": "number"
  13926. },
  13927. "qtydecimalplace": {
  13928. "description": "成交量小数位",
  13929. "type": "integer"
  13930. },
  13931. "quotegear": {
  13932. "description": "行情档位(1-10)",
  13933. "type": "integer"
  13934. },
  13935. "quoteminunit": {
  13936. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13937. "type": "integer"
  13938. },
  13939. "quoterid": {
  13940. "description": "报价商ID[场外期权]",
  13941. "type": "integer"
  13942. },
  13943. "quotesourcegroupid": {
  13944. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13945. "type": "integer"
  13946. },
  13947. "syncgoodsqty": {
  13948. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13949. "type": "integer"
  13950. }
  13951. }
  13952. },
  13953. "models.Goodssortbypreposition": {
  13954. "type": "object",
  13955. "required": [
  13956. "goodscode",
  13957. "tradedate"
  13958. ],
  13959. "properties": {
  13960. "goodscode": {
  13961. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  13962. "type": "string"
  13963. },
  13964. "goodsgroupcode": {
  13965. "description": "品种代码",
  13966. "type": "string"
  13967. },
  13968. "prepositionqty": {
  13969. "description": "昨持仓量",
  13970. "type": "integer"
  13971. },
  13972. "sortindex": {
  13973. "description": "排序",
  13974. "type": "integer"
  13975. },
  13976. "tradedate": {
  13977. "description": "交易日",
  13978. "type": "string"
  13979. },
  13980. "updatetime": {
  13981. "description": "更新时间",
  13982. "type": "string"
  13983. }
  13984. }
  13985. },
  13986. "models.HsbyBuyMyPayOrder": {
  13987. "type": "object",
  13988. "required": [
  13989. "goodscode",
  13990. "goodsname",
  13991. "tradeid",
  13992. "trademode"
  13993. ],
  13994. "properties": {
  13995. "agreeunit": {
  13996. "description": "合约单位",
  13997. "type": "number"
  13998. },
  13999. "buyaccountid": {
  14000. "description": "买方账号ID[报价币种]",
  14001. "type": "integer"
  14002. },
  14003. "buyorderid": {
  14004. "description": "买方委托单号",
  14005. "type": "string"
  14006. },
  14007. "createtime": {
  14008. "description": "创建时间",
  14009. "type": "string"
  14010. },
  14011. "currencysign": {
  14012. "description": "货币符号",
  14013. "type": "string"
  14014. },
  14015. "decimalplace": {
  14016. "description": "报价小数位",
  14017. "type": "integer"
  14018. },
  14019. "goodscode": {
  14020. "description": "商品代码(内部)",
  14021. "type": "string"
  14022. },
  14023. "goodsid": {
  14024. "description": "商品ID",
  14025. "type": "integer"
  14026. },
  14027. "goodsname": {
  14028. "description": "商品名称",
  14029. "type": "string"
  14030. },
  14031. "marketid": {
  14032. "description": "市场ID",
  14033. "type": "integer"
  14034. },
  14035. "offamount": {
  14036. "description": "优惠金额",
  14037. "type": "number"
  14038. },
  14039. "originalamount": {
  14040. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14041. "type": "number"
  14042. },
  14043. "payamount": {
  14044. "description": "支付金额 = TradeAmount + TradeCharge",
  14045. "type": "number"
  14046. },
  14047. "payflag": {
  14048. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14049. "type": "integer"
  14050. },
  14051. "paylimitedtime": {
  14052. "description": "支付期限",
  14053. "type": "string"
  14054. },
  14055. "paytime": {
  14056. "description": "付款时间",
  14057. "type": "string"
  14058. },
  14059. "picurls1": {
  14060. "description": "预售商品介绍图片[多张用逗号分隔]",
  14061. "type": "string"
  14062. },
  14063. "picurls2": {
  14064. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14065. "type": "string"
  14066. },
  14067. "sellaccountid": {
  14068. "description": "卖方账号ID[报价币种]",
  14069. "type": "integer"
  14070. },
  14071. "sellorderid": {
  14072. "description": "卖方委托单号",
  14073. "type": "string"
  14074. },
  14075. "tradeamount": {
  14076. "description": "成交金额",
  14077. "type": "number"
  14078. },
  14079. "tradecharge": {
  14080. "description": "成交手续费(买方)",
  14081. "type": "number"
  14082. },
  14083. "tradedate": {
  14084. "description": "交易日(yyyyMMdd)",
  14085. "type": "string"
  14086. },
  14087. "tradeid": {
  14088. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14089. "type": "string"
  14090. },
  14091. "trademode": {
  14092. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14093. "type": "integer"
  14094. },
  14095. "tradeprice": {
  14096. "description": "成交价格",
  14097. "type": "number"
  14098. },
  14099. "tradeqty": {
  14100. "description": "成交数量",
  14101. "type": "integer"
  14102. },
  14103. "vendorname1": {
  14104. "description": "预售商品供应商名称",
  14105. "type": "string"
  14106. },
  14107. "vendorname2": {
  14108. "description": "挂牌商品供应商名称",
  14109. "type": "string"
  14110. }
  14111. }
  14112. },
  14113. "models.HsbyBuyMyTradeDetail": {
  14114. "type": "object",
  14115. "required": [
  14116. "accountid",
  14117. "buyorsell",
  14118. "goodscode",
  14119. "goodsid",
  14120. "goodsname",
  14121. "marketid",
  14122. "orderid",
  14123. "qty",
  14124. "time",
  14125. "trademode"
  14126. ],
  14127. "properties": {
  14128. "accountid": {
  14129. "description": "账户ID[报价币种]",
  14130. "type": "integer"
  14131. },
  14132. "agreeunit": {
  14133. "description": "合约单位",
  14134. "type": "number"
  14135. },
  14136. "amount": {
  14137. "description": "金额 = 价格 * 数量 * 合约单位",
  14138. "type": "number"
  14139. },
  14140. "buyorsell": {
  14141. "description": "买卖 - 0:买 1:卖",
  14142. "type": "integer"
  14143. },
  14144. "currencysign": {
  14145. "description": "货币符号",
  14146. "type": "string"
  14147. },
  14148. "decimalplace": {
  14149. "description": "报价小数位",
  14150. "type": "integer"
  14151. },
  14152. "goodscode": {
  14153. "description": "商品代码(内部)",
  14154. "type": "string"
  14155. },
  14156. "goodsid": {
  14157. "description": "商品ID",
  14158. "type": "integer"
  14159. },
  14160. "goodsname": {
  14161. "description": "商品名称",
  14162. "type": "string"
  14163. },
  14164. "marketid": {
  14165. "description": "市场ID",
  14166. "type": "integer"
  14167. },
  14168. "orderamount": {
  14169. "description": "委托金额",
  14170. "type": "number"
  14171. },
  14172. "orderid": {
  14173. "description": "单号(成交单号)",
  14174. "type": "string"
  14175. },
  14176. "picurls1": {
  14177. "description": "预售商品介绍图片[多张用逗号分隔]",
  14178. "type": "string"
  14179. },
  14180. "picurls2": {
  14181. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14182. "type": "string"
  14183. },
  14184. "price": {
  14185. "description": "价格",
  14186. "type": "number"
  14187. },
  14188. "qty": {
  14189. "description": "数量",
  14190. "type": "integer"
  14191. },
  14192. "time": {
  14193. "description": "时间",
  14194. "type": "string"
  14195. },
  14196. "trademode": {
  14197. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14198. "type": "integer"
  14199. },
  14200. "vendorname1": {
  14201. "description": "预售商品供应商名称",
  14202. "type": "string"
  14203. },
  14204. "vendorname2": {
  14205. "description": "挂牌商品供应商名称",
  14206. "type": "string"
  14207. }
  14208. }
  14209. },
  14210. "models.HsbyGoodsOrderDetail": {
  14211. "type": "object",
  14212. "required": [
  14213. "buyorsell",
  14214. "orderid",
  14215. "ordertime"
  14216. ],
  14217. "properties": {
  14218. "buyorsell": {
  14219. "description": "买卖 - 0:买 1:卖",
  14220. "type": "integer"
  14221. },
  14222. "currencysign": {
  14223. "description": "货币符号",
  14224. "type": "string"
  14225. },
  14226. "customername": {
  14227. "description": "客户名称(企业名称),已脱敏",
  14228. "type": "string"
  14229. },
  14230. "enableqty": {
  14231. "description": "可用数量",
  14232. "type": "integer"
  14233. },
  14234. "goodunit": {
  14235. "description": "报价单位",
  14236. "type": "string"
  14237. },
  14238. "orderid": {
  14239. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14240. "type": "string"
  14241. },
  14242. "orderprice": {
  14243. "description": "委托价格",
  14244. "type": "number"
  14245. },
  14246. "ordertime": {
  14247. "description": "委托时间",
  14248. "type": "string"
  14249. }
  14250. }
  14251. },
  14252. "models.HsbyListingGoodsDetail": {
  14253. "type": "object",
  14254. "required": [
  14255. "goodscode",
  14256. "goodsid",
  14257. "goodsname",
  14258. "marketid",
  14259. "trademode"
  14260. ],
  14261. "properties": {
  14262. "agreeunit": {
  14263. "description": "合约单位",
  14264. "type": "number"
  14265. },
  14266. "buymaxqty": {
  14267. "description": "购买上限 [71] - 0为不限",
  14268. "type": "integer"
  14269. },
  14270. "currency": {
  14271. "description": "货币",
  14272. "type": "string"
  14273. },
  14274. "currencysign": {
  14275. "description": "货币符号",
  14276. "type": "string"
  14277. },
  14278. "decimalplace": {
  14279. "description": "报价小数位",
  14280. "type": "integer"
  14281. },
  14282. "desccityid": {
  14283. "description": "目的地(市)ID",
  14284. "type": "integer"
  14285. },
  14286. "descprovinceid": {
  14287. "description": "目的地(省)ID",
  14288. "type": "integer"
  14289. },
  14290. "goodscode": {
  14291. "description": "商品代码(内部)",
  14292. "type": "string"
  14293. },
  14294. "goodsdesc": {
  14295. "description": "商品详情",
  14296. "type": "string"
  14297. },
  14298. "goodsid": {
  14299. "description": "商品ID(自增ID SEQ_GOODS)",
  14300. "type": "integer"
  14301. },
  14302. "goodsname": {
  14303. "description": "商品名称",
  14304. "type": "string"
  14305. },
  14306. "goodsprice": {
  14307. "description": "商品价格",
  14308. "type": "number"
  14309. },
  14310. "hotindex": {
  14311. "description": "景点热度",
  14312. "type": "integer"
  14313. },
  14314. "last": {
  14315. "description": "现价",
  14316. "type": "number"
  14317. },
  14318. "limitdown": {
  14319. "description": "跌停价",
  14320. "type": "number"
  14321. },
  14322. "limitup": {
  14323. "description": "涨停价",
  14324. "type": "number"
  14325. },
  14326. "lotsize": {
  14327. "description": "手数最小变动单位",
  14328. "type": "integer"
  14329. },
  14330. "marketid": {
  14331. "description": "所属市场ID",
  14332. "type": "integer"
  14333. },
  14334. "picurls": {
  14335. "description": "介绍图片[多张用逗号分隔]",
  14336. "type": "string"
  14337. },
  14338. "quoteminunit": {
  14339. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14340. "type": "integer"
  14341. },
  14342. "stepvalue": {
  14343. "description": "价格最小变动单位",
  14344. "type": "number"
  14345. },
  14346. "trademode": {
  14347. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14348. "type": "integer"
  14349. },
  14350. "vendorattr": {
  14351. "description": "供应商附件(多张,逗号分隔)",
  14352. "type": "string"
  14353. },
  14354. "vendorname": {
  14355. "description": "供应商名称",
  14356. "type": "string"
  14357. },
  14358. "vendorphone": {
  14359. "description": "供应商客服电话",
  14360. "type": "string"
  14361. },
  14362. "videourls": {
  14363. "description": "介绍视频[多张用逗号分隔]",
  14364. "type": "string"
  14365. }
  14366. }
  14367. },
  14368. "models.HsbyMarketGoods": {
  14369. "type": "object",
  14370. "required": [
  14371. "accountid",
  14372. "buyorsell",
  14373. "goodscode",
  14374. "goodsid",
  14375. "goodsname",
  14376. "marketid",
  14377. "orderid",
  14378. "trademode"
  14379. ],
  14380. "properties": {
  14381. "accountid": {
  14382. "description": "账户ID[报价币种]",
  14383. "type": "integer"
  14384. },
  14385. "agreeunit": {
  14386. "description": "合约单位",
  14387. "type": "number"
  14388. },
  14389. "buyorsell": {
  14390. "description": "买卖 - 0:买 1:卖",
  14391. "type": "integer"
  14392. },
  14393. "categoryid": {
  14394. "description": "类别ID(WRCATEGORY)",
  14395. "type": "integer"
  14396. },
  14397. "currency": {
  14398. "description": "货币",
  14399. "type": "string"
  14400. },
  14401. "currencysign": {
  14402. "description": "货币符号",
  14403. "type": "string"
  14404. },
  14405. "customername": {
  14406. "description": "卖家名称",
  14407. "type": "string"
  14408. },
  14409. "decimalplace": {
  14410. "description": "报价小数位",
  14411. "type": "integer"
  14412. },
  14413. "goodscode": {
  14414. "description": "商品代码(内部)",
  14415. "type": "string"
  14416. },
  14417. "goodsid": {
  14418. "description": "商品ID",
  14419. "type": "integer"
  14420. },
  14421. "goodsname": {
  14422. "description": "商品名称",
  14423. "type": "string"
  14424. },
  14425. "goodsprice": {
  14426. "description": "商品价格",
  14427. "type": "number"
  14428. },
  14429. "hascoupon": {
  14430. "description": "是否可用优惠卷",
  14431. "type": "boolean"
  14432. },
  14433. "hotindex": {
  14434. "description": "景点热度",
  14435. "type": "integer"
  14436. },
  14437. "marketid": {
  14438. "description": "市场ID",
  14439. "type": "integer"
  14440. },
  14441. "orderid": {
  14442. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14443. "type": "string"
  14444. },
  14445. "orderprice": {
  14446. "description": "委托价格",
  14447. "type": "number"
  14448. },
  14449. "orderstatus": {
  14450. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14451. "type": "integer"
  14452. },
  14453. "picurls": {
  14454. "description": "介绍图片[多张用逗号分隔]",
  14455. "type": "string"
  14456. },
  14457. "quoteminunit": {
  14458. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14459. "type": "integer"
  14460. },
  14461. "sellUserID": {
  14462. "description": "卖方UserID",
  14463. "type": "integer"
  14464. },
  14465. "trademode": {
  14466. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14467. "type": "integer"
  14468. },
  14469. "videourls": {
  14470. "description": "介绍视频[多张用逗号分隔]",
  14471. "type": "string"
  14472. }
  14473. }
  14474. },
  14475. "models.HsbyMarketGoodsDetail": {
  14476. "type": "object",
  14477. "required": [
  14478. "accountid",
  14479. "buyorsell",
  14480. "goodscode",
  14481. "goodsid",
  14482. "goodsname",
  14483. "marketid",
  14484. "orderid",
  14485. "orderqty",
  14486. "trademode"
  14487. ],
  14488. "properties": {
  14489. "accountid": {
  14490. "description": "账户ID[报价币种]",
  14491. "type": "integer"
  14492. },
  14493. "agreeunit": {
  14494. "description": "合约单位",
  14495. "type": "number"
  14496. },
  14497. "buymaxqty": {
  14498. "description": "购买上限 [71] - 0为不限",
  14499. "type": "integer"
  14500. },
  14501. "buyorsell": {
  14502. "description": "买卖 - 0:买 1:卖",
  14503. "type": "integer"
  14504. },
  14505. "cancelqty": {
  14506. "description": "撤单数量",
  14507. "type": "integer"
  14508. },
  14509. "categoryid": {
  14510. "description": "类别ID(WRCATEGORY)",
  14511. "type": "integer"
  14512. },
  14513. "currency": {
  14514. "description": "货币",
  14515. "type": "string"
  14516. },
  14517. "currencysign": {
  14518. "description": "货币符号",
  14519. "type": "string"
  14520. },
  14521. "customername": {
  14522. "description": "卖家名称",
  14523. "type": "string"
  14524. },
  14525. "decimalplace": {
  14526. "description": "报价小数位",
  14527. "type": "integer"
  14528. },
  14529. "goodscode": {
  14530. "description": "商品代码(内部)",
  14531. "type": "string"
  14532. },
  14533. "goodsdesc": {
  14534. "description": "商品详情",
  14535. "type": "string"
  14536. },
  14537. "goodsid": {
  14538. "description": "商品ID",
  14539. "type": "integer"
  14540. },
  14541. "goodsname": {
  14542. "description": "商品名称",
  14543. "type": "string"
  14544. },
  14545. "goodsprice": {
  14546. "description": "商品价格",
  14547. "type": "number"
  14548. },
  14549. "hotindex": {
  14550. "description": "景点热度",
  14551. "type": "integer"
  14552. },
  14553. "lotsize": {
  14554. "description": "手数最小变动单位",
  14555. "type": "integer"
  14556. },
  14557. "marketid": {
  14558. "description": "市场ID",
  14559. "type": "integer"
  14560. },
  14561. "orderid": {
  14562. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14563. "type": "string"
  14564. },
  14565. "orderprice": {
  14566. "description": "委托价格",
  14567. "type": "number"
  14568. },
  14569. "orderqty": {
  14570. "description": "委托数量",
  14571. "type": "integer"
  14572. },
  14573. "orderstatus": {
  14574. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14575. "type": "integer"
  14576. },
  14577. "picurls": {
  14578. "description": "介绍图片[多张用逗号分隔]",
  14579. "type": "string"
  14580. },
  14581. "quoteminunit": {
  14582. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14583. "type": "integer"
  14584. },
  14585. "sellUserID": {
  14586. "description": "卖方UserID",
  14587. "type": "integer"
  14588. },
  14589. "trademode": {
  14590. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14591. "type": "integer"
  14592. },
  14593. "tradeqty": {
  14594. "description": "成交数量",
  14595. "type": "integer"
  14596. },
  14597. "vendorattr": {
  14598. "description": "供应商附件(多张,逗号分隔)",
  14599. "type": "string"
  14600. },
  14601. "vendorname": {
  14602. "description": "供应商名称",
  14603. "type": "string"
  14604. },
  14605. "vendorphone": {
  14606. "description": "供应商客服电话",
  14607. "type": "string"
  14608. },
  14609. "videourls": {
  14610. "description": "介绍视频[多张用逗号分隔]",
  14611. "type": "string"
  14612. }
  14613. }
  14614. },
  14615. "models.HsbyMarketInfo": {
  14616. "type": "object",
  14617. "required": [
  14618. "marketid",
  14619. "marketstatus",
  14620. "trademode"
  14621. ],
  14622. "properties": {
  14623. "marketid": {
  14624. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14625. "type": "integer"
  14626. },
  14627. "marketname": {
  14628. "description": "市场名称",
  14629. "type": "string"
  14630. },
  14631. "marketstatus": {
  14632. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14633. "type": "integer"
  14634. },
  14635. "trademode": {
  14636. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14637. "type": "integer"
  14638. }
  14639. }
  14640. },
  14641. "models.HsbyMyGoods": {
  14642. "type": "object",
  14643. "required": [
  14644. "accountid",
  14645. "goodscode",
  14646. "goodsid",
  14647. "goodsname",
  14648. "marketid",
  14649. "trademode"
  14650. ],
  14651. "properties": {
  14652. "accountid": {
  14653. "description": "账号Id",
  14654. "type": "integer"
  14655. },
  14656. "agreeunit": {
  14657. "description": "合约单位",
  14658. "type": "number"
  14659. },
  14660. "buyaverageprice": {
  14661. "description": "持仓均价",
  14662. "type": "number"
  14663. },
  14664. "buycurholderamount": {
  14665. "description": "买当前持仓总金额[商品币种]",
  14666. "type": "number"
  14667. },
  14668. "buycurpositionqty": {
  14669. "description": "买当前持仓总数量",
  14670. "type": "integer"
  14671. },
  14672. "buymaxqty": {
  14673. "description": "购买上限 [71] - 0为不限",
  14674. "type": "integer"
  14675. },
  14676. "currencysign": {
  14677. "description": "货币符号",
  14678. "type": "string"
  14679. },
  14680. "decimalplace": {
  14681. "description": "报价小数位",
  14682. "type": "integer"
  14683. },
  14684. "enableqty": {
  14685. "description": "可用数量",
  14686. "type": "integer"
  14687. },
  14688. "goodscode": {
  14689. "description": "商品代码(内部)",
  14690. "type": "string"
  14691. },
  14692. "goodsid": {
  14693. "description": "商品Id",
  14694. "type": "integer"
  14695. },
  14696. "goodsname": {
  14697. "description": "商品名称",
  14698. "type": "string"
  14699. },
  14700. "goodsprice": {
  14701. "description": "商品价格",
  14702. "type": "number"
  14703. },
  14704. "goodsstatus": {
  14705. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14706. "type": "integer"
  14707. },
  14708. "last": {
  14709. "description": "现价(仅使用于挂牌点选)",
  14710. "type": "number"
  14711. },
  14712. "limitdown": {
  14713. "description": "跌停价(仅使用于挂牌点选)",
  14714. "type": "number"
  14715. },
  14716. "limitup": {
  14717. "description": "涨停价(仅使用于挂牌点选)",
  14718. "type": "number"
  14719. },
  14720. "lotsize": {
  14721. "description": "手数最小变动单位",
  14722. "type": "integer"
  14723. },
  14724. "marketid": {
  14725. "description": "所属市场ID",
  14726. "type": "integer"
  14727. },
  14728. "picurls": {
  14729. "description": "介绍图片[多张用逗号分隔]",
  14730. "type": "string"
  14731. },
  14732. "quoteminunit": {
  14733. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14734. "type": "integer"
  14735. },
  14736. "stepvalue": {
  14737. "description": "价格最小变动单位",
  14738. "type": "number"
  14739. },
  14740. "trademode": {
  14741. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14742. "type": "integer"
  14743. }
  14744. }
  14745. },
  14746. "models.HsbyMyPackage": {
  14747. "type": "object",
  14748. "required": [
  14749. "goodscode",
  14750. "goodsname",
  14751. "takeorderid",
  14752. "trademode"
  14753. ],
  14754. "properties": {
  14755. "accountid": {
  14756. "description": "账户ID",
  14757. "type": "integer"
  14758. },
  14759. "address": {
  14760. "description": "提货人详细地址",
  14761. "type": "string"
  14762. },
  14763. "agreeunit": {
  14764. "description": "合约单位",
  14765. "type": "number"
  14766. },
  14767. "amount": {
  14768. "description": "提货金额",
  14769. "type": "number"
  14770. },
  14771. "auditer": {
  14772. "description": "审核人",
  14773. "type": "integer"
  14774. },
  14775. "audittime": {
  14776. "description": "审核时间",
  14777. "type": "string"
  14778. },
  14779. "averageprice": {
  14780. "description": "均价",
  14781. "type": "number"
  14782. },
  14783. "cardnum": {
  14784. "description": "提货人证件号码",
  14785. "type": "string"
  14786. },
  14787. "cardtypeid": {
  14788. "description": "提货人证件类型",
  14789. "type": "integer"
  14790. },
  14791. "checkremark": {
  14792. "description": "审核备注",
  14793. "type": "string"
  14794. },
  14795. "currencysign": {
  14796. "description": "货币符号",
  14797. "type": "string"
  14798. },
  14799. "decimalplace": {
  14800. "description": "报价小数位",
  14801. "type": "integer"
  14802. },
  14803. "goodscode": {
  14804. "description": "商品代码(内部)",
  14805. "type": "string"
  14806. },
  14807. "goodsid": {
  14808. "description": "商品ID",
  14809. "type": "integer"
  14810. },
  14811. "goodsname": {
  14812. "description": "商品名称",
  14813. "type": "string"
  14814. },
  14815. "handlestatus": {
  14816. "description": "处理状态",
  14817. "type": "integer"
  14818. },
  14819. "marketid": {
  14820. "description": "市场ID",
  14821. "type": "integer"
  14822. },
  14823. "phonenum": {
  14824. "description": "提货人联系方式",
  14825. "type": "string"
  14826. },
  14827. "picurls": {
  14828. "description": "介绍图片[多张用逗号分隔]",
  14829. "type": "string"
  14830. },
  14831. "qty": {
  14832. "description": "提货数量",
  14833. "type": "number"
  14834. },
  14835. "recivername": {
  14836. "description": "提货人姓名",
  14837. "type": "string"
  14838. },
  14839. "reqtime": {
  14840. "description": "更新时间",
  14841. "type": "string"
  14842. },
  14843. "takemode": {
  14844. "description": "提货方式 - 2:自提 3:配送",
  14845. "type": "integer"
  14846. },
  14847. "takeorderid": {
  14848. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14849. "type": "string"
  14850. },
  14851. "takeorderstatus": {
  14852. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14853. "type": "integer"
  14854. },
  14855. "takeremark": {
  14856. "description": "提货备注",
  14857. "type": "string"
  14858. },
  14859. "tradedate": {
  14860. "description": "交易日(yyyyMMdd)",
  14861. "type": "string"
  14862. },
  14863. "trademode": {
  14864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14865. "type": "integer"
  14866. },
  14867. "userid": {
  14868. "description": "用户ID",
  14869. "type": "integer"
  14870. },
  14871. "vendorname": {
  14872. "description": "供应商名称",
  14873. "type": "string"
  14874. }
  14875. }
  14876. },
  14877. "models.HsbyPreGoods": {
  14878. "type": "object",
  14879. "required": [
  14880. "goodscode",
  14881. "goodsid",
  14882. "goodsname",
  14883. "marketid",
  14884. "trademode"
  14885. ],
  14886. "properties": {
  14887. "agreeunit": {
  14888. "description": "合约单位",
  14889. "type": "number"
  14890. },
  14891. "currency": {
  14892. "description": "货币",
  14893. "type": "string"
  14894. },
  14895. "currencysign": {
  14896. "description": "货币符号",
  14897. "type": "string"
  14898. },
  14899. "decimalplace": {
  14900. "description": "报价小数位",
  14901. "type": "integer"
  14902. },
  14903. "desccityid": {
  14904. "description": "目的地(市)",
  14905. "type": "integer"
  14906. },
  14907. "descprovinceid": {
  14908. "description": "目的地(省)",
  14909. "type": "integer"
  14910. },
  14911. "enableqty": {
  14912. "description": "剩余数量",
  14913. "type": "integer"
  14914. },
  14915. "goodscode": {
  14916. "description": "商品代码(内部)",
  14917. "type": "string"
  14918. },
  14919. "goodsid": {
  14920. "description": "商品ID(自增ID SEQ_GOODS)",
  14921. "type": "integer"
  14922. },
  14923. "goodsname": {
  14924. "description": "商品名称",
  14925. "type": "string"
  14926. },
  14927. "goodsstatus": {
  14928. "description": "商品状态- 2:未上市 3:上市",
  14929. "type": "integer"
  14930. },
  14931. "lasttradedate": {
  14932. "description": "最后交易日期(状态:待退市)",
  14933. "type": "string"
  14934. },
  14935. "listingdate": {
  14936. "description": "交易开始日期",
  14937. "type": "string"
  14938. },
  14939. "marketid": {
  14940. "description": "所属市场ID",
  14941. "type": "integer"
  14942. },
  14943. "picurls": {
  14944. "description": "介绍图片[多张用逗号分隔]",
  14945. "type": "string"
  14946. },
  14947. "presaledqty": {
  14948. "description": "已预售量(预售结束时更新)",
  14949. "type": "integer"
  14950. },
  14951. "presaleqty": {
  14952. "description": "预售数量",
  14953. "type": "integer"
  14954. },
  14955. "quoteminunit": {
  14956. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14957. "type": "integer"
  14958. },
  14959. "refprice": {
  14960. "description": "参考价格[一口价]",
  14961. "type": "number"
  14962. },
  14963. "relatedgoodsid": {
  14964. "description": "关联交易合约ID",
  14965. "type": "integer"
  14966. },
  14967. "trademode": {
  14968. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14969. "type": "integer"
  14970. },
  14971. "videourls": {
  14972. "description": "介绍视频[多张用逗号分隔]",
  14973. "type": "string"
  14974. }
  14975. }
  14976. },
  14977. "models.HsbyPreGoodsDetail": {
  14978. "type": "object",
  14979. "required": [
  14980. "goodscode",
  14981. "goodsid",
  14982. "goodsname",
  14983. "marketid",
  14984. "trademode"
  14985. ],
  14986. "properties": {
  14987. "agreeunit": {
  14988. "description": "合约单位",
  14989. "type": "number"
  14990. },
  14991. "buymaxqty": {
  14992. "description": "购买上限 [71] - 0为不限",
  14993. "type": "integer"
  14994. },
  14995. "currency": {
  14996. "description": "货币",
  14997. "type": "string"
  14998. },
  14999. "currencysign": {
  15000. "description": "货币符号",
  15001. "type": "string"
  15002. },
  15003. "customername": {
  15004. "description": "发行单位",
  15005. "type": "string"
  15006. },
  15007. "decimalplace": {
  15008. "description": "报价小数位",
  15009. "type": "integer"
  15010. },
  15011. "desccityid": {
  15012. "description": "目的地(市)ID",
  15013. "type": "integer"
  15014. },
  15015. "descprovinceid": {
  15016. "description": "目的地(省)ID",
  15017. "type": "integer"
  15018. },
  15019. "enableqty": {
  15020. "description": "剩余数量",
  15021. "type": "integer"
  15022. },
  15023. "goodscode": {
  15024. "description": "商品代码(内部)",
  15025. "type": "string"
  15026. },
  15027. "goodsdesc": {
  15028. "description": "商品详情",
  15029. "type": "string"
  15030. },
  15031. "goodsid": {
  15032. "description": "商品ID(自增ID SEQ_GOODS)",
  15033. "type": "integer"
  15034. },
  15035. "goodsname": {
  15036. "description": "商品名称",
  15037. "type": "string"
  15038. },
  15039. "goodsstatus": {
  15040. "description": "商品状态- 2:未上市 3:上市",
  15041. "type": "integer"
  15042. },
  15043. "goodunit": {
  15044. "description": "报价单位",
  15045. "type": "string"
  15046. },
  15047. "lasttradedate": {
  15048. "description": "最后交易日期(状态:待退市)",
  15049. "type": "string"
  15050. },
  15051. "listingdate": {
  15052. "description": "交易开始日期",
  15053. "type": "string"
  15054. },
  15055. "lotsize": {
  15056. "description": "手数最小变动单位",
  15057. "type": "integer"
  15058. },
  15059. "marketid": {
  15060. "description": "所属市场ID",
  15061. "type": "integer"
  15062. },
  15063. "picurls": {
  15064. "description": "介绍图片[多张用逗号分隔]",
  15065. "type": "string"
  15066. },
  15067. "presaledqty": {
  15068. "description": "已预售量(预售结束时更新)",
  15069. "type": "integer"
  15070. },
  15071. "presaleqty": {
  15072. "description": "预售数量",
  15073. "type": "integer"
  15074. },
  15075. "quoteminunit": {
  15076. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15077. "type": "integer"
  15078. },
  15079. "refprice": {
  15080. "description": "参考价格[一口价]",
  15081. "type": "number"
  15082. },
  15083. "relatedgoodsid": {
  15084. "description": "关联交易合约ID",
  15085. "type": "integer"
  15086. },
  15087. "stepvalue": {
  15088. "description": "价格最小变动单位",
  15089. "type": "number"
  15090. },
  15091. "trademode": {
  15092. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15093. "type": "integer"
  15094. },
  15095. "vendorattr": {
  15096. "description": "供应商附件(多张,逗号分隔)",
  15097. "type": "string"
  15098. },
  15099. "vendorname": {
  15100. "description": "供应商名称",
  15101. "type": "string"
  15102. },
  15103. "vendorphone": {
  15104. "description": "供应商客服电话",
  15105. "type": "string"
  15106. },
  15107. "videourls": {
  15108. "description": "介绍视频[多张用逗号分隔]",
  15109. "type": "string"
  15110. }
  15111. }
  15112. },
  15113. "models.HsbySellCollectionOrder": {
  15114. "type": "object",
  15115. "required": [
  15116. "goodscode",
  15117. "goodsname",
  15118. "tradeid",
  15119. "trademode"
  15120. ],
  15121. "properties": {
  15122. "agreeunit": {
  15123. "description": "合约单位",
  15124. "type": "number"
  15125. },
  15126. "buyaccountid": {
  15127. "description": "买方账号ID[报价币种]",
  15128. "type": "integer"
  15129. },
  15130. "buyorderid": {
  15131. "description": "买方委托单号",
  15132. "type": "string"
  15133. },
  15134. "createtime": {
  15135. "description": "创建时间",
  15136. "type": "string"
  15137. },
  15138. "currencysign": {
  15139. "description": "货币符号",
  15140. "type": "string"
  15141. },
  15142. "decimalplace": {
  15143. "description": "报价小数位",
  15144. "type": "integer"
  15145. },
  15146. "goodscode": {
  15147. "description": "商品代码(内部)",
  15148. "type": "string"
  15149. },
  15150. "goodsid": {
  15151. "description": "商品ID",
  15152. "type": "integer"
  15153. },
  15154. "goodsname": {
  15155. "description": "商品名称",
  15156. "type": "string"
  15157. },
  15158. "marketid": {
  15159. "description": "市场ID",
  15160. "type": "integer"
  15161. },
  15162. "offamount": {
  15163. "description": "优惠金额",
  15164. "type": "number"
  15165. },
  15166. "payamount": {
  15167. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15168. "type": "number"
  15169. },
  15170. "payflag": {
  15171. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15172. "type": "integer"
  15173. },
  15174. "paylimitedtime": {
  15175. "description": "支付期限",
  15176. "type": "string"
  15177. },
  15178. "paytime": {
  15179. "description": "付款时间",
  15180. "type": "string"
  15181. },
  15182. "picurls": {
  15183. "description": "商品介绍图片[多张用逗号分隔]",
  15184. "type": "string"
  15185. },
  15186. "sellaccountid": {
  15187. "description": "卖方账号ID[报价币种]",
  15188. "type": "integer"
  15189. },
  15190. "sellorderid": {
  15191. "description": "卖方委托单号",
  15192. "type": "string"
  15193. },
  15194. "tradeamount": {
  15195. "description": "成交金额",
  15196. "type": "number"
  15197. },
  15198. "tradecharge": {
  15199. "description": "成交手续费(买方)",
  15200. "type": "number"
  15201. },
  15202. "tradedate": {
  15203. "description": "交易日(yyyyMMdd)",
  15204. "type": "string"
  15205. },
  15206. "tradeid": {
  15207. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15208. "type": "string"
  15209. },
  15210. "trademode": {
  15211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15212. "type": "integer"
  15213. },
  15214. "tradeprice": {
  15215. "description": "成交价格",
  15216. "type": "number"
  15217. },
  15218. "tradeqty": {
  15219. "description": "成交数量",
  15220. "type": "integer"
  15221. }
  15222. }
  15223. },
  15224. "models.HsbySellMyDetail": {
  15225. "type": "object",
  15226. "required": [
  15227. "accountid",
  15228. "buyorsell",
  15229. "goodscode",
  15230. "goodsid",
  15231. "goodsname",
  15232. "marketid",
  15233. "orderid",
  15234. "time",
  15235. "trademode"
  15236. ],
  15237. "properties": {
  15238. "accountid": {
  15239. "description": "账户ID[报价币种]",
  15240. "type": "integer"
  15241. },
  15242. "agreeunit": {
  15243. "description": "合约单位",
  15244. "type": "number"
  15245. },
  15246. "buyorsell": {
  15247. "description": "买卖 - 0:买 1:卖",
  15248. "type": "integer"
  15249. },
  15250. "currencysign": {
  15251. "description": "货币符号",
  15252. "type": "string"
  15253. },
  15254. "decimalplace": {
  15255. "description": "报价小数位",
  15256. "type": "integer"
  15257. },
  15258. "goodscode": {
  15259. "description": "商品代码(内部)",
  15260. "type": "string"
  15261. },
  15262. "goodsid": {
  15263. "description": "商品ID",
  15264. "type": "integer"
  15265. },
  15266. "goodsname": {
  15267. "description": "商品名称",
  15268. "type": "string"
  15269. },
  15270. "marketid": {
  15271. "description": "市场ID",
  15272. "type": "integer"
  15273. },
  15274. "orderid": {
  15275. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15276. "type": "string"
  15277. },
  15278. "ordertype": {
  15279. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15280. "type": "integer"
  15281. },
  15282. "picurls": {
  15283. "description": "介绍图片[多张用逗号分隔]",
  15284. "type": "string"
  15285. },
  15286. "price": {
  15287. "description": "价格",
  15288. "type": "number"
  15289. },
  15290. "qty": {
  15291. "description": "数量",
  15292. "type": "integer"
  15293. },
  15294. "time": {
  15295. "description": "时间",
  15296. "type": "string"
  15297. },
  15298. "trademode": {
  15299. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15300. "type": "integer"
  15301. },
  15302. "vendorname": {
  15303. "description": "供应商名称",
  15304. "type": "string"
  15305. }
  15306. }
  15307. },
  15308. "models.HsbyTopGoods": {
  15309. "type": "object",
  15310. "required": [
  15311. "goodscode",
  15312. "goodsid",
  15313. "goodsname",
  15314. "marketid",
  15315. "trademode"
  15316. ],
  15317. "properties": {
  15318. "agreeunit": {
  15319. "description": "合约单位",
  15320. "type": "number"
  15321. },
  15322. "currency": {
  15323. "description": "货币",
  15324. "type": "string"
  15325. },
  15326. "currencysign": {
  15327. "description": "货币符号",
  15328. "type": "string"
  15329. },
  15330. "decimalplace": {
  15331. "description": "报价小数位",
  15332. "type": "integer"
  15333. },
  15334. "desccityid": {
  15335. "description": "目的地(市)",
  15336. "type": "integer"
  15337. },
  15338. "descprovinceid": {
  15339. "description": "目的地(省)",
  15340. "type": "integer"
  15341. },
  15342. "goodscode": {
  15343. "description": "商品代码(内部)",
  15344. "type": "string"
  15345. },
  15346. "goodsid": {
  15347. "description": "商品ID(自增ID SEQ_GOODS)",
  15348. "type": "integer"
  15349. },
  15350. "goodsname": {
  15351. "description": "商品名称",
  15352. "type": "string"
  15353. },
  15354. "hotindex": {
  15355. "description": "景点热度",
  15356. "type": "integer"
  15357. },
  15358. "last": {
  15359. "description": "现价",
  15360. "type": "number"
  15361. },
  15362. "marketid": {
  15363. "description": "所属市场ID",
  15364. "type": "integer"
  15365. },
  15366. "picurls": {
  15367. "description": "介绍图片[多张用逗号分隔]",
  15368. "type": "string"
  15369. },
  15370. "quoteminunit": {
  15371. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15372. "type": "integer"
  15373. },
  15374. "trademode": {
  15375. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15376. "type": "integer"
  15377. },
  15378. "videourls": {
  15379. "description": "介绍视频[多张用逗号分隔]",
  15380. "type": "string"
  15381. }
  15382. }
  15383. },
  15384. "models.HybsMyBuyOrderDetail": {
  15385. "type": "object",
  15386. "required": [
  15387. "accountid",
  15388. "buyorsell",
  15389. "goodscode",
  15390. "goodsid",
  15391. "goodsname",
  15392. "marketid",
  15393. "orderid",
  15394. "orderqty",
  15395. "ordertime",
  15396. "trademode"
  15397. ],
  15398. "properties": {
  15399. "accountid": {
  15400. "description": "账户ID[报价币种]",
  15401. "type": "integer"
  15402. },
  15403. "agreeunit": {
  15404. "description": "合约单位",
  15405. "type": "number"
  15406. },
  15407. "buyorsell": {
  15408. "description": "买卖 - 0:买 1:卖",
  15409. "type": "integer"
  15410. },
  15411. "cancelqty": {
  15412. "description": "撤单数量",
  15413. "type": "integer"
  15414. },
  15415. "currencysign": {
  15416. "description": "货币符号",
  15417. "type": "string"
  15418. },
  15419. "decimalplace": {
  15420. "description": "报价小数位",
  15421. "type": "integer"
  15422. },
  15423. "goodscode": {
  15424. "description": "商品代码(内部)",
  15425. "type": "string"
  15426. },
  15427. "goodsid": {
  15428. "description": "商品ID",
  15429. "type": "integer"
  15430. },
  15431. "goodsname": {
  15432. "description": "商品名称",
  15433. "type": "string"
  15434. },
  15435. "listingselecttype": {
  15436. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15437. "type": "integer"
  15438. },
  15439. "marketid": {
  15440. "description": "市场ID",
  15441. "type": "integer"
  15442. },
  15443. "mybuystatus": {
  15444. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15445. "type": "integer"
  15446. },
  15447. "orderamount": {
  15448. "description": "委托金额",
  15449. "type": "number"
  15450. },
  15451. "orderid": {
  15452. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15453. "type": "string"
  15454. },
  15455. "orderprice": {
  15456. "description": "委托价格",
  15457. "type": "number"
  15458. },
  15459. "orderqty": {
  15460. "description": "委托数量",
  15461. "type": "integer"
  15462. },
  15463. "orderstatus": {
  15464. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15465. "type": "integer"
  15466. },
  15467. "ordertime": {
  15468. "description": "委托时间",
  15469. "type": "string"
  15470. },
  15471. "picurls1": {
  15472. "description": "预售商品介绍图片[多张用逗号分隔]",
  15473. "type": "string"
  15474. },
  15475. "picurls2": {
  15476. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15477. "type": "string"
  15478. },
  15479. "trademode": {
  15480. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15481. "type": "integer"
  15482. },
  15483. "tradeqty": {
  15484. "description": "成交数量",
  15485. "type": "integer"
  15486. },
  15487. "vendorname1": {
  15488. "description": "预售商品供应商名称",
  15489. "type": "string"
  15490. },
  15491. "vendorname2": {
  15492. "description": "挂牌商品供应商名称",
  15493. "type": "string"
  15494. }
  15495. }
  15496. },
  15497. "models.Loginaccount": {
  15498. "type": "object",
  15499. "required": [
  15500. "loginid"
  15501. ],
  15502. "properties": {
  15503. "canoutin": {
  15504. "description": "是否可出入金 - 0:不可 1:可",
  15505. "type": "integer"
  15506. },
  15507. "clientroleid": {
  15508. "description": "终端角色ID",
  15509. "type": "integer"
  15510. },
  15511. "haslogined": {
  15512. "description": "是否已登录 - 0:未登录 1:已登录",
  15513. "type": "integer"
  15514. },
  15515. "hasupdatedpwd": {
  15516. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15517. "type": "integer"
  15518. },
  15519. "lastloginip": {
  15520. "description": "最新登录地址",
  15521. "type": "string"
  15522. },
  15523. "lastloginmode": {
  15524. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15525. "type": "integer"
  15526. },
  15527. "lastloginremark": {
  15528. "description": "最新登录描述",
  15529. "type": "string"
  15530. },
  15531. "lastlogintime": {
  15532. "description": "最新登录时间",
  15533. "type": "string"
  15534. },
  15535. "logincode": {
  15536. "description": "登录代码",
  15537. "type": "string"
  15538. },
  15539. "loginfailnum": {
  15540. "description": "连续登录失败次数(登录成功时清零)",
  15541. "type": "integer"
  15542. },
  15543. "loginid": {
  15544. "description": "登陆账号",
  15545. "type": "integer"
  15546. },
  15547. "loginport": {
  15548. "description": "最新登录端口",
  15549. "type": "integer"
  15550. },
  15551. "loginstatus": {
  15552. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15553. "type": "integer"
  15554. },
  15555. "loginusertype": {
  15556. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15557. "type": "integer"
  15558. },
  15559. "modifierid": {
  15560. "description": "修改人",
  15561. "type": "integer"
  15562. },
  15563. "modifytime": {
  15564. "description": "修改时间",
  15565. "type": "string"
  15566. },
  15567. "pwdwrongcount": {
  15568. "description": "密码错误次数",
  15569. "type": "integer"
  15570. },
  15571. "taaccountrighttype": {
  15572. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15573. "type": "integer"
  15574. },
  15575. "unfreezetime": {
  15576. "description": "账户解冻时间",
  15577. "type": "string"
  15578. },
  15579. "userid": {
  15580. "description": "用户ID",
  15581. "type": "integer"
  15582. }
  15583. }
  15584. },
  15585. "models.Market": {
  15586. "type": "object",
  15587. "required": [
  15588. "marketid",
  15589. "marketstatus",
  15590. "openmethod",
  15591. "reckonpricealgorithm",
  15592. "trademode",
  15593. "tradeproperty"
  15594. ],
  15595. "properties": {
  15596. "auctionwrtype": {
  15597. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15598. "type": "integer"
  15599. },
  15600. "canacceptquote": {
  15601. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15602. "type": "integer"
  15603. },
  15604. "cangoodsexercise": {
  15605. "description": "[期权]是否可现货行权- 0:否 1:是",
  15606. "type": "integer"
  15607. },
  15608. "cangoodsexercisetype": {
  15609. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15610. "type": "integer"
  15611. },
  15612. "canmanualquotestrike": {
  15613. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15614. "type": "integer"
  15615. },
  15616. "canmutistage": {
  15617. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15618. "type": "integer"
  15619. },
  15620. "canpreexercise": {
  15621. "description": "[期权]是否可预申报- 0:否 1:是",
  15622. "type": "integer"
  15623. },
  15624. "clearinterval": {
  15625. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15626. "type": "integer"
  15627. },
  15628. "contracttmp": {
  15629. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15630. "type": "string"
  15631. },
  15632. "exchareaid": {
  15633. "description": "所属交易所,可以没有",
  15634. "type": "integer"
  15635. },
  15636. "goodstype": {
  15637. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15638. "type": "integer"
  15639. },
  15640. "hasrebate": {
  15641. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15642. "type": "integer"
  15643. },
  15644. "hastradecredit": {
  15645. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15646. "type": "integer"
  15647. },
  15648. "haswr": {
  15649. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15650. "type": "integer"
  15651. },
  15652. "isdeductmargin": {
  15653. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15654. "type": "integer"
  15655. },
  15656. "isrecordsource": {
  15657. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15658. "type": "integer"
  15659. },
  15660. "isreleasemargin": {
  15661. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15662. "type": "integer"
  15663. },
  15664. "marginformula": {
  15665. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15666. "type": "integer"
  15667. },
  15668. "marginformula2": {
  15669. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15670. "type": "integer"
  15671. },
  15672. "marketid": {
  15673. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15674. "type": "integer"
  15675. },
  15676. "marketname": {
  15677. "description": "市场名称",
  15678. "type": "string"
  15679. },
  15680. "marketserviceid": {
  15681. "description": "市场服务ID",
  15682. "type": "integer"
  15683. },
  15684. "marketstatus": {
  15685. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15686. "type": "integer"
  15687. },
  15688. "markettype": {
  15689. "description": "市场类型- 1:非交易服务 2:交易服务",
  15690. "type": "integer"
  15691. },
  15692. "matchermode": {
  15693. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15694. "type": "integer"
  15695. },
  15696. "openmethod": {
  15697. "description": "开盘模式 - 0 自动 1手动",
  15698. "type": "integer"
  15699. },
  15700. "otcuserid": {
  15701. "description": "场外期权做市商[场外期权]",
  15702. "type": "integer"
  15703. },
  15704. "outersynctime": {
  15705. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15706. "type": "string"
  15707. },
  15708. "pendingflag": {
  15709. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15710. "type": "integer"
  15711. },
  15712. "pendingtime": {
  15713. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15714. "type": "string"
  15715. },
  15716. "performancetempid": {
  15717. "description": "履约计划模板ID - 作废",
  15718. "type": "integer"
  15719. },
  15720. "premiumquotemode": {
  15721. "description": "权利金报价方式 - 1:自动 2:手动",
  15722. "type": "integer"
  15723. },
  15724. "rebateratio": {
  15725. "description": "返利比率[竞价式]",
  15726. "type": "number"
  15727. },
  15728. "reckonorder": {
  15729. "description": "结算顺序",
  15730. "type": "integer"
  15731. },
  15732. "reckonpricealgorithm": {
  15733. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15734. "type": "integer"
  15735. },
  15736. "reckonpriceparam": {
  15737. "description": "结算价参数",
  15738. "type": "integer"
  15739. },
  15740. "reckontime": {
  15741. "description": "结算时间[通道交易-对冲](HH:mm)",
  15742. "type": "string"
  15743. },
  15744. "roleprioritytype": {
  15745. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15746. "type": "integer"
  15747. },
  15748. "selllistingauditflag": {
  15749. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15750. "type": "integer"
  15751. },
  15752. "trademarkettype": {
  15753. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15754. "type": "integer"
  15755. },
  15756. "trademode": {
  15757. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15758. "type": "integer"
  15759. },
  15760. "tradeproperty": {
  15761. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15762. "type": "integer"
  15763. },
  15764. "tradetype": {
  15765. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15766. "type": "integer"
  15767. }
  15768. }
  15769. },
  15770. "models.Marketrun": {
  15771. "type": "object",
  15772. "required": [
  15773. "marketid",
  15774. "nexttradedate",
  15775. "reckonflag",
  15776. "runstatus",
  15777. "tradedate",
  15778. "tradedate2"
  15779. ],
  15780. "properties": {
  15781. "afternexttradedate": {
  15782. "description": "下下交易日",
  15783. "type": "string"
  15784. },
  15785. "clearquoteflag": {
  15786. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15787. "type": "integer"
  15788. },
  15789. "lastreckondate": {
  15790. "description": "最新交易日(结算成功)",
  15791. "type": "string"
  15792. },
  15793. "machinedate": {
  15794. "description": "机器时间",
  15795. "type": "string"
  15796. },
  15797. "manualflag": {
  15798. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15799. "type": "integer"
  15800. },
  15801. "marketid": {
  15802. "description": "市场ID",
  15803. "type": "integer"
  15804. },
  15805. "nexttradedate": {
  15806. "description": "下一交易日",
  15807. "type": "string"
  15808. },
  15809. "pretradedate": {
  15810. "description": "上一交易日",
  15811. "type": "string"
  15812. },
  15813. "reckonflag": {
  15814. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15815. "type": "integer"
  15816. },
  15817. "runstatus": {
  15818. "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.今日免清算",
  15819. "type": "integer"
  15820. },
  15821. "sectionid": {
  15822. "description": "时间段号[多时段时用]",
  15823. "type": "integer"
  15824. },
  15825. "tradedate": {
  15826. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15827. "type": "string"
  15828. },
  15829. "tradedate2": {
  15830. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15831. "type": "string"
  15832. },
  15833. "updatetime": {
  15834. "description": "更新时间",
  15835. "type": "string"
  15836. }
  15837. }
  15838. },
  15839. "models.Messageboard": {
  15840. "type": "object",
  15841. "required": [
  15842. "messageboardid"
  15843. ],
  15844. "properties": {
  15845. "contactnum": {
  15846. "description": "联系电话",
  15847. "type": "string"
  15848. },
  15849. "createtime": {
  15850. "description": "创建时间",
  15851. "type": "string"
  15852. },
  15853. "message": {
  15854. "description": "留言信息",
  15855. "type": "string"
  15856. },
  15857. "messageboardid": {
  15858. "description": "留言簿ID(SEQ_MessageBoard)",
  15859. "type": "integer"
  15860. },
  15861. "userid": {
  15862. "description": "用户ID",
  15863. "type": "integer"
  15864. }
  15865. }
  15866. },
  15867. "models.MyCoupon": {
  15868. "type": "object",
  15869. "required": [
  15870. "accountid",
  15871. "coupontypeid"
  15872. ],
  15873. "properties": {
  15874. "accountid": {
  15875. "description": "资金账户ID",
  15876. "type": "integer"
  15877. },
  15878. "areauserid": {
  15879. "description": "所属机构",
  15880. "type": "integer"
  15881. },
  15882. "conditionvalue": {
  15883. "description": "条件阈值(可为0)",
  15884. "type": "number"
  15885. },
  15886. "couponcategroy": {
  15887. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15888. "type": "integer"
  15889. },
  15890. "couponname": {
  15891. "description": "优惠券名称",
  15892. "type": "string"
  15893. },
  15894. "coupontypeid": {
  15895. "description": "优惠券类型ID",
  15896. "type": "string"
  15897. },
  15898. "couponvalue": {
  15899. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15900. "type": "number"
  15901. },
  15902. "curfreezeqty": {
  15903. "description": "期末冻结数量",
  15904. "type": "integer"
  15905. },
  15906. "curqty": {
  15907. "description": "期末数量",
  15908. "type": "integer"
  15909. },
  15910. "isgeneral": {
  15911. "description": "是否通用券 - 0:否 1:是",
  15912. "type": "integer"
  15913. },
  15914. "isunusable": {
  15915. "description": "是否不可用",
  15916. "type": "boolean"
  15917. },
  15918. "limitedflag": {
  15919. "description": "是否指定商品 - 0:不限 1:限制",
  15920. "type": "integer"
  15921. },
  15922. "limitedgoodsids": {
  15923. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15924. "type": "string"
  15925. },
  15926. "orifreezeqty": {
  15927. "description": "期初冻结数量",
  15928. "type": "integer"
  15929. },
  15930. "oriqty": {
  15931. "description": "期初数量",
  15932. "type": "integer"
  15933. },
  15934. "reasontype": {
  15935. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15936. "type": "integer"
  15937. },
  15938. "todaydecrease": {
  15939. "description": "今日减少",
  15940. "type": "integer"
  15941. },
  15942. "todayincrease": {
  15943. "description": "今日增加",
  15944. "type": "integer"
  15945. },
  15946. "userid": {
  15947. "description": "用户ID",
  15948. "type": "integer"
  15949. },
  15950. "userscope": {
  15951. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15952. "type": "string"
  15953. }
  15954. }
  15955. },
  15956. "models.MyCouponHold": {
  15957. "type": "object",
  15958. "required": [
  15959. "couponholdid"
  15960. ],
  15961. "properties": {
  15962. "accountid": {
  15963. "description": "资金账户ID",
  15964. "type": "integer"
  15965. },
  15966. "conditionvalue": {
  15967. "description": "条件阈值(可为0)",
  15968. "type": "number"
  15969. },
  15970. "couponcategroy": {
  15971. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15972. "type": "integer"
  15973. },
  15974. "couponholdid": {
  15975. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15976. "type": "string"
  15977. },
  15978. "couponname": {
  15979. "description": "优惠券名称",
  15980. "type": "string"
  15981. },
  15982. "coupontypeid": {
  15983. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15984. "type": "string"
  15985. },
  15986. "couponvalue": {
  15987. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15988. "type": "number"
  15989. },
  15990. "createtime": {
  15991. "description": "创建时间",
  15992. "type": "string"
  15993. },
  15994. "enddate": {
  15995. "description": "结束日期",
  15996. "type": "string"
  15997. },
  15998. "giveapplyid": {
  15999. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16000. "type": "integer"
  16001. },
  16002. "holdstatus": {
  16003. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16004. "type": "integer"
  16005. },
  16006. "isgeneral": {
  16007. "description": "是否通用券 - 0:否 1:是",
  16008. "type": "integer"
  16009. },
  16010. "limitedflag": {
  16011. "description": "是否指定商品 - 0:不限 1:限制",
  16012. "type": "integer"
  16013. },
  16014. "limitedgoodsids": {
  16015. "description": "指定商品IDs[逗号分隔]",
  16016. "type": "string"
  16017. },
  16018. "qty": {
  16019. "description": "数量(按1平铺)",
  16020. "type": "integer"
  16021. },
  16022. "startdate": {
  16023. "description": "开始日期",
  16024. "type": "string"
  16025. },
  16026. "userid": {
  16027. "description": "用户ID",
  16028. "type": "integer"
  16029. },
  16030. "userscope": {
  16031. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16032. "type": "string"
  16033. }
  16034. }
  16035. },
  16036. "models.MyUsedCoupon": {
  16037. "type": "object",
  16038. "required": [
  16039. "coupontypeid",
  16040. "orderid"
  16041. ],
  16042. "properties": {
  16043. "accountid": {
  16044. "description": "资金账户ID(买方)",
  16045. "type": "integer"
  16046. },
  16047. "conditionvalue": {
  16048. "description": "条件阈值(可为0)",
  16049. "type": "number"
  16050. },
  16051. "couponcategroy": {
  16052. "description": "种类 - 1:现金券 2:折扣券",
  16053. "type": "integer"
  16054. },
  16055. "couponname": {
  16056. "description": "优惠券名称",
  16057. "type": "string"
  16058. },
  16059. "coupontypeid": {
  16060. "description": "优惠券类型ID(买方)",
  16061. "type": "string"
  16062. },
  16063. "couponvalue": {
  16064. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16065. "type": "number"
  16066. },
  16067. "createtime": {
  16068. "description": "创建时间",
  16069. "type": "string"
  16070. },
  16071. "goodsid": {
  16072. "description": "商品ID",
  16073. "type": "integer"
  16074. },
  16075. "handlestatus": {
  16076. "description": "处理状态",
  16077. "type": "integer"
  16078. },
  16079. "marketid": {
  16080. "description": "市场ID",
  16081. "type": "integer"
  16082. },
  16083. "offamount": {
  16084. "description": "优惠金额",
  16085. "type": "number"
  16086. },
  16087. "orderid": {
  16088. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16089. "type": "string"
  16090. },
  16091. "sellaccountid": {
  16092. "description": "资金账户ID(卖方)",
  16093. "type": "integer"
  16094. },
  16095. "tradeamount": {
  16096. "description": "成交金额",
  16097. "type": "number"
  16098. },
  16099. "tradeid": {
  16100. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16101. "type": "string"
  16102. },
  16103. "usedqty": {
  16104. "description": "使用数量",
  16105. "type": "integer"
  16106. }
  16107. }
  16108. },
  16109. "models.OperationPrimaryMenu": {
  16110. "type": "object",
  16111. "properties": {
  16112. "Children": {
  16113. "description": "二级功能菜单",
  16114. "type": "array",
  16115. "items": {
  16116. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16117. }
  16118. },
  16119. "Key": {
  16120. "description": "菜单KEY",
  16121. "type": "string"
  16122. },
  16123. "Label": {
  16124. "description": "菜单标题",
  16125. "type": "string"
  16126. }
  16127. }
  16128. },
  16129. "models.OperationSecondaryMenu": {
  16130. "type": "object",
  16131. "properties": {
  16132. "Key": {
  16133. "description": "菜单KEY",
  16134. "type": "string"
  16135. },
  16136. "Label": {
  16137. "description": "菜单标题",
  16138. "type": "string"
  16139. },
  16140. "TabList": {
  16141. "description": "三级功能菜单",
  16142. "type": "array",
  16143. "items": {
  16144. "$ref": "#/definitions/models.OperationTabMenu"
  16145. }
  16146. }
  16147. }
  16148. },
  16149. "models.OperationTabMenu": {
  16150. "type": "object",
  16151. "properties": {
  16152. "Key": {
  16153. "description": "菜单KEY",
  16154. "type": "string"
  16155. },
  16156. "Label": {
  16157. "description": "菜单标题",
  16158. "type": "string"
  16159. }
  16160. }
  16161. },
  16162. "models.PendingAuditBizModel": {
  16163. "type": "object",
  16164. "properties": {
  16165. "accountid": {
  16166. "description": "现货账户",
  16167. "type": "string"
  16168. },
  16169. "areaname": {
  16170. "description": "所属部门",
  16171. "type": "string"
  16172. },
  16173. "bizid": {
  16174. "description": "业务ID",
  16175. "type": "string"
  16176. },
  16177. "bizname": {
  16178. "description": "业务名称",
  16179. "type": "string"
  16180. },
  16181. "status": {
  16182. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16183. "type": "integer"
  16184. },
  16185. "type": {
  16186. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  16187. "type": "integer"
  16188. }
  16189. }
  16190. },
  16191. "models.QueryErrorInfosRsp": {
  16192. "type": "object",
  16193. "required": [
  16194. "errorid"
  16195. ],
  16196. "properties": {
  16197. "description": {
  16198. "description": "异常描述",
  16199. "type": "string"
  16200. },
  16201. "errorcode": {
  16202. "description": "异常代码",
  16203. "type": "string"
  16204. },
  16205. "errorid": {
  16206. "description": "异常ID",
  16207. "type": "integer"
  16208. },
  16209. "modulecode": {
  16210. "description": "所属模块",
  16211. "type": "string"
  16212. },
  16213. "operatecode": {
  16214. "description": "所属操作",
  16215. "type": "string"
  16216. },
  16217. "rownumber": {
  16218. "description": "行号",
  16219. "type": "string"
  16220. }
  16221. }
  16222. },
  16223. "models.QueryHedgeOrderDetailRsp": {
  16224. "type": "object",
  16225. "properties": {
  16226. "accountid": {
  16227. "description": "账户ID",
  16228. "type": "integer"
  16229. },
  16230. "buyorsell": {
  16231. "description": "买卖 - 0:买 1:卖",
  16232. "type": "integer"
  16233. },
  16234. "cancellogincode": {
  16235. "description": "撤单人",
  16236. "type": "string"
  16237. },
  16238. "channelbuildtype": {
  16239. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16240. "type": "integer"
  16241. },
  16242. "channelinnerorderstatus": {
  16243. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16244. "type": "integer"
  16245. },
  16246. "channeloperatetype": {
  16247. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16248. "type": "integer"
  16249. },
  16250. "closetype": {
  16251. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16252. "type": "integer"
  16253. },
  16254. "curexchangerate": {
  16255. "description": "当前汇率",
  16256. "type": "number"
  16257. },
  16258. "exchangefullname": {
  16259. "description": "外部交易所全称",
  16260. "type": "string"
  16261. },
  16262. "goodscode": {
  16263. "description": "商品代码(内部)",
  16264. "type": "string"
  16265. },
  16266. "goodsid": {
  16267. "description": "商品ID",
  16268. "type": "integer"
  16269. },
  16270. "goodsname": {
  16271. "description": "商品名称",
  16272. "type": "string"
  16273. },
  16274. "marketid": {
  16275. "description": "市场ID",
  16276. "type": "integer"
  16277. },
  16278. "openfreezemargin": {
  16279. "description": "冻结保证金(冻结交易金额)",
  16280. "type": "number"
  16281. },
  16282. "orderid": {
  16283. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16284. "type": "string"
  16285. },
  16286. "orderlogincode": {
  16287. "description": "委托人",
  16288. "type": "string"
  16289. },
  16290. "orderprice": {
  16291. "description": "委托价格(账户)",
  16292. "type": "number"
  16293. },
  16294. "orderqty": {
  16295. "description": "委托数量",
  16296. "type": "integer"
  16297. },
  16298. "ordertime": {
  16299. "description": "委托时间",
  16300. "type": "string"
  16301. },
  16302. "pricemode": {
  16303. "description": "取价方式 - 1:市价 2: 限价",
  16304. "type": "integer"
  16305. },
  16306. "tradedate": {
  16307. "description": "交易日(yyyyMMdd)",
  16308. "type": "string"
  16309. },
  16310. "tradeqty": {
  16311. "description": "成交数量",
  16312. "type": "integer"
  16313. }
  16314. }
  16315. },
  16316. "models.QueryHedgeTradeDetailRsp": {
  16317. "type": "object",
  16318. "properties": {
  16319. "accountid": {
  16320. "description": "账号ID",
  16321. "type": "integer"
  16322. },
  16323. "buyorsell": {
  16324. "description": "方向 - 0:买 1:卖",
  16325. "type": "integer"
  16326. },
  16327. "channelbuildtype": {
  16328. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16329. "type": "integer"
  16330. },
  16331. "closecharge": {
  16332. "description": "平仓手续费(账户)",
  16333. "type": "number"
  16334. },
  16335. "closecharge2": {
  16336. "description": "平仓手续费(商品)",
  16337. "type": "number"
  16338. },
  16339. "closetype": {
  16340. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16341. "type": "integer"
  16342. },
  16343. "curexchangerate": {
  16344. "description": "当前汇率",
  16345. "type": "number"
  16346. },
  16347. "exchangefullname": {
  16348. "description": "外部交易所全称",
  16349. "type": "string"
  16350. },
  16351. "goodscode": {
  16352. "description": "商品代码(内部)",
  16353. "type": "string"
  16354. },
  16355. "goodsid": {
  16356. "description": "商品ID",
  16357. "type": "integer"
  16358. },
  16359. "goodsname": {
  16360. "description": "商品名称",
  16361. "type": "string"
  16362. },
  16363. "marketid": {
  16364. "description": "市场ID",
  16365. "type": "integer"
  16366. },
  16367. "opencharge": {
  16368. "description": "建仓手续费(账户)",
  16369. "type": "number"
  16370. },
  16371. "opencharge2": {
  16372. "description": "建仓手续费(商品)",
  16373. "type": "number"
  16374. },
  16375. "orderid": {
  16376. "description": "委托单号",
  16377. "type": "string"
  16378. },
  16379. "orderlogincode": {
  16380. "description": "委托人",
  16381. "type": "string"
  16382. },
  16383. "tradeamount": {
  16384. "description": "成交金额(账户)",
  16385. "type": "number"
  16386. },
  16387. "tradedate": {
  16388. "description": "交易日(yyyyMMdd)",
  16389. "type": "string"
  16390. },
  16391. "tradeid": {
  16392. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16393. "type": "string"
  16394. },
  16395. "tradeprice": {
  16396. "description": "成交价格",
  16397. "type": "number"
  16398. },
  16399. "tradeqty": {
  16400. "description": "成交数量",
  16401. "type": "integer"
  16402. },
  16403. "tradetime": {
  16404. "description": "成交时间",
  16405. "type": "string"
  16406. },
  16407. "tradetype": {
  16408. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16409. "type": "integer"
  16410. }
  16411. }
  16412. },
  16413. "models.QuotePrimaryMenu": {
  16414. "type": "object",
  16415. "properties": {
  16416. "Index": {
  16417. "description": "序号",
  16418. "type": "integer"
  16419. },
  16420. "Key": {
  16421. "description": "键名",
  16422. "type": "string"
  16423. },
  16424. "Name": {
  16425. "description": "菜单名称",
  16426. "type": "string"
  16427. },
  16428. "SubMenus": {
  16429. "description": "子菜单",
  16430. "type": "array",
  16431. "items": {
  16432. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16433. }
  16434. },
  16435. "SubTitleType": {
  16436. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16437. "type": "integer"
  16438. },
  16439. "TradeModes": {
  16440. "description": "包含市场交易类型",
  16441. "type": "string"
  16442. }
  16443. }
  16444. },
  16445. "models.QuoteSecondaryMenu": {
  16446. "type": "object",
  16447. "properties": {
  16448. "ExExchangeCode": {
  16449. "description": "外部交易所代码",
  16450. "type": "string"
  16451. },
  16452. "ExExchangeID": {
  16453. "description": "外部交易所ID",
  16454. "type": "integer"
  16455. },
  16456. "GoodsGroupIDs": {
  16457. "description": "商品组ID列表",
  16458. "type": "array",
  16459. "items": {
  16460. "type": "integer"
  16461. }
  16462. },
  16463. "Index": {
  16464. "description": "序号",
  16465. "type": "integer"
  16466. },
  16467. "MarketID": {
  16468. "description": "市场ID",
  16469. "type": "integer"
  16470. },
  16471. "MenuTitle": {
  16472. "description": "菜单标题(市场名称或外部交易所名称)",
  16473. "type": "string"
  16474. },
  16475. "TradeMode": {
  16476. "description": "交易模式",
  16477. "type": "integer"
  16478. }
  16479. }
  16480. },
  16481. "models.RelatedGoodsEx": {
  16482. "type": "object",
  16483. "properties": {
  16484. "goodscode": {
  16485. "description": "商品代码",
  16486. "type": "string"
  16487. },
  16488. "goodsid": {
  16489. "description": "商品id",
  16490. "type": "integer"
  16491. },
  16492. "goodsname": {
  16493. "description": "商品名称",
  16494. "type": "string"
  16495. }
  16496. }
  16497. },
  16498. "models.SearchGoods": {
  16499. "type": "object",
  16500. "required": [
  16501. "goodscode",
  16502. "goodsid",
  16503. "goodsname",
  16504. "marketid",
  16505. "trademode"
  16506. ],
  16507. "properties": {
  16508. "goodscode": {
  16509. "description": "商品代码(内部)",
  16510. "type": "string"
  16511. },
  16512. "goodsid": {
  16513. "description": "商品ID(自增ID SEQ_GOODS)",
  16514. "type": "integer"
  16515. },
  16516. "goodsname": {
  16517. "description": "商品名称",
  16518. "type": "string"
  16519. },
  16520. "marketid": {
  16521. "description": "所属市场ID",
  16522. "type": "integer"
  16523. },
  16524. "marketname": {
  16525. "description": "市场名称",
  16526. "type": "string"
  16527. },
  16528. "trademode": {
  16529. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16530. "type": "integer"
  16531. }
  16532. }
  16533. },
  16534. "models.Systemparam": {
  16535. "type": "object",
  16536. "required": [
  16537. "paramcode"
  16538. ],
  16539. "properties": {
  16540. "loginid": {
  16541. "description": "更新用户账号,登录账号",
  16542. "type": "string"
  16543. },
  16544. "modifyflag": {
  16545. "description": "修改标志0 不允许修改 1 允许修改",
  16546. "type": "integer"
  16547. },
  16548. "paramcode": {
  16549. "description": "参数代码",
  16550. "type": "string"
  16551. },
  16552. "paramname": {
  16553. "description": "参数名",
  16554. "type": "string"
  16555. },
  16556. "paramtype": {
  16557. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16558. "type": "integer"
  16559. },
  16560. "paramvalue": {
  16561. "description": "参数值",
  16562. "type": "string"
  16563. },
  16564. "paramvalue2": {
  16565. "description": "参数值(CLOB)",
  16566. "type": "string"
  16567. },
  16568. "regexpress": {
  16569. "description": "正则表达式",
  16570. "type": "string"
  16571. },
  16572. "remark": {
  16573. "description": "备注",
  16574. "type": "string"
  16575. },
  16576. "serverip": {
  16577. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16578. "type": "string"
  16579. },
  16580. "showflag": {
  16581. "description": "是否显示0 不显示 1 显示",
  16582. "type": "integer"
  16583. },
  16584. "updatetime": {
  16585. "description": "更新时间",
  16586. "type": "string"
  16587. },
  16588. "userid": {
  16589. "description": "更新用户ID",
  16590. "type": "integer"
  16591. }
  16592. }
  16593. },
  16594. "models.Szdz3convertconfig": {
  16595. "type": "object",
  16596. "required": [
  16597. "converttype",
  16598. "innergoodsid",
  16599. "outergoodscode"
  16600. ],
  16601. "properties": {
  16602. "canin": {
  16603. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16604. "type": "integer"
  16605. },
  16606. "canout": {
  16607. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16608. "type": "integer"
  16609. },
  16610. "converttype": {
  16611. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16612. "type": "integer"
  16613. },
  16614. "createtime": {
  16615. "description": "创建时间",
  16616. "type": "string"
  16617. },
  16618. "creatorid": {
  16619. "description": "创建人",
  16620. "type": "integer"
  16621. },
  16622. "daymaxvalue": {
  16623. "description": "当日最大转入限制",
  16624. "type": "number"
  16625. },
  16626. "freezedays": {
  16627. "description": "冻结天数 [5:花生米转交易]",
  16628. "type": "integer"
  16629. },
  16630. "innergoodsid": {
  16631. "description": "内部商品ID[交易]",
  16632. "type": "integer"
  16633. },
  16634. "inratio": {
  16635. "description": "目标值",
  16636. "type": "integer"
  16637. },
  16638. "modifierid": {
  16639. "description": "修改人",
  16640. "type": "integer"
  16641. },
  16642. "modifytime": {
  16643. "description": "修改时间",
  16644. "type": "string"
  16645. },
  16646. "outergoodscode": {
  16647. "description": "外部商品代码[JD\\PD]",
  16648. "type": "string"
  16649. },
  16650. "outratio": {
  16651. "description": "源值",
  16652. "type": "integer"
  16653. },
  16654. "pddecimalplace": {
  16655. "description": "PD小数位",
  16656. "type": "integer"
  16657. },
  16658. "timemaxvalue": {
  16659. "description": "单次最大转入限制",
  16660. "type": "number"
  16661. },
  16662. "timeminvalue": {
  16663. "description": "单次最小转入限制",
  16664. "type": "number"
  16665. }
  16666. }
  16667. },
  16668. "models.Szdz3searchwhitelist": {
  16669. "type": "object",
  16670. "required": [
  16671. "userid"
  16672. ],
  16673. "properties": {
  16674. "createtime": {
  16675. "description": "创建时间",
  16676. "type": "string"
  16677. },
  16678. "creatorid": {
  16679. "description": "创建人",
  16680. "type": "integer"
  16681. },
  16682. "modifierid": {
  16683. "description": "修改人",
  16684. "type": "integer"
  16685. },
  16686. "modifytime": {
  16687. "description": "修改时间",
  16688. "type": "string"
  16689. },
  16690. "userid": {
  16691. "description": "用户ID",
  16692. "type": "integer"
  16693. }
  16694. }
  16695. },
  16696. "models.Taaccount": {
  16697. "type": "object",
  16698. "required": [
  16699. "accountid",
  16700. "userid"
  16701. ],
  16702. "properties": {
  16703. "accountflag": {
  16704. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16705. "type": "integer"
  16706. },
  16707. "accountid": {
  16708. "description": "资金账户ID",
  16709. "type": "integer"
  16710. },
  16711. "accountname": {
  16712. "description": "账户名称",
  16713. "type": "string"
  16714. },
  16715. "balance": {
  16716. "description": "期初余额",
  16717. "type": "number"
  16718. },
  16719. "capitalbalance": {
  16720. "description": "本金余额[外部子账户实际出入金余额]",
  16721. "type": "number"
  16722. },
  16723. "changeflag": {
  16724. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16725. "type": "integer"
  16726. },
  16727. "changetime": {
  16728. "description": "账户状态变更时间",
  16729. "type": "string"
  16730. },
  16731. "closepl": {
  16732. "description": "今日平仓盈亏",
  16733. "type": "number"
  16734. },
  16735. "creditdecrease": {
  16736. "description": "今日授信减少",
  16737. "type": "number"
  16738. },
  16739. "creditincrease": {
  16740. "description": "今日授信增加",
  16741. "type": "number"
  16742. },
  16743. "currencyid": {
  16744. "description": "货币ID",
  16745. "type": "integer"
  16746. },
  16747. "currentbalance": {
  16748. "description": "期末余额",
  16749. "type": "number"
  16750. },
  16751. "freezecharge": {
  16752. "description": "手续费冻结",
  16753. "type": "number"
  16754. },
  16755. "freezemargin": {
  16756. "description": "冻结保证金",
  16757. "type": "number"
  16758. },
  16759. "fromaccountid": {
  16760. "description": "所属上级账户",
  16761. "type": "integer"
  16762. },
  16763. "inamount": {
  16764. "description": "今日入金金额(包括三方入金)",
  16765. "type": "number"
  16766. },
  16767. "ismain": {
  16768. "description": "是否母账号 0:不是母账户 1:是母账户",
  16769. "type": "integer"
  16770. },
  16771. "ismarketaccount": {
  16772. "description": "是否机构接单账号 0:不是 1:是",
  16773. "type": "integer"
  16774. },
  16775. "isreckonaccount": {
  16776. "description": "是否机构分润账号 0:不是 1:是",
  16777. "type": "integer"
  16778. },
  16779. "mortgagecredit": {
  16780. "description": "授信金额",
  16781. "type": "number"
  16782. },
  16783. "orifreezecharge": {
  16784. "description": "期初手续费冻结",
  16785. "type": "number"
  16786. },
  16787. "orifreezemargin": {
  16788. "description": "期初冻结保证金",
  16789. "type": "number"
  16790. },
  16791. "orimortgagecredit": {
  16792. "description": "期初授信金额",
  16793. "type": "number"
  16794. },
  16795. "oriothercredit": {
  16796. "description": "期初其它授信金额",
  16797. "type": "number"
  16798. },
  16799. "oriotherfreezemargin": {
  16800. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16801. "type": "number"
  16802. },
  16803. "orioutamountfreeze": {
  16804. "description": "期初出金冻结",
  16805. "type": "number"
  16806. },
  16807. "oriusedmargin": {
  16808. "description": "期初占用保证金",
  16809. "type": "number"
  16810. },
  16811. "othercredit": {
  16812. "description": "其它授信金额",
  16813. "type": "number"
  16814. },
  16815. "othercreditdecrease": {
  16816. "description": "今日其它授信减少",
  16817. "type": "number"
  16818. },
  16819. "othercreditincrease": {
  16820. "description": "今日其它授信增加",
  16821. "type": "number"
  16822. },
  16823. "otherfreezemargin": {
  16824. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16825. "type": "number"
  16826. },
  16827. "otherincome": {
  16828. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16829. "type": "number"
  16830. },
  16831. "otherpay": {
  16832. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16833. "type": "number"
  16834. },
  16835. "outamount": {
  16836. "description": "今日出金金额(包括三方出金)",
  16837. "type": "number"
  16838. },
  16839. "outamountfreeze": {
  16840. "description": "出金冻结",
  16841. "type": "number"
  16842. },
  16843. "outthreshold": {
  16844. "description": "出金阈值",
  16845. "type": "number"
  16846. },
  16847. "parentaccountid": {
  16848. "description": "所属根账号",
  16849. "type": "integer"
  16850. },
  16851. "paycharge": {
  16852. "description": "今日手续费支出",
  16853. "type": "number"
  16854. },
  16855. "relatedaccountstatus": {
  16856. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16857. "type": "integer"
  16858. },
  16859. "relateduserid": {
  16860. "description": "关联用户",
  16861. "type": "integer"
  16862. },
  16863. "serivcegroup": {
  16864. "description": "服务分组",
  16865. "type": "integer"
  16866. },
  16867. "signstatus": {
  16868. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16869. "type": "integer"
  16870. },
  16871. "sublevelpath": {
  16872. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16873. "type": "string"
  16874. },
  16875. "taaccounttype": {
  16876. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16877. "type": "integer"
  16878. },
  16879. "thirdinamount": {
  16880. "description": "今日三方入金",
  16881. "type": "number"
  16882. },
  16883. "thirdoutamount": {
  16884. "description": "今日三方出金",
  16885. "type": "number"
  16886. },
  16887. "tradestatus": {
  16888. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16889. "type": "integer"
  16890. },
  16891. "tradestatuschangetime": {
  16892. "description": "激活时间",
  16893. "type": "string"
  16894. },
  16895. "transferamount": {
  16896. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16897. "type": "number"
  16898. },
  16899. "usedmargin": {
  16900. "description": "占用保证金",
  16901. "type": "number"
  16902. },
  16903. "userid": {
  16904. "description": "用户ID",
  16905. "type": "integer"
  16906. }
  16907. }
  16908. },
  16909. "models.Tablecolumnconfig": {
  16910. "type": "object",
  16911. "required": [
  16912. "autoid"
  16913. ],
  16914. "properties": {
  16915. "aligntype": {
  16916. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16917. "type": "integer"
  16918. },
  16919. "autoid": {
  16920. "description": "AutoID",
  16921. "type": "integer"
  16922. },
  16923. "columnfield": {
  16924. "description": "列字段",
  16925. "type": "string"
  16926. },
  16927. "columntitle": {
  16928. "description": "列Title",
  16929. "type": "string"
  16930. },
  16931. "columnwidth": {
  16932. "description": "列宽",
  16933. "type": "string"
  16934. },
  16935. "formatterstring": {
  16936. "description": "格式化字符",
  16937. "type": "string"
  16938. },
  16939. "formattertype": {
  16940. "description": "格式化类型",
  16941. "type": "string"
  16942. },
  16943. "groupname": {
  16944. "description": "表头分组名称",
  16945. "type": "string"
  16946. },
  16947. "isshow": {
  16948. "description": "是否显示 - 0:不显示 1:显示",
  16949. "type": "integer"
  16950. },
  16951. "needsummary": {
  16952. "description": "是否需要汇总 - 0:不需要 1:需要",
  16953. "type": "integer"
  16954. },
  16955. "orderindex": {
  16956. "description": "顺序",
  16957. "type": "integer"
  16958. },
  16959. "remark": {
  16960. "description": "备注",
  16961. "type": "string"
  16962. },
  16963. "summarytype": {
  16964. "description": "汇总类型 - 1:加总 2:最后一个",
  16965. "type": "integer"
  16966. },
  16967. "tablekey": {
  16968. "description": "列表Key",
  16969. "type": "string"
  16970. }
  16971. }
  16972. },
  16973. "models.Useraccount": {
  16974. "type": "object",
  16975. "required": [
  16976. "userid"
  16977. ],
  16978. "properties": {
  16979. "accountname": {
  16980. "description": "账户名称(机构名称)",
  16981. "type": "string"
  16982. },
  16983. "accountstatus": {
  16984. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16985. "type": "integer"
  16986. },
  16987. "auditremark": {
  16988. "description": "审核备注",
  16989. "type": "string"
  16990. },
  16991. "audittime": {
  16992. "description": "审核时间",
  16993. "type": "string"
  16994. },
  16995. "audituserid": {
  16996. "description": "审核人",
  16997. "type": "integer"
  16998. },
  16999. "broker": {
  17000. "description": "所属经纪人ID",
  17001. "type": "integer"
  17002. },
  17003. "canceltime": {
  17004. "description": "销户时间",
  17005. "type": "string"
  17006. },
  17007. "canceluserid": {
  17008. "description": "销户人",
  17009. "type": "integer"
  17010. },
  17011. "createtime": {
  17012. "description": "创建时间",
  17013. "type": "string"
  17014. },
  17015. "creatorid": {
  17016. "description": "创建人",
  17017. "type": "integer"
  17018. },
  17019. "hasauth": {
  17020. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17021. "type": "integer"
  17022. },
  17023. "isanonymous": {
  17024. "description": "是否匿名下单 - 0:否 1:是",
  17025. "type": "integer"
  17026. },
  17027. "maxinvestornum": {
  17028. "description": "最大用户数(经纪会员下投资者个数)",
  17029. "type": "integer"
  17030. },
  17031. "memberuserid": {
  17032. "description": "所属会员ID",
  17033. "type": "integer"
  17034. },
  17035. "modifierid": {
  17036. "description": "修改人",
  17037. "type": "integer"
  17038. },
  17039. "modifyremark": {
  17040. "description": "变更备注",
  17041. "type": "string"
  17042. },
  17043. "modifystatus": {
  17044. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17045. "type": "integer"
  17046. },
  17047. "modifytime": {
  17048. "description": "修改时间",
  17049. "type": "string"
  17050. },
  17051. "parentuserid": {
  17052. "description": "所属机构ID",
  17053. "type": "integer"
  17054. },
  17055. "reckonaccountid": {
  17056. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17057. "type": "integer"
  17058. },
  17059. "refercount": {
  17060. "description": "推荐总人数",
  17061. "type": "integer"
  17062. },
  17063. "refereeuserid": {
  17064. "description": "推荐人ID",
  17065. "type": "integer"
  17066. },
  17067. "refernum": {
  17068. "description": "推荐码",
  17069. "type": "string"
  17070. },
  17071. "subarealevelpath": {
  17072. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17073. "type": "string"
  17074. },
  17075. "userid": {
  17076. "description": "用户ID",
  17077. "type": "integer"
  17078. },
  17079. "usertype": {
  17080. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17081. "type": "integer"
  17082. }
  17083. }
  17084. },
  17085. "models.Userfavoritegoods": {
  17086. "type": "object",
  17087. "required": [
  17088. "goodsid"
  17089. ],
  17090. "properties": {
  17091. "goodsid": {
  17092. "description": "商品ID",
  17093. "type": "integer"
  17094. }
  17095. }
  17096. },
  17097. "models.Userinfo": {
  17098. "type": "object",
  17099. "required": [
  17100. "userid"
  17101. ],
  17102. "properties": {
  17103. "address": {
  17104. "description": "地址",
  17105. "type": "string"
  17106. },
  17107. "attachment1": {
  17108. "description": "附件1",
  17109. "type": "string"
  17110. },
  17111. "attachment2": {
  17112. "description": "附件2",
  17113. "type": "string"
  17114. },
  17115. "bankaccount": {
  17116. "description": "银行帐号 (加密存储)",
  17117. "type": "string"
  17118. },
  17119. "bankaccountname": {
  17120. "description": "收款人名称",
  17121. "type": "string"
  17122. },
  17123. "bankcardfrontphotourl": {
  17124. "description": "银行卡正面照地址",
  17125. "type": "string"
  17126. },
  17127. "bankid": {
  17128. "description": "银行编码",
  17129. "type": "string"
  17130. },
  17131. "bankname": {
  17132. "description": "银行名称",
  17133. "type": "string"
  17134. },
  17135. "biznature": {
  17136. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17137. "type": "integer"
  17138. },
  17139. "bizscope": {
  17140. "description": "企业经营范围(企业)",
  17141. "type": "string"
  17142. },
  17143. "cardbackphotourl": {
  17144. "description": "证件背面图片地址",
  17145. "type": "string"
  17146. },
  17147. "cardfrontphotourl": {
  17148. "description": "证件正面图片地址",
  17149. "type": "string"
  17150. },
  17151. "cardnum": {
  17152. "description": "证件号码(加密存储)",
  17153. "type": "string"
  17154. },
  17155. "cardtypeid": {
  17156. "description": "证件类型ID",
  17157. "type": "integer"
  17158. },
  17159. "cityid": {
  17160. "description": "市",
  17161. "type": "integer"
  17162. },
  17163. "company": {
  17164. "description": "公司(个人)",
  17165. "type": "string"
  17166. },
  17167. "contactname": {
  17168. "description": "联系人",
  17169. "type": "string"
  17170. },
  17171. "countryid": {
  17172. "description": "国家",
  17173. "type": "integer"
  17174. },
  17175. "createtime": {
  17176. "description": "创建时间",
  17177. "type": "string"
  17178. },
  17179. "creatorid": {
  17180. "description": "创建人",
  17181. "type": "integer"
  17182. },
  17183. "customername": {
  17184. "description": "客户名称(企业名称)",
  17185. "type": "string"
  17186. },
  17187. "districtid": {
  17188. "description": "地区",
  17189. "type": "integer"
  17190. },
  17191. "email": {
  17192. "description": "邮件(加密存储)",
  17193. "type": "string"
  17194. },
  17195. "fax": {
  17196. "description": "传真(加密存储)",
  17197. "type": "string"
  17198. },
  17199. "halfbodyphotourl": {
  17200. "description": "半身照地址",
  17201. "type": "string"
  17202. },
  17203. "hasencrypt": {
  17204. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17205. "type": "integer"
  17206. },
  17207. "headurl": {
  17208. "description": "头像地址",
  17209. "type": "string"
  17210. },
  17211. "legalcardbackphotourl": {
  17212. "description": "法人身份证背面照地址",
  17213. "type": "string"
  17214. },
  17215. "legalcardfrontphotourl": {
  17216. "description": "法人身份证正面照地址",
  17217. "type": "string"
  17218. },
  17219. "legalpersonname": {
  17220. "description": "法人姓名(企业)",
  17221. "type": "string"
  17222. },
  17223. "mobile": {
  17224. "description": "手机号码(加密存储)",
  17225. "type": "string"
  17226. },
  17227. "mobile2": {
  17228. "description": "手机号码[明文-尚志]",
  17229. "type": "string"
  17230. },
  17231. "modifierid": {
  17232. "description": "修改人",
  17233. "type": "integer"
  17234. },
  17235. "modifiertime": {
  17236. "description": "修改时间",
  17237. "type": "string"
  17238. },
  17239. "needinvoice": {
  17240. "description": "是否需要发票 - 0:不需要 1:需要",
  17241. "type": "integer"
  17242. },
  17243. "nickname": {
  17244. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17245. "type": "string"
  17246. },
  17247. "openmode": {
  17248. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17249. "type": "integer"
  17250. },
  17251. "otherurl": {
  17252. "description": "其它图片地址[使用分号分隔]",
  17253. "type": "string"
  17254. },
  17255. "postalcode": {
  17256. "description": "邮政编码",
  17257. "type": "string"
  17258. },
  17259. "provinceid": {
  17260. "description": "省",
  17261. "type": "integer"
  17262. },
  17263. "qq": {
  17264. "description": "QQ(加密存储",
  17265. "type": "string"
  17266. },
  17267. "remark": {
  17268. "description": "备注",
  17269. "type": "string"
  17270. },
  17271. "sex": {
  17272. "description": "用户性别 0: 女 1: 男",
  17273. "type": "integer"
  17274. },
  17275. "signpdfurl": {
  17276. "description": "签约pdf文件",
  17277. "type": "string"
  17278. },
  17279. "telphone": {
  17280. "description": "联系电话(加密存储)",
  17281. "type": "string"
  17282. },
  17283. "userid": {
  17284. "description": "用户ID",
  17285. "type": "integer"
  17286. },
  17287. "userinfotype": {
  17288. "description": "用户信息类型 - 1:个人 2:企业",
  17289. "type": "integer"
  17290. },
  17291. "userstatus": {
  17292. "description": "用户状态 - 1:正常 2:注销",
  17293. "type": "integer"
  17294. },
  17295. "usertype": {
  17296. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17297. "type": "integer"
  17298. },
  17299. "wechat": {
  17300. "description": "微信(加密存储)",
  17301. "type": "string"
  17302. },
  17303. "wskhinfo": {
  17304. "description": "开户申请信息(JSON)",
  17305. "type": "string"
  17306. }
  17307. }
  17308. },
  17309. "models.WRCategoryTree": {
  17310. "type": "object",
  17311. "required": [
  17312. "categoryid"
  17313. ],
  17314. "properties": {
  17315. "areauserid": {
  17316. "description": "所属机构",
  17317. "type": "integer"
  17318. },
  17319. "categorydesc": {
  17320. "description": "类别描述",
  17321. "type": "string"
  17322. },
  17323. "categoryid": {
  17324. "description": "类别ID(SEQ_WRCATEGORY)",
  17325. "type": "integer"
  17326. },
  17327. "categoryname": {
  17328. "description": "类别名称",
  17329. "type": "string"
  17330. },
  17331. "iconurl": {
  17332. "description": "图标地址",
  17333. "type": "string"
  17334. },
  17335. "orderindex": {
  17336. "description": "顺序",
  17337. "type": "integer"
  17338. },
  17339. "parentcategoryid": {
  17340. "description": "父类别ID",
  17341. "type": "integer"
  17342. },
  17343. "subcategory": {
  17344. "description": "子分类",
  17345. "type": "array",
  17346. "items": {
  17347. "$ref": "#/definitions/models.WRCategoryTree"
  17348. }
  17349. }
  17350. }
  17351. },
  17352. "models.WRSConverTDetail": {
  17353. "type": "object",
  17354. "properties": {
  17355. "convertratio": {
  17356. "description": "套保系数",
  17357. "type": "number"
  17358. },
  17359. "deliverygoodsid": {
  17360. "description": "现货品种ID",
  17361. "type": "integer"
  17362. },
  17363. "middlegoodscode": {
  17364. "description": "套保品种代码",
  17365. "type": "string"
  17366. },
  17367. "middlegoodsid": {
  17368. "description": "套保品种ID",
  17369. "type": "integer"
  17370. },
  17371. "middlegoodsname": {
  17372. "description": "套保品种名称",
  17373. "type": "string"
  17374. },
  17375. "modifytime": {
  17376. "description": "修改时间",
  17377. "type": "string"
  17378. },
  17379. "wrstandardid": {
  17380. "description": "现货商品ID",
  17381. "type": "integer"
  17382. }
  17383. }
  17384. },
  17385. "models.WRStandardInfo": {
  17386. "type": "object",
  17387. "required": [
  17388. "wrstandardid"
  17389. ],
  17390. "properties": {
  17391. "createtime": {
  17392. "description": "创建时间",
  17393. "type": "string"
  17394. },
  17395. "creatorid": {
  17396. "description": "创建人",
  17397. "type": "integer"
  17398. },
  17399. "deliverygoodsid": {
  17400. "description": "品种ID",
  17401. "type": "integer"
  17402. },
  17403. "deliverygoodsname": {
  17404. "description": "交割商品名称",
  17405. "type": "string"
  17406. },
  17407. "factoryitemjson": {
  17408. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17409. "type": "string"
  17410. },
  17411. "isvalid": {
  17412. "description": "是否有效 - 0:无效 1:有效",
  17413. "type": "integer"
  17414. },
  17415. "minivalue": {
  17416. "description": "最小变动值",
  17417. "type": "integer"
  17418. },
  17419. "minivaluedp": {
  17420. "description": "最小变动值小数位",
  17421. "type": "integer"
  17422. },
  17423. "realminivalue": {
  17424. "description": "实际最小变动值",
  17425. "type": "integer"
  17426. },
  17427. "realminivaluedp": {
  17428. "description": "实际最小变动值小数位",
  17429. "type": "integer"
  17430. },
  17431. "unitid": {
  17432. "description": "单位ID",
  17433. "type": "integer"
  17434. },
  17435. "unitname": {
  17436. "description": "单位",
  17437. "type": "string"
  17438. },
  17439. "updatetime": {
  17440. "description": "更新时间",
  17441. "type": "string"
  17442. },
  17443. "updatorid": {
  17444. "description": "更新人",
  17445. "type": "integer"
  17446. },
  17447. "wrsstatus": {
  17448. "description": "状态 - 作废 - 0:未激活 1:正常",
  17449. "type": "integer"
  17450. },
  17451. "wrstandardcode": {
  17452. "description": "仓单标准代码",
  17453. "type": "string"
  17454. },
  17455. "wrstandardid": {
  17456. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17457. "type": "integer"
  17458. },
  17459. "wrstandardname": {
  17460. "description": "仓单标准名称",
  17461. "type": "string"
  17462. }
  17463. }
  17464. },
  17465. "models.Warehouseinfo": {
  17466. "type": "object",
  17467. "required": [
  17468. "autoid",
  17469. "warehousecode"
  17470. ],
  17471. "properties": {
  17472. "address": {
  17473. "description": "详细地址",
  17474. "type": "string"
  17475. },
  17476. "areauserid": {
  17477. "description": "所属机构",
  17478. "type": "integer"
  17479. },
  17480. "autoid": {
  17481. "description": "自增ID",
  17482. "type": "integer"
  17483. },
  17484. "cityid": {
  17485. "description": "市",
  17486. "type": "integer"
  17487. },
  17488. "contactname": {
  17489. "description": "联系人",
  17490. "type": "string"
  17491. },
  17492. "contactnum": {
  17493. "description": "联系电话",
  17494. "type": "string"
  17495. },
  17496. "countryid": {
  17497. "description": "国家",
  17498. "type": "integer"
  17499. },
  17500. "createtime": {
  17501. "description": "创建时间",
  17502. "type": "string"
  17503. },
  17504. "districtid": {
  17505. "description": "区",
  17506. "type": "integer"
  17507. },
  17508. "hasvideo": {
  17509. "description": "是否有视频 - 0:无 1:有",
  17510. "type": "integer"
  17511. },
  17512. "provinceid": {
  17513. "description": "省",
  17514. "type": "integer"
  17515. },
  17516. "remark": {
  17517. "description": "审核备注",
  17518. "type": "string"
  17519. },
  17520. "videourl": {
  17521. "description": "视频地址",
  17522. "type": "string"
  17523. },
  17524. "warehousecode": {
  17525. "description": "仓库代码",
  17526. "type": "string"
  17527. },
  17528. "warehousename": {
  17529. "description": "仓库名称",
  17530. "type": "string"
  17531. },
  17532. "warehousestatus": {
  17533. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17534. "type": "integer"
  17535. },
  17536. "warehousetype": {
  17537. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17538. "type": "integer"
  17539. }
  17540. }
  17541. },
  17542. "order.QueryHisTradeDetailRsp": {
  17543. "type": "object",
  17544. "required": [
  17545. "accountid",
  17546. "buyorsell",
  17547. "goodsid",
  17548. "histradedate",
  17549. "marketid",
  17550. "memberuserid",
  17551. "orderid",
  17552. "tradeamount",
  17553. "tradedate",
  17554. "tradeid",
  17555. "tradeprice",
  17556. "tradeqty",
  17557. "tradetime"
  17558. ],
  17559. "properties": {
  17560. "accountid": {
  17561. "description": "账户ID[报价币种]",
  17562. "type": "integer"
  17563. },
  17564. "buildtype": {
  17565. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17566. "type": "integer"
  17567. },
  17568. "buyorsell": {
  17569. "description": "方向 - 0:买 1:卖",
  17570. "type": "integer"
  17571. },
  17572. "charge": {
  17573. "description": "手续费",
  17574. "type": "number"
  17575. },
  17576. "closecharge": {
  17577. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17578. "type": "number"
  17579. },
  17580. "closeexchagechargevalue": {
  17581. "description": "平仓交易所手续费设置值",
  17582. "type": "number"
  17583. },
  17584. "closefeealgorithm": {
  17585. "description": "平仓手续费收取方式 1:比率 2:固定",
  17586. "type": "integer"
  17587. },
  17588. "closememberchargevalue": {
  17589. "description": "平仓会员手续费设置值",
  17590. "type": "number"
  17591. },
  17592. "closepl": {
  17593. "description": "平仓盈亏",
  17594. "type": "number"
  17595. },
  17596. "closepl2": {
  17597. "description": "平仓盈亏[逐笔]",
  17598. "type": "number"
  17599. },
  17600. "closeqty": {
  17601. "description": "平仓数量(先建后平操作 需要记录)",
  17602. "type": "integer"
  17603. },
  17604. "creditamount": {
  17605. "description": "授信金额",
  17606. "type": "number"
  17607. },
  17608. "gcaccountid": {
  17609. "description": "账户ID[合约币种]",
  17610. "type": "integer"
  17611. },
  17612. "goodscode": {
  17613. "description": "商品代码",
  17614. "type": "string"
  17615. },
  17616. "goodsid": {
  17617. "description": "商品ID",
  17618. "type": "integer"
  17619. },
  17620. "goodsname": {
  17621. "description": "商品名称",
  17622. "type": "string"
  17623. },
  17624. "histradedate": {
  17625. "description": "历史交易日",
  17626. "type": "string"
  17627. },
  17628. "intclosepl": {
  17629. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17630. "type": "integer"
  17631. },
  17632. "isconfirmexercise": {
  17633. "description": "是否确认行权- 0:否 1:是",
  17634. "type": "integer"
  17635. },
  17636. "ismain": {
  17637. "description": "是否主单 - 0:不是 1:是",
  17638. "type": "integer"
  17639. },
  17640. "ispreexercise": {
  17641. "description": "是否预申报- 0:否 1:是",
  17642. "type": "integer"
  17643. },
  17644. "isreckoned": {
  17645. "description": "是否结算 - 0:未结算 1:已结算",
  17646. "type": "integer"
  17647. },
  17648. "isvaliddata": {
  17649. "description": "是否有效 - 0:无效 1:有效",
  17650. "type": "integer"
  17651. },
  17652. "listingselecttype": {
  17653. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17654. "type": "integer"
  17655. },
  17656. "marketid": {
  17657. "description": "市场ID",
  17658. "type": "integer"
  17659. },
  17660. "marketname": {
  17661. "description": "市场名称",
  17662. "type": "string"
  17663. },
  17664. "matchaccountid": {
  17665. "description": "对手账号id",
  17666. "type": "integer"
  17667. },
  17668. "memberuserid": {
  17669. "description": "会员id 个人投资者 需要填写",
  17670. "type": "integer"
  17671. },
  17672. "opencharge": {
  17673. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17674. "type": "number"
  17675. },
  17676. "openexchagechargevalue": {
  17677. "description": "建仓交易所手续费设置值",
  17678. "type": "number"
  17679. },
  17680. "openfeealgorithm": {
  17681. "description": "建仓手续费收取方式 1:比率 2:固定",
  17682. "type": "integer"
  17683. },
  17684. "openmemberchargevalue": {
  17685. "description": "建仓会员手续费设置值",
  17686. "type": "number"
  17687. },
  17688. "openqty": {
  17689. "description": "开仓数量(先建后平操作 需要记录)",
  17690. "type": "integer"
  17691. },
  17692. "optiontype": {
  17693. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17694. "type": "integer"
  17695. },
  17696. "orderid": {
  17697. "description": "委托单号",
  17698. "type": "string"
  17699. },
  17700. "performanceplanid": {
  17701. "description": "履约计划ID[期权]",
  17702. "type": "integer"
  17703. },
  17704. "performancestatus": {
  17705. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17706. "type": "integer"
  17707. },
  17708. "preexerciseprice": {
  17709. "description": "预申报价格",
  17710. "type": "number"
  17711. },
  17712. "premium": {
  17713. "description": "权利金 - [持仓单的权利金]",
  17714. "type": "number"
  17715. },
  17716. "relatedouttradeid": {
  17717. "description": "关联外部成交单ID",
  17718. "type": "integer"
  17719. },
  17720. "status": {
  17721. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17722. "type": "integer"
  17723. },
  17724. "tradeamount": {
  17725. "description": "成交金额[账户币种,用于所有权]",
  17726. "type": "number"
  17727. },
  17728. "tradedate": {
  17729. "description": "交易日(yyyyMMdd)",
  17730. "type": "string"
  17731. },
  17732. "tradeid": {
  17733. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17734. "type": "string"
  17735. },
  17736. "trademode": {
  17737. "description": "交易模式",
  17738. "type": "integer"
  17739. },
  17740. "tradeprice": {
  17741. "description": "成交价格",
  17742. "type": "number"
  17743. },
  17744. "tradeproperty": {
  17745. "description": "交易属性",
  17746. "type": "integer"
  17747. },
  17748. "tradeqty": {
  17749. "description": "成交数量",
  17750. "type": "integer"
  17751. },
  17752. "tradetime": {
  17753. "description": "成交时间",
  17754. "type": "string"
  17755. },
  17756. "tradetype": {
  17757. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17758. "type": "integer"
  17759. }
  17760. }
  17761. },
  17762. "order.QueryHisTradeOrderDetailRsp": {
  17763. "type": "object",
  17764. "required": [
  17765. "accountid",
  17766. "buildtype",
  17767. "buyorsell",
  17768. "goodsid",
  17769. "histradedate",
  17770. "marketid",
  17771. "memberuserid",
  17772. "operatetype",
  17773. "orderid",
  17774. "orderqty",
  17775. "ordertime",
  17776. "pricemode",
  17777. "tradedate",
  17778. "validtype"
  17779. ],
  17780. "properties": {
  17781. "accountid": {
  17782. "description": "账户ID[报价币种]",
  17783. "type": "integer"
  17784. },
  17785. "buildtype": {
  17786. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17787. "type": "integer"
  17788. },
  17789. "buyorsell": {
  17790. "description": "买卖 - 0:买 1:卖",
  17791. "type": "integer"
  17792. },
  17793. "cancelorderid": {
  17794. "description": "撤单单号(撤单时填写)",
  17795. "type": "string"
  17796. },
  17797. "cancelqty": {
  17798. "description": "撤单数量",
  17799. "type": "integer"
  17800. },
  17801. "clientordertime": {
  17802. "description": "客户端委托时间",
  17803. "type": "string"
  17804. },
  17805. "clientticket": {
  17806. "description": "客户端流水号",
  17807. "type": "string"
  17808. },
  17809. "clienttype": {
  17810. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17811. "type": "integer"
  17812. },
  17813. "closeexchagechargevalue": {
  17814. "description": "平仓交易所手续费设置值",
  17815. "type": "number"
  17816. },
  17817. "closefeealgorithm": {
  17818. "description": "平仓手续费收取方式 1:比率 2:固定",
  17819. "type": "integer"
  17820. },
  17821. "closefreezecharge": {
  17822. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17823. "type": "number"
  17824. },
  17825. "closememberchargevalue": {
  17826. "description": "平仓会员手续费设置值",
  17827. "type": "number"
  17828. },
  17829. "closeqty": {
  17830. "description": "平仓数量(先建后平操作 需要记录)",
  17831. "type": "integer"
  17832. },
  17833. "closetradeqty": {
  17834. "description": "平仓成交数量(先建后平操作,需要记录)",
  17835. "type": "integer"
  17836. },
  17837. "closeunfreezecharge": {
  17838. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17839. "type": "number"
  17840. },
  17841. "delistingtype": {
  17842. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17843. "type": "integer"
  17844. },
  17845. "freezecharge": {
  17846. "description": "冻结手续费",
  17847. "type": "number"
  17848. },
  17849. "freezemargin": {
  17850. "description": "冻结保证金(冻结交易金额)",
  17851. "type": "number"
  17852. },
  17853. "gcaccountid": {
  17854. "description": "账户ID[合约币种]",
  17855. "type": "integer"
  17856. },
  17857. "goodscode": {
  17858. "description": "商品代码",
  17859. "type": "string"
  17860. },
  17861. "goodsid": {
  17862. "description": "商品ID",
  17863. "type": "integer"
  17864. },
  17865. "goodsname": {
  17866. "description": "商品名称",
  17867. "type": "string"
  17868. },
  17869. "histradedate": {
  17870. "description": "历史交易日",
  17871. "type": "string"
  17872. },
  17873. "isconfirmexercise": {
  17874. "description": "是否确认行权- 0:否 1:是",
  17875. "type": "integer"
  17876. },
  17877. "ispreexercise": {
  17878. "description": "是否预申报- 0:否 1:是",
  17879. "type": "integer"
  17880. },
  17881. "isvaliddata": {
  17882. "description": "是否有效 - 0:无效 1:有效",
  17883. "type": "integer"
  17884. },
  17885. "listingselecttype": {
  17886. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17887. "type": "integer"
  17888. },
  17889. "marginalgorithm": {
  17890. "description": "保证金收取方式 1:比率 2:固定",
  17891. "type": "integer"
  17892. },
  17893. "marginvalue": {
  17894. "description": "即市保证金设置值",
  17895. "type": "number"
  17896. },
  17897. "marketid": {
  17898. "description": "市场ID",
  17899. "type": "integer"
  17900. },
  17901. "marketmaxsub": {
  17902. "description": "市价最大偏移范围",
  17903. "type": "number"
  17904. },
  17905. "marketname": {
  17906. "description": "市场名称",
  17907. "type": "string"
  17908. },
  17909. "memberuserid": {
  17910. "description": "所属会员UserID",
  17911. "type": "integer"
  17912. },
  17913. "openexchagechargevalue": {
  17914. "description": "建仓交易所手续费设置值",
  17915. "type": "number"
  17916. },
  17917. "openfeealgorithm": {
  17918. "description": "建仓手续费收取方式 1:比率 2:固定",
  17919. "type": "integer"
  17920. },
  17921. "openfreezecharge": {
  17922. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17923. "type": "number"
  17924. },
  17925. "openmemberchargevalue": {
  17926. "description": "建仓会员手续费设置值",
  17927. "type": "number"
  17928. },
  17929. "openqty": {
  17930. "description": "开仓数量(先建后平操作,需要记录)",
  17931. "type": "integer"
  17932. },
  17933. "opentradeqty": {
  17934. "description": "开仓成交数量(先建后平操作,需要记录)",
  17935. "type": "integer"
  17936. },
  17937. "openunfreezecharge": {
  17938. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17939. "type": "number"
  17940. },
  17941. "operatetype": {
  17942. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17943. "type": "integer"
  17944. },
  17945. "operatorid": {
  17946. "description": "登录账号(LoginID)",
  17947. "type": "integer"
  17948. },
  17949. "optiontype": {
  17950. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17951. "type": "integer"
  17952. },
  17953. "orderid": {
  17954. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17955. "type": "string"
  17956. },
  17957. "orderprice": {
  17958. "description": "委托价格",
  17959. "type": "number"
  17960. },
  17961. "orderqty": {
  17962. "description": "委托数量",
  17963. "type": "integer"
  17964. },
  17965. "ordersrc": {
  17966. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17967. "type": "integer"
  17968. },
  17969. "orderstatus": {
  17970. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17971. "type": "integer"
  17972. },
  17973. "ordertime": {
  17974. "description": "委托时间",
  17975. "type": "string"
  17976. },
  17977. "preexerciseprice": {
  17978. "description": "预申报价格",
  17979. "type": "number"
  17980. },
  17981. "premium": {
  17982. "description": "权利金",
  17983. "type": "number"
  17984. },
  17985. "preorderid": {
  17986. "description": "关联预埋单号(止盈止损单时填写)",
  17987. "type": "string"
  17988. },
  17989. "pricemode": {
  17990. "description": "取价方式 - 1:市价 2: 限价",
  17991. "type": "integer"
  17992. },
  17993. "quoteid": {
  17994. "description": "报价单ID",
  17995. "type": "integer"
  17996. },
  17997. "relatedid": {
  17998. "description": "关联单号(交割单)",
  17999. "type": "string"
  18000. },
  18001. "retcode": {
  18002. "description": "错误代码",
  18003. "type": "integer"
  18004. },
  18005. "sessionid": {
  18006. "description": "会话ID",
  18007. "type": "integer"
  18008. },
  18009. "tradedate": {
  18010. "description": "交易日(yyyyMMdd)",
  18011. "type": "string"
  18012. },
  18013. "trademode": {
  18014. "description": "交易模式",
  18015. "type": "integer"
  18016. },
  18017. "tradeproperty": {
  18018. "description": "交易属性",
  18019. "type": "integer"
  18020. },
  18021. "tradeqty": {
  18022. "description": "成交数量",
  18023. "type": "integer"
  18024. },
  18025. "unfreezecharge": {
  18026. "description": "解冻手续费",
  18027. "type": "number"
  18028. },
  18029. "unfreezemargin": {
  18030. "description": "解冻保证金",
  18031. "type": "number"
  18032. },
  18033. "updatetime": {
  18034. "description": "更新时间",
  18035. "type": "string"
  18036. },
  18037. "uuid": {
  18038. "description": "发起端唯一id",
  18039. "type": "string"
  18040. },
  18041. "validtime": {
  18042. "description": "有效期限",
  18043. "type": "string"
  18044. },
  18045. "validtype": {
  18046. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18047. "type": "integer"
  18048. },
  18049. "volumetype": {
  18050. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18051. "type": "integer"
  18052. }
  18053. }
  18054. },
  18055. "order.QueryTradeDetailRsp": {
  18056. "type": "object",
  18057. "required": [
  18058. "accountid",
  18059. "buyorsell",
  18060. "goodsid",
  18061. "marketid",
  18062. "memberuserid",
  18063. "orderid",
  18064. "tradeamount",
  18065. "tradedate",
  18066. "tradeid",
  18067. "tradeprice",
  18068. "tradeqty",
  18069. "tradetime"
  18070. ],
  18071. "properties": {
  18072. "accountid": {
  18073. "description": "账户ID[报价币种]",
  18074. "type": "integer"
  18075. },
  18076. "buildtype": {
  18077. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18078. "type": "integer"
  18079. },
  18080. "buyorsell": {
  18081. "description": "方向 - 0:买 1:卖",
  18082. "type": "integer"
  18083. },
  18084. "charge": {
  18085. "description": "手续费",
  18086. "type": "number"
  18087. },
  18088. "closecharge": {
  18089. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18090. "type": "number"
  18091. },
  18092. "closeexchagechargevalue": {
  18093. "description": "平仓交易所手续费设置值",
  18094. "type": "number"
  18095. },
  18096. "closefeealgorithm": {
  18097. "description": "平仓手续费收取方式 1:比率 2:固定",
  18098. "type": "integer"
  18099. },
  18100. "closememberchargevalue": {
  18101. "description": "平仓会员手续费设置值",
  18102. "type": "number"
  18103. },
  18104. "closepl": {
  18105. "description": "平仓盈亏",
  18106. "type": "number"
  18107. },
  18108. "closepl2": {
  18109. "description": "平仓盈亏[逐笔]",
  18110. "type": "number"
  18111. },
  18112. "closeqty": {
  18113. "description": "平仓数量(先建后平操作 需要记录)",
  18114. "type": "integer"
  18115. },
  18116. "creditamount": {
  18117. "description": "授信金额",
  18118. "type": "number"
  18119. },
  18120. "gcaccountid": {
  18121. "description": "账户ID[合约币种]",
  18122. "type": "integer"
  18123. },
  18124. "goodscode": {
  18125. "description": "商品代码",
  18126. "type": "string"
  18127. },
  18128. "goodsid": {
  18129. "description": "商品ID",
  18130. "type": "integer"
  18131. },
  18132. "goodsname": {
  18133. "description": "商品名称",
  18134. "type": "string"
  18135. },
  18136. "intclosepl": {
  18137. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18138. "type": "integer"
  18139. },
  18140. "isconfirmexercise": {
  18141. "description": "是否确认行权- 0:否 1:是",
  18142. "type": "integer"
  18143. },
  18144. "ismain": {
  18145. "description": "是否主单 - 0:不是 1:是",
  18146. "type": "integer"
  18147. },
  18148. "ispreexercise": {
  18149. "description": "是否预申报- 0:否 1:是",
  18150. "type": "integer"
  18151. },
  18152. "isreckoned": {
  18153. "description": "是否结算 - 0:未结算 1:已结算",
  18154. "type": "integer"
  18155. },
  18156. "listingselecttype": {
  18157. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18158. "type": "integer"
  18159. },
  18160. "marketid": {
  18161. "description": "市场ID",
  18162. "type": "integer"
  18163. },
  18164. "marketname": {
  18165. "description": "市场名称",
  18166. "type": "string"
  18167. },
  18168. "matchaccountid": {
  18169. "description": "对手账号id",
  18170. "type": "integer"
  18171. },
  18172. "memberuserid": {
  18173. "description": "会员id 个人投资者 需要填写",
  18174. "type": "integer"
  18175. },
  18176. "opencharge": {
  18177. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18178. "type": "number"
  18179. },
  18180. "openexchagechargevalue": {
  18181. "description": "建仓交易所手续费设置值",
  18182. "type": "number"
  18183. },
  18184. "openfeealgorithm": {
  18185. "description": "建仓手续费收取方式 1:比率 2:固定",
  18186. "type": "integer"
  18187. },
  18188. "openmemberchargevalue": {
  18189. "description": "建仓会员手续费设置值",
  18190. "type": "number"
  18191. },
  18192. "openqty": {
  18193. "description": "开仓数量(先建后平操作 需要记录)",
  18194. "type": "integer"
  18195. },
  18196. "optiontype": {
  18197. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18198. "type": "integer"
  18199. },
  18200. "orderid": {
  18201. "description": "委托单号",
  18202. "type": "string"
  18203. },
  18204. "performanceplanid": {
  18205. "description": "履约计划ID[期权]",
  18206. "type": "integer"
  18207. },
  18208. "performancestatus": {
  18209. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18210. "type": "integer"
  18211. },
  18212. "preexerciseprice": {
  18213. "description": "预申报价格",
  18214. "type": "number"
  18215. },
  18216. "premium": {
  18217. "description": "权利金 - [持仓单的权利金]",
  18218. "type": "number"
  18219. },
  18220. "relatedouttradeid": {
  18221. "description": "关联外部成交单ID",
  18222. "type": "integer"
  18223. },
  18224. "status": {
  18225. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18226. "type": "integer"
  18227. },
  18228. "tradeamount": {
  18229. "description": "成交金额[账户币种,用于所有权]",
  18230. "type": "number"
  18231. },
  18232. "tradedate": {
  18233. "description": "交易日(yyyyMMdd)",
  18234. "type": "string"
  18235. },
  18236. "tradeid": {
  18237. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18238. "type": "string"
  18239. },
  18240. "trademode": {
  18241. "description": "交易模式",
  18242. "type": "integer"
  18243. },
  18244. "tradeprice": {
  18245. "description": "成交价格",
  18246. "type": "number"
  18247. },
  18248. "tradeproperty": {
  18249. "description": "交易属性",
  18250. "type": "integer"
  18251. },
  18252. "tradeqty": {
  18253. "description": "成交数量",
  18254. "type": "integer"
  18255. },
  18256. "tradetime": {
  18257. "description": "成交时间",
  18258. "type": "string"
  18259. },
  18260. "tradetype": {
  18261. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18262. "type": "integer"
  18263. }
  18264. }
  18265. },
  18266. "order.QueryTradeOrderDetailRsp": {
  18267. "type": "object",
  18268. "required": [
  18269. "accountid",
  18270. "buildtype",
  18271. "buyorsell",
  18272. "goodsid",
  18273. "marketid",
  18274. "operatetype",
  18275. "orderqty",
  18276. "ordertime",
  18277. "pricemode",
  18278. "tradedate",
  18279. "validtype"
  18280. ],
  18281. "properties": {
  18282. "accountid": {
  18283. "description": "账户ID[报价币种]",
  18284. "type": "integer"
  18285. },
  18286. "buildtype": {
  18287. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18288. "type": "integer"
  18289. },
  18290. "buyorsell": {
  18291. "description": "买卖 - 0:买 1:卖",
  18292. "type": "integer"
  18293. },
  18294. "cancelorderid": {
  18295. "description": "撤单单号(撤单时填写)",
  18296. "type": "string"
  18297. },
  18298. "cancelqty": {
  18299. "description": "撤单数量",
  18300. "type": "integer"
  18301. },
  18302. "clienttype": {
  18303. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18304. "type": "integer"
  18305. },
  18306. "closefreezecharge": {
  18307. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18308. "type": "number"
  18309. },
  18310. "closeqty": {
  18311. "description": "平仓数量(先建后平操作 需要记录)",
  18312. "type": "integer"
  18313. },
  18314. "closetradeqty": {
  18315. "description": "平仓成交数量(先建后平操作,需要记录)",
  18316. "type": "integer"
  18317. },
  18318. "closeunfreezecharge": {
  18319. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18320. "type": "number"
  18321. },
  18322. "delistingtype": {
  18323. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18324. "type": "integer"
  18325. },
  18326. "enableqty": {
  18327. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18328. "type": "integer"
  18329. },
  18330. "freezecharge": {
  18331. "description": "冻结手续费",
  18332. "type": "number"
  18333. },
  18334. "freezemargin": {
  18335. "description": "冻结保证金(冻结交易金额)",
  18336. "type": "number"
  18337. },
  18338. "goodscode": {
  18339. "description": "商品代码",
  18340. "type": "string"
  18341. },
  18342. "goodsid": {
  18343. "description": "商品ID",
  18344. "type": "integer"
  18345. },
  18346. "goodsname": {
  18347. "description": "商品名称",
  18348. "type": "string"
  18349. },
  18350. "listingselecttype": {
  18351. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18352. "type": "integer"
  18353. },
  18354. "marketid": {
  18355. "description": "市场ID",
  18356. "type": "integer"
  18357. },
  18358. "marketname": {
  18359. "description": "市场名称",
  18360. "type": "string"
  18361. },
  18362. "openfreezecharge": {
  18363. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18364. "type": "number"
  18365. },
  18366. "openqty": {
  18367. "description": "开仓数量(先建后平操作,需要记录)",
  18368. "type": "integer"
  18369. },
  18370. "opentradeqty": {
  18371. "description": "开仓成交数量(先建后平操作,需要记录)",
  18372. "type": "integer"
  18373. },
  18374. "openunfreezecharge": {
  18375. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18376. "type": "number"
  18377. },
  18378. "operatetype": {
  18379. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18380. "type": "integer"
  18381. },
  18382. "operatorid": {
  18383. "description": "登录账号(LoginID)",
  18384. "type": "integer"
  18385. },
  18386. "orderid": {
  18387. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18388. "type": "string"
  18389. },
  18390. "orderprice": {
  18391. "description": "委托价格",
  18392. "type": "number"
  18393. },
  18394. "orderqty": {
  18395. "description": "委托数量",
  18396. "type": "integer"
  18397. },
  18398. "ordersrc": {
  18399. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18400. "type": "integer"
  18401. },
  18402. "orderstatus": {
  18403. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18404. "type": "integer"
  18405. },
  18406. "ordertime": {
  18407. "description": "委托时间",
  18408. "type": "string"
  18409. },
  18410. "preorderid": {
  18411. "description": "关联预埋单号(止盈止损单时填写)",
  18412. "type": "string"
  18413. },
  18414. "pricemode": {
  18415. "description": "取价方式 - 1:市价 2: 限价",
  18416. "type": "integer"
  18417. },
  18418. "relatedid": {
  18419. "description": "关联单号(交割单)",
  18420. "type": "string"
  18421. },
  18422. "tradedate": {
  18423. "description": "交易日(yyyyMMdd)",
  18424. "type": "string"
  18425. },
  18426. "trademode": {
  18427. "description": "交易模式",
  18428. "type": "integer"
  18429. },
  18430. "tradeqty": {
  18431. "description": "成交数量",
  18432. "type": "integer"
  18433. },
  18434. "unfreezecharge": {
  18435. "description": "解冻手续费",
  18436. "type": "number"
  18437. },
  18438. "unfreezemargin": {
  18439. "description": "解冻保证金",
  18440. "type": "number"
  18441. },
  18442. "validtime": {
  18443. "description": "有效期限",
  18444. "type": "string"
  18445. },
  18446. "validtype": {
  18447. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18448. "type": "integer"
  18449. },
  18450. "volumetype": {
  18451. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18452. "type": "integer"
  18453. }
  18454. }
  18455. },
  18456. "order.QueryTradePositionRsp": {
  18457. "type": "object",
  18458. "required": [
  18459. "goodsid"
  18460. ],
  18461. "properties": {
  18462. "accountid": {
  18463. "description": "资金账户",
  18464. "type": "integer"
  18465. },
  18466. "agreeunit": {
  18467. "description": "合约单位",
  18468. "type": "number"
  18469. },
  18470. "averageprice": {
  18471. "description": "持仓均价",
  18472. "type": "number"
  18473. },
  18474. "buyorsell": {
  18475. "description": "方向 - 0:买 1:卖",
  18476. "type": "integer"
  18477. },
  18478. "closetotalqty": {
  18479. "description": "平仓总数量",
  18480. "type": "integer"
  18481. },
  18482. "curholderamount": {
  18483. "description": "当前持仓总金额[商品币种]",
  18484. "type": "number"
  18485. },
  18486. "curpositionqty": {
  18487. "description": "当前持仓总数量",
  18488. "type": "integer"
  18489. },
  18490. "currencyid": {
  18491. "description": "报价货币ID",
  18492. "type": "integer"
  18493. },
  18494. "curtdposition": {
  18495. "description": "期末今日头寸",
  18496. "type": "integer"
  18497. },
  18498. "decimalplace": {
  18499. "description": "报价小数位",
  18500. "type": "integer"
  18501. },
  18502. "enableqty": {
  18503. "description": "可用量",
  18504. "type": "integer"
  18505. },
  18506. "fretdposition": {
  18507. "description": "冻结今日头寸",
  18508. "type": "integer"
  18509. },
  18510. "frozenqty": {
  18511. "description": "持仓冻结数量",
  18512. "type": "integer"
  18513. },
  18514. "goodscode": {
  18515. "description": "商品代码",
  18516. "type": "string"
  18517. },
  18518. "goodsid": {
  18519. "description": "商品Id",
  18520. "type": "integer"
  18521. },
  18522. "goodsname": {
  18523. "description": "商品名称",
  18524. "type": "string"
  18525. },
  18526. "goodunit": {
  18527. "description": "报价单位",
  18528. "type": "string"
  18529. },
  18530. "goodunitid": {
  18531. "description": "报价单位ID",
  18532. "type": "integer"
  18533. },
  18534. "holderamount": {
  18535. "description": "期初持仓总金额[商品币种]",
  18536. "type": "number"
  18537. },
  18538. "marketid": {
  18539. "description": "所属市场ID",
  18540. "type": "integer"
  18541. },
  18542. "openreqqty": {
  18543. "description": "开仓申请数量(用于比较最大持仓数量)",
  18544. "type": "integer"
  18545. },
  18546. "opentotalqty": {
  18547. "description": "开仓总数量",
  18548. "type": "integer"
  18549. },
  18550. "otherfrozenqty": {
  18551. "description": "持仓其他冻结数量(交割冻结)",
  18552. "type": "integer"
  18553. },
  18554. "positionqty": {
  18555. "description": "期初持仓数量",
  18556. "type": "integer"
  18557. },
  18558. "tnqty": {
  18559. "description": "T+N冻结总量",
  18560. "type": "integer"
  18561. },
  18562. "tnusedqty": {
  18563. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18564. "type": "integer"
  18565. },
  18566. "trademode": {
  18567. "description": "交易模式",
  18568. "type": "integer"
  18569. },
  18570. "usedmargin": {
  18571. "description": "占用保证金[商品币种]",
  18572. "type": "number"
  18573. }
  18574. }
  18575. },
  18576. "quote.HistoryData": {
  18577. "type": "object",
  18578. "properties": {
  18579. "c": {
  18580. "description": "收盘价",
  18581. "type": "number"
  18582. },
  18583. "f": {
  18584. "description": "是否补充数据",
  18585. "type": "boolean"
  18586. },
  18587. "h": {
  18588. "description": "最高价",
  18589. "type": "number"
  18590. },
  18591. "hv": {
  18592. "description": "持仓量",
  18593. "type": "integer"
  18594. },
  18595. "l": {
  18596. "description": "最低价",
  18597. "type": "number"
  18598. },
  18599. "o": {
  18600. "description": "开盘价",
  18601. "type": "number"
  18602. },
  18603. "s": {
  18604. "description": "结算价,日线周期(包括)以上才有",
  18605. "type": "number"
  18606. },
  18607. "ts": {
  18608. "description": "时间",
  18609. "type": "string"
  18610. },
  18611. "tt": {
  18612. "description": "总金额",
  18613. "type": "number"
  18614. },
  18615. "tv": {
  18616. "description": "总量",
  18617. "type": "integer"
  18618. }
  18619. }
  18620. },
  18621. "quote.HistoryTikData": {
  18622. "type": "object",
  18623. "properties": {
  18624. "AV": {
  18625. "description": "卖量",
  18626. "type": "integer"
  18627. },
  18628. "Ask": {
  18629. "description": "卖价",
  18630. "type": "number"
  18631. },
  18632. "BV": {
  18633. "description": "买量",
  18634. "type": "integer"
  18635. },
  18636. "Bid": {
  18637. "description": "买价",
  18638. "type": "number"
  18639. },
  18640. "HI": {
  18641. "description": "单笔持仓",
  18642. "type": "integer"
  18643. },
  18644. "HV": {
  18645. "description": "持仓量",
  18646. "type": "integer"
  18647. },
  18648. "PE": {
  18649. "description": "现价",
  18650. "type": "number"
  18651. },
  18652. "TDR": {
  18653. "description": "交易方向,0:买 1:卖",
  18654. "type": "integer"
  18655. },
  18656. "TK": {
  18657. "description": "交易类型",
  18658. "type": "integer"
  18659. },
  18660. "TS": {
  18661. "description": "行情时间文本",
  18662. "type": "string"
  18663. },
  18664. "TT": {
  18665. "description": "现金额",
  18666. "type": "number"
  18667. },
  18668. "Vol": {
  18669. "description": "现量",
  18670. "type": "integer"
  18671. }
  18672. }
  18673. },
  18674. "quote.QueryQuoteDayRsp": {
  18675. "type": "object",
  18676. "properties": {
  18677. "ask": {
  18678. "description": "卖1",
  18679. "type": "number"
  18680. },
  18681. "ask10": {
  18682. "description": "卖10",
  18683. "type": "number"
  18684. },
  18685. "ask2": {
  18686. "description": "卖2",
  18687. "type": "number"
  18688. },
  18689. "ask3": {
  18690. "description": "卖3",
  18691. "type": "number"
  18692. },
  18693. "ask4": {
  18694. "description": "卖4",
  18695. "type": "number"
  18696. },
  18697. "ask5": {
  18698. "description": "卖5",
  18699. "type": "number"
  18700. },
  18701. "ask6": {
  18702. "description": "卖6",
  18703. "type": "number"
  18704. },
  18705. "ask7": {
  18706. "description": "卖7",
  18707. "type": "number"
  18708. },
  18709. "ask8": {
  18710. "description": "卖8",
  18711. "type": "number"
  18712. },
  18713. "ask9": {
  18714. "description": "卖9",
  18715. "type": "number"
  18716. },
  18717. "askorderid": {
  18718. "description": "卖单号1",
  18719. "type": "integer"
  18720. },
  18721. "askorderid2": {
  18722. "description": "卖单号2",
  18723. "type": "integer"
  18724. },
  18725. "askorderid3": {
  18726. "description": "卖单号3",
  18727. "type": "integer"
  18728. },
  18729. "askorderid4": {
  18730. "description": "卖单号4",
  18731. "type": "integer"
  18732. },
  18733. "askorderid5": {
  18734. "description": "卖单号5",
  18735. "type": "integer"
  18736. },
  18737. "askordervolume": {
  18738. "description": "卖单量1",
  18739. "type": "integer"
  18740. },
  18741. "askordervolume10": {
  18742. "description": "卖单量10",
  18743. "type": "integer"
  18744. },
  18745. "askordervolume2": {
  18746. "description": "卖单量2",
  18747. "type": "integer"
  18748. },
  18749. "askordervolume3": {
  18750. "description": "卖单量3",
  18751. "type": "integer"
  18752. },
  18753. "askordervolume4": {
  18754. "description": "卖单量4",
  18755. "type": "integer"
  18756. },
  18757. "askordervolume5": {
  18758. "description": "卖单量5",
  18759. "type": "integer"
  18760. },
  18761. "askordervolume6": {
  18762. "description": "卖单量6",
  18763. "type": "integer"
  18764. },
  18765. "askordervolume7": {
  18766. "description": "卖单量7",
  18767. "type": "integer"
  18768. },
  18769. "askordervolume8": {
  18770. "description": "卖单量8",
  18771. "type": "integer"
  18772. },
  18773. "askordervolume9": {
  18774. "description": "卖单量9",
  18775. "type": "integer"
  18776. },
  18777. "askqueueinfo": {
  18778. "description": "大利市卖港股用",
  18779. "type": "string"
  18780. },
  18781. "askvolume": {
  18782. "description": "卖量1",
  18783. "type": "integer"
  18784. },
  18785. "askvolume10": {
  18786. "description": "卖量10",
  18787. "type": "integer"
  18788. },
  18789. "askvolume2": {
  18790. "description": "卖量2",
  18791. "type": "integer"
  18792. },
  18793. "askvolume3": {
  18794. "description": "卖量3",
  18795. "type": "integer"
  18796. },
  18797. "askvolume4": {
  18798. "description": "卖量4",
  18799. "type": "integer"
  18800. },
  18801. "askvolume5": {
  18802. "description": "卖量5",
  18803. "type": "integer"
  18804. },
  18805. "askvolume6": {
  18806. "description": "卖量6",
  18807. "type": "integer"
  18808. },
  18809. "askvolume7": {
  18810. "description": "卖量7",
  18811. "type": "integer"
  18812. },
  18813. "askvolume8": {
  18814. "description": "卖量8",
  18815. "type": "integer"
  18816. },
  18817. "askvolume9": {
  18818. "description": "卖量9",
  18819. "type": "integer"
  18820. },
  18821. "averageprice": {
  18822. "description": "均价",
  18823. "type": "number"
  18824. },
  18825. "bid": {
  18826. "description": "买1",
  18827. "type": "number"
  18828. },
  18829. "bid10": {
  18830. "description": "买10",
  18831. "type": "number"
  18832. },
  18833. "bid2": {
  18834. "description": "买2",
  18835. "type": "number"
  18836. },
  18837. "bid3": {
  18838. "description": "买3",
  18839. "type": "number"
  18840. },
  18841. "bid4": {
  18842. "description": "买4",
  18843. "type": "number"
  18844. },
  18845. "bid5": {
  18846. "description": "买5",
  18847. "type": "number"
  18848. },
  18849. "bid6": {
  18850. "description": "买6",
  18851. "type": "number"
  18852. },
  18853. "bid7": {
  18854. "description": "买7",
  18855. "type": "number"
  18856. },
  18857. "bid8": {
  18858. "description": "买8",
  18859. "type": "number"
  18860. },
  18861. "bid9": {
  18862. "description": "买9",
  18863. "type": "number"
  18864. },
  18865. "bidorderid": {
  18866. "description": "买单号1",
  18867. "type": "integer"
  18868. },
  18869. "bidorderid2": {
  18870. "description": "买单号2",
  18871. "type": "integer"
  18872. },
  18873. "bidorderid3": {
  18874. "description": "买单号3",
  18875. "type": "integer"
  18876. },
  18877. "bidorderid4": {
  18878. "description": "买单号4",
  18879. "type": "integer"
  18880. },
  18881. "bidorderid5": {
  18882. "description": "买单号5",
  18883. "type": "integer"
  18884. },
  18885. "bidordervolume": {
  18886. "description": "买单量1",
  18887. "type": "integer"
  18888. },
  18889. "bidordervolume10": {
  18890. "description": "买单量10",
  18891. "type": "integer"
  18892. },
  18893. "bidordervolume2": {
  18894. "description": "买单量2",
  18895. "type": "integer"
  18896. },
  18897. "bidordervolume3": {
  18898. "description": "买单量3",
  18899. "type": "integer"
  18900. },
  18901. "bidordervolume4": {
  18902. "description": "买单量4",
  18903. "type": "integer"
  18904. },
  18905. "bidordervolume5": {
  18906. "description": "买单量5",
  18907. "type": "integer"
  18908. },
  18909. "bidordervolume6": {
  18910. "description": "买单量6",
  18911. "type": "integer"
  18912. },
  18913. "bidordervolume7": {
  18914. "description": "买单量7",
  18915. "type": "integer"
  18916. },
  18917. "bidordervolume8": {
  18918. "description": "买单量8",
  18919. "type": "integer"
  18920. },
  18921. "bidordervolume9": {
  18922. "description": "买单量9",
  18923. "type": "integer"
  18924. },
  18925. "bidqueueinfo": {
  18926. "description": "大利市买港股用",
  18927. "type": "string"
  18928. },
  18929. "bidvolume": {
  18930. "description": "买量1",
  18931. "type": "integer"
  18932. },
  18933. "bidvolume10": {
  18934. "description": "买量10",
  18935. "type": "integer"
  18936. },
  18937. "bidvolume2": {
  18938. "description": "买量2",
  18939. "type": "integer"
  18940. },
  18941. "bidvolume3": {
  18942. "description": "买量3",
  18943. "type": "integer"
  18944. },
  18945. "bidvolume4": {
  18946. "description": "买量4",
  18947. "type": "integer"
  18948. },
  18949. "bidvolume5": {
  18950. "description": "买量5",
  18951. "type": "integer"
  18952. },
  18953. "bidvolume6": {
  18954. "description": "买量6",
  18955. "type": "integer"
  18956. },
  18957. "bidvolume7": {
  18958. "description": "买量7",
  18959. "type": "integer"
  18960. },
  18961. "bidvolume8": {
  18962. "description": "买量8",
  18963. "type": "integer"
  18964. },
  18965. "bidvolume9": {
  18966. "description": "买量9",
  18967. "type": "integer"
  18968. },
  18969. "calloptionpremiums": {
  18970. "description": "认购期权1",
  18971. "type": "integer"
  18972. },
  18973. "calloptionpremiums2": {
  18974. "description": "认购期权2",
  18975. "type": "integer"
  18976. },
  18977. "calloptionpremiums3": {
  18978. "description": "认购期权3",
  18979. "type": "integer"
  18980. },
  18981. "calloptionpremiums4": {
  18982. "description": "认购期权4",
  18983. "type": "integer"
  18984. },
  18985. "calloptionpremiums5": {
  18986. "description": "认购期权5",
  18987. "type": "integer"
  18988. },
  18989. "cleartime": {
  18990. "description": "清盘时间",
  18991. "type": "integer"
  18992. },
  18993. "exchangecode": {
  18994. "description": "交易所代码",
  18995. "type": "integer"
  18996. },
  18997. "exchangedate": {
  18998. "description": "交易日",
  18999. "type": "integer"
  19000. },
  19001. "goodscode": {
  19002. "description": "商品代码",
  19003. "type": "string"
  19004. },
  19005. "grepmarketprice": {
  19006. "description": "暗盘价 港股专用",
  19007. "type": "number"
  19008. },
  19009. "highest": {
  19010. "description": "最高价",
  19011. "type": "number"
  19012. },
  19013. "holdincrement": {
  19014. "description": "单笔持仓",
  19015. "type": "integer"
  19016. },
  19017. "holdvolume": {
  19018. "description": "持仓",
  19019. "type": "integer"
  19020. },
  19021. "iep": {
  19022. "description": "平衡价 港股专用",
  19023. "type": "number"
  19024. },
  19025. "iev": {
  19026. "description": "平衡量 港股专用",
  19027. "type": "number"
  19028. },
  19029. "inventory": {
  19030. "description": "库存",
  19031. "type": "integer"
  19032. },
  19033. "iscleared": {
  19034. "description": "是否清盘标志",
  19035. "type": "integer"
  19036. },
  19037. "issettled": {
  19038. "description": "是否结算标志",
  19039. "type": "integer"
  19040. },
  19041. "last": {
  19042. "description": "最新价",
  19043. "type": "number"
  19044. },
  19045. "lastlot": {
  19046. "description": "最新成交手数",
  19047. "type": "integer"
  19048. },
  19049. "lasttime": {
  19050. "description": "行情时间(只有现价变化行情时间才变化)",
  19051. "type": "string"
  19052. },
  19053. "lastturnover": {
  19054. "description": "最新成交金额",
  19055. "type": "number"
  19056. },
  19057. "lastvolume": {
  19058. "description": "最新成交量",
  19059. "type": "integer"
  19060. },
  19061. "limitdown": {
  19062. "description": "跌停价",
  19063. "type": "number"
  19064. },
  19065. "limitup": {
  19066. "description": "涨停价",
  19067. "type": "number"
  19068. },
  19069. "lowest": {
  19070. "description": "最低价",
  19071. "type": "number"
  19072. },
  19073. "nontotalholdervolume": {
  19074. "description": "非交易持仓量",
  19075. "type": "integer"
  19076. },
  19077. "nontotallot": {
  19078. "description": "非交易总手数",
  19079. "type": "integer"
  19080. },
  19081. "nontotalturnover": {
  19082. "description": "非交易总金额",
  19083. "type": "integer"
  19084. },
  19085. "nontotalvolume": {
  19086. "description": "非交易总量",
  19087. "type": "integer"
  19088. },
  19089. "opened": {
  19090. "description": "开盘价",
  19091. "type": "number"
  19092. },
  19093. "opentime": {
  19094. "description": "开盘时间",
  19095. "type": "string"
  19096. },
  19097. "orderid": {
  19098. "description": "序号",
  19099. "type": "integer"
  19100. },
  19101. "preclose": {
  19102. "description": "昨收",
  19103. "type": "number"
  19104. },
  19105. "preholdvolume": {
  19106. "description": "昨持仓",
  19107. "type": "integer"
  19108. },
  19109. "presettle": {
  19110. "description": "昨结价",
  19111. "type": "number"
  19112. },
  19113. "publictradetype": {
  19114. "description": "公共交易标志类型 港股专用",
  19115. "type": "string"
  19116. },
  19117. "putoptionpremiums": {
  19118. "description": "认沽期权1",
  19119. "type": "integer"
  19120. },
  19121. "putoptionpremiums2": {
  19122. "description": "认沽期权2",
  19123. "type": "integer"
  19124. },
  19125. "putoptionpremiums3": {
  19126. "description": "认沽期权3",
  19127. "type": "integer"
  19128. },
  19129. "putoptionpremiums4": {
  19130. "description": "认沽期权4",
  19131. "type": "integer"
  19132. },
  19133. "putoptionpremiums5": {
  19134. "description": "认沽期权5",
  19135. "type": "integer"
  19136. },
  19137. "settle": {
  19138. "description": "结算价",
  19139. "type": "number"
  19140. },
  19141. "strikeprice": {
  19142. "description": "发行价",
  19143. "type": "number"
  19144. },
  19145. "totalaskvolume": {
  19146. "description": "内盘",
  19147. "type": "integer"
  19148. },
  19149. "totalbidvolume": {
  19150. "description": "外盘",
  19151. "type": "integer"
  19152. },
  19153. "totallot": {
  19154. "description": "总手数",
  19155. "type": "integer"
  19156. },
  19157. "totalturnover": {
  19158. "description": "总金额",
  19159. "type": "number"
  19160. },
  19161. "totalvolume": {
  19162. "description": "总量",
  19163. "type": "integer"
  19164. },
  19165. "utclasttime": {
  19166. "description": "utc的行情时间",
  19167. "type": "string"
  19168. }
  19169. }
  19170. },
  19171. "quote.QueryTSDataRsp": {
  19172. "type": "object",
  19173. "properties": {
  19174. "decimalPlace": {
  19175. "description": "小数位",
  19176. "type": "integer"
  19177. },
  19178. "endTime": {
  19179. "description": "结束时间",
  19180. "type": "string"
  19181. },
  19182. "goodsCode": {
  19183. "description": "商品代码",
  19184. "type": "string"
  19185. },
  19186. "historyDatas": {
  19187. "description": "历史数据",
  19188. "type": "array",
  19189. "items": {
  19190. "$ref": "#/definitions/quote.HistoryData"
  19191. }
  19192. },
  19193. "outGoodsCode": {
  19194. "description": "外部商品代码",
  19195. "type": "string"
  19196. },
  19197. "preSettle": {
  19198. "description": "昨结价",
  19199. "type": "number"
  19200. },
  19201. "startTime": {
  19202. "description": "开始时间",
  19203. "type": "string"
  19204. },
  19205. "tradeDate": {
  19206. "description": "交易日",
  19207. "type": "string"
  19208. }
  19209. }
  19210. },
  19211. "szdz.QueryConvertLogRsp": {
  19212. "type": "object",
  19213. "required": [
  19214. "logid"
  19215. ],
  19216. "properties": {
  19217. "accountid": {
  19218. "description": "资金账户ID",
  19219. "type": "integer"
  19220. },
  19221. "clientticket": {
  19222. "description": "客户端流水号",
  19223. "type": "string"
  19224. },
  19225. "converttype": {
  19226. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19227. "type": "integer"
  19228. },
  19229. "createtime": {
  19230. "description": "记账时间",
  19231. "type": "string"
  19232. },
  19233. "daymaxvalue": {
  19234. "description": "配置当日最大转入限制",
  19235. "type": "number"
  19236. },
  19237. "daymaxvalue2": {
  19238. "description": "配置当日最大转入限制(转入)",
  19239. "type": "number"
  19240. },
  19241. "goodscode": {
  19242. "description": "商品代码",
  19243. "type": "string"
  19244. },
  19245. "goodsname": {
  19246. "description": "商品名称",
  19247. "type": "string"
  19248. },
  19249. "handlestatus": {
  19250. "description": "处理状态",
  19251. "type": "integer"
  19252. },
  19253. "innergoodsid": {
  19254. "description": "内部商品ID",
  19255. "type": "integer"
  19256. },
  19257. "inratio": {
  19258. "description": "配置转入比值",
  19259. "type": "integer"
  19260. },
  19261. "invalue": {
  19262. "description": "目标值",
  19263. "type": "number"
  19264. },
  19265. "logid": {
  19266. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19267. "type": "integer"
  19268. },
  19269. "mobile": {
  19270. "description": "手机号码(加密存储)",
  19271. "type": "string"
  19272. },
  19273. "outergoodscode": {
  19274. "description": "外部商品代码[JD\\PD]",
  19275. "type": "string"
  19276. },
  19277. "outratio": {
  19278. "description": "配置转出比值",
  19279. "type": "integer"
  19280. },
  19281. "outvalue": {
  19282. "description": "源值",
  19283. "type": "number"
  19284. },
  19285. "pddecimalplace": {
  19286. "description": "PD小数位",
  19287. "type": "integer"
  19288. },
  19289. "qty": {
  19290. "description": "数量",
  19291. "type": "string"
  19292. },
  19293. "remark": {
  19294. "description": "备注",
  19295. "type": "string"
  19296. },
  19297. "sessionid": {
  19298. "description": "会话ID",
  19299. "type": "integer"
  19300. },
  19301. "timemaxvalue": {
  19302. "description": "配置单次最大转入限制",
  19303. "type": "number"
  19304. },
  19305. "timemaxvalue2": {
  19306. "description": "配置单次最大转入限制(转入)",
  19307. "type": "number"
  19308. },
  19309. "timeminvalue": {
  19310. "description": "配置单次最小数量限制",
  19311. "type": "number"
  19312. },
  19313. "timeminvalue2": {
  19314. "description": "配置单次最小数量限制(转入)",
  19315. "type": "number"
  19316. },
  19317. "tradedate": {
  19318. "description": "交易日(yyyyMMdd)",
  19319. "type": "string"
  19320. },
  19321. "userid": {
  19322. "description": "用户ID",
  19323. "type": "integer"
  19324. }
  19325. }
  19326. },
  19327. "szdz.QueryGoodsPickupRsp": {
  19328. "type": "object",
  19329. "required": [
  19330. "takeorderid"
  19331. ],
  19332. "properties": {
  19333. "accountid": {
  19334. "description": "账户ID",
  19335. "type": "integer"
  19336. },
  19337. "address": {
  19338. "description": "提货人详细地址",
  19339. "type": "string"
  19340. },
  19341. "auditer": {
  19342. "description": "审核人",
  19343. "type": "integer"
  19344. },
  19345. "audittime": {
  19346. "description": "审核时间",
  19347. "type": "string"
  19348. },
  19349. "cardnum": {
  19350. "description": "提货人证件号码",
  19351. "type": "string"
  19352. },
  19353. "cardtypeid": {
  19354. "description": "提货人证件类型",
  19355. "type": "integer"
  19356. },
  19357. "checkremark": {
  19358. "description": "审核备注",
  19359. "type": "string"
  19360. },
  19361. "goodscode": {
  19362. "description": "商品代码",
  19363. "type": "string"
  19364. },
  19365. "goodsid": {
  19366. "description": "商品ID",
  19367. "type": "integer"
  19368. },
  19369. "goodsname": {
  19370. "description": "商品名称",
  19371. "type": "string"
  19372. },
  19373. "handlestatus": {
  19374. "description": "处理状态",
  19375. "type": "integer"
  19376. },
  19377. "marketid": {
  19378. "description": "市场ID",
  19379. "type": "integer"
  19380. },
  19381. "phonenum": {
  19382. "description": "提货人联系方式",
  19383. "type": "string"
  19384. },
  19385. "qty": {
  19386. "description": "提货数量",
  19387. "type": "number"
  19388. },
  19389. "recivername": {
  19390. "description": "提货人姓名",
  19391. "type": "string"
  19392. },
  19393. "reqtime": {
  19394. "description": "更新时间",
  19395. "type": "string"
  19396. },
  19397. "takemode": {
  19398. "description": "提货方式 - 2:自提 3:配送",
  19399. "type": "integer"
  19400. },
  19401. "takeorderid": {
  19402. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19403. "type": "string"
  19404. },
  19405. "takeorderstatus": {
  19406. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19407. "type": "integer"
  19408. },
  19409. "takeremark": {
  19410. "description": "提货备注",
  19411. "type": "string"
  19412. },
  19413. "tradedate": {
  19414. "description": "交易日(yyyyMMdd)",
  19415. "type": "string"
  19416. },
  19417. "userid": {
  19418. "description": "用户ID",
  19419. "type": "integer"
  19420. }
  19421. }
  19422. },
  19423. "szdz.QueryRecieptOrderRsp": {
  19424. "type": "object",
  19425. "required": [
  19426. "ordertime"
  19427. ],
  19428. "properties": {
  19429. "accountName": {
  19430. "description": "所属账号名称(已脱敏)",
  19431. "type": "string"
  19432. },
  19433. "accountid": {
  19434. "description": "资金账号",
  19435. "type": "integer"
  19436. },
  19437. "buyorsell": {
  19438. "description": "方向 - 0:买 1:卖",
  19439. "type": "integer"
  19440. },
  19441. "enableqty": {
  19442. "description": "可摘数量",
  19443. "type": "integer"
  19444. },
  19445. "goodscode": {
  19446. "description": "商品代码",
  19447. "type": "string"
  19448. },
  19449. "goodsid": {
  19450. "description": "商品ID",
  19451. "type": "integer"
  19452. },
  19453. "goodsname": {
  19454. "description": "商品名称",
  19455. "type": "string"
  19456. },
  19457. "orderid": {
  19458. "description": "委托单号",
  19459. "type": "string"
  19460. },
  19461. "orderprice": {
  19462. "description": "委托价格",
  19463. "type": "number"
  19464. },
  19465. "ordertime": {
  19466. "description": "委托时间",
  19467. "type": "string"
  19468. },
  19469. "tradedate": {
  19470. "description": "交易日(yyyyMMdd)",
  19471. "type": "string"
  19472. }
  19473. }
  19474. },
  19475. "szdz.QuerySZDZTradePositionRsp": {
  19476. "type": "object",
  19477. "properties": {
  19478. "accountid": {
  19479. "description": "账号Id",
  19480. "type": "integer"
  19481. },
  19482. "agreeunit": {
  19483. "description": "合约单位",
  19484. "type": "number"
  19485. },
  19486. "averageprice": {
  19487. "description": "持仓均价",
  19488. "type": "number"
  19489. },
  19490. "buyorsell": {
  19491. "description": "方向 - 0:买 1:卖",
  19492. "type": "integer"
  19493. },
  19494. "closetotalqty": {
  19495. "description": "平仓总数量",
  19496. "type": "integer"
  19497. },
  19498. "curholderamount": {
  19499. "description": "当前持仓总金额",
  19500. "type": "number"
  19501. },
  19502. "curpositionqty": {
  19503. "description": "当前持仓总数量",
  19504. "type": "integer"
  19505. },
  19506. "currencyid": {
  19507. "description": "报价货币ID",
  19508. "type": "integer"
  19509. },
  19510. "curtdposition": {
  19511. "description": "期末今日头寸",
  19512. "type": "integer"
  19513. },
  19514. "decimalplace": {
  19515. "description": "报价小数位",
  19516. "type": "integer"
  19517. },
  19518. "enableqty": {
  19519. "description": "可用量",
  19520. "type": "integer"
  19521. },
  19522. "fretdposition": {
  19523. "description": "冻结今日头寸",
  19524. "type": "integer"
  19525. },
  19526. "frozenqty": {
  19527. "description": "持仓冻结数量",
  19528. "type": "integer"
  19529. },
  19530. "goodscode": {
  19531. "description": "商品代码(内部)",
  19532. "type": "string"
  19533. },
  19534. "goodsid": {
  19535. "description": "商品Id",
  19536. "type": "integer"
  19537. },
  19538. "goodsname": {
  19539. "description": "商品名称",
  19540. "type": "string"
  19541. },
  19542. "goodunit": {
  19543. "description": "报价单位",
  19544. "type": "string"
  19545. },
  19546. "goodunitid": {
  19547. "description": "报价单位ID",
  19548. "type": "integer"
  19549. },
  19550. "holderamount": {
  19551. "description": "期初持仓总金额",
  19552. "type": "number"
  19553. },
  19554. "marketid": {
  19555. "description": "市场ID",
  19556. "type": "integer"
  19557. },
  19558. "openreqqty": {
  19559. "description": "开仓申请数量",
  19560. "type": "integer"
  19561. },
  19562. "opentotalqty": {
  19563. "description": "开仓总数量",
  19564. "type": "integer"
  19565. },
  19566. "otherfrozenqty": {
  19567. "description": "持仓其他冻结数量(交割冻结)",
  19568. "type": "integer"
  19569. },
  19570. "positionqty": {
  19571. "description": "期初持仓数量",
  19572. "type": "integer"
  19573. },
  19574. "szdz3freezqty": {
  19575. "description": "尚志大宗转换冻结总数量",
  19576. "type": "integer"
  19577. },
  19578. "tnqty": {
  19579. "description": "T+N冻结总量",
  19580. "type": "integer"
  19581. },
  19582. "tnusedqty": {
  19583. "description": "T+N使用量",
  19584. "type": "integer"
  19585. },
  19586. "trademode": {
  19587. "description": "交易模式",
  19588. "type": "integer"
  19589. },
  19590. "usedmargin": {
  19591. "description": "占用保证金",
  19592. "type": "number"
  19593. }
  19594. }
  19595. },
  19596. "taaccount.QueryAmountLogRsp": {
  19597. "type": "object",
  19598. "required": [
  19599. "accountid",
  19600. "amount",
  19601. "amountadjusttype",
  19602. "autoid",
  19603. "balance",
  19604. "createtime",
  19605. "currentbalance",
  19606. "operatetype"
  19607. ],
  19608. "properties": {
  19609. "OPERATETYPENAME": {
  19610. "description": "资金操作类型名称",
  19611. "type": "string"
  19612. },
  19613. "accountid": {
  19614. "description": "资金账户ID",
  19615. "type": "integer"
  19616. },
  19617. "agoodscode": {
  19618. "description": "竞拍商品代码",
  19619. "type": "string"
  19620. },
  19621. "agoodsname": {
  19622. "description": "竞拍商品名称",
  19623. "type": "string"
  19624. },
  19625. "amount": {
  19626. "description": "资金金额",
  19627. "type": "number"
  19628. },
  19629. "amountadjusttype": {
  19630. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19631. "type": "integer"
  19632. },
  19633. "autoid": {
  19634. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19635. "type": "integer"
  19636. },
  19637. "balance": {
  19638. "description": "期初余额",
  19639. "type": "number"
  19640. },
  19641. "businesscode": {
  19642. "description": "业务编号",
  19643. "type": "integer"
  19644. },
  19645. "createtime": {
  19646. "description": "发生时间",
  19647. "type": "string"
  19648. },
  19649. "currencyid": {
  19650. "description": "币种ID",
  19651. "type": "integer"
  19652. },
  19653. "currentbalance": {
  19654. "description": "期末余额(变动后金额)",
  19655. "type": "number"
  19656. },
  19657. "dgoodscode": {
  19658. "description": "交割商品代码",
  19659. "type": "string"
  19660. },
  19661. "dgoodsname": {
  19662. "description": "交割商品名称",
  19663. "type": "string"
  19664. },
  19665. "goodscode": {
  19666. "description": "商品代码",
  19667. "type": "string"
  19668. },
  19669. "goodsid": {
  19670. "description": "商品ID",
  19671. "type": "integer"
  19672. },
  19673. "goodsname": {
  19674. "description": "商品名称",
  19675. "type": "string"
  19676. },
  19677. "marketid": {
  19678. "description": "市场ID",
  19679. "type": "integer"
  19680. },
  19681. "marketname": {
  19682. "description": "市场名称",
  19683. "type": "string"
  19684. },
  19685. "moneyticket": {
  19686. "description": "资金流水号:银行端流水号",
  19687. "type": "integer"
  19688. },
  19689. "operatetype": {
  19690. "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:营销收款",
  19691. "type": "integer"
  19692. },
  19693. "relationorderid": {
  19694. "description": "关联单号",
  19695. "type": "string"
  19696. },
  19697. "remark": {
  19698. "description": "备注",
  19699. "type": "string"
  19700. },
  19701. "trademode": {
  19702. "description": "交易模式",
  19703. "type": "integer"
  19704. }
  19705. }
  19706. },
  19707. "taaccount.QueryHisAmountLogRsp": {
  19708. "type": "object",
  19709. "required": [
  19710. "accountid",
  19711. "amount",
  19712. "amountadjusttype",
  19713. "autoid",
  19714. "balance",
  19715. "createtime",
  19716. "currentbalance",
  19717. "histradedate",
  19718. "operatetype"
  19719. ],
  19720. "properties": {
  19721. "OPERATETYPENAME": {
  19722. "description": "资金操作类型名称",
  19723. "type": "string"
  19724. },
  19725. "accountid": {
  19726. "description": "资金账户ID",
  19727. "type": "integer"
  19728. },
  19729. "agoodscode": {
  19730. "description": "竞拍商品代码",
  19731. "type": "string"
  19732. },
  19733. "agoodsname": {
  19734. "description": "竞拍商品名称",
  19735. "type": "string"
  19736. },
  19737. "amount": {
  19738. "description": "资金金额",
  19739. "type": "number"
  19740. },
  19741. "amountadjusttype": {
  19742. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19743. "type": "integer"
  19744. },
  19745. "autoid": {
  19746. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19747. "type": "integer"
  19748. },
  19749. "balance": {
  19750. "description": "期初余额",
  19751. "type": "number"
  19752. },
  19753. "businesscode": {
  19754. "description": "业务编号",
  19755. "type": "integer"
  19756. },
  19757. "createtime": {
  19758. "description": "发生时间",
  19759. "type": "string"
  19760. },
  19761. "currencyid": {
  19762. "description": "币种ID",
  19763. "type": "integer"
  19764. },
  19765. "currentbalance": {
  19766. "description": "期末余额(变动后金额)",
  19767. "type": "number"
  19768. },
  19769. "dgoodscode": {
  19770. "description": "交割商品代码",
  19771. "type": "string"
  19772. },
  19773. "dgoodsname": {
  19774. "description": "交割商品名称",
  19775. "type": "string"
  19776. },
  19777. "goodscode": {
  19778. "description": "商品代码",
  19779. "type": "string"
  19780. },
  19781. "goodsid": {
  19782. "description": "商品ID",
  19783. "type": "integer"
  19784. },
  19785. "goodsname": {
  19786. "description": "商品名称",
  19787. "type": "string"
  19788. },
  19789. "histradedate": {
  19790. "description": "历史交易日",
  19791. "type": "string"
  19792. },
  19793. "isvaliddata": {
  19794. "description": "是否有效 - 0:无效 1:有效",
  19795. "type": "integer"
  19796. },
  19797. "marketid": {
  19798. "description": "市场ID",
  19799. "type": "integer"
  19800. },
  19801. "marketname": {
  19802. "description": "市场名称",
  19803. "type": "string"
  19804. },
  19805. "moneyticket": {
  19806. "description": "资金流水号:银行端流水号",
  19807. "type": "integer"
  19808. },
  19809. "operatetype": {
  19810. "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:营销收款",
  19811. "type": "integer"
  19812. },
  19813. "relationorderid": {
  19814. "description": "关联单号",
  19815. "type": "string"
  19816. },
  19817. "remark": {
  19818. "description": "备注",
  19819. "type": "string"
  19820. },
  19821. "trademode": {
  19822. "description": "交易模式",
  19823. "type": "integer"
  19824. }
  19825. }
  19826. },
  19827. "trade.QueryRecieptOrderRsp": {
  19828. "type": "object",
  19829. "required": [
  19830. "ordertime"
  19831. ],
  19832. "properties": {
  19833. "accountName": {
  19834. "description": "所属账号名称(已脱敏)",
  19835. "type": "string"
  19836. },
  19837. "accountid": {
  19838. "description": "资金账号",
  19839. "type": "integer"
  19840. },
  19841. "buyorsell": {
  19842. "description": "方向 - 0:买 1:卖",
  19843. "type": "integer"
  19844. },
  19845. "enableqty": {
  19846. "description": "可摘数量",
  19847. "type": "integer"
  19848. },
  19849. "goodscode": {
  19850. "description": "商品代码",
  19851. "type": "string"
  19852. },
  19853. "goodsid": {
  19854. "description": "商品ID",
  19855. "type": "integer"
  19856. },
  19857. "goodsname": {
  19858. "description": "商品名称",
  19859. "type": "string"
  19860. },
  19861. "orderid": {
  19862. "description": "委托单号",
  19863. "type": "string"
  19864. },
  19865. "orderprice": {
  19866. "description": "委托价格",
  19867. "type": "number"
  19868. },
  19869. "ordertime": {
  19870. "description": "委托时间",
  19871. "type": "string"
  19872. },
  19873. "tradedate": {
  19874. "description": "交易日(yyyyMMdd)",
  19875. "type": "string"
  19876. }
  19877. }
  19878. },
  19879. "user.LoginQueryRsp": {
  19880. "type": "object",
  19881. "properties": {
  19882. "externalExchanges": {
  19883. "description": "外部交易所",
  19884. "type": "array",
  19885. "items": {
  19886. "$ref": "#/definitions/models.Externalexchange"
  19887. }
  19888. },
  19889. "goodsgroups": {
  19890. "description": "商品组",
  19891. "type": "array",
  19892. "items": {
  19893. "$ref": "#/definitions/models.Goodsgroup"
  19894. }
  19895. },
  19896. "loginAccount": {
  19897. "description": "登录账号",
  19898. "type": "object",
  19899. "$ref": "#/definitions/models.Loginaccount"
  19900. },
  19901. "markets": {
  19902. "description": "市场",
  19903. "type": "array",
  19904. "items": {
  19905. "$ref": "#/definitions/models.Market"
  19906. }
  19907. },
  19908. "systemParams": {
  19909. "description": "系统参数",
  19910. "type": "array",
  19911. "items": {
  19912. "$ref": "#/definitions/models.Systemparam"
  19913. }
  19914. },
  19915. "userAccount": {
  19916. "description": "用户账号",
  19917. "type": "object",
  19918. "$ref": "#/definitions/models.Useraccount"
  19919. },
  19920. "userInfo": {
  19921. "description": "用户信息",
  19922. "type": "object",
  19923. "$ref": "#/definitions/models.Userinfo"
  19924. },
  19925. "username": {
  19926. "description": "用户姓名",
  19927. "type": "string"
  19928. }
  19929. }
  19930. }
  19931. },
  19932. "securityDefinitions": {
  19933. "ApiKeyAuth": {
  19934. "type": "apiKey",
  19935. "name": "Authorization",
  19936. "in": "header"
  19937. }
  19938. }
  19939. }`
  19940. type swaggerInfo struct {
  19941. Version string
  19942. Host string
  19943. BasePath string
  19944. Schemes []string
  19945. Title string
  19946. Description string
  19947. }
  19948. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19949. var SwaggerInfo = swaggerInfo{
  19950. Version: "1.0",
  19951. Host: "",
  19952. BasePath: "/api",
  19953. Schemes: []string{},
  19954. Title: "MTP2.0 查询服务 API",
  19955. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19956. }
  19957. type s struct{}
  19958. func (s *s) ReadDoc() string {
  19959. sInfo := SwaggerInfo
  19960. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19961. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19962. "marshal": func(v interface{}) string {
  19963. a, _ := json.Marshal(v)
  19964. return string(a)
  19965. },
  19966. }).Parse(doc)
  19967. if err != nil {
  19968. return doc
  19969. }
  19970. var tpl bytes.Buffer
  19971. if err := t.Execute(&tpl, sInfo); err != nil {
  19972. return doc
  19973. }
  19974. return tpl.String()
  19975. }
  19976. func init() {
  19977. swag.Register(swag.Name, &s{})
  19978. }