docs.go 901 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129
  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/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgeoutmainconfig"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QryReportAreaSpotPL": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询现货损益报表(现货损益报表)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "查询类型 1-日报表 2-月报表",
  1017. "name": "querytype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "string",
  1023. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1024. "name": "querydate",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "现货商品ID",
  1031. "name": "wrstandardid",
  1032. "in": "query"
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "品牌ID",
  1037. "name": "spotgoodsbrandid",
  1038. "in": "query"
  1039. },
  1040. {
  1041. "type": "integer",
  1042. "description": "型号ID",
  1043. "name": "spotgoodsmodelid",
  1044. "in": "query"
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDayExposure": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "string",
  1090. "description": "交易日(格式:yyyyMMdd)",
  1091. "name": "tradedate",
  1092. "in": "query",
  1093. "required": true
  1094. }
  1095. ],
  1096. "responses": {
  1097. "200": {
  1098. "description": "OK",
  1099. "schema": {
  1100. "type": "array",
  1101. "items": {
  1102. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1103. }
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/Ermcp/QryReportDayFinance": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "企业风险管理(app)"
  1127. ],
  1128. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1129. "parameters": [
  1130. {
  1131. "type": "integer",
  1132. "description": "用户ID",
  1133. "name": "userid",
  1134. "in": "query",
  1135. "required": true
  1136. },
  1137. {
  1138. "type": "string",
  1139. "description": "交易日(格式:yyyyMMdd)",
  1140. "name": "tradedate",
  1141. "in": "query",
  1142. "required": true
  1143. }
  1144. ],
  1145. "responses": {
  1146. "200": {
  1147. "description": "OK",
  1148. "schema": {
  1149. "type": "array",
  1150. "items": {
  1151. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1152. }
  1153. }
  1154. },
  1155. "500": {
  1156. "description": "Internal Server Error",
  1157. "schema": {
  1158. "$ref": "#/definitions/app.Response"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "/Ermcp/QryReportDayFinanceFp": {
  1165. "get": {
  1166. "security": [
  1167. {
  1168. "ApiKeyAuth": []
  1169. }
  1170. ],
  1171. "produces": [
  1172. "application/json"
  1173. ],
  1174. "tags": [
  1175. "企业风险管理(app)"
  1176. ],
  1177. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1178. "parameters": [
  1179. {
  1180. "type": "integer",
  1181. "description": "用户ID",
  1182. "name": "userid",
  1183. "in": "query",
  1184. "required": true
  1185. },
  1186. {
  1187. "type": "string",
  1188. "description": "交易日(格式:yyyyMMdd)",
  1189. "name": "tradedate",
  1190. "in": "query",
  1191. "required": true
  1192. }
  1193. ],
  1194. "responses": {
  1195. "200": {
  1196. "description": "OK",
  1197. "schema": {
  1198. "type": "array",
  1199. "items": {
  1200. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1201. }
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/QryReportDayFinanceKx": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "用户ID",
  1231. "name": "userid",
  1232. "in": "query",
  1233. "required": true
  1234. },
  1235. {
  1236. "type": "string",
  1237. "description": "交易日(格式:yyyyMMdd)",
  1238. "name": "tradedate",
  1239. "in": "query",
  1240. "required": true
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "type": "array",
  1248. "items": {
  1249. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1250. }
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Ermcp/QryReportDaySpot": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "企业风险管理(app)"
  1274. ],
  1275. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "用户ID",
  1280. "name": "userid",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "string",
  1286. "description": "交易日(格式:yyyyMMdd)",
  1287. "name": "tradedate",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "type": "array",
  1297. "items": {
  1298. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1299. }
  1300. }
  1301. },
  1302. "500": {
  1303. "description": "Internal Server Error",
  1304. "schema": {
  1305. "$ref": "#/definitions/app.Response"
  1306. }
  1307. }
  1308. }
  1309. }
  1310. },
  1311. "/Ermcp/QryReportDaySpotDetail": {
  1312. "get": {
  1313. "security": [
  1314. {
  1315. "ApiKeyAuth": []
  1316. }
  1317. ],
  1318. "produces": [
  1319. "application/json"
  1320. ],
  1321. "tags": [
  1322. "企业风险管理(app)"
  1323. ],
  1324. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1325. "parameters": [
  1326. {
  1327. "type": "integer",
  1328. "description": "用户ID",
  1329. "name": "userid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "integer",
  1335. "description": "现货商品id",
  1336. "name": "wrstandardid",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "交易日(格式:yyyyMMdd)",
  1343. "name": "tradedate",
  1344. "in": "query",
  1345. "required": true
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "OK",
  1351. "schema": {
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1355. }
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Ermcp/QryReportMonthFinance": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "企业风险管理(app)"
  1379. ],
  1380. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1381. "parameters": [
  1382. {
  1383. "type": "integer",
  1384. "description": "用户ID",
  1385. "name": "userid",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "周期时间:月(格式:yyyyMM)",
  1392. "name": "cycletime",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QryReportMonthSpot": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "用户ID",
  1434. "name": "userid",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "string",
  1440. "description": "周期时间:月(格式:yyyyMM)",
  1441. "name": "cycletime",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QryReportMonthSpotDetail": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "integer",
  1489. "description": "现货商品id",
  1490. "name": "wrstandardid",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "周期时间:月(格式:yyyyMM)",
  1497. "name": "cycletime",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "OK",
  1505. "schema": {
  1506. "type": "array",
  1507. "items": {
  1508. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1509. }
  1510. }
  1511. },
  1512. "500": {
  1513. "description": "Internal Server Error",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/Ermcp/QueryAccMgrBizGroupSet": {
  1522. "get": {
  1523. "security": [
  1524. {
  1525. "ApiKeyAuth": []
  1526. }
  1527. ],
  1528. "produces": [
  1529. "application/json"
  1530. ],
  1531. "tags": [
  1532. "企业风险管理(app)"
  1533. ],
  1534. "summary": "查询业务类型分组(账户管理/账户设置)",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "description": "用户ID",
  1539. "name": "userid",
  1540. "in": "query",
  1541. "required": true
  1542. }
  1543. ],
  1544. "responses": {
  1545. "200": {
  1546. "description": "OK",
  1547. "schema": {
  1548. "type": "array",
  1549. "items": {
  1550. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1551. }
  1552. }
  1553. },
  1554. "500": {
  1555. "description": "Internal Server Error",
  1556. "schema": {
  1557. "$ref": "#/definitions/app.Response"
  1558. }
  1559. }
  1560. }
  1561. }
  1562. },
  1563. "/Ermcp/QueryAccMgrLoginUser": {
  1564. "get": {
  1565. "security": [
  1566. {
  1567. "ApiKeyAuth": []
  1568. }
  1569. ],
  1570. "produces": [
  1571. "application/json"
  1572. ],
  1573. "tags": [
  1574. "企业风险管理(app)"
  1575. ],
  1576. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1577. "parameters": [
  1578. {
  1579. "type": "integer",
  1580. "description": "用户ID",
  1581. "name": "userid",
  1582. "in": "query",
  1583. "required": true
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "type": "array",
  1591. "items": {
  1592. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1593. }
  1594. }
  1595. },
  1596. "500": {
  1597. "description": "Internal Server Error",
  1598. "schema": {
  1599. "$ref": "#/definitions/app.Response"
  1600. }
  1601. }
  1602. }
  1603. }
  1604. },
  1605. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1606. "get": {
  1607. "security": [
  1608. {
  1609. "ApiKeyAuth": []
  1610. }
  1611. ],
  1612. "produces": [
  1613. "application/json"
  1614. ],
  1615. "tags": [
  1616. "企业风险管理(app)"
  1617. ],
  1618. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1619. "parameters": [
  1620. {
  1621. "type": "integer",
  1622. "description": "用户ID",
  1623. "name": "userid",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "主账号id",
  1629. "name": "accountid",
  1630. "in": "query"
  1631. }
  1632. ],
  1633. "responses": {
  1634. "200": {
  1635. "description": "OK",
  1636. "schema": {
  1637. "type": "array",
  1638. "items": {
  1639. "$ref": "#/definitions/models.MainAccountInfo"
  1640. }
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Internal Server Error",
  1645. "schema": {
  1646. "$ref": "#/definitions/app.Response"
  1647. }
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/Ermcp/QueryAccMgrRole": {
  1653. "get": {
  1654. "security": [
  1655. {
  1656. "ApiKeyAuth": []
  1657. }
  1658. ],
  1659. "produces": [
  1660. "application/json"
  1661. ],
  1662. "tags": [
  1663. "企业风险管理(app)"
  1664. ],
  1665. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1666. "parameters": [
  1667. {
  1668. "type": "integer",
  1669. "description": "用户ID",
  1670. "name": "userid",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/models.ErmcpRole"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Ermcp/QueryAccMgrRoleMenu": {
  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. "type": "string",
  1718. "description": "角色id(可多个,逗号隔开)",
  1719. "name": "roleid",
  1720. "in": "query"
  1721. }
  1722. ],
  1723. "responses": {
  1724. "200": {
  1725. "description": "OK",
  1726. "schema": {
  1727. "type": "array",
  1728. "items": {
  1729. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1730. }
  1731. }
  1732. },
  1733. "500": {
  1734. "description": "Internal Server Error",
  1735. "schema": {
  1736. "$ref": "#/definitions/app.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1743. "get": {
  1744. "security": [
  1745. {
  1746. "ApiKeyAuth": []
  1747. }
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "企业风险管理(app)"
  1754. ],
  1755. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1756. "parameters": [
  1757. {
  1758. "type": "integer",
  1759. "description": "用户ID",
  1760. "name": "userid",
  1761. "in": "query",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "账号id",
  1767. "name": "accountid",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryAccMgrTaaccount": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "用户ID",
  1808. "name": "userid",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryAreaStock": {
  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. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "type": "array",
  1860. "items": {
  1861. "$ref": "#/definitions/models.ErmcpAreaStock"
  1862. }
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "Internal Server Error",
  1867. "schema": {
  1868. "$ref": "#/definitions/app.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/Ermcp/QueryAreaStockApply": {
  1875. "get": {
  1876. "security": [
  1877. {
  1878. "ApiKeyAuth": []
  1879. }
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "企业风险管理(app)"
  1886. ],
  1887. "summary": "查询库存申请(出入库记录|库存审核)",
  1888. "parameters": [
  1889. {
  1890. "type": "integer",
  1891. "description": "用户ID",
  1892. "name": "userid",
  1893. "in": "query",
  1894. "required": true
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1899. "name": "inouttype",
  1900. "in": "query"
  1901. },
  1902. {
  1903. "type": "integer",
  1904. "description": "合同ID",
  1905. "name": "spotcontractid",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "现货商品ID",
  1911. "name": "wrstandardid",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "品牌ID",
  1917. "name": "spotgoodsbrandid",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "型号ID",
  1923. "name": "spotgoodsmodelid",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "仓库ID",
  1929. "name": "warehouseinfoid",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "string",
  1934. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1935. "name": "applystatus",
  1936. "in": "query"
  1937. }
  1938. ],
  1939. "responses": {
  1940. "200": {
  1941. "description": "OK",
  1942. "schema": {
  1943. "type": "array",
  1944. "items": {
  1945. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1946. }
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/Ermcp/QueryAreaStockApplySum": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "produces": [
  1966. "application/json"
  1967. ],
  1968. "tags": [
  1969. "企业风险管理(app)"
  1970. ],
  1971. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1972. "parameters": [
  1973. {
  1974. "type": "integer",
  1975. "description": "合同ID",
  1976. "name": "spotcontractid",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "type": "array",
  1985. "items": {
  1986. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1987. }
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/Ermcp/QueryAreaStockReport": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "produces": [
  2007. "application/json"
  2008. ],
  2009. "tags": [
  2010. "企业风险管理(app)"
  2011. ],
  2012. "summary": "查询库存报表",
  2013. "parameters": [
  2014. {
  2015. "type": "integer",
  2016. "description": "用户ID",
  2017. "name": "userid",
  2018. "in": "query",
  2019. "required": true
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "查询类型 1-日报表 2-月报表",
  2024. "name": "querytype",
  2025. "in": "query",
  2026. "required": true
  2027. },
  2028. {
  2029. "type": "string",
  2030. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2031. "name": "querydate",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "现货商品ID",
  2038. "name": "wrstandardid",
  2039. "in": "query"
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "品牌ID",
  2044. "name": "spotgoodsbrandid",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "型号ID",
  2050. "name": "spotgoodsmodelid",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "仓库ID",
  2056. "name": "warehouseinfoid",
  2057. "in": "query"
  2058. }
  2059. ],
  2060. "responses": {
  2061. "200": {
  2062. "description": "OK",
  2063. "schema": {
  2064. "type": "array",
  2065. "items": {
  2066. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2067. }
  2068. }
  2069. },
  2070. "500": {
  2071. "description": "Internal Server Error",
  2072. "schema": {
  2073. "$ref": "#/definitions/app.Response"
  2074. }
  2075. }
  2076. }
  2077. }
  2078. },
  2079. "/Ermcp/QueryAreaStockReportDetail": {
  2080. "get": {
  2081. "security": [
  2082. {
  2083. "ApiKeyAuth": []
  2084. }
  2085. ],
  2086. "produces": [
  2087. "application/json"
  2088. ],
  2089. "tags": [
  2090. "企业风险管理(app)"
  2091. ],
  2092. "summary": "查询库存报表明细",
  2093. "parameters": [
  2094. {
  2095. "type": "integer",
  2096. "description": "用户ID",
  2097. "name": "userid",
  2098. "in": "query",
  2099. "required": true
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "查询类型 1-日报表明细 2-月报表明细",
  2104. "name": "querytype",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2111. "name": "detailtype",
  2112. "in": "query",
  2113. "required": true
  2114. },
  2115. {
  2116. "type": "string",
  2117. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2118. "name": "querydate",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "现货商品ID",
  2125. "name": "wrstandardid",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "品牌ID",
  2131. "name": "spotgoodsbrandid",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "型号ID",
  2137. "name": "spotgoodsmodelid",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "仓库ID",
  2143. "name": "warehouseinfoid",
  2144. "in": "query"
  2145. }
  2146. ],
  2147. "responses": {
  2148. "200": {
  2149. "description": "OK",
  2150. "schema": {
  2151. "type": "array",
  2152. "items": {
  2153. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2154. }
  2155. }
  2156. },
  2157. "500": {
  2158. "description": "Internal Server Error",
  2159. "schema": {
  2160. "$ref": "#/definitions/app.Response"
  2161. }
  2162. }
  2163. }
  2164. }
  2165. },
  2166. "/Ermcp/QueryAvaildGoodsGroup": {
  2167. "get": {
  2168. "security": [
  2169. {
  2170. "ApiKeyAuth": []
  2171. }
  2172. ],
  2173. "produces": [
  2174. "application/json"
  2175. ],
  2176. "tags": [
  2177. "企业风险管理(app)"
  2178. ],
  2179. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2180. "parameters": [
  2181. {
  2182. "type": "integer",
  2183. "description": "所属机构ID",
  2184. "name": "userid",
  2185. "in": "query",
  2186. "required": true
  2187. }
  2188. ],
  2189. "responses": {
  2190. "200": {
  2191. "description": "OK",
  2192. "schema": {
  2193. "type": "array",
  2194. "items": {
  2195. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2196. }
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryBusinessDj": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "用户ID",
  2226. "name": "UserId",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "string",
  2232. "description": "现货合同ID, 不填则查所有",
  2233. "name": "relatedid",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "string",
  2238. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2239. "name": "applystatus",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "type": "array",
  2248. "items": {
  2249. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2250. }
  2251. }
  2252. },
  2253. "500": {
  2254. "description": "Internal Server Error",
  2255. "schema": {
  2256. "$ref": "#/definitions/app.Response"
  2257. }
  2258. }
  2259. }
  2260. }
  2261. },
  2262. "/Ermcp/QueryBusinessFp": {
  2263. "get": {
  2264. "security": [
  2265. {
  2266. "ApiKeyAuth": []
  2267. }
  2268. ],
  2269. "produces": [
  2270. "application/json"
  2271. ],
  2272. "tags": [
  2273. "企业风险管理(app)"
  2274. ],
  2275. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2276. "parameters": [
  2277. {
  2278. "type": "integer",
  2279. "description": "用户ID",
  2280. "name": "UserId",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "string",
  2286. "description": "现货合同ID, 不填则查所有",
  2287. "name": "relatedid",
  2288. "in": "query"
  2289. },
  2290. {
  2291. "type": "string",
  2292. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2293. "name": "applystatus",
  2294. "in": "query"
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryBusinessJs": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "用户ID",
  2334. "name": "UserId",
  2335. "in": "query",
  2336. "required": true
  2337. },
  2338. {
  2339. "type": "string",
  2340. "description": "现货合同ID, 不填则查所有",
  2341. "name": "relatedid",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "string",
  2346. "description": "操作申请id",
  2347. "name": "operateapplyid",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2353. "name": "applystatus",
  2354. "in": "query"
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "type": "array",
  2362. "items": {
  2363. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2364. }
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/Ermcp/QueryBusinessJsEx": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "企业风险管理(app)"
  2388. ],
  2389. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "用户ID",
  2394. "name": "UserId",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "string",
  2400. "description": "现货合同ID, 不填则查所有",
  2401. "name": "relatedid",
  2402. "in": "query"
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2407. "name": "applystatus",
  2408. "in": "query"
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryBusinessKx": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "用户ID",
  2448. "name": "UserId",
  2449. "in": "query",
  2450. "required": true
  2451. },
  2452. {
  2453. "type": "string",
  2454. "description": "现货合同ID, 不填则查所有",
  2455. "name": "relatedid",
  2456. "in": "query"
  2457. },
  2458. {
  2459. "type": "string",
  2460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2461. "name": "applystatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Ermcp/QueryChangeLog": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "企业风险管理(app)"
  2496. ],
  2497. "summary": "查询变更记录",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "合同ID",
  2502. "name": "RelatedId",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryContract": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询合同(采购和销售)",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userId",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "合同类型 1-采购, -1-销售",
  2551. "name": "contracttype",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2558. "name": "querytype",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "string",
  2564. "description": "合同ID(SpotContractId)",
  2565. "name": "contractid",
  2566. "in": "query"
  2567. }
  2568. ],
  2569. "responses": {
  2570. "200": {
  2571. "description": "OK",
  2572. "schema": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2576. }
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryErmcpHisOrderDetails": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "获取企业风管期货历史委托单信息",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "资金账户ID",
  2606. "name": "accountID",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "string",
  2612. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2613. "name": "startDate",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "string",
  2618. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2619. "name": "endDate",
  2620. "in": "query"
  2621. }
  2622. ],
  2623. "responses": {
  2624. "200": {
  2625. "description": "OK",
  2626. "schema": {
  2627. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2628. }
  2629. },
  2630. "500": {
  2631. "description": "Internal Server Error",
  2632. "schema": {
  2633. "$ref": "#/definitions/app.Response"
  2634. }
  2635. }
  2636. }
  2637. }
  2638. },
  2639. "/Ermcp/QueryErmcpHisTradeDetails": {
  2640. "get": {
  2641. "security": [
  2642. {
  2643. "ApiKeyAuth": []
  2644. }
  2645. ],
  2646. "produces": [
  2647. "application/json"
  2648. ],
  2649. "tags": [
  2650. "企业风险管理(app)"
  2651. ],
  2652. "summary": "获取企业风管期货历史成交单信息",
  2653. "parameters": [
  2654. {
  2655. "type": "integer",
  2656. "description": "资金账户ID",
  2657. "name": "accountID",
  2658. "in": "query",
  2659. "required": true
  2660. },
  2661. {
  2662. "type": "integer",
  2663. "description": "商品ID",
  2664. "name": "goodsID",
  2665. "in": "query"
  2666. },
  2667. {
  2668. "type": "integer",
  2669. "description": "买卖方向,0:买 1:卖",
  2670. "name": "buyOrSell",
  2671. "in": "query"
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "关联委托单号",
  2676. "name": "orderID",
  2677. "in": "query"
  2678. },
  2679. {
  2680. "type": "string",
  2681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2682. "name": "startDate",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "string",
  2687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2688. "name": "endDate",
  2689. "in": "query"
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2697. }
  2698. },
  2699. "500": {
  2700. "description": "Internal Server Error",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2709. "get": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "produces": [
  2716. "application/json"
  2717. ],
  2718. "tags": [
  2719. "企业风险管理(app)"
  2720. ],
  2721. "summary": "获取企业风管期货内部持仓单信息",
  2722. "parameters": [
  2723. {
  2724. "type": "integer",
  2725. "description": "资金账户ID",
  2726. "name": "accountID",
  2727. "in": "query",
  2728. "required": true
  2729. },
  2730. {
  2731. "type": "integer",
  2732. "description": "商品ID",
  2733. "name": "goodsID",
  2734. "in": "query"
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "买卖方向,0:买 1:卖",
  2739. "name": "buyOrSell",
  2740. "in": "query"
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpOrderDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货委托单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Ermcp/QueryErmcpTradeDetails": {
  2799. "get": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "企业风险管理(app)"
  2810. ],
  2811. "summary": "获取企业风管期货成交单信息",
  2812. "parameters": [
  2813. {
  2814. "type": "integer",
  2815. "description": "资金账户ID",
  2816. "name": "accountID",
  2817. "in": "query",
  2818. "required": true
  2819. },
  2820. {
  2821. "type": "integer",
  2822. "description": "商品ID",
  2823. "name": "goodsID",
  2824. "in": "query"
  2825. },
  2826. {
  2827. "type": "integer",
  2828. "description": "买卖方向,0:买 1:卖",
  2829. "name": "buyOrSell",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "关联委托单号",
  2835. "name": "orderID",
  2836. "in": "query"
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryErmcpTradePosition": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "获取企业风管期货持仓头寸信息",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "资金账户ID",
  2874. "name": "accountID",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "所属市场ID",
  2881. "name": "marketID",
  2882. "in": "query"
  2883. }
  2884. ],
  2885. "responses": {
  2886. "200": {
  2887. "description": "OK",
  2888. "schema": {
  2889. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2890. }
  2891. },
  2892. "500": {
  2893. "description": "Internal Server Error",
  2894. "schema": {
  2895. "$ref": "#/definitions/app.Response"
  2896. }
  2897. }
  2898. }
  2899. }
  2900. },
  2901. "/Ermcp/QueryExposureDetail": {
  2902. "get": {
  2903. "security": [
  2904. {
  2905. "ApiKeyAuth": []
  2906. }
  2907. ],
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "企业风险管理(app)"
  2913. ],
  2914. "summary": "查询敞口现货明细",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "所属机构ID",
  2919. "name": "areaUserId",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "套保商品",
  2926. "name": "middleGoodsId",
  2927. "in": "query",
  2928. "required": true
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryExposureHedgePosition": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构ID",
  2968. "name": "areaUserId",
  2969. "in": "query",
  2970. "required": true
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "type": "array",
  2978. "items": {
  2979. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2980. }
  2981. }
  2982. },
  2983. "500": {
  2984. "description": "Internal Server Error",
  2985. "schema": {
  2986. "$ref": "#/definitions/app.Response"
  2987. }
  2988. }
  2989. }
  2990. }
  2991. },
  2992. "/Ermcp/QueryExposureHedgePositionDetail": {
  2993. "get": {
  2994. "security": [
  2995. {
  2996. "ApiKeyAuth": []
  2997. }
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "企业风险管理(app)"
  3004. ],
  3005. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3006. "parameters": [
  3007. {
  3008. "type": "integer",
  3009. "description": "所属机构ID",
  3010. "name": "areaUserId",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "商品id",
  3017. "name": "goodsId",
  3018. "in": "query",
  3019. "required": true
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp/QueryExposureSpot": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理(app)"
  3053. ],
  3054. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "所属机构ID",
  3059. "name": "areaUserId",
  3060. "in": "query",
  3061. "required": true
  3062. }
  3063. ],
  3064. "responses": {
  3065. "200": {
  3066. "description": "OK",
  3067. "schema": {
  3068. "type": "array",
  3069. "items": {
  3070. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3071. }
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/Ermcp/QueryExposureSpotDetail": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "produces": [
  3091. "application/json"
  3092. ],
  3093. "tags": [
  3094. "企业风险管理(app)"
  3095. ],
  3096. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3097. "parameters": [
  3098. {
  3099. "type": "integer",
  3100. "description": "所属机构ID",
  3101. "name": "areaUserId",
  3102. "in": "query",
  3103. "required": true
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "现货品种ID",
  3108. "name": "wrstandardId",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "type": "array",
  3118. "items": {
  3119. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3120. }
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/Ermcp/QueryFuturesCompany": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "produces": [
  3140. "application/json"
  3141. ],
  3142. "tags": [
  3143. "企业风险管理(app)"
  3144. ],
  3145. "summary": "查询期货公司",
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp/QueryGGConvertConfig": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理(app)"
  3177. ],
  3178. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "品种id(不填则查所有)",
  3183. "name": "goodsgroupid",
  3184. "in": "query"
  3185. }
  3186. ],
  3187. "responses": {
  3188. "200": {
  3189. "description": "OK",
  3190. "schema": {
  3191. "type": "array",
  3192. "items": {
  3193. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3194. }
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/Ermcp/QueryGoodsBrand": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "企业风险管理(app)"
  3218. ],
  3219. "summary": "查询商品品牌",
  3220. "parameters": [
  3221. {
  3222. "type": "integer",
  3223. "description": "用户ID",
  3224. "name": "userid",
  3225. "in": "query",
  3226. "required": true
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "现货商品ID",
  3231. "name": "wrstandardid",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "type": "array",
  3240. "items": {
  3241. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3242. }
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/app.Response"
  3249. }
  3250. }
  3251. }
  3252. }
  3253. },
  3254. "/Ermcp/QueryGoodsModel": {
  3255. "get": {
  3256. "security": [
  3257. {
  3258. "ApiKeyAuth": []
  3259. }
  3260. ],
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "企业风险管理(app)"
  3266. ],
  3267. "summary": "查询商品型号",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "用户ID",
  3272. "name": "userid",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "type": "array",
  3282. "items": {
  3283. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3284. }
  3285. }
  3286. },
  3287. "500": {
  3288. "description": "Internal Server Error",
  3289. "schema": {
  3290. "$ref": "#/definitions/app.Response"
  3291. }
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/Ermcp/QueryHedgePlan": {
  3297. "get": {
  3298. "security": [
  3299. {
  3300. "ApiKeyAuth": []
  3301. }
  3302. ],
  3303. "produces": [
  3304. "application/json"
  3305. ],
  3306. "tags": [
  3307. "企业风险管理(app)"
  3308. ],
  3309. "summary": "查询套保计划",
  3310. "parameters": [
  3311. {
  3312. "type": "integer",
  3313. "description": "用户ID",
  3314. "name": "userId",
  3315. "in": "query",
  3316. "required": true
  3317. },
  3318. {
  3319. "type": "string",
  3320. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3321. "name": "HedgePlanStatus",
  3322. "in": "query",
  3323. "required": true
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "type": "array",
  3331. "items": {
  3332. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3333. }
  3334. }
  3335. },
  3336. "500": {
  3337. "description": "Internal Server Error",
  3338. "schema": {
  3339. "$ref": "#/definitions/app.Response"
  3340. }
  3341. }
  3342. }
  3343. }
  3344. },
  3345. "/Ermcp/QueryHisExposure": {
  3346. "get": {
  3347. "security": [
  3348. {
  3349. "ApiKeyAuth": []
  3350. }
  3351. ],
  3352. "produces": [
  3353. "application/json"
  3354. ],
  3355. "tags": [
  3356. "企业风险管理(app)"
  3357. ],
  3358. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3359. "parameters": [
  3360. {
  3361. "type": "integer",
  3362. "description": "所属机构ID",
  3363. "name": "areaUserId",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "每个品种记录数",
  3370. "name": "lastNum",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Ermcp/QueryMiddleGoods": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "企业风险管理(app)"
  3406. ],
  3407. "summary": "查询套保品种(菜单:套保品种)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "所属机构ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "状态 0-停用 1-正常",
  3419. "name": "status",
  3420. "in": "query",
  3421. "required": true
  3422. }
  3423. ],
  3424. "responses": {
  3425. "200": {
  3426. "description": "OK",
  3427. "schema": {
  3428. "type": "array",
  3429. "items": {
  3430. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3431. }
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3444. "get": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "企业风险管理(app)"
  3455. ],
  3456. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3457. "parameters": [
  3458. {
  3459. "type": "integer",
  3460. "description": "所属机构ID",
  3461. "name": "userid",
  3462. "in": "query",
  3463. "required": true
  3464. },
  3465. {
  3466. "type": "integer",
  3467. "description": "套保品种id",
  3468. "name": "middlegoodsid",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "type": "array",
  3478. "items": {
  3479. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3480. }
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Ermcp/QueryMiddleGoodsDetail": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "企业风险管理(app)"
  3504. ],
  3505. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3506. "parameters": [
  3507. {
  3508. "type": "integer",
  3509. "description": "所属机构ID",
  3510. "name": "userid",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "套保品种id",
  3517. "name": "middlegoodsid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp/QueryPendingAuditInfo": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理(app)"
  3552. ],
  3553. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "UserId",
  3559. "in": "query",
  3560. "required": true
  3561. }
  3562. ],
  3563. "responses": {
  3564. "200": {
  3565. "description": "OK",
  3566. "schema": {
  3567. "type": "array",
  3568. "items": {
  3569. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3570. }
  3571. }
  3572. },
  3573. "500": {
  3574. "description": "Internal Server Error",
  3575. "schema": {
  3576. "$ref": "#/definitions/app.Response"
  3577. }
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "/Ermcp/QueryRealtimeExposure": {
  3583. "get": {
  3584. "security": [
  3585. {
  3586. "ApiKeyAuth": []
  3587. }
  3588. ],
  3589. "produces": [
  3590. "application/json"
  3591. ],
  3592. "tags": [
  3593. "企业风险管理(app)"
  3594. ],
  3595. "summary": "查询实时敞口",
  3596. "parameters": [
  3597. {
  3598. "type": "integer",
  3599. "description": "所属机构ID",
  3600. "name": "AreaUserID",
  3601. "in": "query",
  3602. "required": true
  3603. }
  3604. ],
  3605. "responses": {
  3606. "200": {
  3607. "description": "OK",
  3608. "schema": {
  3609. "type": "array",
  3610. "items": {
  3611. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3612. }
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/app.Response"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/Ermcp/QueryRealtimeExposurePosition": {
  3625. "get": {
  3626. "security": [
  3627. {
  3628. "ApiKeyAuth": []
  3629. }
  3630. ],
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "企业风险管理(app)"
  3636. ],
  3637. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3638. "parameters": [
  3639. {
  3640. "type": "integer",
  3641. "description": "所属机构ID",
  3642. "name": "areaUserId",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "套保商品ID",
  3649. "name": "middleGoodsId",
  3650. "in": "query",
  3651. "required": true
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "type": "array",
  3659. "items": {
  3660. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3661. }
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Ermcp/QuerySpotContract": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "企业风险管理(app)"
  3685. ],
  3686. "summary": "查询现货合同(对应现货合同菜单)",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "用户ID",
  3691. "name": "userId",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3698. "name": "QueryType",
  3699. "in": "query",
  3700. "required": true
  3701. }
  3702. ],
  3703. "responses": {
  3704. "200": {
  3705. "description": "OK",
  3706. "schema": {
  3707. "type": "array",
  3708. "items": {
  3709. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3710. }
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Ermcp/QuerySpotGoodsPrice": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "企业风险管理(app)"
  3734. ],
  3735. "summary": "查询现货市价(现货市价)",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "用户ID",
  3740. "name": "userid",
  3741. "in": "query",
  3742. "required": true
  3743. }
  3744. ],
  3745. "responses": {
  3746. "200": {
  3747. "description": "OK",
  3748. "schema": {
  3749. "type": "array",
  3750. "items": {
  3751. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3752. }
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/Ermcp/QuerySpotGoodsPriceLog": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "企业风险管理(app)"
  3776. ],
  3777. "summary": "查询现货市价详情(现货市价/详情)",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "用户ID",
  3782. "name": "userid",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "integer",
  3788. "description": "现货商品ID",
  3789. "name": "wrstandardid",
  3790. "in": "query",
  3791. "required": true
  3792. }
  3793. ],
  3794. "responses": {
  3795. "200": {
  3796. "description": "OK",
  3797. "schema": {
  3798. "type": "array",
  3799. "items": {
  3800. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3801. }
  3802. }
  3803. },
  3804. "500": {
  3805. "description": "Internal Server Error",
  3806. "schema": {
  3807. "$ref": "#/definitions/app.Response"
  3808. }
  3809. }
  3810. }
  3811. }
  3812. },
  3813. "/Ermcp/QueryTradeConfigTMP": {
  3814. "get": {
  3815. "security": [
  3816. {
  3817. "ApiKeyAuth": []
  3818. }
  3819. ],
  3820. "produces": [
  3821. "application/json"
  3822. ],
  3823. "tags": [
  3824. "企业风险管理(app)"
  3825. ],
  3826. "summary": "查询交易模板配置",
  3827. "parameters": [
  3828. {
  3829. "type": "integer",
  3830. "description": "所属机构id, 现在表里id都为1, 不填默认查arearuserid=1的",
  3831. "name": "areauserid",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp/QueryUserInfo": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理(app)"
  3866. ],
  3867. "summary": "查询客户资料",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "所属机构用户ID",
  3872. "name": "MemberUserID",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3879. "name": "queryType",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp/QueryWarehouseInfo": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理(app)"
  3915. ],
  3916. "summary": "查询仓库信息",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户ID",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3928. "name": "status",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp/QueryWrStandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理(app)"
  3963. ],
  3964. "summary": "查询现货商品",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "所属机构ID",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "状态 0-停用 1-正常",
  3976. "name": "status",
  3977. "in": "query",
  3978. "required": true
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp/QueryWrStandardDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理(app)"
  4012. ],
  4013. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "所属机构ID",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "现货商品ID",
  4025. "name": "wrstandardid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "可不填, 1-查询关联交易商品",
  4031. "name": "goods",
  4032. "in": "query"
  4033. }
  4034. ],
  4035. "responses": {
  4036. "200": {
  4037. "description": "OK",
  4038. "schema": {
  4039. "type": "array",
  4040. "items": {
  4041. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4042. }
  4043. }
  4044. },
  4045. "500": {
  4046. "description": "Internal Server Error",
  4047. "schema": {
  4048. "$ref": "#/definitions/app.Response"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "/Ermcp3/QryReportAreaSpotPL": {
  4055. "get": {
  4056. "security": [
  4057. {
  4058. "ApiKeyAuth": []
  4059. }
  4060. ],
  4061. "produces": [
  4062. "application/json"
  4063. ],
  4064. "tags": [
  4065. "企业风险管理v3(app)"
  4066. ],
  4067. "summary": "查询现货损益报表(现货损益报表)",
  4068. "parameters": [
  4069. {
  4070. "type": "integer",
  4071. "description": "用户ID",
  4072. "name": "userid",
  4073. "in": "query",
  4074. "required": true
  4075. },
  4076. {
  4077. "type": "integer",
  4078. "description": "查询类型 1-日报表 2-月报表",
  4079. "name": "querytype",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "string",
  4085. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4086. "name": "querydate",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "现货商品ID",
  4093. "name": "deliverygoodsid",
  4094. "in": "query"
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "品牌ID",
  4099. "name": "spotgoodsbrandid",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "品类ID",
  4105. "name": "wrstandardid",
  4106. "in": "query"
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "type": "array",
  4114. "items": {
  4115. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4116. }
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/Ermcp3/QryReportDayFinanceFp": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "企业风险管理v3(app)"
  4140. ],
  4141. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4142. "parameters": [
  4143. {
  4144. "type": "integer",
  4145. "description": "用户ID",
  4146. "name": "userid",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "交易日(格式:yyyyMMdd)",
  4153. "name": "tradedate",
  4154. "in": "query",
  4155. "required": true
  4156. }
  4157. ],
  4158. "responses": {
  4159. "200": {
  4160. "description": "OK",
  4161. "schema": {
  4162. "type": "array",
  4163. "items": {
  4164. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4165. }
  4166. }
  4167. },
  4168. "500": {
  4169. "description": "Internal Server Error",
  4170. "schema": {
  4171. "$ref": "#/definitions/app.Response"
  4172. }
  4173. }
  4174. }
  4175. }
  4176. },
  4177. "/Ermcp3/QryReportDayFinanceKx": {
  4178. "get": {
  4179. "security": [
  4180. {
  4181. "ApiKeyAuth": []
  4182. }
  4183. ],
  4184. "produces": [
  4185. "application/json"
  4186. ],
  4187. "tags": [
  4188. "企业风险管理v3(app)"
  4189. ],
  4190. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4191. "parameters": [
  4192. {
  4193. "type": "integer",
  4194. "description": "用户ID",
  4195. "name": "userid",
  4196. "in": "query",
  4197. "required": true
  4198. },
  4199. {
  4200. "type": "string",
  4201. "description": "交易日(格式:yyyyMMdd)",
  4202. "name": "tradedate",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QryReportDaySpot": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "用户ID",
  4244. "name": "userid",
  4245. "in": "query",
  4246. "required": true
  4247. },
  4248. {
  4249. "type": "string",
  4250. "description": "交易日(格式:yyyyMMdd)",
  4251. "name": "tradedate",
  4252. "in": "query",
  4253. "required": true
  4254. }
  4255. ],
  4256. "responses": {
  4257. "200": {
  4258. "description": "OK",
  4259. "schema": {
  4260. "type": "array",
  4261. "items": {
  4262. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4263. }
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/Ermcp3/QryReportDaySpotDetail": {
  4276. "get": {
  4277. "security": [
  4278. {
  4279. "ApiKeyAuth": []
  4280. }
  4281. ],
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "企业风险管理v3(app)"
  4287. ],
  4288. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4289. "parameters": [
  4290. {
  4291. "type": "integer",
  4292. "description": "用户ID",
  4293. "name": "userid",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "integer",
  4299. "description": "现货商品id",
  4300. "name": "deliverygoodsid",
  4301. "in": "query",
  4302. "required": true
  4303. },
  4304. {
  4305. "type": "string",
  4306. "description": "交易日(格式:yyyyMMdd)",
  4307. "name": "tradedate",
  4308. "in": "query",
  4309. "required": true
  4310. }
  4311. ],
  4312. "responses": {
  4313. "200": {
  4314. "description": "OK",
  4315. "schema": {
  4316. "type": "array",
  4317. "items": {
  4318. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4319. }
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Ermcp3/QryReportMonthSpot": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "企业风险管理v3(app)"
  4343. ],
  4344. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4345. "parameters": [
  4346. {
  4347. "type": "integer",
  4348. "description": "用户ID",
  4349. "name": "userid",
  4350. "in": "query",
  4351. "required": true
  4352. },
  4353. {
  4354. "type": "string",
  4355. "description": "周期时间:月(格式:yyyyMM)",
  4356. "name": "cycletime",
  4357. "in": "query",
  4358. "required": true
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QryReportMonthSpotDetail": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "produces": [
  4388. "application/json"
  4389. ],
  4390. "tags": [
  4391. "企业风险管理v3(app)"
  4392. ],
  4393. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4394. "parameters": [
  4395. {
  4396. "type": "integer",
  4397. "description": "用户ID",
  4398. "name": "userid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "现货商品id",
  4405. "name": "deliverygoodsid",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "string",
  4411. "description": "周期时间:月(格式:yyyyMM)",
  4412. "name": "cycletime",
  4413. "in": "query",
  4414. "required": true
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "type": "array",
  4422. "items": {
  4423. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4424. }
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/Ermcp3/QueryAreaStockApply": {
  4437. "get": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "企业风险管理v3(app)"
  4448. ],
  4449. "summary": "查询库存申请(出入库记录|库存审核)",
  4450. "parameters": [
  4451. {
  4452. "type": "integer",
  4453. "description": "用户ID",
  4454. "name": "userid",
  4455. "in": "query",
  4456. "required": true
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "现货商品ID",
  4461. "name": "deliverygoodsid",
  4462. "in": "query"
  4463. },
  4464. {
  4465. "type": "string",
  4466. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4467. "name": "inouttype",
  4468. "in": "query"
  4469. },
  4470. {
  4471. "type": "integer",
  4472. "description": "合同ID",
  4473. "name": "spotcontractid",
  4474. "in": "query"
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "品类ID",
  4479. "name": "wrstandardid",
  4480. "in": "query"
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "品牌ID",
  4485. "name": "spotgoodsbrandid",
  4486. "in": "query"
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "仓库ID",
  4491. "name": "warehouseinfoid",
  4492. "in": "query"
  4493. },
  4494. {
  4495. "type": "string",
  4496. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4497. "name": "applystatus",
  4498. "in": "query"
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QueryAreaStockApplySum": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "合同ID",
  4538. "name": "spotcontractid",
  4539. "in": "query"
  4540. }
  4541. ],
  4542. "responses": {
  4543. "200": {
  4544. "description": "OK",
  4545. "schema": {
  4546. "type": "array",
  4547. "items": {
  4548. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4549. }
  4550. }
  4551. },
  4552. "500": {
  4553. "description": "Internal Server Error",
  4554. "schema": {
  4555. "$ref": "#/definitions/app.Response"
  4556. }
  4557. }
  4558. }
  4559. }
  4560. },
  4561. "/Ermcp3/QueryAreaStockReport": {
  4562. "get": {
  4563. "security": [
  4564. {
  4565. "ApiKeyAuth": []
  4566. }
  4567. ],
  4568. "produces": [
  4569. "application/json"
  4570. ],
  4571. "tags": [
  4572. "企业风险管理v3(app)"
  4573. ],
  4574. "summary": "查询库存报表",
  4575. "parameters": [
  4576. {
  4577. "type": "integer",
  4578. "description": "用户ID",
  4579. "name": "userid",
  4580. "in": "query",
  4581. "required": true
  4582. },
  4583. {
  4584. "type": "integer",
  4585. "description": "查询类型 1-日报表 2-月报表",
  4586. "name": "querytype",
  4587. "in": "query",
  4588. "required": true
  4589. },
  4590. {
  4591. "type": "string",
  4592. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4593. "name": "querydate",
  4594. "in": "query",
  4595. "required": true
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "现货商品ID",
  4600. "name": "deliverygoodsid",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "品类ID",
  4606. "name": "wrstandardid",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "品牌ID",
  4612. "name": "spotgoodsbrandid",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "仓库ID",
  4618. "name": "warehouseinfoid",
  4619. "in": "query"
  4620. }
  4621. ],
  4622. "responses": {
  4623. "200": {
  4624. "description": "OK",
  4625. "schema": {
  4626. "type": "array",
  4627. "items": {
  4628. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4629. }
  4630. }
  4631. },
  4632. "500": {
  4633. "description": "Internal Server Error",
  4634. "schema": {
  4635. "$ref": "#/definitions/app.Response"
  4636. }
  4637. }
  4638. }
  4639. }
  4640. },
  4641. "/Ermcp3/QueryAreaStockReportDetail": {
  4642. "get": {
  4643. "security": [
  4644. {
  4645. "ApiKeyAuth": []
  4646. }
  4647. ],
  4648. "produces": [
  4649. "application/json"
  4650. ],
  4651. "tags": [
  4652. "企业风险管理v3(app)"
  4653. ],
  4654. "summary": "查询库存报表明细",
  4655. "parameters": [
  4656. {
  4657. "type": "integer",
  4658. "description": "用户ID",
  4659. "name": "userid",
  4660. "in": "query",
  4661. "required": true
  4662. },
  4663. {
  4664. "type": "integer",
  4665. "description": "查询类型 1-日报表明细 2-月报表明细",
  4666. "name": "querytype",
  4667. "in": "query",
  4668. "required": true
  4669. },
  4670. {
  4671. "type": "integer",
  4672. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4673. "name": "detailtype",
  4674. "in": "query",
  4675. "required": true
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4680. "name": "querydate",
  4681. "in": "query",
  4682. "required": true
  4683. },
  4684. {
  4685. "type": "integer",
  4686. "description": "现货商品ID",
  4687. "name": "deliverygoodsid",
  4688. "in": "query"
  4689. },
  4690. {
  4691. "type": "integer",
  4692. "description": "品类ID",
  4693. "name": "wrstandardid",
  4694. "in": "query"
  4695. },
  4696. {
  4697. "type": "integer",
  4698. "description": "品牌ID",
  4699. "name": "spotgoodsbrandid",
  4700. "in": "query"
  4701. },
  4702. {
  4703. "type": "integer",
  4704. "description": "仓库ID",
  4705. "name": "warehouseinfoid",
  4706. "in": "query"
  4707. }
  4708. ],
  4709. "responses": {
  4710. "200": {
  4711. "description": "OK",
  4712. "schema": {
  4713. "type": "array",
  4714. "items": {
  4715. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4716. }
  4717. }
  4718. },
  4719. "500": {
  4720. "description": "Internal Server Error",
  4721. "schema": {
  4722. "$ref": "#/definitions/app.Response"
  4723. }
  4724. }
  4725. }
  4726. }
  4727. },
  4728. "/Ermcp3/QueryDGFactoryItem": {
  4729. "get": {
  4730. "security": [
  4731. {
  4732. "ApiKeyAuth": []
  4733. }
  4734. ],
  4735. "produces": [
  4736. "application/json"
  4737. ],
  4738. "tags": [
  4739. "企业风险管理v3(app)"
  4740. ],
  4741. "summary": "查询品种要素定义项",
  4742. "parameters": [
  4743. {
  4744. "type": "integer",
  4745. "description": "所属机构ID",
  4746. "name": "areauserid",
  4747. "in": "query"
  4748. },
  4749. {
  4750. "type": "integer",
  4751. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4752. "name": "dgfactoryitemid",
  4753. "in": "query"
  4754. },
  4755. {
  4756. "type": "integer",
  4757. "description": "现货品种ID",
  4758. "name": "deliverygoodsid",
  4759. "in": "query"
  4760. },
  4761. {
  4762. "type": "integer",
  4763. "description": "要素项类型",
  4764. "name": "dgfactoryitemtypeid",
  4765. "in": "query"
  4766. },
  4767. {
  4768. "type": "integer",
  4769. "description": "顺序",
  4770. "name": "orderindex",
  4771. "in": "query"
  4772. }
  4773. ],
  4774. "responses": {
  4775. "200": {
  4776. "description": "OK",
  4777. "schema": {
  4778. "type": "array",
  4779. "items": {
  4780. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4781. }
  4782. }
  4783. },
  4784. "500": {
  4785. "description": "Internal Server Error",
  4786. "schema": {
  4787. "$ref": "#/definitions/app.Response"
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "/Ermcp3/QueryDeliveryGoods": {
  4794. "get": {
  4795. "security": [
  4796. {
  4797. "ApiKeyAuth": []
  4798. }
  4799. ],
  4800. "produces": [
  4801. "application/json"
  4802. ],
  4803. "tags": [
  4804. "企业风险管理v3(app)"
  4805. ],
  4806. "summary": "查询现货商品",
  4807. "parameters": [
  4808. {
  4809. "type": "integer",
  4810. "description": "所属机构id",
  4811. "name": "areauserid",
  4812. "in": "query",
  4813. "required": true
  4814. },
  4815. {
  4816. "type": "integer",
  4817. "description": "排除已配置的现货商品 1-排除",
  4818. "name": "excludecfg",
  4819. "in": "query"
  4820. }
  4821. ],
  4822. "responses": {
  4823. "200": {
  4824. "description": "OK",
  4825. "schema": {
  4826. "type": "array",
  4827. "items": {
  4828. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4829. }
  4830. }
  4831. },
  4832. "500": {
  4833. "description": "Internal Server Error",
  4834. "schema": {
  4835. "$ref": "#/definitions/app.Response"
  4836. }
  4837. }
  4838. }
  4839. }
  4840. },
  4841. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4842. "get": {
  4843. "security": [
  4844. {
  4845. "ApiKeyAuth": []
  4846. }
  4847. ],
  4848. "produces": [
  4849. "application/json"
  4850. ],
  4851. "tags": [
  4852. "企业风险管理v3(app)"
  4853. ],
  4854. "summary": "查询现货商品详情",
  4855. "parameters": [
  4856. {
  4857. "type": "integer",
  4858. "description": "所属机构id",
  4859. "name": "areauserid",
  4860. "in": "query",
  4861. "required": true
  4862. },
  4863. {
  4864. "type": "integer",
  4865. "description": "现货商品id",
  4866. "name": "deliverygoodsid",
  4867. "in": "query"
  4868. },
  4869. {
  4870. "type": "integer",
  4871. "description": "是否查询关联交易商品 1-查询",
  4872. "name": "qrytradegoods",
  4873. "in": "query"
  4874. }
  4875. ],
  4876. "responses": {
  4877. "200": {
  4878. "description": "OK",
  4879. "schema": {
  4880. "type": "array",
  4881. "items": {
  4882. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4883. }
  4884. }
  4885. },
  4886. "500": {
  4887. "description": "Internal Server Error",
  4888. "schema": {
  4889. "$ref": "#/definitions/app.Response"
  4890. }
  4891. }
  4892. }
  4893. }
  4894. },
  4895. "/Ermcp3/QueryExposureDetail": {
  4896. "get": {
  4897. "security": [
  4898. {
  4899. "ApiKeyAuth": []
  4900. }
  4901. ],
  4902. "produces": [
  4903. "application/json"
  4904. ],
  4905. "tags": [
  4906. "企业风险管理v3(app)"
  4907. ],
  4908. "summary": "查询敞口现货明细",
  4909. "parameters": [
  4910. {
  4911. "type": "integer",
  4912. "description": "所属机构ID",
  4913. "name": "areaUserId",
  4914. "in": "query",
  4915. "required": true
  4916. },
  4917. {
  4918. "type": "integer",
  4919. "description": "套保商品",
  4920. "name": "middleGoodsId",
  4921. "in": "query",
  4922. "required": true
  4923. }
  4924. ],
  4925. "responses": {
  4926. "200": {
  4927. "description": "OK",
  4928. "schema": {
  4929. "type": "array",
  4930. "items": {
  4931. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4932. }
  4933. }
  4934. },
  4935. "500": {
  4936. "description": "Internal Server Error",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. }
  4941. }
  4942. }
  4943. },
  4944. "/Ermcp3/QueryExposureSpot": {
  4945. "get": {
  4946. "security": [
  4947. {
  4948. "ApiKeyAuth": []
  4949. }
  4950. ],
  4951. "produces": [
  4952. "application/json"
  4953. ],
  4954. "tags": [
  4955. "企业风险管理v3(app)"
  4956. ],
  4957. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4958. "parameters": [
  4959. {
  4960. "type": "integer",
  4961. "description": "所属机构ID",
  4962. "name": "areaUserId",
  4963. "in": "query",
  4964. "required": true
  4965. }
  4966. ],
  4967. "responses": {
  4968. "200": {
  4969. "description": "OK",
  4970. "schema": {
  4971. "type": "array",
  4972. "items": {
  4973. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4974. }
  4975. }
  4976. },
  4977. "500": {
  4978. "description": "Internal Server Error",
  4979. "schema": {
  4980. "$ref": "#/definitions/app.Response"
  4981. }
  4982. }
  4983. }
  4984. }
  4985. },
  4986. "/Ermcp3/QueryExposureSpotDetail": {
  4987. "get": {
  4988. "security": [
  4989. {
  4990. "ApiKeyAuth": []
  4991. }
  4992. ],
  4993. "produces": [
  4994. "application/json"
  4995. ],
  4996. "tags": [
  4997. "企业风险管理v3(app)"
  4998. ],
  4999. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5000. "parameters": [
  5001. {
  5002. "type": "integer",
  5003. "description": "所属机构ID",
  5004. "name": "areauserid",
  5005. "in": "query",
  5006. "required": true
  5007. },
  5008. {
  5009. "type": "integer",
  5010. "description": "现货品种ID",
  5011. "name": "deliverygoodsid",
  5012. "in": "query",
  5013. "required": true
  5014. }
  5015. ],
  5016. "responses": {
  5017. "200": {
  5018. "description": "OK",
  5019. "schema": {
  5020. "type": "array",
  5021. "items": {
  5022. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5023. }
  5024. }
  5025. },
  5026. "500": {
  5027. "description": "Internal Server Error",
  5028. "schema": {
  5029. "$ref": "#/definitions/app.Response"
  5030. }
  5031. }
  5032. }
  5033. }
  5034. },
  5035. "/Ermcp3/QueryGoodsWrstandard": {
  5036. "get": {
  5037. "security": [
  5038. {
  5039. "ApiKeyAuth": []
  5040. }
  5041. ],
  5042. "produces": [
  5043. "application/json"
  5044. ],
  5045. "tags": [
  5046. "企业风险管理v3(app)"
  5047. ],
  5048. "summary": "查询商品品类",
  5049. "parameters": [
  5050. {
  5051. "type": "integer",
  5052. "description": "所属机构ID",
  5053. "name": "areauserid",
  5054. "in": "query",
  5055. "required": true
  5056. },
  5057. {
  5058. "type": "integer",
  5059. "description": "现货商品id",
  5060. "name": "deliverygoodsid",
  5061. "in": "query"
  5062. }
  5063. ],
  5064. "responses": {
  5065. "200": {
  5066. "description": "OK",
  5067. "schema": {
  5068. "type": "array",
  5069. "items": {
  5070. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5071. }
  5072. }
  5073. },
  5074. "500": {
  5075. "description": "Internal Server Error",
  5076. "schema": {
  5077. "$ref": "#/definitions/app.Response"
  5078. }
  5079. }
  5080. }
  5081. }
  5082. },
  5083. "/Ermcp3/QueryGoodsbrand": {
  5084. "get": {
  5085. "security": [
  5086. {
  5087. "ApiKeyAuth": []
  5088. }
  5089. ],
  5090. "produces": [
  5091. "application/json"
  5092. ],
  5093. "tags": [
  5094. "企业风险管理v3(app)"
  5095. ],
  5096. "summary": "查询商品品牌",
  5097. "parameters": [
  5098. {
  5099. "type": "integer",
  5100. "description": "所属机构ID",
  5101. "name": "areauserid",
  5102. "in": "query",
  5103. "required": true
  5104. }
  5105. ],
  5106. "responses": {
  5107. "200": {
  5108. "description": "OK",
  5109. "schema": {
  5110. "type": "array",
  5111. "items": {
  5112. "$ref": "#/definitions/models.Ermcp3Brand"
  5113. }
  5114. }
  5115. },
  5116. "500": {
  5117. "description": "Internal Server Error",
  5118. "schema": {
  5119. "$ref": "#/definitions/app.Response"
  5120. }
  5121. }
  5122. }
  5123. }
  5124. },
  5125. "/Ermcp3/QueryHedgePlan": {
  5126. "get": {
  5127. "security": [
  5128. {
  5129. "ApiKeyAuth": []
  5130. }
  5131. ],
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "企业风险管理v3(app)"
  5137. ],
  5138. "summary": "查询套保计划",
  5139. "parameters": [
  5140. {
  5141. "type": "integer",
  5142. "description": "用户ID",
  5143. "name": "userid",
  5144. "in": "query",
  5145. "required": true
  5146. },
  5147. {
  5148. "type": "string",
  5149. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5150. "name": "hedgeplanstatus",
  5151. "in": "query",
  5152. "required": true
  5153. }
  5154. ],
  5155. "responses": {
  5156. "200": {
  5157. "description": "OK",
  5158. "schema": {
  5159. "type": "array",
  5160. "items": {
  5161. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5162. }
  5163. }
  5164. },
  5165. "500": {
  5166. "description": "Internal Server Error",
  5167. "schema": {
  5168. "$ref": "#/definitions/app.Response"
  5169. }
  5170. }
  5171. }
  5172. }
  5173. },
  5174. "/Ermcp3/QuerySpotContract": {
  5175. "get": {
  5176. "security": [
  5177. {
  5178. "ApiKeyAuth": []
  5179. }
  5180. ],
  5181. "produces": [
  5182. "application/json"
  5183. ],
  5184. "tags": [
  5185. "企业风险管理v3(app)"
  5186. ],
  5187. "summary": "查询现货合同",
  5188. "parameters": [
  5189. {
  5190. "type": "integer",
  5191. "description": "所属机构ID",
  5192. "name": "areauserid",
  5193. "in": "query",
  5194. "required": true
  5195. },
  5196. {
  5197. "type": "integer",
  5198. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5199. "name": "querytype",
  5200. "in": "query",
  5201. "required": true
  5202. },
  5203. {
  5204. "type": "integer",
  5205. "description": "用户ID",
  5206. "name": "userid",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "用户类型 2-机构 7-企业成员",
  5212. "name": "usertype",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "合同ID(SpotContractId)",
  5218. "name": "contractid",
  5219. "in": "query"
  5220. }
  5221. ],
  5222. "responses": {
  5223. "200": {
  5224. "description": "OK",
  5225. "schema": {
  5226. "type": "array",
  5227. "items": {
  5228. "$ref": "#/definitions/models.Ermcp3Contract"
  5229. }
  5230. }
  5231. },
  5232. "500": {
  5233. "description": "Internal Server Error",
  5234. "schema": {
  5235. "$ref": "#/definitions/app.Response"
  5236. }
  5237. }
  5238. }
  5239. }
  5240. },
  5241. "/Ermcp3/QuerySpotContractBS": {
  5242. "get": {
  5243. "security": [
  5244. {
  5245. "ApiKeyAuth": []
  5246. }
  5247. ],
  5248. "produces": [
  5249. "application/json"
  5250. ],
  5251. "tags": [
  5252. "企业风险管理v3(app)"
  5253. ],
  5254. "summary": "查询合同(采购/销售)",
  5255. "parameters": [
  5256. {
  5257. "type": "integer",
  5258. "description": "所属机构ID",
  5259. "name": "areauserid",
  5260. "in": "query",
  5261. "required": true
  5262. },
  5263. {
  5264. "type": "integer",
  5265. "description": "合同类型 1-采购, -1-销售",
  5266. "name": "contracttype",
  5267. "in": "query",
  5268. "required": true
  5269. },
  5270. {
  5271. "type": "integer",
  5272. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5273. "name": "querytype",
  5274. "in": "query",
  5275. "required": true
  5276. },
  5277. {
  5278. "type": "integer",
  5279. "description": "用户ID",
  5280. "name": "userid",
  5281. "in": "query"
  5282. },
  5283. {
  5284. "type": "integer",
  5285. "description": "用户类型 2-机构 7-企业成员",
  5286. "name": "usertype",
  5287. "in": "query"
  5288. },
  5289. {
  5290. "type": "string",
  5291. "description": "合同ID(SpotContractId)",
  5292. "name": "contractid",
  5293. "in": "query"
  5294. }
  5295. ],
  5296. "responses": {
  5297. "200": {
  5298. "description": "OK",
  5299. "schema": {
  5300. "type": "array",
  5301. "items": {
  5302. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5303. }
  5304. }
  5305. },
  5306. "500": {
  5307. "description": "Internal Server Error",
  5308. "schema": {
  5309. "$ref": "#/definitions/app.Response"
  5310. }
  5311. }
  5312. }
  5313. }
  5314. },
  5315. "/Ermcp3/QuerySpotGoodsPrice": {
  5316. "get": {
  5317. "security": [
  5318. {
  5319. "ApiKeyAuth": []
  5320. }
  5321. ],
  5322. "produces": [
  5323. "application/json"
  5324. ],
  5325. "tags": [
  5326. "企业风险管理v3(app)"
  5327. ],
  5328. "summary": "查询现货市价(现货市价)",
  5329. "parameters": [
  5330. {
  5331. "type": "integer",
  5332. "description": "用户ID",
  5333. "name": "userid",
  5334. "in": "query",
  5335. "required": true
  5336. }
  5337. ],
  5338. "responses": {
  5339. "200": {
  5340. "description": "OK",
  5341. "schema": {
  5342. "type": "array",
  5343. "items": {
  5344. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5345. }
  5346. }
  5347. },
  5348. "500": {
  5349. "description": "Internal Server Error",
  5350. "schema": {
  5351. "$ref": "#/definitions/app.Response"
  5352. }
  5353. }
  5354. }
  5355. }
  5356. },
  5357. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5358. "get": {
  5359. "security": [
  5360. {
  5361. "ApiKeyAuth": []
  5362. }
  5363. ],
  5364. "produces": [
  5365. "application/json"
  5366. ],
  5367. "tags": [
  5368. "企业风险管理v3(app)"
  5369. ],
  5370. "summary": "查询现货市价详情(现货市价/详情)",
  5371. "parameters": [
  5372. {
  5373. "type": "integer",
  5374. "description": "用户ID",
  5375. "name": "userid",
  5376. "in": "query",
  5377. "required": true
  5378. },
  5379. {
  5380. "type": "integer",
  5381. "description": "现货商品ID",
  5382. "name": "deliverygoodsid",
  5383. "in": "query",
  5384. "required": true
  5385. }
  5386. ],
  5387. "responses": {
  5388. "200": {
  5389. "description": "OK",
  5390. "schema": {
  5391. "type": "array",
  5392. "items": {
  5393. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5394. }
  5395. }
  5396. },
  5397. "500": {
  5398. "description": "Internal Server Error",
  5399. "schema": {
  5400. "$ref": "#/definitions/app.Response"
  5401. }
  5402. }
  5403. }
  5404. }
  5405. },
  5406. "/Erms2/QueryArbitrageStrategy": {
  5407. "get": {
  5408. "security": [
  5409. {
  5410. "ApiKeyAuth": []
  5411. }
  5412. ],
  5413. "produces": [
  5414. "application/json"
  5415. ],
  5416. "tags": [
  5417. "风险管理"
  5418. ],
  5419. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5420. "parameters": [
  5421. {
  5422. "type": "integer",
  5423. "description": "账户ID",
  5424. "name": "userid",
  5425. "in": "query",
  5426. "required": true
  5427. },
  5428. {
  5429. "type": "string",
  5430. "description": "商品组ID(品种ID)",
  5431. "name": "goodsgroupid",
  5432. "in": "query"
  5433. }
  5434. ],
  5435. "responses": {
  5436. "200": {
  5437. "description": "OK",
  5438. "schema": {
  5439. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5440. }
  5441. },
  5442. "500": {
  5443. "description": "Internal Server Error",
  5444. "schema": {
  5445. "$ref": "#/definitions/app.Response"
  5446. }
  5447. }
  5448. }
  5449. }
  5450. },
  5451. "/Erms2/QueryInnerTradeDetail": {
  5452. "get": {
  5453. "security": [
  5454. {
  5455. "ApiKeyAuth": []
  5456. }
  5457. ],
  5458. "produces": [
  5459. "application/json"
  5460. ],
  5461. "tags": [
  5462. "风险管理"
  5463. ],
  5464. "summary": "查询内部成交单信息",
  5465. "parameters": [
  5466. {
  5467. "type": "integer",
  5468. "description": "资金账户",
  5469. "name": "accountid",
  5470. "in": "query",
  5471. "required": true
  5472. }
  5473. ],
  5474. "responses": {
  5475. "200": {
  5476. "description": "OK",
  5477. "schema": {
  5478. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5479. }
  5480. },
  5481. "500": {
  5482. "description": "Internal Server Error",
  5483. "schema": {
  5484. "$ref": "#/definitions/app.Response"
  5485. }
  5486. }
  5487. }
  5488. }
  5489. },
  5490. "/Erms2/QuerySpotContract": {
  5491. "get": {
  5492. "security": [
  5493. {
  5494. "ApiKeyAuth": []
  5495. }
  5496. ],
  5497. "produces": [
  5498. "application/json"
  5499. ],
  5500. "tags": [
  5501. "风险管理"
  5502. ],
  5503. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5504. "parameters": [
  5505. {
  5506. "type": "integer",
  5507. "description": "策略申请ID",
  5508. "name": "asapplyid",
  5509. "in": "query",
  5510. "required": true
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "现货合同ID",
  5515. "name": "spotcontractid",
  5516. "in": "query"
  5517. }
  5518. ],
  5519. "responses": {
  5520. "200": {
  5521. "description": "OK",
  5522. "schema": {
  5523. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5524. }
  5525. },
  5526. "500": {
  5527. "description": "Internal Server Error",
  5528. "schema": {
  5529. "$ref": "#/definitions/app.Response"
  5530. }
  5531. }
  5532. }
  5533. }
  5534. },
  5535. "/Erms3/AddErms2ASApply": {
  5536. "post": {
  5537. "security": [
  5538. {
  5539. "ApiKeyAuth": []
  5540. }
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "风险管理v3"
  5547. ],
  5548. "summary": "新增期现套利业务申请",
  5549. "parameters": [
  5550. {
  5551. "description": "申请参数",
  5552. "name": "jsonBody",
  5553. "in": "body",
  5554. "required": true,
  5555. "schema": {
  5556. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5557. }
  5558. }
  5559. ],
  5560. "responses": {
  5561. "200": {
  5562. "description": "OK",
  5563. "schema": {
  5564. "$ref": "#/definitions/app.Response"
  5565. }
  5566. },
  5567. "500": {
  5568. "description": "Internal Server Error",
  5569. "schema": {
  5570. "$ref": "#/definitions/app.Response"
  5571. }
  5572. }
  5573. }
  5574. }
  5575. },
  5576. "/Erms3/AddErms2SpotTradeApply": {
  5577. "post": {
  5578. "security": [
  5579. {
  5580. "ApiKeyAuth": []
  5581. }
  5582. ],
  5583. "produces": [
  5584. "application/json"
  5585. ],
  5586. "tags": [
  5587. "风险管理v3"
  5588. ],
  5589. "summary": "新增现货贸易业务申请",
  5590. "parameters": [
  5591. {
  5592. "description": "申请参数",
  5593. "name": "jsonBody",
  5594. "in": "body",
  5595. "required": true,
  5596. "schema": {
  5597. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5598. }
  5599. }
  5600. ],
  5601. "responses": {
  5602. "200": {
  5603. "description": "OK",
  5604. "schema": {
  5605. "$ref": "#/definitions/app.Response"
  5606. }
  5607. },
  5608. "500": {
  5609. "description": "Internal Server Error",
  5610. "schema": {
  5611. "$ref": "#/definitions/app.Response"
  5612. }
  5613. }
  5614. }
  5615. }
  5616. },
  5617. "/Erms3/AddSpotContractApply": {
  5618. "post": {
  5619. "security": [
  5620. {
  5621. "ApiKeyAuth": []
  5622. }
  5623. ],
  5624. "produces": [
  5625. "application/json"
  5626. ],
  5627. "tags": [
  5628. "风险管理v3"
  5629. ],
  5630. "summary": "新增现货合同申请",
  5631. "parameters": [
  5632. {
  5633. "description": "申请参数",
  5634. "name": "jsonBody",
  5635. "in": "body",
  5636. "required": true,
  5637. "schema": {
  5638. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5639. }
  5640. }
  5641. ],
  5642. "responses": {
  5643. "200": {
  5644. "description": "OK",
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5647. }
  5648. },
  5649. "500": {
  5650. "description": "Internal Server Error",
  5651. "schema": {
  5652. "$ref": "#/definitions/app.Response"
  5653. }
  5654. }
  5655. }
  5656. }
  5657. },
  5658. "/Erms3/AddUserInfoApply": {
  5659. "post": {
  5660. "security": [
  5661. {
  5662. "ApiKeyAuth": []
  5663. }
  5664. ],
  5665. "produces": [
  5666. "application/json"
  5667. ],
  5668. "tags": [
  5669. "风险管理v3"
  5670. ],
  5671. "summary": "新增客户申请",
  5672. "parameters": [
  5673. {
  5674. "description": "用户信息",
  5675. "name": "jsonBody",
  5676. "in": "body",
  5677. "required": true,
  5678. "schema": {
  5679. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5680. }
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/app.Response"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/Erms3/ModifyUserInfoApply": {
  5700. "post": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "风险管理v3"
  5712. ],
  5713. "summary": "修改客户申请",
  5714. "parameters": [
  5715. {
  5716. "description": "用户信息",
  5717. "name": "jsonBody",
  5718. "in": "body",
  5719. "required": true,
  5720. "schema": {
  5721. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5722. }
  5723. }
  5724. ],
  5725. "responses": {
  5726. "200": {
  5727. "description": "OK",
  5728. "schema": {
  5729. "$ref": "#/definitions/app.Response"
  5730. }
  5731. },
  5732. "500": {
  5733. "description": "Internal Server Error",
  5734. "schema": {
  5735. "$ref": "#/definitions/app.Response"
  5736. }
  5737. }
  5738. }
  5739. }
  5740. },
  5741. "/Erms3/QueryBusinessInfo": {
  5742. "get": {
  5743. "security": [
  5744. {
  5745. "ApiKeyAuth": []
  5746. }
  5747. ],
  5748. "produces": [
  5749. "application/json"
  5750. ],
  5751. "tags": [
  5752. "风险管理v3"
  5753. ],
  5754. "summary": "查询业务表单数据",
  5755. "parameters": [
  5756. {
  5757. "type": "string",
  5758. "description": "资金账号ID列表,用逗号分隔",
  5759. "name": "accountids",
  5760. "in": "query",
  5761. "required": true
  5762. },
  5763. {
  5764. "type": "integer",
  5765. "description": "状态,0为未结束 1为已结束",
  5766. "name": "status",
  5767. "in": "query",
  5768. "required": true
  5769. }
  5770. ],
  5771. "responses": {
  5772. "200": {
  5773. "description": "OK",
  5774. "schema": {
  5775. "type": "array",
  5776. "items": {
  5777. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5778. }
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/Erms3/QueryPendingAuditContract": {
  5791. "get": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "风险管理v3"
  5802. ],
  5803. "summary": "查询待审核合同",
  5804. "parameters": [
  5805. {
  5806. "type": "string",
  5807. "description": "资金账号ID列表,逗号隔开",
  5808. "name": "accountids",
  5809. "in": "query",
  5810. "required": true
  5811. },
  5812. {
  5813. "type": "integer",
  5814. "description": "合同类型 1-采购 -1-销售",
  5815. "name": "contracttype",
  5816. "in": "query",
  5817. "required": true
  5818. },
  5819. {
  5820. "type": "integer",
  5821. "description": "合同模式 1-普通 2-回购",
  5822. "name": "contractmode",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "type": "array",
  5832. "items": {
  5833. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5834. }
  5835. }
  5836. },
  5837. "500": {
  5838. "description": "Internal Server Error",
  5839. "schema": {
  5840. "$ref": "#/definitions/app.Response"
  5841. }
  5842. }
  5843. }
  5844. }
  5845. },
  5846. "/Erms3/QueryPendingBusiness": {
  5847. "get": {
  5848. "security": [
  5849. {
  5850. "ApiKeyAuth": []
  5851. }
  5852. ],
  5853. "produces": [
  5854. "application/json"
  5855. ],
  5856. "tags": [
  5857. "风险管理v3"
  5858. ],
  5859. "summary": "查询待审核基差贸易业务",
  5860. "parameters": [
  5861. {
  5862. "type": "string",
  5863. "description": "资金账号ID列表,逗号隔开",
  5864. "name": "accountids",
  5865. "in": "query",
  5866. "required": true
  5867. }
  5868. ],
  5869. "responses": {
  5870. "200": {
  5871. "description": "OK",
  5872. "schema": {
  5873. "type": "array",
  5874. "items": {
  5875. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5876. }
  5877. }
  5878. },
  5879. "500": {
  5880. "description": "Internal Server Error",
  5881. "schema": {
  5882. "$ref": "#/definitions/app.Response"
  5883. }
  5884. }
  5885. }
  5886. }
  5887. },
  5888. "/Erms3/QuerySpotContractAppleForm": {
  5889. "get": {
  5890. "security": [
  5891. {
  5892. "ApiKeyAuth": []
  5893. }
  5894. ],
  5895. "produces": [
  5896. "application/json"
  5897. ],
  5898. "tags": [
  5899. "风险管理v3"
  5900. ],
  5901. "summary": "查询合同申请表单数据",
  5902. "parameters": [
  5903. {
  5904. "type": "integer",
  5905. "description": "登录账号",
  5906. "name": "loginID",
  5907. "in": "query",
  5908. "required": true
  5909. }
  5910. ],
  5911. "responses": {
  5912. "200": {
  5913. "description": "OK",
  5914. "schema": {
  5915. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5916. }
  5917. },
  5918. "500": {
  5919. "description": "Internal Server Error",
  5920. "schema": {
  5921. "$ref": "#/definitions/app.Response"
  5922. }
  5923. }
  5924. }
  5925. }
  5926. },
  5927. "/Erms3/QuerySpotContractDetail": {
  5928. "get": {
  5929. "security": [
  5930. {
  5931. "ApiKeyAuth": []
  5932. }
  5933. ],
  5934. "produces": [
  5935. "application/json"
  5936. ],
  5937. "tags": [
  5938. "风险管理v3"
  5939. ],
  5940. "summary": "查询合同详细信息",
  5941. "parameters": [
  5942. {
  5943. "type": "string",
  5944. "description": "资金账号ID列表,用逗号分隔",
  5945. "name": "accountids",
  5946. "in": "query",
  5947. "required": true
  5948. },
  5949. {
  5950. "type": "integer",
  5951. "description": "合同类型,1为采购合同 -1为销售合同",
  5952. "name": "contracttype",
  5953. "in": "query",
  5954. "required": true
  5955. },
  5956. {
  5957. "type": "integer",
  5958. "description": "合同模式,1为普通合同 2为回购销售合同",
  5959. "name": "contractmode",
  5960. "in": "query",
  5961. "required": true
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "状态,0为履约中 1为已完成",
  5966. "name": "status",
  5967. "in": "query",
  5968. "required": true
  5969. }
  5970. ],
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "type": "array",
  5976. "items": {
  5977. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5978. }
  5979. }
  5980. },
  5981. "500": {
  5982. "description": "Internal Server Error",
  5983. "schema": {
  5984. "$ref": "#/definitions/app.Response"
  5985. }
  5986. }
  5987. }
  5988. }
  5989. },
  5990. "/Erms3/QueryUserInfoApplies": {
  5991. "get": {
  5992. "security": [
  5993. {
  5994. "ApiKeyAuth": []
  5995. }
  5996. ],
  5997. "produces": [
  5998. "application/json"
  5999. ],
  6000. "tags": [
  6001. "风险管理v3"
  6002. ],
  6003. "summary": "客户申请信息查询",
  6004. "parameters": [
  6005. {
  6006. "type": "integer",
  6007. "description": "页码",
  6008. "name": "page",
  6009. "in": "query"
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "每页条数",
  6014. "name": "pagesize",
  6015. "in": "query"
  6016. },
  6017. {
  6018. "type": "string",
  6019. "description": "客户名称,支持模糊查询",
  6020. "name": "userName",
  6021. "in": "query"
  6022. }
  6023. ],
  6024. "responses": {
  6025. "200": {
  6026. "description": "OK",
  6027. "schema": {
  6028. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6029. }
  6030. },
  6031. "500": {
  6032. "description": "Internal Server Error",
  6033. "schema": {
  6034. "$ref": "#/definitions/app.Response"
  6035. }
  6036. }
  6037. }
  6038. }
  6039. },
  6040. "/Erms3/QueryUserInfos": {
  6041. "get": {
  6042. "security": [
  6043. {
  6044. "ApiKeyAuth": []
  6045. }
  6046. ],
  6047. "produces": [
  6048. "application/json"
  6049. ],
  6050. "tags": [
  6051. "风险管理v3"
  6052. ],
  6053. "summary": "客户信息查询",
  6054. "parameters": [
  6055. {
  6056. "type": "integer",
  6057. "description": "页码",
  6058. "name": "page",
  6059. "in": "query"
  6060. },
  6061. {
  6062. "type": "integer",
  6063. "description": "每页条数",
  6064. "name": "pagesize",
  6065. "in": "query"
  6066. },
  6067. {
  6068. "type": "string",
  6069. "description": "客户名称,支持模糊查询",
  6070. "name": "userName",
  6071. "in": "query"
  6072. }
  6073. ],
  6074. "responses": {
  6075. "200": {
  6076. "description": "OK",
  6077. "schema": {
  6078. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6079. }
  6080. },
  6081. "500": {
  6082. "description": "Internal Server Error",
  6083. "schema": {
  6084. "$ref": "#/definitions/app.Response"
  6085. }
  6086. }
  6087. }
  6088. }
  6089. },
  6090. "/HSBY/GetHsbyMyCount": {
  6091. "get": {
  6092. "security": [
  6093. {
  6094. "ApiKeyAuth": []
  6095. }
  6096. ],
  6097. "description": "说明: 不包括已完成的数量。",
  6098. "produces": [
  6099. "application/json"
  6100. ],
  6101. "tags": [
  6102. "定制【海商报业】"
  6103. ],
  6104. "summary": "获取我的订单与包裹数量",
  6105. "parameters": [
  6106. {
  6107. "type": "string",
  6108. "description": "资金账户列表,格式:1,2,3",
  6109. "name": "accountIDs",
  6110. "in": "query",
  6111. "required": true
  6112. }
  6113. ],
  6114. "responses": {
  6115. "200": {
  6116. "description": "OK",
  6117. "schema": {
  6118. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6119. }
  6120. },
  6121. "500": {
  6122. "description": "Internal Server Error",
  6123. "schema": {
  6124. "$ref": "#/definitions/app.Response"
  6125. }
  6126. }
  6127. }
  6128. }
  6129. },
  6130. "/HSBY/QueryClientFixedADConfigs": {
  6131. "get": {
  6132. "security": [
  6133. {
  6134. "ApiKeyAuth": []
  6135. }
  6136. ],
  6137. "produces": [
  6138. "application/json"
  6139. ],
  6140. "tags": [
  6141. "定制【海商报业】"
  6142. ],
  6143. "summary": "获取终端固定广告配置",
  6144. "responses": {
  6145. "200": {
  6146. "description": "OK",
  6147. "schema": {
  6148. "$ref": "#/definitions/models.Clientfixedadconfig"
  6149. }
  6150. },
  6151. "500": {
  6152. "description": "Internal Server Error",
  6153. "schema": {
  6154. "$ref": "#/definitions/app.Response"
  6155. }
  6156. }
  6157. }
  6158. }
  6159. },
  6160. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6161. "get": {
  6162. "security": [
  6163. {
  6164. "ApiKeyAuth": []
  6165. }
  6166. ],
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "定制【海商报业】"
  6172. ],
  6173. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "页码",
  6178. "name": "page",
  6179. "in": "query"
  6180. },
  6181. {
  6182. "type": "integer",
  6183. "description": "每页条数",
  6184. "name": "pagesize",
  6185. "in": "query"
  6186. },
  6187. {
  6188. "type": "string",
  6189. "description": "资金账户列表,格式:1,2,3",
  6190. "name": "accountIDs",
  6191. "in": "query",
  6192. "required": true
  6193. }
  6194. ],
  6195. "responses": {
  6196. "200": {
  6197. "description": "OK",
  6198. "schema": {
  6199. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6200. }
  6201. },
  6202. "500": {
  6203. "description": "Internal Server Error",
  6204. "schema": {
  6205. "$ref": "#/definitions/app.Response"
  6206. }
  6207. }
  6208. }
  6209. }
  6210. },
  6211. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6212. "get": {
  6213. "security": [
  6214. {
  6215. "ApiKeyAuth": []
  6216. }
  6217. ],
  6218. "description": "说明:查询结果已按委托价格和委托时间排序",
  6219. "produces": [
  6220. "application/json"
  6221. ],
  6222. "tags": [
  6223. "定制【海商报业】"
  6224. ],
  6225. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6226. "parameters": [
  6227. {
  6228. "type": "integer",
  6229. "description": "商品ID",
  6230. "name": "goodsID",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "string",
  6236. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6237. "name": "accountIDs",
  6238. "in": "query"
  6239. },
  6240. {
  6241. "type": "integer",
  6242. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6243. "name": "buyOrSell",
  6244. "in": "query"
  6245. },
  6246. {
  6247. "type": "number",
  6248. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6249. "name": "price",
  6250. "in": "query"
  6251. },
  6252. {
  6253. "type": "integer",
  6254. "description": "档位,不传则默认为3档",
  6255. "name": "speed",
  6256. "in": "query"
  6257. }
  6258. ],
  6259. "responses": {
  6260. "200": {
  6261. "description": "OK",
  6262. "schema": {
  6263. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6264. }
  6265. },
  6266. "500": {
  6267. "description": "Internal Server Error",
  6268. "schema": {
  6269. "$ref": "#/definitions/app.Response"
  6270. }
  6271. }
  6272. }
  6273. }
  6274. },
  6275. "/HSBY/QueryHsbyListingGoodsDetail": {
  6276. "get": {
  6277. "security": [
  6278. {
  6279. "ApiKeyAuth": []
  6280. }
  6281. ],
  6282. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6283. "produces": [
  6284. "application/json"
  6285. ],
  6286. "tags": [
  6287. "定制【海商报业】"
  6288. ],
  6289. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6290. "parameters": [
  6291. {
  6292. "type": "integer",
  6293. "description": "商品ID",
  6294. "name": "goodsID",
  6295. "in": "query",
  6296. "required": true
  6297. },
  6298. {
  6299. "type": "integer",
  6300. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6301. "name": "accountID",
  6302. "in": "query"
  6303. }
  6304. ],
  6305. "responses": {
  6306. "200": {
  6307. "description": "OK",
  6308. "schema": {
  6309. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6310. }
  6311. },
  6312. "500": {
  6313. "description": "Internal Server Error",
  6314. "schema": {
  6315. "$ref": "#/definitions/app.Response"
  6316. }
  6317. }
  6318. }
  6319. }
  6320. },
  6321. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6322. "get": {
  6323. "security": [
  6324. {
  6325. "ApiKeyAuth": []
  6326. }
  6327. ],
  6328. "produces": [
  6329. "application/json"
  6330. ],
  6331. "tags": [
  6332. "定制【海商报业】"
  6333. ],
  6334. "summary": "查询三级市场(商城)商品信息详情",
  6335. "parameters": [
  6336. {
  6337. "type": "integer",
  6338. "description": "委托单号",
  6339. "name": "orderID",
  6340. "in": "query",
  6341. "required": true
  6342. },
  6343. {
  6344. "type": "integer",
  6345. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6346. "name": "accountID",
  6347. "in": "query"
  6348. }
  6349. ],
  6350. "responses": {
  6351. "200": {
  6352. "description": "OK",
  6353. "schema": {
  6354. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6355. }
  6356. },
  6357. "500": {
  6358. "description": "Internal Server Error",
  6359. "schema": {
  6360. "$ref": "#/definitions/app.Response"
  6361. }
  6362. }
  6363. }
  6364. }
  6365. },
  6366. "/HSBY/QueryHsbyMarketGoodses": {
  6367. "get": {
  6368. "security": [
  6369. {
  6370. "ApiKeyAuth": []
  6371. }
  6372. ],
  6373. "produces": [
  6374. "application/json"
  6375. ],
  6376. "tags": [
  6377. "定制【海商报业】"
  6378. ],
  6379. "summary": "查询特卖商品列表(三级商城)",
  6380. "parameters": [
  6381. {
  6382. "type": "integer",
  6383. "description": "页码",
  6384. "name": "page",
  6385. "in": "query"
  6386. },
  6387. {
  6388. "type": "integer",
  6389. "description": "每页条数",
  6390. "name": "pagesize",
  6391. "in": "query"
  6392. },
  6393. {
  6394. "type": "string",
  6395. "description": "市场ID列表,格式:1,2,3",
  6396. "name": "marketIDs",
  6397. "in": "query",
  6398. "required": true
  6399. },
  6400. {
  6401. "type": "integer",
  6402. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6403. "name": "accountID",
  6404. "in": "query",
  6405. "required": true
  6406. },
  6407. {
  6408. "type": "integer",
  6409. "description": "类别ID",
  6410. "name": "categoryID",
  6411. "in": "query"
  6412. },
  6413. {
  6414. "type": "string",
  6415. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6416. "name": "goodsIDs",
  6417. "in": "query"
  6418. },
  6419. {
  6420. "type": "integer",
  6421. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6422. "name": "couponTypeID",
  6423. "in": "query"
  6424. }
  6425. ],
  6426. "responses": {
  6427. "200": {
  6428. "description": "OK",
  6429. "schema": {
  6430. "$ref": "#/definitions/models.HsbyMarketGoods"
  6431. }
  6432. },
  6433. "500": {
  6434. "description": "Internal Server Error",
  6435. "schema": {
  6436. "$ref": "#/definitions/app.Response"
  6437. }
  6438. }
  6439. }
  6440. }
  6441. },
  6442. "/HSBY/QueryHsbyMarkets": {
  6443. "get": {
  6444. "security": [
  6445. {
  6446. "ApiKeyAuth": []
  6447. }
  6448. ],
  6449. "produces": [
  6450. "application/json"
  6451. ],
  6452. "tags": [
  6453. "定制【海商报业】"
  6454. ],
  6455. "summary": "查询海商报业相关市场信息",
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/models.HsbyMarketInfo"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6473. "get": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6480. "produces": [
  6481. "application/json"
  6482. ],
  6483. "tags": [
  6484. "定制【海商报业】"
  6485. ],
  6486. "summary": "查询“我的订单”信息",
  6487. "parameters": [
  6488. {
  6489. "type": "string",
  6490. "description": "资金账户列表,格式:1,2,3",
  6491. "name": "accountIDs",
  6492. "in": "query",
  6493. "required": true
  6494. }
  6495. ],
  6496. "responses": {
  6497. "200": {
  6498. "description": "OK",
  6499. "schema": {
  6500. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6501. }
  6502. },
  6503. "500": {
  6504. "description": "Internal Server Error",
  6505. "schema": {
  6506. "$ref": "#/definitions/app.Response"
  6507. }
  6508. }
  6509. }
  6510. }
  6511. },
  6512. "/HSBY/QueryHsbyMyGoods": {
  6513. "get": {
  6514. "security": [
  6515. {
  6516. "ApiKeyAuth": []
  6517. }
  6518. ],
  6519. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6520. "produces": [
  6521. "application/json"
  6522. ],
  6523. "tags": [
  6524. "定制【海商报业】"
  6525. ],
  6526. "summary": "查询“我的商品”信息",
  6527. "parameters": [
  6528. {
  6529. "type": "string",
  6530. "description": "资金账户列表,格式:1,2,3",
  6531. "name": "accountIDs",
  6532. "in": "query",
  6533. "required": true
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/models.HsbyMyGoods"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/QueryHsbyMyPackages": {
  6553. "get": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "查询我的包裹信息",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "资金账户列表,格式:1,2,3",
  6570. "name": "accountIDs",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6577. "name": "takeOrderStatus",
  6578. "in": "query"
  6579. }
  6580. ],
  6581. "responses": {
  6582. "200": {
  6583. "description": "OK",
  6584. "schema": {
  6585. "$ref": "#/definitions/models.HsbyMyPackage"
  6586. }
  6587. },
  6588. "500": {
  6589. "description": "Internal Server Error",
  6590. "schema": {
  6591. "$ref": "#/definitions/app.Response"
  6592. }
  6593. }
  6594. }
  6595. }
  6596. },
  6597. "/HSBY/QueryHsbyPreGoodsDetail": {
  6598. "get": {
  6599. "security": [
  6600. {
  6601. "ApiKeyAuth": []
  6602. }
  6603. ],
  6604. "produces": [
  6605. "application/json"
  6606. ],
  6607. "tags": [
  6608. "定制【海商报业】"
  6609. ],
  6610. "summary": "查询一级市场(预售)商品信息详情",
  6611. "parameters": [
  6612. {
  6613. "type": "integer",
  6614. "description": "商品ID",
  6615. "name": "goodsID",
  6616. "in": "query",
  6617. "required": true
  6618. },
  6619. {
  6620. "type": "integer",
  6621. "description": "资金账户,主要用于获取预售商品购买上限",
  6622. "name": "accountID",
  6623. "in": "query"
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/HSBY/QueryHsbyPreGoodses": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "定制【海商报业】"
  6655. ],
  6656. "summary": "查询新品上市商品列表(一级市场预售)",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "页码",
  6661. "name": "page",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "integer",
  6666. "description": "每页条数",
  6667. "name": "pagesize",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "string",
  6672. "description": "市场ID列表,格式:1,2,3",
  6673. "name": "marketIDs",
  6674. "in": "query",
  6675. "required": true
  6676. },
  6677. {
  6678. "type": "integer",
  6679. "description": "目的地(省)ID",
  6680. "name": "descProvinceID",
  6681. "in": "query"
  6682. },
  6683. {
  6684. "type": "integer",
  6685. "description": "目的地(市)ID",
  6686. "name": "descCityID",
  6687. "in": "query"
  6688. }
  6689. ],
  6690. "responses": {
  6691. "200": {
  6692. "description": "OK",
  6693. "schema": {
  6694. "$ref": "#/definitions/models.HsbyPreGoods"
  6695. }
  6696. },
  6697. "500": {
  6698. "description": "Internal Server Error",
  6699. "schema": {
  6700. "$ref": "#/definitions/app.Response"
  6701. }
  6702. }
  6703. }
  6704. }
  6705. },
  6706. "/HSBY/QueryHsbySellMyDetails": {
  6707. "get": {
  6708. "security": [
  6709. {
  6710. "ApiKeyAuth": []
  6711. }
  6712. ],
  6713. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6714. "produces": [
  6715. "application/json"
  6716. ],
  6717. "tags": [
  6718. "定制【海商报业】"
  6719. ],
  6720. "summary": "查询\"我的闲置\"单据信息",
  6721. "parameters": [
  6722. {
  6723. "type": "integer",
  6724. "description": "页码",
  6725. "name": "page",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "integer",
  6730. "description": "每页条数",
  6731. "name": "pagesize",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "资金账户列表,格式:1,2,3",
  6737. "name": "accountIDs",
  6738. "in": "query",
  6739. "required": true
  6740. },
  6741. {
  6742. "type": "integer",
  6743. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6744. "name": "orderType",
  6745. "in": "query"
  6746. }
  6747. ],
  6748. "responses": {
  6749. "200": {
  6750. "description": "OK",
  6751. "schema": {
  6752. "$ref": "#/definitions/models.HsbySellMyDetail"
  6753. }
  6754. },
  6755. "500": {
  6756. "description": "Internal Server Error",
  6757. "schema": {
  6758. "$ref": "#/definitions/app.Response"
  6759. }
  6760. }
  6761. }
  6762. }
  6763. },
  6764. "/HSBY/QueryHsbyTopGoodses": {
  6765. "get": {
  6766. "security": [
  6767. {
  6768. "ApiKeyAuth": []
  6769. }
  6770. ],
  6771. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6772. "produces": [
  6773. "application/json"
  6774. ],
  6775. "tags": [
  6776. "定制【海商报业】"
  6777. ],
  6778. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6779. "parameters": [
  6780. {
  6781. "type": "integer",
  6782. "description": "页码",
  6783. "name": "page",
  6784. "in": "query"
  6785. },
  6786. {
  6787. "type": "integer",
  6788. "description": "每页条数",
  6789. "name": "pagesize",
  6790. "in": "query"
  6791. },
  6792. {
  6793. "type": "string",
  6794. "description": "市场ID列表,格式:1,2,3",
  6795. "name": "marketIDs",
  6796. "in": "query",
  6797. "required": true
  6798. },
  6799. {
  6800. "type": "integer",
  6801. "description": "目的地(省)ID",
  6802. "name": "descProvinceID",
  6803. "in": "query"
  6804. },
  6805. {
  6806. "type": "integer",
  6807. "description": "目的地(市)ID",
  6808. "name": "descCityID",
  6809. "in": "query"
  6810. }
  6811. ],
  6812. "responses": {
  6813. "200": {
  6814. "description": "OK",
  6815. "schema": {
  6816. "$ref": "#/definitions/models.HsbyTopGoods"
  6817. }
  6818. },
  6819. "500": {
  6820. "description": "Internal Server Error",
  6821. "schema": {
  6822. "$ref": "#/definitions/app.Response"
  6823. }
  6824. }
  6825. }
  6826. }
  6827. },
  6828. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6829. "get": {
  6830. "security": [
  6831. {
  6832. "ApiKeyAuth": []
  6833. }
  6834. ],
  6835. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6836. "produces": [
  6837. "application/json"
  6838. ],
  6839. "tags": [
  6840. "定制【海商报业】"
  6841. ],
  6842. "summary": "查询游客三级市场(商城)商品信息详情",
  6843. "parameters": [
  6844. {
  6845. "type": "integer",
  6846. "description": "商品ID",
  6847. "name": "goodsID",
  6848. "in": "query",
  6849. "required": true
  6850. }
  6851. ],
  6852. "responses": {
  6853. "200": {
  6854. "description": "OK",
  6855. "schema": {
  6856. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6857. }
  6858. },
  6859. "500": {
  6860. "description": "Internal Server Error",
  6861. "schema": {
  6862. "$ref": "#/definitions/app.Response"
  6863. }
  6864. }
  6865. }
  6866. }
  6867. },
  6868. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6869. "get": {
  6870. "security": [
  6871. {
  6872. "ApiKeyAuth": []
  6873. }
  6874. ],
  6875. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6876. "produces": [
  6877. "application/json"
  6878. ],
  6879. "tags": [
  6880. "定制【海商报业】"
  6881. ],
  6882. "summary": "查询游客特卖商品列表(三级商城)",
  6883. "parameters": [
  6884. {
  6885. "type": "integer",
  6886. "description": "页码",
  6887. "name": "page",
  6888. "in": "query"
  6889. },
  6890. {
  6891. "type": "integer",
  6892. "description": "每页条数",
  6893. "name": "pagesize",
  6894. "in": "query"
  6895. },
  6896. {
  6897. "type": "string",
  6898. "description": "市场ID列表,格式:1,2,3",
  6899. "name": "marketIDs",
  6900. "in": "query",
  6901. "required": true
  6902. },
  6903. {
  6904. "type": "integer",
  6905. "description": "类别ID",
  6906. "name": "categoryID",
  6907. "in": "query"
  6908. },
  6909. {
  6910. "type": "string",
  6911. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6912. "name": "goodsIDs",
  6913. "in": "query"
  6914. }
  6915. ],
  6916. "responses": {
  6917. "200": {
  6918. "description": "OK",
  6919. "schema": {
  6920. "$ref": "#/definitions/models.HsbyMarketGoods"
  6921. }
  6922. },
  6923. "500": {
  6924. "description": "Internal Server Error",
  6925. "schema": {
  6926. "$ref": "#/definitions/app.Response"
  6927. }
  6928. }
  6929. }
  6930. }
  6931. },
  6932. "/HSBY/QueryMyCollectionOrders": {
  6933. "get": {
  6934. "security": [
  6935. {
  6936. "ApiKeyAuth": []
  6937. }
  6938. ],
  6939. "produces": [
  6940. "application/json"
  6941. ],
  6942. "tags": [
  6943. "定制【海商报业】"
  6944. ],
  6945. "summary": "我的闲置中收款信息查询",
  6946. "parameters": [
  6947. {
  6948. "type": "integer",
  6949. "description": "页码",
  6950. "name": "page",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "integer",
  6955. "description": "每页条数",
  6956. "name": "pagesize",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "资金账户,格式:1,2,3",
  6962. "name": "accountIDs",
  6963. "in": "query",
  6964. "required": true
  6965. }
  6966. ],
  6967. "responses": {
  6968. "200": {
  6969. "description": "OK",
  6970. "schema": {
  6971. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6972. }
  6973. },
  6974. "500": {
  6975. "description": "Internal Server Error",
  6976. "schema": {
  6977. "$ref": "#/definitions/app.Response"
  6978. }
  6979. }
  6980. }
  6981. }
  6982. },
  6983. "/HSBY/QueryMyCouponHolds": {
  6984. "get": {
  6985. "security": [
  6986. {
  6987. "ApiKeyAuth": []
  6988. }
  6989. ],
  6990. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6991. "produces": [
  6992. "application/json"
  6993. ],
  6994. "tags": [
  6995. "定制【海商报业】"
  6996. ],
  6997. "summary": "我的优惠卷持仓查询",
  6998. "parameters": [
  6999. {
  7000. "type": "string",
  7001. "description": "资金账户列表,格式:1,2,3",
  7002. "name": "accountIDs",
  7003. "in": "query",
  7004. "required": true
  7005. },
  7006. {
  7007. "type": "string",
  7008. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7009. "name": "holdStatus",
  7010. "in": "query"
  7011. }
  7012. ],
  7013. "responses": {
  7014. "200": {
  7015. "description": "OK",
  7016. "schema": {
  7017. "$ref": "#/definitions/models.MyCouponHold"
  7018. }
  7019. },
  7020. "500": {
  7021. "description": "Internal Server Error",
  7022. "schema": {
  7023. "$ref": "#/definitions/app.Response"
  7024. }
  7025. }
  7026. }
  7027. }
  7028. },
  7029. "/HSBY/QueryMyCoupons": {
  7030. "get": {
  7031. "security": [
  7032. {
  7033. "ApiKeyAuth": []
  7034. }
  7035. ],
  7036. "produces": [
  7037. "application/json"
  7038. ],
  7039. "tags": [
  7040. "定制【海商报业】"
  7041. ],
  7042. "summary": "我的优惠卷查询",
  7043. "parameters": [
  7044. {
  7045. "type": "string",
  7046. "description": "资金账户列表,格式:1,2,3",
  7047. "name": "accountIDs",
  7048. "in": "query",
  7049. "required": true
  7050. },
  7051. {
  7052. "type": "integer",
  7053. "description": "商品ID, 一般与sellUserID配套传入",
  7054. "name": "goodsID",
  7055. "in": "query"
  7056. },
  7057. {
  7058. "type": "integer",
  7059. "description": "卖方UserID",
  7060. "name": "sellUserID",
  7061. "in": "query"
  7062. }
  7063. ],
  7064. "responses": {
  7065. "200": {
  7066. "description": "OK",
  7067. "schema": {
  7068. "$ref": "#/definitions/models.MyCoupon"
  7069. }
  7070. },
  7071. "500": {
  7072. "description": "Internal Server Error",
  7073. "schema": {
  7074. "$ref": "#/definitions/app.Response"
  7075. }
  7076. }
  7077. }
  7078. }
  7079. },
  7080. "/HSBY/QueryMyPayOrders": {
  7081. "get": {
  7082. "security": [
  7083. {
  7084. "ApiKeyAuth": []
  7085. }
  7086. ],
  7087. "produces": [
  7088. "application/json"
  7089. ],
  7090. "tags": [
  7091. "定制【海商报业】"
  7092. ],
  7093. "summary": "获取我的订单中待付款信息",
  7094. "parameters": [
  7095. {
  7096. "type": "integer",
  7097. "description": "页码",
  7098. "name": "page",
  7099. "in": "query"
  7100. },
  7101. {
  7102. "type": "integer",
  7103. "description": "每页条数",
  7104. "name": "pagesize",
  7105. "in": "query"
  7106. },
  7107. {
  7108. "type": "string",
  7109. "description": "资金账户列表,格式:1,2,3",
  7110. "name": "accountIDs",
  7111. "in": "query",
  7112. "required": true
  7113. },
  7114. {
  7115. "type": "integer",
  7116. "description": "买方委托单号",
  7117. "name": "buyOrderID",
  7118. "in": "query"
  7119. },
  7120. {
  7121. "type": "integer",
  7122. "description": "卖方委托单号",
  7123. "name": "sellOrderID",
  7124. "in": "query"
  7125. }
  7126. ],
  7127. "responses": {
  7128. "200": {
  7129. "description": "OK",
  7130. "schema": {
  7131. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7132. }
  7133. },
  7134. "500": {
  7135. "description": "Internal Server Error",
  7136. "schema": {
  7137. "$ref": "#/definitions/app.Response"
  7138. }
  7139. }
  7140. }
  7141. }
  7142. },
  7143. "/HSBY/QueryMyUsedCoupon": {
  7144. "get": {
  7145. "security": [
  7146. {
  7147. "ApiKeyAuth": []
  7148. }
  7149. ],
  7150. "produces": [
  7151. "application/json"
  7152. ],
  7153. "tags": [
  7154. "定制【海商报业】"
  7155. ],
  7156. "summary": "已使用优惠卷查询",
  7157. "parameters": [
  7158. {
  7159. "type": "string",
  7160. "description": "资金账户列表,格式:1,2,3",
  7161. "name": "accountIDs",
  7162. "in": "query",
  7163. "required": true
  7164. }
  7165. ],
  7166. "responses": {
  7167. "200": {
  7168. "description": "OK",
  7169. "schema": {
  7170. "$ref": "#/definitions/models.MyUsedCoupon"
  7171. }
  7172. },
  7173. "500": {
  7174. "description": "Internal Server Error",
  7175. "schema": {
  7176. "$ref": "#/definitions/app.Response"
  7177. }
  7178. }
  7179. }
  7180. }
  7181. },
  7182. "/HSBY/QueryProvincesAndCities": {
  7183. "get": {
  7184. "security": [
  7185. {
  7186. "ApiKeyAuth": []
  7187. }
  7188. ],
  7189. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7190. "produces": [
  7191. "application/json"
  7192. ],
  7193. "tags": [
  7194. "定制【海商报业】"
  7195. ],
  7196. "summary": "查询省市信息(不包括区)",
  7197. "parameters": [
  7198. {
  7199. "type": "integer",
  7200. "description": "省ID",
  7201. "name": "provinceID",
  7202. "in": "query"
  7203. }
  7204. ],
  7205. "responses": {
  7206. "200": {
  7207. "description": "OK",
  7208. "schema": {
  7209. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7210. }
  7211. },
  7212. "500": {
  7213. "description": "Internal Server Error",
  7214. "schema": {
  7215. "$ref": "#/definitions/app.Response"
  7216. }
  7217. }
  7218. }
  7219. }
  7220. },
  7221. "/HSBY/SetHsbyMyPackagesStatus": {
  7222. "post": {
  7223. "security": [
  7224. {
  7225. "ApiKeyAuth": []
  7226. }
  7227. ],
  7228. "produces": [
  7229. "application/json"
  7230. ],
  7231. "tags": [
  7232. "定制【海商报业】"
  7233. ],
  7234. "summary": "设置我的包裹已收货状态",
  7235. "parameters": [
  7236. {
  7237. "type": "string",
  7238. "description": "提货单号",
  7239. "name": "takeOrderID",
  7240. "in": "query",
  7241. "required": true
  7242. },
  7243. {
  7244. "type": "integer",
  7245. "description": "资金账号",
  7246. "name": "accountID",
  7247. "in": "query",
  7248. "required": true
  7249. }
  7250. ],
  7251. "responses": {
  7252. "200": {
  7253. "description": "OK",
  7254. "schema": {
  7255. "$ref": "#/definitions/app.Response"
  7256. }
  7257. },
  7258. "500": {
  7259. "description": "Internal Server Error",
  7260. "schema": {
  7261. "$ref": "#/definitions/app.Response"
  7262. }
  7263. }
  7264. }
  7265. }
  7266. },
  7267. "/Market/QueryGoodsesByLoginID": {
  7268. "get": {
  7269. "security": [
  7270. {
  7271. "ApiKeyAuth": []
  7272. }
  7273. ],
  7274. "produces": [
  7275. "application/json"
  7276. ],
  7277. "tags": [
  7278. "通用市场"
  7279. ],
  7280. "summary": "获取登录账号有权限的商品信息",
  7281. "parameters": [
  7282. {
  7283. "type": "integer",
  7284. "description": "登录账号",
  7285. "name": "loginID",
  7286. "in": "query",
  7287. "required": true
  7288. },
  7289. {
  7290. "type": "string",
  7291. "description": "市场ID列表,格式:1,2,3",
  7292. "name": "marketIDs",
  7293. "in": "query"
  7294. }
  7295. ],
  7296. "responses": {
  7297. "200": {
  7298. "description": "OK",
  7299. "schema": {
  7300. "$ref": "#/definitions/models.Goods"
  7301. }
  7302. },
  7303. "500": {
  7304. "description": "Internal Server Error",
  7305. "schema": {
  7306. "$ref": "#/definitions/app.Response"
  7307. }
  7308. }
  7309. }
  7310. }
  7311. },
  7312. "/Market/QueryMarketRun": {
  7313. "get": {
  7314. "security": [
  7315. {
  7316. "ApiKeyAuth": []
  7317. }
  7318. ],
  7319. "produces": [
  7320. "application/json"
  7321. ],
  7322. "tags": [
  7323. "通用市场"
  7324. ],
  7325. "summary": "查询市场运行信息",
  7326. "parameters": [
  7327. {
  7328. "type": "integer",
  7329. "description": "市场ID,不传返回所有",
  7330. "name": "marketID",
  7331. "in": "query"
  7332. }
  7333. ],
  7334. "responses": {
  7335. "200": {
  7336. "description": "OK",
  7337. "schema": {
  7338. "$ref": "#/definitions/models.Marketrun"
  7339. }
  7340. },
  7341. "500": {
  7342. "description": "Internal Server Error",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. }
  7347. }
  7348. }
  7349. },
  7350. "/Market/QueryMarketsByLoginID": {
  7351. "get": {
  7352. "security": [
  7353. {
  7354. "ApiKeyAuth": []
  7355. }
  7356. ],
  7357. "produces": [
  7358. "application/json"
  7359. ],
  7360. "tags": [
  7361. "通用市场"
  7362. ],
  7363. "summary": "获取登录账号有权限的市场信息",
  7364. "parameters": [
  7365. {
  7366. "type": "integer",
  7367. "description": "登录账号",
  7368. "name": "loginID",
  7369. "in": "query",
  7370. "required": true
  7371. }
  7372. ],
  7373. "responses": {
  7374. "200": {
  7375. "description": "OK",
  7376. "schema": {
  7377. "$ref": "#/definitions/models.Market"
  7378. }
  7379. },
  7380. "500": {
  7381. "description": "Internal Server Error",
  7382. "schema": {
  7383. "$ref": "#/definitions/app.Response"
  7384. }
  7385. }
  7386. }
  7387. }
  7388. },
  7389. "/Order/QueryHisTradeDetail": {
  7390. "get": {
  7391. "security": [
  7392. {
  7393. "ApiKeyAuth": []
  7394. }
  7395. ],
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "通用单据"
  7401. ],
  7402. "summary": "历史成交单查询(合约市场)",
  7403. "parameters": [
  7404. {
  7405. "type": "string",
  7406. "description": "资金账户 - 格式:1,2,3",
  7407. "name": "accountID",
  7408. "in": "query",
  7409. "required": true
  7410. },
  7411. {
  7412. "type": "integer",
  7413. "description": "成交单号",
  7414. "name": "tradeID",
  7415. "in": "query"
  7416. },
  7417. {
  7418. "type": "integer",
  7419. "description": "委托单号",
  7420. "name": "orderID",
  7421. "in": "query"
  7422. },
  7423. {
  7424. "type": "string",
  7425. "description": "交易模式 - 格式:1,2,3",
  7426. "name": "tradeMode",
  7427. "in": "query"
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "委托单据类型",
  7432. "name": "buildType",
  7433. "in": "query"
  7434. },
  7435. {
  7436. "type": "string",
  7437. "description": "成交类别 - 格式:1,2,3",
  7438. "name": "tradeType",
  7439. "in": "query"
  7440. },
  7441. {
  7442. "type": "string",
  7443. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7444. "name": "startDate",
  7445. "in": "query"
  7446. },
  7447. {
  7448. "type": "string",
  7449. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7450. "name": "endDate",
  7451. "in": "query"
  7452. }
  7453. ],
  7454. "responses": {
  7455. "200": {
  7456. "description": "OK",
  7457. "schema": {
  7458. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7459. }
  7460. },
  7461. "500": {
  7462. "description": "Internal Server Error",
  7463. "schema": {
  7464. "$ref": "#/definitions/app.Response"
  7465. }
  7466. }
  7467. }
  7468. }
  7469. },
  7470. "/Order/QueryHisTradeOrderDetail": {
  7471. "get": {
  7472. "security": [
  7473. {
  7474. "ApiKeyAuth": []
  7475. }
  7476. ],
  7477. "produces": [
  7478. "application/json"
  7479. ],
  7480. "tags": [
  7481. "通用单据"
  7482. ],
  7483. "summary": "历史委托单查询请求(合约市场)",
  7484. "parameters": [
  7485. {
  7486. "type": "string",
  7487. "description": "资金账户 - 格式:1,2,3",
  7488. "name": "accountID",
  7489. "in": "query",
  7490. "required": true
  7491. },
  7492. {
  7493. "type": "string",
  7494. "description": "交易模式 - 格式:1,2,3",
  7495. "name": "tradeMode",
  7496. "in": "query"
  7497. },
  7498. {
  7499. "type": "string",
  7500. "description": "委托状态 - 格式:1,2,3",
  7501. "name": "orderStatus",
  7502. "in": "query"
  7503. },
  7504. {
  7505. "type": "integer",
  7506. "description": "委托单号",
  7507. "name": "orderID",
  7508. "in": "query"
  7509. },
  7510. {
  7511. "type": "string",
  7512. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7513. "name": "startDate",
  7514. "in": "query"
  7515. },
  7516. {
  7517. "type": "string",
  7518. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7519. "name": "endDate",
  7520. "in": "query"
  7521. }
  7522. ],
  7523. "responses": {
  7524. "200": {
  7525. "description": "OK",
  7526. "schema": {
  7527. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7528. }
  7529. },
  7530. "500": {
  7531. "description": "Internal Server Error",
  7532. "schema": {
  7533. "$ref": "#/definitions/app.Response"
  7534. }
  7535. }
  7536. }
  7537. }
  7538. },
  7539. "/Order/QueryTradeDetail": {
  7540. "get": {
  7541. "security": [
  7542. {
  7543. "ApiKeyAuth": []
  7544. }
  7545. ],
  7546. "produces": [
  7547. "application/json"
  7548. ],
  7549. "tags": [
  7550. "通用单据"
  7551. ],
  7552. "summary": "成交单查询(合约市场)",
  7553. "parameters": [
  7554. {
  7555. "type": "string",
  7556. "description": "资金账户 - 格式:1,2,3",
  7557. "name": "accountID",
  7558. "in": "query",
  7559. "required": true
  7560. },
  7561. {
  7562. "type": "integer",
  7563. "description": "成交单号",
  7564. "name": "tradeID",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "integer",
  7569. "description": "委托单号",
  7570. "name": "orderID",
  7571. "in": "query"
  7572. },
  7573. {
  7574. "type": "string",
  7575. "description": "交易模式 - 格式:1,2,3",
  7576. "name": "tradeMode",
  7577. "in": "query"
  7578. },
  7579. {
  7580. "type": "integer",
  7581. "description": "委托单据类型",
  7582. "name": "buildType",
  7583. "in": "query"
  7584. },
  7585. {
  7586. "type": "string",
  7587. "description": "成交类别 - 格式:1,2,3",
  7588. "name": "tradeType",
  7589. "in": "query"
  7590. }
  7591. ],
  7592. "responses": {
  7593. "200": {
  7594. "description": "OK",
  7595. "schema": {
  7596. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7597. }
  7598. },
  7599. "500": {
  7600. "description": "Internal Server Error",
  7601. "schema": {
  7602. "$ref": "#/definitions/app.Response"
  7603. }
  7604. }
  7605. }
  7606. }
  7607. },
  7608. "/Order/QueryTradeOrderDetail": {
  7609. "get": {
  7610. "security": [
  7611. {
  7612. "ApiKeyAuth": []
  7613. }
  7614. ],
  7615. "produces": [
  7616. "application/json"
  7617. ],
  7618. "tags": [
  7619. "通用单据"
  7620. ],
  7621. "summary": "委托单查询请求(合约市场)",
  7622. "parameters": [
  7623. {
  7624. "type": "string",
  7625. "description": "资金账户 - 格式:1,2,3",
  7626. "name": "accountID",
  7627. "in": "query",
  7628. "required": true
  7629. },
  7630. {
  7631. "type": "string",
  7632. "description": "交易模式 - 格式:1,2,3",
  7633. "name": "tradeMode",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "string",
  7638. "description": "委托状态 - 格式:1,2,3",
  7639. "name": "orderStatus",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "integer",
  7644. "description": "委托单号",
  7645. "name": "orderID",
  7646. "in": "query"
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/Order/QueryTradePosition": {
  7666. "get": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "通用单据"
  7677. ],
  7678. "summary": "持仓汇总查询(合约市场)",
  7679. "parameters": [
  7680. {
  7681. "type": "string",
  7682. "description": "资金账户 - 格式:1,2,3",
  7683. "name": "accountID",
  7684. "in": "query",
  7685. "required": true
  7686. },
  7687. {
  7688. "type": "string",
  7689. "description": "交易模式 - 格式:1,2,3",
  7690. "name": "tradeMode",
  7691. "in": "query"
  7692. }
  7693. ],
  7694. "responses": {
  7695. "200": {
  7696. "description": "OK",
  7697. "schema": {
  7698. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7699. }
  7700. },
  7701. "500": {
  7702. "description": "Internal Server Error",
  7703. "schema": {
  7704. "$ref": "#/definitions/app.Response"
  7705. }
  7706. }
  7707. }
  7708. }
  7709. },
  7710. "/Quote/QueryHistoryDatas": {
  7711. "get": {
  7712. "security": [
  7713. {
  7714. "ApiKeyAuth": []
  7715. }
  7716. ],
  7717. "produces": [
  7718. "application/json"
  7719. ],
  7720. "tags": [
  7721. "行情服务"
  7722. ],
  7723. "summary": "查询行情历史数据",
  7724. "parameters": [
  7725. {
  7726. "type": "integer",
  7727. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7728. "name": "cycleType",
  7729. "in": "query",
  7730. "required": true
  7731. },
  7732. {
  7733. "type": "string",
  7734. "description": "商品代码",
  7735. "name": "goodsCode",
  7736. "in": "query",
  7737. "required": true
  7738. },
  7739. {
  7740. "type": "string",
  7741. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7742. "name": "startTime",
  7743. "in": "query"
  7744. },
  7745. {
  7746. "type": "string",
  7747. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7748. "name": "endTime",
  7749. "in": "query"
  7750. },
  7751. {
  7752. "type": "integer",
  7753. "description": "条数",
  7754. "name": "count",
  7755. "in": "query"
  7756. },
  7757. {
  7758. "type": "boolean",
  7759. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7760. "name": "isAsc",
  7761. "in": "query"
  7762. }
  7763. ],
  7764. "responses": {
  7765. "200": {
  7766. "description": "OK",
  7767. "schema": {
  7768. "$ref": "#/definitions/quote.HistoryData"
  7769. }
  7770. },
  7771. "500": {
  7772. "description": "Internal Server Error",
  7773. "schema": {
  7774. "$ref": "#/definitions/app.Response"
  7775. }
  7776. }
  7777. }
  7778. }
  7779. },
  7780. "/Quote/QueryHistoryTikDatas": {
  7781. "get": {
  7782. "security": [
  7783. {
  7784. "ApiKeyAuth": []
  7785. }
  7786. ],
  7787. "produces": [
  7788. "application/json"
  7789. ],
  7790. "tags": [
  7791. "行情服务"
  7792. ],
  7793. "summary": "查询行情Tik数据",
  7794. "parameters": [
  7795. {
  7796. "type": "string",
  7797. "description": "商品代码",
  7798. "name": "goodsCode",
  7799. "in": "query",
  7800. "required": true
  7801. },
  7802. {
  7803. "type": "string",
  7804. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7805. "name": "startTime",
  7806. "in": "query"
  7807. },
  7808. {
  7809. "type": "string",
  7810. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7811. "name": "endTime",
  7812. "in": "query"
  7813. },
  7814. {
  7815. "type": "integer",
  7816. "description": "条数",
  7817. "name": "count",
  7818. "in": "query"
  7819. },
  7820. {
  7821. "type": "boolean",
  7822. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7823. "name": "isAsc",
  7824. "in": "query"
  7825. }
  7826. ],
  7827. "responses": {
  7828. "200": {
  7829. "description": "OK",
  7830. "schema": {
  7831. "$ref": "#/definitions/quote.HistoryTikData"
  7832. }
  7833. },
  7834. "500": {
  7835. "description": "Internal Server Error",
  7836. "schema": {
  7837. "$ref": "#/definitions/app.Response"
  7838. }
  7839. }
  7840. }
  7841. }
  7842. },
  7843. "/Quote/QueryQuoteDay": {
  7844. "get": {
  7845. "security": [
  7846. {
  7847. "ApiKeyAuth": []
  7848. }
  7849. ],
  7850. "produces": [
  7851. "application/json"
  7852. ],
  7853. "tags": [
  7854. "行情服务"
  7855. ],
  7856. "summary": "获取商品盘面信息",
  7857. "parameters": [
  7858. {
  7859. "type": "string",
  7860. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7861. "name": "goodsCodes",
  7862. "in": "query",
  7863. "required": true
  7864. }
  7865. ],
  7866. "responses": {
  7867. "200": {
  7868. "description": "OK",
  7869. "schema": {
  7870. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Quote/QueryTSData": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "行情服务"
  7894. ],
  7895. "summary": "分时图数据查询",
  7896. "parameters": [
  7897. {
  7898. "type": "string",
  7899. "description": "商品代码",
  7900. "name": "goodsCode",
  7901. "in": "query",
  7902. "required": true
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7910. }
  7911. },
  7912. "500": {
  7913. "description": "Internal Server Error",
  7914. "schema": {
  7915. "$ref": "#/definitions/app.Response"
  7916. }
  7917. }
  7918. }
  7919. }
  7920. },
  7921. "/SZDZ/QueryConvertConfig": {
  7922. "get": {
  7923. "security": [
  7924. {
  7925. "ApiKeyAuth": []
  7926. }
  7927. ],
  7928. "produces": [
  7929. "application/json"
  7930. ],
  7931. "tags": [
  7932. "定制【尚志大宗】"
  7933. ],
  7934. "summary": "查询交易系统转换设置",
  7935. "parameters": [
  7936. {
  7937. "type": "integer",
  7938. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7939. "name": "convertType",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "string",
  7944. "description": "外部商品代码[JD\\PD]",
  7945. "name": "outerGoodsCode",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "string",
  7950. "description": "内部商品ID列表[交易],格式:1,2,3",
  7951. "name": "innerGoodsIDs",
  7952. "in": "query"
  7953. }
  7954. ],
  7955. "responses": {
  7956. "200": {
  7957. "description": "OK",
  7958. "schema": {
  7959. "$ref": "#/definitions/models.Szdz3convertconfig"
  7960. }
  7961. },
  7962. "500": {
  7963. "description": "Internal Server Error",
  7964. "schema": {
  7965. "$ref": "#/definitions/app.Response"
  7966. }
  7967. }
  7968. }
  7969. }
  7970. },
  7971. "/SZDZ/QueryConvertLog": {
  7972. "get": {
  7973. "security": [
  7974. {
  7975. "ApiKeyAuth": []
  7976. }
  7977. ],
  7978. "produces": [
  7979. "application/json"
  7980. ],
  7981. "tags": [
  7982. "定制【尚志大宗】"
  7983. ],
  7984. "summary": "交易系统转换流水查询",
  7985. "parameters": [
  7986. {
  7987. "type": "string",
  7988. "description": "资金账户 - 格式:1,2,3",
  7989. "name": "accountID",
  7990. "in": "query",
  7991. "required": true
  7992. },
  7993. {
  7994. "type": "string",
  7995. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7996. "name": "startDate",
  7997. "in": "query"
  7998. },
  7999. {
  8000. "type": "string",
  8001. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8002. "name": "endDate",
  8003. "in": "query"
  8004. }
  8005. ],
  8006. "responses": {
  8007. "200": {
  8008. "description": "OK",
  8009. "schema": {
  8010. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8011. }
  8012. },
  8013. "500": {
  8014. "description": "Internal Server Error",
  8015. "schema": {
  8016. "$ref": "#/definitions/app.Response"
  8017. }
  8018. }
  8019. }
  8020. }
  8021. },
  8022. "/SZDZ/QueryGoodsPickup": {
  8023. "get": {
  8024. "security": [
  8025. {
  8026. "ApiKeyAuth": []
  8027. }
  8028. ],
  8029. "produces": [
  8030. "application/json"
  8031. ],
  8032. "tags": [
  8033. "定制【尚志大宗】"
  8034. ],
  8035. "summary": "商品提货单查询",
  8036. "parameters": [
  8037. {
  8038. "type": "string",
  8039. "description": "资金账户 - 格式:1,2,3",
  8040. "name": "accountID",
  8041. "in": "query",
  8042. "required": true
  8043. },
  8044. {
  8045. "type": "integer",
  8046. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8047. "name": "takeOrderStatus",
  8048. "in": "query"
  8049. }
  8050. ],
  8051. "responses": {
  8052. "200": {
  8053. "description": "OK",
  8054. "schema": {
  8055. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/SZDZ/QueryRecieptOrder": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "定制【尚志大宗】"
  8080. ],
  8081. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "页码",
  8086. "name": "page",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "每页条数",
  8092. "name": "pagesize",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "integer",
  8097. "description": "商品ID",
  8098. "name": "goodsID",
  8099. "in": "query",
  8100. "required": true
  8101. },
  8102. {
  8103. "type": "string",
  8104. "description": "所属账户名称",
  8105. "name": "accountName",
  8106. "in": "query"
  8107. },
  8108. {
  8109. "type": "integer",
  8110. "description": "市场ID",
  8111. "name": "marketID",
  8112. "in": "query"
  8113. },
  8114. {
  8115. "type": "integer",
  8116. "description": "方向 - 0:买 1:卖",
  8117. "name": "buyorsell",
  8118. "in": "query",
  8119. "required": true
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8127. }
  8128. },
  8129. "500": {
  8130. "description": "Internal Server Error",
  8131. "schema": {
  8132. "$ref": "#/definitions/app.Response"
  8133. }
  8134. }
  8135. }
  8136. }
  8137. },
  8138. "/SZDZ/QuerySZDZTradePosition": {
  8139. "get": {
  8140. "security": [
  8141. {
  8142. "ApiKeyAuth": []
  8143. }
  8144. ],
  8145. "produces": [
  8146. "application/json"
  8147. ],
  8148. "tags": [
  8149. "定制【尚志大宗】"
  8150. ],
  8151. "summary": "持仓汇总查询(尚志大宗)",
  8152. "parameters": [
  8153. {
  8154. "type": "integer",
  8155. "description": "资金账户",
  8156. "name": "accountID",
  8157. "in": "query",
  8158. "required": true
  8159. }
  8160. ],
  8161. "responses": {
  8162. "200": {
  8163. "description": "OK",
  8164. "schema": {
  8165. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8166. }
  8167. },
  8168. "500": {
  8169. "description": "Internal Server Error",
  8170. "schema": {
  8171. "$ref": "#/definitions/app.Response"
  8172. }
  8173. }
  8174. }
  8175. }
  8176. },
  8177. "/SZDZ/SearchWhite": {
  8178. "get": {
  8179. "security": [
  8180. {
  8181. "ApiKeyAuth": []
  8182. }
  8183. ],
  8184. "produces": [
  8185. "application/json"
  8186. ],
  8187. "tags": [
  8188. "定制【尚志大宗】"
  8189. ],
  8190. "summary": "搜索白名单",
  8191. "parameters": [
  8192. {
  8193. "type": "integer",
  8194. "description": "用户ID",
  8195. "name": "userID",
  8196. "in": "query",
  8197. "required": true
  8198. }
  8199. ],
  8200. "responses": {
  8201. "200": {
  8202. "description": "OK",
  8203. "schema": {
  8204. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8205. }
  8206. },
  8207. "500": {
  8208. "description": "Internal Server Error",
  8209. "schema": {
  8210. "$ref": "#/definitions/app.Response"
  8211. }
  8212. }
  8213. }
  8214. }
  8215. },
  8216. "/Search/SearchGoodses": {
  8217. "get": {
  8218. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8219. "produces": [
  8220. "application/json"
  8221. ],
  8222. "tags": [
  8223. "检索服务"
  8224. ],
  8225. "summary": "检索商品信息",
  8226. "parameters": [
  8227. {
  8228. "type": "string",
  8229. "description": "检索内容",
  8230. "name": "content",
  8231. "in": "query",
  8232. "required": true
  8233. },
  8234. {
  8235. "type": "string",
  8236. "description": "交易模式,格式:1,2,3",
  8237. "name": "tradeModes",
  8238. "in": "query"
  8239. }
  8240. ],
  8241. "responses": {
  8242. "200": {
  8243. "description": "OK",
  8244. "schema": {
  8245. "$ref": "#/definitions/models.SearchGoods"
  8246. }
  8247. },
  8248. "500": {
  8249. "description": "Internal Server Error",
  8250. "schema": {
  8251. "$ref": "#/definitions/app.Response"
  8252. }
  8253. }
  8254. }
  8255. }
  8256. },
  8257. "/TaAccount/GetTaAccounts": {
  8258. "get": {
  8259. "security": [
  8260. {
  8261. "ApiKeyAuth": []
  8262. }
  8263. ],
  8264. "produces": [
  8265. "application/json"
  8266. ],
  8267. "tags": [
  8268. "资金账户"
  8269. ],
  8270. "summary": "获取资金账户信息",
  8271. "parameters": [
  8272. {
  8273. "type": "integer",
  8274. "description": "登录账户",
  8275. "name": "loginID",
  8276. "in": "query",
  8277. "required": true
  8278. },
  8279. {
  8280. "type": "integer",
  8281. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8282. "name": "taAccountType",
  8283. "in": "query"
  8284. }
  8285. ],
  8286. "responses": {
  8287. "200": {
  8288. "description": "OK",
  8289. "schema": {
  8290. "$ref": "#/definitions/models.Taaccount"
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/TaAccount/QueryAmountLog": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "资金账户"
  8314. ],
  8315. "summary": "资金流水查询(当前)",
  8316. "parameters": [
  8317. {
  8318. "type": "integer",
  8319. "description": "页码",
  8320. "name": "page",
  8321. "in": "query"
  8322. },
  8323. {
  8324. "type": "integer",
  8325. "description": "每页条数",
  8326. "name": "pagesize",
  8327. "in": "query"
  8328. },
  8329. {
  8330. "type": "string",
  8331. "description": "资金账户 - 格式:1,2,3",
  8332. "name": "accountID",
  8333. "in": "query",
  8334. "required": true
  8335. },
  8336. {
  8337. "type": "string",
  8338. "description": "资金操作类型 - 格式:1,2,3",
  8339. "name": "OperateType",
  8340. "in": "query"
  8341. }
  8342. ],
  8343. "responses": {
  8344. "200": {
  8345. "description": "OK",
  8346. "schema": {
  8347. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/TaAccount/QueryHisAmountLog": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "资金账户"
  8371. ],
  8372. "summary": "资金流水查询(历史)",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "页码",
  8377. "name": "page",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "每页条数",
  8383. "name": "pagesize",
  8384. "in": "query"
  8385. },
  8386. {
  8387. "type": "string",
  8388. "description": "资金账户 - 格式:1,2,3",
  8389. "name": "accountID",
  8390. "in": "query",
  8391. "required": true
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "资金操作类型 - 格式:1,2,3",
  8396. "name": "OperateType",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8402. "name": "startDate",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8408. "name": "endDate",
  8409. "in": "query"
  8410. }
  8411. ],
  8412. "responses": {
  8413. "200": {
  8414. "description": "OK",
  8415. "schema": {
  8416. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8417. }
  8418. },
  8419. "500": {
  8420. "description": "Internal Server Error",
  8421. "schema": {
  8422. "$ref": "#/definitions/app.Response"
  8423. }
  8424. }
  8425. }
  8426. }
  8427. },
  8428. "/Trade/QueryRecieptOrder": {
  8429. "get": {
  8430. "security": [
  8431. {
  8432. "ApiKeyAuth": []
  8433. }
  8434. ],
  8435. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8436. "produces": [
  8437. "application/json"
  8438. ],
  8439. "tags": [
  8440. "通用交易"
  8441. ],
  8442. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8443. "parameters": [
  8444. {
  8445. "type": "integer",
  8446. "description": "页码",
  8447. "name": "page",
  8448. "in": "query"
  8449. },
  8450. {
  8451. "type": "integer",
  8452. "description": "每页条数",
  8453. "name": "pagesize",
  8454. "in": "query"
  8455. },
  8456. {
  8457. "type": "integer",
  8458. "description": "商品ID",
  8459. "name": "goodsID",
  8460. "in": "query",
  8461. "required": true
  8462. },
  8463. {
  8464. "type": "string",
  8465. "description": "所属账户名称",
  8466. "name": "accountName",
  8467. "in": "query"
  8468. },
  8469. {
  8470. "type": "integer",
  8471. "description": "市场ID",
  8472. "name": "marketID",
  8473. "in": "query"
  8474. },
  8475. {
  8476. "type": "integer",
  8477. "description": "方向 - 0:买 1:卖",
  8478. "name": "buyorsell",
  8479. "in": "query",
  8480. "required": true
  8481. }
  8482. ],
  8483. "responses": {
  8484. "200": {
  8485. "description": "OK",
  8486. "schema": {
  8487. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8488. }
  8489. },
  8490. "500": {
  8491. "description": "Internal Server Error",
  8492. "schema": {
  8493. "$ref": "#/definitions/app.Response"
  8494. }
  8495. }
  8496. }
  8497. }
  8498. },
  8499. "/User/AddMessageBoard": {
  8500. "post": {
  8501. "security": [
  8502. {
  8503. "ApiKeyAuth": []
  8504. }
  8505. ],
  8506. "produces": [
  8507. "application/json"
  8508. ],
  8509. "tags": [
  8510. "用户信息"
  8511. ],
  8512. "summary": "添加用户留言板信息",
  8513. "parameters": [
  8514. {
  8515. "type": "integer",
  8516. "description": "用户ID",
  8517. "name": "userID",
  8518. "in": "query",
  8519. "required": true
  8520. },
  8521. {
  8522. "type": "string",
  8523. "description": "留言信息",
  8524. "name": "message",
  8525. "in": "query",
  8526. "required": true
  8527. },
  8528. {
  8529. "type": "string",
  8530. "description": "联系电话",
  8531. "name": "contactNum",
  8532. "in": "query",
  8533. "required": true
  8534. }
  8535. ],
  8536. "responses": {
  8537. "200": {
  8538. "description": "OK",
  8539. "schema": {
  8540. "$ref": "#/definitions/app.Response"
  8541. }
  8542. },
  8543. "500": {
  8544. "description": "Internal Server Error",
  8545. "schema": {
  8546. "$ref": "#/definitions/app.Response"
  8547. }
  8548. }
  8549. }
  8550. }
  8551. },
  8552. "/User/AddUserFavoriteGoods": {
  8553. "post": {
  8554. "security": [
  8555. {
  8556. "ApiKeyAuth": []
  8557. }
  8558. ],
  8559. "produces": [
  8560. "application/json"
  8561. ],
  8562. "tags": [
  8563. "用户信息"
  8564. ],
  8565. "summary": "添加用户商品收藏信息",
  8566. "parameters": [
  8567. {
  8568. "type": "integer",
  8569. "description": "用户ID",
  8570. "name": "userID",
  8571. "in": "query",
  8572. "required": true
  8573. },
  8574. {
  8575. "type": "integer",
  8576. "description": "商品ID",
  8577. "name": "goodsID",
  8578. "in": "query",
  8579. "required": true
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "$ref": "#/definitions/app.Response"
  8587. }
  8588. },
  8589. "500": {
  8590. "description": "Internal Server Error",
  8591. "schema": {
  8592. "$ref": "#/definitions/app.Response"
  8593. }
  8594. }
  8595. }
  8596. }
  8597. },
  8598. "/User/GetLoginID": {
  8599. "get": {
  8600. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8601. "produces": [
  8602. "application/json"
  8603. ],
  8604. "tags": [
  8605. "用户信息"
  8606. ],
  8607. "summary": "获取登录ID",
  8608. "parameters": [
  8609. {
  8610. "type": "string",
  8611. "description": "登录代码",
  8612. "name": "username",
  8613. "in": "query",
  8614. "required": true
  8615. }
  8616. ],
  8617. "responses": {
  8618. "200": {
  8619. "description": "OK",
  8620. "schema": {
  8621. "$ref": "#/definitions/app.Response"
  8622. }
  8623. },
  8624. "500": {
  8625. "description": "Internal Server Error",
  8626. "schema": {
  8627. "$ref": "#/definitions/app.Response"
  8628. }
  8629. }
  8630. }
  8631. }
  8632. },
  8633. "/User/GetUserAccount": {
  8634. "get": {
  8635. "security": [
  8636. {
  8637. "ApiKeyAuth": []
  8638. }
  8639. ],
  8640. "produces": [
  8641. "application/json"
  8642. ],
  8643. "tags": [
  8644. "用户信息"
  8645. ],
  8646. "summary": "获取用户账号信息",
  8647. "parameters": [
  8648. {
  8649. "type": "integer",
  8650. "description": "用户ID",
  8651. "name": "userID",
  8652. "in": "query",
  8653. "required": true
  8654. }
  8655. ],
  8656. "responses": {
  8657. "200": {
  8658. "description": "OK",
  8659. "schema": {
  8660. "$ref": "#/definitions/models.Useraccount"
  8661. }
  8662. },
  8663. "500": {
  8664. "description": "Internal Server Error",
  8665. "schema": {
  8666. "$ref": "#/definitions/app.Response"
  8667. }
  8668. }
  8669. }
  8670. }
  8671. },
  8672. "/User/GetUserAuthStatus": {
  8673. "get": {
  8674. "security": [
  8675. {
  8676. "ApiKeyAuth": []
  8677. }
  8678. ],
  8679. "produces": [
  8680. "application/json"
  8681. ],
  8682. "tags": [
  8683. "用户信息"
  8684. ],
  8685. "summary": "获取用户实名认证状态",
  8686. "parameters": [
  8687. {
  8688. "type": "integer",
  8689. "description": "用户ID",
  8690. "name": "userID",
  8691. "in": "query",
  8692. "required": true
  8693. }
  8694. ],
  8695. "responses": {
  8696. "200": {
  8697. "description": "OK",
  8698. "schema": {
  8699. "$ref": "#/definitions/app.Response"
  8700. }
  8701. },
  8702. "500": {
  8703. "description": "Internal Server Error",
  8704. "schema": {
  8705. "$ref": "#/definitions/app.Response"
  8706. }
  8707. }
  8708. }
  8709. }
  8710. },
  8711. "/User/LoginQuery": {
  8712. "get": {
  8713. "security": [
  8714. {
  8715. "ApiKeyAuth": []
  8716. }
  8717. ],
  8718. "produces": [
  8719. "application/json"
  8720. ],
  8721. "tags": [
  8722. "用户信息"
  8723. ],
  8724. "summary": "账户登录后信息查询",
  8725. "parameters": [
  8726. {
  8727. "type": "integer",
  8728. "description": "登录账号",
  8729. "name": "loginID",
  8730. "in": "query",
  8731. "required": true
  8732. }
  8733. ],
  8734. "responses": {
  8735. "200": {
  8736. "description": "OK",
  8737. "schema": {
  8738. "$ref": "#/definitions/user.LoginQueryRsp"
  8739. }
  8740. },
  8741. "500": {
  8742. "description": "Internal Server Error",
  8743. "schema": {
  8744. "$ref": "#/definitions/app.Response"
  8745. }
  8746. }
  8747. }
  8748. }
  8749. },
  8750. "/User/QueryMessageBoard": {
  8751. "get": {
  8752. "security": [
  8753. {
  8754. "ApiKeyAuth": []
  8755. }
  8756. ],
  8757. "produces": [
  8758. "application/json"
  8759. ],
  8760. "tags": [
  8761. "用户信息"
  8762. ],
  8763. "summary": "获取用户留言板信息",
  8764. "parameters": [
  8765. {
  8766. "type": "integer",
  8767. "description": "用户ID",
  8768. "name": "userID",
  8769. "in": "query",
  8770. "required": true
  8771. }
  8772. ],
  8773. "responses": {
  8774. "200": {
  8775. "description": "OK",
  8776. "schema": {
  8777. "$ref": "#/definitions/models.Messageboard"
  8778. }
  8779. },
  8780. "500": {
  8781. "description": "Internal Server Error",
  8782. "schema": {
  8783. "$ref": "#/definitions/app.Response"
  8784. }
  8785. }
  8786. }
  8787. }
  8788. },
  8789. "/User/QueryUserFavoriteGoodses": {
  8790. "get": {
  8791. "security": [
  8792. {
  8793. "ApiKeyAuth": []
  8794. }
  8795. ],
  8796. "produces": [
  8797. "application/json"
  8798. ],
  8799. "tags": [
  8800. "用户信息"
  8801. ],
  8802. "summary": "获取用户商品收藏信息",
  8803. "parameters": [
  8804. {
  8805. "type": "integer",
  8806. "description": "用户ID",
  8807. "name": "userID",
  8808. "in": "query",
  8809. "required": true
  8810. }
  8811. ],
  8812. "responses": {
  8813. "200": {
  8814. "description": "OK",
  8815. "schema": {
  8816. "$ref": "#/definitions/models.Userfavoritegoods"
  8817. }
  8818. },
  8819. "500": {
  8820. "description": "Internal Server Error",
  8821. "schema": {
  8822. "$ref": "#/definitions/app.Response"
  8823. }
  8824. }
  8825. }
  8826. }
  8827. },
  8828. "/User/QueryUserInfo": {
  8829. "get": {
  8830. "security": [
  8831. {
  8832. "ApiKeyAuth": []
  8833. }
  8834. ],
  8835. "produces": [
  8836. "application/json"
  8837. ],
  8838. "tags": [
  8839. "用户信息"
  8840. ],
  8841. "summary": "获取用户信息",
  8842. "parameters": [
  8843. {
  8844. "type": "integer",
  8845. "description": "用户ID",
  8846. "name": "userID",
  8847. "in": "query",
  8848. "required": true
  8849. },
  8850. {
  8851. "type": "boolean",
  8852. "description": "是否解密",
  8853. "name": "isDecrypt",
  8854. "in": "query"
  8855. }
  8856. ],
  8857. "responses": {
  8858. "200": {
  8859. "description": "OK",
  8860. "schema": {
  8861. "$ref": "#/definitions/models.Userinfo"
  8862. }
  8863. },
  8864. "500": {
  8865. "description": "Internal Server Error",
  8866. "schema": {
  8867. "$ref": "#/definitions/app.Response"
  8868. }
  8869. }
  8870. }
  8871. }
  8872. },
  8873. "/User/QueryUserReferNum": {
  8874. "get": {
  8875. "produces": [
  8876. "application/json"
  8877. ],
  8878. "tags": [
  8879. "用户信息"
  8880. ],
  8881. "summary": "获取用户邀请码",
  8882. "parameters": [
  8883. {
  8884. "type": "integer",
  8885. "description": "用户ID",
  8886. "name": "userID",
  8887. "in": "query",
  8888. "required": true
  8889. }
  8890. ],
  8891. "responses": {
  8892. "200": {
  8893. "description": "OK",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. },
  8898. "500": {
  8899. "description": "Internal Server Error",
  8900. "schema": {
  8901. "$ref": "#/definitions/app.Response"
  8902. }
  8903. }
  8904. }
  8905. }
  8906. },
  8907. "/User/RemoveUserFavoriteGoods": {
  8908. "post": {
  8909. "security": [
  8910. {
  8911. "ApiKeyAuth": []
  8912. }
  8913. ],
  8914. "produces": [
  8915. "application/json"
  8916. ],
  8917. "tags": [
  8918. "用户信息"
  8919. ],
  8920. "summary": "移除用户商品收藏信息",
  8921. "parameters": [
  8922. {
  8923. "type": "integer",
  8924. "description": "用户ID",
  8925. "name": "userID",
  8926. "in": "query",
  8927. "required": true
  8928. },
  8929. {
  8930. "type": "integer",
  8931. "description": "商品ID",
  8932. "name": "goodsID",
  8933. "in": "query",
  8934. "required": true
  8935. }
  8936. ],
  8937. "responses": {
  8938. "200": {
  8939. "description": "OK",
  8940. "schema": {
  8941. "$ref": "#/definitions/app.Response"
  8942. }
  8943. },
  8944. "500": {
  8945. "description": "Internal Server Error",
  8946. "schema": {
  8947. "$ref": "#/definitions/app.Response"
  8948. }
  8949. }
  8950. }
  8951. }
  8952. },
  8953. "/User/UpdateUserAccountStatus": {
  8954. "post": {
  8955. "security": [
  8956. {
  8957. "ApiKeyAuth": []
  8958. }
  8959. ],
  8960. "produces": [
  8961. "application/json"
  8962. ],
  8963. "tags": [
  8964. "用户信息"
  8965. ],
  8966. "summary": "更新用户状态",
  8967. "parameters": [
  8968. {
  8969. "type": "integer",
  8970. "description": "用户ID",
  8971. "name": "userID",
  8972. "in": "query",
  8973. "required": true
  8974. },
  8975. {
  8976. "type": "integer",
  8977. "description": "账户状态 - 4:正常 6:注销(停用)",
  8978. "name": "accountStatus",
  8979. "in": "query",
  8980. "required": true
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "$ref": "#/definitions/app.Response"
  8988. }
  8989. },
  8990. "500": {
  8991. "description": "Internal Server Error",
  8992. "schema": {
  8993. "$ref": "#/definitions/app.Response"
  8994. }
  8995. }
  8996. }
  8997. }
  8998. },
  8999. "/WRTrade/GetAllDeliveryGoods": {
  9000. "get": {
  9001. "security": [
  9002. {
  9003. "ApiKeyAuth": []
  9004. },
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json",
  9011. "application/json"
  9012. ],
  9013. "tags": [
  9014. "仓单贸易",
  9015. "仓单贸易"
  9016. ],
  9017. "summary": "获取带仓单分类的种类信息",
  9018. "responses": {
  9019. "200": {
  9020. "description": "OK",
  9021. "schema": {
  9022. "$ref": "#/definitions/app.Response"
  9023. }
  9024. },
  9025. "500": {
  9026. "description": "Internal Server Error",
  9027. "schema": {
  9028. "$ref": "#/definitions/app.Response"
  9029. }
  9030. }
  9031. }
  9032. }
  9033. }
  9034. },
  9035. "definitions": {
  9036. "app.Response": {
  9037. "type": "object",
  9038. "properties": {
  9039. "code": {
  9040. "type": "integer"
  9041. },
  9042. "data": {
  9043. "type": "object"
  9044. },
  9045. "msg": {
  9046. "type": "string"
  9047. },
  9048. "page": {
  9049. "description": "页码",
  9050. "type": "integer"
  9051. },
  9052. "pagesize": {
  9053. "description": "每页条数",
  9054. "type": "integer"
  9055. },
  9056. "total": {
  9057. "description": "总条数",
  9058. "type": "integer"
  9059. }
  9060. }
  9061. },
  9062. "common.ClientMenu": {
  9063. "type": "object",
  9064. "properties": {
  9065. "children": {
  9066. "description": "子菜单列表",
  9067. "type": "array",
  9068. "items": {
  9069. "$ref": "#/definitions/common.ClientMenu"
  9070. }
  9071. },
  9072. "code": {
  9073. "description": "ID",
  9074. "type": "string"
  9075. },
  9076. "isshow": {
  9077. "description": "是否显示",
  9078. "type": "boolean"
  9079. },
  9080. "rulekey": {
  9081. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9082. "type": "string"
  9083. },
  9084. "sort": {
  9085. "description": "排序",
  9086. "type": "integer"
  9087. },
  9088. "title": {
  9089. "description": "标题",
  9090. "type": "string"
  9091. },
  9092. "type": {
  9093. "description": "类型,1:菜单 2:按钮",
  9094. "type": "integer"
  9095. }
  9096. }
  9097. },
  9098. "common.QueryImageConfigsRsp": {
  9099. "type": "object",
  9100. "required": [
  9101. "configid"
  9102. ],
  9103. "properties": {
  9104. "areauserid": {
  9105. "description": "所属机构ID",
  9106. "type": "integer"
  9107. },
  9108. "configid": {
  9109. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9110. "type": "integer"
  9111. },
  9112. "createdate": {
  9113. "description": "创建时间",
  9114. "type": "string"
  9115. },
  9116. "creatorid": {
  9117. "description": "创建人",
  9118. "type": "integer"
  9119. },
  9120. "imagepath": {
  9121. "description": "图片",
  9122. "type": "string"
  9123. },
  9124. "imagetype": {
  9125. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9126. "type": "integer"
  9127. },
  9128. "isshow": {
  9129. "description": "是否展示 - 0:不展示 1:展示",
  9130. "type": "integer"
  9131. },
  9132. "marketid": {
  9133. "description": "市场ID",
  9134. "type": "integer"
  9135. },
  9136. "modifierid": {
  9137. "description": "操作人",
  9138. "type": "integer"
  9139. },
  9140. "sort": {
  9141. "description": "排序",
  9142. "type": "integer"
  9143. },
  9144. "title": {
  9145. "description": "标题",
  9146. "type": "string"
  9147. },
  9148. "trademode": {
  9149. "description": "交易模式",
  9150. "type": "integer"
  9151. },
  9152. "updatedate": {
  9153. "description": "修改时间",
  9154. "type": "string"
  9155. },
  9156. "url": {
  9157. "description": "链接(地址或商品ID)",
  9158. "type": "string"
  9159. },
  9160. "urltype": {
  9161. "description": "链接类型 - 1:直接地址 2:商品ID",
  9162. "type": "integer"
  9163. }
  9164. }
  9165. },
  9166. "common.QueryNoticeRsp": {
  9167. "type": "object",
  9168. "required": [
  9169. "autoid"
  9170. ],
  9171. "properties": {
  9172. "auditoruserid": {
  9173. "description": "审核人",
  9174. "type": "integer"
  9175. },
  9176. "auditremark": {
  9177. "description": "审核备注",
  9178. "type": "string"
  9179. },
  9180. "audittime": {
  9181. "description": "审核日期",
  9182. "type": "string"
  9183. },
  9184. "autoid": {
  9185. "description": "自增ID",
  9186. "type": "integer"
  9187. },
  9188. "content": {
  9189. "description": "内容",
  9190. "type": "string"
  9191. },
  9192. "createtime": {
  9193. "description": "创建时间",
  9194. "type": "string"
  9195. },
  9196. "creatorid": {
  9197. "description": "建仓人",
  9198. "type": "integer"
  9199. },
  9200. "endtime": {
  9201. "description": "结束时间",
  9202. "type": "string"
  9203. },
  9204. "istop": {
  9205. "description": "是否置顶 - 0:不置顶 1:置顶",
  9206. "type": "integer"
  9207. },
  9208. "msgiconurl": {
  9209. "description": "消息图标Url",
  9210. "type": "string"
  9211. },
  9212. "msgtype": {
  9213. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9214. "type": "integer"
  9215. },
  9216. "publisher": {
  9217. "description": "消息发布者",
  9218. "type": "string"
  9219. },
  9220. "readed": {
  9221. "description": "是否已读",
  9222. "type": "boolean"
  9223. },
  9224. "scheduletime": {
  9225. "description": "计划发送时间",
  9226. "type": "string"
  9227. },
  9228. "sendtype": {
  9229. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9230. "type": "integer"
  9231. },
  9232. "sentstatus": {
  9233. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9234. "type": "integer"
  9235. },
  9236. "title": {
  9237. "description": "标题",
  9238. "type": "string"
  9239. },
  9240. "userid": {
  9241. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9242. "type": "integer"
  9243. }
  9244. }
  9245. },
  9246. "common.QueryProvincesAndCitiesRsp": {
  9247. "type": "object",
  9248. "properties": {
  9249. "cities": {
  9250. "description": "市",
  9251. "type": "array",
  9252. "items": {
  9253. "$ref": "#/definitions/models.Division"
  9254. }
  9255. },
  9256. "province": {
  9257. "description": "省",
  9258. "type": "object",
  9259. "$ref": "#/definitions/models.Division"
  9260. }
  9261. }
  9262. },
  9263. "common.QueryTableDefineRsp": {
  9264. "type": "object",
  9265. "required": [
  9266. "tablekey"
  9267. ],
  9268. "properties": {
  9269. "columns": {
  9270. "description": "列头信息数组",
  9271. "type": "array",
  9272. "items": {
  9273. "$ref": "#/definitions/models.Tablecolumnconfig"
  9274. }
  9275. },
  9276. "remark": {
  9277. "description": "Remark",
  9278. "type": "string"
  9279. },
  9280. "tabelmenu": {
  9281. "description": "列表菜单",
  9282. "type": "string"
  9283. },
  9284. "tablekey": {
  9285. "description": "列表Key",
  9286. "type": "string"
  9287. },
  9288. "tablename": {
  9289. "description": "列表名称",
  9290. "type": "string"
  9291. },
  9292. "tabletype": {
  9293. "description": "列表类型 - 1:管理端 2:终端",
  9294. "type": "integer"
  9295. }
  9296. }
  9297. },
  9298. "common.QueryTraderMenuRsp": {
  9299. "type": "object",
  9300. "properties": {
  9301. "OperationMenu": {
  9302. "description": "功能菜单",
  9303. "type": "array",
  9304. "items": {
  9305. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9306. }
  9307. },
  9308. "QuoteMenu": {
  9309. "description": "报价牌分类菜单",
  9310. "type": "array",
  9311. "items": {
  9312. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9313. }
  9314. }
  9315. }
  9316. },
  9317. "cptrade.Cptradepositioncancel": {
  9318. "type": "object",
  9319. "required": [
  9320. "cancelid"
  9321. ],
  9322. "properties": {
  9323. "accountid": {
  9324. "description": "申请人账户ID",
  9325. "type": "integer"
  9326. },
  9327. "applystatus": {
  9328. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9329. "type": "integer"
  9330. },
  9331. "applytime": {
  9332. "description": "申请时间",
  9333. "type": "string"
  9334. },
  9335. "cancelid": {
  9336. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9337. "type": "integer"
  9338. },
  9339. "cancelqty": {
  9340. "description": "注销数量",
  9341. "type": "integer"
  9342. },
  9343. "createtime": {
  9344. "description": "创建时间",
  9345. "type": "string"
  9346. },
  9347. "creatorid": {
  9348. "description": "创建人ID",
  9349. "type": "integer"
  9350. },
  9351. "creatorname": {
  9352. "description": "创建人",
  9353. "type": "string"
  9354. },
  9355. "goodscode": {
  9356. "description": "订单商品代码",
  9357. "type": "string"
  9358. },
  9359. "goodsid": {
  9360. "description": "商品ID",
  9361. "type": "integer"
  9362. },
  9363. "goodsname": {
  9364. "description": "订单商品名称",
  9365. "type": "string"
  9366. },
  9367. "goodunit": {
  9368. "description": "报价单位",
  9369. "type": "string"
  9370. },
  9371. "handlestatus": {
  9372. "description": "处理状态",
  9373. "type": "integer"
  9374. },
  9375. "marketid": {
  9376. "description": "市场ID",
  9377. "type": "integer"
  9378. },
  9379. "marketname": {
  9380. "description": "市场名称",
  9381. "type": "string"
  9382. },
  9383. "tradedate": {
  9384. "description": "交易日(yyyyMMdd)",
  9385. "type": "string"
  9386. },
  9387. "userid": {
  9388. "description": "申请人ID",
  9389. "type": "integer"
  9390. }
  9391. }
  9392. },
  9393. "cptrade.Cptradepresaleapply": {
  9394. "type": "object",
  9395. "required": [
  9396. "applyid"
  9397. ],
  9398. "properties": {
  9399. "accountid": {
  9400. "description": "申请人账户ID",
  9401. "type": "integer"
  9402. },
  9403. "applyid": {
  9404. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9405. "type": "integer"
  9406. },
  9407. "applyremark": {
  9408. "description": "申请备注",
  9409. "type": "string"
  9410. },
  9411. "applystatus": {
  9412. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9413. "type": "integer"
  9414. },
  9415. "applytime": {
  9416. "description": "申请时间",
  9417. "type": "string"
  9418. },
  9419. "attachmenturl": {
  9420. "description": "附件地址",
  9421. "type": "string"
  9422. },
  9423. "endtime": {
  9424. "description": "预售结束时间",
  9425. "type": "string"
  9426. },
  9427. "goodscode": {
  9428. "description": "商品代码",
  9429. "type": "string"
  9430. },
  9431. "goodsid": {
  9432. "description": "商品ID",
  9433. "type": "integer"
  9434. },
  9435. "goodsname": {
  9436. "description": "商品名称",
  9437. "type": "string"
  9438. },
  9439. "goodunit": {
  9440. "description": "报价单位",
  9441. "type": "string"
  9442. },
  9443. "handlestatus": {
  9444. "description": "处理状态",
  9445. "type": "integer"
  9446. },
  9447. "marketid": {
  9448. "description": "预售市场ID",
  9449. "type": "integer"
  9450. },
  9451. "marketname": {
  9452. "description": "预售市场名称",
  9453. "type": "string"
  9454. },
  9455. "presaleqty": {
  9456. "description": "预售数量",
  9457. "type": "integer"
  9458. },
  9459. "relatedgoodscode": {
  9460. "description": "关联交易合约代码",
  9461. "type": "string"
  9462. },
  9463. "relatedgoodsid": {
  9464. "description": "关联交易合约ID",
  9465. "type": "integer"
  9466. },
  9467. "relatedgoodsname": {
  9468. "description": "关联交易合约名称",
  9469. "type": "string"
  9470. },
  9471. "starttime": {
  9472. "description": "预售开始时间",
  9473. "type": "string"
  9474. },
  9475. "tradedate": {
  9476. "description": "交易日(yyyyMMdd)",
  9477. "type": "string"
  9478. },
  9479. "trademode": {
  9480. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9481. "type": "integer"
  9482. },
  9483. "userid": {
  9484. "description": "申请人ID",
  9485. "type": "integer"
  9486. }
  9487. }
  9488. },
  9489. "cptrade.Cptradeusergoodsdata": {
  9490. "type": "object",
  9491. "required": [
  9492. "accountid",
  9493. "goodsid"
  9494. ],
  9495. "properties": {
  9496. "EnabledQty": {
  9497. "description": "可用量",
  9498. "type": "integer"
  9499. },
  9500. "GoodsCode": {
  9501. "description": "订单商品代码",
  9502. "type": "string"
  9503. },
  9504. "GoodsName": {
  9505. "description": "订单商品名称",
  9506. "type": "string"
  9507. },
  9508. "WRStandardCode": {
  9509. "description": "仓单标准代码",
  9510. "type": "string"
  9511. },
  9512. "WRStandardName": {
  9513. "description": "仓单标准名称",
  9514. "type": "string"
  9515. },
  9516. "accountid": {
  9517. "description": "账户ID",
  9518. "type": "integer"
  9519. },
  9520. "cancelqty": {
  9521. "description": "注销量",
  9522. "type": "integer"
  9523. },
  9524. "curpresaleqty": {
  9525. "description": "当前预售量",
  9526. "type": "integer"
  9527. },
  9528. "deliveryqty": {
  9529. "description": "交割量",
  9530. "type": "integer"
  9531. },
  9532. "freezeamount": {
  9533. "description": "冻结金额",
  9534. "type": "number"
  9535. },
  9536. "goodsid": {
  9537. "description": "商品ID",
  9538. "type": "integer"
  9539. },
  9540. "goodunit": {
  9541. "description": "报价单位",
  9542. "type": "string"
  9543. },
  9544. "hasspotfreeze": {
  9545. "description": "是否有现货冻结 - 0:否 1:有",
  9546. "type": "integer"
  9547. },
  9548. "inqty": {
  9549. "description": "转入量(总数量)",
  9550. "type": "integer"
  9551. },
  9552. "marketid": {
  9553. "description": "市场ID",
  9554. "type": "integer"
  9555. },
  9556. "presaledamount": {
  9557. "description": "已预售总金额",
  9558. "type": "integer"
  9559. },
  9560. "presaledqty": {
  9561. "description": "已预售量",
  9562. "type": "integer"
  9563. },
  9564. "userid": {
  9565. "description": "用户ID",
  9566. "type": "integer"
  9567. },
  9568. "wrstandardid": {
  9569. "description": "仓单标准ID",
  9570. "type": "integer"
  9571. }
  9572. }
  9573. },
  9574. "cptrade.QueryCPTradeMyBidRsp": {
  9575. "type": "object",
  9576. "required": [
  9577. "accountid",
  9578. "goodsid",
  9579. "marketid",
  9580. "orderid",
  9581. "orderqty",
  9582. "ordertime",
  9583. "tradeprice",
  9584. "tradeqty"
  9585. ],
  9586. "properties": {
  9587. "accountid": {
  9588. "description": "账户ID[报价币种]",
  9589. "type": "integer"
  9590. },
  9591. "goodsid": {
  9592. "description": "商品ID",
  9593. "type": "integer"
  9594. },
  9595. "goodunit": {
  9596. "description": "报价单位",
  9597. "type": "string"
  9598. },
  9599. "marketid": {
  9600. "description": "市场ID",
  9601. "type": "integer"
  9602. },
  9603. "orderid": {
  9604. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9605. "type": "integer"
  9606. },
  9607. "orderprice": {
  9608. "description": "委托价格",
  9609. "type": "number"
  9610. },
  9611. "orderqty": {
  9612. "description": "委托数量",
  9613. "type": "integer"
  9614. },
  9615. "ordertime": {
  9616. "description": "委托时间",
  9617. "type": "string"
  9618. },
  9619. "ordertotalprice": {
  9620. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9621. "type": "number"
  9622. },
  9623. "ordertotalweight": {
  9624. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9625. "type": "integer"
  9626. },
  9627. "totaltotalprice": {
  9628. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9629. "type": "number"
  9630. },
  9631. "tradeprice": {
  9632. "description": "成交价格",
  9633. "type": "number"
  9634. },
  9635. "tradeqty": {
  9636. "description": "成交数量",
  9637. "type": "integer"
  9638. }
  9639. }
  9640. },
  9641. "cptrade.QueryCPTradeOrderDetailRsq": {
  9642. "type": "object",
  9643. "required": [
  9644. "accountid",
  9645. "buildtype",
  9646. "buyorsell",
  9647. "goodsid",
  9648. "marketid",
  9649. "memberuserid",
  9650. "operatetype",
  9651. "orderqty",
  9652. "ordertime",
  9653. "pricemode",
  9654. "strorderid",
  9655. "tradedate",
  9656. "validtype"
  9657. ],
  9658. "properties": {
  9659. "accountid": {
  9660. "description": "账户ID[报价币种]",
  9661. "type": "integer"
  9662. },
  9663. "buildtype": {
  9664. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9665. "type": "integer"
  9666. },
  9667. "buyorsell": {
  9668. "description": "买卖 - 0:买 1:卖",
  9669. "type": "integer"
  9670. },
  9671. "cancelorderid": {
  9672. "description": "撤单单号(撤单时填写)",
  9673. "type": "integer"
  9674. },
  9675. "cancelqty": {
  9676. "description": "撤单数量",
  9677. "type": "integer"
  9678. },
  9679. "clientordertime": {
  9680. "description": "客户端委托时间",
  9681. "type": "string"
  9682. },
  9683. "clientticket": {
  9684. "description": "客户端流水号",
  9685. "type": "string"
  9686. },
  9687. "clienttype": {
  9688. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9689. "type": "integer"
  9690. },
  9691. "closeexchagechargevalue": {
  9692. "description": "平仓交易所手续费设置值",
  9693. "type": "number"
  9694. },
  9695. "closefeealgorithm": {
  9696. "description": "平仓手续费收取方式 1:比率 2:固定",
  9697. "type": "integer"
  9698. },
  9699. "closefreezecharge": {
  9700. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9701. "type": "number"
  9702. },
  9703. "closememberchargevalue": {
  9704. "description": "平仓会员手续费设置值",
  9705. "type": "number"
  9706. },
  9707. "closeqty": {
  9708. "description": "平仓数量(先建后平操作 需要记录)",
  9709. "type": "integer"
  9710. },
  9711. "closetradeqty": {
  9712. "description": "平仓成交数量(先建后平操作,需要记录)",
  9713. "type": "integer"
  9714. },
  9715. "closeunfreezecharge": {
  9716. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9717. "type": "number"
  9718. },
  9719. "delistingtype": {
  9720. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9721. "type": "integer"
  9722. },
  9723. "freezecharge": {
  9724. "description": "冻结手续费",
  9725. "type": "number"
  9726. },
  9727. "freezemargin": {
  9728. "description": "冻结保证金(冻结交易金额)",
  9729. "type": "number"
  9730. },
  9731. "gcaccountid": {
  9732. "description": "账户ID[合约币种]",
  9733. "type": "integer"
  9734. },
  9735. "goodsid": {
  9736. "description": "商品ID",
  9737. "type": "integer"
  9738. },
  9739. "isconfirmexercise": {
  9740. "description": "是否确认行权- 0:否 1:是",
  9741. "type": "integer"
  9742. },
  9743. "ispreexercise": {
  9744. "description": "是否预申报- 0:否 1:是",
  9745. "type": "integer"
  9746. },
  9747. "listingselecttype": {
  9748. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9749. "type": "integer"
  9750. },
  9751. "marginalgorithm": {
  9752. "description": "保证金收取方式 1:比率 2:固定",
  9753. "type": "integer"
  9754. },
  9755. "marginvalue": {
  9756. "description": "即市保证金设置值",
  9757. "type": "number"
  9758. },
  9759. "marketid": {
  9760. "description": "市场ID",
  9761. "type": "integer"
  9762. },
  9763. "marketmaxsub": {
  9764. "description": "市价最大偏移范围",
  9765. "type": "number"
  9766. },
  9767. "memberuserid": {
  9768. "description": "所属会员UserID",
  9769. "type": "integer"
  9770. },
  9771. "openexchagechargevalue": {
  9772. "description": "建仓交易所手续费设置值",
  9773. "type": "number"
  9774. },
  9775. "openfeealgorithm": {
  9776. "description": "建仓手续费收取方式 1:比率 2:固定",
  9777. "type": "integer"
  9778. },
  9779. "openfreezecharge": {
  9780. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9781. "type": "number"
  9782. },
  9783. "openmemberchargevalue": {
  9784. "description": "建仓会员手续费设置值",
  9785. "type": "number"
  9786. },
  9787. "openqty": {
  9788. "description": "开仓数量(先建后平操作,需要记录)",
  9789. "type": "integer"
  9790. },
  9791. "opentradeqty": {
  9792. "description": "开仓成交数量(先建后平操作,需要记录)",
  9793. "type": "integer"
  9794. },
  9795. "openunfreezecharge": {
  9796. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9797. "type": "number"
  9798. },
  9799. "operatetype": {
  9800. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9801. "type": "integer"
  9802. },
  9803. "operatorid": {
  9804. "description": "登录账号(LoginID)",
  9805. "type": "integer"
  9806. },
  9807. "optiontype": {
  9808. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9809. "type": "integer"
  9810. },
  9811. "orderprice": {
  9812. "description": "委托价格",
  9813. "type": "number"
  9814. },
  9815. "orderqty": {
  9816. "description": "委托数量",
  9817. "type": "integer"
  9818. },
  9819. "ordersrc": {
  9820. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9821. "type": "integer"
  9822. },
  9823. "orderstatus": {
  9824. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9825. "type": "integer"
  9826. },
  9827. "ordertime": {
  9828. "description": "委托时间",
  9829. "type": "string"
  9830. },
  9831. "preexerciseprice": {
  9832. "description": "预申报价格",
  9833. "type": "number"
  9834. },
  9835. "premium": {
  9836. "description": "权利金",
  9837. "type": "number"
  9838. },
  9839. "preorderid": {
  9840. "description": "关联预埋单号(止盈止损单时填写)",
  9841. "type": "integer"
  9842. },
  9843. "pricemode": {
  9844. "description": "取价方式 - 1:市价 2: 限价",
  9845. "type": "integer"
  9846. },
  9847. "quoteid": {
  9848. "description": "报价单ID",
  9849. "type": "integer"
  9850. },
  9851. "relatedid": {
  9852. "description": "关联单号(交割单)",
  9853. "type": "integer"
  9854. },
  9855. "retcode": {
  9856. "description": "错误代码",
  9857. "type": "integer"
  9858. },
  9859. "sessionid": {
  9860. "description": "会话ID",
  9861. "type": "integer"
  9862. },
  9863. "strorderid": {
  9864. "description": "委托单号",
  9865. "type": "string"
  9866. },
  9867. "tradedate": {
  9868. "description": "交易日(yyyyMMdd)",
  9869. "type": "string"
  9870. },
  9871. "tradeproperty": {
  9872. "description": "交易属性",
  9873. "type": "integer"
  9874. },
  9875. "tradeqty": {
  9876. "description": "成交数量",
  9877. "type": "integer"
  9878. },
  9879. "unfreezecharge": {
  9880. "description": "解冻手续费",
  9881. "type": "number"
  9882. },
  9883. "unfreezemargin": {
  9884. "description": "解冻保证金",
  9885. "type": "number"
  9886. },
  9887. "updatetime": {
  9888. "description": "更新时间",
  9889. "type": "string"
  9890. },
  9891. "uuid": {
  9892. "description": "发起端唯一id",
  9893. "type": "string"
  9894. },
  9895. "validtime": {
  9896. "description": "有效期限",
  9897. "type": "string"
  9898. },
  9899. "validtype": {
  9900. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9901. "type": "integer"
  9902. },
  9903. "volumetype": {
  9904. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9905. "type": "integer"
  9906. }
  9907. }
  9908. },
  9909. "cptrade.QueryMyCPTradeGoodsRsp": {
  9910. "type": "object",
  9911. "required": [
  9912. "goodscode",
  9913. "goodsid",
  9914. "goodsname",
  9915. "marketid",
  9916. "relatedgoodscode",
  9917. "relatedgoodsname"
  9918. ],
  9919. "properties": {
  9920. "accountid": {
  9921. "description": "卖方账户ID",
  9922. "type": "integer"
  9923. },
  9924. "agreeunit": {
  9925. "description": "合约单位",
  9926. "type": "number"
  9927. },
  9928. "applyid": {
  9929. "description": "关联申请ID",
  9930. "type": "integer"
  9931. },
  9932. "attachmenturl": {
  9933. "description": "附件地址",
  9934. "type": "string"
  9935. },
  9936. "createtime": {
  9937. "description": "创建时间",
  9938. "type": "string"
  9939. },
  9940. "currencyid": {
  9941. "description": "报价货币ID",
  9942. "type": "integer"
  9943. },
  9944. "decimalplace": {
  9945. "description": "报价小数位",
  9946. "type": "integer"
  9947. },
  9948. "endtime": {
  9949. "description": "预售结束时间",
  9950. "type": "string"
  9951. },
  9952. "floorprice": {
  9953. "description": "底价[大宗式竞拍]",
  9954. "type": "number"
  9955. },
  9956. "goodscode": {
  9957. "description": "商品代码(预售)",
  9958. "type": "string"
  9959. },
  9960. "goodsdetail": {
  9961. "description": "详情[大宗]",
  9962. "type": "string"
  9963. },
  9964. "goodsid": {
  9965. "description": "商品ID(自增ID SEQ_GOODS)",
  9966. "type": "integer"
  9967. },
  9968. "goodsname": {
  9969. "description": "商品名称(预售)",
  9970. "type": "string"
  9971. },
  9972. "goodunit": {
  9973. "description": "报价单位",
  9974. "type": "string"
  9975. },
  9976. "goodunitid": {
  9977. "description": "报价单位ID",
  9978. "type": "integer"
  9979. },
  9980. "marketid": {
  9981. "description": "所属市场ID",
  9982. "type": "integer"
  9983. },
  9984. "marketname": {
  9985. "description": "预售市场名称",
  9986. "type": "string"
  9987. },
  9988. "presaledamount": {
  9989. "description": "已预售总金额(预售结束时更新)",
  9990. "type": "number"
  9991. },
  9992. "presaledqty": {
  9993. "description": "已预售量(预售结束时更新)",
  9994. "type": "integer"
  9995. },
  9996. "presalemode": {
  9997. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9998. "type": "integer"
  9999. },
  10000. "presaleqty": {
  10001. "description": "预售数量",
  10002. "type": "integer"
  10003. },
  10004. "refprice": {
  10005. "description": "参考价格[一口价]",
  10006. "type": "number"
  10007. },
  10008. "relatedgoodscode": {
  10009. "description": "商品代码(订单)",
  10010. "type": "string"
  10011. },
  10012. "relatedgoodsid": {
  10013. "description": "关联交易合约ID",
  10014. "type": "integer"
  10015. },
  10016. "relatedgoodsname": {
  10017. "description": "商品名称(订单)",
  10018. "type": "string"
  10019. },
  10020. "relatedmarketid": {
  10021. "description": "关联交易合约市场ID",
  10022. "type": "integer"
  10023. },
  10024. "sellstatus": {
  10025. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10026. "type": "integer"
  10027. },
  10028. "startprice": {
  10029. "description": "起拍价[大宗式竞拍]",
  10030. "type": "number"
  10031. },
  10032. "starttime": {
  10033. "description": "预售开始时间",
  10034. "type": "string"
  10035. },
  10036. "tradedate": {
  10037. "description": "交易日(yyyyMMdd)",
  10038. "type": "string"
  10039. },
  10040. "tradeprice": {
  10041. "description": "成交价[大宗]",
  10042. "type": "number"
  10043. },
  10044. "userid": {
  10045. "description": "卖方用户ID",
  10046. "type": "integer"
  10047. }
  10048. }
  10049. },
  10050. "cptrade.QueryPresaleGoodsExRsp": {
  10051. "type": "object",
  10052. "required": [
  10053. "goodsid"
  10054. ],
  10055. "properties": {
  10056. "attachmenturl": {
  10057. "description": "附件地址",
  10058. "type": "string"
  10059. },
  10060. "createtime": {
  10061. "description": "创建时间",
  10062. "type": "string"
  10063. },
  10064. "endtime": {
  10065. "description": "预售结束时间",
  10066. "type": "string"
  10067. },
  10068. "floorprice": {
  10069. "description": "底价[大宗式竞拍]",
  10070. "type": "number"
  10071. },
  10072. "goodsdetail": {
  10073. "description": "详情[大宗]",
  10074. "type": "string"
  10075. },
  10076. "goodsid": {
  10077. "description": "商品ID(预售)",
  10078. "type": "integer"
  10079. },
  10080. "goodunit": {
  10081. "description": "报价单位",
  10082. "type": "string"
  10083. },
  10084. "marketid": {
  10085. "description": "预售市场ID - 根据预售模式选择市场",
  10086. "type": "integer"
  10087. },
  10088. "presaledamount": {
  10089. "description": "已预售总金额(预售结束时更新)",
  10090. "type": "number"
  10091. },
  10092. "presaledqty": {
  10093. "description": "已预售量(预售结束时更新)",
  10094. "type": "integer"
  10095. },
  10096. "presalemode": {
  10097. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10098. "type": "integer"
  10099. },
  10100. "presaleqty": {
  10101. "description": "预售数量",
  10102. "type": "integer"
  10103. },
  10104. "refprice": {
  10105. "description": "参考价格[一口价]",
  10106. "type": "number"
  10107. },
  10108. "relatedgoodsid": {
  10109. "description": "关联交易合约ID",
  10110. "type": "integer"
  10111. },
  10112. "relatedmarketid": {
  10113. "description": "关联交易合约市场ID",
  10114. "type": "integer"
  10115. },
  10116. "sellstatus": {
  10117. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10118. "type": "integer"
  10119. },
  10120. "startprice": {
  10121. "description": "起拍价[大宗式竞拍]",
  10122. "type": "number"
  10123. },
  10124. "starttime": {
  10125. "description": "预售开始时间",
  10126. "type": "string"
  10127. },
  10128. "tradedate": {
  10129. "description": "交易日(yyyyMMdd)",
  10130. "type": "string"
  10131. },
  10132. "tradeprice": {
  10133. "description": "成交价[大宗]",
  10134. "type": "number"
  10135. }
  10136. }
  10137. },
  10138. "delivery.QueryDeliveryRelationRsp": {
  10139. "type": "object",
  10140. "required": [
  10141. "begindate",
  10142. "enddate",
  10143. "goodsid",
  10144. "mindeliveryqty",
  10145. "xdeliveryratio"
  10146. ],
  10147. "properties": {
  10148. "begindate": {
  10149. "description": "起始日期(yyyyMMdd)",
  10150. "type": "string"
  10151. },
  10152. "buytemplateid": {
  10153. "description": "买履约计划模板ID",
  10154. "type": "integer"
  10155. },
  10156. "deliverygoodscode": {
  10157. "description": "品种代码",
  10158. "type": "string"
  10159. },
  10160. "deliverygoodsid": {
  10161. "description": "交割商品",
  10162. "type": "integer"
  10163. },
  10164. "deliverygoodsname": {
  10165. "description": "品种名称",
  10166. "type": "string"
  10167. },
  10168. "deliverymode": {
  10169. "description": "交割方式 - 1:点选式 2:申报式",
  10170. "type": "integer"
  10171. },
  10172. "deliverypricerule": {
  10173. "description": "交割价规则- 1:行情价 2:建仓价",
  10174. "type": "integer"
  10175. },
  10176. "deliverytype": {
  10177. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10178. "type": "integer"
  10179. },
  10180. "enddate": {
  10181. "description": "结束日期(yyyyMMdd)",
  10182. "type": "string"
  10183. },
  10184. "goodscode": {
  10185. "description": "商品代码",
  10186. "type": "string"
  10187. },
  10188. "goodsid": {
  10189. "description": "交易合约ID",
  10190. "type": "integer"
  10191. },
  10192. "goodsname": {
  10193. "description": "商品名称",
  10194. "type": "string"
  10195. },
  10196. "marketid": {
  10197. "description": "市场ID",
  10198. "type": "integer"
  10199. },
  10200. "mindeliveryqty": {
  10201. "description": "最小交割系数(K)",
  10202. "type": "integer"
  10203. },
  10204. "p2deliveryprice": {
  10205. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10206. "type": "number"
  10207. },
  10208. "p2deliveryratio": {
  10209. "description": "P2合约系数(p)",
  10210. "type": "integer"
  10211. },
  10212. "p2goodsid": {
  10213. "description": "P2合约ID",
  10214. "type": "integer"
  10215. },
  10216. "p2pricemode": {
  10217. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10218. "type": "integer"
  10219. },
  10220. "pdeliveryprice": {
  10221. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10222. "type": "number"
  10223. },
  10224. "pdeliveryratio": {
  10225. "description": "P合约系数(n)",
  10226. "type": "integer"
  10227. },
  10228. "pgoodsid": {
  10229. "description": "P合约ID",
  10230. "type": "integer"
  10231. },
  10232. "ppricemode": {
  10233. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10234. "type": "integer"
  10235. },
  10236. "rratio": {
  10237. "description": "兑换系数(R)",
  10238. "type": "integer"
  10239. },
  10240. "rratio1": {
  10241. "description": "兑换系数(交易合约)(R1)",
  10242. "type": "integer"
  10243. },
  10244. "rratio2": {
  10245. "description": "兑换系数(仓单标准)(R2)",
  10246. "type": "integer"
  10247. },
  10248. "selltemplateid": {
  10249. "description": "卖履约计划模板ID",
  10250. "type": "integer"
  10251. },
  10252. "wrstandardid": {
  10253. "description": "仓单标准ID",
  10254. "type": "integer"
  10255. },
  10256. "xdeliveryratio": {
  10257. "description": "交易合约系数(m)",
  10258. "type": "integer"
  10259. }
  10260. }
  10261. },
  10262. "ermcp.ExposureDetailRsp": {
  10263. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10264. },
  10265. "ermcp.ExposureHedgePosDetailRsp": {
  10266. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10267. },
  10268. "ermcp.ExposureHedgePositionRsp": {
  10269. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10270. },
  10271. "ermcp.ExposureSpotDetailRsp": {
  10272. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10273. },
  10274. "ermcp.ExposureSpotRsp": {
  10275. "$ref": "#/definitions/models.AreaSpotModel"
  10276. },
  10277. "ermcp.HisExposureRsp": {
  10278. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10279. },
  10280. "ermcp.PendingAuditCntRsp": {
  10281. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10282. },
  10283. "ermcp.QryAreaStockApplyRsp": {
  10284. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10285. },
  10286. "ermcp.QryAvalidGPRsp": {
  10287. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10288. },
  10289. "ermcp.QryBusinessDjRsp": {
  10290. "type": "object",
  10291. "properties": {
  10292. "amount": {
  10293. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10294. "type": "number"
  10295. },
  10296. "applyid": {
  10297. "description": "申请人",
  10298. "type": "string"
  10299. },
  10300. "applyname": {
  10301. "description": "申请人名称",
  10302. "type": "string"
  10303. },
  10304. "applystatus": {
  10305. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10306. "type": "integer"
  10307. },
  10308. "applytime": {
  10309. "description": "申请时间",
  10310. "type": "string"
  10311. },
  10312. "attachurl": {
  10313. "description": "附件",
  10314. "type": "string"
  10315. },
  10316. "auditid": {
  10317. "description": "审核人ID",
  10318. "type": "string"
  10319. },
  10320. "auditname": {
  10321. "description": "审核人名称",
  10322. "type": "string"
  10323. },
  10324. "audittime": {
  10325. "description": "审核时间",
  10326. "type": "string"
  10327. },
  10328. "buyusername": {
  10329. "description": "采购方名称",
  10330. "type": "string"
  10331. },
  10332. "contractno": {
  10333. "description": "合同编号",
  10334. "type": "string"
  10335. },
  10336. "contractstatus": {
  10337. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10338. "type": "integer"
  10339. },
  10340. "contracttype": {
  10341. "description": "现货合同类型 - 1:采购 -1:销售",
  10342. "type": "integer"
  10343. },
  10344. "deliverygoodscode": {
  10345. "description": "现货品种代码",
  10346. "type": "string"
  10347. },
  10348. "deliverygoodsid": {
  10349. "description": "现货商品ID",
  10350. "type": "integer"
  10351. },
  10352. "deliverygoodsname": {
  10353. "description": "现货品种名称",
  10354. "type": "string"
  10355. },
  10356. "enumdicname": {
  10357. "description": "单位名称",
  10358. "type": "string"
  10359. },
  10360. "goodscode": {
  10361. "description": "点价合约",
  10362. "type": "string"
  10363. },
  10364. "goodsname": {
  10365. "description": "商品名称",
  10366. "type": "string"
  10367. },
  10368. "operateapplyid": {
  10369. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10370. "type": "string"
  10371. },
  10372. "operateapplytype": {
  10373. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10374. "type": "integer"
  10375. },
  10376. "pricedPrice": {
  10377. "description": "点价价格(非必填)",
  10378. "type": "number"
  10379. },
  10380. "pricedQty": {
  10381. "description": "点价数量(非必填)",
  10382. "type": "number"
  10383. },
  10384. "pricemove": {
  10385. "description": "升贴水",
  10386. "type": "number"
  10387. },
  10388. "pricetype": {
  10389. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10390. "type": "integer"
  10391. },
  10392. "relatedid": {
  10393. "description": "现货合同ID",
  10394. "type": "string"
  10395. },
  10396. "sellusername": {
  10397. "description": "销售方名字",
  10398. "type": "string"
  10399. },
  10400. "userid": {
  10401. "description": "用户ID",
  10402. "type": "integer"
  10403. },
  10404. "wrstandardcode": {
  10405. "description": "品类代码",
  10406. "type": "string"
  10407. },
  10408. "wrstandardid": {
  10409. "description": "品类id",
  10410. "type": "integer"
  10411. },
  10412. "wrstandardname": {
  10413. "description": "品类名称",
  10414. "type": "string"
  10415. }
  10416. }
  10417. },
  10418. "ermcp.QryBussinessFpRsp": {
  10419. "type": "object",
  10420. "properties": {
  10421. "applyid": {
  10422. "description": "申请人",
  10423. "type": "string"
  10424. },
  10425. "applyname": {
  10426. "description": "申请人名称",
  10427. "type": "string"
  10428. },
  10429. "applystatus": {
  10430. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10431. "type": "integer"
  10432. },
  10433. "applytime": {
  10434. "description": "申请时间",
  10435. "type": "string"
  10436. },
  10437. "attachurl": {
  10438. "description": "附件",
  10439. "type": "string"
  10440. },
  10441. "auditid": {
  10442. "description": "审核人ID",
  10443. "type": "string"
  10444. },
  10445. "auditname": {
  10446. "description": "审核人名称",
  10447. "type": "string"
  10448. },
  10449. "audittime": {
  10450. "description": "审核时间",
  10451. "type": "string"
  10452. },
  10453. "buyusername": {
  10454. "description": "采购方名称",
  10455. "type": "string"
  10456. },
  10457. "contractno": {
  10458. "description": "合同编号",
  10459. "type": "string"
  10460. },
  10461. "contractstatus": {
  10462. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10463. "type": "integer"
  10464. },
  10465. "contracttype": {
  10466. "description": "现货合同类型 - 1:采购 -1:销售",
  10467. "type": "integer"
  10468. },
  10469. "deliverygoodscode": {
  10470. "description": "现货品种代码",
  10471. "type": "string"
  10472. },
  10473. "deliverygoodsid": {
  10474. "description": "现货商品ID",
  10475. "type": "integer"
  10476. },
  10477. "deliverygoodsname": {
  10478. "description": "现货品种名称",
  10479. "type": "string"
  10480. },
  10481. "enumdicname": {
  10482. "description": "单位名称",
  10483. "type": "string"
  10484. },
  10485. "goodscode": {
  10486. "description": "点价合约",
  10487. "type": "string"
  10488. },
  10489. "goodsname": {
  10490. "description": "商品名称",
  10491. "type": "string"
  10492. },
  10493. "invoiceAmount": {
  10494. "description": "已开收票金额(销售为开票,采购为收票)",
  10495. "type": "number"
  10496. },
  10497. "operateapplyid": {
  10498. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10499. "type": "string"
  10500. },
  10501. "operateapplytype": {
  10502. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10503. "type": "integer"
  10504. },
  10505. "pricemove": {
  10506. "description": "升贴水",
  10507. "type": "number"
  10508. },
  10509. "pricetype": {
  10510. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10511. "type": "integer"
  10512. },
  10513. "relatedid": {
  10514. "description": "现货合同ID",
  10515. "type": "string"
  10516. },
  10517. "sellusername": {
  10518. "description": "销售方名字",
  10519. "type": "string"
  10520. },
  10521. "userid": {
  10522. "description": "用户ID",
  10523. "type": "integer"
  10524. },
  10525. "wrstandardcode": {
  10526. "description": "品类代码",
  10527. "type": "string"
  10528. },
  10529. "wrstandardid": {
  10530. "description": "品类id",
  10531. "type": "integer"
  10532. },
  10533. "wrstandardname": {
  10534. "description": "品类名称",
  10535. "type": "string"
  10536. }
  10537. }
  10538. },
  10539. "ermcp.QryBussinessJsExRsp": {
  10540. "type": "object",
  10541. "properties": {
  10542. "applyid": {
  10543. "description": "申请人",
  10544. "type": "string"
  10545. },
  10546. "applyname": {
  10547. "description": "申请人名称",
  10548. "type": "string"
  10549. },
  10550. "applystatus": {
  10551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10552. "type": "integer"
  10553. },
  10554. "applytime": {
  10555. "description": "申请时间",
  10556. "type": "string"
  10557. },
  10558. "attachurl": {
  10559. "description": "附件",
  10560. "type": "string"
  10561. },
  10562. "auditid": {
  10563. "description": "审核人ID",
  10564. "type": "string"
  10565. },
  10566. "auditname": {
  10567. "description": "审核人名称",
  10568. "type": "string"
  10569. },
  10570. "audittime": {
  10571. "description": "审核时间",
  10572. "type": "string"
  10573. },
  10574. "buyusername": {
  10575. "description": "采购方名称",
  10576. "type": "string"
  10577. },
  10578. "contractno": {
  10579. "description": "合同编号",
  10580. "type": "string"
  10581. },
  10582. "contractstatus": {
  10583. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10584. "type": "integer"
  10585. },
  10586. "contracttype": {
  10587. "description": "现货合同类型 - 1:采购 -1:销售",
  10588. "type": "integer"
  10589. },
  10590. "deliverygoodscode": {
  10591. "description": "现货品种代码",
  10592. "type": "string"
  10593. },
  10594. "deliverygoodsid": {
  10595. "description": "现货商品ID",
  10596. "type": "integer"
  10597. },
  10598. "deliverygoodsname": {
  10599. "description": "现货品种名称",
  10600. "type": "string"
  10601. },
  10602. "enumdicname": {
  10603. "description": "单位名称",
  10604. "type": "string"
  10605. },
  10606. "goodscode": {
  10607. "description": "点价合约",
  10608. "type": "string"
  10609. },
  10610. "goodsname": {
  10611. "description": "商品名称",
  10612. "type": "string"
  10613. },
  10614. "operateapplyid": {
  10615. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10616. "type": "string"
  10617. },
  10618. "operateapplytype": {
  10619. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10620. "type": "integer"
  10621. },
  10622. "pricemove": {
  10623. "description": "升贴水",
  10624. "type": "number"
  10625. },
  10626. "pricetype": {
  10627. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10628. "type": "integer"
  10629. },
  10630. "reckontype": {
  10631. "description": "结算类型",
  10632. "type": "string"
  10633. },
  10634. "reckonvalue": {
  10635. "description": "值",
  10636. "type": "number"
  10637. },
  10638. "relatedid": {
  10639. "description": "现货合同ID",
  10640. "type": "string"
  10641. },
  10642. "sellusername": {
  10643. "description": "销售方名字",
  10644. "type": "string"
  10645. },
  10646. "userid": {
  10647. "description": "用户ID",
  10648. "type": "integer"
  10649. },
  10650. "wrstandardcode": {
  10651. "description": "品类代码",
  10652. "type": "string"
  10653. },
  10654. "wrstandardid": {
  10655. "description": "品类id",
  10656. "type": "integer"
  10657. },
  10658. "wrstandardname": {
  10659. "description": "品类名称",
  10660. "type": "string"
  10661. }
  10662. }
  10663. },
  10664. "ermcp.QryBussinessJsRsp": {
  10665. "type": "object",
  10666. "properties": {
  10667. "addmargin": {
  10668. "description": "追加保证金(非必填)",
  10669. "type": "number"
  10670. },
  10671. "applyid": {
  10672. "description": "申请人",
  10673. "type": "string"
  10674. },
  10675. "applyname": {
  10676. "description": "申请人名称",
  10677. "type": "string"
  10678. },
  10679. "applystatus": {
  10680. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10681. "type": "integer"
  10682. },
  10683. "applytime": {
  10684. "description": "申请时间",
  10685. "type": "string"
  10686. },
  10687. "attachurl": {
  10688. "description": "附件",
  10689. "type": "string"
  10690. },
  10691. "auditid": {
  10692. "description": "审核人ID",
  10693. "type": "string"
  10694. },
  10695. "auditname": {
  10696. "description": "审核人名称",
  10697. "type": "string"
  10698. },
  10699. "audittime": {
  10700. "description": "审核时间",
  10701. "type": "string"
  10702. },
  10703. "buyusername": {
  10704. "description": "采购方名称",
  10705. "type": "string"
  10706. },
  10707. "contractno": {
  10708. "description": "合同编号",
  10709. "type": "string"
  10710. },
  10711. "contractstatus": {
  10712. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10713. "type": "integer"
  10714. },
  10715. "contracttype": {
  10716. "description": "现货合同类型 - 1:采购 -1:销售",
  10717. "type": "integer"
  10718. },
  10719. "decmargin": {
  10720. "description": "减少保证金(非必填)",
  10721. "type": "number"
  10722. },
  10723. "deliverygoodscode": {
  10724. "description": "现货品种代码",
  10725. "type": "string"
  10726. },
  10727. "deliverygoodsid": {
  10728. "description": "现货商品ID",
  10729. "type": "integer"
  10730. },
  10731. "deliverygoodsname": {
  10732. "description": "现货品种名称",
  10733. "type": "string"
  10734. },
  10735. "enumdicname": {
  10736. "description": "单位名称",
  10737. "type": "string"
  10738. },
  10739. "goodscode": {
  10740. "description": "点价合约",
  10741. "type": "string"
  10742. },
  10743. "goodsname": {
  10744. "description": "商品名称",
  10745. "type": "string"
  10746. },
  10747. "operateapplyid": {
  10748. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10749. "type": "string"
  10750. },
  10751. "operateapplytype": {
  10752. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10753. "type": "integer"
  10754. },
  10755. "pricemove": {
  10756. "description": "升贴水",
  10757. "type": "number"
  10758. },
  10759. "pricetype": {
  10760. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10761. "type": "integer"
  10762. },
  10763. "reckonadjustamount": {
  10764. "description": "结算调整金额(非必填)",
  10765. "type": "number"
  10766. },
  10767. "reckonosamount": {
  10768. "description": "结算溢短金额(非必填)",
  10769. "type": "number"
  10770. },
  10771. "reckonotheramount": {
  10772. "description": "结算其他费用(非必填)",
  10773. "type": "number"
  10774. },
  10775. "reckonrealqty": {
  10776. "description": "结算实际数量(非必填)",
  10777. "type": "number"
  10778. },
  10779. "relatedid": {
  10780. "description": "现货合同ID",
  10781. "type": "string"
  10782. },
  10783. "sellusername": {
  10784. "description": "销售方名字",
  10785. "type": "string"
  10786. },
  10787. "userid": {
  10788. "description": "用户ID",
  10789. "type": "integer"
  10790. },
  10791. "wrstandardcode": {
  10792. "description": "品类代码",
  10793. "type": "string"
  10794. },
  10795. "wrstandardid": {
  10796. "description": "品类id",
  10797. "type": "integer"
  10798. },
  10799. "wrstandardname": {
  10800. "description": "品类名称",
  10801. "type": "string"
  10802. }
  10803. }
  10804. },
  10805. "ermcp.QryBussinessKxRsp": {
  10806. "type": "object",
  10807. "properties": {
  10808. "applyid": {
  10809. "description": "申请人",
  10810. "type": "string"
  10811. },
  10812. "applyname": {
  10813. "description": "申请人名称",
  10814. "type": "string"
  10815. },
  10816. "applystatus": {
  10817. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10818. "type": "integer"
  10819. },
  10820. "applytime": {
  10821. "description": "申请时间",
  10822. "type": "string"
  10823. },
  10824. "attachurl": {
  10825. "description": "附件",
  10826. "type": "string"
  10827. },
  10828. "auditid": {
  10829. "description": "审核人ID",
  10830. "type": "string"
  10831. },
  10832. "auditname": {
  10833. "description": "审核人名称",
  10834. "type": "string"
  10835. },
  10836. "audittime": {
  10837. "description": "审核时间",
  10838. "type": "string"
  10839. },
  10840. "buyusername": {
  10841. "description": "采购方名称",
  10842. "type": "string"
  10843. },
  10844. "contractno": {
  10845. "description": "合同编号",
  10846. "type": "string"
  10847. },
  10848. "contractstatus": {
  10849. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10850. "type": "integer"
  10851. },
  10852. "contracttype": {
  10853. "description": "现货合同类型 - 1:采购 -1:销售",
  10854. "type": "integer"
  10855. },
  10856. "deductamount": {
  10857. "description": "退款(非必填)",
  10858. "type": "number"
  10859. },
  10860. "deliverygoodscode": {
  10861. "description": "现货品种代码",
  10862. "type": "string"
  10863. },
  10864. "deliverygoodsid": {
  10865. "description": "现货商品ID",
  10866. "type": "integer"
  10867. },
  10868. "deliverygoodsname": {
  10869. "description": "现货品种名称",
  10870. "type": "string"
  10871. },
  10872. "enumdicname": {
  10873. "description": "单位名称",
  10874. "type": "string"
  10875. },
  10876. "goodscode": {
  10877. "description": "点价合约",
  10878. "type": "string"
  10879. },
  10880. "goodsname": {
  10881. "description": "商品名称",
  10882. "type": "string"
  10883. },
  10884. "kxtype": {
  10885. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10886. "type": "integer"
  10887. },
  10888. "operateapplyid": {
  10889. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10890. "type": "string"
  10891. },
  10892. "operateapplytype": {
  10893. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10894. "type": "integer"
  10895. },
  10896. "payamount": {
  10897. "description": "收付款(非必填)",
  10898. "type": "number"
  10899. },
  10900. "pricemove": {
  10901. "description": "升贴水",
  10902. "type": "number"
  10903. },
  10904. "pricetype": {
  10905. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10906. "type": "integer"
  10907. },
  10908. "relatedid": {
  10909. "description": "现货合同ID",
  10910. "type": "string"
  10911. },
  10912. "sellusername": {
  10913. "description": "销售方名字",
  10914. "type": "string"
  10915. },
  10916. "userid": {
  10917. "description": "用户ID",
  10918. "type": "integer"
  10919. },
  10920. "wrstandardcode": {
  10921. "description": "品类代码",
  10922. "type": "string"
  10923. },
  10924. "wrstandardid": {
  10925. "description": "品类id",
  10926. "type": "integer"
  10927. },
  10928. "wrstandardname": {
  10929. "description": "品类名称",
  10930. "type": "string"
  10931. }
  10932. }
  10933. },
  10934. "ermcp.QryErmcpRsp": {
  10935. "$ref": "#/definitions/models.ErmcpModel"
  10936. },
  10937. "ermcp.QryGGCovertCfgRsp": {
  10938. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10939. },
  10940. "ermcp.QryHedgePlanRsp": {
  10941. "$ref": "#/definitions/models.ErmcpHedgePlan"
  10942. },
  10943. "ermcp.QryMGChangeLogRsp": {
  10944. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10945. },
  10946. "ermcp.QryMiddleGoodsDetailRsp": {
  10947. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10948. },
  10949. "ermcp.QryMiddleGoodsRsp": {
  10950. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10951. },
  10952. "ermcp.QryOPLogRsp": {
  10953. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10954. },
  10955. "ermcp.QryReportDaySpotDetailRsp": {
  10956. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10957. },
  10958. "ermcp.QryReportExposureDayRsp": {
  10959. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  10960. },
  10961. "ermcp.QryReportFinanceDayRsp": {
  10962. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10963. },
  10964. "ermcp.QryReportFinanceKxRsp": {
  10965. "$ref": "#/definitions/models.ErmcpReportOPLog"
  10966. },
  10967. "ermcp.QryReportFinanceMonRsp": {
  10968. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  10969. },
  10970. "ermcp.QryReportSpotDayRsp": {
  10971. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10972. },
  10973. "ermcp.QryReportSpotMonRsp": {
  10974. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  10975. },
  10976. "ermcp.QryReportSpotMonthDetailRsp": {
  10977. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  10978. },
  10979. "ermcp.QrySpotContractRsp": {
  10980. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  10981. },
  10982. "ermcp.QryUserInfoRsp": {
  10983. "$ref": "#/definitions/models.ErmcpUserModel"
  10984. },
  10985. "ermcp.QryWarehouseRsp": {
  10986. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10987. },
  10988. "ermcp.QryWrStandardDetailRsp": {
  10989. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  10990. },
  10991. "ermcp.QryWrStandardRsp": {
  10992. "$ref": "#/definitions/models.ErmcpWrstandard"
  10993. },
  10994. "ermcp.QueryAreaStockApplySumRsp": {
  10995. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  10996. },
  10997. "ermcp.QueryErmcpTradePositionRsp": {
  10998. "type": "object",
  10999. "properties": {
  11000. "agreeunit": {
  11001. "description": "合约单位",
  11002. "type": "number"
  11003. },
  11004. "buyorsell": {
  11005. "description": "方向 - 0:买 1:卖",
  11006. "type": "integer"
  11007. },
  11008. "curpositionqty": {
  11009. "description": "持仓(总仓数量, 期末头寸)",
  11010. "type": "integer"
  11011. },
  11012. "curtdposition": {
  11013. "description": "今仓数量(期末今日头寸)",
  11014. "type": "integer"
  11015. },
  11016. "curtdpositionenabled": {
  11017. "description": "今仓可用",
  11018. "type": "integer"
  11019. },
  11020. "decimalplace": {
  11021. "description": "报价小数位",
  11022. "type": "integer"
  11023. },
  11024. "enableqty": {
  11025. "description": "可用(总仓可用)",
  11026. "type": "integer"
  11027. },
  11028. "exexchangename": {
  11029. "description": "外部交易所名称",
  11030. "type": "string"
  11031. },
  11032. "goodscode": {
  11033. "description": "商品代码(内部)",
  11034. "type": "string"
  11035. },
  11036. "goodsid": {
  11037. "description": "商品ID(自增ID SEQ_GOODS)",
  11038. "type": "integer"
  11039. },
  11040. "goodsname": {
  11041. "description": "商品名称",
  11042. "type": "string"
  11043. },
  11044. "last": {
  11045. "description": "现价",
  11046. "type": "number"
  11047. },
  11048. "marketid": {
  11049. "description": "所属市场ID",
  11050. "type": "integer"
  11051. },
  11052. "openaverageprice": {
  11053. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11054. "type": "number"
  11055. },
  11056. "opencost": {
  11057. "description": "开仓成本",
  11058. "type": "number"
  11059. },
  11060. "openpl": {
  11061. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11062. "type": "number"
  11063. },
  11064. "outgoodscode": {
  11065. "description": "商品代码(外部)",
  11066. "type": "string"
  11067. },
  11068. "positionaverageprice": {
  11069. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11070. "type": "number"
  11071. },
  11072. "positioncost": {
  11073. "description": "持仓成本",
  11074. "type": "number"
  11075. },
  11076. "positionpl": {
  11077. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11078. "type": "number"
  11079. },
  11080. "positionplrate": {
  11081. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11082. "type": "number"
  11083. },
  11084. "usedmargin": {
  11085. "description": "占用保证金",
  11086. "type": "number"
  11087. }
  11088. }
  11089. },
  11090. "ermcp.RealtimeExposurePositionRsp": {
  11091. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11092. },
  11093. "ermcp.RealtimeExposureRsp": {
  11094. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11095. },
  11096. "erms2.QueryArbitrageStrategyRsp": {
  11097. "type": "object",
  11098. "required": [
  11099. "asapplyid"
  11100. ],
  11101. "properties": {
  11102. "applybasis": {
  11103. "description": "申请基差",
  11104. "type": "number"
  11105. },
  11106. "asapplyid": {
  11107. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11108. "type": "string"
  11109. },
  11110. "asname": {
  11111. "description": "策略名称",
  11112. "type": "string"
  11113. },
  11114. "asno": {
  11115. "description": "策略编号",
  11116. "type": "string"
  11117. },
  11118. "basischangepl": {
  11119. "description": "基差变动损益[结算更新]",
  11120. "type": "number"
  11121. },
  11122. "biztype": {
  11123. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11124. "type": "integer"
  11125. },
  11126. "closetradedate": {
  11127. "description": "完结交易日(yyyyMMdd)",
  11128. "type": "string"
  11129. },
  11130. "curbasis": {
  11131. "description": "当前基差[结算更新]",
  11132. "type": "number"
  11133. },
  11134. "deliverygoodsid": {
  11135. "description": "现货品种ID",
  11136. "type": "integer"
  11137. },
  11138. "futureavgprice": {
  11139. "description": "期货建仓均价",
  11140. "type": "number"
  11141. },
  11142. "futurecloseamount": {
  11143. "description": "期货平仓金额",
  11144. "type": "number"
  11145. },
  11146. "futurecloseqty": {
  11147. "description": "期货平仓数量",
  11148. "type": "number"
  11149. },
  11150. "futureopenamount": {
  11151. "description": "期货开仓金额",
  11152. "type": "number"
  11153. },
  11154. "futureopenqty": {
  11155. "description": "期货开仓数量",
  11156. "type": "number"
  11157. },
  11158. "futurepl": {
  11159. "description": "期货总盈亏[结算更新]",
  11160. "type": "number"
  11161. },
  11162. "futureqty": {
  11163. "description": "期货持仓数量",
  11164. "type": "number"
  11165. },
  11166. "futurequote": {
  11167. "description": "期货额度",
  11168. "type": "number"
  11169. },
  11170. "goodsgroupid": {
  11171. "description": "期货品种ID",
  11172. "type": "integer"
  11173. },
  11174. "marketid": {
  11175. "description": "市场ID",
  11176. "type": "integer"
  11177. },
  11178. "netexposure": {
  11179. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11180. "type": "number"
  11181. },
  11182. "netexposurepl": {
  11183. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11184. "type": "number"
  11185. },
  11186. "netexposurerate": {
  11187. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11188. "type": "number"
  11189. },
  11190. "openbasis": {
  11191. "description": "建仓基差",
  11192. "type": "number"
  11193. },
  11194. "pricedspotqty": {
  11195. "description": "已定价现货数量",
  11196. "type": "number"
  11197. },
  11198. "pricedspotqtynotax": {
  11199. "description": "已定价现货不含税数量",
  11200. "type": "number"
  11201. },
  11202. "remark": {
  11203. "description": "备注",
  11204. "type": "string"
  11205. },
  11206. "spotavgprice": {
  11207. "description": "现货均价",
  11208. "type": "number"
  11209. },
  11210. "spotbuyamount": {
  11211. "description": "现货采购金额",
  11212. "type": "number"
  11213. },
  11214. "spotbuyqty": {
  11215. "description": "现货采购数量",
  11216. "type": "number"
  11217. },
  11218. "spotpl": {
  11219. "description": "现货总盈亏[结算更新]",
  11220. "type": "number"
  11221. },
  11222. "spotquota": {
  11223. "description": "现货额度",
  11224. "type": "number"
  11225. },
  11226. "spotsellamount": {
  11227. "description": "现货销售金额",
  11228. "type": "number"
  11229. },
  11230. "spotsellqty": {
  11231. "description": "现货销售数量",
  11232. "type": "number"
  11233. },
  11234. "spotusedquota": {
  11235. "description": "现货占用资金",
  11236. "type": "number"
  11237. },
  11238. "strategystatus": {
  11239. "description": "策略状态 - 0:未结束 1:已结束",
  11240. "type": "integer"
  11241. },
  11242. "totalpl": {
  11243. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11244. "type": "number"
  11245. },
  11246. "tradedate": {
  11247. "description": "交易日(yyyyMMdd)",
  11248. "type": "string"
  11249. },
  11250. "updatetime": {
  11251. "description": "更新时间",
  11252. "type": "string"
  11253. },
  11254. "usedquota": {
  11255. "description": "已占用资金",
  11256. "type": "number"
  11257. },
  11258. "userid": {
  11259. "description": "所属机构",
  11260. "type": "integer"
  11261. }
  11262. }
  11263. },
  11264. "erms2.QueryInnerTradeDetailRsp": {
  11265. "type": "object",
  11266. "required": [
  11267. "asapplyid",
  11268. "buyorsell",
  11269. "goodscode",
  11270. "goodsgroupid",
  11271. "goodsgroupname",
  11272. "goodsname",
  11273. "tradeid"
  11274. ],
  11275. "properties": {
  11276. "accountid": {
  11277. "description": "账号ID",
  11278. "type": "integer"
  11279. },
  11280. "agreeunit": {
  11281. "description": "合约单位",
  11282. "type": "number"
  11283. },
  11284. "asapplyid": {
  11285. "description": "策略申请ID",
  11286. "type": "integer"
  11287. },
  11288. "asname": {
  11289. "description": "策略名称",
  11290. "type": "string"
  11291. },
  11292. "asno": {
  11293. "description": "策略编号",
  11294. "type": "string"
  11295. },
  11296. "buyorsell": {
  11297. "description": "方向 - 0:买 1:卖",
  11298. "type": "integer"
  11299. },
  11300. "channelbuildtype": {
  11301. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11302. "type": "integer"
  11303. },
  11304. "closetype": {
  11305. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11306. "type": "integer"
  11307. },
  11308. "decimalplace": {
  11309. "description": "报价小数位",
  11310. "type": "integer"
  11311. },
  11312. "detailtype": {
  11313. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11314. "type": "integer"
  11315. },
  11316. "exexchangecode": {
  11317. "description": "外部交易所代码",
  11318. "type": "string"
  11319. },
  11320. "exexchangename": {
  11321. "description": "外部交易所名称",
  11322. "type": "string"
  11323. },
  11324. "goodscode": {
  11325. "description": "商品代码(合约)",
  11326. "type": "string"
  11327. },
  11328. "goodsgroupid": {
  11329. "description": "商品组ID(品种ID)",
  11330. "type": "integer"
  11331. },
  11332. "goodsgroupname": {
  11333. "description": "商品组名称(品种)",
  11334. "type": "string"
  11335. },
  11336. "goodsid": {
  11337. "description": "商品ID",
  11338. "type": "integer"
  11339. },
  11340. "goodsname": {
  11341. "description": "商品名称(合约)",
  11342. "type": "string"
  11343. },
  11344. "goodunit": {
  11345. "description": "报价单位",
  11346. "type": "string"
  11347. },
  11348. "marketid": {
  11349. "description": "市场ID",
  11350. "type": "integer"
  11351. },
  11352. "orderid": {
  11353. "description": "委托单号",
  11354. "type": "string"
  11355. },
  11356. "outgoodscode": {
  11357. "description": "商品代码(外部)",
  11358. "type": "string"
  11359. },
  11360. "relatedouttradeid": {
  11361. "description": "关联外部成交单ID",
  11362. "type": "string"
  11363. },
  11364. "remark": {
  11365. "description": "备注",
  11366. "type": "string"
  11367. },
  11368. "spotcontractid": {
  11369. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11370. "type": "integer"
  11371. },
  11372. "spotcontractno": {
  11373. "description": "现货合同编号",
  11374. "type": "string"
  11375. },
  11376. "tradeid": {
  11377. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11378. "type": "string"
  11379. },
  11380. "tradeprice": {
  11381. "description": "成交价格",
  11382. "type": "number"
  11383. },
  11384. "tradeqty": {
  11385. "description": "成交数量",
  11386. "type": "integer"
  11387. },
  11388. "tradetime": {
  11389. "description": "成交时间",
  11390. "type": "string"
  11391. },
  11392. "updatetime": {
  11393. "description": "更新时间",
  11394. "type": "string"
  11395. }
  11396. }
  11397. },
  11398. "erms2.QuerySpotContractRsp": {
  11399. "type": "object",
  11400. "required": [
  11401. "spotcontractid"
  11402. ],
  11403. "properties": {
  11404. "accountid": {
  11405. "description": "资金账户ID",
  11406. "type": "integer"
  11407. },
  11408. "areauserid": {
  11409. "description": "所属机构",
  11410. "type": "integer"
  11411. },
  11412. "closedate": {
  11413. "description": "终止日期",
  11414. "type": "string"
  11415. },
  11416. "closeremark": {
  11417. "description": "结束备注",
  11418. "type": "string"
  11419. },
  11420. "closetradedate": {
  11421. "description": "完结交易日(yyyyMMdd)",
  11422. "type": "string"
  11423. },
  11424. "closetype": {
  11425. "description": "终止类型 - 1:违约 2:提前终止",
  11426. "type": "integer"
  11427. },
  11428. "contractamount": {
  11429. "description": "合同金额",
  11430. "type": "number"
  11431. },
  11432. "contractattachment": {
  11433. "description": "合同附件",
  11434. "type": "string"
  11435. },
  11436. "contractno": {
  11437. "description": "现货合同编号",
  11438. "type": "string"
  11439. },
  11440. "contractqty": {
  11441. "description": "合同数量(数值) (用于计算)",
  11442. "type": "number"
  11443. },
  11444. "contractqtychar": {
  11445. "description": "合同数量\\已订价数量 (用于显示)",
  11446. "type": "string"
  11447. },
  11448. "contractstatus": {
  11449. "description": "合同状态 - 0:未结束 1:已结束",
  11450. "type": "integer"
  11451. },
  11452. "contracttype": {
  11453. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11454. "type": "integer"
  11455. },
  11456. "customeraccountid": {
  11457. "description": "客户资金账户ID",
  11458. "type": "integer"
  11459. },
  11460. "customeruserid": {
  11461. "description": "客户ID",
  11462. "type": "integer"
  11463. },
  11464. "deliverygoodsdesc": {
  11465. "description": "品种说明",
  11466. "type": "string"
  11467. },
  11468. "deliverygoodsid": {
  11469. "description": "现货品种ID",
  11470. "type": "integer"
  11471. },
  11472. "handlestatus": {
  11473. "description": "处理状态",
  11474. "type": "integer"
  11475. },
  11476. "invoiceatt": {
  11477. "description": "发票附件",
  11478. "type": "string"
  11479. },
  11480. "invoicedatetime": {
  11481. "description": "开收票更新时间",
  11482. "type": "string"
  11483. },
  11484. "invoiceopentime": {
  11485. "description": "开票时间",
  11486. "type": "string"
  11487. },
  11488. "invoiceremark": {
  11489. "description": "发票备注",
  11490. "type": "string"
  11491. },
  11492. "invoicestatus": {
  11493. "description": "开收票状态 - 0:未开票 1:已开票",
  11494. "type": "integer"
  11495. },
  11496. "lastdate": {
  11497. "description": "交货时间",
  11498. "type": "string"
  11499. },
  11500. "marketid": {
  11501. "description": "市场ID",
  11502. "type": "integer"
  11503. },
  11504. "paydatetime": {
  11505. "description": "收付款更新时间",
  11506. "type": "string"
  11507. },
  11508. "payremark": {
  11509. "description": "收付款备注",
  11510. "type": "string"
  11511. },
  11512. "paystatus": {
  11513. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11514. "type": "integer"
  11515. },
  11516. "positionqty": {
  11517. "description": "头寸数量 - 合同数量去小数部分",
  11518. "type": "integer"
  11519. },
  11520. "producttype": {
  11521. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11522. "type": "integer"
  11523. },
  11524. "relatedqty": {
  11525. "description": "已关联数量",
  11526. "type": "number"
  11527. },
  11528. "relatedstatus": {
  11529. "description": "关联完结状态 - 0:未结束 1:已结束",
  11530. "type": "integer"
  11531. },
  11532. "remark": {
  11533. "description": "备注",
  11534. "type": "string"
  11535. },
  11536. "signdate": {
  11537. "description": "签订日期",
  11538. "type": "string"
  11539. },
  11540. "spotcontractid": {
  11541. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11542. "type": "string"
  11543. },
  11544. "spotdatetime": {
  11545. "description": "收发货更新时间",
  11546. "type": "string"
  11547. },
  11548. "spotprice": {
  11549. "description": "价格",
  11550. "type": "number"
  11551. },
  11552. "spotremark": {
  11553. "description": "收发货备注",
  11554. "type": "string"
  11555. },
  11556. "spotstatus": {
  11557. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11558. "type": "integer"
  11559. },
  11560. "tradedate": {
  11561. "description": "交易日(yyyyMMdd)",
  11562. "type": "string"
  11563. },
  11564. "userid": {
  11565. "description": "业务员用户ID",
  11566. "type": "integer"
  11567. },
  11568. "warehouseid": {
  11569. "description": "仓库ID",
  11570. "type": "integer"
  11571. },
  11572. "wrfactortypeid": {
  11573. "description": "仓单要素类型ID",
  11574. "type": "integer"
  11575. },
  11576. "wrstandardid": {
  11577. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11578. "type": "integer"
  11579. }
  11580. }
  11581. },
  11582. "erms3.AddErms2ASApplyReq": {
  11583. "type": "object",
  11584. "required": [
  11585. "asapplyid"
  11586. ],
  11587. "properties": {
  11588. "applybasis": {
  11589. "description": "申请基差",
  11590. "type": "number"
  11591. },
  11592. "applystatus": {
  11593. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11594. "type": "integer"
  11595. },
  11596. "asapplyid": {
  11597. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11598. "type": "integer"
  11599. },
  11600. "asname": {
  11601. "description": "策略名称",
  11602. "type": "string"
  11603. },
  11604. "asno": {
  11605. "description": "策略编号",
  11606. "type": "string"
  11607. },
  11608. "auditid": {
  11609. "description": "审核人",
  11610. "type": "integer"
  11611. },
  11612. "auditremark": {
  11613. "description": "审核备注",
  11614. "type": "string"
  11615. },
  11616. "audittime": {
  11617. "description": "审核时间",
  11618. "type": "string"
  11619. },
  11620. "biztype": {
  11621. "description": "业务类型 - 1:正向套利 2:反向套利",
  11622. "type": "integer"
  11623. },
  11624. "createtime": {
  11625. "description": "创建时间",
  11626. "type": "string"
  11627. },
  11628. "creatorid": {
  11629. "description": "创建人",
  11630. "type": "integer"
  11631. },
  11632. "deliverygoodsid": {
  11633. "description": "现货品种ID",
  11634. "type": "integer"
  11635. },
  11636. "futurequote": {
  11637. "description": "期货额度",
  11638. "type": "number"
  11639. },
  11640. "goodsgroupid": {
  11641. "description": "期货品种ID",
  11642. "type": "integer"
  11643. },
  11644. "marketid": {
  11645. "description": "市场ID",
  11646. "type": "integer"
  11647. },
  11648. "remark": {
  11649. "description": "备注",
  11650. "type": "string"
  11651. },
  11652. "spotquota": {
  11653. "description": "现货额度",
  11654. "type": "number"
  11655. },
  11656. "tradedate": {
  11657. "description": "交易日(yyyyMMdd)",
  11658. "type": "string"
  11659. },
  11660. "userid": {
  11661. "description": "所属机构",
  11662. "type": "integer"
  11663. }
  11664. }
  11665. },
  11666. "erms3.AddErms2SpotTradeApplyReq": {
  11667. "type": "object",
  11668. "required": [
  11669. "spottradeid"
  11670. ],
  11671. "properties": {
  11672. "applyjsondetail": {
  11673. "description": "申请明细(JSON)",
  11674. "type": "string"
  11675. },
  11676. "applystatus": {
  11677. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11678. "type": "integer"
  11679. },
  11680. "areauserid": {
  11681. "description": "所属机构",
  11682. "type": "integer"
  11683. },
  11684. "auditid": {
  11685. "description": "审核人",
  11686. "type": "integer"
  11687. },
  11688. "auditremark": {
  11689. "description": "审核备注",
  11690. "type": "string"
  11691. },
  11692. "audittime": {
  11693. "description": "审核时间",
  11694. "type": "string"
  11695. },
  11696. "createtime": {
  11697. "description": "创建时间",
  11698. "type": "string"
  11699. },
  11700. "creatorid": {
  11701. "description": "创建人",
  11702. "type": "integer"
  11703. },
  11704. "deliverygoodsid": {
  11705. "description": "现货品种ID",
  11706. "type": "integer"
  11707. },
  11708. "futureaccountid": {
  11709. "description": "期货资金账户",
  11710. "type": "integer"
  11711. },
  11712. "goodsgroupid": {
  11713. "description": "期货品种",
  11714. "type": "integer"
  11715. },
  11716. "marketid": {
  11717. "description": "市场ID",
  11718. "type": "integer"
  11719. },
  11720. "remark": {
  11721. "description": "备注",
  11722. "type": "string"
  11723. },
  11724. "spotaccountid": {
  11725. "description": "现货资金账户",
  11726. "type": "integer"
  11727. },
  11728. "spottradeid": {
  11729. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11730. "type": "integer"
  11731. },
  11732. "spottradename": {
  11733. "description": "业务名称",
  11734. "type": "string"
  11735. },
  11736. "spottradeno": {
  11737. "description": "业务编号",
  11738. "type": "string"
  11739. },
  11740. "tradedate": {
  11741. "description": "交易日(yyyyMMdd)",
  11742. "type": "string"
  11743. },
  11744. "wrstandardid": {
  11745. "description": "仓单标准ID",
  11746. "type": "integer"
  11747. }
  11748. }
  11749. },
  11750. "erms3.AddSpotContractApplyReq": {
  11751. "type": "object",
  11752. "required": [
  11753. "accountid",
  11754. "areauserid",
  11755. "contractno",
  11756. "contracttype",
  11757. "customeraccountid",
  11758. "customeruserid",
  11759. "details",
  11760. "orimargin",
  11761. "signdate"
  11762. ],
  11763. "properties": {
  11764. "accountid": {
  11765. "description": "资金账户ID",
  11766. "type": "integer"
  11767. },
  11768. "areauserid": {
  11769. "description": "所属机构",
  11770. "type": "integer"
  11771. },
  11772. "contractattachment": {
  11773. "description": "合同附件",
  11774. "type": "string"
  11775. },
  11776. "contractno": {
  11777. "description": "现货合同编号",
  11778. "type": "string"
  11779. },
  11780. "contracttype": {
  11781. "description": "现货合同类型 - 1:采购 -1:销售",
  11782. "type": "integer"
  11783. },
  11784. "creatorid": {
  11785. "description": "申请人",
  11786. "type": "integer"
  11787. },
  11788. "customeraccountid": {
  11789. "description": "客户资金账户ID",
  11790. "type": "integer"
  11791. },
  11792. "customeruserid": {
  11793. "description": "客户ID",
  11794. "type": "integer"
  11795. },
  11796. "details": {
  11797. "description": "明细",
  11798. "type": "array",
  11799. "items": {
  11800. "$ref": "#/definitions/erms3.SoptContractDetail"
  11801. }
  11802. },
  11803. "orimargin": {
  11804. "description": "初始保证金",
  11805. "type": "number"
  11806. },
  11807. "remark": {
  11808. "description": "备注",
  11809. "type": "string"
  11810. },
  11811. "signdate": {
  11812. "description": "签订日期",
  11813. "type": "string"
  11814. }
  11815. }
  11816. },
  11817. "erms3.AddSpotContractApplyRsp": {
  11818. "type": "object",
  11819. "required": [
  11820. "contractno"
  11821. ],
  11822. "properties": {
  11823. "contractno": {
  11824. "description": "现货合同编号",
  11825. "type": "string"
  11826. },
  11827. "spotcontractid": {
  11828. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11829. "type": "integer"
  11830. }
  11831. }
  11832. },
  11833. "erms3.AddUserInfoApplyReq": {
  11834. "type": "object",
  11835. "required": [
  11836. "userid"
  11837. ],
  11838. "properties": {
  11839. "accountid": {
  11840. "description": "交易系统帐号Id (加密存储)",
  11841. "type": "integer"
  11842. },
  11843. "areacode": {
  11844. "description": "机构代码",
  11845. "type": "string"
  11846. },
  11847. "areaid": {
  11848. "description": "机构Id",
  11849. "type": "integer"
  11850. },
  11851. "attachment1": {
  11852. "description": "附件1",
  11853. "type": "string"
  11854. },
  11855. "attachment2": {
  11856. "description": "附件2",
  11857. "type": "string"
  11858. },
  11859. "attachment3": {
  11860. "description": "附件3",
  11861. "type": "string"
  11862. },
  11863. "attachment4": {
  11864. "description": "附件4",
  11865. "type": "string"
  11866. },
  11867. "attachment5": {
  11868. "description": "附件5",
  11869. "type": "string"
  11870. },
  11871. "auditedby": {
  11872. "description": "审核人",
  11873. "type": "string"
  11874. },
  11875. "auditime": {
  11876. "description": "审核时间",
  11877. "type": "string"
  11878. },
  11879. "bankaccount": {
  11880. "description": "银行帐号 (加密存储)",
  11881. "type": "string"
  11882. },
  11883. "bankaccountname": {
  11884. "description": "收款人名称",
  11885. "type": "string"
  11886. },
  11887. "bankcardbackphotourl": {
  11888. "description": "银行卡背面照地址",
  11889. "type": "string"
  11890. },
  11891. "bankcardfrontphotourl": {
  11892. "description": "银行卡正面照地址",
  11893. "type": "string"
  11894. },
  11895. "bankid": {
  11896. "description": "银行编码",
  11897. "type": "string"
  11898. },
  11899. "bankname": {
  11900. "description": "银行名称",
  11901. "type": "string"
  11902. },
  11903. "bankpictureurl": {
  11904. "description": "银行卡正面地址",
  11905. "type": "string"
  11906. },
  11907. "biznature": {
  11908. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11909. "type": "integer"
  11910. },
  11911. "bizscope": {
  11912. "description": "企业经营范围(企业)",
  11913. "type": "string"
  11914. },
  11915. "biztype": {
  11916. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11917. "type": "integer"
  11918. },
  11919. "brokerid": {
  11920. "description": "经纪人ID(加密存储)",
  11921. "type": "string"
  11922. },
  11923. "cardaddress": {
  11924. "description": "证件地址 (加密存储)",
  11925. "type": "string"
  11926. },
  11927. "cardbackphotourl": {
  11928. "description": "背面证件照地址",
  11929. "type": "string"
  11930. },
  11931. "cardfrontphotourl": {
  11932. "description": "正面证件照地址",
  11933. "type": "string"
  11934. },
  11935. "cardnum": {
  11936. "description": "证件号码 (加密存储)",
  11937. "type": "string"
  11938. },
  11939. "cardtype": {
  11940. "description": "证件类型",
  11941. "type": "integer"
  11942. },
  11943. "cityid": {
  11944. "description": "市",
  11945. "type": "integer"
  11946. },
  11947. "company": {
  11948. "description": "公司(个人)",
  11949. "type": "string"
  11950. },
  11951. "contactcardbackphotourl": {
  11952. "description": "联系人证件背面图片地址",
  11953. "type": "string"
  11954. },
  11955. "contactcardfrontphotourl": {
  11956. "description": "联系人证件正面图片地址",
  11957. "type": "string"
  11958. },
  11959. "contactname": {
  11960. "description": "联系人",
  11961. "type": "string"
  11962. },
  11963. "countryid": {
  11964. "description": "国家",
  11965. "type": "integer"
  11966. },
  11967. "createtime": {
  11968. "description": "开户申请时间",
  11969. "type": "string"
  11970. },
  11971. "cusbankid": {
  11972. "description": "签约类型",
  11973. "type": "string"
  11974. },
  11975. "cusbankname": {
  11976. "description": "签约类型名称",
  11977. "type": "string"
  11978. },
  11979. "customername": {
  11980. "description": "客户名称(企业名称)",
  11981. "type": "string"
  11982. },
  11983. "districtid": {
  11984. "description": "地区",
  11985. "type": "integer"
  11986. },
  11987. "email": {
  11988. "description": "Email地址(加密存储)",
  11989. "type": "string"
  11990. },
  11991. "halfbodyphotourl": {
  11992. "description": "半身照地址",
  11993. "type": "string"
  11994. },
  11995. "headurl": {
  11996. "description": "头像地址",
  11997. "type": "string"
  11998. },
  11999. "ipaddress": {
  12000. "description": "IP地址",
  12001. "type": "string"
  12002. },
  12003. "isvalidate": {
  12004. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12005. "type": "string"
  12006. },
  12007. "legalcardbackphotourl": {
  12008. "description": "法人身份证背面照地址",
  12009. "type": "string"
  12010. },
  12011. "legalcardfrontphotourl": {
  12012. "description": "法人身份证正面照地址",
  12013. "type": "string"
  12014. },
  12015. "legalpersonname": {
  12016. "description": "法人姓名(企业)",
  12017. "type": "string"
  12018. },
  12019. "logincode": {
  12020. "description": "登录帐号 (加密存储)",
  12021. "type": "string"
  12022. },
  12023. "memberareaid": {
  12024. "description": "所属会员ID",
  12025. "type": "integer"
  12026. },
  12027. "mobile2": {
  12028. "description": "手机号码[明文-尚志]",
  12029. "type": "string"
  12030. },
  12031. "mobilephone": {
  12032. "description": "手机号码 (加密存储)",
  12033. "type": "string"
  12034. },
  12035. "modifiedby": {
  12036. "description": "修改人帐号",
  12037. "type": "integer"
  12038. },
  12039. "modifiedtime": {
  12040. "description": "修改时间",
  12041. "type": "string"
  12042. },
  12043. "nickname": {
  12044. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12045. "type": "string"
  12046. },
  12047. "openmode": {
  12048. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12049. "type": "integer"
  12050. },
  12051. "otherurl": {
  12052. "description": "其它图片地址[使用分号分隔]",
  12053. "type": "string"
  12054. },
  12055. "postalcode": {
  12056. "description": "邮政编码",
  12057. "type": "string"
  12058. },
  12059. "provinceid": {
  12060. "description": "省",
  12061. "type": "integer"
  12062. },
  12063. "proxystatementurl": {
  12064. "description": "授权委托书",
  12065. "type": "string"
  12066. },
  12067. "qq": {
  12068. "description": "QQ(加密存储",
  12069. "type": "string"
  12070. },
  12071. "referral": {
  12072. "description": "推荐人编码",
  12073. "type": "string"
  12074. },
  12075. "remark": {
  12076. "description": "备注",
  12077. "type": "string"
  12078. },
  12079. "removebeforestatus": {
  12080. "description": "REMOVEBEFORESTATUS",
  12081. "type": "integer"
  12082. },
  12083. "sex": {
  12084. "description": "性别 - 0:女 1:男",
  12085. "type": "integer"
  12086. },
  12087. "signedstatus": {
  12088. "description": "账户一号签签约状态",
  12089. "type": "integer"
  12090. },
  12091. "signpdfurl": {
  12092. "description": "签约pdf文件",
  12093. "type": "string"
  12094. },
  12095. "subbranch": {
  12096. "description": "开户支行",
  12097. "type": "string"
  12098. },
  12099. "telphone": {
  12100. "description": "联系电话(加密存储)",
  12101. "type": "string"
  12102. },
  12103. "userid": {
  12104. "description": "用户ID(自增ID)",
  12105. "type": "integer"
  12106. },
  12107. "userinfotype": {
  12108. "description": "用户信息类型 - 1:个人 2:企业",
  12109. "type": "integer"
  12110. },
  12111. "username": {
  12112. "description": "用户姓名",
  12113. "type": "string"
  12114. },
  12115. "userstate": {
  12116. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12117. "type": "integer"
  12118. },
  12119. "usertype": {
  12120. "description": "用户类型 - 1:投资者 2:机构",
  12121. "type": "integer"
  12122. },
  12123. "videourl": {
  12124. "description": "视频地址",
  12125. "type": "string"
  12126. },
  12127. "wechat": {
  12128. "description": "微信号 (加密存储)",
  12129. "type": "string"
  12130. }
  12131. }
  12132. },
  12133. "erms3.CustomerInfo": {
  12134. "type": "object",
  12135. "required": [
  12136. "userid"
  12137. ],
  12138. "properties": {
  12139. "accountids": {
  12140. "description": "资金账户ID列表",
  12141. "type": "array",
  12142. "items": {
  12143. "type": "integer"
  12144. }
  12145. },
  12146. "customername": {
  12147. "description": "名称(企业名称)",
  12148. "type": "string"
  12149. },
  12150. "mobile": {
  12151. "description": "手机号码",
  12152. "type": "string"
  12153. },
  12154. "userid": {
  12155. "description": "用户ID",
  12156. "type": "integer"
  12157. }
  12158. }
  12159. },
  12160. "erms3.ModifyUserInfoApplyReq": {
  12161. "type": "object",
  12162. "required": [
  12163. "userid"
  12164. ],
  12165. "properties": {
  12166. "accountid": {
  12167. "description": "交易系统帐号Id (加密存储)",
  12168. "type": "integer"
  12169. },
  12170. "areacode": {
  12171. "description": "机构代码",
  12172. "type": "string"
  12173. },
  12174. "areaid": {
  12175. "description": "机构Id",
  12176. "type": "integer"
  12177. },
  12178. "attachment1": {
  12179. "description": "附件1",
  12180. "type": "string"
  12181. },
  12182. "attachment2": {
  12183. "description": "附件2",
  12184. "type": "string"
  12185. },
  12186. "attachment3": {
  12187. "description": "附件3",
  12188. "type": "string"
  12189. },
  12190. "attachment4": {
  12191. "description": "附件4",
  12192. "type": "string"
  12193. },
  12194. "attachment5": {
  12195. "description": "附件5",
  12196. "type": "string"
  12197. },
  12198. "auditedby": {
  12199. "description": "审核人",
  12200. "type": "string"
  12201. },
  12202. "auditime": {
  12203. "description": "审核时间",
  12204. "type": "string"
  12205. },
  12206. "bankaccount": {
  12207. "description": "银行帐号 (加密存储)",
  12208. "type": "string"
  12209. },
  12210. "bankaccountname": {
  12211. "description": "收款人名称",
  12212. "type": "string"
  12213. },
  12214. "bankcardbackphotourl": {
  12215. "description": "银行卡背面照地址",
  12216. "type": "string"
  12217. },
  12218. "bankcardfrontphotourl": {
  12219. "description": "银行卡正面照地址",
  12220. "type": "string"
  12221. },
  12222. "bankid": {
  12223. "description": "银行编码",
  12224. "type": "string"
  12225. },
  12226. "bankname": {
  12227. "description": "银行名称",
  12228. "type": "string"
  12229. },
  12230. "bankpictureurl": {
  12231. "description": "银行卡正面地址",
  12232. "type": "string"
  12233. },
  12234. "biznature": {
  12235. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12236. "type": "integer"
  12237. },
  12238. "bizscope": {
  12239. "description": "企业经营范围(企业)",
  12240. "type": "string"
  12241. },
  12242. "biztype": {
  12243. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12244. "type": "integer"
  12245. },
  12246. "brokerid": {
  12247. "description": "经纪人ID(加密存储)",
  12248. "type": "string"
  12249. },
  12250. "cardaddress": {
  12251. "description": "证件地址 (加密存储)",
  12252. "type": "string"
  12253. },
  12254. "cardbackphotourl": {
  12255. "description": "背面证件照地址",
  12256. "type": "string"
  12257. },
  12258. "cardfrontphotourl": {
  12259. "description": "正面证件照地址",
  12260. "type": "string"
  12261. },
  12262. "cardnum": {
  12263. "description": "证件号码 (加密存储)",
  12264. "type": "string"
  12265. },
  12266. "cardtype": {
  12267. "description": "证件类型",
  12268. "type": "integer"
  12269. },
  12270. "cityid": {
  12271. "description": "市",
  12272. "type": "integer"
  12273. },
  12274. "company": {
  12275. "description": "公司(个人)",
  12276. "type": "string"
  12277. },
  12278. "contactcardbackphotourl": {
  12279. "description": "联系人证件背面图片地址",
  12280. "type": "string"
  12281. },
  12282. "contactcardfrontphotourl": {
  12283. "description": "联系人证件正面图片地址",
  12284. "type": "string"
  12285. },
  12286. "contactname": {
  12287. "description": "联系人",
  12288. "type": "string"
  12289. },
  12290. "countryid": {
  12291. "description": "国家",
  12292. "type": "integer"
  12293. },
  12294. "createtime": {
  12295. "description": "开户申请时间",
  12296. "type": "string"
  12297. },
  12298. "cusbankid": {
  12299. "description": "签约类型",
  12300. "type": "string"
  12301. },
  12302. "cusbankname": {
  12303. "description": "签约类型名称",
  12304. "type": "string"
  12305. },
  12306. "customername": {
  12307. "description": "客户名称(企业名称)",
  12308. "type": "string"
  12309. },
  12310. "districtid": {
  12311. "description": "地区",
  12312. "type": "integer"
  12313. },
  12314. "email": {
  12315. "description": "Email地址(加密存储)",
  12316. "type": "string"
  12317. },
  12318. "halfbodyphotourl": {
  12319. "description": "半身照地址",
  12320. "type": "string"
  12321. },
  12322. "headurl": {
  12323. "description": "头像地址",
  12324. "type": "string"
  12325. },
  12326. "ipaddress": {
  12327. "description": "IP地址",
  12328. "type": "string"
  12329. },
  12330. "isvalidate": {
  12331. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12332. "type": "string"
  12333. },
  12334. "legalcardbackphotourl": {
  12335. "description": "法人身份证背面照地址",
  12336. "type": "string"
  12337. },
  12338. "legalcardfrontphotourl": {
  12339. "description": "法人身份证正面照地址",
  12340. "type": "string"
  12341. },
  12342. "legalpersonname": {
  12343. "description": "法人姓名(企业)",
  12344. "type": "string"
  12345. },
  12346. "logincode": {
  12347. "description": "登录帐号 (加密存储)",
  12348. "type": "string"
  12349. },
  12350. "memberareaid": {
  12351. "description": "所属会员ID",
  12352. "type": "integer"
  12353. },
  12354. "mobile2": {
  12355. "description": "手机号码[明文-尚志]",
  12356. "type": "string"
  12357. },
  12358. "mobilephone": {
  12359. "description": "手机号码 (加密存储)",
  12360. "type": "string"
  12361. },
  12362. "modifiedby": {
  12363. "description": "修改人帐号",
  12364. "type": "integer"
  12365. },
  12366. "modifiedtime": {
  12367. "description": "修改时间",
  12368. "type": "string"
  12369. },
  12370. "nickname": {
  12371. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12372. "type": "string"
  12373. },
  12374. "openmode": {
  12375. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12376. "type": "integer"
  12377. },
  12378. "otherurl": {
  12379. "description": "其它图片地址[使用分号分隔]",
  12380. "type": "string"
  12381. },
  12382. "postalcode": {
  12383. "description": "邮政编码",
  12384. "type": "string"
  12385. },
  12386. "provinceid": {
  12387. "description": "省",
  12388. "type": "integer"
  12389. },
  12390. "proxystatementurl": {
  12391. "description": "授权委托书",
  12392. "type": "string"
  12393. },
  12394. "qq": {
  12395. "description": "QQ(加密存储",
  12396. "type": "string"
  12397. },
  12398. "referral": {
  12399. "description": "推荐人编码",
  12400. "type": "string"
  12401. },
  12402. "remark": {
  12403. "description": "备注",
  12404. "type": "string"
  12405. },
  12406. "removebeforestatus": {
  12407. "description": "REMOVEBEFORESTATUS",
  12408. "type": "integer"
  12409. },
  12410. "sex": {
  12411. "description": "性别 - 0:女 1:男",
  12412. "type": "integer"
  12413. },
  12414. "signedstatus": {
  12415. "description": "账户一号签签约状态",
  12416. "type": "integer"
  12417. },
  12418. "signpdfurl": {
  12419. "description": "签约pdf文件",
  12420. "type": "string"
  12421. },
  12422. "subbranch": {
  12423. "description": "开户支行",
  12424. "type": "string"
  12425. },
  12426. "telphone": {
  12427. "description": "联系电话(加密存储)",
  12428. "type": "string"
  12429. },
  12430. "userid": {
  12431. "description": "用户ID(自增ID)",
  12432. "type": "integer"
  12433. },
  12434. "userinfotype": {
  12435. "description": "用户信息类型 - 1:个人 2:企业",
  12436. "type": "integer"
  12437. },
  12438. "username": {
  12439. "description": "用户姓名",
  12440. "type": "string"
  12441. },
  12442. "userstate": {
  12443. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12444. "type": "integer"
  12445. },
  12446. "usertype": {
  12447. "description": "用户类型 - 1:投资者 2:机构",
  12448. "type": "integer"
  12449. },
  12450. "videourl": {
  12451. "description": "视频地址",
  12452. "type": "string"
  12453. },
  12454. "wechat": {
  12455. "description": "微信号 (加密存储)",
  12456. "type": "string"
  12457. }
  12458. }
  12459. },
  12460. "erms3.QryAuditContractRsp": {
  12461. "type": "object",
  12462. "required": [
  12463. "matchcustomername",
  12464. "spotcontractid"
  12465. ],
  12466. "properties": {
  12467. "accountid": {
  12468. "description": "交易员ID",
  12469. "type": "string"
  12470. },
  12471. "applystatus": {
  12472. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12473. "type": "integer"
  12474. },
  12475. "curdeliveryqty": {
  12476. "description": "未交收量",
  12477. "type": "integer"
  12478. },
  12479. "customername": {
  12480. "description": "采购方ID",
  12481. "type": "string"
  12482. },
  12483. "deliverygoodsid": {
  12484. "description": "品种ID",
  12485. "type": "string"
  12486. },
  12487. "deliveryqty": {
  12488. "description": "交收量",
  12489. "type": "integer"
  12490. },
  12491. "enumdicname": {
  12492. "description": "单位名称",
  12493. "type": "string"
  12494. },
  12495. "matchaccountid": {
  12496. "description": "业务员ID",
  12497. "type": "string"
  12498. },
  12499. "matchcustomername": {
  12500. "description": "销售方ID",
  12501. "type": "string"
  12502. },
  12503. "pricedqty": {
  12504. "description": "定价量",
  12505. "type": "number"
  12506. },
  12507. "signdate": {
  12508. "description": "签订日期",
  12509. "type": "string"
  12510. },
  12511. "spotcontractid": {
  12512. "description": "合同ID",
  12513. "type": "string"
  12514. },
  12515. "totaldqty": {
  12516. "description": "合同量",
  12517. "type": "number"
  12518. },
  12519. "unpricedqty": {
  12520. "description": "未定价量",
  12521. "type": "number"
  12522. },
  12523. "wrstandardname": {
  12524. "description": "商品名称",
  12525. "type": "string"
  12526. }
  12527. }
  12528. },
  12529. "erms3.QryPendingBizRsp": {
  12530. "$ref": "#/definitions/models.PendingAuditBizModel"
  12531. },
  12532. "erms3.QueryBusinessInfoRsp": {
  12533. "type": "object",
  12534. "properties": {
  12535. "businessid": {
  12536. "description": "业务ID.",
  12537. "type": "integer"
  12538. },
  12539. "buyamount": {
  12540. "description": "采购额.",
  12541. "type": "number"
  12542. },
  12543. "buyqty": {
  12544. "description": "采购量.",
  12545. "type": "string"
  12546. },
  12547. "futurepl": {
  12548. "description": "期货盈亏.",
  12549. "type": "number"
  12550. },
  12551. "futureqty": {
  12552. "description": "期货敞口.",
  12553. "type": "string"
  12554. },
  12555. "goodsid": {
  12556. "description": "商品名称/商品代码.",
  12557. "type": "string"
  12558. },
  12559. "hedgingqty": {
  12560. "description": "套保量.",
  12561. "type": "string"
  12562. },
  12563. "sellamount": {
  12564. "description": "销售额.",
  12565. "type": "number"
  12566. },
  12567. "sellqty": {
  12568. "description": "销售量.",
  12569. "type": "string"
  12570. },
  12571. "spotmarketvalue": {
  12572. "description": "现货市值.",
  12573. "type": "number"
  12574. },
  12575. "spotpl": {
  12576. "description": "浮动权益.",
  12577. "type": "number"
  12578. },
  12579. "spotqty": {
  12580. "description": "现货量.",
  12581. "type": "string"
  12582. },
  12583. "statu": {
  12584. "description": "状态,0-未结束 1-已结束.",
  12585. "type": "integer"
  12586. },
  12587. "totalpl": {
  12588. "description": "总盈亏.",
  12589. "type": "number"
  12590. },
  12591. "totalqty": {
  12592. "description": "总敞口.",
  12593. "type": "string"
  12594. },
  12595. "type": {
  12596. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12597. "type": "integer"
  12598. }
  12599. }
  12600. },
  12601. "erms3.QuerySpotContractAppleFormRsp": {
  12602. "type": "object",
  12603. "properties": {
  12604. "goodses": {
  12605. "description": "合约列表",
  12606. "type": "array",
  12607. "items": {
  12608. "$ref": "#/definitions/models.GoodsIDAndName"
  12609. }
  12610. },
  12611. "oppositeusers": {
  12612. "description": "对方账号列表",
  12613. "type": "array",
  12614. "items": {
  12615. "$ref": "#/definitions/erms3.CustomerInfo"
  12616. }
  12617. },
  12618. "ouruser": {
  12619. "description": "我方账号",
  12620. "type": "object",
  12621. "$ref": "#/definitions/erms3.CustomerInfo"
  12622. },
  12623. "warehouseinfos": {
  12624. "description": "仓库信息列表",
  12625. "type": "array",
  12626. "items": {
  12627. "$ref": "#/definitions/models.Warehouseinfo"
  12628. }
  12629. },
  12630. "wrstandards": {
  12631. "description": "仓单标准列表",
  12632. "type": "array",
  12633. "items": {
  12634. "$ref": "#/definitions/models.WRStandardInfo"
  12635. }
  12636. }
  12637. }
  12638. },
  12639. "erms3.QuerySpotContractInfoRsp": {
  12640. "type": "object",
  12641. "properties": {
  12642. "accountid": {
  12643. "description": "表示交易员ID.",
  12644. "type": "integer"
  12645. },
  12646. "curdeliveryqty": {
  12647. "description": "表示未交收量.",
  12648. "type": "number"
  12649. },
  12650. "customername": {
  12651. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12652. "type": "string"
  12653. },
  12654. "deliverygoodsid": {
  12655. "description": "表示品种ID.",
  12656. "type": "string"
  12657. },
  12658. "deliveryqty": {
  12659. "description": "表示交收量.",
  12660. "type": "number"
  12661. },
  12662. "matchaccountid": {
  12663. "description": "表示业务员ID.",
  12664. "type": "integer"
  12665. },
  12666. "matchcustomername": {
  12667. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12668. "type": "string"
  12669. },
  12670. "priceqty": {
  12671. "description": "表示定价量.",
  12672. "type": "number"
  12673. },
  12674. "relatedbizid": {
  12675. "description": "表示业务ID.",
  12676. "type": "string"
  12677. },
  12678. "signdate": {
  12679. "description": "表示签订日期.",
  12680. "type": "string"
  12681. },
  12682. "spotcontractid": {
  12683. "description": "合同ID",
  12684. "type": "string"
  12685. },
  12686. "status": {
  12687. "description": "表示状态,0-履约中 1-已完成.",
  12688. "type": "integer"
  12689. },
  12690. "totalqty": {
  12691. "description": "表示合同量.",
  12692. "type": "number"
  12693. },
  12694. "unpricedqty": {
  12695. "description": "表示未定价量.",
  12696. "type": "number"
  12697. },
  12698. "wrstandardname": {
  12699. "description": "表示商品ID.",
  12700. "type": "string"
  12701. }
  12702. }
  12703. },
  12704. "erms3.QueryUserInfoAppliesRsp": {
  12705. "type": "object",
  12706. "required": [
  12707. "userid"
  12708. ],
  12709. "properties": {
  12710. "biznature": {
  12711. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12712. "type": "integer"
  12713. },
  12714. "contactname": {
  12715. "description": "联系人",
  12716. "type": "string"
  12717. },
  12718. "createtime": {
  12719. "description": "开户申请时间",
  12720. "type": "string"
  12721. },
  12722. "userid": {
  12723. "description": "用户ID(自增ID)",
  12724. "type": "integer"
  12725. },
  12726. "userinfotype": {
  12727. "description": "用户信息类型 - 1:个人 2:企业",
  12728. "type": "integer"
  12729. },
  12730. "username": {
  12731. "description": "用户姓名",
  12732. "type": "string"
  12733. },
  12734. "userstate": {
  12735. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12736. "type": "integer"
  12737. }
  12738. }
  12739. },
  12740. "erms3.QueryUserInfosRsp": {
  12741. "type": "object",
  12742. "required": [
  12743. "userid"
  12744. ],
  12745. "properties": {
  12746. "biznature": {
  12747. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12748. "type": "integer"
  12749. },
  12750. "contactname": {
  12751. "description": "联系人",
  12752. "type": "string"
  12753. },
  12754. "customername": {
  12755. "description": "客户名称(企业名称)",
  12756. "type": "string"
  12757. },
  12758. "userid": {
  12759. "description": "用户ID",
  12760. "type": "integer"
  12761. },
  12762. "userinfotype": {
  12763. "description": "用户信息类型 - 1:个人 2:企业",
  12764. "type": "integer"
  12765. },
  12766. "userstatus": {
  12767. "description": "用户状态 - 1:正常 2:注销",
  12768. "type": "integer"
  12769. }
  12770. }
  12771. },
  12772. "erms3.SoptContractDetail": {
  12773. "type": "object",
  12774. "required": [
  12775. "deliverygoodsid",
  12776. "producttype",
  12777. "unitname",
  12778. "warehouseid",
  12779. "wrstandardid",
  12780. "wrstandardname"
  12781. ],
  12782. "properties": {
  12783. "deliverygoodsdesc": {
  12784. "description": "现货品种说明",
  12785. "type": "string"
  12786. },
  12787. "deliverygoodsid": {
  12788. "description": "现货品种ID",
  12789. "type": "integer"
  12790. },
  12791. "deliverygoodsname": {
  12792. "description": "现货品种名称",
  12793. "type": "string"
  12794. },
  12795. "pointdesc": {
  12796. "description": "点价描述",
  12797. "type": "string"
  12798. },
  12799. "producttype": {
  12800. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12801. "type": "integer"
  12802. },
  12803. "producttypename": {
  12804. "description": "产品类型名称",
  12805. "type": "string"
  12806. },
  12807. "spotPointOrderVoList": {
  12808. "description": "点价列表",
  12809. "type": "array",
  12810. "items": {
  12811. "$ref": "#/definitions/erms3.SpotPointOrder"
  12812. }
  12813. },
  12814. "spotPriceOrderList": {
  12815. "description": "定价列表",
  12816. "type": "array",
  12817. "items": {
  12818. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12819. }
  12820. },
  12821. "unitname": {
  12822. "description": "单位名称",
  12823. "type": "string"
  12824. },
  12825. "warehouseid": {
  12826. "description": "仓库ID",
  12827. "type": "integer"
  12828. },
  12829. "warehousename": {
  12830. "description": "仓库名称",
  12831. "type": "string"
  12832. },
  12833. "wrstandardid": {
  12834. "description": "交易标的ID",
  12835. "type": "integer"
  12836. },
  12837. "wrstandardname": {
  12838. "description": "交易标的名称",
  12839. "type": "string"
  12840. }
  12841. }
  12842. },
  12843. "erms3.SpotPointOrder": {
  12844. "type": "object",
  12845. "required": [
  12846. "basic",
  12847. "goodsid",
  12848. "qty"
  12849. ],
  12850. "properties": {
  12851. "basic": {
  12852. "description": "基差",
  12853. "type": "number"
  12854. },
  12855. "deliveryenddate": {
  12856. "description": "交收结束日期",
  12857. "type": "string"
  12858. },
  12859. "deliverystartdate": {
  12860. "description": "交收开始日期",
  12861. "type": "string"
  12862. },
  12863. "enddate": {
  12864. "description": "点价结束日期",
  12865. "type": "string"
  12866. },
  12867. "goodsid": {
  12868. "description": "商品ID",
  12869. "type": "integer"
  12870. },
  12871. "goodsname": {
  12872. "description": "商品名称",
  12873. "type": "string"
  12874. },
  12875. "qty": {
  12876. "description": "数量",
  12877. "type": "number"
  12878. },
  12879. "startdate": {
  12880. "description": "点价开始日期",
  12881. "type": "string"
  12882. }
  12883. }
  12884. },
  12885. "erms3.SpotPriceOrder": {
  12886. "type": "object",
  12887. "required": [
  12888. "amount",
  12889. "price",
  12890. "qty"
  12891. ],
  12892. "properties": {
  12893. "amount": {
  12894. "description": "金额",
  12895. "type": "number"
  12896. },
  12897. "deliveryenddate": {
  12898. "description": "交收结束日期",
  12899. "type": "string"
  12900. },
  12901. "deliverystartdate": {
  12902. "description": "交收开始日期",
  12903. "type": "string"
  12904. },
  12905. "price": {
  12906. "description": "价格",
  12907. "type": "number"
  12908. },
  12909. "qty": {
  12910. "description": "数量",
  12911. "type": "number"
  12912. }
  12913. }
  12914. },
  12915. "hsby.GetHsbyMyCountRsp": {
  12916. "type": "object",
  12917. "properties": {
  12918. "myCouponCount": {
  12919. "description": "我的优惠卷数量",
  12920. "type": "integer"
  12921. },
  12922. "myOrderDetailListingCount": {
  12923. "description": "我的订单求购中数量",
  12924. "type": "integer"
  12925. },
  12926. "myOrderDetailPreCount": {
  12927. "description": "我的订单抢购中数量",
  12928. "type": "integer"
  12929. },
  12930. "myPackageUnReceiveCount": {
  12931. "description": "我的包裹待收货数量",
  12932. "type": "integer"
  12933. },
  12934. "myPackageUnSendCount": {
  12935. "description": "我的包裹待发货数量",
  12936. "type": "integer"
  12937. },
  12938. "myPayOrderCount": {
  12939. "description": "我的订单待付款数量",
  12940. "type": "integer"
  12941. }
  12942. }
  12943. },
  12944. "hsby.QueryProvincesAndCitiesRsp": {
  12945. "type": "object",
  12946. "properties": {
  12947. "cities": {
  12948. "description": "市",
  12949. "type": "array",
  12950. "items": {
  12951. "$ref": "#/definitions/models.Division"
  12952. }
  12953. },
  12954. "province": {
  12955. "description": "省",
  12956. "type": "object",
  12957. "$ref": "#/definitions/models.Division"
  12958. }
  12959. }
  12960. },
  12961. "models.AreaSpotModel": {
  12962. "type": "object",
  12963. "properties": {
  12964. "areauserid": {
  12965. "description": "所属机构",
  12966. "type": "integer"
  12967. },
  12968. "decreaseqty": {
  12969. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12970. "type": "number"
  12971. },
  12972. "increaseqty": {
  12973. "description": "增加数量=销售计划数量+采购已定价数量",
  12974. "type": "number"
  12975. },
  12976. "oritoalspotqty": {
  12977. "description": "昨日数量",
  12978. "type": "number"
  12979. },
  12980. "totalspotqty": {
  12981. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12982. "type": "number"
  12983. },
  12984. "updatetime": {
  12985. "description": "更新时间",
  12986. "type": "string"
  12987. },
  12988. "wrstandardcode": {
  12989. "description": "现货品种代码",
  12990. "type": "string"
  12991. },
  12992. "wrstandardid": {
  12993. "description": "现货商品ID",
  12994. "type": "integer"
  12995. },
  12996. "wrstandardname": {
  12997. "description": "现货品种",
  12998. "type": "string"
  12999. }
  13000. }
  13001. },
  13002. "models.Clientfixedadconfig": {
  13003. "type": "object",
  13004. "required": [
  13005. "adsort",
  13006. "adtype"
  13007. ],
  13008. "properties": {
  13009. "adsort": {
  13010. "description": "排序",
  13011. "type": "integer"
  13012. },
  13013. "adtype": {
  13014. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13015. "type": "integer"
  13016. },
  13017. "areauserid": {
  13018. "description": "所属机构ID",
  13019. "type": "integer"
  13020. },
  13021. "createdate": {
  13022. "description": "创建时间",
  13023. "type": "string"
  13024. },
  13025. "creatorid": {
  13026. "description": "创建人",
  13027. "type": "integer"
  13028. },
  13029. "imagepath": {
  13030. "description": "图片",
  13031. "type": "string"
  13032. },
  13033. "isshow": {
  13034. "description": "是否展示 - 0:不展示 1:展示",
  13035. "type": "integer"
  13036. },
  13037. "modifierid": {
  13038. "description": "操作人",
  13039. "type": "integer"
  13040. },
  13041. "recsize": {
  13042. "description": "推荐尺寸",
  13043. "type": "string"
  13044. },
  13045. "title": {
  13046. "description": "标题",
  13047. "type": "string"
  13048. },
  13049. "updatedate": {
  13050. "description": "更新时间",
  13051. "type": "string"
  13052. },
  13053. "urlcontent": {
  13054. "description": "链接(地址或商品ID)",
  13055. "type": "string"
  13056. },
  13057. "urltype": {
  13058. "description": "链接类型 - 1:直接地址 2:商品ID",
  13059. "type": "integer"
  13060. }
  13061. }
  13062. },
  13063. "models.Division": {
  13064. "type": "object",
  13065. "required": [
  13066. "autoid",
  13067. "divisioncode"
  13068. ],
  13069. "properties": {
  13070. "autoid": {
  13071. "description": "自增ID",
  13072. "type": "integer"
  13073. },
  13074. "divisioncode": {
  13075. "description": "行政代码",
  13076. "type": "string"
  13077. },
  13078. "divisionlevel": {
  13079. "description": "行政级别",
  13080. "type": "string"
  13081. },
  13082. "divisionname": {
  13083. "description": "行政名称",
  13084. "type": "string"
  13085. },
  13086. "modifierid": {
  13087. "description": "修改人",
  13088. "type": "integer"
  13089. },
  13090. "modifytime": {
  13091. "description": "修改时间",
  13092. "type": "string"
  13093. },
  13094. "parentcode": {
  13095. "description": "上级行政代码",
  13096. "type": "string"
  13097. },
  13098. "pathname": {
  13099. "description": "路径名称",
  13100. "type": "string"
  13101. },
  13102. "postcode": {
  13103. "description": "邮政编码",
  13104. "type": "string"
  13105. },
  13106. "separablename": {
  13107. "description": "可拆分的全称",
  13108. "type": "string"
  13109. },
  13110. "shortcode": {
  13111. "description": "地区简码",
  13112. "type": "string"
  13113. }
  13114. }
  13115. },
  13116. "models.Enumdicitem": {
  13117. "type": "object",
  13118. "required": [
  13119. "autoid",
  13120. "enumdiccode",
  13121. "enumdicid",
  13122. "enumitemname"
  13123. ],
  13124. "properties": {
  13125. "autoid": {
  13126. "description": "自增ID",
  13127. "type": "integer"
  13128. },
  13129. "bankmappedvalue": {
  13130. "description": "银行服务对应值",
  13131. "type": "string"
  13132. },
  13133. "enumdiccode": {
  13134. "description": "所属枚举代码",
  13135. "type": "string"
  13136. },
  13137. "enumdicid": {
  13138. "description": "所属枚举ID",
  13139. "type": "integer"
  13140. },
  13141. "enumdicname": {
  13142. "description": "枚举项名称",
  13143. "type": "string"
  13144. },
  13145. "enumitemname": {
  13146. "description": "枚举项值",
  13147. "type": "integer"
  13148. },
  13149. "enumitemstatus": {
  13150. "description": "枚举项状态 - 1.启用 2.不启用",
  13151. "type": "integer"
  13152. },
  13153. "enumitemvalue": {
  13154. "description": "通用值 - [币种通用简写]",
  13155. "type": "string"
  13156. },
  13157. "param1": {
  13158. "description": "参数1[币种:币种小数位]",
  13159. "type": "string"
  13160. },
  13161. "param2": {
  13162. "description": "参数1[币种:币种显示单位]",
  13163. "type": "string"
  13164. },
  13165. "remark": {
  13166. "description": "备注",
  13167. "type": "string"
  13168. }
  13169. }
  13170. },
  13171. "models.Ermcp3AreaSpot": {
  13172. "type": "object",
  13173. "properties": {
  13174. "areauserid": {
  13175. "description": "所属机构",
  13176. "type": "integer"
  13177. },
  13178. "decreaseqty": {
  13179. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13180. "type": "number"
  13181. },
  13182. "deliverygoodscode": {
  13183. "description": "现货品种代码",
  13184. "type": "string"
  13185. },
  13186. "deliverygoodsid": {
  13187. "description": "现货品种id",
  13188. "type": "integer"
  13189. },
  13190. "deliverygoodsname": {
  13191. "description": "现货品种名称",
  13192. "type": "string"
  13193. },
  13194. "increaseqty": {
  13195. "description": "增加数量=销售计划数量+采购已定价数量",
  13196. "type": "number"
  13197. },
  13198. "oritoalspotqty": {
  13199. "description": "昨日数量",
  13200. "type": "number"
  13201. },
  13202. "totalspotqty": {
  13203. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13204. "type": "number"
  13205. },
  13206. "updatetime": {
  13207. "description": "更新时间",
  13208. "type": "string"
  13209. }
  13210. }
  13211. },
  13212. "models.Ermcp3AreaSpotDetail": {
  13213. "type": "object",
  13214. "properties": {
  13215. "contracttype": {
  13216. "description": "合同类型 1-采购 -1-销售",
  13217. "type": "integer"
  13218. },
  13219. "createtime": {
  13220. "description": "创建时间",
  13221. "type": "string"
  13222. },
  13223. "deliverygoodscode": {
  13224. "description": "现货品种代码",
  13225. "type": "string"
  13226. },
  13227. "deliverygoodsid": {
  13228. "description": "现货品种id",
  13229. "type": "integer"
  13230. },
  13231. "deliverygoodsname": {
  13232. "description": "现货品种名称",
  13233. "type": "string"
  13234. },
  13235. "enumdicname": {
  13236. "description": "现货商品单位名称",
  13237. "type": "string"
  13238. },
  13239. "logtype": {
  13240. "description": "记录类型 1-套保 2-现货合同",
  13241. "type": "integer"
  13242. },
  13243. "qty": {
  13244. "description": "数量",
  13245. "type": "number"
  13246. },
  13247. "recordname": {
  13248. "description": "类型名称",
  13249. "type": "string"
  13250. },
  13251. "relatedid": {
  13252. "description": "套保计划ID/现货合同ID",
  13253. "type": "string"
  13254. },
  13255. "relatedno": {
  13256. "description": "编号",
  13257. "type": "string"
  13258. },
  13259. "strtime": {
  13260. "description": "时间",
  13261. "type": "string"
  13262. }
  13263. }
  13264. },
  13265. "models.Ermcp3AreaStockApply": {
  13266. "type": "object",
  13267. "properties": {
  13268. "applyid": {
  13269. "description": "申请人",
  13270. "type": "integer"
  13271. },
  13272. "applyname": {
  13273. "description": "申请人名称",
  13274. "type": "string"
  13275. },
  13276. "applyremark": {
  13277. "description": "申请备注",
  13278. "type": "string"
  13279. },
  13280. "applysrc": {
  13281. "description": "申请来源 - 1:管理端 2:终端",
  13282. "type": "integer"
  13283. },
  13284. "applystatus": {
  13285. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13286. "type": "integer"
  13287. },
  13288. "applytime": {
  13289. "description": "申请时间",
  13290. "type": "string"
  13291. },
  13292. "auditid": {
  13293. "description": "审核人",
  13294. "type": "integer"
  13295. },
  13296. "auditname": {
  13297. "description": "审核人名称",
  13298. "type": "string"
  13299. },
  13300. "auditremark": {
  13301. "description": "审核备注",
  13302. "type": "string"
  13303. },
  13304. "auditsrc": {
  13305. "description": "审核来源 - 1:管理端 2:终端",
  13306. "type": "integer"
  13307. },
  13308. "audittime": {
  13309. "description": "审核时间",
  13310. "type": "string"
  13311. },
  13312. "audittradedate": {
  13313. "description": "审核交易日(yyyyMMdd)",
  13314. "type": "string"
  13315. },
  13316. "brandname": {
  13317. "description": "品牌名称",
  13318. "type": "string"
  13319. },
  13320. "buynickname": {
  13321. "description": "采购方昵称",
  13322. "type": "string"
  13323. },
  13324. "buyuserid": {
  13325. "description": "采购方userid",
  13326. "type": "integer"
  13327. },
  13328. "buyusername": {
  13329. "description": "采购方名称",
  13330. "type": "string"
  13331. },
  13332. "contractno": {
  13333. "description": "合同编号",
  13334. "type": "string"
  13335. },
  13336. "contractqty": {
  13337. "description": "合同量",
  13338. "type": "number"
  13339. },
  13340. "contracttype": {
  13341. "description": "现货合同类型 - 1:采购 -1:销售",
  13342. "type": "integer"
  13343. },
  13344. "deliverygoodscode": {
  13345. "description": "现货品种代码",
  13346. "type": "string"
  13347. },
  13348. "deliverygoodsid": {
  13349. "description": "现货品种id",
  13350. "type": "integer"
  13351. },
  13352. "deliverygoodsname": {
  13353. "description": "现货品种名称",
  13354. "type": "string"
  13355. },
  13356. "enumdicname": {
  13357. "description": "现货商品单位名称",
  13358. "type": "string"
  13359. },
  13360. "inoutapplyid": {
  13361. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13362. "type": "string"
  13363. },
  13364. "inouttype": {
  13365. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13366. "type": "integer"
  13367. },
  13368. "pricetype": {
  13369. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13370. "type": "integer"
  13371. },
  13372. "qty": {
  13373. "description": "数量",
  13374. "type": "number"
  13375. },
  13376. "sellnickname": {
  13377. "description": "销售方昵称",
  13378. "type": "string"
  13379. },
  13380. "selluserid": {
  13381. "description": "销售方userid",
  13382. "type": "integer"
  13383. },
  13384. "sellusername": {
  13385. "description": "销售方名称",
  13386. "type": "string"
  13387. },
  13388. "spotcontractid": {
  13389. "description": "关联现货合同ID",
  13390. "type": "string"
  13391. },
  13392. "spotgoodsbrandid": {
  13393. "description": "现货品牌ID",
  13394. "type": "integer"
  13395. },
  13396. "unitid": {
  13397. "description": "单位id",
  13398. "type": "integer"
  13399. },
  13400. "userid": {
  13401. "description": "机构ID",
  13402. "type": "integer"
  13403. },
  13404. "warehousecode": {
  13405. "description": "仓库代码",
  13406. "type": "string"
  13407. },
  13408. "warehouseinfoid": {
  13409. "description": "现货仓库ID",
  13410. "type": "string"
  13411. },
  13412. "warehousename": {
  13413. "description": "仓库名称",
  13414. "type": "string"
  13415. },
  13416. "warehousetype": {
  13417. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13418. "type": "integer"
  13419. },
  13420. "wrstandardcode": {
  13421. "description": "品类代码",
  13422. "type": "string"
  13423. },
  13424. "wrstandardid": {
  13425. "description": "品类ID",
  13426. "type": "integer"
  13427. },
  13428. "wrstandardname": {
  13429. "description": "品类名称",
  13430. "type": "string"
  13431. }
  13432. }
  13433. },
  13434. "models.Ermcp3AreaStockApplySum": {
  13435. "type": "object",
  13436. "properties": {
  13437. "brandname": {
  13438. "description": "品牌名称",
  13439. "type": "string"
  13440. },
  13441. "inouttype": {
  13442. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13443. "type": "integer"
  13444. },
  13445. "spotcontractid": {
  13446. "description": "关联现货合同ID",
  13447. "type": "string"
  13448. },
  13449. "spotgoodsbrandid": {
  13450. "description": "品牌id",
  13451. "type": "integer"
  13452. },
  13453. "totalqty": {
  13454. "description": "总数量",
  13455. "type": "number"
  13456. },
  13457. "wrstandardid": {
  13458. "description": "品类id",
  13459. "type": "integer"
  13460. },
  13461. "wrstandardname": {
  13462. "description": "品类名称",
  13463. "type": "string"
  13464. }
  13465. }
  13466. },
  13467. "models.Ermcp3AreaStockReport": {
  13468. "type": "object",
  13469. "properties": {
  13470. "brandname": {
  13471. "description": "品牌名称",
  13472. "type": "string"
  13473. },
  13474. "curstock": {
  13475. "description": "期末库存量",
  13476. "type": "number"
  13477. },
  13478. "deliverygoodscode": {
  13479. "description": "现货品种代码",
  13480. "type": "string"
  13481. },
  13482. "deliverygoodsid": {
  13483. "description": "现货品种id",
  13484. "type": "integer"
  13485. },
  13486. "deliverygoodsname": {
  13487. "description": "现货品种名称",
  13488. "type": "string"
  13489. },
  13490. "enumdicname": {
  13491. "description": "单位名称",
  13492. "type": "string"
  13493. },
  13494. "goodsunitid": {
  13495. "description": "现货单位id",
  13496. "type": "integer"
  13497. },
  13498. "oristock": {
  13499. "description": "期初库存量",
  13500. "type": "number"
  13501. },
  13502. "spotgoodsbrandid": {
  13503. "description": "现货品牌ID",
  13504. "type": "integer"
  13505. },
  13506. "todaybuyinqty": {
  13507. "description": "今日采购入库量",
  13508. "type": "number"
  13509. },
  13510. "todayproduceinqty": {
  13511. "description": "今日生产入库量",
  13512. "type": "number"
  13513. },
  13514. "todayproduceoutqty": {
  13515. "description": "今日生产出库量",
  13516. "type": "number"
  13517. },
  13518. "todayselloutqty": {
  13519. "description": "今日销售出库量",
  13520. "type": "number"
  13521. },
  13522. "unitid": {
  13523. "description": "品类单位id",
  13524. "type": "integer"
  13525. },
  13526. "updatetime": {
  13527. "description": "更新时间",
  13528. "type": "string"
  13529. },
  13530. "userid": {
  13531. "description": "机构ID",
  13532. "type": "integer"
  13533. },
  13534. "username": {
  13535. "description": "机构名称",
  13536. "type": "string"
  13537. },
  13538. "warehousecode": {
  13539. "description": "仓库代码",
  13540. "type": "string"
  13541. },
  13542. "warehouseinfoid": {
  13543. "description": "仓库ID",
  13544. "type": "string"
  13545. },
  13546. "warehousename": {
  13547. "description": "仓库名称",
  13548. "type": "string"
  13549. },
  13550. "warehousetype": {
  13551. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13552. "type": "integer"
  13553. },
  13554. "wrstandardcode": {
  13555. "description": "品类代码",
  13556. "type": "string"
  13557. },
  13558. "wrstandardid": {
  13559. "description": "品类ID",
  13560. "type": "integer"
  13561. },
  13562. "wrstandardname": {
  13563. "description": "品类名称",
  13564. "type": "string"
  13565. }
  13566. }
  13567. },
  13568. "models.Ermcp3Brand": {
  13569. "type": "object",
  13570. "properties": {
  13571. "areauserid": {
  13572. "description": "用户id",
  13573. "type": "integer"
  13574. },
  13575. "brandid": {
  13576. "description": "品牌id",
  13577. "type": "integer"
  13578. },
  13579. "brandname": {
  13580. "description": "品牌名称",
  13581. "type": "string"
  13582. },
  13583. "deliverygoodsid": {
  13584. "description": "品种ID",
  13585. "type": "integer"
  13586. }
  13587. }
  13588. },
  13589. "models.Ermcp3Contract": {
  13590. "type": "object",
  13591. "properties": {
  13592. "accountid": {
  13593. "description": "期货账户id",
  13594. "type": "string"
  13595. },
  13596. "amount": {
  13597. "description": "金额 [1:一口价、3:暂定价]",
  13598. "type": "number"
  13599. },
  13600. "attachment": {
  13601. "description": "附件",
  13602. "type": "string"
  13603. },
  13604. "auditremark": {
  13605. "description": "审核意见",
  13606. "type": "string"
  13607. },
  13608. "audittime": {
  13609. "description": "审核时间",
  13610. "type": "string"
  13611. },
  13612. "biztype": {
  13613. "description": "业务类型 1-套保 2-套利",
  13614. "type": "integer"
  13615. },
  13616. "brandname": {
  13617. "description": "品牌名称",
  13618. "type": "string"
  13619. },
  13620. "buynickname": {
  13621. "description": "销售方昵称",
  13622. "type": "string"
  13623. },
  13624. "buyuserid": {
  13625. "description": "采购方ID",
  13626. "type": "integer"
  13627. },
  13628. "buyusername": {
  13629. "description": "采购方名称",
  13630. "type": "string"
  13631. },
  13632. "contracctstatus": {
  13633. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13634. "type": "integer"
  13635. },
  13636. "contractmargin": {
  13637. "description": "合同保证金",
  13638. "type": "number"
  13639. },
  13640. "contractno": {
  13641. "description": "现货合同编号",
  13642. "type": "string"
  13643. },
  13644. "contracttype": {
  13645. "description": "现货合同类型 - 1:采购 -1:销售",
  13646. "type": "integer"
  13647. },
  13648. "convertfactor": {
  13649. "description": "标仓系数(品类)",
  13650. "type": "number"
  13651. },
  13652. "createtime": {
  13653. "description": "创建时间",
  13654. "type": "string"
  13655. },
  13656. "deliveryenddate": {
  13657. "description": "交收期(结束)",
  13658. "type": "string"
  13659. },
  13660. "deliverygoodscode": {
  13661. "description": "现货品种代码",
  13662. "type": "string"
  13663. },
  13664. "deliverygoodsid": {
  13665. "description": "现货品种ID",
  13666. "type": "integer"
  13667. },
  13668. "deliverygoodsname": {
  13669. "description": "现货品种名称",
  13670. "type": "string"
  13671. },
  13672. "deliverystartdate": {
  13673. "description": "交收期(开始)",
  13674. "type": "string"
  13675. },
  13676. "enddate": {
  13677. "description": "点价结束日期 [2:点价 3:暂定价]",
  13678. "type": "string"
  13679. },
  13680. "enumdicname": {
  13681. "description": "单位名称",
  13682. "type": "string"
  13683. },
  13684. "goodscode": {
  13685. "description": "点价合约代码",
  13686. "type": "string"
  13687. },
  13688. "goodsid": {
  13689. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13690. "type": "integer"
  13691. },
  13692. "goodsname": {
  13693. "description": "点价商品名称",
  13694. "type": "string"
  13695. },
  13696. "margin": {
  13697. "description": "当前保证金",
  13698. "type": "number"
  13699. },
  13700. "meruserid": {
  13701. "description": "跟单员id",
  13702. "type": "integer"
  13703. },
  13704. "meruserlogincode": {
  13705. "description": "跟单员登录代码",
  13706. "type": "string"
  13707. },
  13708. "price": {
  13709. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13710. "type": "number"
  13711. },
  13712. "pricemove": {
  13713. "description": "升贴水 [2:点价 3:暂定价]",
  13714. "type": "number"
  13715. },
  13716. "pricetype": {
  13717. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13718. "type": "integer"
  13719. },
  13720. "producttype": {
  13721. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13722. "type": "integer"
  13723. },
  13724. "qty": {
  13725. "description": "数量",
  13726. "type": "number"
  13727. },
  13728. "remark": {
  13729. "description": "备注",
  13730. "type": "string"
  13731. },
  13732. "saleuserid": {
  13733. "description": "业务员id",
  13734. "type": "integer"
  13735. },
  13736. "saleuserlogincode": {
  13737. "description": "业务员登录代码",
  13738. "type": "string"
  13739. },
  13740. "sellnickname": {
  13741. "description": "采购方昵称",
  13742. "type": "string"
  13743. },
  13744. "selluserid": {
  13745. "description": "销售方ID",
  13746. "type": "integer"
  13747. },
  13748. "sellusername": {
  13749. "description": "销售方名称",
  13750. "type": "string"
  13751. },
  13752. "spotcontractid": {
  13753. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13754. "type": "string"
  13755. },
  13756. "spotgoodsbrandid": {
  13757. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13758. "type": "integer"
  13759. },
  13760. "spotgoodsdesc": {
  13761. "description": "商品型号",
  13762. "type": "string"
  13763. },
  13764. "startdate": {
  13765. "description": "点价开始日期 [2:点价 3:暂定价]",
  13766. "type": "string"
  13767. },
  13768. "tradeuserid": {
  13769. "description": "交易员id",
  13770. "type": "integer"
  13771. },
  13772. "tradeuserlogincode": {
  13773. "description": "交易员登录代码",
  13774. "type": "string"
  13775. },
  13776. "unitid": {
  13777. "description": "单位id(取品类上的单位id)",
  13778. "type": "integer"
  13779. },
  13780. "updatetime": {
  13781. "description": "更新时间",
  13782. "type": "string"
  13783. },
  13784. "userid": {
  13785. "description": "所属机构ID",
  13786. "type": "integer"
  13787. },
  13788. "wrstandardcode": {
  13789. "description": "品类代码",
  13790. "type": "string"
  13791. },
  13792. "wrstandardid": {
  13793. "description": "品类ID",
  13794. "type": "integer"
  13795. },
  13796. "wrstandardname": {
  13797. "description": "品类名称",
  13798. "type": "string"
  13799. }
  13800. }
  13801. },
  13802. "models.Ermcp3ExposureDetail": {
  13803. "type": "object",
  13804. "properties": {
  13805. "areauserid": {
  13806. "description": "机构ID",
  13807. "type": "integer"
  13808. },
  13809. "changeQty": {
  13810. "description": "套保变动量",
  13811. "type": "number"
  13812. },
  13813. "contracttype": {
  13814. "description": "现货合同类型 - 1:采购 -1:销售",
  13815. "type": "integer"
  13816. },
  13817. "convertfactor": {
  13818. "description": "标仓系数",
  13819. "type": "number"
  13820. },
  13821. "convertratio": {
  13822. "description": "套保系数",
  13823. "type": "number"
  13824. },
  13825. "createtime": {
  13826. "description": "时间",
  13827. "type": "string"
  13828. },
  13829. "deliverygoodscode": {
  13830. "description": "现货品种代码",
  13831. "type": "string"
  13832. },
  13833. "deliverygoodsid": {
  13834. "description": "现货品种id",
  13835. "type": "integer"
  13836. },
  13837. "deliverygoodsname": {
  13838. "description": "现货品种名称",
  13839. "type": "string"
  13840. },
  13841. "enumdicname": {
  13842. "description": "现货商品单位名称",
  13843. "type": "string"
  13844. },
  13845. "logtype": {
  13846. "description": "类型 - 1:套保计划 2:现货合同",
  13847. "type": "integer"
  13848. },
  13849. "middlegoodsId": {
  13850. "description": "套保商品id",
  13851. "type": "integer"
  13852. },
  13853. "middlegoodscode": {
  13854. "description": "套保商品代码",
  13855. "type": "string"
  13856. },
  13857. "middlegoodsname": {
  13858. "description": "套保商品名称",
  13859. "type": "string"
  13860. },
  13861. "qty": {
  13862. "description": "数量",
  13863. "type": "number"
  13864. },
  13865. "relateNo": {
  13866. "description": "现货合同/套保计划编号",
  13867. "type": "string"
  13868. }
  13869. }
  13870. },
  13871. "models.Ermcp3HedgePlan": {
  13872. "type": "object",
  13873. "properties": {
  13874. "areauserid": {
  13875. "description": "用户ID",
  13876. "type": "integer"
  13877. },
  13878. "audittime": {
  13879. "description": "审核时间",
  13880. "type": "string"
  13881. },
  13882. "contracttype": {
  13883. "description": "计划类型 - 1:采购 -1:销售",
  13884. "type": "integer"
  13885. },
  13886. "convertfactor": {
  13887. "description": "标仓系数",
  13888. "type": "number"
  13889. },
  13890. "createtime": {
  13891. "description": "创建时间",
  13892. "type": "string"
  13893. },
  13894. "deliverygoodscode": {
  13895. "description": "现货品种代码",
  13896. "type": "string"
  13897. },
  13898. "deliverygoodsid": {
  13899. "description": "现货品种ID",
  13900. "type": "integer"
  13901. },
  13902. "deliverygoodsname": {
  13903. "description": "现货品种名称",
  13904. "type": "string"
  13905. },
  13906. "enumdicname": {
  13907. "description": "单位名称",
  13908. "type": "string"
  13909. },
  13910. "hedgeplanid": {
  13911. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  13912. "type": "string"
  13913. },
  13914. "hedgeplanno": {
  13915. "description": "套保计划编号(名称)",
  13916. "type": "string"
  13917. },
  13918. "hedgeplanstatus": {
  13919. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13920. "type": "integer"
  13921. },
  13922. "planqty": {
  13923. "description": "计划数量",
  13924. "type": "number"
  13925. },
  13926. "plantime": {
  13927. "description": "计划时间",
  13928. "type": "string"
  13929. },
  13930. "producttype": {
  13931. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13932. "type": "integer"
  13933. },
  13934. "remark": {
  13935. "description": "备注",
  13936. "type": "string"
  13937. },
  13938. "spotgoodsdesc": {
  13939. "description": "商品型号",
  13940. "type": "string"
  13941. },
  13942. "unitid": {
  13943. "description": "单位id",
  13944. "type": "integer"
  13945. },
  13946. "updatetime": {
  13947. "description": "更新时间",
  13948. "type": "string"
  13949. }
  13950. }
  13951. },
  13952. "models.Ermcp3ReportAreaSpotPL": {
  13953. "type": "object",
  13954. "properties": {
  13955. "actualpl": {
  13956. "description": "实际损益",
  13957. "type": "number"
  13958. },
  13959. "areauserid": {
  13960. "description": "所属机构",
  13961. "type": "integer"
  13962. },
  13963. "brandname": {
  13964. "description": "品牌名称",
  13965. "type": "string"
  13966. },
  13967. "curamount": {
  13968. "description": "期末额",
  13969. "type": "number"
  13970. },
  13971. "curaverageprice": {
  13972. "description": "期末均价",
  13973. "type": "number"
  13974. },
  13975. "curbuyamount": {
  13976. "description": "期末采购总额(采购额)",
  13977. "type": "number"
  13978. },
  13979. "curbuyqty": {
  13980. "description": "期末采购总量",
  13981. "type": "number"
  13982. },
  13983. "curmarketvalue": {
  13984. "description": "参考市值",
  13985. "type": "number"
  13986. },
  13987. "curqty": {
  13988. "description": "期末量",
  13989. "type": "number"
  13990. },
  13991. "cursellamount": {
  13992. "description": "期末销售总额(销售额)",
  13993. "type": "number"
  13994. },
  13995. "cursellqty": {
  13996. "description": "期末销售总量",
  13997. "type": "number"
  13998. },
  13999. "curspotprice": {
  14000. "description": "参考市价",
  14001. "type": "number"
  14002. },
  14003. "deliverygoodscode": {
  14004. "description": "现货品种代码",
  14005. "type": "string"
  14006. },
  14007. "deliverygoodsid": {
  14008. "description": "现货品种id",
  14009. "type": "integer"
  14010. },
  14011. "deliverygoodsname": {
  14012. "description": "现货品种名称",
  14013. "type": "string"
  14014. },
  14015. "enumdicname": {
  14016. "description": "现货商品单位名称",
  14017. "type": "string"
  14018. },
  14019. "floatpl": {
  14020. "description": "浮动损益",
  14021. "type": "number"
  14022. },
  14023. "gbenumdicname": {
  14024. "description": "品类单位名称",
  14025. "type": "string"
  14026. },
  14027. "gbunitid": {
  14028. "description": "现货单位id",
  14029. "type": "integer"
  14030. },
  14031. "modelname": {
  14032. "description": "品类名称",
  14033. "type": "string"
  14034. },
  14035. "oriamount": {
  14036. "description": "期初额",
  14037. "type": "number"
  14038. },
  14039. "oriaverageprice": {
  14040. "description": "期初均价",
  14041. "type": "number"
  14042. },
  14043. "oribuyamount": {
  14044. "description": "期初采购总额",
  14045. "type": "number"
  14046. },
  14047. "oribuyqty": {
  14048. "description": "期初采购总量",
  14049. "type": "number"
  14050. },
  14051. "oriqty": {
  14052. "description": "期初量",
  14053. "type": "number"
  14054. },
  14055. "orisellamount": {
  14056. "description": "期初销售总额",
  14057. "type": "number"
  14058. },
  14059. "orisellqty": {
  14060. "description": "期初销售总量",
  14061. "type": "number"
  14062. },
  14063. "spotgoodsbrandid": {
  14064. "description": "现货品牌ID",
  14065. "type": "integer"
  14066. },
  14067. "todaybuyamount": {
  14068. "description": "今日采购额",
  14069. "type": "number"
  14070. },
  14071. "todaybuyaverageprice": {
  14072. "description": "今日采购均价(采购均价)",
  14073. "type": "number"
  14074. },
  14075. "todaybuyqty": {
  14076. "description": "今日采购量(采购增量)",
  14077. "type": "number"
  14078. },
  14079. "todaysellamount": {
  14080. "description": "今日销售额",
  14081. "type": "number"
  14082. },
  14083. "todaysellaverageprice": {
  14084. "description": "今日销售均价(销售均价)",
  14085. "type": "number"
  14086. },
  14087. "todaysellqty": {
  14088. "description": "今日销售量(销售增量)",
  14089. "type": "number"
  14090. },
  14091. "unitid": {
  14092. "description": "品类单位id",
  14093. "type": "integer"
  14094. },
  14095. "updatetime": {
  14096. "description": "更新时间",
  14097. "type": "string"
  14098. },
  14099. "wrstandardcode": {
  14100. "description": "品类代码",
  14101. "type": "string"
  14102. },
  14103. "wrstandardid": {
  14104. "description": "品类ID",
  14105. "type": "integer"
  14106. },
  14107. "wrstandardname": {
  14108. "description": "品类名称",
  14109. "type": "string"
  14110. }
  14111. }
  14112. },
  14113. "models.Ermcp3ReportDaySpot": {
  14114. "type": "object",
  14115. "properties": {
  14116. "areauserid": {
  14117. "description": "所属机构T",
  14118. "type": "integer"
  14119. },
  14120. "buyinqty": {
  14121. "description": "采购入库量",
  14122. "type": "number"
  14123. },
  14124. "deliverygoodscode": {
  14125. "description": "现货品种代码",
  14126. "type": "string"
  14127. },
  14128. "deliverygoodsid": {
  14129. "description": "现货品种id",
  14130. "type": "integer"
  14131. },
  14132. "deliverygoodsname": {
  14133. "description": "现货品种名称",
  14134. "type": "string"
  14135. },
  14136. "enumdicname": {
  14137. "description": "现货商品单位名称",
  14138. "type": "string"
  14139. },
  14140. "reckondate": {
  14141. "description": "日照时期(yyyyMMdd)",
  14142. "type": "string"
  14143. },
  14144. "selloutqty": {
  14145. "description": "销售出库量",
  14146. "type": "number"
  14147. },
  14148. "todaybuyreckonqty": {
  14149. "description": "采购确定量",
  14150. "type": "number"
  14151. },
  14152. "todaysellreckonqty": {
  14153. "description": "销售确定量",
  14154. "type": "number"
  14155. },
  14156. "totalbuypricedqty": {
  14157. "description": "采购定价量 = 期末 - 期初",
  14158. "type": "number"
  14159. },
  14160. "totalsellpricedqty": {
  14161. "description": "销售定价量 = 期末 - 期初",
  14162. "type": "number"
  14163. }
  14164. }
  14165. },
  14166. "models.Ermcp3ReportMonSpot": {
  14167. "type": "object",
  14168. "properties": {
  14169. "areauserid": {
  14170. "description": "所属机构id",
  14171. "type": "integer"
  14172. },
  14173. "buyinqty": {
  14174. "description": "采购入库量",
  14175. "type": "number"
  14176. },
  14177. "cycletime": {
  14178. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14179. "type": "string"
  14180. },
  14181. "cycletype": {
  14182. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14183. "type": "integer"
  14184. },
  14185. "deliverygoodscode": {
  14186. "description": "现货品种代码",
  14187. "type": "string"
  14188. },
  14189. "deliverygoodsid": {
  14190. "description": "现货品种id",
  14191. "type": "integer"
  14192. },
  14193. "deliverygoodsname": {
  14194. "description": "现货品种名称",
  14195. "type": "string"
  14196. },
  14197. "enumdicname": {
  14198. "description": "现货商品单位名称",
  14199. "type": "string"
  14200. },
  14201. "selloutqty": {
  14202. "description": "销售出库量",
  14203. "type": "number"
  14204. },
  14205. "todaybuyreckonqty": {
  14206. "description": "采购确定量",
  14207. "type": "number"
  14208. },
  14209. "todaysellreckonqty": {
  14210. "description": "销售确定量",
  14211. "type": "number"
  14212. },
  14213. "totalbuypricedqty": {
  14214. "description": "采购定价量 = 期末 - 期初",
  14215. "type": "number"
  14216. },
  14217. "totalsellpricedqty": {
  14218. "description": "销售定价量 = 期末 - 期初",
  14219. "type": "number"
  14220. }
  14221. }
  14222. },
  14223. "models.Ermcp3ReportOPLog": {
  14224. "type": "object",
  14225. "properties": {
  14226. "applyid": {
  14227. "description": "操作人",
  14228. "type": "integer"
  14229. },
  14230. "applyname": {
  14231. "description": "操作人名称",
  14232. "type": "string"
  14233. },
  14234. "biztype": {
  14235. "description": "业务类型 - 1:套保计划 2:现货合同",
  14236. "type": "integer"
  14237. },
  14238. "brandname": {
  14239. "description": "品牌名称",
  14240. "type": "string"
  14241. },
  14242. "contracttype": {
  14243. "description": "现货合同类型 - 1:采购 -1:销售",
  14244. "type": "integer"
  14245. },
  14246. "deliverygoodscode": {
  14247. "description": "现货品种代码",
  14248. "type": "string"
  14249. },
  14250. "deliverygoodsid": {
  14251. "description": "现货品种id",
  14252. "type": "integer"
  14253. },
  14254. "deliverygoodsname": {
  14255. "description": "现货品种名称",
  14256. "type": "string"
  14257. },
  14258. "enumdicName": {
  14259. "description": "单位名称",
  14260. "type": "string"
  14261. },
  14262. "logdatetime": {
  14263. "description": "流水日期(时间)",
  14264. "type": "string"
  14265. },
  14266. "logid": {
  14267. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14268. "type": "string"
  14269. },
  14270. "logtypename": {
  14271. "description": "合同类型(名称)",
  14272. "type": "string"
  14273. },
  14274. "logvalue": {
  14275. "description": "数值",
  14276. "type": "string"
  14277. },
  14278. "operatelogtype": {
  14279. "description": "操作流水类型 -",
  14280. "type": "integer"
  14281. },
  14282. "optypename": {
  14283. "description": "流水类型名称",
  14284. "type": "string"
  14285. },
  14286. "relatedid": {
  14287. "description": "现货合同ID\\套保计划",
  14288. "type": "string"
  14289. },
  14290. "relatedno": {
  14291. "description": "合同编号",
  14292. "type": "string"
  14293. },
  14294. "tradedate": {
  14295. "description": "交易日(yyyyMMdd)",
  14296. "type": "string"
  14297. },
  14298. "userid": {
  14299. "description": "机构ID",
  14300. "type": "integer"
  14301. }
  14302. }
  14303. },
  14304. "models.Ermcp3SellBuyContract": {
  14305. "type": "object",
  14306. "properties": {
  14307. "accountname": {
  14308. "description": "账户名称",
  14309. "type": "string"
  14310. },
  14311. "attachment": {
  14312. "description": "附件",
  14313. "type": "string"
  14314. },
  14315. "audittime": {
  14316. "description": "审核时间",
  14317. "type": "string"
  14318. },
  14319. "brandname": {
  14320. "description": "品牌名称",
  14321. "type": "string"
  14322. },
  14323. "contracctstatus": {
  14324. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14325. "type": "integer"
  14326. },
  14327. "contractmargin": {
  14328. "description": "合同保证金",
  14329. "type": "number"
  14330. },
  14331. "contractno": {
  14332. "description": "合同编号",
  14333. "type": "string"
  14334. },
  14335. "contracttype": {
  14336. "description": "合同类型 1-采购, -1-销售",
  14337. "type": "integer"
  14338. },
  14339. "convertfactor": {
  14340. "description": "标仓系数(品类)",
  14341. "type": "number"
  14342. },
  14343. "createtime": {
  14344. "description": "创建时间",
  14345. "type": "string"
  14346. },
  14347. "daikaiamount": {
  14348. "description": "应收(开)票额",
  14349. "type": "number"
  14350. },
  14351. "deliveryenddate": {
  14352. "description": "交割结束日",
  14353. "type": "string"
  14354. },
  14355. "deliverygoodscode": {
  14356. "description": "现货品种代码",
  14357. "type": "string"
  14358. },
  14359. "deliverygoodsid": {
  14360. "description": "现货商品ID",
  14361. "type": "integer"
  14362. },
  14363. "deliverygoodsname": {
  14364. "description": "现货品种名称",
  14365. "type": "string"
  14366. },
  14367. "deliverystartdate": {
  14368. "description": "交割开始日",
  14369. "type": "string"
  14370. },
  14371. "enddate": {
  14372. "description": "点价结束日",
  14373. "type": "string"
  14374. },
  14375. "enumdicname": {
  14376. "description": "单位名称",
  14377. "type": "string"
  14378. },
  14379. "goodscode": {
  14380. "description": "点价商品代码",
  14381. "type": "string"
  14382. },
  14383. "goodsid": {
  14384. "description": "点价商品ID",
  14385. "type": "integer"
  14386. },
  14387. "goodsname": {
  14388. "description": "点价商品名称",
  14389. "type": "string"
  14390. },
  14391. "invoiceamount": {
  14392. "description": "已开票额",
  14393. "type": "number"
  14394. },
  14395. "loanamount": {
  14396. "description": "贷款总额=已定价额+调整金额",
  14397. "type": "number"
  14398. },
  14399. "margin": {
  14400. "description": "保证金",
  14401. "type": "number"
  14402. },
  14403. "payamount": {
  14404. "description": "已收付额(收款或付款)",
  14405. "type": "number"
  14406. },
  14407. "preinvoiceamount": {
  14408. "description": "预收(开)票额",
  14409. "type": "number"
  14410. },
  14411. "prepayamount": {
  14412. "description": "预收付额",
  14413. "type": "number"
  14414. },
  14415. "price": {
  14416. "description": "价格",
  14417. "type": "number"
  14418. },
  14419. "pricedamount": {
  14420. "description": "已定价额",
  14421. "type": "number"
  14422. },
  14423. "pricedavg": {
  14424. "description": "已点均价",
  14425. "type": "number"
  14426. },
  14427. "pricedqty": {
  14428. "description": "已定价量",
  14429. "type": "number"
  14430. },
  14431. "pricemove": {
  14432. "description": "升贴水",
  14433. "type": "number"
  14434. },
  14435. "pricetype": {
  14436. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14437. "type": "integer"
  14438. },
  14439. "producttype": {
  14440. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14441. "type": "integer"
  14442. },
  14443. "qty": {
  14444. "description": "合同量",
  14445. "type": "number"
  14446. },
  14447. "reckonadjustamount": {
  14448. "description": "调整金额",
  14449. "type": "number"
  14450. },
  14451. "reckonedamount": {
  14452. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14453. "type": "number"
  14454. },
  14455. "reckonotheramount": {
  14456. "description": "其它费用",
  14457. "type": "number"
  14458. },
  14459. "reckonrealqty": {
  14460. "description": "已确定量",
  14461. "type": "number"
  14462. },
  14463. "remark": {
  14464. "description": "备注",
  14465. "type": "string"
  14466. },
  14467. "spotcontractid": {
  14468. "description": "合同ID",
  14469. "type": "string"
  14470. },
  14471. "spotgoodsbrandid": {
  14472. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14473. "type": "integer"
  14474. },
  14475. "spotgoodsdesc": {
  14476. "description": "商品型号(商品规格)",
  14477. "type": "string"
  14478. },
  14479. "startdate": {
  14480. "description": "点价开始日",
  14481. "type": "string"
  14482. },
  14483. "totalamount": {
  14484. "description": "合计总额",
  14485. "type": "number"
  14486. },
  14487. "unpayamount": {
  14488. "description": "应收付款额(应支付或应收款)",
  14489. "type": "number"
  14490. },
  14491. "unpricedqty": {
  14492. "description": "未定价量",
  14493. "type": "number"
  14494. },
  14495. "unsureqty": {
  14496. "description": "未确定量",
  14497. "type": "number"
  14498. },
  14499. "userid": {
  14500. "description": "机构ID",
  14501. "type": "integer"
  14502. },
  14503. "wrstandardcode": {
  14504. "description": "品类代码",
  14505. "type": "string"
  14506. },
  14507. "wrstandardid": {
  14508. "description": "品类ID",
  14509. "type": "integer"
  14510. },
  14511. "wrstandardname": {
  14512. "description": "品类名称",
  14513. "type": "string"
  14514. }
  14515. }
  14516. },
  14517. "models.Ermcp3SpotGoodsPrice": {
  14518. "type": "object",
  14519. "properties": {
  14520. "areauserid": {
  14521. "description": "所属机构id",
  14522. "type": "integer"
  14523. },
  14524. "brandname": {
  14525. "description": "品牌名称",
  14526. "type": "string"
  14527. },
  14528. "currencyid": {
  14529. "description": "报价货币ID",
  14530. "type": "integer"
  14531. },
  14532. "deliverygoodscode": {
  14533. "description": "现货商品代码",
  14534. "type": "string"
  14535. },
  14536. "deliverygoodsid": {
  14537. "description": "现货商品id",
  14538. "type": "integer"
  14539. },
  14540. "deliverygoodsname": {
  14541. "description": "现货商品名称",
  14542. "type": "string"
  14543. },
  14544. "enumdicname": {
  14545. "description": "现货商品单位名称",
  14546. "type": "string"
  14547. },
  14548. "gbenumdicname": {
  14549. "description": "品类单位名称",
  14550. "type": "string"
  14551. },
  14552. "gmunitid": {
  14553. "description": "品类单位id",
  14554. "type": "integer"
  14555. },
  14556. "isvalid": {
  14557. "description": "是否有效 - 0:无效 1:有效",
  14558. "type": "integer"
  14559. },
  14560. "operateid": {
  14561. "description": "最后操作人",
  14562. "type": "integer"
  14563. },
  14564. "operatesrc": {
  14565. "description": "最后操作来源 - 1:管理端 2:终端",
  14566. "type": "integer"
  14567. },
  14568. "operatetime": {
  14569. "description": "最后操作时间",
  14570. "type": "string"
  14571. },
  14572. "operatorname": {
  14573. "description": "操作人名称",
  14574. "type": "string"
  14575. },
  14576. "spotgoodsbrandid": {
  14577. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14578. "type": "integer"
  14579. },
  14580. "spotgoodsprice": {
  14581. "description": "现货价格",
  14582. "type": "number"
  14583. },
  14584. "tradedate": {
  14585. "description": "交易日(yyyyMMdd)",
  14586. "type": "string"
  14587. },
  14588. "unitid": {
  14589. "description": "现货商品单位id",
  14590. "type": "integer"
  14591. },
  14592. "wrstandardcode": {
  14593. "description": "品类代码",
  14594. "type": "string"
  14595. },
  14596. "wrstandardid": {
  14597. "description": "现货品类ID(通用则为0)",
  14598. "type": "integer"
  14599. },
  14600. "wrstandardname": {
  14601. "description": "品类名称",
  14602. "type": "string"
  14603. }
  14604. }
  14605. },
  14606. "models.Ermcp3SpotGoodsPriceLog": {
  14607. "type": "object",
  14608. "properties": {
  14609. "areauserid": {
  14610. "description": "所属机构id",
  14611. "type": "integer"
  14612. },
  14613. "brandname": {
  14614. "description": "品牌名称",
  14615. "type": "string"
  14616. },
  14617. "currencyid": {
  14618. "description": "报价货币ID",
  14619. "type": "integer"
  14620. },
  14621. "deliverygoodscode": {
  14622. "description": "现货商品代码",
  14623. "type": "string"
  14624. },
  14625. "deliverygoodsid": {
  14626. "description": "现货商品id",
  14627. "type": "integer"
  14628. },
  14629. "deliverygoodsname": {
  14630. "description": "现货商品名称",
  14631. "type": "string"
  14632. },
  14633. "enumdicname": {
  14634. "description": "现货商品单位名称",
  14635. "type": "string"
  14636. },
  14637. "gbenumdicname": {
  14638. "description": "品类单位名称",
  14639. "type": "string"
  14640. },
  14641. "gmunitid": {
  14642. "description": "品类单位id",
  14643. "type": "integer"
  14644. },
  14645. "logid": {
  14646. "description": "日志id",
  14647. "type": "integer"
  14648. },
  14649. "operateid": {
  14650. "description": "最后操作人",
  14651. "type": "integer"
  14652. },
  14653. "operatesrc": {
  14654. "description": "最后操作来源 - 1:管理端 2:终端",
  14655. "type": "integer"
  14656. },
  14657. "operatetime": {
  14658. "description": "最后操作时间",
  14659. "type": "string"
  14660. },
  14661. "operatorname": {
  14662. "description": "操作人名称",
  14663. "type": "string"
  14664. },
  14665. "spotgoodsbrandid": {
  14666. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14667. "type": "integer"
  14668. },
  14669. "spotgoodsprice": {
  14670. "description": "现货价格",
  14671. "type": "number"
  14672. },
  14673. "tradedate": {
  14674. "description": "交易日(yyyyMMdd)",
  14675. "type": "string"
  14676. },
  14677. "unitid": {
  14678. "description": "现货商品单位id",
  14679. "type": "integer"
  14680. },
  14681. "wrstandardcode": {
  14682. "description": "品类代码",
  14683. "type": "string"
  14684. },
  14685. "wrstandardid": {
  14686. "description": "现货品类ID(通用则为0)",
  14687. "type": "integer"
  14688. },
  14689. "wrstandardname": {
  14690. "description": "品类名称",
  14691. "type": "string"
  14692. }
  14693. }
  14694. },
  14695. "models.Ermcp3Wrstandard": {
  14696. "type": "object",
  14697. "properties": {
  14698. "areauserid": {
  14699. "description": "所属机构",
  14700. "type": "integer"
  14701. },
  14702. "convertfactor": {
  14703. "description": "标仓系数",
  14704. "type": "number"
  14705. },
  14706. "createtime": {
  14707. "description": "创建时间",
  14708. "type": "string"
  14709. },
  14710. "creatorid": {
  14711. "description": "创建人",
  14712. "type": "integer"
  14713. },
  14714. "deliverygoodsid": {
  14715. "description": "现货品种ID",
  14716. "type": "integer"
  14717. },
  14718. "enumdicname": {
  14719. "description": "品类单位名称",
  14720. "type": "string"
  14721. },
  14722. "isvalid": {
  14723. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14724. "type": "integer"
  14725. },
  14726. "minivalue": {
  14727. "description": "最小变动值",
  14728. "type": "integer"
  14729. },
  14730. "minivaluedp": {
  14731. "description": "最小变动值小数位",
  14732. "type": "integer"
  14733. },
  14734. "realminivalue": {
  14735. "description": "实际最小变动值",
  14736. "type": "integer"
  14737. },
  14738. "realminivaluedp": {
  14739. "description": "实际最小变动值小数位",
  14740. "type": "integer"
  14741. },
  14742. "remark": {
  14743. "description": "备注",
  14744. "type": "string"
  14745. },
  14746. "unitid": {
  14747. "description": "品类单位ID",
  14748. "type": "integer"
  14749. },
  14750. "updatetime": {
  14751. "description": "更新时间",
  14752. "type": "string"
  14753. },
  14754. "wrstandardcode": {
  14755. "description": "品类代码",
  14756. "type": "string"
  14757. },
  14758. "wrstandardid": {
  14759. "description": "品类ID(SEQ_WRSTANDARD)",
  14760. "type": "integer"
  14761. },
  14762. "wrstandardname": {
  14763. "description": "品类名称",
  14764. "type": "string"
  14765. }
  14766. }
  14767. },
  14768. "models.ErmcpAreaSpotDetailModel": {
  14769. "type": "object",
  14770. "properties": {
  14771. "contracttype": {
  14772. "description": "合同类型 1-采购 -1-销售",
  14773. "type": "integer"
  14774. },
  14775. "createtime": {
  14776. "description": "创建时间",
  14777. "type": "string"
  14778. },
  14779. "enumdicname": {
  14780. "description": "现货商品单位名称",
  14781. "type": "string"
  14782. },
  14783. "logtype": {
  14784. "description": "记录类型 1-套保 2-现货合同",
  14785. "type": "integer"
  14786. },
  14787. "qty": {
  14788. "description": "数量",
  14789. "type": "number"
  14790. },
  14791. "recordname": {
  14792. "description": "类型名称",
  14793. "type": "string"
  14794. },
  14795. "relatedid": {
  14796. "description": "套保计划ID/现货合同ID",
  14797. "type": "string"
  14798. },
  14799. "relatedno": {
  14800. "description": "编号",
  14801. "type": "string"
  14802. },
  14803. "strtime": {
  14804. "description": "时间",
  14805. "type": "string"
  14806. },
  14807. "wrstandardcode": {
  14808. "description": "现货商品代码",
  14809. "type": "string"
  14810. },
  14811. "wrstandardname": {
  14812. "description": "现货商品名称",
  14813. "type": "string"
  14814. }
  14815. }
  14816. },
  14817. "models.ErmcpAreaStock": {
  14818. "type": "object",
  14819. "properties": {
  14820. "brandname": {
  14821. "description": "品牌名称",
  14822. "type": "string"
  14823. },
  14824. "curstock": {
  14825. "description": "期末库存量(今日量)",
  14826. "type": "number"
  14827. },
  14828. "deliverygoodsid": {
  14829. "description": "现货品种ID",
  14830. "type": "integer"
  14831. },
  14832. "enumdicname": {
  14833. "description": "单位名称",
  14834. "type": "string"
  14835. },
  14836. "modelname": {
  14837. "description": "型号名称",
  14838. "type": "string"
  14839. },
  14840. "oristock": {
  14841. "description": "期初库存量(昨日量)",
  14842. "type": "number"
  14843. },
  14844. "spotgoodsbrandid": {
  14845. "description": "现货品牌ID",
  14846. "type": "integer"
  14847. },
  14848. "spotgoodsmodelid": {
  14849. "description": "现货型号ID",
  14850. "type": "integer"
  14851. },
  14852. "todaybuyinqty": {
  14853. "description": "今日采购入库量",
  14854. "type": "number"
  14855. },
  14856. "todayproduceinqty": {
  14857. "description": "今日生产入库量",
  14858. "type": "number"
  14859. },
  14860. "todayproduceoutqty": {
  14861. "description": "今日生产出库量",
  14862. "type": "number"
  14863. },
  14864. "todayselloutqty": {
  14865. "description": "今日销售出库量",
  14866. "type": "number"
  14867. },
  14868. "unitid": {
  14869. "description": "单位id",
  14870. "type": "integer"
  14871. },
  14872. "updatetime": {
  14873. "description": "更新时间",
  14874. "type": "string"
  14875. },
  14876. "userid": {
  14877. "description": "机构ID",
  14878. "type": "integer"
  14879. },
  14880. "username": {
  14881. "description": "机构名称",
  14882. "type": "string"
  14883. },
  14884. "warehousecode": {
  14885. "description": "仓库代码",
  14886. "type": "string"
  14887. },
  14888. "warehouseinfoid": {
  14889. "description": "仓库ID",
  14890. "type": "string"
  14891. },
  14892. "warehousename": {
  14893. "description": "仓库名称",
  14894. "type": "string"
  14895. },
  14896. "warehousetype": {
  14897. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14898. "type": "integer"
  14899. },
  14900. "wrstandardcode": {
  14901. "description": "现货商品代码",
  14902. "type": "string"
  14903. },
  14904. "wrstandardid": {
  14905. "description": "现货商品ID",
  14906. "type": "string"
  14907. },
  14908. "wrstandardname": {
  14909. "description": "现货商品名称",
  14910. "type": "string"
  14911. }
  14912. }
  14913. },
  14914. "models.ErmcpAreaStockApply": {
  14915. "type": "object",
  14916. "properties": {
  14917. "applyid": {
  14918. "description": "申请人",
  14919. "type": "integer"
  14920. },
  14921. "applyname": {
  14922. "description": "申请人名称",
  14923. "type": "string"
  14924. },
  14925. "applyremark": {
  14926. "description": "申请备注",
  14927. "type": "string"
  14928. },
  14929. "applysrc": {
  14930. "description": "申请来源 - 1:管理端 2:终端",
  14931. "type": "integer"
  14932. },
  14933. "applystatus": {
  14934. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14935. "type": "integer"
  14936. },
  14937. "applytime": {
  14938. "description": "申请时间",
  14939. "type": "string"
  14940. },
  14941. "auditid": {
  14942. "description": "审核人",
  14943. "type": "integer"
  14944. },
  14945. "auditname": {
  14946. "description": "审核人名称",
  14947. "type": "string"
  14948. },
  14949. "auditremark": {
  14950. "description": "审核备注",
  14951. "type": "string"
  14952. },
  14953. "auditsrc": {
  14954. "description": "审核来源 - 1:管理端 2:终端",
  14955. "type": "integer"
  14956. },
  14957. "audittime": {
  14958. "description": "审核时间",
  14959. "type": "string"
  14960. },
  14961. "audittradedate": {
  14962. "description": "审核交易日(yyyyMMdd)",
  14963. "type": "string"
  14964. },
  14965. "brandname": {
  14966. "description": "品牌名称",
  14967. "type": "string"
  14968. },
  14969. "buyuserid": {
  14970. "description": "采购方userid",
  14971. "type": "integer"
  14972. },
  14973. "buyusername": {
  14974. "description": "采购方名称",
  14975. "type": "string"
  14976. },
  14977. "contractno": {
  14978. "description": "合同编号",
  14979. "type": "string"
  14980. },
  14981. "contractqty": {
  14982. "description": "合同量",
  14983. "type": "number"
  14984. },
  14985. "contracttype": {
  14986. "description": "现货合同类型 - 1:采购 -1:销售",
  14987. "type": "integer"
  14988. },
  14989. "deliverygoodsid": {
  14990. "description": "现货品种ID",
  14991. "type": "integer"
  14992. },
  14993. "enumdicname": {
  14994. "description": "现货商品单位名称",
  14995. "type": "string"
  14996. },
  14997. "inoutapplyid": {
  14998. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14999. "type": "string"
  15000. },
  15001. "inouttype": {
  15002. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15003. "type": "integer"
  15004. },
  15005. "modelname": {
  15006. "description": "型号名称",
  15007. "type": "string"
  15008. },
  15009. "pricetype": {
  15010. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15011. "type": "integer"
  15012. },
  15013. "qty": {
  15014. "description": "数量",
  15015. "type": "number"
  15016. },
  15017. "selluserid": {
  15018. "description": "销售方userid",
  15019. "type": "integer"
  15020. },
  15021. "sellusername": {
  15022. "description": "销售方名称",
  15023. "type": "string"
  15024. },
  15025. "spotcontractid": {
  15026. "description": "关联现货合同ID",
  15027. "type": "string"
  15028. },
  15029. "spotgoodsbrandid": {
  15030. "description": "现货品牌ID",
  15031. "type": "integer"
  15032. },
  15033. "spotgoodsmodelid": {
  15034. "description": "现货型号ID",
  15035. "type": "integer"
  15036. },
  15037. "unitid": {
  15038. "description": "单位id",
  15039. "type": "integer"
  15040. },
  15041. "userid": {
  15042. "description": "机构ID",
  15043. "type": "integer"
  15044. },
  15045. "warehousecode": {
  15046. "description": "仓库代码",
  15047. "type": "string"
  15048. },
  15049. "warehouseinfoid": {
  15050. "description": "现货仓库ID",
  15051. "type": "string"
  15052. },
  15053. "warehousename": {
  15054. "description": "仓库名称",
  15055. "type": "string"
  15056. },
  15057. "warehousetype": {
  15058. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15059. "type": "integer"
  15060. },
  15061. "wrstandardcode": {
  15062. "description": "现货商品代码",
  15063. "type": "string"
  15064. },
  15065. "wrstandardid": {
  15066. "description": "现货商品ID",
  15067. "type": "string"
  15068. },
  15069. "wrstandardname": {
  15070. "description": "现货商品名称",
  15071. "type": "string"
  15072. }
  15073. }
  15074. },
  15075. "models.ErmcpAreaStockApplySum": {
  15076. "type": "object",
  15077. "properties": {
  15078. "brandname": {
  15079. "description": "品牌名称",
  15080. "type": "string"
  15081. },
  15082. "inouttype": {
  15083. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15084. "type": "integer"
  15085. },
  15086. "modelname": {
  15087. "description": "型号名称",
  15088. "type": "string"
  15089. },
  15090. "spotcontractid": {
  15091. "description": "关联现货合同ID",
  15092. "type": "string"
  15093. },
  15094. "spotgoodsbrandid": {
  15095. "description": "品牌id",
  15096. "type": "integer"
  15097. },
  15098. "spotgoodsmodelid": {
  15099. "description": "型号id",
  15100. "type": "integer"
  15101. },
  15102. "totalqty": {
  15103. "description": "总数量",
  15104. "type": "number"
  15105. }
  15106. }
  15107. },
  15108. "models.ErmcpAreaStockReport": {
  15109. "type": "object",
  15110. "properties": {
  15111. "brandname": {
  15112. "description": "品牌名称",
  15113. "type": "string"
  15114. },
  15115. "curstock": {
  15116. "description": "期末库存量",
  15117. "type": "number"
  15118. },
  15119. "deliverygoodsid": {
  15120. "description": "现货品种ID",
  15121. "type": "integer"
  15122. },
  15123. "enumdicname": {
  15124. "description": "单位名称",
  15125. "type": "string"
  15126. },
  15127. "modelname": {
  15128. "description": "型号名称",
  15129. "type": "string"
  15130. },
  15131. "oristock": {
  15132. "description": "期初库存量",
  15133. "type": "number"
  15134. },
  15135. "spotgoodsbrandid": {
  15136. "description": "现货品牌ID",
  15137. "type": "integer"
  15138. },
  15139. "spotgoodsmodelid": {
  15140. "description": "现货型号ID",
  15141. "type": "integer"
  15142. },
  15143. "todaybuyinqty": {
  15144. "description": "今日采购入库量",
  15145. "type": "number"
  15146. },
  15147. "todayproduceinqty": {
  15148. "description": "今日生产入库量",
  15149. "type": "number"
  15150. },
  15151. "todayproduceoutqty": {
  15152. "description": "今日生产出库量",
  15153. "type": "number"
  15154. },
  15155. "todayselloutqty": {
  15156. "description": "今日销售出库量",
  15157. "type": "number"
  15158. },
  15159. "unitid": {
  15160. "description": "单位id",
  15161. "type": "integer"
  15162. },
  15163. "updatetime": {
  15164. "description": "更新时间",
  15165. "type": "string"
  15166. },
  15167. "userid": {
  15168. "description": "机构ID",
  15169. "type": "integer"
  15170. },
  15171. "username": {
  15172. "description": "机构名称",
  15173. "type": "string"
  15174. },
  15175. "warehousecode": {
  15176. "description": "仓库代码",
  15177. "type": "string"
  15178. },
  15179. "warehouseinfoid": {
  15180. "description": "仓库ID",
  15181. "type": "string"
  15182. },
  15183. "warehousename": {
  15184. "description": "仓库名称",
  15185. "type": "string"
  15186. },
  15187. "warehousetype": {
  15188. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15189. "type": "integer"
  15190. },
  15191. "wrstandardcode": {
  15192. "description": "现货商品代码",
  15193. "type": "string"
  15194. },
  15195. "wrstandardid": {
  15196. "description": "现货商品ID",
  15197. "type": "string"
  15198. },
  15199. "wrstandardname": {
  15200. "description": "现货商品名称",
  15201. "type": "string"
  15202. }
  15203. }
  15204. },
  15205. "models.ErmcpAvalidGoodsGroupModel": {
  15206. "type": "object",
  15207. "properties": {
  15208. "goodsgroupid": {
  15209. "description": "期货品种id",
  15210. "type": "integer"
  15211. },
  15212. "goodsgroupname": {
  15213. "description": "期货品种名称",
  15214. "type": "string"
  15215. },
  15216. "goodunitid": {
  15217. "description": "品种单位id",
  15218. "type": "integer"
  15219. },
  15220. "goodunitname": {
  15221. "description": "品种单位名称",
  15222. "type": "string"
  15223. },
  15224. "outergroupcode": {
  15225. "description": "期货品种代码",
  15226. "type": "string"
  15227. }
  15228. }
  15229. },
  15230. "models.ErmcpBizGroupEx": {
  15231. "type": "object",
  15232. "properties": {
  15233. "acclist": {
  15234. "description": "账号列表",
  15235. "type": "array",
  15236. "items": {
  15237. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15238. }
  15239. },
  15240. "bizgroupid": {
  15241. "description": "业务分组id",
  15242. "type": "integer"
  15243. },
  15244. "biztype": {
  15245. "description": "业务类型 1-套保 2-套利",
  15246. "type": "integer"
  15247. },
  15248. "wrlist": {
  15249. "description": "现货商品表",
  15250. "type": "array",
  15251. "items": {
  15252. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15253. }
  15254. }
  15255. }
  15256. },
  15257. "models.ErmcpBizGroupSpotGoods": {
  15258. "type": "object",
  15259. "properties": {
  15260. "areauserid": {
  15261. "description": "所属机构id",
  15262. "type": "integer"
  15263. },
  15264. "bizgroupid": {
  15265. "description": "分组id",
  15266. "type": "integer"
  15267. },
  15268. "biztype": {
  15269. "description": "业务类型 1-套保 2-套利",
  15270. "type": "integer"
  15271. },
  15272. "deliverygoodscode": {
  15273. "description": "现货商品代码",
  15274. "type": "string"
  15275. },
  15276. "deliverygoodsid": {
  15277. "description": "现货商品id",
  15278. "type": "integer"
  15279. },
  15280. "deliverygoodsname": {
  15281. "description": "现货商品名称",
  15282. "type": "string"
  15283. },
  15284. "unitid": {
  15285. "description": "现货商品单位id",
  15286. "type": "integer"
  15287. }
  15288. }
  15289. },
  15290. "models.ErmcpBizGroupTaAccount": {
  15291. "type": "object",
  15292. "properties": {
  15293. "accountid": {
  15294. "description": "账号id",
  15295. "type": "string"
  15296. },
  15297. "accountname": {
  15298. "description": "账号名称",
  15299. "type": "string"
  15300. },
  15301. "areauserid": {
  15302. "description": "所属机构id",
  15303. "type": "integer"
  15304. },
  15305. "bizgroupid": {
  15306. "description": "业务分组id",
  15307. "type": "integer"
  15308. },
  15309. "ismain": {
  15310. "description": "是否主账号 1-是 0-否",
  15311. "type": "integer"
  15312. }
  15313. }
  15314. },
  15315. "models.ErmcpDGFactoryItem": {
  15316. "type": "object",
  15317. "properties": {
  15318. "areauserid": {
  15319. "description": "用户id",
  15320. "type": "integer"
  15321. },
  15322. "deliverygoodsid": {
  15323. "description": "现货品种ID",
  15324. "type": "integer"
  15325. },
  15326. "dgfactoryitemid": {
  15327. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15328. "type": "integer"
  15329. },
  15330. "dgfactoryitemtypeid": {
  15331. "description": "要素项类型",
  15332. "type": "integer"
  15333. },
  15334. "dgfactoryitemvalue": {
  15335. "description": "要素项值(类型为仓库时填写仓库名称)",
  15336. "type": "string"
  15337. },
  15338. "isvalid": {
  15339. "description": "是否有效 - 0:无效 1:有效",
  15340. "type": "integer"
  15341. },
  15342. "orderindex": {
  15343. "description": "顺序",
  15344. "type": "integer"
  15345. },
  15346. "warehouseid": {
  15347. "description": "仓库ID(类型为仓库时填写)",
  15348. "type": "integer"
  15349. }
  15350. }
  15351. },
  15352. "models.ErmcpDeliveryGoods": {
  15353. "type": "object",
  15354. "properties": {
  15355. "agreeunit": {
  15356. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15357. "type": "integer"
  15358. },
  15359. "areauserid": {
  15360. "description": "所属机构",
  15361. "type": "integer"
  15362. },
  15363. "auditflag": {
  15364. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15365. "type": "integer"
  15366. },
  15367. "categoryid": {
  15368. "description": "类别ID(SEQ_WRCATEGORY)",
  15369. "type": "integer"
  15370. },
  15371. "deliverygoodscode": {
  15372. "description": "现货品种代码",
  15373. "type": "string"
  15374. },
  15375. "deliverygoodsid": {
  15376. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15377. "type": "integer"
  15378. },
  15379. "deliverygoodsname": {
  15380. "description": "现货品种名称",
  15381. "type": "string"
  15382. },
  15383. "deliverygoodstype": {
  15384. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15385. "type": "integer"
  15386. },
  15387. "dgstatus": {
  15388. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15389. "type": "integer"
  15390. },
  15391. "enumdicname": {
  15392. "description": "现货品种单位名称",
  15393. "type": "string"
  15394. },
  15395. "goodsunitid": {
  15396. "description": "现货品种单位ID",
  15397. "type": "integer"
  15398. },
  15399. "isvalid": {
  15400. "description": "是否有效 - 0:无效 1:有效",
  15401. "type": "integer"
  15402. },
  15403. "qtydecimalplace": {
  15404. "description": "成交量小数位",
  15405. "type": "integer"
  15406. },
  15407. "remark": {
  15408. "description": "备注",
  15409. "type": "string"
  15410. },
  15411. "standardqty": {
  15412. "description": "标准数量(库位数量) [标准品特有]",
  15413. "type": "integer"
  15414. },
  15415. "standardqtyrange": {
  15416. "description": "标准数量偏差范围 [标准品特有]",
  15417. "type": "integer"
  15418. }
  15419. }
  15420. },
  15421. "models.ErmcpDeliveryGoodsDetail": {
  15422. "type": "object",
  15423. "properties": {
  15424. "data": {
  15425. "description": "现货商品基本信息(交割品种)",
  15426. "type": "object",
  15427. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15428. },
  15429. "gblist": {
  15430. "description": "品牌列表",
  15431. "type": "array",
  15432. "items": {
  15433. "$ref": "#/definitions/models.Ermcp3Brand"
  15434. }
  15435. },
  15436. "gmlist": {
  15437. "description": "品类列表(仓单标准)",
  15438. "type": "array",
  15439. "items": {
  15440. "$ref": "#/definitions/models.ErmcpWrstandard"
  15441. }
  15442. },
  15443. "goodslist": {
  15444. "description": "关联交易商品列表",
  15445. "type": "array",
  15446. "items": {
  15447. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  15448. }
  15449. },
  15450. "wrslist": {
  15451. "description": "套保信息列表",
  15452. "type": "array",
  15453. "items": {
  15454. "$ref": "#/definitions/models.WRSConverTDetail"
  15455. }
  15456. }
  15457. }
  15458. },
  15459. "models.ErmcpExposureDetailModel": {
  15460. "type": "object",
  15461. "properties": {
  15462. "areauserid": {
  15463. "description": "机构ID",
  15464. "type": "integer"
  15465. },
  15466. "changeQty": {
  15467. "description": "套保变动量",
  15468. "type": "number"
  15469. },
  15470. "contracttype": {
  15471. "description": "现货合同类型 - 1:采购 -1:销售",
  15472. "type": "integer"
  15473. },
  15474. "convertfactor": {
  15475. "description": "标仓系数",
  15476. "type": "number"
  15477. },
  15478. "convertratio": {
  15479. "description": "套保系数",
  15480. "type": "number"
  15481. },
  15482. "createtime": {
  15483. "description": "时间",
  15484. "type": "string"
  15485. },
  15486. "enumdicname": {
  15487. "description": "现货商品单位名称",
  15488. "type": "string"
  15489. },
  15490. "logtype": {
  15491. "description": "类型 - 1:套保计划 2:现货合同",
  15492. "type": "integer"
  15493. },
  15494. "middlegoodsId": {
  15495. "description": "套保商品id",
  15496. "type": "integer"
  15497. },
  15498. "middlegoodscode": {
  15499. "description": "套保商品代码",
  15500. "type": "string"
  15501. },
  15502. "middlegoodsname": {
  15503. "description": "套保商品名称",
  15504. "type": "string"
  15505. },
  15506. "qty": {
  15507. "description": "数量",
  15508. "type": "number"
  15509. },
  15510. "relateNo": {
  15511. "description": "现货合同/套保计划编号",
  15512. "type": "string"
  15513. },
  15514. "wrstandardcode": {
  15515. "description": "现货商品代码",
  15516. "type": "string"
  15517. },
  15518. "wrstandardid": {
  15519. "description": "现货商品ID",
  15520. "type": "integer"
  15521. },
  15522. "wrstandardname": {
  15523. "description": "现货商品名称",
  15524. "type": "string"
  15525. }
  15526. }
  15527. },
  15528. "models.ErmcpExposurePostion": {
  15529. "type": "object",
  15530. "properties": {
  15531. "agreeunit": {
  15532. "description": "合约单位",
  15533. "type": "string"
  15534. },
  15535. "areauserid": {
  15536. "description": "所属机构id",
  15537. "type": "integer"
  15538. },
  15539. "convertratio": {
  15540. "description": "期货品种系数(折算系数)",
  15541. "type": "number"
  15542. },
  15543. "curqty": {
  15544. "description": "当前持仓",
  15545. "type": "integer"
  15546. },
  15547. "diffhedgeqty": {
  15548. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15549. "type": "number"
  15550. },
  15551. "diffqty": {
  15552. "description": "持仓变动量=当前持仓-昨日持仓",
  15553. "type": "integer"
  15554. },
  15555. "goodscode": {
  15556. "description": "商品代码",
  15557. "type": "string"
  15558. },
  15559. "goodsid": {
  15560. "description": "商品id",
  15561. "type": "integer"
  15562. },
  15563. "goodsname": {
  15564. "description": "商品名称",
  15565. "type": "string"
  15566. },
  15567. "middlegoodsid": {
  15568. "description": "套保商品id",
  15569. "type": "integer"
  15570. },
  15571. "ydqty": {
  15572. "description": "昨日持仓",
  15573. "type": "integer"
  15574. }
  15575. }
  15576. },
  15577. "models.ErmcpFuturesCompany": {
  15578. "type": "object",
  15579. "properties": {
  15580. "brokerid": {
  15581. "description": "经纪公司代码",
  15582. "type": "string"
  15583. },
  15584. "channeladdress": {
  15585. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15586. "type": "string"
  15587. },
  15588. "channelid": {
  15589. "description": "对冲渠道ID",
  15590. "type": "string"
  15591. },
  15592. "createtime": {
  15593. "description": "创建时间",
  15594. "type": "string"
  15595. },
  15596. "creatorid": {
  15597. "description": "创建人",
  15598. "type": "string"
  15599. },
  15600. "fcid": {
  15601. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15602. "type": "integer"
  15603. },
  15604. "fcname": {
  15605. "description": "期货公司名称",
  15606. "type": "string"
  15607. },
  15608. "isvalid": {
  15609. "description": "是否有效 - 0:无效 1:有效",
  15610. "type": "integer"
  15611. },
  15612. "mhpaddress": {
  15613. "description": "MHP服务地址(IP:Port)",
  15614. "type": "string"
  15615. },
  15616. "riskrulegroupid": {
  15617. "description": "风控规则组ID",
  15618. "type": "string"
  15619. },
  15620. "tradefeetmpid": {
  15621. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15622. "type": "string"
  15623. },
  15624. "trademargintmpid": {
  15625. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15626. "type": "string"
  15627. },
  15628. "traderatetmpid": {
  15629. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15630. "type": "string"
  15631. },
  15632. "updatetime": {
  15633. "description": "更新时间",
  15634. "type": "string"
  15635. },
  15636. "updatorid": {
  15637. "description": "更新人",
  15638. "type": "string"
  15639. }
  15640. }
  15641. },
  15642. "models.ErmcpGGConvertCfg": {
  15643. "type": "object",
  15644. "properties": {
  15645. "convertratio": {
  15646. "description": "折算系数",
  15647. "type": "number"
  15648. },
  15649. "destgoodsgroupid": {
  15650. "description": "目标品种ID",
  15651. "type": "integer"
  15652. },
  15653. "dstcode": {
  15654. "description": "目录品种代码",
  15655. "type": "string"
  15656. },
  15657. "dstexchangecode": {
  15658. "description": "目标期货交易所",
  15659. "type": "string"
  15660. },
  15661. "dstname": {
  15662. "description": "目标品种名称",
  15663. "type": "string"
  15664. },
  15665. "dstunitid": {
  15666. "description": "目标品种单位ID",
  15667. "type": "integer"
  15668. },
  15669. "dstunitidname": {
  15670. "description": "目标品种单位名称",
  15671. "type": "string"
  15672. },
  15673. "modifytime": {
  15674. "description": "修改时间",
  15675. "type": "string"
  15676. },
  15677. "srccode": {
  15678. "description": "源品种代码",
  15679. "type": "string"
  15680. },
  15681. "srcexchangecode": {
  15682. "description": "源期货交易所",
  15683. "type": "string"
  15684. },
  15685. "srcgoodsgroupid": {
  15686. "description": "源品种ID",
  15687. "type": "integer"
  15688. },
  15689. "srcname": {
  15690. "description": "源品种名称",
  15691. "type": "string"
  15692. },
  15693. "srcunitid": {
  15694. "description": "源品种单位ID",
  15695. "type": "integer"
  15696. },
  15697. "srcunitidname": {
  15698. "description": "源品种单位名称",
  15699. "type": "string"
  15700. }
  15701. }
  15702. },
  15703. "models.ErmcpGoodsBrand": {
  15704. "type": "object",
  15705. "properties": {
  15706. "areauserid": {
  15707. "description": "所属机构",
  15708. "type": "integer"
  15709. },
  15710. "brandid": {
  15711. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15712. "type": "integer"
  15713. },
  15714. "brandname": {
  15715. "description": "品牌名称",
  15716. "type": "string"
  15717. },
  15718. "createtime": {
  15719. "description": "创建时间",
  15720. "type": "string"
  15721. },
  15722. "creatorid": {
  15723. "description": "创建人",
  15724. "type": "integer"
  15725. },
  15726. "creatorsrc": {
  15727. "description": "创建人来源 - 1:管理端 2:终端",
  15728. "type": "integer"
  15729. },
  15730. "deliverygoodsid": {
  15731. "description": "现货品种ID",
  15732. "type": "integer"
  15733. },
  15734. "isvalid": {
  15735. "description": "是否有效 - 0:无效 1:有效",
  15736. "type": "integer"
  15737. },
  15738. "updatetime": {
  15739. "description": "更新时间",
  15740. "type": "string"
  15741. },
  15742. "updatorid": {
  15743. "description": "更新人",
  15744. "type": "integer"
  15745. },
  15746. "updatorsrc": {
  15747. "description": "更新人来源 - 1:管理端 2:终端",
  15748. "type": "integer"
  15749. },
  15750. "wrstandardid": {
  15751. "description": "现货商品ID",
  15752. "type": "integer"
  15753. }
  15754. }
  15755. },
  15756. "models.ErmcpGoodsModel": {
  15757. "type": "object",
  15758. "properties": {
  15759. "areauserid": {
  15760. "description": "所属机构",
  15761. "type": "integer"
  15762. },
  15763. "convertfactor": {
  15764. "description": "标仓系数",
  15765. "type": "number"
  15766. },
  15767. "createtime": {
  15768. "description": "创建时间",
  15769. "type": "string"
  15770. },
  15771. "creatorid": {
  15772. "description": "创建人",
  15773. "type": "integer"
  15774. },
  15775. "creatorsrc": {
  15776. "description": "创建人来源 - 1:管理端 2:终端",
  15777. "type": "integer"
  15778. },
  15779. "deliverygoodsid": {
  15780. "description": "现货品种ID",
  15781. "type": "integer"
  15782. },
  15783. "isvalid": {
  15784. "description": "是否有效 - 0:无效 1:有效",
  15785. "type": "integer"
  15786. },
  15787. "modelid": {
  15788. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15789. "type": "integer"
  15790. },
  15791. "modelname": {
  15792. "description": "型号名称",
  15793. "type": "string"
  15794. },
  15795. "updatetime": {
  15796. "description": "更新时间",
  15797. "type": "string"
  15798. },
  15799. "updatorid": {
  15800. "description": "更新人",
  15801. "type": "integer"
  15802. },
  15803. "updatorsrc": {
  15804. "description": "更新人来源 - 1:管理端 2:终端",
  15805. "type": "integer"
  15806. },
  15807. "wrstandardid": {
  15808. "description": "现货商品ID",
  15809. "type": "integer"
  15810. }
  15811. }
  15812. },
  15813. "models.ErmcpHedgePlan": {
  15814. "type": "object",
  15815. "properties": {
  15816. "areauserid": {
  15817. "description": "用户ID",
  15818. "type": "integer"
  15819. },
  15820. "audittime": {
  15821. "description": "审核时间",
  15822. "type": "string"
  15823. },
  15824. "contracttype": {
  15825. "description": "计划类型 - 1:采购 -1:销售",
  15826. "type": "integer"
  15827. },
  15828. "convertfactor": {
  15829. "description": "标仓系数",
  15830. "type": "number"
  15831. },
  15832. "createtime": {
  15833. "description": "创建时间",
  15834. "type": "string"
  15835. },
  15836. "deliverygoodsid": {
  15837. "description": "现货品种ID",
  15838. "type": "integer"
  15839. },
  15840. "deliverygoodsname": {
  15841. "description": "现货品种名称",
  15842. "type": "string"
  15843. },
  15844. "enumdicname": {
  15845. "description": "单位名称",
  15846. "type": "string"
  15847. },
  15848. "hedgeplanid": {
  15849. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15850. "type": "string"
  15851. },
  15852. "hedgeplanno": {
  15853. "description": "套保计划编号(名称)",
  15854. "type": "string"
  15855. },
  15856. "hedgeplanstatus": {
  15857. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15858. "type": "integer"
  15859. },
  15860. "planqty": {
  15861. "description": "计划数量",
  15862. "type": "number"
  15863. },
  15864. "plantime": {
  15865. "description": "计划时间",
  15866. "type": "string"
  15867. },
  15868. "producttype": {
  15869. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15870. "type": "integer"
  15871. },
  15872. "remark": {
  15873. "description": "备注",
  15874. "type": "string"
  15875. },
  15876. "spotgoodsdesc": {
  15877. "description": "商品型号",
  15878. "type": "string"
  15879. },
  15880. "unitid": {
  15881. "description": "单位id",
  15882. "type": "integer"
  15883. },
  15884. "updatetime": {
  15885. "description": "更新时间",
  15886. "type": "string"
  15887. },
  15888. "wrstandardid": {
  15889. "description": "现货商品ID",
  15890. "type": "integer"
  15891. },
  15892. "wrstandardname": {
  15893. "description": "现货商品名称",
  15894. "type": "string"
  15895. }
  15896. }
  15897. },
  15898. "models.ErmcpHedgePosition": {
  15899. "type": "object",
  15900. "properties": {
  15901. "accountid": {
  15902. "description": "资金账号[外部母账户]",
  15903. "type": "integer"
  15904. },
  15905. "curbuyposition": {
  15906. "description": "期末买头寸",
  15907. "type": "integer"
  15908. },
  15909. "cursellposition": {
  15910. "description": "期末卖头寸",
  15911. "type": "integer"
  15912. },
  15913. "curtdbuyposition": {
  15914. "description": "期末今日买头寸",
  15915. "type": "integer"
  15916. },
  15917. "curtdsellposition": {
  15918. "description": "期末今日卖头寸",
  15919. "type": "integer"
  15920. },
  15921. "curydbuyposition": {
  15922. "description": "期末上日买头寸",
  15923. "type": "integer"
  15924. },
  15925. "curydsellposition": {
  15926. "description": "期末上日卖头寸",
  15927. "type": "integer"
  15928. },
  15929. "decreaseqty": {
  15930. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15931. "type": "integer"
  15932. },
  15933. "fretdbuyposition": {
  15934. "description": "冻结今日买头寸",
  15935. "type": "integer"
  15936. },
  15937. "fretdsellposition": {
  15938. "description": "冻结今日卖头寸",
  15939. "type": "integer"
  15940. },
  15941. "freydbuyposition": {
  15942. "description": "冻结上日买头寸",
  15943. "type": "integer"
  15944. },
  15945. "freydsellposition": {
  15946. "description": "冻结上日卖头寸",
  15947. "type": "integer"
  15948. },
  15949. "goodscode": {
  15950. "description": "商品代码",
  15951. "type": "string"
  15952. },
  15953. "goodsid": {
  15954. "description": "商品id",
  15955. "type": "integer"
  15956. },
  15957. "goodsname": {
  15958. "description": "商品名称",
  15959. "type": "string"
  15960. },
  15961. "hedgeaccountcode": {
  15962. "description": "对冲账号",
  15963. "type": "string"
  15964. },
  15965. "hedgegoodsid": {
  15966. "description": "对冲合约ID",
  15967. "type": "integer"
  15968. },
  15969. "increaseqty": {
  15970. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15971. "type": "integer"
  15972. },
  15973. "marketid": {
  15974. "description": "市场ID",
  15975. "type": "integer"
  15976. },
  15977. "relateduserid": {
  15978. "description": "关联用户id",
  15979. "type": "integer"
  15980. },
  15981. "totalcurqty": {
  15982. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15983. "type": "integer"
  15984. },
  15985. "totalydqty": {
  15986. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15987. "type": "integer"
  15988. },
  15989. "tradedate": {
  15990. "description": "交易日(yyyyMMdd)",
  15991. "type": "string"
  15992. },
  15993. "ydbuyposition": {
  15994. "description": "期初买头寸",
  15995. "type": "integer"
  15996. },
  15997. "ydsellposition": {
  15998. "description": "期初卖头寸",
  15999. "type": "integer"
  16000. }
  16001. }
  16002. },
  16003. "models.ErmcpHedgePositionDetail": {
  16004. "type": "object",
  16005. "properties": {
  16006. "buyorsell": {
  16007. "description": "买卖方向 0-买 1-卖",
  16008. "type": "integer"
  16009. },
  16010. "channelbuildtype": {
  16011. "description": "开平方向 1-建仓 2-平仓",
  16012. "type": "integer"
  16013. },
  16014. "goodscode": {
  16015. "description": "商品代码",
  16016. "type": "string"
  16017. },
  16018. "goodsname": {
  16019. "description": "商品名称",
  16020. "type": "string"
  16021. },
  16022. "hedgegoodsid": {
  16023. "description": "商品id",
  16024. "type": "integer"
  16025. },
  16026. "tradeqty": {
  16027. "description": "数量(成交数量)",
  16028. "type": "integer"
  16029. },
  16030. "tradetime": {
  16031. "description": "时间(成交时间)",
  16032. "type": "string"
  16033. }
  16034. }
  16035. },
  16036. "models.ErmcpHisExposure": {
  16037. "type": "object",
  16038. "properties": {
  16039. "needhedgeexposoure": {
  16040. "description": "应套保敞口",
  16041. "type": "number"
  16042. },
  16043. "reckondate": {
  16044. "description": "日照时期(yyyyMMdd)",
  16045. "type": "string"
  16046. },
  16047. "totalexposure": {
  16048. "description": "总敞口",
  16049. "type": "number"
  16050. }
  16051. }
  16052. },
  16053. "models.ErmcpHisExposureS": {
  16054. "type": "object",
  16055. "properties": {
  16056. "data": {
  16057. "description": "历史敞口",
  16058. "type": "array",
  16059. "items": {
  16060. "$ref": "#/definitions/models.ErmcpHisExposure"
  16061. }
  16062. },
  16063. "enumdicname": {
  16064. "description": "单位名称",
  16065. "type": "string"
  16066. },
  16067. "middlegoodscode": {
  16068. "description": "套保品种代码",
  16069. "type": "string"
  16070. },
  16071. "middlegoodsid": {
  16072. "description": "套保品种ID",
  16073. "type": "integer"
  16074. },
  16075. "middlegoodsname": {
  16076. "description": "套保品种名称",
  16077. "type": "string"
  16078. }
  16079. }
  16080. },
  16081. "models.ErmcpLoginUser": {
  16082. "type": "object",
  16083. "properties": {
  16084. "accountname": {
  16085. "description": "用户名称",
  16086. "type": "string"
  16087. },
  16088. "clientroleid": {
  16089. "description": "角色id(usertype=2)",
  16090. "type": "integer"
  16091. },
  16092. "createtime": {
  16093. "description": "创建时间",
  16094. "type": "string"
  16095. },
  16096. "logincode": {
  16097. "description": "登录代码",
  16098. "type": "string"
  16099. },
  16100. "loginid": {
  16101. "description": "登录id(LOGINID)",
  16102. "type": "integer"
  16103. },
  16104. "loginstatus": {
  16105. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16106. "type": "integer"
  16107. },
  16108. "memberuserid": {
  16109. "description": "所属会员id",
  16110. "type": "integer"
  16111. },
  16112. "mobile": {
  16113. "description": "手机号",
  16114. "type": "string"
  16115. },
  16116. "modifytime": {
  16117. "description": "修改时间",
  16118. "type": "string"
  16119. },
  16120. "password": {
  16121. "description": "密码(不可解密)",
  16122. "type": "string"
  16123. },
  16124. "rolename": {
  16125. "description": "角色名称",
  16126. "type": "string"
  16127. },
  16128. "rolestatus": {
  16129. "description": "角色状态 1-启用 2-停用",
  16130. "type": "integer"
  16131. },
  16132. "roletype": {
  16133. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16134. "type": "string"
  16135. },
  16136. "userid": {
  16137. "description": "用户id",
  16138. "type": "integer"
  16139. },
  16140. "usertype": {
  16141. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16142. "type": "integer"
  16143. }
  16144. }
  16145. },
  16146. "models.ErmcpLoginUserEx": {
  16147. "type": "object",
  16148. "properties": {
  16149. "roleid": {
  16150. "description": "角色id",
  16151. "type": "integer"
  16152. },
  16153. "rolename": {
  16154. "description": "角色名称",
  16155. "type": "string"
  16156. },
  16157. "userlist": {
  16158. "description": "用户列表",
  16159. "type": "array",
  16160. "items": {
  16161. "$ref": "#/definitions/models.ErmcpLoginUser"
  16162. }
  16163. },
  16164. "usertype": {
  16165. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16166. "type": "integer"
  16167. }
  16168. }
  16169. },
  16170. "models.ErmcpMiddleGoodsChangeLog": {
  16171. "type": "object",
  16172. "properties": {
  16173. "aftervalue": {
  16174. "description": "变更后",
  16175. "type": "number"
  16176. },
  16177. "applyid": {
  16178. "description": "操作人",
  16179. "type": "integer"
  16180. },
  16181. "applyname": {
  16182. "description": "操作人名称",
  16183. "type": "string"
  16184. },
  16185. "applysrc": {
  16186. "description": "操作来源 - 1:管理端 2:终端",
  16187. "type": "integer"
  16188. },
  16189. "beforevalue": {
  16190. "description": "变更前",
  16191. "type": "number"
  16192. },
  16193. "changelogtype": {
  16194. "description": "变更流水类型 - 1:套保比率变更",
  16195. "type": "integer"
  16196. },
  16197. "handlestatus": {
  16198. "description": "处理状态",
  16199. "type": "integer"
  16200. },
  16201. "logdatetime": {
  16202. "description": "流水日期",
  16203. "type": "string"
  16204. },
  16205. "logid": {
  16206. "description": "流水ID",
  16207. "type": "integer"
  16208. },
  16209. "logremark": {
  16210. "description": "流水备注",
  16211. "type": "string"
  16212. },
  16213. "middlegoodsid": {
  16214. "description": "套保品种ID",
  16215. "type": "integer"
  16216. },
  16217. "tradedate": {
  16218. "description": "交易日(yyyyMMdd)",
  16219. "type": "string"
  16220. },
  16221. "updatetime": {
  16222. "description": "更新时间",
  16223. "type": "string"
  16224. }
  16225. }
  16226. },
  16227. "models.ErmcpMiddleGoodsDetail": {
  16228. "type": "object",
  16229. "properties": {
  16230. "cvList": {
  16231. "description": "期货品种折算列表",
  16232. "type": "array",
  16233. "items": {
  16234. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16235. }
  16236. },
  16237. "mg": {
  16238. "description": "套保品种基本信息",
  16239. "type": "object",
  16240. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16241. },
  16242. "wrcList": {
  16243. "description": "现货品种列表(现货商品折算配置)",
  16244. "type": "array",
  16245. "items": {
  16246. "$ref": "#/definitions/models.WRSConverTDetail"
  16247. }
  16248. }
  16249. }
  16250. },
  16251. "models.ErmcpMiddleGoodsModel": {
  16252. "type": "object",
  16253. "properties": {
  16254. "areauserid": {
  16255. "description": "机构用户ID",
  16256. "type": "integer"
  16257. },
  16258. "createtime": {
  16259. "description": "修改时间",
  16260. "type": "string"
  16261. },
  16262. "enumdicname": {
  16263. "description": "单位名称",
  16264. "type": "string"
  16265. },
  16266. "evaluateratio": {
  16267. "description": "估价系数",
  16268. "type": "number"
  16269. },
  16270. "goodsgroupid": {
  16271. "description": "关联期货品种ID",
  16272. "type": "integer"
  16273. },
  16274. "isvalid": {
  16275. "description": "状态 0-无效(停用) 1-有效(正常)",
  16276. "type": "integer"
  16277. },
  16278. "middlegoodscode": {
  16279. "description": "套保品种代码",
  16280. "type": "string"
  16281. },
  16282. "middlegoodsid": {
  16283. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16284. "type": "integer"
  16285. },
  16286. "middlegoodsname": {
  16287. "description": "套保品种名称",
  16288. "type": "string"
  16289. },
  16290. "modifytime": {
  16291. "description": "修改时间",
  16292. "type": "string"
  16293. },
  16294. "needhedgeratio": {
  16295. "description": "套保比率",
  16296. "type": "number"
  16297. },
  16298. "qtydecimalplace": {
  16299. "description": "数量小数位",
  16300. "type": "integer"
  16301. },
  16302. "relatedgoodsid": {
  16303. "description": "关联交易商品ID",
  16304. "type": "integer"
  16305. },
  16306. "relatedgoodstype": {
  16307. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16308. "type": "integer"
  16309. },
  16310. "remark": {
  16311. "description": "备注",
  16312. "type": "string"
  16313. }
  16314. }
  16315. },
  16316. "models.ErmcpModel": {
  16317. "type": "object",
  16318. "properties": {
  16319. "accountname": {
  16320. "description": "账户名称",
  16321. "type": "string"
  16322. },
  16323. "attachment": {
  16324. "description": "附件",
  16325. "type": "string"
  16326. },
  16327. "audittime": {
  16328. "description": "审核时间",
  16329. "type": "string"
  16330. },
  16331. "brandname": {
  16332. "description": "品牌名称",
  16333. "type": "string"
  16334. },
  16335. "contracctstatus": {
  16336. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16337. "type": "integer"
  16338. },
  16339. "contractmargin": {
  16340. "description": "合同保证金",
  16341. "type": "number"
  16342. },
  16343. "contractno": {
  16344. "description": "合同编号",
  16345. "type": "string"
  16346. },
  16347. "contracttype": {
  16348. "description": "合同类型 1-采购, -1-销售",
  16349. "type": "integer"
  16350. },
  16351. "convertfactor": {
  16352. "description": "标仓系数",
  16353. "type": "number"
  16354. },
  16355. "createtime": {
  16356. "description": "创建时间",
  16357. "type": "string"
  16358. },
  16359. "daikaiamount": {
  16360. "description": "应收(开)票额",
  16361. "type": "number"
  16362. },
  16363. "deliveryenddate": {
  16364. "description": "交割结束日",
  16365. "type": "string"
  16366. },
  16367. "deliverygoodscode": {
  16368. "description": "现货品种代码",
  16369. "type": "string"
  16370. },
  16371. "deliverygoodsid": {
  16372. "description": "现货商品ID",
  16373. "type": "integer"
  16374. },
  16375. "deliverygoodsname": {
  16376. "description": "现货品种名称",
  16377. "type": "string"
  16378. },
  16379. "deliverystartdate": {
  16380. "description": "交割开始日",
  16381. "type": "string"
  16382. },
  16383. "enddate": {
  16384. "description": "点价结束日",
  16385. "type": "string"
  16386. },
  16387. "enumdicname": {
  16388. "description": "单位名称",
  16389. "type": "string"
  16390. },
  16391. "goodscode": {
  16392. "description": "点价商品代码",
  16393. "type": "string"
  16394. },
  16395. "goodsid": {
  16396. "description": "点价商品ID",
  16397. "type": "integer"
  16398. },
  16399. "goodsname": {
  16400. "description": "点价商品名称",
  16401. "type": "string"
  16402. },
  16403. "invoiceamount": {
  16404. "description": "已开票额",
  16405. "type": "number"
  16406. },
  16407. "loanamount": {
  16408. "description": "贷款总额=已定价额+调整金额",
  16409. "type": "number"
  16410. },
  16411. "margin": {
  16412. "description": "保证金",
  16413. "type": "number"
  16414. },
  16415. "modelname": {
  16416. "description": "型号名称",
  16417. "type": "string"
  16418. },
  16419. "payamount": {
  16420. "description": "已收付额(收款或付款)",
  16421. "type": "number"
  16422. },
  16423. "preinvoiceamount": {
  16424. "description": "预收(开)票额",
  16425. "type": "number"
  16426. },
  16427. "prepayamount": {
  16428. "description": "预收付额",
  16429. "type": "number"
  16430. },
  16431. "price": {
  16432. "description": "价格",
  16433. "type": "number"
  16434. },
  16435. "pricedamount": {
  16436. "description": "已定价额",
  16437. "type": "number"
  16438. },
  16439. "pricedavg": {
  16440. "description": "已点均价",
  16441. "type": "number"
  16442. },
  16443. "pricedqty": {
  16444. "description": "已定价量",
  16445. "type": "number"
  16446. },
  16447. "pricemove": {
  16448. "description": "升贴水",
  16449. "type": "number"
  16450. },
  16451. "pricetype": {
  16452. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16453. "type": "integer"
  16454. },
  16455. "producttype": {
  16456. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16457. "type": "integer"
  16458. },
  16459. "qty": {
  16460. "description": "合同量",
  16461. "type": "number"
  16462. },
  16463. "reckonadjustamount": {
  16464. "description": "调整金额",
  16465. "type": "number"
  16466. },
  16467. "reckonedamount": {
  16468. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16469. "type": "number"
  16470. },
  16471. "reckonotheramount": {
  16472. "description": "其它费用",
  16473. "type": "number"
  16474. },
  16475. "reckonrealqty": {
  16476. "description": "已确定量",
  16477. "type": "number"
  16478. },
  16479. "remark": {
  16480. "description": "备注",
  16481. "type": "string"
  16482. },
  16483. "spotcontractid": {
  16484. "description": "合同ID",
  16485. "type": "string"
  16486. },
  16487. "spotgoodsbrandid": {
  16488. "description": "现货品牌ID",
  16489. "type": "integer"
  16490. },
  16491. "spotgoodsdesc": {
  16492. "description": "商品型号(商品规格)",
  16493. "type": "string"
  16494. },
  16495. "spotgoodsmodelid": {
  16496. "description": "现货型号ID",
  16497. "type": "integer"
  16498. },
  16499. "startdate": {
  16500. "description": "点价开始日",
  16501. "type": "string"
  16502. },
  16503. "totalamount": {
  16504. "description": "合计总额",
  16505. "type": "number"
  16506. },
  16507. "unpayamount": {
  16508. "description": "应收付款额(应支付或应收款)",
  16509. "type": "number"
  16510. },
  16511. "unpricedqty": {
  16512. "description": "未定价量",
  16513. "type": "number"
  16514. },
  16515. "unsureqty": {
  16516. "description": "未确定量",
  16517. "type": "number"
  16518. },
  16519. "userid": {
  16520. "description": "用户ID",
  16521. "type": "integer"
  16522. },
  16523. "wrstandardcode": {
  16524. "description": "现货商品代码",
  16525. "type": "string"
  16526. },
  16527. "wrstandardid": {
  16528. "description": "现货商品ID",
  16529. "type": "integer"
  16530. },
  16531. "wrstandardname": {
  16532. "description": "现货商品名称",
  16533. "type": "string"
  16534. }
  16535. }
  16536. },
  16537. "models.ErmcpOPLogModel": {
  16538. "type": "object",
  16539. "properties": {
  16540. "aftervalue": {
  16541. "description": "变更后",
  16542. "type": "number"
  16543. },
  16544. "applyid": {
  16545. "description": "操作人ID",
  16546. "type": "string"
  16547. },
  16548. "applyname": {
  16549. "description": "操作人名称",
  16550. "type": "string"
  16551. },
  16552. "beforevalue": {
  16553. "description": "变更前",
  16554. "type": "number"
  16555. },
  16556. "biztype": {
  16557. "description": "业务类型 - 1:套保计划 2:现货合同",
  16558. "type": "integer"
  16559. },
  16560. "contracttype": {
  16561. "description": "现货合同类型 - 1:采购 -1:销售",
  16562. "type": "integer"
  16563. },
  16564. "logvalue": {
  16565. "description": "数值",
  16566. "type": "number"
  16567. },
  16568. "operatelogtype": {
  16569. "description": "操作流水类型",
  16570. "type": "integer"
  16571. },
  16572. "operatelogtypedesc": {
  16573. "description": "操作流水类型名称",
  16574. "type": "string"
  16575. },
  16576. "relatedid": {
  16577. "description": "现货合同ID\\套保计划",
  16578. "type": "string"
  16579. },
  16580. "updatetime": {
  16581. "description": "更新时间",
  16582. "type": "string"
  16583. }
  16584. }
  16585. },
  16586. "models.ErmcpPendingAudit": {
  16587. "type": "object",
  16588. "properties": {
  16589. "areastockqty": {
  16590. "description": "待审核数量: 库存申请",
  16591. "type": "integer"
  16592. },
  16593. "businessdjqty": {
  16594. "description": "待审核数量: 点价",
  16595. "type": "integer"
  16596. },
  16597. "businessfpqty": {
  16598. "description": "待审核数量: 发票",
  16599. "type": "integer"
  16600. },
  16601. "businessjsqty": {
  16602. "description": "待审核数量: 结算",
  16603. "type": "integer"
  16604. },
  16605. "businesskxqty": {
  16606. "description": "待审核数量: 款项",
  16607. "type": "integer"
  16608. },
  16609. "hedgeplanqty": {
  16610. "description": "待审核数量: 套保计划",
  16611. "type": "integer"
  16612. },
  16613. "spotcontractqty": {
  16614. "description": "待审核数量: 现货合同",
  16615. "type": "integer"
  16616. },
  16617. "userqty": {
  16618. "description": "待审核数量: 用户",
  16619. "type": "integer"
  16620. }
  16621. }
  16622. },
  16623. "models.ErmcpRealExposureModel": {
  16624. "type": "object",
  16625. "properties": {
  16626. "AreaUserID": {
  16627. "description": "所属机构",
  16628. "type": "integer"
  16629. },
  16630. "BuyFutureQty": {
  16631. "description": "买入期货数量",
  16632. "type": "number"
  16633. },
  16634. "BuyPlanQty": {
  16635. "description": "采购计划数量",
  16636. "type": "number"
  16637. },
  16638. "BuyPricedQty": {
  16639. "description": "采购合同已定价数量",
  16640. "type": "number"
  16641. },
  16642. "MiddleGoodsCode": {
  16643. "description": "套保品种代码",
  16644. "type": "string"
  16645. },
  16646. "MiddleGoodsHedgeRatio": {
  16647. "description": "应套保比例",
  16648. "type": "number"
  16649. },
  16650. "MiddleGoodsID": {
  16651. "description": "套保品种",
  16652. "type": "integer"
  16653. },
  16654. "MiddleGoodsName": {
  16655. "description": "套保品种名称",
  16656. "type": "string"
  16657. },
  16658. "NeedHedgeExposoure": {
  16659. "description": "应套保敞口",
  16660. "type": "number"
  16661. },
  16662. "NeedHedgeRatio": {
  16663. "description": "应套保敞口比例",
  16664. "type": "number"
  16665. },
  16666. "OriBuyFutureQty": {
  16667. "description": "期初买入期货数量",
  16668. "type": "number"
  16669. },
  16670. "OriBuyPlanQty": {
  16671. "description": "期初采购计划数量",
  16672. "type": "number"
  16673. },
  16674. "OriBuyPricedQty": {
  16675. "description": "期初采购合同已定价数量",
  16676. "type": "number"
  16677. },
  16678. "OriSellFutureQty": {
  16679. "description": "期初卖出期货数量",
  16680. "type": "number"
  16681. },
  16682. "OriSellPlanQty": {
  16683. "description": "期初销售计划数量",
  16684. "type": "number"
  16685. },
  16686. "OriSellPricedQty": {
  16687. "description": "期初销售合同已定价数量",
  16688. "type": "number"
  16689. },
  16690. "SellFutureQty": {
  16691. "description": "卖出期货数量",
  16692. "type": "number"
  16693. },
  16694. "SellPlanQty": {
  16695. "description": "销售计划数量",
  16696. "type": "number"
  16697. },
  16698. "SellPricedQty": {
  16699. "description": "销售合同已定价数量",
  16700. "type": "number"
  16701. },
  16702. "TotalExposure": {
  16703. "description": "总敞口",
  16704. "type": "number"
  16705. },
  16706. "TotalFutureQty": {
  16707. "description": "期货数量",
  16708. "type": "number"
  16709. },
  16710. "TotalHedgeRatio": {
  16711. "description": "敞口比例",
  16712. "type": "number"
  16713. },
  16714. "TotalNeedHedgeQty": {
  16715. "description": "期货应套保量",
  16716. "type": "number"
  16717. },
  16718. "TotalSpotQty": {
  16719. "description": "现货数量",
  16720. "type": "number"
  16721. },
  16722. "diffFutuQty": {
  16723. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16724. "type": "number"
  16725. },
  16726. "diffSpotQty": {
  16727. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16728. "type": "number"
  16729. },
  16730. "enumdicname": {
  16731. "description": "单位名称",
  16732. "type": "string"
  16733. },
  16734. "oriTotalFutuQty": {
  16735. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16736. "type": "number"
  16737. },
  16738. "oriTotalSpotQty": {
  16739. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16740. "type": "number"
  16741. }
  16742. }
  16743. },
  16744. "models.ErmcpRelatedGoods": {
  16745. "type": "object",
  16746. "properties": {
  16747. "deliverygoodsid": {
  16748. "description": "品种ID",
  16749. "type": "integer"
  16750. },
  16751. "goodscode": {
  16752. "description": "商品代码",
  16753. "type": "string"
  16754. },
  16755. "goodsid": {
  16756. "description": "商品id",
  16757. "type": "integer"
  16758. },
  16759. "goodsname": {
  16760. "description": "商品名称",
  16761. "type": "string"
  16762. }
  16763. }
  16764. },
  16765. "models.ErmcpReportAreaSpotPL": {
  16766. "type": "object",
  16767. "properties": {
  16768. "actualpl": {
  16769. "description": "实际损益",
  16770. "type": "number"
  16771. },
  16772. "areauserid": {
  16773. "description": "所属机构",
  16774. "type": "integer"
  16775. },
  16776. "brandname": {
  16777. "description": "品牌名称",
  16778. "type": "string"
  16779. },
  16780. "curamount": {
  16781. "description": "期末额",
  16782. "type": "number"
  16783. },
  16784. "curaverageprice": {
  16785. "description": "期末均价",
  16786. "type": "number"
  16787. },
  16788. "curbuyamount": {
  16789. "description": "期末采购总额(采购额)",
  16790. "type": "number"
  16791. },
  16792. "curbuyqty": {
  16793. "description": "期末采购总量",
  16794. "type": "number"
  16795. },
  16796. "curmarketvalue": {
  16797. "description": "参考市值",
  16798. "type": "number"
  16799. },
  16800. "curqty": {
  16801. "description": "期末量",
  16802. "type": "number"
  16803. },
  16804. "cursellamount": {
  16805. "description": "期末销售总额(销售额)",
  16806. "type": "number"
  16807. },
  16808. "cursellqty": {
  16809. "description": "期末销售总量",
  16810. "type": "number"
  16811. },
  16812. "curspotprice": {
  16813. "description": "参考市价",
  16814. "type": "number"
  16815. },
  16816. "enumdicname": {
  16817. "description": "现货商品单位名称",
  16818. "type": "string"
  16819. },
  16820. "floatpl": {
  16821. "description": "浮动损益",
  16822. "type": "number"
  16823. },
  16824. "gbenumdicname": {
  16825. "description": "品类单位名称",
  16826. "type": "string"
  16827. },
  16828. "gbunitid": {
  16829. "description": "品类单位id",
  16830. "type": "integer"
  16831. },
  16832. "modelname": {
  16833. "description": "品类名称",
  16834. "type": "string"
  16835. },
  16836. "oriamount": {
  16837. "description": "期初额",
  16838. "type": "number"
  16839. },
  16840. "oriaverageprice": {
  16841. "description": "期初均价",
  16842. "type": "number"
  16843. },
  16844. "oribuyamount": {
  16845. "description": "期初采购总额",
  16846. "type": "number"
  16847. },
  16848. "oribuyqty": {
  16849. "description": "期初采购总量",
  16850. "type": "number"
  16851. },
  16852. "oriqty": {
  16853. "description": "期初量",
  16854. "type": "number"
  16855. },
  16856. "orisellamount": {
  16857. "description": "期初销售总额",
  16858. "type": "number"
  16859. },
  16860. "orisellqty": {
  16861. "description": "期初销售总量",
  16862. "type": "number"
  16863. },
  16864. "spotgoodsbrandid": {
  16865. "description": "现货品牌ID",
  16866. "type": "integer"
  16867. },
  16868. "spotgoodsmodelid": {
  16869. "description": "现货品类ID",
  16870. "type": "integer"
  16871. },
  16872. "todaybuyamount": {
  16873. "description": "今日采购额",
  16874. "type": "number"
  16875. },
  16876. "todaybuyaverageprice": {
  16877. "description": "今日采购均价(采购均价)",
  16878. "type": "number"
  16879. },
  16880. "todaybuyqty": {
  16881. "description": "今日采购量(采购增量)",
  16882. "type": "number"
  16883. },
  16884. "todaysellamount": {
  16885. "description": "今日销售额",
  16886. "type": "number"
  16887. },
  16888. "todaysellaverageprice": {
  16889. "description": "今日销售均价(销售均价)",
  16890. "type": "number"
  16891. },
  16892. "todaysellqty": {
  16893. "description": "今日销售量(销售增量)",
  16894. "type": "number"
  16895. },
  16896. "unitid": {
  16897. "description": "现货商品单位id",
  16898. "type": "integer"
  16899. },
  16900. "updatetime": {
  16901. "description": "更新时间",
  16902. "type": "string"
  16903. },
  16904. "wrstandardcode": {
  16905. "description": "现货商品代码",
  16906. "type": "string"
  16907. },
  16908. "wrstandardid": {
  16909. "description": "现货商品ID",
  16910. "type": "integer"
  16911. },
  16912. "wrstandardname": {
  16913. "description": "现货商品名称",
  16914. "type": "string"
  16915. }
  16916. }
  16917. },
  16918. "models.ErmcpReportDayExposure": {
  16919. "type": "object",
  16920. "properties": {
  16921. "areauserid": {
  16922. "description": "所属机构",
  16923. "type": "integer"
  16924. },
  16925. "buyfutureqty": {
  16926. "description": "买入期货数量",
  16927. "type": "number"
  16928. },
  16929. "buyplanqty": {
  16930. "description": "采购计划数量",
  16931. "type": "number"
  16932. },
  16933. "buypricedqty": {
  16934. "description": "采购合同已定价数量",
  16935. "type": "number"
  16936. },
  16937. "diffFutuQty": {
  16938. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  16939. "type": "number"
  16940. },
  16941. "diffSpotQty": {
  16942. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  16943. "type": "number"
  16944. },
  16945. "enumdicname": {
  16946. "description": "单位名称",
  16947. "type": "string"
  16948. },
  16949. "middlegoodscode": {
  16950. "description": "套保品种代码",
  16951. "type": "string"
  16952. },
  16953. "middlegoodshedgeratio": {
  16954. "description": "应套保比例",
  16955. "type": "number"
  16956. },
  16957. "middlegoodsid": {
  16958. "description": "套保品种ID",
  16959. "type": "integer"
  16960. },
  16961. "middlegoodsname": {
  16962. "description": "套保品种名称",
  16963. "type": "string"
  16964. },
  16965. "needhedgeexposoure": {
  16966. "description": "应套保敞口",
  16967. "type": "number"
  16968. },
  16969. "needhedgeratio": {
  16970. "description": "应套保敞口比例",
  16971. "type": "number"
  16972. },
  16973. "oriTotalFutuQty": {
  16974. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16975. "type": "number"
  16976. },
  16977. "oriTotalSpotQty": {
  16978. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16979. "type": "number"
  16980. },
  16981. "oribuyfutureqty": {
  16982. "description": "期初买入期货数量",
  16983. "type": "number"
  16984. },
  16985. "oribuyplanqty": {
  16986. "description": "期初采购计划数量",
  16987. "type": "number"
  16988. },
  16989. "oribuypricedqty": {
  16990. "description": "期初采购合同已定价数量",
  16991. "type": "number"
  16992. },
  16993. "orisellfutureqty": {
  16994. "description": "期初卖出期货数量",
  16995. "type": "number"
  16996. },
  16997. "orisellplanqty": {
  16998. "description": "期初销售计划数量",
  16999. "type": "number"
  17000. },
  17001. "orisellpricedqty": {
  17002. "description": "期初销售合同已定价数量",
  17003. "type": "number"
  17004. },
  17005. "reckondate": {
  17006. "description": "日照时期(yyyyMMdd)",
  17007. "type": "string"
  17008. },
  17009. "sellfutureqty": {
  17010. "description": "卖出期货数量",
  17011. "type": "number"
  17012. },
  17013. "sellplanqty": {
  17014. "description": "销售计划数量",
  17015. "type": "number"
  17016. },
  17017. "sellpricedqty": {
  17018. "description": "销售合同已定价数量",
  17019. "type": "number"
  17020. },
  17021. "totalexposure": {
  17022. "description": "总敞口",
  17023. "type": "number"
  17024. },
  17025. "totalfutureqty": {
  17026. "description": "期货数量",
  17027. "type": "number"
  17028. },
  17029. "totalhedgeratio": {
  17030. "description": "敞口比例",
  17031. "type": "number"
  17032. },
  17033. "totalneedhedgeqty": {
  17034. "description": "期货应套保量",
  17035. "type": "number"
  17036. },
  17037. "totalspotqty": {
  17038. "description": "现货数量",
  17039. "type": "number"
  17040. }
  17041. }
  17042. },
  17043. "models.ErmcpReportDayFR": {
  17044. "type": "object",
  17045. "properties": {
  17046. "areauserid": {
  17047. "description": "所属机构",
  17048. "type": "integer"
  17049. },
  17050. "collectinvoiceamount": {
  17051. "description": "今日开票金额",
  17052. "type": "number"
  17053. },
  17054. "collectinvoicecount": {
  17055. "description": "今日开票笔数",
  17056. "type": "integer"
  17057. },
  17058. "collectmoneyamount": {
  17059. "description": "今日收款金额",
  17060. "type": "number"
  17061. },
  17062. "collectmoneycount": {
  17063. "description": "今日收款笔数",
  17064. "type": "integer"
  17065. },
  17066. "payinvoiceamount": {
  17067. "description": "今日收票金额",
  17068. "type": "number"
  17069. },
  17070. "payinvoicecount": {
  17071. "description": "今日收票笔数",
  17072. "type": "integer"
  17073. },
  17074. "paymoneyamount": {
  17075. "description": "今日付款金额",
  17076. "type": "number"
  17077. },
  17078. "paymoneycount": {
  17079. "description": "今日付款笔数",
  17080. "type": "integer"
  17081. },
  17082. "reckondate": {
  17083. "description": "日照时期(yyyyMMdd)",
  17084. "type": "string"
  17085. },
  17086. "updatetime": {
  17087. "description": "更新时间",
  17088. "type": "string"
  17089. }
  17090. }
  17091. },
  17092. "models.ErmcpReportDaySpot": {
  17093. "type": "object",
  17094. "properties": {
  17095. "areauserid": {
  17096. "description": "所属机构T",
  17097. "type": "integer"
  17098. },
  17099. "buyinqty": {
  17100. "description": "采购入库量",
  17101. "type": "number"
  17102. },
  17103. "enumdicname": {
  17104. "description": "现货商品单位名称",
  17105. "type": "string"
  17106. },
  17107. "reckondate": {
  17108. "description": "日照时期(yyyyMMdd)",
  17109. "type": "string"
  17110. },
  17111. "selloutqty": {
  17112. "description": "销售出库量",
  17113. "type": "number"
  17114. },
  17115. "todaybuyreckonqty": {
  17116. "description": "采购确定量",
  17117. "type": "number"
  17118. },
  17119. "todaysellreckonqty": {
  17120. "description": "销售确定量",
  17121. "type": "number"
  17122. },
  17123. "totalbuypricedqty": {
  17124. "description": "采购定价量 = 期末 - 期初",
  17125. "type": "number"
  17126. },
  17127. "totalsellpricedqty": {
  17128. "description": "销售定价量 = 期末 - 期初",
  17129. "type": "number"
  17130. },
  17131. "wrstandardcode": {
  17132. "description": "现货商品代码",
  17133. "type": "string"
  17134. },
  17135. "wrstandardid": {
  17136. "description": "现货商品ID",
  17137. "type": "integer"
  17138. },
  17139. "wrstandardname": {
  17140. "description": "现货商品名称",
  17141. "type": "string"
  17142. }
  17143. }
  17144. },
  17145. "models.ErmcpReportMonSpot": {
  17146. "type": "object",
  17147. "properties": {
  17148. "areauserid": {
  17149. "description": "所属机构T",
  17150. "type": "integer"
  17151. },
  17152. "buyinqty": {
  17153. "description": "采购入库量",
  17154. "type": "number"
  17155. },
  17156. "cycletime": {
  17157. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17158. "type": "string"
  17159. },
  17160. "cycletype": {
  17161. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17162. "type": "integer"
  17163. },
  17164. "enumdicname": {
  17165. "description": "现货商品单位名称",
  17166. "type": "string"
  17167. },
  17168. "selloutqty": {
  17169. "description": "销售出库量",
  17170. "type": "number"
  17171. },
  17172. "todaybuyreckonqty": {
  17173. "description": "采购确定量",
  17174. "type": "number"
  17175. },
  17176. "todaysellreckonqty": {
  17177. "description": "销售确定量",
  17178. "type": "number"
  17179. },
  17180. "totalbuypricedqty": {
  17181. "description": "采购定价量 = 期末 - 期初",
  17182. "type": "number"
  17183. },
  17184. "totalsellpricedqty": {
  17185. "description": "销售定价量 = 期末 - 期初",
  17186. "type": "number"
  17187. },
  17188. "wrstandardcode": {
  17189. "description": "现货商品代码",
  17190. "type": "string"
  17191. },
  17192. "wrstandardid": {
  17193. "description": "现货商品ID",
  17194. "type": "integer"
  17195. },
  17196. "wrstandardname": {
  17197. "description": "现货商品名称",
  17198. "type": "string"
  17199. }
  17200. }
  17201. },
  17202. "models.ErmcpReportMonthFR": {
  17203. "type": "object",
  17204. "properties": {
  17205. "areauserid": {
  17206. "description": "所属机构【原值】",
  17207. "type": "integer"
  17208. },
  17209. "collectinvoiceamount": {
  17210. "description": "今日开票金额【汇总】",
  17211. "type": "number"
  17212. },
  17213. "collectinvoicecount": {
  17214. "description": "今日开票笔数【汇总】",
  17215. "type": "integer"
  17216. },
  17217. "collectmoneyamount": {
  17218. "description": "今日收款金额【汇总】",
  17219. "type": "number"
  17220. },
  17221. "collectmoneycount": {
  17222. "description": "今日收款笔数 【汇总】",
  17223. "type": "integer"
  17224. },
  17225. "cycletime": {
  17226. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17227. "type": "string"
  17228. },
  17229. "cycletype": {
  17230. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17231. "type": "integer"
  17232. },
  17233. "dayFr": {
  17234. "description": "日报表明细",
  17235. "type": "array",
  17236. "items": {
  17237. "$ref": "#/definitions/models.ErmcpReportDayFR"
  17238. }
  17239. },
  17240. "payinvoiceamount": {
  17241. "description": "今日收票金额【汇总】",
  17242. "type": "number"
  17243. },
  17244. "payinvoicecount": {
  17245. "description": "今日收票笔数【汇总】",
  17246. "type": "integer"
  17247. },
  17248. "paymoneyamount": {
  17249. "description": "今日付款金额【汇总】",
  17250. "type": "number"
  17251. },
  17252. "paymoneycount": {
  17253. "description": "今日付款笔数【汇总】",
  17254. "type": "integer"
  17255. },
  17256. "updatetime": {
  17257. "description": "更新时间",
  17258. "type": "string"
  17259. }
  17260. }
  17261. },
  17262. "models.ErmcpReportOPLog": {
  17263. "type": "object",
  17264. "properties": {
  17265. "applyid": {
  17266. "description": "操作人",
  17267. "type": "integer"
  17268. },
  17269. "applyname": {
  17270. "description": "操作人名称",
  17271. "type": "string"
  17272. },
  17273. "biztype": {
  17274. "description": "业务类型 - 1:套保计划 2:现货合同",
  17275. "type": "integer"
  17276. },
  17277. "brandname": {
  17278. "description": "品牌名称",
  17279. "type": "string"
  17280. },
  17281. "contracttype": {
  17282. "description": "现货合同类型 - 1:采购 -1:销售",
  17283. "type": "integer"
  17284. },
  17285. "enumdicName": {
  17286. "description": "单位名称",
  17287. "type": "string"
  17288. },
  17289. "logdatetime": {
  17290. "description": "流水日期(时间)",
  17291. "type": "string"
  17292. },
  17293. "logid": {
  17294. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  17295. "type": "string"
  17296. },
  17297. "logtypename": {
  17298. "description": "合同类型(名称)",
  17299. "type": "string"
  17300. },
  17301. "logvalue": {
  17302. "description": "数值",
  17303. "type": "string"
  17304. },
  17305. "modelname": {
  17306. "description": "型号名称",
  17307. "type": "string"
  17308. },
  17309. "operatelogtype": {
  17310. "description": "操作流水类型 -",
  17311. "type": "integer"
  17312. },
  17313. "optypename": {
  17314. "description": "流水类型名称",
  17315. "type": "string"
  17316. },
  17317. "relatedid": {
  17318. "description": "现货合同ID\\套保计划",
  17319. "type": "string"
  17320. },
  17321. "relatedno": {
  17322. "description": "合同编号",
  17323. "type": "string"
  17324. },
  17325. "tradedate": {
  17326. "description": "交易日(yyyyMMdd)",
  17327. "type": "string"
  17328. },
  17329. "userid": {
  17330. "description": "机构ID",
  17331. "type": "integer"
  17332. },
  17333. "wrstandardcode": {
  17334. "description": "现货商品代码",
  17335. "type": "string"
  17336. },
  17337. "wrstandardid": {
  17338. "description": "现货商品ID",
  17339. "type": "integer"
  17340. },
  17341. "wrstandardname": {
  17342. "description": "现货商品名称",
  17343. "type": "string"
  17344. }
  17345. }
  17346. },
  17347. "models.ErmcpRole": {
  17348. "type": "object",
  17349. "properties": {
  17350. "areauserid": {
  17351. "description": "所属机构",
  17352. "type": "integer"
  17353. },
  17354. "autoid": {
  17355. "description": "角色ID(自增ID)",
  17356. "type": "integer"
  17357. },
  17358. "modifierid": {
  17359. "description": "修改人(创建人)",
  17360. "type": "integer"
  17361. },
  17362. "modifiername": {
  17363. "description": "修改人名称",
  17364. "type": "string"
  17365. },
  17366. "modifytime": {
  17367. "description": "修改时间(创建时间)",
  17368. "type": "string"
  17369. },
  17370. "rolename": {
  17371. "description": "角色名称",
  17372. "type": "string"
  17373. },
  17374. "rolestatus": {
  17375. "description": "角色状态 - 1:启用 2:停用",
  17376. "type": "integer"
  17377. },
  17378. "roletype": {
  17379. "description": "角色类型 - 1- 管理端 2- 交易端",
  17380. "type": "integer"
  17381. }
  17382. }
  17383. },
  17384. "models.ErmcpRoleMenu": {
  17385. "type": "object",
  17386. "properties": {
  17387. "iconame": {
  17388. "description": "菜单图标",
  17389. "type": "string"
  17390. },
  17391. "menutype": {
  17392. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17393. "type": "integer"
  17394. },
  17395. "parentcode": {
  17396. "description": "上级资源代码",
  17397. "type": "string"
  17398. },
  17399. "remark": {
  17400. "description": "菜单备注",
  17401. "type": "string"
  17402. },
  17403. "resourcecode": {
  17404. "description": "菜单代码",
  17405. "type": "string"
  17406. },
  17407. "resourcelevel": {
  17408. "description": "级别",
  17409. "type": "integer"
  17410. },
  17411. "resourcename": {
  17412. "description": "菜单名称",
  17413. "type": "string"
  17414. },
  17415. "roleid": {
  17416. "description": "角色id",
  17417. "type": "integer"
  17418. },
  17419. "sort": {
  17420. "description": "排序",
  17421. "type": "integer"
  17422. },
  17423. "url": {
  17424. "description": "URL",
  17425. "type": "string"
  17426. },
  17427. "userid": {
  17428. "description": "用户id",
  17429. "type": "integer"
  17430. }
  17431. }
  17432. },
  17433. "models.ErmcpRoleMenuEx": {
  17434. "type": "object",
  17435. "properties": {
  17436. "menu": {
  17437. "description": "父级菜单",
  17438. "type": "object",
  17439. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17440. },
  17441. "subMenu": {
  17442. "description": "子级菜单",
  17443. "type": "array",
  17444. "items": {
  17445. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17446. }
  17447. }
  17448. }
  17449. },
  17450. "models.ErmcpSpotContractModel": {
  17451. "type": "object",
  17452. "properties": {
  17453. "amount": {
  17454. "description": "金额 [1:一口价、3:暂定价]",
  17455. "type": "number"
  17456. },
  17457. "attachment": {
  17458. "description": "附件",
  17459. "type": "string"
  17460. },
  17461. "auditremark": {
  17462. "description": "审核意见",
  17463. "type": "string"
  17464. },
  17465. "audittime": {
  17466. "description": "审核时间",
  17467. "type": "string"
  17468. },
  17469. "brandname": {
  17470. "description": "品牌名称",
  17471. "type": "string"
  17472. },
  17473. "buyuserid": {
  17474. "description": "采购方ID",
  17475. "type": "integer"
  17476. },
  17477. "buyusername": {
  17478. "description": "采购方名称",
  17479. "type": "string"
  17480. },
  17481. "contracctstatus": {
  17482. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17483. "type": "integer"
  17484. },
  17485. "contractmargin": {
  17486. "description": "合同保证金",
  17487. "type": "number"
  17488. },
  17489. "contractno": {
  17490. "description": "现货合同编号",
  17491. "type": "string"
  17492. },
  17493. "contracttype": {
  17494. "description": "现货合同类型 - 1:采购 -1:销售",
  17495. "type": "integer"
  17496. },
  17497. "convertfactor": {
  17498. "description": "标仓系数",
  17499. "type": "number"
  17500. },
  17501. "createtime": {
  17502. "description": "创建时间",
  17503. "type": "string"
  17504. },
  17505. "deliveryenddate": {
  17506. "description": "交收期(结束)",
  17507. "type": "string"
  17508. },
  17509. "deliverygoodscode": {
  17510. "description": "现货品种代码",
  17511. "type": "string"
  17512. },
  17513. "deliverygoodsid": {
  17514. "description": "现货品种ID",
  17515. "type": "integer"
  17516. },
  17517. "deliverygoodsname": {
  17518. "description": "现货品种名称",
  17519. "type": "string"
  17520. },
  17521. "deliverystartdate": {
  17522. "description": "交收期(开始)",
  17523. "type": "string"
  17524. },
  17525. "enddate": {
  17526. "description": "点价结束日期 [2:点价 3:暂定价]",
  17527. "type": "string"
  17528. },
  17529. "enumdicname": {
  17530. "description": "单位名称",
  17531. "type": "string"
  17532. },
  17533. "goodscode": {
  17534. "description": "点价合约代码",
  17535. "type": "string"
  17536. },
  17537. "goodsid": {
  17538. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17539. "type": "integer"
  17540. },
  17541. "goodsname": {
  17542. "description": "点价商品名称",
  17543. "type": "string"
  17544. },
  17545. "margin": {
  17546. "description": "当前保证金",
  17547. "type": "number"
  17548. },
  17549. "modelname": {
  17550. "description": "型号名称",
  17551. "type": "string"
  17552. },
  17553. "price": {
  17554. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17555. "type": "number"
  17556. },
  17557. "pricemove": {
  17558. "description": "升贴水 [2:点价 3:暂定价]",
  17559. "type": "number"
  17560. },
  17561. "pricetype": {
  17562. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17563. "type": "integer"
  17564. },
  17565. "producttype": {
  17566. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17567. "type": "integer"
  17568. },
  17569. "qty": {
  17570. "description": "数量",
  17571. "type": "number"
  17572. },
  17573. "remark": {
  17574. "description": "备注",
  17575. "type": "string"
  17576. },
  17577. "selluserid": {
  17578. "description": "销售方ID",
  17579. "type": "integer"
  17580. },
  17581. "sellusername": {
  17582. "description": "销售方名称",
  17583. "type": "string"
  17584. },
  17585. "spotcontractid": {
  17586. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17587. "type": "string"
  17588. },
  17589. "spotgoodsbrandid": {
  17590. "description": "现货品牌ID",
  17591. "type": "integer"
  17592. },
  17593. "spotgoodsdesc": {
  17594. "description": "商品型号",
  17595. "type": "string"
  17596. },
  17597. "spotgoodsmodelid": {
  17598. "description": "现货型号ID",
  17599. "type": "integer"
  17600. },
  17601. "startdate": {
  17602. "description": "点价开始日期 [2:点价 3:暂定价]",
  17603. "type": "string"
  17604. },
  17605. "updatetime": {
  17606. "description": "更新时间",
  17607. "type": "string"
  17608. },
  17609. "userid": {
  17610. "description": "机构ID",
  17611. "type": "integer"
  17612. },
  17613. "wrstandardcode": {
  17614. "description": "现货商品代码",
  17615. "type": "string"
  17616. },
  17617. "wrstandardid": {
  17618. "description": "现货商品ID",
  17619. "type": "integer"
  17620. },
  17621. "wrstandardname": {
  17622. "description": "现货商品名称",
  17623. "type": "string"
  17624. }
  17625. }
  17626. },
  17627. "models.ErmcpSpotGoodsPrice": {
  17628. "type": "object",
  17629. "properties": {
  17630. "areauserid": {
  17631. "description": "所属机构id",
  17632. "type": "integer"
  17633. },
  17634. "brandname": {
  17635. "description": "品牌名称",
  17636. "type": "string"
  17637. },
  17638. "currencyid": {
  17639. "description": "报价货币ID",
  17640. "type": "integer"
  17641. },
  17642. "enumdicname": {
  17643. "description": "现货商品单位名称",
  17644. "type": "string"
  17645. },
  17646. "gbenumdicname": {
  17647. "description": "品类单位名称",
  17648. "type": "string"
  17649. },
  17650. "gmunitid": {
  17651. "description": "品类单位id",
  17652. "type": "integer"
  17653. },
  17654. "isvalid": {
  17655. "description": "是否有效 - 0:无效 1:有效",
  17656. "type": "integer"
  17657. },
  17658. "modelname": {
  17659. "description": "品类名称",
  17660. "type": "string"
  17661. },
  17662. "operateid": {
  17663. "description": "最后操作人",
  17664. "type": "integer"
  17665. },
  17666. "operatesrc": {
  17667. "description": "最后操作来源 - 1:管理端 2:终端",
  17668. "type": "integer"
  17669. },
  17670. "operatetime": {
  17671. "description": "最后操作时间",
  17672. "type": "string"
  17673. },
  17674. "operatorname": {
  17675. "description": "操作人名称",
  17676. "type": "string"
  17677. },
  17678. "spotgoodsbrandid": {
  17679. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17680. "type": "integer"
  17681. },
  17682. "spotgoodsmodelid": {
  17683. "description": "现货品类ID(通用则为0)",
  17684. "type": "integer"
  17685. },
  17686. "spotgoodsprice": {
  17687. "description": "现货价格",
  17688. "type": "number"
  17689. },
  17690. "tradedate": {
  17691. "description": "交易日(yyyyMMdd)",
  17692. "type": "string"
  17693. },
  17694. "unitid": {
  17695. "description": "现货商品单位id",
  17696. "type": "integer"
  17697. },
  17698. "wrstandardcode": {
  17699. "description": "现货商品代码",
  17700. "type": "string"
  17701. },
  17702. "wrstandardid": {
  17703. "description": "现货商品ID",
  17704. "type": "integer"
  17705. },
  17706. "wrstandardname": {
  17707. "description": "现货商品名称",
  17708. "type": "string"
  17709. }
  17710. }
  17711. },
  17712. "models.ErmcpSpotGoodsPriceLog": {
  17713. "type": "object",
  17714. "properties": {
  17715. "areauserid": {
  17716. "description": "所属机构id",
  17717. "type": "integer"
  17718. },
  17719. "brandname": {
  17720. "description": "品牌名称",
  17721. "type": "string"
  17722. },
  17723. "currencyid": {
  17724. "description": "报价货币ID",
  17725. "type": "integer"
  17726. },
  17727. "enumdicname": {
  17728. "description": "现货商品单位名称",
  17729. "type": "string"
  17730. },
  17731. "gbenumdicname": {
  17732. "description": "品类单位名称",
  17733. "type": "string"
  17734. },
  17735. "gmunitid": {
  17736. "description": "品类单位id",
  17737. "type": "integer"
  17738. },
  17739. "logid": {
  17740. "description": "日志id",
  17741. "type": "integer"
  17742. },
  17743. "modelname": {
  17744. "description": "品类名称",
  17745. "type": "string"
  17746. },
  17747. "operateid": {
  17748. "description": "最后操作人",
  17749. "type": "integer"
  17750. },
  17751. "operatesrc": {
  17752. "description": "最后操作来源 - 1:管理端 2:终端",
  17753. "type": "integer"
  17754. },
  17755. "operatetime": {
  17756. "description": "最后操作时间",
  17757. "type": "string"
  17758. },
  17759. "operatorname": {
  17760. "description": "操作人名称",
  17761. "type": "string"
  17762. },
  17763. "spotgoodsbrandid": {
  17764. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17765. "type": "integer"
  17766. },
  17767. "spotgoodsmodelid": {
  17768. "description": "现货品类ID(通用则为0)",
  17769. "type": "integer"
  17770. },
  17771. "spotgoodsprice": {
  17772. "description": "现货价格",
  17773. "type": "number"
  17774. },
  17775. "tradedate": {
  17776. "description": "交易日(yyyyMMdd)",
  17777. "type": "string"
  17778. },
  17779. "unitid": {
  17780. "description": "现货商品单位id",
  17781. "type": "integer"
  17782. },
  17783. "wrstandardcode": {
  17784. "description": "现货商品代码",
  17785. "type": "string"
  17786. },
  17787. "wrstandardid": {
  17788. "description": "现货商品ID",
  17789. "type": "integer"
  17790. },
  17791. "wrstandardname": {
  17792. "description": "现货商品名称",
  17793. "type": "string"
  17794. }
  17795. }
  17796. },
  17797. "models.ErmcpTaAccount": {
  17798. "type": "object",
  17799. "properties": {
  17800. "accountid": {
  17801. "description": "账户id",
  17802. "type": "integer"
  17803. },
  17804. "accountname": {
  17805. "description": "账户名称",
  17806. "type": "string"
  17807. },
  17808. "currencyid": {
  17809. "description": "币种id",
  17810. "type": "integer"
  17811. },
  17812. "ismain": {
  17813. "description": "是否主账户 0-否 1-是",
  17814. "type": "integer"
  17815. },
  17816. "parentaccountid": {
  17817. "description": "父账户id",
  17818. "type": "integer"
  17819. },
  17820. "relateduserid": {
  17821. "description": "关联userid",
  17822. "type": "integer"
  17823. },
  17824. "tradestatus": {
  17825. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17826. "type": "integer"
  17827. }
  17828. }
  17829. },
  17830. "models.ErmcpTaAccountEx": {
  17831. "type": "object",
  17832. "properties": {
  17833. "mainAcc": {
  17834. "description": "主账号",
  17835. "type": "object",
  17836. "$ref": "#/definitions/models.ErmcpTaAccount"
  17837. },
  17838. "subacclist": {
  17839. "description": "子账号列表",
  17840. "type": "array",
  17841. "items": {
  17842. "$ref": "#/definitions/models.ErmcpTaAccount"
  17843. }
  17844. }
  17845. }
  17846. },
  17847. "models.ErmcpTaAccountInfo": {
  17848. "type": "object",
  17849. "properties": {
  17850. "accountid": {
  17851. "description": "资金账户ID",
  17852. "type": "integer"
  17853. },
  17854. "accountname": {
  17855. "description": "账户名称",
  17856. "type": "string"
  17857. },
  17858. "balance": {
  17859. "description": "期初余额",
  17860. "type": "number"
  17861. },
  17862. "capitalbalance": {
  17863. "description": "本金余额[外部子账户实际出入金余额]",
  17864. "type": "number"
  17865. },
  17866. "closepl": {
  17867. "description": "今日平仓盈亏",
  17868. "type": "number"
  17869. },
  17870. "creditdecrease": {
  17871. "description": "今日授信减少",
  17872. "type": "number"
  17873. },
  17874. "creditincrease": {
  17875. "description": "今日授信增加",
  17876. "type": "number"
  17877. },
  17878. "curdebt": {
  17879. "description": "期末欠款",
  17880. "type": "number"
  17881. },
  17882. "currencyid": {
  17883. "description": "货币ID",
  17884. "type": "integer"
  17885. },
  17886. "currentbalance": {
  17887. "description": "期末余额",
  17888. "type": "number"
  17889. },
  17890. "freezecharge": {
  17891. "description": "手续费冻结",
  17892. "type": "number"
  17893. },
  17894. "freezemargin": {
  17895. "description": "冻结保证金",
  17896. "type": "number"
  17897. },
  17898. "fromaccountid": {
  17899. "description": "所属上级账户",
  17900. "type": "integer"
  17901. },
  17902. "inamount": {
  17903. "description": "今日入金金额(包括三方入金)",
  17904. "type": "number"
  17905. },
  17906. "ismain": {
  17907. "description": "是否母账号 0:不是母账户 1:是母账户",
  17908. "type": "integer"
  17909. },
  17910. "mortgagecredit": {
  17911. "description": "授信金额",
  17912. "type": "number"
  17913. },
  17914. "oridebt": {
  17915. "description": "期初欠款",
  17916. "type": "number"
  17917. },
  17918. "orifreezecharge": {
  17919. "description": "期初手续费冻结",
  17920. "type": "number"
  17921. },
  17922. "orifreezemargin": {
  17923. "description": "期初冻结保证金",
  17924. "type": "number"
  17925. },
  17926. "orimortgagecredit": {
  17927. "description": "期初授信金额",
  17928. "type": "number"
  17929. },
  17930. "oriothercredit": {
  17931. "description": "期初其它授信金额",
  17932. "type": "number"
  17933. },
  17934. "oriotherfreezemargin": {
  17935. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17936. "type": "number"
  17937. },
  17938. "orioutamountfreeze": {
  17939. "description": "期初出金冻结",
  17940. "type": "number"
  17941. },
  17942. "oriusedmargin": {
  17943. "description": "期初占用保证金",
  17944. "type": "number"
  17945. },
  17946. "othercredit": {
  17947. "description": "其它授信金额",
  17948. "type": "number"
  17949. },
  17950. "othercreditdecrease": {
  17951. "description": "今日其它授信减少",
  17952. "type": "number"
  17953. },
  17954. "othercreditincrease": {
  17955. "description": "今日其它授信增加",
  17956. "type": "number"
  17957. },
  17958. "otherfreezemargin": {
  17959. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17960. "type": "number"
  17961. },
  17962. "outamount": {
  17963. "description": "今日出金金额(包括三方出金)",
  17964. "type": "number"
  17965. },
  17966. "outamountfreeze": {
  17967. "description": "出金冻结",
  17968. "type": "number"
  17969. },
  17970. "outthreshold": {
  17971. "description": "出金阈值",
  17972. "type": "number"
  17973. },
  17974. "parentaccountid": {
  17975. "description": "所属根账号",
  17976. "type": "integer"
  17977. },
  17978. "paycharge": {
  17979. "description": "今日手续费支出",
  17980. "type": "number"
  17981. },
  17982. "relateduserid": {
  17983. "description": "关联用户",
  17984. "type": "integer"
  17985. },
  17986. "signstatus": {
  17987. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17988. "type": "integer"
  17989. },
  17990. "sublevelpath": {
  17991. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17992. "type": "string"
  17993. },
  17994. "taaccounttype": {
  17995. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17996. "type": "integer"
  17997. },
  17998. "thirdinamount": {
  17999. "description": "今日三方入金",
  18000. "type": "number"
  18001. },
  18002. "thirdoutamount": {
  18003. "description": "今日三方出金",
  18004. "type": "number"
  18005. },
  18006. "tradestatus": {
  18007. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18008. "type": "integer"
  18009. },
  18010. "transferamount": {
  18011. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18012. "type": "number"
  18013. },
  18014. "usedmargin": {
  18015. "description": "占用保证金",
  18016. "type": "number"
  18017. },
  18018. "userid": {
  18019. "description": "用户ID",
  18020. "type": "integer"
  18021. }
  18022. }
  18023. },
  18024. "models.ErmcpTradeConfigTMP": {
  18025. "type": "object",
  18026. "properties": {
  18027. "areauserid": {
  18028. "description": "所属机构",
  18029. "type": "integer"
  18030. },
  18031. "basiccurrencyid": {
  18032. "description": "基本币种ID[汇率] - 目标币种",
  18033. "type": "integer"
  18034. },
  18035. "mainaccountid": {
  18036. "description": "主账户ID",
  18037. "type": "integer"
  18038. },
  18039. "modifierid": {
  18040. "description": "修改人",
  18041. "type": "integer"
  18042. },
  18043. "remark": {
  18044. "description": "备注",
  18045. "type": "string"
  18046. },
  18047. "tradeconfigtmpid": {
  18048. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18049. "type": "integer"
  18050. },
  18051. "tradeconfigtmpname": {
  18052. "description": "交易配置模板名称",
  18053. "type": "string"
  18054. },
  18055. "tradeconfigtmptype": {
  18056. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18057. "type": "integer"
  18058. },
  18059. "updatetime": {
  18060. "description": "更新时间",
  18061. "type": "string"
  18062. }
  18063. }
  18064. },
  18065. "models.ErmcpUserModel": {
  18066. "type": "object",
  18067. "properties": {
  18068. "address": {
  18069. "description": "通讯地址",
  18070. "type": "string"
  18071. },
  18072. "attachment1": {
  18073. "description": "附件1",
  18074. "type": "string"
  18075. },
  18076. "audittime": {
  18077. "description": "审核时间",
  18078. "type": "string"
  18079. },
  18080. "cardfrontphotourl": {
  18081. "description": "证件正面图片地址",
  18082. "type": "string"
  18083. },
  18084. "cardnum": {
  18085. "description": "证件号码",
  18086. "type": "string"
  18087. },
  18088. "cardtype": {
  18089. "description": "证件类型",
  18090. "type": "integer"
  18091. },
  18092. "cardtypename": {
  18093. "description": "证件类型名称",
  18094. "type": "string"
  18095. },
  18096. "cityid": {
  18097. "description": "市",
  18098. "type": "integer"
  18099. },
  18100. "contactname": {
  18101. "description": "联系人",
  18102. "type": "string"
  18103. },
  18104. "countryid": {
  18105. "description": "国家",
  18106. "type": "integer"
  18107. },
  18108. "createtime": {
  18109. "description": "创建时间",
  18110. "type": "string"
  18111. },
  18112. "customername": {
  18113. "description": "企业名称",
  18114. "type": "string"
  18115. },
  18116. "districtid": {
  18117. "description": "区域",
  18118. "type": "integer"
  18119. },
  18120. "legalpersonname": {
  18121. "description": "法人姓名(企业)",
  18122. "type": "string"
  18123. },
  18124. "memberuserid": {
  18125. "description": "所属机构ID",
  18126. "type": "integer"
  18127. },
  18128. "mobile": {
  18129. "description": "手机号码",
  18130. "type": "string"
  18131. },
  18132. "modifytime": {
  18133. "description": "修改时间",
  18134. "type": "string"
  18135. },
  18136. "nickname": {
  18137. "description": "昵称",
  18138. "type": "string"
  18139. },
  18140. "provinceid": {
  18141. "description": "省",
  18142. "type": "integer"
  18143. },
  18144. "remark": {
  18145. "description": "备注",
  18146. "type": "string"
  18147. },
  18148. "status": {
  18149. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18150. "type": "integer"
  18151. },
  18152. "statusdesc": {
  18153. "description": "账户状态中文描述",
  18154. "type": "string"
  18155. },
  18156. "taxpayernum": {
  18157. "description": "纳税人识别号",
  18158. "type": "string"
  18159. },
  18160. "telphone": {
  18161. "description": "联系电话",
  18162. "type": "string"
  18163. },
  18164. "userid": {
  18165. "description": "用户ID",
  18166. "type": "integer"
  18167. },
  18168. "userinfotype": {
  18169. "description": "客户类型",
  18170. "type": "string"
  18171. }
  18172. }
  18173. },
  18174. "models.ErmcpWareHouseInfo": {
  18175. "type": "object",
  18176. "properties": {
  18177. "address": {
  18178. "description": "详细地址",
  18179. "type": "string"
  18180. },
  18181. "areauserid": {
  18182. "description": "所属机构",
  18183. "type": "integer"
  18184. },
  18185. "autoid": {
  18186. "description": "自增ID(仓库ID)",
  18187. "type": "integer"
  18188. },
  18189. "cityid": {
  18190. "description": "市",
  18191. "type": "integer"
  18192. },
  18193. "contactname": {
  18194. "description": "联系人",
  18195. "type": "string"
  18196. },
  18197. "contactnum": {
  18198. "description": "联系电话",
  18199. "type": "string"
  18200. },
  18201. "countryid": {
  18202. "description": "国家",
  18203. "type": "integer"
  18204. },
  18205. "createtime": {
  18206. "description": "创建时间",
  18207. "type": "string"
  18208. },
  18209. "districtid": {
  18210. "description": "区",
  18211. "type": "integer"
  18212. },
  18213. "hasvideo": {
  18214. "description": "是否有视频 - 0:无 1:有",
  18215. "type": "integer"
  18216. },
  18217. "provinceid": {
  18218. "description": "省",
  18219. "type": "integer"
  18220. },
  18221. "remark": {
  18222. "description": "审核备注",
  18223. "type": "string"
  18224. },
  18225. "videourl": {
  18226. "description": "视频地址",
  18227. "type": "string"
  18228. },
  18229. "warehousecode": {
  18230. "description": "仓库代码",
  18231. "type": "string"
  18232. },
  18233. "warehousename": {
  18234. "description": "仓库名称",
  18235. "type": "string"
  18236. },
  18237. "warehousestatus": {
  18238. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18239. "type": "integer"
  18240. },
  18241. "warehousetype": {
  18242. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18243. "type": "integer"
  18244. }
  18245. }
  18246. },
  18247. "models.ErmcpWrstandDetail": {
  18248. "type": "object",
  18249. "properties": {
  18250. "gbList": {
  18251. "description": "品牌列表",
  18252. "type": "array",
  18253. "items": {
  18254. "$ref": "#/definitions/models.GoodsBrand"
  18255. }
  18256. },
  18257. "goodsList": {
  18258. "description": "关联交易商品列表",
  18259. "type": "array",
  18260. "items": {
  18261. "$ref": "#/definitions/models.RelatedGoodsEx"
  18262. }
  18263. },
  18264. "gtList": {
  18265. "description": "型号列表",
  18266. "type": "array",
  18267. "items": {
  18268. "$ref": "#/definitions/models.GoodsTypeModel"
  18269. }
  18270. },
  18271. "wrd": {
  18272. "description": "基本信息",
  18273. "type": "object",
  18274. "$ref": "#/definitions/models.ErmcpWrstandard"
  18275. },
  18276. "wrsList": {
  18277. "description": "套保信息列表",
  18278. "type": "array",
  18279. "items": {
  18280. "$ref": "#/definitions/models.WRSConverTDetail"
  18281. }
  18282. }
  18283. }
  18284. },
  18285. "models.ErmcpWrstandard": {
  18286. "type": "object",
  18287. "properties": {
  18288. "areauserid": {
  18289. "description": "所属机构",
  18290. "type": "integer"
  18291. },
  18292. "createtime": {
  18293. "description": "创建时间",
  18294. "type": "string"
  18295. },
  18296. "creatorid": {
  18297. "description": "创建人",
  18298. "type": "integer"
  18299. },
  18300. "deliverygoodsid": {
  18301. "description": "品种ID",
  18302. "type": "integer"
  18303. },
  18304. "enumdicname": {
  18305. "description": "单位名称",
  18306. "type": "string"
  18307. },
  18308. "isvalid": {
  18309. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18310. "type": "integer"
  18311. },
  18312. "minivalue": {
  18313. "description": "最小变动值",
  18314. "type": "integer"
  18315. },
  18316. "minivaluedp": {
  18317. "description": "最小变动值小数位",
  18318. "type": "integer"
  18319. },
  18320. "realminivalue": {
  18321. "description": "实际最小变动值",
  18322. "type": "integer"
  18323. },
  18324. "realminivaluedp": {
  18325. "description": "实际最小变动值小数位",
  18326. "type": "integer"
  18327. },
  18328. "remark": {
  18329. "description": "备注",
  18330. "type": "string"
  18331. },
  18332. "unitid": {
  18333. "description": "单位ID",
  18334. "type": "integer"
  18335. },
  18336. "updatetime": {
  18337. "description": "更新时间",
  18338. "type": "string"
  18339. },
  18340. "wrstandardcode": {
  18341. "description": "现货商品代码",
  18342. "type": "string"
  18343. },
  18344. "wrstandardid": {
  18345. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18346. "type": "integer"
  18347. },
  18348. "wrstandardname": {
  18349. "description": "现货商品名称",
  18350. "type": "string"
  18351. }
  18352. }
  18353. },
  18354. "models.Externalexchange": {
  18355. "type": "object",
  18356. "required": [
  18357. "autoid"
  18358. ],
  18359. "properties": {
  18360. "autoid": {
  18361. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18362. "type": "integer"
  18363. },
  18364. "exchangefullname": {
  18365. "description": "外部交易所全称",
  18366. "type": "string"
  18367. },
  18368. "exexchangecode": {
  18369. "description": "外部交易所代码",
  18370. "type": "string"
  18371. },
  18372. "exexchangename": {
  18373. "description": "外部交易所名称(简称)",
  18374. "type": "string"
  18375. },
  18376. "ismarketprice": {
  18377. "description": "是否支持市价 - 0:不支持 1:支持",
  18378. "type": "integer"
  18379. },
  18380. "quotegear": {
  18381. "description": "行情档位(1-10)",
  18382. "type": "integer"
  18383. },
  18384. "showbrokerflag": {
  18385. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18386. "type": "integer"
  18387. },
  18388. "updatetime": {
  18389. "description": "更新时间",
  18390. "type": "string"
  18391. }
  18392. }
  18393. },
  18394. "models.Funcmenulist": {
  18395. "type": "object",
  18396. "required": [
  18397. "resourcecode"
  18398. ],
  18399. "properties": {
  18400. "iconame": {
  18401. "description": "菜单图标",
  18402. "type": "string"
  18403. },
  18404. "menutype": {
  18405. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18406. "type": "integer"
  18407. },
  18408. "parentcode": {
  18409. "description": "上级资源代码",
  18410. "type": "string"
  18411. },
  18412. "remark": {
  18413. "description": "备注",
  18414. "type": "string"
  18415. },
  18416. "resourcecode": {
  18417. "description": "资源代码",
  18418. "type": "string"
  18419. },
  18420. "resourcelevel": {
  18421. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18422. "type": "integer"
  18423. },
  18424. "resourcename": {
  18425. "description": "资源名",
  18426. "type": "string"
  18427. },
  18428. "sort": {
  18429. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18430. "type": "integer"
  18431. },
  18432. "url": {
  18433. "description": "URL",
  18434. "type": "string"
  18435. }
  18436. }
  18437. },
  18438. "models.Goods": {
  18439. "type": "object",
  18440. "required": [
  18441. "goodscode",
  18442. "goodsid",
  18443. "goodsname",
  18444. "marketid"
  18445. ],
  18446. "properties": {
  18447. "agreeunit": {
  18448. "description": "合约单位",
  18449. "type": "number"
  18450. },
  18451. "auditaccountid": {
  18452. "description": "审核操作员账号",
  18453. "type": "integer"
  18454. },
  18455. "audittime": {
  18456. "description": "审核时间",
  18457. "type": "string"
  18458. },
  18459. "cancelaccountid": {
  18460. "description": "注销操作员账号",
  18461. "type": "integer"
  18462. },
  18463. "canceltime": {
  18464. "description": "注销时间",
  18465. "type": "string"
  18466. },
  18467. "closepricemode": {
  18468. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18469. "type": "integer"
  18470. },
  18471. "closepriceparam": {
  18472. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18473. "type": "number"
  18474. },
  18475. "createtime": {
  18476. "description": "创建时间",
  18477. "type": "string"
  18478. },
  18479. "creatorid": {
  18480. "description": "创建人",
  18481. "type": "integer"
  18482. },
  18483. "currencyid": {
  18484. "description": "报价货币ID",
  18485. "type": "integer"
  18486. },
  18487. "cutmode": {
  18488. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18489. "type": "integer"
  18490. },
  18491. "decimalplace": {
  18492. "description": "报价小数位",
  18493. "type": "integer"
  18494. },
  18495. "delistingdate": {
  18496. "description": "商品退市时间(状态:退市) -- 已作废",
  18497. "type": "string"
  18498. },
  18499. "delistingmode": {
  18500. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18501. "type": "integer"
  18502. },
  18503. "deliveryflag": {
  18504. "description": "交割标志 - 0:不可交割 1:可交割",
  18505. "type": "integer"
  18506. },
  18507. "forceclosemode": {
  18508. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18509. "type": "integer"
  18510. },
  18511. "forceclosevalue": {
  18512. "description": "定期强平参数 [收益权]",
  18513. "type": "integer"
  18514. },
  18515. "goodscode": {
  18516. "description": "商品代码(内部)",
  18517. "type": "string"
  18518. },
  18519. "goodscurrencyid": {
  18520. "description": "合约货币ID",
  18521. "type": "integer"
  18522. },
  18523. "goodsgroupid": {
  18524. "description": "所属商品组ID",
  18525. "type": "integer"
  18526. },
  18527. "goodsid": {
  18528. "description": "商品ID(自增ID SEQ_GOODS)",
  18529. "type": "integer"
  18530. },
  18531. "goodsname": {
  18532. "description": "商品名称",
  18533. "type": "string"
  18534. },
  18535. "goodsquotetype": {
  18536. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18537. "type": "integer"
  18538. },
  18539. "goodsstatus": {
  18540. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18541. "type": "integer"
  18542. },
  18543. "goodstradetype": {
  18544. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18545. "type": "integer"
  18546. },
  18547. "goodunitid": {
  18548. "description": "报价单位ID",
  18549. "type": "integer"
  18550. },
  18551. "hasquoter": {
  18552. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18553. "type": "integer"
  18554. },
  18555. "hqprotecttime": {
  18556. "description": "行情保护时间(秒)",
  18557. "type": "integer"
  18558. },
  18559. "innerdealmode": {
  18560. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18561. "type": "integer"
  18562. },
  18563. "isbuylimited": {
  18564. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18565. "type": "integer"
  18566. },
  18567. "lasttradedate": {
  18568. "description": "最后交易日期(状态:待退市)",
  18569. "type": "string"
  18570. },
  18571. "listingdate": {
  18572. "description": "交易开始日期",
  18573. "type": "string"
  18574. },
  18575. "marketid": {
  18576. "description": "所属市场ID",
  18577. "type": "integer"
  18578. },
  18579. "modifierid": {
  18580. "description": "修改人",
  18581. "type": "integer"
  18582. },
  18583. "modifystatus": {
  18584. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18585. "type": "integer"
  18586. },
  18587. "modifytime": {
  18588. "description": "修改时间",
  18589. "type": "string"
  18590. },
  18591. "outerdealmode": {
  18592. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18593. "type": "integer"
  18594. },
  18595. "outgoodscode": {
  18596. "description": "商品代码(外部)",
  18597. "type": "string"
  18598. },
  18599. "qtydecimalplace": {
  18600. "description": "成交量小数位",
  18601. "type": "integer"
  18602. },
  18603. "quotegear": {
  18604. "description": "行情档位(1-10)",
  18605. "type": "integer"
  18606. },
  18607. "quoteminunit": {
  18608. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18609. "type": "integer"
  18610. },
  18611. "quoteshowtype": {
  18612. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18613. "type": "integer"
  18614. },
  18615. "quoteshowtypeinterval": {
  18616. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18617. "type": "integer"
  18618. },
  18619. "remark": {
  18620. "description": "备注",
  18621. "type": "string"
  18622. }
  18623. }
  18624. },
  18625. "models.GoodsBrand": {
  18626. "type": "object",
  18627. "properties": {
  18628. "brandid": {
  18629. "description": "品牌ID",
  18630. "type": "integer"
  18631. },
  18632. "brandname": {
  18633. "description": "品牌名称",
  18634. "type": "string"
  18635. },
  18636. "isvalid": {
  18637. "description": "是否有效 - 0:无效 1:有效",
  18638. "type": "integer"
  18639. }
  18640. }
  18641. },
  18642. "models.GoodsIDAndName": {
  18643. "type": "object",
  18644. "required": [
  18645. "goodscode",
  18646. "goodsid",
  18647. "goodsname",
  18648. "marketid"
  18649. ],
  18650. "properties": {
  18651. "goodscode": {
  18652. "description": "商品代码(内部)",
  18653. "type": "string"
  18654. },
  18655. "goodsid": {
  18656. "description": "商品ID(自增ID SEQ_GOODS)",
  18657. "type": "integer"
  18658. },
  18659. "goodsname": {
  18660. "description": "商品名称",
  18661. "type": "string"
  18662. },
  18663. "marketid": {
  18664. "description": "所属市场ID",
  18665. "type": "integer"
  18666. }
  18667. }
  18668. },
  18669. "models.GoodsTypeModel": {
  18670. "type": "object",
  18671. "properties": {
  18672. "convertfactor": {
  18673. "description": "标仓系数",
  18674. "type": "number"
  18675. },
  18676. "modelid": {
  18677. "description": "型号ID",
  18678. "type": "integer"
  18679. },
  18680. "modelname": {
  18681. "description": "型号名称",
  18682. "type": "string"
  18683. },
  18684. "updatetime": {
  18685. "description": "更新时间",
  18686. "type": "string"
  18687. }
  18688. }
  18689. },
  18690. "models.Goodsgroup": {
  18691. "type": "object",
  18692. "required": [
  18693. "goodsgroupid",
  18694. "goodsgroupname",
  18695. "goodsgroupstatus",
  18696. "marketid"
  18697. ],
  18698. "properties": {
  18699. "agreeunit": {
  18700. "description": "合约单位",
  18701. "type": "number"
  18702. },
  18703. "canshort": {
  18704. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18705. "type": "integer"
  18706. },
  18707. "closepricemode": {
  18708. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18709. "type": "integer"
  18710. },
  18711. "closepriceparam": {
  18712. "description": "强平最新价浮动比例 - 方式为2时使用",
  18713. "type": "number"
  18714. },
  18715. "createtime": {
  18716. "description": "创建时间",
  18717. "type": "string"
  18718. },
  18719. "creatorid": {
  18720. "description": "创建人",
  18721. "type": "integer"
  18722. },
  18723. "currencyid": {
  18724. "description": "报价货币ID",
  18725. "type": "integer"
  18726. },
  18727. "decimalplace": {
  18728. "description": "报价小数位",
  18729. "type": "integer"
  18730. },
  18731. "exercisetype": {
  18732. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18733. "type": "integer"
  18734. },
  18735. "exexchangeid": {
  18736. "description": "外部交易所ID[通道交易]",
  18737. "type": "integer"
  18738. },
  18739. "goodsgroupid": {
  18740. "description": "商品组ID(自增ID)",
  18741. "type": "integer"
  18742. },
  18743. "goodsgroupname": {
  18744. "description": "商品组名称",
  18745. "type": "string"
  18746. },
  18747. "goodsgroupstatus": {
  18748. "description": "商品组状态 - 1:正常 2:注销",
  18749. "type": "integer"
  18750. },
  18751. "goodunitid": {
  18752. "description": "报价单位ID",
  18753. "type": "integer"
  18754. },
  18755. "innerdealmode": {
  18756. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18757. "type": "integer"
  18758. },
  18759. "isbuylimited": {
  18760. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18761. "type": "integer"
  18762. },
  18763. "marketid": {
  18764. "description": "所属市场ID",
  18765. "type": "integer"
  18766. },
  18767. "modifierid": {
  18768. "description": "修改人",
  18769. "type": "integer"
  18770. },
  18771. "modifytime": {
  18772. "description": "修改时间",
  18773. "type": "string"
  18774. },
  18775. "outerdealmode": {
  18776. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18777. "type": "integer"
  18778. },
  18779. "outergroupcode": {
  18780. "description": "外部商品组代码[通道交易]",
  18781. "type": "string"
  18782. },
  18783. "premiumdecimalplace": {
  18784. "description": "权利金小数位[场外期权]",
  18785. "type": "integer"
  18786. },
  18787. "premiumspreadalgorithm": {
  18788. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18789. "type": "integer"
  18790. },
  18791. "premiumspreadvalue": {
  18792. "description": "权利金点差值[场外期权]",
  18793. "type": "number"
  18794. },
  18795. "qtydecimalplace": {
  18796. "description": "成交量小数位",
  18797. "type": "integer"
  18798. },
  18799. "quotegear": {
  18800. "description": "行情档位(1-10)",
  18801. "type": "integer"
  18802. },
  18803. "quoteminunit": {
  18804. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18805. "type": "integer"
  18806. },
  18807. "quoterid": {
  18808. "description": "报价商ID[场外期权]",
  18809. "type": "integer"
  18810. },
  18811. "quotesourcegroupid": {
  18812. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18813. "type": "integer"
  18814. },
  18815. "syncgoodsqty": {
  18816. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18817. "type": "integer"
  18818. }
  18819. }
  18820. },
  18821. "models.Goodssortbypreposition": {
  18822. "type": "object",
  18823. "required": [
  18824. "goodscode",
  18825. "tradedate"
  18826. ],
  18827. "properties": {
  18828. "goodscode": {
  18829. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18830. "type": "string"
  18831. },
  18832. "goodsgroupcode": {
  18833. "description": "品种代码",
  18834. "type": "string"
  18835. },
  18836. "prepositionqty": {
  18837. "description": "昨持仓量",
  18838. "type": "integer"
  18839. },
  18840. "sortindex": {
  18841. "description": "排序",
  18842. "type": "integer"
  18843. },
  18844. "tradedate": {
  18845. "description": "交易日",
  18846. "type": "string"
  18847. },
  18848. "updatetime": {
  18849. "description": "更新时间",
  18850. "type": "string"
  18851. }
  18852. }
  18853. },
  18854. "models.Hedgeinnerholderdetail": {
  18855. "type": "object",
  18856. "required": [
  18857. "buyorsell",
  18858. "tradeid"
  18859. ],
  18860. "properties": {
  18861. "accountid": {
  18862. "description": "账号ID",
  18863. "type": "integer"
  18864. },
  18865. "buyorsell": {
  18866. "description": "方向 - 0:买 1:卖",
  18867. "type": "integer"
  18868. },
  18869. "freezeqty": {
  18870. "description": "冻结数量 - 按单平使用",
  18871. "type": "integer"
  18872. },
  18873. "goodsid": {
  18874. "description": "商品ID",
  18875. "type": "integer"
  18876. },
  18877. "holderamount": {
  18878. "description": "持仓金额 [商品币种]",
  18879. "type": "number"
  18880. },
  18881. "holderdays": {
  18882. "description": "剩余冻结天数",
  18883. "type": "integer"
  18884. },
  18885. "holderprice": {
  18886. "description": "持仓价格",
  18887. "type": "number"
  18888. },
  18889. "holderqty": {
  18890. "description": "持仓数量",
  18891. "type": "integer"
  18892. },
  18893. "marketid": {
  18894. "description": "市场ID",
  18895. "type": "integer"
  18896. },
  18897. "openprice": {
  18898. "description": "建仓价格",
  18899. "type": "number"
  18900. },
  18901. "openqty": {
  18902. "description": "建仓数量",
  18903. "type": "integer"
  18904. },
  18905. "parentaccountid": {
  18906. "description": "所属母账户",
  18907. "type": "integer"
  18908. },
  18909. "releaseamount": {
  18910. "description": "释放持仓金额[商品币种]",
  18911. "type": "number"
  18912. },
  18913. "tradeamount": {
  18914. "description": "成交金额[账户]",
  18915. "type": "number"
  18916. },
  18917. "tradedate": {
  18918. "description": "交易日(yyyyMMdd)",
  18919. "type": "string"
  18920. },
  18921. "tradeid": {
  18922. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18923. "type": "string"
  18924. },
  18925. "tradetime": {
  18926. "description": "交易时间",
  18927. "type": "string"
  18928. }
  18929. }
  18930. },
  18931. "models.Hedgeoutmainconfig": {
  18932. "type": "object",
  18933. "required": [
  18934. "accountid"
  18935. ],
  18936. "properties": {
  18937. "accountcurrecnygroup": {
  18938. "description": "资金账户币种组 [易盛]",
  18939. "type": "string"
  18940. },
  18941. "accountcurrency": {
  18942. "description": "资金账户基币 [易盛]",
  18943. "type": "string"
  18944. },
  18945. "accountid": {
  18946. "description": "资金账号ID(母账号)",
  18947. "type": "integer"
  18948. },
  18949. "appid": {
  18950. "description": "AppID",
  18951. "type": "string"
  18952. },
  18953. "authcode": {
  18954. "description": "授权码[易盛]",
  18955. "type": "string"
  18956. },
  18957. "brokerid": {
  18958. "description": "经纪公司代码",
  18959. "type": "string"
  18960. },
  18961. "channeladdress": {
  18962. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18963. "type": "string"
  18964. },
  18965. "channelid": {
  18966. "description": "对冲渠道ID",
  18967. "type": "integer"
  18968. },
  18969. "connectflag": {
  18970. "description": "是否联接外部交易 - 0:不连接 1:连接",
  18971. "type": "integer"
  18972. },
  18973. "exchangeratecurrencygroup": {
  18974. "description": "汇率币种组 [易盛]",
  18975. "type": "string"
  18976. },
  18977. "fcid": {
  18978. "description": "期货公司ID",
  18979. "type": "integer"
  18980. },
  18981. "fcname": {
  18982. "description": "期货公司名称",
  18983. "type": "string"
  18984. },
  18985. "hedgeaccountcode": {
  18986. "description": "对冲账号ID",
  18987. "type": "string"
  18988. },
  18989. "hedgeaccountpwd": {
  18990. "description": "对冲账号密码",
  18991. "type": "string"
  18992. },
  18993. "hedgeaccounttype": {
  18994. "description": "母账号类型 - 1-交易下单 2-跟单",
  18995. "type": "integer"
  18996. },
  18997. "limitnumber": {
  18998. "description": "挂单笔数限额",
  18999. "type": "integer"
  19000. },
  19001. "marketid": {
  19002. "description": "内部市场ID(母账号的操作",
  19003. "type": "integer"
  19004. },
  19005. "status": {
  19006. "description": "渠道账号状态 1-可买入可卖出 2-可卖出不可买入",
  19007. "type": "integer"
  19008. },
  19009. "userproductinfo": {
  19010. "description": "客户端产品信息",
  19011. "type": "string"
  19012. }
  19013. }
  19014. },
  19015. "models.HsbyBuyMyPayOrder": {
  19016. "type": "object",
  19017. "required": [
  19018. "goodscode",
  19019. "goodsname",
  19020. "tradeid",
  19021. "trademode"
  19022. ],
  19023. "properties": {
  19024. "agreeunit": {
  19025. "description": "合约单位",
  19026. "type": "number"
  19027. },
  19028. "buyaccountid": {
  19029. "description": "买方账号ID[报价币种]",
  19030. "type": "integer"
  19031. },
  19032. "buyorderid": {
  19033. "description": "买方委托单号",
  19034. "type": "string"
  19035. },
  19036. "createtime": {
  19037. "description": "创建时间",
  19038. "type": "string"
  19039. },
  19040. "currencysign": {
  19041. "description": "货币符号",
  19042. "type": "string"
  19043. },
  19044. "decimalplace": {
  19045. "description": "报价小数位",
  19046. "type": "integer"
  19047. },
  19048. "goodscode": {
  19049. "description": "商品代码(内部)",
  19050. "type": "string"
  19051. },
  19052. "goodsid": {
  19053. "description": "商品ID",
  19054. "type": "integer"
  19055. },
  19056. "goodsname": {
  19057. "description": "商品名称",
  19058. "type": "string"
  19059. },
  19060. "marketid": {
  19061. "description": "市场ID",
  19062. "type": "integer"
  19063. },
  19064. "offamount": {
  19065. "description": "优惠金额",
  19066. "type": "number"
  19067. },
  19068. "originalamount": {
  19069. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19070. "type": "number"
  19071. },
  19072. "payamount": {
  19073. "description": "支付金额 = TradeAmount + TradeCharge",
  19074. "type": "number"
  19075. },
  19076. "payflag": {
  19077. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19078. "type": "integer"
  19079. },
  19080. "paylimitedtime": {
  19081. "description": "支付期限",
  19082. "type": "string"
  19083. },
  19084. "paytime": {
  19085. "description": "付款时间",
  19086. "type": "string"
  19087. },
  19088. "picurls1": {
  19089. "description": "预售商品介绍图片[多张用逗号分隔]",
  19090. "type": "string"
  19091. },
  19092. "picurls2": {
  19093. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19094. "type": "string"
  19095. },
  19096. "sellaccountid": {
  19097. "description": "卖方账号ID[报价币种]",
  19098. "type": "integer"
  19099. },
  19100. "sellorderid": {
  19101. "description": "卖方委托单号",
  19102. "type": "string"
  19103. },
  19104. "tradeamount": {
  19105. "description": "成交金额",
  19106. "type": "number"
  19107. },
  19108. "tradecharge": {
  19109. "description": "成交手续费(买方)",
  19110. "type": "number"
  19111. },
  19112. "tradedate": {
  19113. "description": "交易日(yyyyMMdd)",
  19114. "type": "string"
  19115. },
  19116. "tradeid": {
  19117. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19118. "type": "string"
  19119. },
  19120. "trademode": {
  19121. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19122. "type": "integer"
  19123. },
  19124. "tradeprice": {
  19125. "description": "成交价格",
  19126. "type": "number"
  19127. },
  19128. "tradeqty": {
  19129. "description": "成交数量",
  19130. "type": "integer"
  19131. },
  19132. "vendorname1": {
  19133. "description": "预售商品供应商名称",
  19134. "type": "string"
  19135. },
  19136. "vendorname2": {
  19137. "description": "挂牌商品供应商名称",
  19138. "type": "string"
  19139. }
  19140. }
  19141. },
  19142. "models.HsbyBuyMyTradeDetail": {
  19143. "type": "object",
  19144. "required": [
  19145. "accountid",
  19146. "buyorsell",
  19147. "goodscode",
  19148. "goodsid",
  19149. "goodsname",
  19150. "marketid",
  19151. "orderid",
  19152. "qty",
  19153. "time",
  19154. "trademode"
  19155. ],
  19156. "properties": {
  19157. "accountid": {
  19158. "description": "账户ID[报价币种]",
  19159. "type": "integer"
  19160. },
  19161. "agreeunit": {
  19162. "description": "合约单位",
  19163. "type": "number"
  19164. },
  19165. "amount": {
  19166. "description": "金额 = 价格 * 数量 * 合约单位",
  19167. "type": "number"
  19168. },
  19169. "buyorsell": {
  19170. "description": "买卖 - 0:买 1:卖",
  19171. "type": "integer"
  19172. },
  19173. "currencysign": {
  19174. "description": "货币符号",
  19175. "type": "string"
  19176. },
  19177. "decimalplace": {
  19178. "description": "报价小数位",
  19179. "type": "integer"
  19180. },
  19181. "goodscode": {
  19182. "description": "商品代码(内部)",
  19183. "type": "string"
  19184. },
  19185. "goodsid": {
  19186. "description": "商品ID",
  19187. "type": "integer"
  19188. },
  19189. "goodsname": {
  19190. "description": "商品名称",
  19191. "type": "string"
  19192. },
  19193. "marketid": {
  19194. "description": "市场ID",
  19195. "type": "integer"
  19196. },
  19197. "orderamount": {
  19198. "description": "委托金额",
  19199. "type": "number"
  19200. },
  19201. "orderid": {
  19202. "description": "单号(成交单号)",
  19203. "type": "string"
  19204. },
  19205. "picurls1": {
  19206. "description": "预售商品介绍图片[多张用逗号分隔]",
  19207. "type": "string"
  19208. },
  19209. "picurls2": {
  19210. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19211. "type": "string"
  19212. },
  19213. "price": {
  19214. "description": "价格",
  19215. "type": "number"
  19216. },
  19217. "qty": {
  19218. "description": "数量",
  19219. "type": "integer"
  19220. },
  19221. "time": {
  19222. "description": "时间",
  19223. "type": "string"
  19224. },
  19225. "trademode": {
  19226. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19227. "type": "integer"
  19228. },
  19229. "vendorname1": {
  19230. "description": "预售商品供应商名称",
  19231. "type": "string"
  19232. },
  19233. "vendorname2": {
  19234. "description": "挂牌商品供应商名称",
  19235. "type": "string"
  19236. }
  19237. }
  19238. },
  19239. "models.HsbyGoodsOrderDetail": {
  19240. "type": "object",
  19241. "required": [
  19242. "buyorsell",
  19243. "orderid",
  19244. "ordertime"
  19245. ],
  19246. "properties": {
  19247. "buyorsell": {
  19248. "description": "买卖 - 0:买 1:卖",
  19249. "type": "integer"
  19250. },
  19251. "currencysign": {
  19252. "description": "货币符号",
  19253. "type": "string"
  19254. },
  19255. "customername": {
  19256. "description": "客户名称(企业名称),已脱敏",
  19257. "type": "string"
  19258. },
  19259. "enableqty": {
  19260. "description": "可用数量",
  19261. "type": "integer"
  19262. },
  19263. "goodunit": {
  19264. "description": "报价单位",
  19265. "type": "string"
  19266. },
  19267. "orderid": {
  19268. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19269. "type": "string"
  19270. },
  19271. "orderprice": {
  19272. "description": "委托价格",
  19273. "type": "number"
  19274. },
  19275. "ordertime": {
  19276. "description": "委托时间",
  19277. "type": "string"
  19278. }
  19279. }
  19280. },
  19281. "models.HsbyListingGoodsDetail": {
  19282. "type": "object",
  19283. "required": [
  19284. "goodscode",
  19285. "goodsid",
  19286. "goodsname",
  19287. "marketid",
  19288. "trademode"
  19289. ],
  19290. "properties": {
  19291. "agreeunit": {
  19292. "description": "合约单位",
  19293. "type": "number"
  19294. },
  19295. "buymaxqty": {
  19296. "description": "购买上限 [71] - 0为不限",
  19297. "type": "integer"
  19298. },
  19299. "currency": {
  19300. "description": "货币",
  19301. "type": "string"
  19302. },
  19303. "currencysign": {
  19304. "description": "货币符号",
  19305. "type": "string"
  19306. },
  19307. "decimalplace": {
  19308. "description": "报价小数位",
  19309. "type": "integer"
  19310. },
  19311. "desccityid": {
  19312. "description": "目的地(市)ID",
  19313. "type": "integer"
  19314. },
  19315. "descprovinceid": {
  19316. "description": "目的地(省)ID",
  19317. "type": "integer"
  19318. },
  19319. "goodscode": {
  19320. "description": "商品代码(内部)",
  19321. "type": "string"
  19322. },
  19323. "goodsdesc": {
  19324. "description": "商品详情",
  19325. "type": "string"
  19326. },
  19327. "goodsid": {
  19328. "description": "商品ID(自增ID SEQ_GOODS)",
  19329. "type": "integer"
  19330. },
  19331. "goodsname": {
  19332. "description": "商品名称",
  19333. "type": "string"
  19334. },
  19335. "goodsprice": {
  19336. "description": "商品价格",
  19337. "type": "number"
  19338. },
  19339. "hotindex": {
  19340. "description": "景点热度",
  19341. "type": "integer"
  19342. },
  19343. "last": {
  19344. "description": "现价",
  19345. "type": "number"
  19346. },
  19347. "limitdown": {
  19348. "description": "跌停价",
  19349. "type": "number"
  19350. },
  19351. "limitup": {
  19352. "description": "涨停价",
  19353. "type": "number"
  19354. },
  19355. "lotsize": {
  19356. "description": "手数最小变动单位",
  19357. "type": "integer"
  19358. },
  19359. "marketid": {
  19360. "description": "所属市场ID",
  19361. "type": "integer"
  19362. },
  19363. "picurls": {
  19364. "description": "介绍图片[多张用逗号分隔]",
  19365. "type": "string"
  19366. },
  19367. "quoteminunit": {
  19368. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19369. "type": "integer"
  19370. },
  19371. "stepvalue": {
  19372. "description": "价格最小变动单位",
  19373. "type": "number"
  19374. },
  19375. "trademode": {
  19376. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19377. "type": "integer"
  19378. },
  19379. "vendorattr": {
  19380. "description": "供应商附件(多张,逗号分隔)",
  19381. "type": "string"
  19382. },
  19383. "vendorname": {
  19384. "description": "供应商名称",
  19385. "type": "string"
  19386. },
  19387. "vendorphone": {
  19388. "description": "供应商客服电话",
  19389. "type": "string"
  19390. },
  19391. "videourls": {
  19392. "description": "介绍视频[多张用逗号分隔]",
  19393. "type": "string"
  19394. }
  19395. }
  19396. },
  19397. "models.HsbyMarketGoods": {
  19398. "type": "object",
  19399. "required": [
  19400. "accountid",
  19401. "buyorsell",
  19402. "goodscode",
  19403. "goodsid",
  19404. "goodsname",
  19405. "marketid",
  19406. "orderid",
  19407. "trademode"
  19408. ],
  19409. "properties": {
  19410. "accountid": {
  19411. "description": "账户ID[报价币种]",
  19412. "type": "integer"
  19413. },
  19414. "agreeunit": {
  19415. "description": "合约单位",
  19416. "type": "number"
  19417. },
  19418. "buyorsell": {
  19419. "description": "买卖 - 0:买 1:卖",
  19420. "type": "integer"
  19421. },
  19422. "categoryid": {
  19423. "description": "类别ID(WRCATEGORY)",
  19424. "type": "integer"
  19425. },
  19426. "currency": {
  19427. "description": "货币",
  19428. "type": "string"
  19429. },
  19430. "currencysign": {
  19431. "description": "货币符号",
  19432. "type": "string"
  19433. },
  19434. "customername": {
  19435. "description": "卖家名称",
  19436. "type": "string"
  19437. },
  19438. "decimalplace": {
  19439. "description": "报价小数位",
  19440. "type": "integer"
  19441. },
  19442. "goodscode": {
  19443. "description": "商品代码(内部)",
  19444. "type": "string"
  19445. },
  19446. "goodsid": {
  19447. "description": "商品ID",
  19448. "type": "integer"
  19449. },
  19450. "goodsname": {
  19451. "description": "商品名称",
  19452. "type": "string"
  19453. },
  19454. "goodsprice": {
  19455. "description": "商品价格",
  19456. "type": "number"
  19457. },
  19458. "hascoupon": {
  19459. "description": "是否可用优惠卷",
  19460. "type": "boolean"
  19461. },
  19462. "hotindex": {
  19463. "description": "景点热度",
  19464. "type": "integer"
  19465. },
  19466. "marketid": {
  19467. "description": "市场ID",
  19468. "type": "integer"
  19469. },
  19470. "orderid": {
  19471. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19472. "type": "string"
  19473. },
  19474. "orderprice": {
  19475. "description": "委托价格",
  19476. "type": "number"
  19477. },
  19478. "orderstatus": {
  19479. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19480. "type": "integer"
  19481. },
  19482. "picurls": {
  19483. "description": "介绍图片[多张用逗号分隔]",
  19484. "type": "string"
  19485. },
  19486. "quoteminunit": {
  19487. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19488. "type": "integer"
  19489. },
  19490. "sellUserID": {
  19491. "description": "卖方UserID",
  19492. "type": "integer"
  19493. },
  19494. "trademode": {
  19495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19496. "type": "integer"
  19497. },
  19498. "videourls": {
  19499. "description": "介绍视频[多张用逗号分隔]",
  19500. "type": "string"
  19501. }
  19502. }
  19503. },
  19504. "models.HsbyMarketGoodsDetail": {
  19505. "type": "object",
  19506. "required": [
  19507. "accountid",
  19508. "buyorsell",
  19509. "goodscode",
  19510. "goodsid",
  19511. "goodsname",
  19512. "marketid",
  19513. "orderid",
  19514. "orderqty",
  19515. "trademode"
  19516. ],
  19517. "properties": {
  19518. "accountid": {
  19519. "description": "账户ID[报价币种]",
  19520. "type": "integer"
  19521. },
  19522. "agreeunit": {
  19523. "description": "合约单位",
  19524. "type": "number"
  19525. },
  19526. "buymaxqty": {
  19527. "description": "购买上限 [71] - 0为不限",
  19528. "type": "integer"
  19529. },
  19530. "buyorsell": {
  19531. "description": "买卖 - 0:买 1:卖",
  19532. "type": "integer"
  19533. },
  19534. "cancelqty": {
  19535. "description": "撤单数量",
  19536. "type": "integer"
  19537. },
  19538. "categoryid": {
  19539. "description": "类别ID(WRCATEGORY)",
  19540. "type": "integer"
  19541. },
  19542. "currency": {
  19543. "description": "货币",
  19544. "type": "string"
  19545. },
  19546. "currencysign": {
  19547. "description": "货币符号",
  19548. "type": "string"
  19549. },
  19550. "customername": {
  19551. "description": "卖家名称",
  19552. "type": "string"
  19553. },
  19554. "decimalplace": {
  19555. "description": "报价小数位",
  19556. "type": "integer"
  19557. },
  19558. "goodscode": {
  19559. "description": "商品代码(内部)",
  19560. "type": "string"
  19561. },
  19562. "goodsdesc": {
  19563. "description": "商品详情",
  19564. "type": "string"
  19565. },
  19566. "goodsid": {
  19567. "description": "商品ID",
  19568. "type": "integer"
  19569. },
  19570. "goodsname": {
  19571. "description": "商品名称",
  19572. "type": "string"
  19573. },
  19574. "goodsprice": {
  19575. "description": "商品价格",
  19576. "type": "number"
  19577. },
  19578. "hotindex": {
  19579. "description": "景点热度",
  19580. "type": "integer"
  19581. },
  19582. "lotsize": {
  19583. "description": "手数最小变动单位",
  19584. "type": "integer"
  19585. },
  19586. "marketid": {
  19587. "description": "市场ID",
  19588. "type": "integer"
  19589. },
  19590. "orderid": {
  19591. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19592. "type": "string"
  19593. },
  19594. "orderprice": {
  19595. "description": "委托价格",
  19596. "type": "number"
  19597. },
  19598. "orderqty": {
  19599. "description": "委托数量",
  19600. "type": "integer"
  19601. },
  19602. "orderstatus": {
  19603. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19604. "type": "integer"
  19605. },
  19606. "picurls": {
  19607. "description": "介绍图片[多张用逗号分隔]",
  19608. "type": "string"
  19609. },
  19610. "quoteminunit": {
  19611. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19612. "type": "integer"
  19613. },
  19614. "sellUserID": {
  19615. "description": "卖方UserID",
  19616. "type": "integer"
  19617. },
  19618. "trademode": {
  19619. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19620. "type": "integer"
  19621. },
  19622. "tradeqty": {
  19623. "description": "成交数量",
  19624. "type": "integer"
  19625. },
  19626. "vendorattr": {
  19627. "description": "供应商附件(多张,逗号分隔)",
  19628. "type": "string"
  19629. },
  19630. "vendorname": {
  19631. "description": "供应商名称",
  19632. "type": "string"
  19633. },
  19634. "vendorphone": {
  19635. "description": "供应商客服电话",
  19636. "type": "string"
  19637. },
  19638. "videourls": {
  19639. "description": "介绍视频[多张用逗号分隔]",
  19640. "type": "string"
  19641. }
  19642. }
  19643. },
  19644. "models.HsbyMarketInfo": {
  19645. "type": "object",
  19646. "required": [
  19647. "marketid",
  19648. "marketstatus",
  19649. "trademode"
  19650. ],
  19651. "properties": {
  19652. "marketid": {
  19653. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19654. "type": "integer"
  19655. },
  19656. "marketname": {
  19657. "description": "市场名称",
  19658. "type": "string"
  19659. },
  19660. "marketstatus": {
  19661. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19662. "type": "integer"
  19663. },
  19664. "trademode": {
  19665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19666. "type": "integer"
  19667. }
  19668. }
  19669. },
  19670. "models.HsbyMyGoods": {
  19671. "type": "object",
  19672. "required": [
  19673. "accountid",
  19674. "goodscode",
  19675. "goodsid",
  19676. "goodsname",
  19677. "marketid",
  19678. "trademode"
  19679. ],
  19680. "properties": {
  19681. "accountid": {
  19682. "description": "账号Id",
  19683. "type": "integer"
  19684. },
  19685. "agreeunit": {
  19686. "description": "合约单位",
  19687. "type": "number"
  19688. },
  19689. "buyaverageprice": {
  19690. "description": "持仓均价",
  19691. "type": "number"
  19692. },
  19693. "buycurholderamount": {
  19694. "description": "买当前持仓总金额[商品币种]",
  19695. "type": "number"
  19696. },
  19697. "buycurpositionqty": {
  19698. "description": "买当前持仓总数量",
  19699. "type": "integer"
  19700. },
  19701. "buymaxqty": {
  19702. "description": "购买上限 [71] - 0为不限",
  19703. "type": "integer"
  19704. },
  19705. "currencysign": {
  19706. "description": "货币符号",
  19707. "type": "string"
  19708. },
  19709. "decimalplace": {
  19710. "description": "报价小数位",
  19711. "type": "integer"
  19712. },
  19713. "enableqty": {
  19714. "description": "可用数量",
  19715. "type": "integer"
  19716. },
  19717. "goodscode": {
  19718. "description": "商品代码(内部)",
  19719. "type": "string"
  19720. },
  19721. "goodsid": {
  19722. "description": "商品Id",
  19723. "type": "integer"
  19724. },
  19725. "goodsname": {
  19726. "description": "商品名称",
  19727. "type": "string"
  19728. },
  19729. "goodsprice": {
  19730. "description": "商品价格",
  19731. "type": "number"
  19732. },
  19733. "goodsstatus": {
  19734. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19735. "type": "integer"
  19736. },
  19737. "last": {
  19738. "description": "现价(仅使用于挂牌点选)",
  19739. "type": "number"
  19740. },
  19741. "limitdown": {
  19742. "description": "跌停价(仅使用于挂牌点选)",
  19743. "type": "number"
  19744. },
  19745. "limitup": {
  19746. "description": "涨停价(仅使用于挂牌点选)",
  19747. "type": "number"
  19748. },
  19749. "lotsize": {
  19750. "description": "手数最小变动单位",
  19751. "type": "integer"
  19752. },
  19753. "marketid": {
  19754. "description": "所属市场ID",
  19755. "type": "integer"
  19756. },
  19757. "picurls": {
  19758. "description": "介绍图片[多张用逗号分隔]",
  19759. "type": "string"
  19760. },
  19761. "quoteminunit": {
  19762. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19763. "type": "integer"
  19764. },
  19765. "stepvalue": {
  19766. "description": "价格最小变动单位",
  19767. "type": "number"
  19768. },
  19769. "trademode": {
  19770. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19771. "type": "integer"
  19772. }
  19773. }
  19774. },
  19775. "models.HsbyMyPackage": {
  19776. "type": "object",
  19777. "required": [
  19778. "goodscode",
  19779. "goodsname",
  19780. "takeorderid",
  19781. "trademode"
  19782. ],
  19783. "properties": {
  19784. "accountid": {
  19785. "description": "账户ID",
  19786. "type": "integer"
  19787. },
  19788. "address": {
  19789. "description": "提货人详细地址",
  19790. "type": "string"
  19791. },
  19792. "agreeunit": {
  19793. "description": "合约单位",
  19794. "type": "number"
  19795. },
  19796. "amount": {
  19797. "description": "提货金额",
  19798. "type": "number"
  19799. },
  19800. "auditer": {
  19801. "description": "审核人",
  19802. "type": "integer"
  19803. },
  19804. "audittime": {
  19805. "description": "审核时间",
  19806. "type": "string"
  19807. },
  19808. "averageprice": {
  19809. "description": "均价",
  19810. "type": "number"
  19811. },
  19812. "cardnum": {
  19813. "description": "提货人证件号码",
  19814. "type": "string"
  19815. },
  19816. "cardtypeid": {
  19817. "description": "提货人证件类型",
  19818. "type": "integer"
  19819. },
  19820. "checkremark": {
  19821. "description": "审核备注",
  19822. "type": "string"
  19823. },
  19824. "currencysign": {
  19825. "description": "货币符号",
  19826. "type": "string"
  19827. },
  19828. "decimalplace": {
  19829. "description": "报价小数位",
  19830. "type": "integer"
  19831. },
  19832. "goodscode": {
  19833. "description": "商品代码(内部)",
  19834. "type": "string"
  19835. },
  19836. "goodsid": {
  19837. "description": "商品ID",
  19838. "type": "integer"
  19839. },
  19840. "goodsname": {
  19841. "description": "商品名称",
  19842. "type": "string"
  19843. },
  19844. "handlestatus": {
  19845. "description": "处理状态",
  19846. "type": "integer"
  19847. },
  19848. "marketid": {
  19849. "description": "市场ID",
  19850. "type": "integer"
  19851. },
  19852. "phonenum": {
  19853. "description": "提货人联系方式",
  19854. "type": "string"
  19855. },
  19856. "picurls": {
  19857. "description": "介绍图片[多张用逗号分隔]",
  19858. "type": "string"
  19859. },
  19860. "qty": {
  19861. "description": "提货数量",
  19862. "type": "number"
  19863. },
  19864. "recivername": {
  19865. "description": "提货人姓名",
  19866. "type": "string"
  19867. },
  19868. "reqtime": {
  19869. "description": "更新时间",
  19870. "type": "string"
  19871. },
  19872. "takemode": {
  19873. "description": "提货方式 - 2:自提 3:配送",
  19874. "type": "integer"
  19875. },
  19876. "takeorderid": {
  19877. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19878. "type": "string"
  19879. },
  19880. "takeorderstatus": {
  19881. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19882. "type": "integer"
  19883. },
  19884. "takeremark": {
  19885. "description": "提货备注",
  19886. "type": "string"
  19887. },
  19888. "tradedate": {
  19889. "description": "交易日(yyyyMMdd)",
  19890. "type": "string"
  19891. },
  19892. "trademode": {
  19893. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19894. "type": "integer"
  19895. },
  19896. "userid": {
  19897. "description": "用户ID",
  19898. "type": "integer"
  19899. },
  19900. "vendorname": {
  19901. "description": "供应商名称",
  19902. "type": "string"
  19903. }
  19904. }
  19905. },
  19906. "models.HsbyPreGoods": {
  19907. "type": "object",
  19908. "required": [
  19909. "goodscode",
  19910. "goodsid",
  19911. "goodsname",
  19912. "marketid",
  19913. "trademode"
  19914. ],
  19915. "properties": {
  19916. "agreeunit": {
  19917. "description": "合约单位",
  19918. "type": "number"
  19919. },
  19920. "currency": {
  19921. "description": "货币",
  19922. "type": "string"
  19923. },
  19924. "currencysign": {
  19925. "description": "货币符号",
  19926. "type": "string"
  19927. },
  19928. "decimalplace": {
  19929. "description": "报价小数位",
  19930. "type": "integer"
  19931. },
  19932. "desccityid": {
  19933. "description": "目的地(市)",
  19934. "type": "integer"
  19935. },
  19936. "descprovinceid": {
  19937. "description": "目的地(省)",
  19938. "type": "integer"
  19939. },
  19940. "enableqty": {
  19941. "description": "剩余数量",
  19942. "type": "integer"
  19943. },
  19944. "goodscode": {
  19945. "description": "商品代码(内部)",
  19946. "type": "string"
  19947. },
  19948. "goodsid": {
  19949. "description": "商品ID(自增ID SEQ_GOODS)",
  19950. "type": "integer"
  19951. },
  19952. "goodsname": {
  19953. "description": "商品名称",
  19954. "type": "string"
  19955. },
  19956. "goodsstatus": {
  19957. "description": "商品状态- 2:未上市 3:上市",
  19958. "type": "integer"
  19959. },
  19960. "lasttradedate": {
  19961. "description": "最后交易日期(状态:待退市)",
  19962. "type": "string"
  19963. },
  19964. "listingdate": {
  19965. "description": "交易开始日期",
  19966. "type": "string"
  19967. },
  19968. "marketid": {
  19969. "description": "所属市场ID",
  19970. "type": "integer"
  19971. },
  19972. "picurls": {
  19973. "description": "介绍图片[多张用逗号分隔]",
  19974. "type": "string"
  19975. },
  19976. "presaledqty": {
  19977. "description": "已预售量(预售结束时更新)",
  19978. "type": "integer"
  19979. },
  19980. "presaleqty": {
  19981. "description": "预售数量",
  19982. "type": "integer"
  19983. },
  19984. "quoteminunit": {
  19985. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19986. "type": "integer"
  19987. },
  19988. "refprice": {
  19989. "description": "参考价格[一口价]",
  19990. "type": "number"
  19991. },
  19992. "relatedgoodsid": {
  19993. "description": "关联交易合约ID",
  19994. "type": "integer"
  19995. },
  19996. "trademode": {
  19997. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19998. "type": "integer"
  19999. },
  20000. "videourls": {
  20001. "description": "介绍视频[多张用逗号分隔]",
  20002. "type": "string"
  20003. }
  20004. }
  20005. },
  20006. "models.HsbyPreGoodsDetail": {
  20007. "type": "object",
  20008. "required": [
  20009. "goodscode",
  20010. "goodsid",
  20011. "goodsname",
  20012. "marketid",
  20013. "trademode"
  20014. ],
  20015. "properties": {
  20016. "agreeunit": {
  20017. "description": "合约单位",
  20018. "type": "number"
  20019. },
  20020. "buymaxqty": {
  20021. "description": "购买上限 [71] - 0为不限",
  20022. "type": "integer"
  20023. },
  20024. "currency": {
  20025. "description": "货币",
  20026. "type": "string"
  20027. },
  20028. "currencysign": {
  20029. "description": "货币符号",
  20030. "type": "string"
  20031. },
  20032. "customername": {
  20033. "description": "发行单位",
  20034. "type": "string"
  20035. },
  20036. "decimalplace": {
  20037. "description": "报价小数位",
  20038. "type": "integer"
  20039. },
  20040. "desccityid": {
  20041. "description": "目的地(市)ID",
  20042. "type": "integer"
  20043. },
  20044. "descprovinceid": {
  20045. "description": "目的地(省)ID",
  20046. "type": "integer"
  20047. },
  20048. "enableqty": {
  20049. "description": "剩余数量",
  20050. "type": "integer"
  20051. },
  20052. "goodscode": {
  20053. "description": "商品代码(内部)",
  20054. "type": "string"
  20055. },
  20056. "goodsdesc": {
  20057. "description": "商品详情",
  20058. "type": "string"
  20059. },
  20060. "goodsid": {
  20061. "description": "商品ID(自增ID SEQ_GOODS)",
  20062. "type": "integer"
  20063. },
  20064. "goodsname": {
  20065. "description": "商品名称",
  20066. "type": "string"
  20067. },
  20068. "goodsstatus": {
  20069. "description": "商品状态- 2:未上市 3:上市",
  20070. "type": "integer"
  20071. },
  20072. "goodunit": {
  20073. "description": "报价单位",
  20074. "type": "string"
  20075. },
  20076. "lasttradedate": {
  20077. "description": "最后交易日期(状态:待退市)",
  20078. "type": "string"
  20079. },
  20080. "listingdate": {
  20081. "description": "交易开始日期",
  20082. "type": "string"
  20083. },
  20084. "lotsize": {
  20085. "description": "手数最小变动单位",
  20086. "type": "integer"
  20087. },
  20088. "marketid": {
  20089. "description": "所属市场ID",
  20090. "type": "integer"
  20091. },
  20092. "picurls": {
  20093. "description": "介绍图片[多张用逗号分隔]",
  20094. "type": "string"
  20095. },
  20096. "presaledqty": {
  20097. "description": "已预售量(预售结束时更新)",
  20098. "type": "integer"
  20099. },
  20100. "presaleqty": {
  20101. "description": "预售数量",
  20102. "type": "integer"
  20103. },
  20104. "quoteminunit": {
  20105. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20106. "type": "integer"
  20107. },
  20108. "refprice": {
  20109. "description": "参考价格[一口价]",
  20110. "type": "number"
  20111. },
  20112. "relatedgoodsid": {
  20113. "description": "关联交易合约ID",
  20114. "type": "integer"
  20115. },
  20116. "stepvalue": {
  20117. "description": "价格最小变动单位",
  20118. "type": "number"
  20119. },
  20120. "trademode": {
  20121. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20122. "type": "integer"
  20123. },
  20124. "vendorattr": {
  20125. "description": "供应商附件(多张,逗号分隔)",
  20126. "type": "string"
  20127. },
  20128. "vendorname": {
  20129. "description": "供应商名称",
  20130. "type": "string"
  20131. },
  20132. "vendorphone": {
  20133. "description": "供应商客服电话",
  20134. "type": "string"
  20135. },
  20136. "videourls": {
  20137. "description": "介绍视频[多张用逗号分隔]",
  20138. "type": "string"
  20139. }
  20140. }
  20141. },
  20142. "models.HsbySellCollectionOrder": {
  20143. "type": "object",
  20144. "required": [
  20145. "goodscode",
  20146. "goodsname",
  20147. "tradeid",
  20148. "trademode"
  20149. ],
  20150. "properties": {
  20151. "agreeunit": {
  20152. "description": "合约单位",
  20153. "type": "number"
  20154. },
  20155. "buyaccountid": {
  20156. "description": "买方账号ID[报价币种]",
  20157. "type": "integer"
  20158. },
  20159. "buyorderid": {
  20160. "description": "买方委托单号",
  20161. "type": "string"
  20162. },
  20163. "createtime": {
  20164. "description": "创建时间",
  20165. "type": "string"
  20166. },
  20167. "currencysign": {
  20168. "description": "货币符号",
  20169. "type": "string"
  20170. },
  20171. "decimalplace": {
  20172. "description": "报价小数位",
  20173. "type": "integer"
  20174. },
  20175. "goodscode": {
  20176. "description": "商品代码(内部)",
  20177. "type": "string"
  20178. },
  20179. "goodsid": {
  20180. "description": "商品ID",
  20181. "type": "integer"
  20182. },
  20183. "goodsname": {
  20184. "description": "商品名称",
  20185. "type": "string"
  20186. },
  20187. "marketid": {
  20188. "description": "市场ID",
  20189. "type": "integer"
  20190. },
  20191. "offamount": {
  20192. "description": "优惠金额",
  20193. "type": "number"
  20194. },
  20195. "payamount": {
  20196. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20197. "type": "number"
  20198. },
  20199. "payflag": {
  20200. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20201. "type": "integer"
  20202. },
  20203. "paylimitedtime": {
  20204. "description": "支付期限",
  20205. "type": "string"
  20206. },
  20207. "paytime": {
  20208. "description": "付款时间",
  20209. "type": "string"
  20210. },
  20211. "picurls": {
  20212. "description": "商品介绍图片[多张用逗号分隔]",
  20213. "type": "string"
  20214. },
  20215. "sellaccountid": {
  20216. "description": "卖方账号ID[报价币种]",
  20217. "type": "integer"
  20218. },
  20219. "sellorderid": {
  20220. "description": "卖方委托单号",
  20221. "type": "string"
  20222. },
  20223. "tradeamount": {
  20224. "description": "成交金额",
  20225. "type": "number"
  20226. },
  20227. "tradecharge": {
  20228. "description": "成交手续费(买方)",
  20229. "type": "number"
  20230. },
  20231. "tradedate": {
  20232. "description": "交易日(yyyyMMdd)",
  20233. "type": "string"
  20234. },
  20235. "tradeid": {
  20236. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20237. "type": "string"
  20238. },
  20239. "trademode": {
  20240. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20241. "type": "integer"
  20242. },
  20243. "tradeprice": {
  20244. "description": "成交价格",
  20245. "type": "number"
  20246. },
  20247. "tradeqty": {
  20248. "description": "成交数量",
  20249. "type": "integer"
  20250. }
  20251. }
  20252. },
  20253. "models.HsbySellMyDetail": {
  20254. "type": "object",
  20255. "required": [
  20256. "accountid",
  20257. "buyorsell",
  20258. "goodscode",
  20259. "goodsid",
  20260. "goodsname",
  20261. "marketid",
  20262. "orderid",
  20263. "time",
  20264. "trademode"
  20265. ],
  20266. "properties": {
  20267. "accountid": {
  20268. "description": "账户ID[报价币种]",
  20269. "type": "integer"
  20270. },
  20271. "agreeunit": {
  20272. "description": "合约单位",
  20273. "type": "number"
  20274. },
  20275. "buyorsell": {
  20276. "description": "买卖 - 0:买 1:卖",
  20277. "type": "integer"
  20278. },
  20279. "currencysign": {
  20280. "description": "货币符号",
  20281. "type": "string"
  20282. },
  20283. "decimalplace": {
  20284. "description": "报价小数位",
  20285. "type": "integer"
  20286. },
  20287. "goodscode": {
  20288. "description": "商品代码(内部)",
  20289. "type": "string"
  20290. },
  20291. "goodsid": {
  20292. "description": "商品ID",
  20293. "type": "integer"
  20294. },
  20295. "goodsname": {
  20296. "description": "商品名称",
  20297. "type": "string"
  20298. },
  20299. "marketid": {
  20300. "description": "市场ID",
  20301. "type": "integer"
  20302. },
  20303. "orderid": {
  20304. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20305. "type": "string"
  20306. },
  20307. "ordertype": {
  20308. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20309. "type": "integer"
  20310. },
  20311. "picurls": {
  20312. "description": "介绍图片[多张用逗号分隔]",
  20313. "type": "string"
  20314. },
  20315. "price": {
  20316. "description": "价格",
  20317. "type": "number"
  20318. },
  20319. "qty": {
  20320. "description": "数量",
  20321. "type": "integer"
  20322. },
  20323. "time": {
  20324. "description": "时间",
  20325. "type": "string"
  20326. },
  20327. "trademode": {
  20328. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20329. "type": "integer"
  20330. },
  20331. "vendorname": {
  20332. "description": "供应商名称",
  20333. "type": "string"
  20334. }
  20335. }
  20336. },
  20337. "models.HsbyTopGoods": {
  20338. "type": "object",
  20339. "required": [
  20340. "goodscode",
  20341. "goodsid",
  20342. "goodsname",
  20343. "marketid",
  20344. "trademode"
  20345. ],
  20346. "properties": {
  20347. "agreeunit": {
  20348. "description": "合约单位",
  20349. "type": "number"
  20350. },
  20351. "currency": {
  20352. "description": "货币",
  20353. "type": "string"
  20354. },
  20355. "currencysign": {
  20356. "description": "货币符号",
  20357. "type": "string"
  20358. },
  20359. "decimalplace": {
  20360. "description": "报价小数位",
  20361. "type": "integer"
  20362. },
  20363. "desccityid": {
  20364. "description": "目的地(市)",
  20365. "type": "integer"
  20366. },
  20367. "descprovinceid": {
  20368. "description": "目的地(省)",
  20369. "type": "integer"
  20370. },
  20371. "goodscode": {
  20372. "description": "商品代码(内部)",
  20373. "type": "string"
  20374. },
  20375. "goodsid": {
  20376. "description": "商品ID(自增ID SEQ_GOODS)",
  20377. "type": "integer"
  20378. },
  20379. "goodsname": {
  20380. "description": "商品名称",
  20381. "type": "string"
  20382. },
  20383. "hotindex": {
  20384. "description": "景点热度",
  20385. "type": "integer"
  20386. },
  20387. "last": {
  20388. "description": "现价",
  20389. "type": "number"
  20390. },
  20391. "marketid": {
  20392. "description": "所属市场ID",
  20393. "type": "integer"
  20394. },
  20395. "picurls": {
  20396. "description": "介绍图片[多张用逗号分隔]",
  20397. "type": "string"
  20398. },
  20399. "quoteminunit": {
  20400. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20401. "type": "integer"
  20402. },
  20403. "trademode": {
  20404. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20405. "type": "integer"
  20406. },
  20407. "videourls": {
  20408. "description": "介绍视频[多张用逗号分隔]",
  20409. "type": "string"
  20410. }
  20411. }
  20412. },
  20413. "models.HybsMyBuyOrderDetail": {
  20414. "type": "object",
  20415. "required": [
  20416. "accountid",
  20417. "buyorsell",
  20418. "goodscode",
  20419. "goodsid",
  20420. "goodsname",
  20421. "marketid",
  20422. "orderid",
  20423. "orderqty",
  20424. "ordertime",
  20425. "trademode"
  20426. ],
  20427. "properties": {
  20428. "accountid": {
  20429. "description": "账户ID[报价币种]",
  20430. "type": "integer"
  20431. },
  20432. "agreeunit": {
  20433. "description": "合约单位",
  20434. "type": "number"
  20435. },
  20436. "buyorsell": {
  20437. "description": "买卖 - 0:买 1:卖",
  20438. "type": "integer"
  20439. },
  20440. "cancelqty": {
  20441. "description": "撤单数量",
  20442. "type": "integer"
  20443. },
  20444. "currencysign": {
  20445. "description": "货币符号",
  20446. "type": "string"
  20447. },
  20448. "decimalplace": {
  20449. "description": "报价小数位",
  20450. "type": "integer"
  20451. },
  20452. "goodscode": {
  20453. "description": "商品代码(内部)",
  20454. "type": "string"
  20455. },
  20456. "goodsid": {
  20457. "description": "商品ID",
  20458. "type": "integer"
  20459. },
  20460. "goodsname": {
  20461. "description": "商品名称",
  20462. "type": "string"
  20463. },
  20464. "listingselecttype": {
  20465. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20466. "type": "integer"
  20467. },
  20468. "marketid": {
  20469. "description": "市场ID",
  20470. "type": "integer"
  20471. },
  20472. "mybuystatus": {
  20473. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20474. "type": "integer"
  20475. },
  20476. "orderamount": {
  20477. "description": "委托金额",
  20478. "type": "number"
  20479. },
  20480. "orderid": {
  20481. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20482. "type": "string"
  20483. },
  20484. "orderprice": {
  20485. "description": "委托价格",
  20486. "type": "number"
  20487. },
  20488. "orderqty": {
  20489. "description": "委托数量",
  20490. "type": "integer"
  20491. },
  20492. "orderstatus": {
  20493. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20494. "type": "integer"
  20495. },
  20496. "ordertime": {
  20497. "description": "委托时间",
  20498. "type": "string"
  20499. },
  20500. "picurls1": {
  20501. "description": "预售商品介绍图片[多张用逗号分隔]",
  20502. "type": "string"
  20503. },
  20504. "picurls2": {
  20505. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20506. "type": "string"
  20507. },
  20508. "trademode": {
  20509. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20510. "type": "integer"
  20511. },
  20512. "tradeqty": {
  20513. "description": "成交数量",
  20514. "type": "integer"
  20515. },
  20516. "vendorname1": {
  20517. "description": "预售商品供应商名称",
  20518. "type": "string"
  20519. },
  20520. "vendorname2": {
  20521. "description": "挂牌商品供应商名称",
  20522. "type": "string"
  20523. }
  20524. }
  20525. },
  20526. "models.Loginaccount": {
  20527. "type": "object",
  20528. "required": [
  20529. "loginid"
  20530. ],
  20531. "properties": {
  20532. "canoutin": {
  20533. "description": "是否可出入金 - 0:不可 1:可",
  20534. "type": "integer"
  20535. },
  20536. "clientroleid": {
  20537. "description": "终端角色ID",
  20538. "type": "integer"
  20539. },
  20540. "haslogined": {
  20541. "description": "是否已登录 - 0:未登录 1:已登录",
  20542. "type": "integer"
  20543. },
  20544. "hasupdatedpwd": {
  20545. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20546. "type": "integer"
  20547. },
  20548. "lastloginip": {
  20549. "description": "最新登录地址",
  20550. "type": "string"
  20551. },
  20552. "lastloginmode": {
  20553. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20554. "type": "integer"
  20555. },
  20556. "lastloginremark": {
  20557. "description": "最新登录描述",
  20558. "type": "string"
  20559. },
  20560. "lastlogintime": {
  20561. "description": "最新登录时间",
  20562. "type": "string"
  20563. },
  20564. "logincode": {
  20565. "description": "登录代码",
  20566. "type": "string"
  20567. },
  20568. "loginfailnum": {
  20569. "description": "连续登录失败次数(登录成功时清零)",
  20570. "type": "integer"
  20571. },
  20572. "loginid": {
  20573. "description": "登陆账号",
  20574. "type": "integer"
  20575. },
  20576. "loginport": {
  20577. "description": "最新登录端口",
  20578. "type": "integer"
  20579. },
  20580. "loginstatus": {
  20581. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20582. "type": "integer"
  20583. },
  20584. "loginusertype": {
  20585. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20586. "type": "integer"
  20587. },
  20588. "modifierid": {
  20589. "description": "修改人",
  20590. "type": "integer"
  20591. },
  20592. "modifytime": {
  20593. "description": "修改时间",
  20594. "type": "string"
  20595. },
  20596. "pwdwrongcount": {
  20597. "description": "密码错误次数",
  20598. "type": "integer"
  20599. },
  20600. "taaccountrighttype": {
  20601. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20602. "type": "integer"
  20603. },
  20604. "unfreezetime": {
  20605. "description": "账户解冻时间",
  20606. "type": "string"
  20607. },
  20608. "userid": {
  20609. "description": "用户ID",
  20610. "type": "integer"
  20611. }
  20612. }
  20613. },
  20614. "models.MainAccountInfo": {
  20615. "type": "object",
  20616. "properties": {
  20617. "accountid": {
  20618. "description": "账号id",
  20619. "type": "string"
  20620. },
  20621. "appid": {
  20622. "description": "AppID",
  20623. "type": "string"
  20624. },
  20625. "authcode": {
  20626. "description": "授权码",
  20627. "type": "string"
  20628. },
  20629. "brokerid": {
  20630. "description": "经纪商id",
  20631. "type": "string"
  20632. },
  20633. "fcid": {
  20634. "description": "期货公司id",
  20635. "type": "integer"
  20636. },
  20637. "fcname": {
  20638. "description": "期货公司代码",
  20639. "type": "string"
  20640. },
  20641. "hedgeaccountcode": {
  20642. "description": "外部账号代码",
  20643. "type": "string"
  20644. },
  20645. "hedgeaccountpwd": {
  20646. "description": "密码",
  20647. "type": "string"
  20648. },
  20649. "ismain": {
  20650. "description": "是否主账号",
  20651. "type": "integer"
  20652. },
  20653. "relateduserid": {
  20654. "description": "关联用户id",
  20655. "type": "integer"
  20656. }
  20657. }
  20658. },
  20659. "models.Market": {
  20660. "type": "object",
  20661. "required": [
  20662. "marketid",
  20663. "marketstatus",
  20664. "openmethod",
  20665. "reckonpricealgorithm",
  20666. "trademode",
  20667. "tradeproperty"
  20668. ],
  20669. "properties": {
  20670. "auctionwrtype": {
  20671. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20672. "type": "integer"
  20673. },
  20674. "canacceptquote": {
  20675. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20676. "type": "integer"
  20677. },
  20678. "cangoodsexercise": {
  20679. "description": "[期权]是否可现货行权- 0:否 1:是",
  20680. "type": "integer"
  20681. },
  20682. "cangoodsexercisetype": {
  20683. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20684. "type": "integer"
  20685. },
  20686. "canmanualquotestrike": {
  20687. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20688. "type": "integer"
  20689. },
  20690. "canmutistage": {
  20691. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20692. "type": "integer"
  20693. },
  20694. "canpreexercise": {
  20695. "description": "[期权]是否可预申报- 0:否 1:是",
  20696. "type": "integer"
  20697. },
  20698. "clearinterval": {
  20699. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20700. "type": "integer"
  20701. },
  20702. "contracttmp": {
  20703. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20704. "type": "string"
  20705. },
  20706. "exchareaid": {
  20707. "description": "所属交易所,可以没有",
  20708. "type": "integer"
  20709. },
  20710. "goodstype": {
  20711. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20712. "type": "integer"
  20713. },
  20714. "hasrebate": {
  20715. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20716. "type": "integer"
  20717. },
  20718. "hastradecredit": {
  20719. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20720. "type": "integer"
  20721. },
  20722. "haswr": {
  20723. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20724. "type": "integer"
  20725. },
  20726. "isdeductmargin": {
  20727. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20728. "type": "integer"
  20729. },
  20730. "isrecordsource": {
  20731. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20732. "type": "integer"
  20733. },
  20734. "isreleasemargin": {
  20735. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20736. "type": "integer"
  20737. },
  20738. "marginformula": {
  20739. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20740. "type": "integer"
  20741. },
  20742. "marginformula2": {
  20743. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20744. "type": "integer"
  20745. },
  20746. "marketid": {
  20747. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20748. "type": "integer"
  20749. },
  20750. "marketname": {
  20751. "description": "市场名称",
  20752. "type": "string"
  20753. },
  20754. "marketserviceid": {
  20755. "description": "市场服务ID",
  20756. "type": "integer"
  20757. },
  20758. "marketstatus": {
  20759. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20760. "type": "integer"
  20761. },
  20762. "markettype": {
  20763. "description": "市场类型- 1:非交易服务 2:交易服务",
  20764. "type": "integer"
  20765. },
  20766. "matchermode": {
  20767. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20768. "type": "integer"
  20769. },
  20770. "openmethod": {
  20771. "description": "开盘模式 - 0 自动 1手动",
  20772. "type": "integer"
  20773. },
  20774. "otcuserid": {
  20775. "description": "场外期权做市商[场外期权]",
  20776. "type": "integer"
  20777. },
  20778. "outersynctime": {
  20779. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20780. "type": "string"
  20781. },
  20782. "pendingflag": {
  20783. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20784. "type": "integer"
  20785. },
  20786. "pendingtime": {
  20787. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20788. "type": "string"
  20789. },
  20790. "performancetempid": {
  20791. "description": "履约计划模板ID - 作废",
  20792. "type": "integer"
  20793. },
  20794. "premiumquotemode": {
  20795. "description": "权利金报价方式 - 1:自动 2:手动",
  20796. "type": "integer"
  20797. },
  20798. "rebateratio": {
  20799. "description": "返利比率[竞价式]",
  20800. "type": "number"
  20801. },
  20802. "reckonorder": {
  20803. "description": "结算顺序",
  20804. "type": "integer"
  20805. },
  20806. "reckonpricealgorithm": {
  20807. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20808. "type": "integer"
  20809. },
  20810. "reckonpriceparam": {
  20811. "description": "结算价参数",
  20812. "type": "integer"
  20813. },
  20814. "reckontime": {
  20815. "description": "结算时间[通道交易-对冲](HH:mm)",
  20816. "type": "string"
  20817. },
  20818. "roleprioritytype": {
  20819. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20820. "type": "integer"
  20821. },
  20822. "selllistingauditflag": {
  20823. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20824. "type": "integer"
  20825. },
  20826. "trademarkettype": {
  20827. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20828. "type": "integer"
  20829. },
  20830. "trademode": {
  20831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20832. "type": "integer"
  20833. },
  20834. "tradeproperty": {
  20835. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20836. "type": "integer"
  20837. },
  20838. "tradetype": {
  20839. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20840. "type": "integer"
  20841. }
  20842. }
  20843. },
  20844. "models.Marketrun": {
  20845. "type": "object",
  20846. "required": [
  20847. "marketid",
  20848. "nexttradedate",
  20849. "reckonflag",
  20850. "runstatus",
  20851. "tradedate",
  20852. "tradedate2"
  20853. ],
  20854. "properties": {
  20855. "afternexttradedate": {
  20856. "description": "下下交易日",
  20857. "type": "string"
  20858. },
  20859. "clearquoteflag": {
  20860. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20861. "type": "integer"
  20862. },
  20863. "lastreckondate": {
  20864. "description": "最新交易日(结算成功)",
  20865. "type": "string"
  20866. },
  20867. "machinedate": {
  20868. "description": "机器时间",
  20869. "type": "string"
  20870. },
  20871. "manualflag": {
  20872. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20873. "type": "integer"
  20874. },
  20875. "marketid": {
  20876. "description": "市场ID",
  20877. "type": "integer"
  20878. },
  20879. "nexttradedate": {
  20880. "description": "下一交易日",
  20881. "type": "string"
  20882. },
  20883. "pretradedate": {
  20884. "description": "上一交易日",
  20885. "type": "string"
  20886. },
  20887. "reckonflag": {
  20888. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20889. "type": "integer"
  20890. },
  20891. "runstatus": {
  20892. "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.今日免清算",
  20893. "type": "integer"
  20894. },
  20895. "sectionid": {
  20896. "description": "时间段号[多时段时用]",
  20897. "type": "integer"
  20898. },
  20899. "tradedate": {
  20900. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20901. "type": "string"
  20902. },
  20903. "tradedate2": {
  20904. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20905. "type": "string"
  20906. },
  20907. "updatetime": {
  20908. "description": "更新时间",
  20909. "type": "string"
  20910. }
  20911. }
  20912. },
  20913. "models.Messageboard": {
  20914. "type": "object",
  20915. "required": [
  20916. "messageboardid"
  20917. ],
  20918. "properties": {
  20919. "contactnum": {
  20920. "description": "联系电话",
  20921. "type": "string"
  20922. },
  20923. "createtime": {
  20924. "description": "创建时间",
  20925. "type": "string"
  20926. },
  20927. "message": {
  20928. "description": "留言信息",
  20929. "type": "string"
  20930. },
  20931. "messageboardid": {
  20932. "description": "留言簿ID(SEQ_MessageBoard)",
  20933. "type": "integer"
  20934. },
  20935. "userid": {
  20936. "description": "用户ID",
  20937. "type": "integer"
  20938. }
  20939. }
  20940. },
  20941. "models.MyCoupon": {
  20942. "type": "object",
  20943. "required": [
  20944. "accountid",
  20945. "coupontypeid"
  20946. ],
  20947. "properties": {
  20948. "accountid": {
  20949. "description": "资金账户ID",
  20950. "type": "integer"
  20951. },
  20952. "areauserid": {
  20953. "description": "所属机构",
  20954. "type": "integer"
  20955. },
  20956. "conditionvalue": {
  20957. "description": "条件阈值(可为0)",
  20958. "type": "number"
  20959. },
  20960. "couponcategroy": {
  20961. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20962. "type": "integer"
  20963. },
  20964. "couponname": {
  20965. "description": "优惠券名称",
  20966. "type": "string"
  20967. },
  20968. "coupontypeid": {
  20969. "description": "优惠券类型ID",
  20970. "type": "string"
  20971. },
  20972. "couponvalue": {
  20973. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20974. "type": "number"
  20975. },
  20976. "curfreezeqty": {
  20977. "description": "期末冻结数量",
  20978. "type": "integer"
  20979. },
  20980. "curqty": {
  20981. "description": "期末数量",
  20982. "type": "integer"
  20983. },
  20984. "isgeneral": {
  20985. "description": "是否通用券 - 0:否 1:是",
  20986. "type": "integer"
  20987. },
  20988. "isunusable": {
  20989. "description": "是否不可用",
  20990. "type": "boolean"
  20991. },
  20992. "limitedflag": {
  20993. "description": "是否指定商品 - 0:不限 1:限制",
  20994. "type": "integer"
  20995. },
  20996. "limitedgoodsids": {
  20997. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20998. "type": "string"
  20999. },
  21000. "orifreezeqty": {
  21001. "description": "期初冻结数量",
  21002. "type": "integer"
  21003. },
  21004. "oriqty": {
  21005. "description": "期初数量",
  21006. "type": "integer"
  21007. },
  21008. "reasontype": {
  21009. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21010. "type": "integer"
  21011. },
  21012. "todaydecrease": {
  21013. "description": "今日减少",
  21014. "type": "integer"
  21015. },
  21016. "todayincrease": {
  21017. "description": "今日增加",
  21018. "type": "integer"
  21019. },
  21020. "userid": {
  21021. "description": "用户ID",
  21022. "type": "integer"
  21023. },
  21024. "userscope": {
  21025. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21026. "type": "string"
  21027. }
  21028. }
  21029. },
  21030. "models.MyCouponHold": {
  21031. "type": "object",
  21032. "required": [
  21033. "couponholdid"
  21034. ],
  21035. "properties": {
  21036. "accountid": {
  21037. "description": "资金账户ID",
  21038. "type": "integer"
  21039. },
  21040. "conditionvalue": {
  21041. "description": "条件阈值(可为0)",
  21042. "type": "number"
  21043. },
  21044. "couponcategroy": {
  21045. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21046. "type": "integer"
  21047. },
  21048. "couponholdid": {
  21049. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21050. "type": "string"
  21051. },
  21052. "couponname": {
  21053. "description": "优惠券名称",
  21054. "type": "string"
  21055. },
  21056. "coupontypeid": {
  21057. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21058. "type": "string"
  21059. },
  21060. "couponvalue": {
  21061. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21062. "type": "number"
  21063. },
  21064. "createtime": {
  21065. "description": "创建时间",
  21066. "type": "string"
  21067. },
  21068. "enddate": {
  21069. "description": "结束日期",
  21070. "type": "string"
  21071. },
  21072. "giveapplyid": {
  21073. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21074. "type": "integer"
  21075. },
  21076. "holdstatus": {
  21077. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21078. "type": "integer"
  21079. },
  21080. "isgeneral": {
  21081. "description": "是否通用券 - 0:否 1:是",
  21082. "type": "integer"
  21083. },
  21084. "limitedflag": {
  21085. "description": "是否指定商品 - 0:不限 1:限制",
  21086. "type": "integer"
  21087. },
  21088. "limitedgoodsids": {
  21089. "description": "指定商品IDs[逗号分隔]",
  21090. "type": "string"
  21091. },
  21092. "qty": {
  21093. "description": "数量(按1平铺)",
  21094. "type": "integer"
  21095. },
  21096. "startdate": {
  21097. "description": "开始日期",
  21098. "type": "string"
  21099. },
  21100. "userid": {
  21101. "description": "用户ID",
  21102. "type": "integer"
  21103. },
  21104. "userscope": {
  21105. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21106. "type": "string"
  21107. }
  21108. }
  21109. },
  21110. "models.MyUsedCoupon": {
  21111. "type": "object",
  21112. "required": [
  21113. "coupontypeid",
  21114. "orderid"
  21115. ],
  21116. "properties": {
  21117. "accountid": {
  21118. "description": "资金账户ID(买方)",
  21119. "type": "integer"
  21120. },
  21121. "conditionvalue": {
  21122. "description": "条件阈值(可为0)",
  21123. "type": "number"
  21124. },
  21125. "couponcategroy": {
  21126. "description": "种类 - 1:现金券 2:折扣券",
  21127. "type": "integer"
  21128. },
  21129. "couponname": {
  21130. "description": "优惠券名称",
  21131. "type": "string"
  21132. },
  21133. "coupontypeid": {
  21134. "description": "优惠券类型ID(买方)",
  21135. "type": "string"
  21136. },
  21137. "couponvalue": {
  21138. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21139. "type": "number"
  21140. },
  21141. "createtime": {
  21142. "description": "创建时间",
  21143. "type": "string"
  21144. },
  21145. "goodsid": {
  21146. "description": "商品ID",
  21147. "type": "integer"
  21148. },
  21149. "handlestatus": {
  21150. "description": "处理状态",
  21151. "type": "integer"
  21152. },
  21153. "marketid": {
  21154. "description": "市场ID",
  21155. "type": "integer"
  21156. },
  21157. "offamount": {
  21158. "description": "优惠金额",
  21159. "type": "number"
  21160. },
  21161. "orderid": {
  21162. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21163. "type": "string"
  21164. },
  21165. "sellaccountid": {
  21166. "description": "资金账户ID(卖方)",
  21167. "type": "integer"
  21168. },
  21169. "tradeamount": {
  21170. "description": "成交金额",
  21171. "type": "number"
  21172. },
  21173. "tradeid": {
  21174. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21175. "type": "string"
  21176. },
  21177. "usedqty": {
  21178. "description": "使用数量",
  21179. "type": "integer"
  21180. }
  21181. }
  21182. },
  21183. "models.OperationPrimaryMenu": {
  21184. "type": "object",
  21185. "properties": {
  21186. "Children": {
  21187. "description": "二级功能菜单",
  21188. "type": "array",
  21189. "items": {
  21190. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21191. }
  21192. },
  21193. "Key": {
  21194. "description": "菜单KEY",
  21195. "type": "string"
  21196. },
  21197. "Label": {
  21198. "description": "菜单标题",
  21199. "type": "string"
  21200. }
  21201. }
  21202. },
  21203. "models.OperationSecondaryMenu": {
  21204. "type": "object",
  21205. "properties": {
  21206. "Key": {
  21207. "description": "菜单KEY",
  21208. "type": "string"
  21209. },
  21210. "Label": {
  21211. "description": "菜单标题",
  21212. "type": "string"
  21213. },
  21214. "TabList": {
  21215. "description": "三级功能菜单",
  21216. "type": "array",
  21217. "items": {
  21218. "$ref": "#/definitions/models.OperationTabMenu"
  21219. }
  21220. }
  21221. }
  21222. },
  21223. "models.OperationTabMenu": {
  21224. "type": "object",
  21225. "properties": {
  21226. "Key": {
  21227. "description": "菜单KEY",
  21228. "type": "string"
  21229. },
  21230. "Label": {
  21231. "description": "菜单标题",
  21232. "type": "string"
  21233. }
  21234. }
  21235. },
  21236. "models.PendingAuditBizModel": {
  21237. "type": "object",
  21238. "properties": {
  21239. "accountid": {
  21240. "description": "现货账户",
  21241. "type": "string"
  21242. },
  21243. "areaname": {
  21244. "description": "所属部门",
  21245. "type": "string"
  21246. },
  21247. "bizid": {
  21248. "description": "业务ID",
  21249. "type": "string"
  21250. },
  21251. "bizname": {
  21252. "description": "业务名称",
  21253. "type": "string"
  21254. },
  21255. "status": {
  21256. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21257. "type": "integer"
  21258. },
  21259. "type": {
  21260. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21261. "type": "integer"
  21262. }
  21263. }
  21264. },
  21265. "models.QueryErrorInfosRsp": {
  21266. "type": "object",
  21267. "required": [
  21268. "errorid"
  21269. ],
  21270. "properties": {
  21271. "description": {
  21272. "description": "异常描述",
  21273. "type": "string"
  21274. },
  21275. "errorcode": {
  21276. "description": "异常代码",
  21277. "type": "string"
  21278. },
  21279. "errorid": {
  21280. "description": "异常ID",
  21281. "type": "integer"
  21282. },
  21283. "modulecode": {
  21284. "description": "所属模块",
  21285. "type": "string"
  21286. },
  21287. "operatecode": {
  21288. "description": "所属操作",
  21289. "type": "string"
  21290. },
  21291. "rownumber": {
  21292. "description": "行号",
  21293. "type": "string"
  21294. }
  21295. }
  21296. },
  21297. "models.QueryHedgeOrderDetailRsp": {
  21298. "type": "object",
  21299. "properties": {
  21300. "accountid": {
  21301. "description": "账户ID",
  21302. "type": "integer"
  21303. },
  21304. "buyorsell": {
  21305. "description": "买卖 - 0:买 1:卖",
  21306. "type": "integer"
  21307. },
  21308. "cancellogincode": {
  21309. "description": "撤单人",
  21310. "type": "string"
  21311. },
  21312. "channelbuildtype": {
  21313. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21314. "type": "integer"
  21315. },
  21316. "channelinnerorderstatus": {
  21317. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21318. "type": "integer"
  21319. },
  21320. "channeloperatetype": {
  21321. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21322. "type": "integer"
  21323. },
  21324. "closetype": {
  21325. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21326. "type": "integer"
  21327. },
  21328. "curexchangerate": {
  21329. "description": "当前汇率",
  21330. "type": "number"
  21331. },
  21332. "exchangefullname": {
  21333. "description": "外部交易所全称",
  21334. "type": "string"
  21335. },
  21336. "goodscode": {
  21337. "description": "商品代码(内部)",
  21338. "type": "string"
  21339. },
  21340. "goodsid": {
  21341. "description": "商品ID",
  21342. "type": "integer"
  21343. },
  21344. "goodsname": {
  21345. "description": "商品名称",
  21346. "type": "string"
  21347. },
  21348. "marketid": {
  21349. "description": "市场ID",
  21350. "type": "integer"
  21351. },
  21352. "openfreezemargin": {
  21353. "description": "冻结保证金(冻结交易金额)",
  21354. "type": "number"
  21355. },
  21356. "orderid": {
  21357. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21358. "type": "string"
  21359. },
  21360. "orderlogincode": {
  21361. "description": "委托人",
  21362. "type": "string"
  21363. },
  21364. "orderprice": {
  21365. "description": "委托价格(账户)",
  21366. "type": "number"
  21367. },
  21368. "orderqty": {
  21369. "description": "委托数量",
  21370. "type": "integer"
  21371. },
  21372. "ordertime": {
  21373. "description": "委托时间",
  21374. "type": "string"
  21375. },
  21376. "pricemode": {
  21377. "description": "取价方式 - 1:市价 2: 限价",
  21378. "type": "integer"
  21379. },
  21380. "tradedate": {
  21381. "description": "交易日(yyyyMMdd)",
  21382. "type": "string"
  21383. },
  21384. "tradeqty": {
  21385. "description": "成交数量",
  21386. "type": "integer"
  21387. }
  21388. }
  21389. },
  21390. "models.QueryHedgeTradeDetailRsp": {
  21391. "type": "object",
  21392. "properties": {
  21393. "accountid": {
  21394. "description": "账号ID",
  21395. "type": "integer"
  21396. },
  21397. "buyorsell": {
  21398. "description": "方向 - 0:买 1:卖",
  21399. "type": "integer"
  21400. },
  21401. "channelbuildtype": {
  21402. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21403. "type": "integer"
  21404. },
  21405. "closecharge": {
  21406. "description": "平仓手续费(账户)",
  21407. "type": "number"
  21408. },
  21409. "closecharge2": {
  21410. "description": "平仓手续费(商品)",
  21411. "type": "number"
  21412. },
  21413. "closepl": {
  21414. "description": "平仓盈亏(账户)",
  21415. "type": "number"
  21416. },
  21417. "closepl2": {
  21418. "description": "平仓盈亏(商品)",
  21419. "type": "number"
  21420. },
  21421. "closepl3": {
  21422. "description": "平仓盈亏(账户)(逐笔)",
  21423. "type": "number"
  21424. },
  21425. "closepl4": {
  21426. "description": "平仓盈亏(商品)(逐笔)",
  21427. "type": "number"
  21428. },
  21429. "closetype": {
  21430. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21431. "type": "integer"
  21432. },
  21433. "curexchangerate": {
  21434. "description": "当前汇率",
  21435. "type": "number"
  21436. },
  21437. "exchangefullname": {
  21438. "description": "外部交易所全称",
  21439. "type": "string"
  21440. },
  21441. "goodscode": {
  21442. "description": "商品代码(内部)",
  21443. "type": "string"
  21444. },
  21445. "goodsid": {
  21446. "description": "商品ID",
  21447. "type": "integer"
  21448. },
  21449. "goodsname": {
  21450. "description": "商品名称",
  21451. "type": "string"
  21452. },
  21453. "marketid": {
  21454. "description": "市场ID",
  21455. "type": "integer"
  21456. },
  21457. "opencharge": {
  21458. "description": "建仓手续费(账户)",
  21459. "type": "number"
  21460. },
  21461. "opencharge2": {
  21462. "description": "建仓手续费(商品)",
  21463. "type": "number"
  21464. },
  21465. "orderid": {
  21466. "description": "委托单号",
  21467. "type": "string"
  21468. },
  21469. "orderlogincode": {
  21470. "description": "委托人",
  21471. "type": "string"
  21472. },
  21473. "tradeamount": {
  21474. "description": "成交金额(账户)",
  21475. "type": "number"
  21476. },
  21477. "tradedate": {
  21478. "description": "交易日(yyyyMMdd)",
  21479. "type": "string"
  21480. },
  21481. "tradeid": {
  21482. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21483. "type": "string"
  21484. },
  21485. "tradeprice": {
  21486. "description": "成交价格",
  21487. "type": "number"
  21488. },
  21489. "tradeqty": {
  21490. "description": "成交数量",
  21491. "type": "integer"
  21492. },
  21493. "tradetime": {
  21494. "description": "成交时间",
  21495. "type": "string"
  21496. },
  21497. "tradetype": {
  21498. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21499. "type": "integer"
  21500. }
  21501. }
  21502. },
  21503. "models.QuotePrimaryMenu": {
  21504. "type": "object",
  21505. "properties": {
  21506. "Index": {
  21507. "description": "序号",
  21508. "type": "integer"
  21509. },
  21510. "Key": {
  21511. "description": "键名",
  21512. "type": "string"
  21513. },
  21514. "Name": {
  21515. "description": "菜单名称",
  21516. "type": "string"
  21517. },
  21518. "SubMenus": {
  21519. "description": "子菜单",
  21520. "type": "array",
  21521. "items": {
  21522. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21523. }
  21524. },
  21525. "SubTitleType": {
  21526. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21527. "type": "integer"
  21528. },
  21529. "TradeModes": {
  21530. "description": "包含市场交易类型",
  21531. "type": "string"
  21532. }
  21533. }
  21534. },
  21535. "models.QuoteSecondaryMenu": {
  21536. "type": "object",
  21537. "properties": {
  21538. "ExExchangeCode": {
  21539. "description": "外部交易所代码",
  21540. "type": "string"
  21541. },
  21542. "ExExchangeID": {
  21543. "description": "外部交易所ID",
  21544. "type": "integer"
  21545. },
  21546. "GoodsGroupIDs": {
  21547. "description": "商品组ID列表",
  21548. "type": "array",
  21549. "items": {
  21550. "type": "integer"
  21551. }
  21552. },
  21553. "Index": {
  21554. "description": "序号",
  21555. "type": "integer"
  21556. },
  21557. "MarketID": {
  21558. "description": "市场ID",
  21559. "type": "integer"
  21560. },
  21561. "MenuTitle": {
  21562. "description": "菜单标题(市场名称或外部交易所名称)",
  21563. "type": "string"
  21564. },
  21565. "TradeMode": {
  21566. "description": "交易模式",
  21567. "type": "integer"
  21568. }
  21569. }
  21570. },
  21571. "models.RelatedGoodsEx": {
  21572. "type": "object",
  21573. "properties": {
  21574. "goodscode": {
  21575. "description": "商品代码",
  21576. "type": "string"
  21577. },
  21578. "goodsid": {
  21579. "description": "商品id",
  21580. "type": "integer"
  21581. },
  21582. "goodsname": {
  21583. "description": "商品名称",
  21584. "type": "string"
  21585. }
  21586. }
  21587. },
  21588. "models.SearchGoods": {
  21589. "type": "object",
  21590. "required": [
  21591. "goodscode",
  21592. "goodsid",
  21593. "goodsname",
  21594. "marketid",
  21595. "trademode"
  21596. ],
  21597. "properties": {
  21598. "goodscode": {
  21599. "description": "商品代码(内部)",
  21600. "type": "string"
  21601. },
  21602. "goodsid": {
  21603. "description": "商品ID(自增ID SEQ_GOODS)",
  21604. "type": "integer"
  21605. },
  21606. "goodsname": {
  21607. "description": "商品名称",
  21608. "type": "string"
  21609. },
  21610. "marketid": {
  21611. "description": "所属市场ID",
  21612. "type": "integer"
  21613. },
  21614. "marketname": {
  21615. "description": "市场名称",
  21616. "type": "string"
  21617. },
  21618. "trademode": {
  21619. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21620. "type": "integer"
  21621. }
  21622. }
  21623. },
  21624. "models.Systemparam": {
  21625. "type": "object",
  21626. "required": [
  21627. "paramcode"
  21628. ],
  21629. "properties": {
  21630. "loginid": {
  21631. "description": "更新用户账号,登录账号",
  21632. "type": "string"
  21633. },
  21634. "modifyflag": {
  21635. "description": "修改标志0 不允许修改 1 允许修改",
  21636. "type": "integer"
  21637. },
  21638. "paramcode": {
  21639. "description": "参数代码",
  21640. "type": "string"
  21641. },
  21642. "paramname": {
  21643. "description": "参数名",
  21644. "type": "string"
  21645. },
  21646. "paramtype": {
  21647. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21648. "type": "integer"
  21649. },
  21650. "paramvalue": {
  21651. "description": "参数值",
  21652. "type": "string"
  21653. },
  21654. "paramvalue2": {
  21655. "description": "参数值(CLOB)",
  21656. "type": "string"
  21657. },
  21658. "regexpress": {
  21659. "description": "正则表达式",
  21660. "type": "string"
  21661. },
  21662. "remark": {
  21663. "description": "备注",
  21664. "type": "string"
  21665. },
  21666. "serverip": {
  21667. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21668. "type": "string"
  21669. },
  21670. "showflag": {
  21671. "description": "是否显示0 不显示 1 显示",
  21672. "type": "integer"
  21673. },
  21674. "updatetime": {
  21675. "description": "更新时间",
  21676. "type": "string"
  21677. },
  21678. "userid": {
  21679. "description": "更新用户ID",
  21680. "type": "integer"
  21681. }
  21682. }
  21683. },
  21684. "models.Szdz3convertconfig": {
  21685. "type": "object",
  21686. "required": [
  21687. "converttype",
  21688. "innergoodsid",
  21689. "outergoodscode"
  21690. ],
  21691. "properties": {
  21692. "canin": {
  21693. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21694. "type": "integer"
  21695. },
  21696. "canout": {
  21697. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21698. "type": "integer"
  21699. },
  21700. "converttype": {
  21701. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21702. "type": "integer"
  21703. },
  21704. "createtime": {
  21705. "description": "创建时间",
  21706. "type": "string"
  21707. },
  21708. "creatorid": {
  21709. "description": "创建人",
  21710. "type": "integer"
  21711. },
  21712. "daymaxvalue": {
  21713. "description": "当日最大转入限制",
  21714. "type": "number"
  21715. },
  21716. "freezedays": {
  21717. "description": "冻结天数 [5:花生米转交易]",
  21718. "type": "integer"
  21719. },
  21720. "innergoodsid": {
  21721. "description": "内部商品ID[交易]",
  21722. "type": "integer"
  21723. },
  21724. "inratio": {
  21725. "description": "目标值",
  21726. "type": "integer"
  21727. },
  21728. "modifierid": {
  21729. "description": "修改人",
  21730. "type": "integer"
  21731. },
  21732. "modifytime": {
  21733. "description": "修改时间",
  21734. "type": "string"
  21735. },
  21736. "outergoodscode": {
  21737. "description": "外部商品代码[JD\\PD]",
  21738. "type": "string"
  21739. },
  21740. "outratio": {
  21741. "description": "源值",
  21742. "type": "integer"
  21743. },
  21744. "pddecimalplace": {
  21745. "description": "PD小数位",
  21746. "type": "integer"
  21747. },
  21748. "timemaxvalue": {
  21749. "description": "单次最大转入限制",
  21750. "type": "number"
  21751. },
  21752. "timeminvalue": {
  21753. "description": "单次最小转入限制",
  21754. "type": "number"
  21755. }
  21756. }
  21757. },
  21758. "models.Szdz3searchwhitelist": {
  21759. "type": "object",
  21760. "required": [
  21761. "userid"
  21762. ],
  21763. "properties": {
  21764. "createtime": {
  21765. "description": "创建时间",
  21766. "type": "string"
  21767. },
  21768. "creatorid": {
  21769. "description": "创建人",
  21770. "type": "integer"
  21771. },
  21772. "modifierid": {
  21773. "description": "修改人",
  21774. "type": "integer"
  21775. },
  21776. "modifytime": {
  21777. "description": "修改时间",
  21778. "type": "string"
  21779. },
  21780. "userid": {
  21781. "description": "用户ID",
  21782. "type": "integer"
  21783. }
  21784. }
  21785. },
  21786. "models.Taaccount": {
  21787. "type": "object",
  21788. "required": [
  21789. "accountid",
  21790. "userid"
  21791. ],
  21792. "properties": {
  21793. "accountflag": {
  21794. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21795. "type": "integer"
  21796. },
  21797. "accountid": {
  21798. "description": "资金账户ID",
  21799. "type": "integer"
  21800. },
  21801. "accountname": {
  21802. "description": "账户名称",
  21803. "type": "string"
  21804. },
  21805. "balance": {
  21806. "description": "期初余额",
  21807. "type": "number"
  21808. },
  21809. "capitalbalance": {
  21810. "description": "本金余额[外部子账户实际出入金余额]",
  21811. "type": "number"
  21812. },
  21813. "changeflag": {
  21814. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21815. "type": "integer"
  21816. },
  21817. "changetime": {
  21818. "description": "账户状态变更时间",
  21819. "type": "string"
  21820. },
  21821. "closepl": {
  21822. "description": "今日平仓盈亏",
  21823. "type": "number"
  21824. },
  21825. "creditdecrease": {
  21826. "description": "今日授信减少",
  21827. "type": "number"
  21828. },
  21829. "creditincrease": {
  21830. "description": "今日授信增加",
  21831. "type": "number"
  21832. },
  21833. "currencyid": {
  21834. "description": "货币ID",
  21835. "type": "integer"
  21836. },
  21837. "currentbalance": {
  21838. "description": "期末余额",
  21839. "type": "number"
  21840. },
  21841. "freezecharge": {
  21842. "description": "手续费冻结",
  21843. "type": "number"
  21844. },
  21845. "freezemargin": {
  21846. "description": "冻结保证金",
  21847. "type": "number"
  21848. },
  21849. "fromaccountid": {
  21850. "description": "所属上级账户",
  21851. "type": "integer"
  21852. },
  21853. "inamount": {
  21854. "description": "今日入金金额(包括三方入金)",
  21855. "type": "number"
  21856. },
  21857. "ismain": {
  21858. "description": "是否母账号 0:不是母账户 1:是母账户",
  21859. "type": "integer"
  21860. },
  21861. "ismarketaccount": {
  21862. "description": "是否机构接单账号 0:不是 1:是",
  21863. "type": "integer"
  21864. },
  21865. "isreckonaccount": {
  21866. "description": "是否机构分润账号 0:不是 1:是",
  21867. "type": "integer"
  21868. },
  21869. "mortgagecredit": {
  21870. "description": "授信金额",
  21871. "type": "number"
  21872. },
  21873. "orifreezecharge": {
  21874. "description": "期初手续费冻结",
  21875. "type": "number"
  21876. },
  21877. "orifreezemargin": {
  21878. "description": "期初冻结保证金",
  21879. "type": "number"
  21880. },
  21881. "orimortgagecredit": {
  21882. "description": "期初授信金额",
  21883. "type": "number"
  21884. },
  21885. "oriothercredit": {
  21886. "description": "期初其它授信金额",
  21887. "type": "number"
  21888. },
  21889. "oriotherfreezemargin": {
  21890. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21891. "type": "number"
  21892. },
  21893. "orioutamountfreeze": {
  21894. "description": "期初出金冻结",
  21895. "type": "number"
  21896. },
  21897. "oriusedmargin": {
  21898. "description": "期初占用保证金",
  21899. "type": "number"
  21900. },
  21901. "othercredit": {
  21902. "description": "其它授信金额",
  21903. "type": "number"
  21904. },
  21905. "othercreditdecrease": {
  21906. "description": "今日其它授信减少",
  21907. "type": "number"
  21908. },
  21909. "othercreditincrease": {
  21910. "description": "今日其它授信增加",
  21911. "type": "number"
  21912. },
  21913. "otherfreezemargin": {
  21914. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21915. "type": "number"
  21916. },
  21917. "otherincome": {
  21918. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21919. "type": "number"
  21920. },
  21921. "otherpay": {
  21922. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21923. "type": "number"
  21924. },
  21925. "outamount": {
  21926. "description": "今日出金金额(包括三方出金)",
  21927. "type": "number"
  21928. },
  21929. "outamountfreeze": {
  21930. "description": "出金冻结",
  21931. "type": "number"
  21932. },
  21933. "outthreshold": {
  21934. "description": "出金阈值",
  21935. "type": "number"
  21936. },
  21937. "parentaccountid": {
  21938. "description": "所属根账号",
  21939. "type": "integer"
  21940. },
  21941. "paycharge": {
  21942. "description": "今日手续费支出",
  21943. "type": "number"
  21944. },
  21945. "relatedaccountstatus": {
  21946. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21947. "type": "integer"
  21948. },
  21949. "relateduserid": {
  21950. "description": "关联用户",
  21951. "type": "integer"
  21952. },
  21953. "serivcegroup": {
  21954. "description": "服务分组",
  21955. "type": "integer"
  21956. },
  21957. "signstatus": {
  21958. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21959. "type": "integer"
  21960. },
  21961. "sublevelpath": {
  21962. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21963. "type": "string"
  21964. },
  21965. "taaccounttype": {
  21966. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21967. "type": "integer"
  21968. },
  21969. "thirdinamount": {
  21970. "description": "今日三方入金",
  21971. "type": "number"
  21972. },
  21973. "thirdoutamount": {
  21974. "description": "今日三方出金",
  21975. "type": "number"
  21976. },
  21977. "tradestatus": {
  21978. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21979. "type": "integer"
  21980. },
  21981. "tradestatuschangetime": {
  21982. "description": "激活时间",
  21983. "type": "string"
  21984. },
  21985. "transferamount": {
  21986. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21987. "type": "number"
  21988. },
  21989. "usedmargin": {
  21990. "description": "占用保证金",
  21991. "type": "number"
  21992. },
  21993. "userid": {
  21994. "description": "用户ID",
  21995. "type": "integer"
  21996. }
  21997. }
  21998. },
  21999. "models.Tablecolumnconfig": {
  22000. "type": "object",
  22001. "required": [
  22002. "autoid"
  22003. ],
  22004. "properties": {
  22005. "aligntype": {
  22006. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22007. "type": "integer"
  22008. },
  22009. "autoid": {
  22010. "description": "AutoID",
  22011. "type": "integer"
  22012. },
  22013. "columnfield": {
  22014. "description": "列字段",
  22015. "type": "string"
  22016. },
  22017. "columntitle": {
  22018. "description": "列Title",
  22019. "type": "string"
  22020. },
  22021. "columnwidth": {
  22022. "description": "列宽",
  22023. "type": "string"
  22024. },
  22025. "formatterstring": {
  22026. "description": "格式化字符",
  22027. "type": "string"
  22028. },
  22029. "formattertype": {
  22030. "description": "格式化类型",
  22031. "type": "string"
  22032. },
  22033. "groupname": {
  22034. "description": "表头分组名称",
  22035. "type": "string"
  22036. },
  22037. "isshow": {
  22038. "description": "是否显示 - 0:不显示 1:显示",
  22039. "type": "integer"
  22040. },
  22041. "needsummary": {
  22042. "description": "是否需要汇总 - 0:不需要 1:需要",
  22043. "type": "integer"
  22044. },
  22045. "orderindex": {
  22046. "description": "顺序",
  22047. "type": "integer"
  22048. },
  22049. "remark": {
  22050. "description": "备注",
  22051. "type": "string"
  22052. },
  22053. "summarytype": {
  22054. "description": "汇总类型 - 1:加总 2:最后一个",
  22055. "type": "integer"
  22056. },
  22057. "tablekey": {
  22058. "description": "列表Key",
  22059. "type": "string"
  22060. }
  22061. }
  22062. },
  22063. "models.Useraccount": {
  22064. "type": "object",
  22065. "required": [
  22066. "userid"
  22067. ],
  22068. "properties": {
  22069. "accountname": {
  22070. "description": "账户名称(机构名称)",
  22071. "type": "string"
  22072. },
  22073. "accountstatus": {
  22074. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22075. "type": "integer"
  22076. },
  22077. "auditremark": {
  22078. "description": "审核备注",
  22079. "type": "string"
  22080. },
  22081. "audittime": {
  22082. "description": "审核时间",
  22083. "type": "string"
  22084. },
  22085. "audituserid": {
  22086. "description": "审核人",
  22087. "type": "integer"
  22088. },
  22089. "broker": {
  22090. "description": "所属经纪人ID",
  22091. "type": "integer"
  22092. },
  22093. "canceltime": {
  22094. "description": "销户时间",
  22095. "type": "string"
  22096. },
  22097. "canceluserid": {
  22098. "description": "销户人",
  22099. "type": "integer"
  22100. },
  22101. "createtime": {
  22102. "description": "创建时间",
  22103. "type": "string"
  22104. },
  22105. "creatorid": {
  22106. "description": "创建人",
  22107. "type": "integer"
  22108. },
  22109. "hasauth": {
  22110. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22111. "type": "integer"
  22112. },
  22113. "isanonymous": {
  22114. "description": "是否匿名下单 - 0:否 1:是",
  22115. "type": "integer"
  22116. },
  22117. "maxinvestornum": {
  22118. "description": "最大用户数(经纪会员下投资者个数)",
  22119. "type": "integer"
  22120. },
  22121. "memberuserid": {
  22122. "description": "所属会员ID",
  22123. "type": "integer"
  22124. },
  22125. "modifierid": {
  22126. "description": "修改人",
  22127. "type": "integer"
  22128. },
  22129. "modifyremark": {
  22130. "description": "变更备注",
  22131. "type": "string"
  22132. },
  22133. "modifystatus": {
  22134. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22135. "type": "integer"
  22136. },
  22137. "modifytime": {
  22138. "description": "修改时间",
  22139. "type": "string"
  22140. },
  22141. "parentuserid": {
  22142. "description": "所属机构ID",
  22143. "type": "integer"
  22144. },
  22145. "reckonaccountid": {
  22146. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22147. "type": "integer"
  22148. },
  22149. "refercount": {
  22150. "description": "推荐总人数",
  22151. "type": "integer"
  22152. },
  22153. "refereeuserid": {
  22154. "description": "推荐人ID",
  22155. "type": "integer"
  22156. },
  22157. "refernum": {
  22158. "description": "推荐码",
  22159. "type": "string"
  22160. },
  22161. "subarealevelpath": {
  22162. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22163. "type": "string"
  22164. },
  22165. "userid": {
  22166. "description": "用户ID",
  22167. "type": "integer"
  22168. },
  22169. "usertype": {
  22170. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22171. "type": "integer"
  22172. }
  22173. }
  22174. },
  22175. "models.Userfavoritegoods": {
  22176. "type": "object",
  22177. "required": [
  22178. "goodsid"
  22179. ],
  22180. "properties": {
  22181. "goodsid": {
  22182. "description": "商品ID",
  22183. "type": "integer"
  22184. }
  22185. }
  22186. },
  22187. "models.Userinfo": {
  22188. "type": "object",
  22189. "required": [
  22190. "userid"
  22191. ],
  22192. "properties": {
  22193. "address": {
  22194. "description": "地址",
  22195. "type": "string"
  22196. },
  22197. "attachment1": {
  22198. "description": "附件1",
  22199. "type": "string"
  22200. },
  22201. "attachment2": {
  22202. "description": "附件2",
  22203. "type": "string"
  22204. },
  22205. "bankaccount": {
  22206. "description": "银行帐号 (加密存储)",
  22207. "type": "string"
  22208. },
  22209. "bankaccountname": {
  22210. "description": "收款人名称",
  22211. "type": "string"
  22212. },
  22213. "bankcardfrontphotourl": {
  22214. "description": "银行卡正面照地址",
  22215. "type": "string"
  22216. },
  22217. "bankid": {
  22218. "description": "银行编码",
  22219. "type": "string"
  22220. },
  22221. "bankname": {
  22222. "description": "银行名称",
  22223. "type": "string"
  22224. },
  22225. "biznature": {
  22226. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22227. "type": "integer"
  22228. },
  22229. "bizscope": {
  22230. "description": "企业经营范围(企业)",
  22231. "type": "string"
  22232. },
  22233. "cardbackphotourl": {
  22234. "description": "证件背面图片地址",
  22235. "type": "string"
  22236. },
  22237. "cardfrontphotourl": {
  22238. "description": "证件正面图片地址",
  22239. "type": "string"
  22240. },
  22241. "cardnum": {
  22242. "description": "证件号码(加密存储)",
  22243. "type": "string"
  22244. },
  22245. "cardtypeid": {
  22246. "description": "证件类型ID",
  22247. "type": "integer"
  22248. },
  22249. "cityid": {
  22250. "description": "市",
  22251. "type": "integer"
  22252. },
  22253. "company": {
  22254. "description": "公司(个人)",
  22255. "type": "string"
  22256. },
  22257. "contactname": {
  22258. "description": "联系人",
  22259. "type": "string"
  22260. },
  22261. "countryid": {
  22262. "description": "国家",
  22263. "type": "integer"
  22264. },
  22265. "createtime": {
  22266. "description": "创建时间",
  22267. "type": "string"
  22268. },
  22269. "creatorid": {
  22270. "description": "创建人",
  22271. "type": "integer"
  22272. },
  22273. "customername": {
  22274. "description": "客户名称(企业名称)",
  22275. "type": "string"
  22276. },
  22277. "districtid": {
  22278. "description": "地区",
  22279. "type": "integer"
  22280. },
  22281. "email": {
  22282. "description": "邮件(加密存储)",
  22283. "type": "string"
  22284. },
  22285. "fax": {
  22286. "description": "传真(加密存储)",
  22287. "type": "string"
  22288. },
  22289. "halfbodyphotourl": {
  22290. "description": "半身照地址",
  22291. "type": "string"
  22292. },
  22293. "hasencrypt": {
  22294. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22295. "type": "integer"
  22296. },
  22297. "headurl": {
  22298. "description": "头像地址",
  22299. "type": "string"
  22300. },
  22301. "legalcardbackphotourl": {
  22302. "description": "法人身份证背面照地址",
  22303. "type": "string"
  22304. },
  22305. "legalcardfrontphotourl": {
  22306. "description": "法人身份证正面照地址",
  22307. "type": "string"
  22308. },
  22309. "legalpersonname": {
  22310. "description": "法人姓名(企业)",
  22311. "type": "string"
  22312. },
  22313. "mobile": {
  22314. "description": "手机号码(加密存储)",
  22315. "type": "string"
  22316. },
  22317. "mobile2": {
  22318. "description": "手机号码[明文-尚志]",
  22319. "type": "string"
  22320. },
  22321. "modifierid": {
  22322. "description": "修改人",
  22323. "type": "integer"
  22324. },
  22325. "modifiertime": {
  22326. "description": "修改时间",
  22327. "type": "string"
  22328. },
  22329. "needinvoice": {
  22330. "description": "是否需要发票 - 0:不需要 1:需要",
  22331. "type": "integer"
  22332. },
  22333. "nickname": {
  22334. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22335. "type": "string"
  22336. },
  22337. "openmode": {
  22338. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22339. "type": "integer"
  22340. },
  22341. "otherurl": {
  22342. "description": "其它图片地址[使用分号分隔]",
  22343. "type": "string"
  22344. },
  22345. "postalcode": {
  22346. "description": "邮政编码",
  22347. "type": "string"
  22348. },
  22349. "provinceid": {
  22350. "description": "省",
  22351. "type": "integer"
  22352. },
  22353. "qq": {
  22354. "description": "QQ(加密存储",
  22355. "type": "string"
  22356. },
  22357. "remark": {
  22358. "description": "备注",
  22359. "type": "string"
  22360. },
  22361. "sex": {
  22362. "description": "用户性别 0: 女 1: 男",
  22363. "type": "integer"
  22364. },
  22365. "signpdfurl": {
  22366. "description": "签约pdf文件",
  22367. "type": "string"
  22368. },
  22369. "telphone": {
  22370. "description": "联系电话(加密存储)",
  22371. "type": "string"
  22372. },
  22373. "userid": {
  22374. "description": "用户ID",
  22375. "type": "integer"
  22376. },
  22377. "userinfotype": {
  22378. "description": "用户信息类型 - 1:个人 2:企业",
  22379. "type": "integer"
  22380. },
  22381. "userstatus": {
  22382. "description": "用户状态 - 1:正常 2:注销",
  22383. "type": "integer"
  22384. },
  22385. "usertype": {
  22386. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22387. "type": "integer"
  22388. },
  22389. "wechat": {
  22390. "description": "微信(加密存储)",
  22391. "type": "string"
  22392. },
  22393. "wskhinfo": {
  22394. "description": "开户申请信息(JSON)",
  22395. "type": "string"
  22396. }
  22397. }
  22398. },
  22399. "models.WRSConverTDetail": {
  22400. "type": "object",
  22401. "properties": {
  22402. "convertratio": {
  22403. "description": "套保系数",
  22404. "type": "number"
  22405. },
  22406. "deliverygoodscode": {
  22407. "description": "现货商品代码",
  22408. "type": "string"
  22409. },
  22410. "deliverygoodsid": {
  22411. "description": "现货品种ID",
  22412. "type": "integer"
  22413. },
  22414. "deliverygoodsname": {
  22415. "description": "现货商品名称",
  22416. "type": "string"
  22417. },
  22418. "enumdicname": {
  22419. "description": "单位名称",
  22420. "type": "string"
  22421. },
  22422. "goodsunitid": {
  22423. "description": "套保品种单位id",
  22424. "type": "integer"
  22425. },
  22426. "middlegoodscode": {
  22427. "description": "套保品种代码",
  22428. "type": "string"
  22429. },
  22430. "middlegoodsid": {
  22431. "description": "套保品种ID",
  22432. "type": "integer"
  22433. },
  22434. "middlegoodsname": {
  22435. "description": "套保品种名称",
  22436. "type": "string"
  22437. },
  22438. "modifytime": {
  22439. "description": "修改时间",
  22440. "type": "string"
  22441. },
  22442. "wrstandardid": {
  22443. "description": "品类ID",
  22444. "type": "integer"
  22445. }
  22446. }
  22447. },
  22448. "models.WRStandardInfo": {
  22449. "type": "object",
  22450. "required": [
  22451. "wrstandardid"
  22452. ],
  22453. "properties": {
  22454. "areauserid": {
  22455. "description": "所属机构",
  22456. "type": "integer"
  22457. },
  22458. "convertfactor": {
  22459. "description": "标仓系数",
  22460. "type": "number"
  22461. },
  22462. "createtime": {
  22463. "description": "创建时间",
  22464. "type": "string"
  22465. },
  22466. "creatorid": {
  22467. "description": "创建人",
  22468. "type": "integer"
  22469. },
  22470. "deliverygoodsid": {
  22471. "description": "品种ID",
  22472. "type": "integer"
  22473. },
  22474. "deliverygoodsname": {
  22475. "description": "交割商品名称",
  22476. "type": "string"
  22477. },
  22478. "factoryitemjson": {
  22479. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22480. "type": "string"
  22481. },
  22482. "isvalid": {
  22483. "description": "是否有效 - 0:无效 1:有效",
  22484. "type": "integer"
  22485. },
  22486. "minivalue": {
  22487. "description": "最小变动值",
  22488. "type": "integer"
  22489. },
  22490. "minivaluedp": {
  22491. "description": "最小变动值小数位",
  22492. "type": "integer"
  22493. },
  22494. "realminivalue": {
  22495. "description": "实际最小变动值",
  22496. "type": "integer"
  22497. },
  22498. "realminivaluedp": {
  22499. "description": "实际最小变动值小数位",
  22500. "type": "integer"
  22501. },
  22502. "remark": {
  22503. "description": "备注",
  22504. "type": "string"
  22505. },
  22506. "unitid": {
  22507. "description": "单位ID",
  22508. "type": "integer"
  22509. },
  22510. "unitname": {
  22511. "description": "单位",
  22512. "type": "string"
  22513. },
  22514. "updatetime": {
  22515. "description": "更新时间",
  22516. "type": "string"
  22517. },
  22518. "updatorid": {
  22519. "description": "更新人",
  22520. "type": "integer"
  22521. },
  22522. "wrsstatus": {
  22523. "description": "状态 - 作废 - 0:未激活 1:正常",
  22524. "type": "integer"
  22525. },
  22526. "wrstandardcode": {
  22527. "description": "现货品类代码",
  22528. "type": "string"
  22529. },
  22530. "wrstandardid": {
  22531. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22532. "type": "integer"
  22533. },
  22534. "wrstandardname": {
  22535. "description": "现货品类名称",
  22536. "type": "string"
  22537. }
  22538. }
  22539. },
  22540. "models.Warehouseinfo": {
  22541. "type": "object",
  22542. "required": [
  22543. "autoid",
  22544. "warehousecode"
  22545. ],
  22546. "properties": {
  22547. "address": {
  22548. "description": "详细地址",
  22549. "type": "string"
  22550. },
  22551. "areauserid": {
  22552. "description": "所属机构",
  22553. "type": "integer"
  22554. },
  22555. "autoid": {
  22556. "description": "自增ID",
  22557. "type": "integer"
  22558. },
  22559. "cityid": {
  22560. "description": "市",
  22561. "type": "integer"
  22562. },
  22563. "contactname": {
  22564. "description": "联系人",
  22565. "type": "string"
  22566. },
  22567. "contactnum": {
  22568. "description": "联系电话",
  22569. "type": "string"
  22570. },
  22571. "countryid": {
  22572. "description": "国家",
  22573. "type": "integer"
  22574. },
  22575. "createtime": {
  22576. "description": "创建时间",
  22577. "type": "string"
  22578. },
  22579. "districtid": {
  22580. "description": "区",
  22581. "type": "integer"
  22582. },
  22583. "hasvideo": {
  22584. "description": "是否有视频 - 0:无 1:有",
  22585. "type": "integer"
  22586. },
  22587. "provinceid": {
  22588. "description": "省",
  22589. "type": "integer"
  22590. },
  22591. "remark": {
  22592. "description": "审核备注",
  22593. "type": "string"
  22594. },
  22595. "videourl": {
  22596. "description": "视频地址",
  22597. "type": "string"
  22598. },
  22599. "warehousecode": {
  22600. "description": "仓库代码",
  22601. "type": "string"
  22602. },
  22603. "warehousename": {
  22604. "description": "仓库名称",
  22605. "type": "string"
  22606. },
  22607. "warehousestatus": {
  22608. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22609. "type": "integer"
  22610. },
  22611. "warehousetype": {
  22612. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22613. "type": "integer"
  22614. }
  22615. }
  22616. },
  22617. "order.QueryHisTradeDetailRsp": {
  22618. "type": "object",
  22619. "required": [
  22620. "accountid",
  22621. "buyorsell",
  22622. "goodsid",
  22623. "histradedate",
  22624. "marketid",
  22625. "memberuserid",
  22626. "orderid",
  22627. "tradeamount",
  22628. "tradedate",
  22629. "tradeid",
  22630. "tradeprice",
  22631. "tradeqty",
  22632. "tradetime"
  22633. ],
  22634. "properties": {
  22635. "accountid": {
  22636. "description": "账户ID[报价币种]",
  22637. "type": "integer"
  22638. },
  22639. "buildtype": {
  22640. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22641. "type": "integer"
  22642. },
  22643. "buyorsell": {
  22644. "description": "方向 - 0:买 1:卖",
  22645. "type": "integer"
  22646. },
  22647. "charge": {
  22648. "description": "手续费",
  22649. "type": "number"
  22650. },
  22651. "closecharge": {
  22652. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22653. "type": "number"
  22654. },
  22655. "closeexchagechargevalue": {
  22656. "description": "平仓交易所手续费设置值",
  22657. "type": "number"
  22658. },
  22659. "closefeealgorithm": {
  22660. "description": "平仓手续费收取方式 1:比率 2:固定",
  22661. "type": "integer"
  22662. },
  22663. "closememberchargevalue": {
  22664. "description": "平仓会员手续费设置值",
  22665. "type": "number"
  22666. },
  22667. "closepl": {
  22668. "description": "平仓盈亏",
  22669. "type": "number"
  22670. },
  22671. "closepl2": {
  22672. "description": "平仓盈亏[逐笔]",
  22673. "type": "number"
  22674. },
  22675. "closeqty": {
  22676. "description": "平仓数量(先建后平操作 需要记录)",
  22677. "type": "integer"
  22678. },
  22679. "creditamount": {
  22680. "description": "授信金额",
  22681. "type": "number"
  22682. },
  22683. "gcaccountid": {
  22684. "description": "账户ID[合约币种]",
  22685. "type": "integer"
  22686. },
  22687. "goodscode": {
  22688. "description": "商品代码",
  22689. "type": "string"
  22690. },
  22691. "goodsid": {
  22692. "description": "商品ID",
  22693. "type": "integer"
  22694. },
  22695. "goodsname": {
  22696. "description": "商品名称",
  22697. "type": "string"
  22698. },
  22699. "histradedate": {
  22700. "description": "历史交易日",
  22701. "type": "string"
  22702. },
  22703. "intclosepl": {
  22704. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22705. "type": "integer"
  22706. },
  22707. "isconfirmexercise": {
  22708. "description": "是否确认行权- 0:否 1:是",
  22709. "type": "integer"
  22710. },
  22711. "ismain": {
  22712. "description": "是否主单 - 0:不是 1:是",
  22713. "type": "integer"
  22714. },
  22715. "ispreexercise": {
  22716. "description": "是否预申报- 0:否 1:是",
  22717. "type": "integer"
  22718. },
  22719. "isreckoned": {
  22720. "description": "是否结算 - 0:未结算 1:已结算",
  22721. "type": "integer"
  22722. },
  22723. "isvaliddata": {
  22724. "description": "是否有效 - 0:无效 1:有效",
  22725. "type": "integer"
  22726. },
  22727. "listingselecttype": {
  22728. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22729. "type": "integer"
  22730. },
  22731. "marketid": {
  22732. "description": "市场ID",
  22733. "type": "integer"
  22734. },
  22735. "marketname": {
  22736. "description": "市场名称",
  22737. "type": "string"
  22738. },
  22739. "matchaccountid": {
  22740. "description": "对手账号id",
  22741. "type": "integer"
  22742. },
  22743. "memberuserid": {
  22744. "description": "会员id 个人投资者 需要填写",
  22745. "type": "integer"
  22746. },
  22747. "opencharge": {
  22748. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22749. "type": "number"
  22750. },
  22751. "openexchagechargevalue": {
  22752. "description": "建仓交易所手续费设置值",
  22753. "type": "number"
  22754. },
  22755. "openfeealgorithm": {
  22756. "description": "建仓手续费收取方式 1:比率 2:固定",
  22757. "type": "integer"
  22758. },
  22759. "openmemberchargevalue": {
  22760. "description": "建仓会员手续费设置值",
  22761. "type": "number"
  22762. },
  22763. "openqty": {
  22764. "description": "开仓数量(先建后平操作 需要记录)",
  22765. "type": "integer"
  22766. },
  22767. "optiontype": {
  22768. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22769. "type": "integer"
  22770. },
  22771. "orderid": {
  22772. "description": "委托单号",
  22773. "type": "string"
  22774. },
  22775. "performanceplanid": {
  22776. "description": "履约计划ID[期权]",
  22777. "type": "integer"
  22778. },
  22779. "performancestatus": {
  22780. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22781. "type": "integer"
  22782. },
  22783. "preexerciseprice": {
  22784. "description": "预申报价格",
  22785. "type": "number"
  22786. },
  22787. "premium": {
  22788. "description": "权利金 - [持仓单的权利金]",
  22789. "type": "number"
  22790. },
  22791. "relatedouttradeid": {
  22792. "description": "关联外部成交单ID",
  22793. "type": "integer"
  22794. },
  22795. "status": {
  22796. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22797. "type": "integer"
  22798. },
  22799. "tradeamount": {
  22800. "description": "成交金额[账户币种,用于所有权]",
  22801. "type": "number"
  22802. },
  22803. "tradedate": {
  22804. "description": "交易日(yyyyMMdd)",
  22805. "type": "string"
  22806. },
  22807. "tradeid": {
  22808. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22809. "type": "string"
  22810. },
  22811. "trademode": {
  22812. "description": "交易模式",
  22813. "type": "integer"
  22814. },
  22815. "tradeprice": {
  22816. "description": "成交价格",
  22817. "type": "number"
  22818. },
  22819. "tradeproperty": {
  22820. "description": "交易属性",
  22821. "type": "integer"
  22822. },
  22823. "tradeqty": {
  22824. "description": "成交数量",
  22825. "type": "integer"
  22826. },
  22827. "tradetime": {
  22828. "description": "成交时间",
  22829. "type": "string"
  22830. },
  22831. "tradetype": {
  22832. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22833. "type": "integer"
  22834. }
  22835. }
  22836. },
  22837. "order.QueryHisTradeOrderDetailRsp": {
  22838. "type": "object",
  22839. "required": [
  22840. "accountid",
  22841. "buildtype",
  22842. "buyorsell",
  22843. "goodsid",
  22844. "histradedate",
  22845. "marketid",
  22846. "memberuserid",
  22847. "operatetype",
  22848. "orderid",
  22849. "orderqty",
  22850. "ordertime",
  22851. "pricemode",
  22852. "tradedate",
  22853. "validtype"
  22854. ],
  22855. "properties": {
  22856. "accountid": {
  22857. "description": "账户ID[报价币种]",
  22858. "type": "integer"
  22859. },
  22860. "buildtype": {
  22861. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22862. "type": "integer"
  22863. },
  22864. "buyorsell": {
  22865. "description": "买卖 - 0:买 1:卖",
  22866. "type": "integer"
  22867. },
  22868. "cancelorderid": {
  22869. "description": "撤单单号(撤单时填写)",
  22870. "type": "string"
  22871. },
  22872. "cancelqty": {
  22873. "description": "撤单数量",
  22874. "type": "integer"
  22875. },
  22876. "clientordertime": {
  22877. "description": "客户端委托时间",
  22878. "type": "string"
  22879. },
  22880. "clientticket": {
  22881. "description": "客户端流水号",
  22882. "type": "string"
  22883. },
  22884. "clienttype": {
  22885. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22886. "type": "integer"
  22887. },
  22888. "closeexchagechargevalue": {
  22889. "description": "平仓交易所手续费设置值",
  22890. "type": "number"
  22891. },
  22892. "closefeealgorithm": {
  22893. "description": "平仓手续费收取方式 1:比率 2:固定",
  22894. "type": "integer"
  22895. },
  22896. "closefreezecharge": {
  22897. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22898. "type": "number"
  22899. },
  22900. "closememberchargevalue": {
  22901. "description": "平仓会员手续费设置值",
  22902. "type": "number"
  22903. },
  22904. "closeqty": {
  22905. "description": "平仓数量(先建后平操作 需要记录)",
  22906. "type": "integer"
  22907. },
  22908. "closetradeqty": {
  22909. "description": "平仓成交数量(先建后平操作,需要记录)",
  22910. "type": "integer"
  22911. },
  22912. "closeunfreezecharge": {
  22913. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22914. "type": "number"
  22915. },
  22916. "delistingtype": {
  22917. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22918. "type": "integer"
  22919. },
  22920. "freezecharge": {
  22921. "description": "冻结手续费",
  22922. "type": "number"
  22923. },
  22924. "freezemargin": {
  22925. "description": "冻结保证金(冻结交易金额)",
  22926. "type": "number"
  22927. },
  22928. "gcaccountid": {
  22929. "description": "账户ID[合约币种]",
  22930. "type": "integer"
  22931. },
  22932. "goodscode": {
  22933. "description": "商品代码",
  22934. "type": "string"
  22935. },
  22936. "goodsid": {
  22937. "description": "商品ID",
  22938. "type": "integer"
  22939. },
  22940. "goodsname": {
  22941. "description": "商品名称",
  22942. "type": "string"
  22943. },
  22944. "histradedate": {
  22945. "description": "历史交易日",
  22946. "type": "string"
  22947. },
  22948. "isconfirmexercise": {
  22949. "description": "是否确认行权- 0:否 1:是",
  22950. "type": "integer"
  22951. },
  22952. "ispreexercise": {
  22953. "description": "是否预申报- 0:否 1:是",
  22954. "type": "integer"
  22955. },
  22956. "isvaliddata": {
  22957. "description": "是否有效 - 0:无效 1:有效",
  22958. "type": "integer"
  22959. },
  22960. "listingselecttype": {
  22961. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22962. "type": "integer"
  22963. },
  22964. "marginalgorithm": {
  22965. "description": "保证金收取方式 1:比率 2:固定",
  22966. "type": "integer"
  22967. },
  22968. "marginvalue": {
  22969. "description": "即市保证金设置值",
  22970. "type": "number"
  22971. },
  22972. "marketid": {
  22973. "description": "市场ID",
  22974. "type": "integer"
  22975. },
  22976. "marketmaxsub": {
  22977. "description": "市价最大偏移范围",
  22978. "type": "number"
  22979. },
  22980. "marketname": {
  22981. "description": "市场名称",
  22982. "type": "string"
  22983. },
  22984. "memberuserid": {
  22985. "description": "所属会员UserID",
  22986. "type": "integer"
  22987. },
  22988. "openexchagechargevalue": {
  22989. "description": "建仓交易所手续费设置值",
  22990. "type": "number"
  22991. },
  22992. "openfeealgorithm": {
  22993. "description": "建仓手续费收取方式 1:比率 2:固定",
  22994. "type": "integer"
  22995. },
  22996. "openfreezecharge": {
  22997. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22998. "type": "number"
  22999. },
  23000. "openmemberchargevalue": {
  23001. "description": "建仓会员手续费设置值",
  23002. "type": "number"
  23003. },
  23004. "openqty": {
  23005. "description": "开仓数量(先建后平操作,需要记录)",
  23006. "type": "integer"
  23007. },
  23008. "opentradeqty": {
  23009. "description": "开仓成交数量(先建后平操作,需要记录)",
  23010. "type": "integer"
  23011. },
  23012. "openunfreezecharge": {
  23013. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23014. "type": "number"
  23015. },
  23016. "operatetype": {
  23017. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23018. "type": "integer"
  23019. },
  23020. "operatorid": {
  23021. "description": "登录账号(LoginID)",
  23022. "type": "integer"
  23023. },
  23024. "optiontype": {
  23025. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23026. "type": "integer"
  23027. },
  23028. "orderid": {
  23029. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23030. "type": "string"
  23031. },
  23032. "orderprice": {
  23033. "description": "委托价格",
  23034. "type": "number"
  23035. },
  23036. "orderqty": {
  23037. "description": "委托数量",
  23038. "type": "integer"
  23039. },
  23040. "ordersrc": {
  23041. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23042. "type": "integer"
  23043. },
  23044. "orderstatus": {
  23045. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23046. "type": "integer"
  23047. },
  23048. "ordertime": {
  23049. "description": "委托时间",
  23050. "type": "string"
  23051. },
  23052. "preexerciseprice": {
  23053. "description": "预申报价格",
  23054. "type": "number"
  23055. },
  23056. "premium": {
  23057. "description": "权利金",
  23058. "type": "number"
  23059. },
  23060. "preorderid": {
  23061. "description": "关联预埋单号(止盈止损单时填写)",
  23062. "type": "string"
  23063. },
  23064. "pricemode": {
  23065. "description": "取价方式 - 1:市价 2: 限价",
  23066. "type": "integer"
  23067. },
  23068. "quoteid": {
  23069. "description": "报价单ID",
  23070. "type": "integer"
  23071. },
  23072. "relatedid": {
  23073. "description": "关联单号(交割单)",
  23074. "type": "string"
  23075. },
  23076. "retcode": {
  23077. "description": "错误代码",
  23078. "type": "integer"
  23079. },
  23080. "sessionid": {
  23081. "description": "会话ID",
  23082. "type": "integer"
  23083. },
  23084. "tradedate": {
  23085. "description": "交易日(yyyyMMdd)",
  23086. "type": "string"
  23087. },
  23088. "trademode": {
  23089. "description": "交易模式",
  23090. "type": "integer"
  23091. },
  23092. "tradeproperty": {
  23093. "description": "交易属性",
  23094. "type": "integer"
  23095. },
  23096. "tradeqty": {
  23097. "description": "成交数量",
  23098. "type": "integer"
  23099. },
  23100. "unfreezecharge": {
  23101. "description": "解冻手续费",
  23102. "type": "number"
  23103. },
  23104. "unfreezemargin": {
  23105. "description": "解冻保证金",
  23106. "type": "number"
  23107. },
  23108. "updatetime": {
  23109. "description": "更新时间",
  23110. "type": "string"
  23111. },
  23112. "uuid": {
  23113. "description": "发起端唯一id",
  23114. "type": "string"
  23115. },
  23116. "validtime": {
  23117. "description": "有效期限",
  23118. "type": "string"
  23119. },
  23120. "validtype": {
  23121. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23122. "type": "integer"
  23123. },
  23124. "volumetype": {
  23125. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23126. "type": "integer"
  23127. }
  23128. }
  23129. },
  23130. "order.QueryTradeDetailRsp": {
  23131. "type": "object",
  23132. "required": [
  23133. "accountid",
  23134. "buyorsell",
  23135. "goodsid",
  23136. "marketid",
  23137. "memberuserid",
  23138. "orderid",
  23139. "tradeamount",
  23140. "tradedate",
  23141. "tradeid",
  23142. "tradeprice",
  23143. "tradeqty",
  23144. "tradetime"
  23145. ],
  23146. "properties": {
  23147. "accountid": {
  23148. "description": "账户ID[报价币种]",
  23149. "type": "integer"
  23150. },
  23151. "buildtype": {
  23152. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23153. "type": "integer"
  23154. },
  23155. "buyorsell": {
  23156. "description": "方向 - 0:买 1:卖",
  23157. "type": "integer"
  23158. },
  23159. "charge": {
  23160. "description": "手续费",
  23161. "type": "number"
  23162. },
  23163. "closecharge": {
  23164. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23165. "type": "number"
  23166. },
  23167. "closeexchagechargevalue": {
  23168. "description": "平仓交易所手续费设置值",
  23169. "type": "number"
  23170. },
  23171. "closefeealgorithm": {
  23172. "description": "平仓手续费收取方式 1:比率 2:固定",
  23173. "type": "integer"
  23174. },
  23175. "closememberchargevalue": {
  23176. "description": "平仓会员手续费设置值",
  23177. "type": "number"
  23178. },
  23179. "closepl": {
  23180. "description": "平仓盈亏",
  23181. "type": "number"
  23182. },
  23183. "closepl2": {
  23184. "description": "平仓盈亏[逐笔]",
  23185. "type": "number"
  23186. },
  23187. "closeqty": {
  23188. "description": "平仓数量(先建后平操作 需要记录)",
  23189. "type": "integer"
  23190. },
  23191. "creditamount": {
  23192. "description": "授信金额",
  23193. "type": "number"
  23194. },
  23195. "gcaccountid": {
  23196. "description": "账户ID[合约币种]",
  23197. "type": "integer"
  23198. },
  23199. "goodscode": {
  23200. "description": "商品代码",
  23201. "type": "string"
  23202. },
  23203. "goodsid": {
  23204. "description": "商品ID",
  23205. "type": "integer"
  23206. },
  23207. "goodsname": {
  23208. "description": "商品名称",
  23209. "type": "string"
  23210. },
  23211. "intclosepl": {
  23212. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23213. "type": "integer"
  23214. },
  23215. "isconfirmexercise": {
  23216. "description": "是否确认行权- 0:否 1:是",
  23217. "type": "integer"
  23218. },
  23219. "ismain": {
  23220. "description": "是否主单 - 0:不是 1:是",
  23221. "type": "integer"
  23222. },
  23223. "ispreexercise": {
  23224. "description": "是否预申报- 0:否 1:是",
  23225. "type": "integer"
  23226. },
  23227. "isreckoned": {
  23228. "description": "是否结算 - 0:未结算 1:已结算",
  23229. "type": "integer"
  23230. },
  23231. "listingselecttype": {
  23232. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23233. "type": "integer"
  23234. },
  23235. "marketid": {
  23236. "description": "市场ID",
  23237. "type": "integer"
  23238. },
  23239. "marketname": {
  23240. "description": "市场名称",
  23241. "type": "string"
  23242. },
  23243. "matchaccountid": {
  23244. "description": "对手账号id",
  23245. "type": "integer"
  23246. },
  23247. "memberuserid": {
  23248. "description": "会员id 个人投资者 需要填写",
  23249. "type": "integer"
  23250. },
  23251. "opencharge": {
  23252. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23253. "type": "number"
  23254. },
  23255. "openexchagechargevalue": {
  23256. "description": "建仓交易所手续费设置值",
  23257. "type": "number"
  23258. },
  23259. "openfeealgorithm": {
  23260. "description": "建仓手续费收取方式 1:比率 2:固定",
  23261. "type": "integer"
  23262. },
  23263. "openmemberchargevalue": {
  23264. "description": "建仓会员手续费设置值",
  23265. "type": "number"
  23266. },
  23267. "openqty": {
  23268. "description": "开仓数量(先建后平操作 需要记录)",
  23269. "type": "integer"
  23270. },
  23271. "optiontype": {
  23272. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23273. "type": "integer"
  23274. },
  23275. "orderid": {
  23276. "description": "委托单号",
  23277. "type": "string"
  23278. },
  23279. "performanceplanid": {
  23280. "description": "履约计划ID[期权]",
  23281. "type": "integer"
  23282. },
  23283. "performancestatus": {
  23284. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23285. "type": "integer"
  23286. },
  23287. "preexerciseprice": {
  23288. "description": "预申报价格",
  23289. "type": "number"
  23290. },
  23291. "premium": {
  23292. "description": "权利金 - [持仓单的权利金]",
  23293. "type": "number"
  23294. },
  23295. "relatedouttradeid": {
  23296. "description": "关联外部成交单ID",
  23297. "type": "integer"
  23298. },
  23299. "status": {
  23300. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23301. "type": "integer"
  23302. },
  23303. "tradeamount": {
  23304. "description": "成交金额[账户币种,用于所有权]",
  23305. "type": "number"
  23306. },
  23307. "tradedate": {
  23308. "description": "交易日(yyyyMMdd)",
  23309. "type": "string"
  23310. },
  23311. "tradeid": {
  23312. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23313. "type": "string"
  23314. },
  23315. "trademode": {
  23316. "description": "交易模式",
  23317. "type": "integer"
  23318. },
  23319. "tradeprice": {
  23320. "description": "成交价格",
  23321. "type": "number"
  23322. },
  23323. "tradeproperty": {
  23324. "description": "交易属性",
  23325. "type": "integer"
  23326. },
  23327. "tradeqty": {
  23328. "description": "成交数量",
  23329. "type": "integer"
  23330. },
  23331. "tradetime": {
  23332. "description": "成交时间",
  23333. "type": "string"
  23334. },
  23335. "tradetype": {
  23336. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23337. "type": "integer"
  23338. }
  23339. }
  23340. },
  23341. "order.QueryTradeOrderDetailRsp": {
  23342. "type": "object",
  23343. "required": [
  23344. "accountid",
  23345. "buildtype",
  23346. "buyorsell",
  23347. "goodsid",
  23348. "marketid",
  23349. "operatetype",
  23350. "orderqty",
  23351. "ordertime",
  23352. "pricemode",
  23353. "tradedate",
  23354. "validtype"
  23355. ],
  23356. "properties": {
  23357. "accountid": {
  23358. "description": "账户ID[报价币种]",
  23359. "type": "integer"
  23360. },
  23361. "buildtype": {
  23362. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23363. "type": "integer"
  23364. },
  23365. "buyorsell": {
  23366. "description": "买卖 - 0:买 1:卖",
  23367. "type": "integer"
  23368. },
  23369. "cancelorderid": {
  23370. "description": "撤单单号(撤单时填写)",
  23371. "type": "string"
  23372. },
  23373. "cancelqty": {
  23374. "description": "撤单数量",
  23375. "type": "integer"
  23376. },
  23377. "clienttype": {
  23378. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23379. "type": "integer"
  23380. },
  23381. "closefreezecharge": {
  23382. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23383. "type": "number"
  23384. },
  23385. "closeqty": {
  23386. "description": "平仓数量(先建后平操作 需要记录)",
  23387. "type": "integer"
  23388. },
  23389. "closetradeqty": {
  23390. "description": "平仓成交数量(先建后平操作,需要记录)",
  23391. "type": "integer"
  23392. },
  23393. "closeunfreezecharge": {
  23394. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23395. "type": "number"
  23396. },
  23397. "delistingtype": {
  23398. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23399. "type": "integer"
  23400. },
  23401. "enableqty": {
  23402. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23403. "type": "integer"
  23404. },
  23405. "freezecharge": {
  23406. "description": "冻结手续费",
  23407. "type": "number"
  23408. },
  23409. "freezemargin": {
  23410. "description": "冻结保证金(冻结交易金额)",
  23411. "type": "number"
  23412. },
  23413. "goodscode": {
  23414. "description": "商品代码",
  23415. "type": "string"
  23416. },
  23417. "goodsid": {
  23418. "description": "商品ID",
  23419. "type": "integer"
  23420. },
  23421. "goodsname": {
  23422. "description": "商品名称",
  23423. "type": "string"
  23424. },
  23425. "listingselecttype": {
  23426. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23427. "type": "integer"
  23428. },
  23429. "marketid": {
  23430. "description": "市场ID",
  23431. "type": "integer"
  23432. },
  23433. "marketname": {
  23434. "description": "市场名称",
  23435. "type": "string"
  23436. },
  23437. "openfreezecharge": {
  23438. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23439. "type": "number"
  23440. },
  23441. "openqty": {
  23442. "description": "开仓数量(先建后平操作,需要记录)",
  23443. "type": "integer"
  23444. },
  23445. "opentradeqty": {
  23446. "description": "开仓成交数量(先建后平操作,需要记录)",
  23447. "type": "integer"
  23448. },
  23449. "openunfreezecharge": {
  23450. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23451. "type": "number"
  23452. },
  23453. "operatetype": {
  23454. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23455. "type": "integer"
  23456. },
  23457. "operatorid": {
  23458. "description": "登录账号(LoginID)",
  23459. "type": "integer"
  23460. },
  23461. "orderid": {
  23462. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23463. "type": "string"
  23464. },
  23465. "orderprice": {
  23466. "description": "委托价格",
  23467. "type": "number"
  23468. },
  23469. "orderqty": {
  23470. "description": "委托数量",
  23471. "type": "integer"
  23472. },
  23473. "ordersrc": {
  23474. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23475. "type": "integer"
  23476. },
  23477. "orderstatus": {
  23478. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23479. "type": "integer"
  23480. },
  23481. "ordertime": {
  23482. "description": "委托时间",
  23483. "type": "string"
  23484. },
  23485. "preorderid": {
  23486. "description": "关联预埋单号(止盈止损单时填写)",
  23487. "type": "string"
  23488. },
  23489. "pricemode": {
  23490. "description": "取价方式 - 1:市价 2: 限价",
  23491. "type": "integer"
  23492. },
  23493. "relatedid": {
  23494. "description": "关联单号(交割单)",
  23495. "type": "string"
  23496. },
  23497. "tradedate": {
  23498. "description": "交易日(yyyyMMdd)",
  23499. "type": "string"
  23500. },
  23501. "trademode": {
  23502. "description": "交易模式",
  23503. "type": "integer"
  23504. },
  23505. "tradeqty": {
  23506. "description": "成交数量",
  23507. "type": "integer"
  23508. },
  23509. "unfreezecharge": {
  23510. "description": "解冻手续费",
  23511. "type": "number"
  23512. },
  23513. "unfreezemargin": {
  23514. "description": "解冻保证金",
  23515. "type": "number"
  23516. },
  23517. "validtime": {
  23518. "description": "有效期限",
  23519. "type": "string"
  23520. },
  23521. "validtype": {
  23522. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23523. "type": "integer"
  23524. },
  23525. "volumetype": {
  23526. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23527. "type": "integer"
  23528. }
  23529. }
  23530. },
  23531. "order.QueryTradePositionRsp": {
  23532. "type": "object",
  23533. "required": [
  23534. "goodsid"
  23535. ],
  23536. "properties": {
  23537. "accountid": {
  23538. "description": "资金账户",
  23539. "type": "integer"
  23540. },
  23541. "agreeunit": {
  23542. "description": "合约单位",
  23543. "type": "number"
  23544. },
  23545. "averageprice": {
  23546. "description": "持仓均价",
  23547. "type": "number"
  23548. },
  23549. "buyorsell": {
  23550. "description": "方向 - 0:买 1:卖",
  23551. "type": "integer"
  23552. },
  23553. "closetotalqty": {
  23554. "description": "平仓总数量",
  23555. "type": "integer"
  23556. },
  23557. "curholderamount": {
  23558. "description": "当前持仓总金额[商品币种]",
  23559. "type": "number"
  23560. },
  23561. "curpositionqty": {
  23562. "description": "当前持仓总数量",
  23563. "type": "integer"
  23564. },
  23565. "currencyid": {
  23566. "description": "报价货币ID",
  23567. "type": "integer"
  23568. },
  23569. "curtdposition": {
  23570. "description": "期末今日头寸",
  23571. "type": "integer"
  23572. },
  23573. "decimalplace": {
  23574. "description": "报价小数位",
  23575. "type": "integer"
  23576. },
  23577. "enableqty": {
  23578. "description": "可用量",
  23579. "type": "integer"
  23580. },
  23581. "fretdposition": {
  23582. "description": "冻结今日头寸",
  23583. "type": "integer"
  23584. },
  23585. "frozenqty": {
  23586. "description": "持仓冻结数量",
  23587. "type": "integer"
  23588. },
  23589. "goodscode": {
  23590. "description": "商品代码",
  23591. "type": "string"
  23592. },
  23593. "goodsid": {
  23594. "description": "商品Id",
  23595. "type": "integer"
  23596. },
  23597. "goodsname": {
  23598. "description": "商品名称",
  23599. "type": "string"
  23600. },
  23601. "goodunit": {
  23602. "description": "报价单位",
  23603. "type": "string"
  23604. },
  23605. "goodunitid": {
  23606. "description": "报价单位ID",
  23607. "type": "integer"
  23608. },
  23609. "holderamount": {
  23610. "description": "期初持仓总金额[商品币种]",
  23611. "type": "number"
  23612. },
  23613. "marketid": {
  23614. "description": "所属市场ID",
  23615. "type": "integer"
  23616. },
  23617. "openreqqty": {
  23618. "description": "开仓申请数量(用于比较最大持仓数量)",
  23619. "type": "integer"
  23620. },
  23621. "opentotalqty": {
  23622. "description": "开仓总数量",
  23623. "type": "integer"
  23624. },
  23625. "otherfrozenqty": {
  23626. "description": "持仓其他冻结数量(交割冻结)",
  23627. "type": "integer"
  23628. },
  23629. "positionqty": {
  23630. "description": "期初持仓数量",
  23631. "type": "integer"
  23632. },
  23633. "tnqty": {
  23634. "description": "T+N冻结总量",
  23635. "type": "integer"
  23636. },
  23637. "tnusedqty": {
  23638. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23639. "type": "integer"
  23640. },
  23641. "trademode": {
  23642. "description": "交易模式",
  23643. "type": "integer"
  23644. },
  23645. "usedmargin": {
  23646. "description": "占用保证金[商品币种]",
  23647. "type": "number"
  23648. }
  23649. }
  23650. },
  23651. "quote.HistoryData": {
  23652. "type": "object",
  23653. "properties": {
  23654. "c": {
  23655. "description": "收盘价",
  23656. "type": "number"
  23657. },
  23658. "f": {
  23659. "description": "是否补充数据",
  23660. "type": "boolean"
  23661. },
  23662. "h": {
  23663. "description": "最高价",
  23664. "type": "number"
  23665. },
  23666. "hv": {
  23667. "description": "持仓量",
  23668. "type": "integer"
  23669. },
  23670. "l": {
  23671. "description": "最低价",
  23672. "type": "number"
  23673. },
  23674. "o": {
  23675. "description": "开盘价",
  23676. "type": "number"
  23677. },
  23678. "s": {
  23679. "description": "结算价,日线周期(包括)以上才有",
  23680. "type": "number"
  23681. },
  23682. "ts": {
  23683. "description": "时间",
  23684. "type": "string"
  23685. },
  23686. "tt": {
  23687. "description": "总金额",
  23688. "type": "number"
  23689. },
  23690. "tv": {
  23691. "description": "总量",
  23692. "type": "integer"
  23693. }
  23694. }
  23695. },
  23696. "quote.HistoryTikData": {
  23697. "type": "object",
  23698. "properties": {
  23699. "AV": {
  23700. "description": "卖量",
  23701. "type": "integer"
  23702. },
  23703. "Ask": {
  23704. "description": "卖价",
  23705. "type": "number"
  23706. },
  23707. "BV": {
  23708. "description": "买量",
  23709. "type": "integer"
  23710. },
  23711. "Bid": {
  23712. "description": "买价",
  23713. "type": "number"
  23714. },
  23715. "HI": {
  23716. "description": "单笔持仓",
  23717. "type": "integer"
  23718. },
  23719. "HV": {
  23720. "description": "持仓量",
  23721. "type": "integer"
  23722. },
  23723. "PE": {
  23724. "description": "现价",
  23725. "type": "number"
  23726. },
  23727. "TDR": {
  23728. "description": "交易方向,0:买 1:卖",
  23729. "type": "integer"
  23730. },
  23731. "TK": {
  23732. "description": "交易类型",
  23733. "type": "integer"
  23734. },
  23735. "TS": {
  23736. "description": "行情时间文本",
  23737. "type": "string"
  23738. },
  23739. "TT": {
  23740. "description": "现金额",
  23741. "type": "number"
  23742. },
  23743. "Vol": {
  23744. "description": "现量",
  23745. "type": "integer"
  23746. }
  23747. }
  23748. },
  23749. "quote.QueryQuoteDayRsp": {
  23750. "type": "object",
  23751. "properties": {
  23752. "ask": {
  23753. "description": "卖1",
  23754. "type": "number"
  23755. },
  23756. "ask10": {
  23757. "description": "卖10",
  23758. "type": "number"
  23759. },
  23760. "ask2": {
  23761. "description": "卖2",
  23762. "type": "number"
  23763. },
  23764. "ask3": {
  23765. "description": "卖3",
  23766. "type": "number"
  23767. },
  23768. "ask4": {
  23769. "description": "卖4",
  23770. "type": "number"
  23771. },
  23772. "ask5": {
  23773. "description": "卖5",
  23774. "type": "number"
  23775. },
  23776. "ask6": {
  23777. "description": "卖6",
  23778. "type": "number"
  23779. },
  23780. "ask7": {
  23781. "description": "卖7",
  23782. "type": "number"
  23783. },
  23784. "ask8": {
  23785. "description": "卖8",
  23786. "type": "number"
  23787. },
  23788. "ask9": {
  23789. "description": "卖9",
  23790. "type": "number"
  23791. },
  23792. "askorderid": {
  23793. "description": "卖单号1",
  23794. "type": "integer"
  23795. },
  23796. "askorderid2": {
  23797. "description": "卖单号2",
  23798. "type": "integer"
  23799. },
  23800. "askorderid3": {
  23801. "description": "卖单号3",
  23802. "type": "integer"
  23803. },
  23804. "askorderid4": {
  23805. "description": "卖单号4",
  23806. "type": "integer"
  23807. },
  23808. "askorderid5": {
  23809. "description": "卖单号5",
  23810. "type": "integer"
  23811. },
  23812. "askordervolume": {
  23813. "description": "卖单量1",
  23814. "type": "integer"
  23815. },
  23816. "askordervolume10": {
  23817. "description": "卖单量10",
  23818. "type": "integer"
  23819. },
  23820. "askordervolume2": {
  23821. "description": "卖单量2",
  23822. "type": "integer"
  23823. },
  23824. "askordervolume3": {
  23825. "description": "卖单量3",
  23826. "type": "integer"
  23827. },
  23828. "askordervolume4": {
  23829. "description": "卖单量4",
  23830. "type": "integer"
  23831. },
  23832. "askordervolume5": {
  23833. "description": "卖单量5",
  23834. "type": "integer"
  23835. },
  23836. "askordervolume6": {
  23837. "description": "卖单量6",
  23838. "type": "integer"
  23839. },
  23840. "askordervolume7": {
  23841. "description": "卖单量7",
  23842. "type": "integer"
  23843. },
  23844. "askordervolume8": {
  23845. "description": "卖单量8",
  23846. "type": "integer"
  23847. },
  23848. "askordervolume9": {
  23849. "description": "卖单量9",
  23850. "type": "integer"
  23851. },
  23852. "askqueueinfo": {
  23853. "description": "大利市卖港股用",
  23854. "type": "string"
  23855. },
  23856. "askvolume": {
  23857. "description": "卖量1",
  23858. "type": "integer"
  23859. },
  23860. "askvolume10": {
  23861. "description": "卖量10",
  23862. "type": "integer"
  23863. },
  23864. "askvolume2": {
  23865. "description": "卖量2",
  23866. "type": "integer"
  23867. },
  23868. "askvolume3": {
  23869. "description": "卖量3",
  23870. "type": "integer"
  23871. },
  23872. "askvolume4": {
  23873. "description": "卖量4",
  23874. "type": "integer"
  23875. },
  23876. "askvolume5": {
  23877. "description": "卖量5",
  23878. "type": "integer"
  23879. },
  23880. "askvolume6": {
  23881. "description": "卖量6",
  23882. "type": "integer"
  23883. },
  23884. "askvolume7": {
  23885. "description": "卖量7",
  23886. "type": "integer"
  23887. },
  23888. "askvolume8": {
  23889. "description": "卖量8",
  23890. "type": "integer"
  23891. },
  23892. "askvolume9": {
  23893. "description": "卖量9",
  23894. "type": "integer"
  23895. },
  23896. "averageprice": {
  23897. "description": "均价",
  23898. "type": "number"
  23899. },
  23900. "bid": {
  23901. "description": "买1",
  23902. "type": "number"
  23903. },
  23904. "bid10": {
  23905. "description": "买10",
  23906. "type": "number"
  23907. },
  23908. "bid2": {
  23909. "description": "买2",
  23910. "type": "number"
  23911. },
  23912. "bid3": {
  23913. "description": "买3",
  23914. "type": "number"
  23915. },
  23916. "bid4": {
  23917. "description": "买4",
  23918. "type": "number"
  23919. },
  23920. "bid5": {
  23921. "description": "买5",
  23922. "type": "number"
  23923. },
  23924. "bid6": {
  23925. "description": "买6",
  23926. "type": "number"
  23927. },
  23928. "bid7": {
  23929. "description": "买7",
  23930. "type": "number"
  23931. },
  23932. "bid8": {
  23933. "description": "买8",
  23934. "type": "number"
  23935. },
  23936. "bid9": {
  23937. "description": "买9",
  23938. "type": "number"
  23939. },
  23940. "bidorderid": {
  23941. "description": "买单号1",
  23942. "type": "integer"
  23943. },
  23944. "bidorderid2": {
  23945. "description": "买单号2",
  23946. "type": "integer"
  23947. },
  23948. "bidorderid3": {
  23949. "description": "买单号3",
  23950. "type": "integer"
  23951. },
  23952. "bidorderid4": {
  23953. "description": "买单号4",
  23954. "type": "integer"
  23955. },
  23956. "bidorderid5": {
  23957. "description": "买单号5",
  23958. "type": "integer"
  23959. },
  23960. "bidordervolume": {
  23961. "description": "买单量1",
  23962. "type": "integer"
  23963. },
  23964. "bidordervolume10": {
  23965. "description": "买单量10",
  23966. "type": "integer"
  23967. },
  23968. "bidordervolume2": {
  23969. "description": "买单量2",
  23970. "type": "integer"
  23971. },
  23972. "bidordervolume3": {
  23973. "description": "买单量3",
  23974. "type": "integer"
  23975. },
  23976. "bidordervolume4": {
  23977. "description": "买单量4",
  23978. "type": "integer"
  23979. },
  23980. "bidordervolume5": {
  23981. "description": "买单量5",
  23982. "type": "integer"
  23983. },
  23984. "bidordervolume6": {
  23985. "description": "买单量6",
  23986. "type": "integer"
  23987. },
  23988. "bidordervolume7": {
  23989. "description": "买单量7",
  23990. "type": "integer"
  23991. },
  23992. "bidordervolume8": {
  23993. "description": "买单量8",
  23994. "type": "integer"
  23995. },
  23996. "bidordervolume9": {
  23997. "description": "买单量9",
  23998. "type": "integer"
  23999. },
  24000. "bidqueueinfo": {
  24001. "description": "大利市买港股用",
  24002. "type": "string"
  24003. },
  24004. "bidvolume": {
  24005. "description": "买量1",
  24006. "type": "integer"
  24007. },
  24008. "bidvolume10": {
  24009. "description": "买量10",
  24010. "type": "integer"
  24011. },
  24012. "bidvolume2": {
  24013. "description": "买量2",
  24014. "type": "integer"
  24015. },
  24016. "bidvolume3": {
  24017. "description": "买量3",
  24018. "type": "integer"
  24019. },
  24020. "bidvolume4": {
  24021. "description": "买量4",
  24022. "type": "integer"
  24023. },
  24024. "bidvolume5": {
  24025. "description": "买量5",
  24026. "type": "integer"
  24027. },
  24028. "bidvolume6": {
  24029. "description": "买量6",
  24030. "type": "integer"
  24031. },
  24032. "bidvolume7": {
  24033. "description": "买量7",
  24034. "type": "integer"
  24035. },
  24036. "bidvolume8": {
  24037. "description": "买量8",
  24038. "type": "integer"
  24039. },
  24040. "bidvolume9": {
  24041. "description": "买量9",
  24042. "type": "integer"
  24043. },
  24044. "calloptionpremiums": {
  24045. "description": "认购期权1",
  24046. "type": "integer"
  24047. },
  24048. "calloptionpremiums2": {
  24049. "description": "认购期权2",
  24050. "type": "integer"
  24051. },
  24052. "calloptionpremiums3": {
  24053. "description": "认购期权3",
  24054. "type": "integer"
  24055. },
  24056. "calloptionpremiums4": {
  24057. "description": "认购期权4",
  24058. "type": "integer"
  24059. },
  24060. "calloptionpremiums5": {
  24061. "description": "认购期权5",
  24062. "type": "integer"
  24063. },
  24064. "cleartime": {
  24065. "description": "清盘时间",
  24066. "type": "integer"
  24067. },
  24068. "exchangecode": {
  24069. "description": "交易所代码",
  24070. "type": "integer"
  24071. },
  24072. "exchangedate": {
  24073. "description": "交易日",
  24074. "type": "integer"
  24075. },
  24076. "goodscode": {
  24077. "description": "商品代码",
  24078. "type": "string"
  24079. },
  24080. "grepmarketprice": {
  24081. "description": "暗盘价 港股专用",
  24082. "type": "number"
  24083. },
  24084. "highest": {
  24085. "description": "最高价",
  24086. "type": "number"
  24087. },
  24088. "holdincrement": {
  24089. "description": "单笔持仓",
  24090. "type": "integer"
  24091. },
  24092. "holdvolume": {
  24093. "description": "持仓",
  24094. "type": "integer"
  24095. },
  24096. "iep": {
  24097. "description": "平衡价 港股专用",
  24098. "type": "number"
  24099. },
  24100. "iev": {
  24101. "description": "平衡量 港股专用",
  24102. "type": "number"
  24103. },
  24104. "inventory": {
  24105. "description": "库存",
  24106. "type": "integer"
  24107. },
  24108. "iscleared": {
  24109. "description": "是否清盘标志",
  24110. "type": "integer"
  24111. },
  24112. "issettled": {
  24113. "description": "是否结算标志",
  24114. "type": "integer"
  24115. },
  24116. "last": {
  24117. "description": "最新价",
  24118. "type": "number"
  24119. },
  24120. "lastlot": {
  24121. "description": "最新成交手数",
  24122. "type": "integer"
  24123. },
  24124. "lasttime": {
  24125. "description": "行情时间(只有现价变化行情时间才变化)",
  24126. "type": "string"
  24127. },
  24128. "lastturnover": {
  24129. "description": "最新成交金额",
  24130. "type": "number"
  24131. },
  24132. "lastvolume": {
  24133. "description": "最新成交量",
  24134. "type": "integer"
  24135. },
  24136. "limitdown": {
  24137. "description": "跌停价",
  24138. "type": "number"
  24139. },
  24140. "limitup": {
  24141. "description": "涨停价",
  24142. "type": "number"
  24143. },
  24144. "lowest": {
  24145. "description": "最低价",
  24146. "type": "number"
  24147. },
  24148. "nontotalholdervolume": {
  24149. "description": "非交易持仓量",
  24150. "type": "integer"
  24151. },
  24152. "nontotallot": {
  24153. "description": "非交易总手数",
  24154. "type": "integer"
  24155. },
  24156. "nontotalturnover": {
  24157. "description": "非交易总金额",
  24158. "type": "integer"
  24159. },
  24160. "nontotalvolume": {
  24161. "description": "非交易总量",
  24162. "type": "integer"
  24163. },
  24164. "opened": {
  24165. "description": "开盘价",
  24166. "type": "number"
  24167. },
  24168. "opentime": {
  24169. "description": "开盘时间",
  24170. "type": "string"
  24171. },
  24172. "orderid": {
  24173. "description": "序号",
  24174. "type": "integer"
  24175. },
  24176. "preclose": {
  24177. "description": "昨收",
  24178. "type": "number"
  24179. },
  24180. "preholdvolume": {
  24181. "description": "昨持仓",
  24182. "type": "integer"
  24183. },
  24184. "presettle": {
  24185. "description": "昨结价",
  24186. "type": "number"
  24187. },
  24188. "publictradetype": {
  24189. "description": "公共交易标志类型 港股专用",
  24190. "type": "string"
  24191. },
  24192. "putoptionpremiums": {
  24193. "description": "认沽期权1",
  24194. "type": "integer"
  24195. },
  24196. "putoptionpremiums2": {
  24197. "description": "认沽期权2",
  24198. "type": "integer"
  24199. },
  24200. "putoptionpremiums3": {
  24201. "description": "认沽期权3",
  24202. "type": "integer"
  24203. },
  24204. "putoptionpremiums4": {
  24205. "description": "认沽期权4",
  24206. "type": "integer"
  24207. },
  24208. "putoptionpremiums5": {
  24209. "description": "认沽期权5",
  24210. "type": "integer"
  24211. },
  24212. "settle": {
  24213. "description": "结算价",
  24214. "type": "number"
  24215. },
  24216. "strikeprice": {
  24217. "description": "发行价",
  24218. "type": "number"
  24219. },
  24220. "totalaskvolume": {
  24221. "description": "内盘",
  24222. "type": "integer"
  24223. },
  24224. "totalbidvolume": {
  24225. "description": "外盘",
  24226. "type": "integer"
  24227. },
  24228. "totallot": {
  24229. "description": "总手数",
  24230. "type": "integer"
  24231. },
  24232. "totalturnover": {
  24233. "description": "总金额",
  24234. "type": "number"
  24235. },
  24236. "totalvolume": {
  24237. "description": "总量",
  24238. "type": "integer"
  24239. },
  24240. "utclasttime": {
  24241. "description": "utc的行情时间",
  24242. "type": "string"
  24243. }
  24244. }
  24245. },
  24246. "quote.QueryTSDataRsp": {
  24247. "type": "object",
  24248. "properties": {
  24249. "Count": {
  24250. "description": "交易日应有数据个数",
  24251. "type": "integer"
  24252. },
  24253. "decimalPlace": {
  24254. "description": "小数位",
  24255. "type": "integer"
  24256. },
  24257. "endTime": {
  24258. "description": "结束时间",
  24259. "type": "string"
  24260. },
  24261. "goodsCode": {
  24262. "description": "商品代码",
  24263. "type": "string"
  24264. },
  24265. "historyDatas": {
  24266. "description": "历史数据",
  24267. "type": "array",
  24268. "items": {
  24269. "$ref": "#/definitions/quote.HistoryData"
  24270. }
  24271. },
  24272. "outGoodsCode": {
  24273. "description": "外部商品代码",
  24274. "type": "string"
  24275. },
  24276. "preSettle": {
  24277. "description": "昨结价",
  24278. "type": "number"
  24279. },
  24280. "runSteps": {
  24281. "description": "交易日开休市计划",
  24282. "type": "array",
  24283. "items": {
  24284. "$ref": "#/definitions/quote.TSDataRunStep"
  24285. }
  24286. },
  24287. "startTime": {
  24288. "description": "开始时间",
  24289. "type": "string"
  24290. },
  24291. "tradeDate": {
  24292. "description": "交易日",
  24293. "type": "string"
  24294. }
  24295. }
  24296. },
  24297. "quote.TSDataRunStep": {
  24298. "type": "object",
  24299. "properties": {
  24300. "end": {
  24301. "description": "真实结束时间",
  24302. "type": "string"
  24303. },
  24304. "endflag": {
  24305. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24306. "type": "integer"
  24307. },
  24308. "endtime": {
  24309. "description": "结束时间(HH:mm)",
  24310. "type": "string"
  24311. },
  24312. "endweekday": {
  24313. "description": "结束周几",
  24314. "type": "integer"
  24315. },
  24316. "groupid": {
  24317. "description": "分组ID",
  24318. "type": "integer"
  24319. },
  24320. "runstep": {
  24321. "description": "运行阶段 - 2:连续交易",
  24322. "type": "integer"
  24323. },
  24324. "sectionid": {
  24325. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24326. "type": "integer"
  24327. },
  24328. "start": {
  24329. "description": "真实开始时间",
  24330. "type": "string"
  24331. },
  24332. "startflag": {
  24333. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24334. "type": "integer"
  24335. },
  24336. "starttime": {
  24337. "description": "起始时间(HH:mm)",
  24338. "type": "string"
  24339. },
  24340. "startweekday": {
  24341. "description": "起始周几",
  24342. "type": "integer"
  24343. },
  24344. "tradeweekday": {
  24345. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24346. "type": "integer"
  24347. }
  24348. }
  24349. },
  24350. "szdz.QueryConvertLogRsp": {
  24351. "type": "object",
  24352. "required": [
  24353. "logid"
  24354. ],
  24355. "properties": {
  24356. "accountid": {
  24357. "description": "资金账户ID",
  24358. "type": "integer"
  24359. },
  24360. "clientticket": {
  24361. "description": "客户端流水号",
  24362. "type": "string"
  24363. },
  24364. "converttype": {
  24365. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24366. "type": "integer"
  24367. },
  24368. "createtime": {
  24369. "description": "记账时间",
  24370. "type": "string"
  24371. },
  24372. "daymaxvalue": {
  24373. "description": "配置当日最大转入限制",
  24374. "type": "number"
  24375. },
  24376. "daymaxvalue2": {
  24377. "description": "配置当日最大转入限制(转入)",
  24378. "type": "number"
  24379. },
  24380. "goodscode": {
  24381. "description": "商品代码",
  24382. "type": "string"
  24383. },
  24384. "goodsname": {
  24385. "description": "商品名称",
  24386. "type": "string"
  24387. },
  24388. "handlestatus": {
  24389. "description": "处理状态",
  24390. "type": "integer"
  24391. },
  24392. "innergoodsid": {
  24393. "description": "内部商品ID",
  24394. "type": "integer"
  24395. },
  24396. "inratio": {
  24397. "description": "配置转入比值",
  24398. "type": "integer"
  24399. },
  24400. "invalue": {
  24401. "description": "目标值",
  24402. "type": "number"
  24403. },
  24404. "logid": {
  24405. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24406. "type": "integer"
  24407. },
  24408. "mobile": {
  24409. "description": "手机号码(加密存储)",
  24410. "type": "string"
  24411. },
  24412. "outergoodscode": {
  24413. "description": "外部商品代码[JD\\PD]",
  24414. "type": "string"
  24415. },
  24416. "outratio": {
  24417. "description": "配置转出比值",
  24418. "type": "integer"
  24419. },
  24420. "outvalue": {
  24421. "description": "源值",
  24422. "type": "number"
  24423. },
  24424. "pddecimalplace": {
  24425. "description": "PD小数位",
  24426. "type": "integer"
  24427. },
  24428. "qty": {
  24429. "description": "数量",
  24430. "type": "string"
  24431. },
  24432. "remark": {
  24433. "description": "备注",
  24434. "type": "string"
  24435. },
  24436. "sessionid": {
  24437. "description": "会话ID",
  24438. "type": "integer"
  24439. },
  24440. "timemaxvalue": {
  24441. "description": "配置单次最大转入限制",
  24442. "type": "number"
  24443. },
  24444. "timemaxvalue2": {
  24445. "description": "配置单次最大转入限制(转入)",
  24446. "type": "number"
  24447. },
  24448. "timeminvalue": {
  24449. "description": "配置单次最小数量限制",
  24450. "type": "number"
  24451. },
  24452. "timeminvalue2": {
  24453. "description": "配置单次最小数量限制(转入)",
  24454. "type": "number"
  24455. },
  24456. "tradedate": {
  24457. "description": "交易日(yyyyMMdd)",
  24458. "type": "string"
  24459. },
  24460. "userid": {
  24461. "description": "用户ID",
  24462. "type": "integer"
  24463. }
  24464. }
  24465. },
  24466. "szdz.QueryGoodsPickupRsp": {
  24467. "type": "object",
  24468. "required": [
  24469. "takeorderid"
  24470. ],
  24471. "properties": {
  24472. "accountid": {
  24473. "description": "账户ID",
  24474. "type": "integer"
  24475. },
  24476. "address": {
  24477. "description": "提货人详细地址",
  24478. "type": "string"
  24479. },
  24480. "auditer": {
  24481. "description": "审核人",
  24482. "type": "integer"
  24483. },
  24484. "audittime": {
  24485. "description": "审核时间",
  24486. "type": "string"
  24487. },
  24488. "cardnum": {
  24489. "description": "提货人证件号码",
  24490. "type": "string"
  24491. },
  24492. "cardtypeid": {
  24493. "description": "提货人证件类型",
  24494. "type": "integer"
  24495. },
  24496. "checkremark": {
  24497. "description": "审核备注",
  24498. "type": "string"
  24499. },
  24500. "goodscode": {
  24501. "description": "商品代码",
  24502. "type": "string"
  24503. },
  24504. "goodsid": {
  24505. "description": "商品ID",
  24506. "type": "integer"
  24507. },
  24508. "goodsname": {
  24509. "description": "商品名称",
  24510. "type": "string"
  24511. },
  24512. "handlestatus": {
  24513. "description": "处理状态",
  24514. "type": "integer"
  24515. },
  24516. "marketid": {
  24517. "description": "市场ID",
  24518. "type": "integer"
  24519. },
  24520. "phonenum": {
  24521. "description": "提货人联系方式",
  24522. "type": "string"
  24523. },
  24524. "qty": {
  24525. "description": "提货数量",
  24526. "type": "number"
  24527. },
  24528. "recivername": {
  24529. "description": "提货人姓名",
  24530. "type": "string"
  24531. },
  24532. "reqtime": {
  24533. "description": "更新时间",
  24534. "type": "string"
  24535. },
  24536. "takemode": {
  24537. "description": "提货方式 - 2:自提 3:配送",
  24538. "type": "integer"
  24539. },
  24540. "takeorderid": {
  24541. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24542. "type": "string"
  24543. },
  24544. "takeorderstatus": {
  24545. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24546. "type": "integer"
  24547. },
  24548. "takeremark": {
  24549. "description": "提货备注",
  24550. "type": "string"
  24551. },
  24552. "tradedate": {
  24553. "description": "交易日(yyyyMMdd)",
  24554. "type": "string"
  24555. },
  24556. "userid": {
  24557. "description": "用户ID",
  24558. "type": "integer"
  24559. }
  24560. }
  24561. },
  24562. "szdz.QueryRecieptOrderRsp": {
  24563. "type": "object",
  24564. "required": [
  24565. "ordertime"
  24566. ],
  24567. "properties": {
  24568. "accountName": {
  24569. "description": "所属账号名称(已脱敏)",
  24570. "type": "string"
  24571. },
  24572. "accountid": {
  24573. "description": "资金账号",
  24574. "type": "integer"
  24575. },
  24576. "buyorsell": {
  24577. "description": "方向 - 0:买 1:卖",
  24578. "type": "integer"
  24579. },
  24580. "enableqty": {
  24581. "description": "可摘数量",
  24582. "type": "integer"
  24583. },
  24584. "goodscode": {
  24585. "description": "商品代码",
  24586. "type": "string"
  24587. },
  24588. "goodsid": {
  24589. "description": "商品ID",
  24590. "type": "integer"
  24591. },
  24592. "goodsname": {
  24593. "description": "商品名称",
  24594. "type": "string"
  24595. },
  24596. "orderid": {
  24597. "description": "委托单号",
  24598. "type": "string"
  24599. },
  24600. "orderprice": {
  24601. "description": "委托价格",
  24602. "type": "number"
  24603. },
  24604. "ordertime": {
  24605. "description": "委托时间",
  24606. "type": "string"
  24607. },
  24608. "tradedate": {
  24609. "description": "交易日(yyyyMMdd)",
  24610. "type": "string"
  24611. }
  24612. }
  24613. },
  24614. "szdz.QuerySZDZTradePositionRsp": {
  24615. "type": "object",
  24616. "properties": {
  24617. "accountid": {
  24618. "description": "账号Id",
  24619. "type": "integer"
  24620. },
  24621. "agreeunit": {
  24622. "description": "合约单位",
  24623. "type": "number"
  24624. },
  24625. "averageprice": {
  24626. "description": "持仓均价",
  24627. "type": "number"
  24628. },
  24629. "buyorsell": {
  24630. "description": "方向 - 0:买 1:卖",
  24631. "type": "integer"
  24632. },
  24633. "closetotalqty": {
  24634. "description": "平仓总数量",
  24635. "type": "integer"
  24636. },
  24637. "curholderamount": {
  24638. "description": "当前持仓总金额",
  24639. "type": "number"
  24640. },
  24641. "curpositionqty": {
  24642. "description": "当前持仓总数量",
  24643. "type": "integer"
  24644. },
  24645. "currencyid": {
  24646. "description": "报价货币ID",
  24647. "type": "integer"
  24648. },
  24649. "curtdposition": {
  24650. "description": "期末今日头寸",
  24651. "type": "integer"
  24652. },
  24653. "decimalplace": {
  24654. "description": "报价小数位",
  24655. "type": "integer"
  24656. },
  24657. "enableqty": {
  24658. "description": "可用量",
  24659. "type": "integer"
  24660. },
  24661. "fretdposition": {
  24662. "description": "冻结今日头寸",
  24663. "type": "integer"
  24664. },
  24665. "frozenqty": {
  24666. "description": "持仓冻结数量",
  24667. "type": "integer"
  24668. },
  24669. "goodscode": {
  24670. "description": "商品代码(内部)",
  24671. "type": "string"
  24672. },
  24673. "goodsid": {
  24674. "description": "商品Id",
  24675. "type": "integer"
  24676. },
  24677. "goodsname": {
  24678. "description": "商品名称",
  24679. "type": "string"
  24680. },
  24681. "goodunit": {
  24682. "description": "报价单位",
  24683. "type": "string"
  24684. },
  24685. "goodunitid": {
  24686. "description": "报价单位ID",
  24687. "type": "integer"
  24688. },
  24689. "holderamount": {
  24690. "description": "期初持仓总金额",
  24691. "type": "number"
  24692. },
  24693. "marketid": {
  24694. "description": "市场ID",
  24695. "type": "integer"
  24696. },
  24697. "openreqqty": {
  24698. "description": "开仓申请数量",
  24699. "type": "integer"
  24700. },
  24701. "opentotalqty": {
  24702. "description": "开仓总数量",
  24703. "type": "integer"
  24704. },
  24705. "otherfrozenqty": {
  24706. "description": "持仓其他冻结数量(交割冻结)",
  24707. "type": "integer"
  24708. },
  24709. "positionqty": {
  24710. "description": "期初持仓数量",
  24711. "type": "integer"
  24712. },
  24713. "szdz3freezqty": {
  24714. "description": "尚志大宗转换冻结总数量",
  24715. "type": "integer"
  24716. },
  24717. "tnqty": {
  24718. "description": "T+N冻结总量",
  24719. "type": "integer"
  24720. },
  24721. "tnusedqty": {
  24722. "description": "T+N使用量",
  24723. "type": "integer"
  24724. },
  24725. "trademode": {
  24726. "description": "交易模式",
  24727. "type": "integer"
  24728. },
  24729. "usedmargin": {
  24730. "description": "占用保证金",
  24731. "type": "number"
  24732. }
  24733. }
  24734. },
  24735. "taaccount.QueryAmountLogRsp": {
  24736. "type": "object",
  24737. "required": [
  24738. "accountid",
  24739. "amount",
  24740. "amountadjusttype",
  24741. "autoid",
  24742. "balance",
  24743. "createtime",
  24744. "currentbalance",
  24745. "operatetype"
  24746. ],
  24747. "properties": {
  24748. "OPERATETYPENAME": {
  24749. "description": "资金操作类型名称",
  24750. "type": "string"
  24751. },
  24752. "accountid": {
  24753. "description": "资金账户ID",
  24754. "type": "integer"
  24755. },
  24756. "agoodscode": {
  24757. "description": "竞拍商品代码",
  24758. "type": "string"
  24759. },
  24760. "agoodsname": {
  24761. "description": "竞拍商品名称",
  24762. "type": "string"
  24763. },
  24764. "amount": {
  24765. "description": "资金金额",
  24766. "type": "number"
  24767. },
  24768. "amountadjusttype": {
  24769. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24770. "type": "integer"
  24771. },
  24772. "autoid": {
  24773. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24774. "type": "integer"
  24775. },
  24776. "balance": {
  24777. "description": "期初余额",
  24778. "type": "number"
  24779. },
  24780. "businesscode": {
  24781. "description": "业务编号",
  24782. "type": "integer"
  24783. },
  24784. "createtime": {
  24785. "description": "发生时间",
  24786. "type": "string"
  24787. },
  24788. "currencyid": {
  24789. "description": "币种ID",
  24790. "type": "integer"
  24791. },
  24792. "currentbalance": {
  24793. "description": "期末余额(变动后金额)",
  24794. "type": "number"
  24795. },
  24796. "dgoodscode": {
  24797. "description": "交割商品代码",
  24798. "type": "string"
  24799. },
  24800. "dgoodsname": {
  24801. "description": "交割商品名称",
  24802. "type": "string"
  24803. },
  24804. "goodscode": {
  24805. "description": "商品代码",
  24806. "type": "string"
  24807. },
  24808. "goodsid": {
  24809. "description": "商品ID",
  24810. "type": "integer"
  24811. },
  24812. "goodsname": {
  24813. "description": "商品名称",
  24814. "type": "string"
  24815. },
  24816. "marketid": {
  24817. "description": "市场ID",
  24818. "type": "integer"
  24819. },
  24820. "marketname": {
  24821. "description": "市场名称",
  24822. "type": "string"
  24823. },
  24824. "moneyticket": {
  24825. "description": "资金流水号:银行端流水号",
  24826. "type": "integer"
  24827. },
  24828. "operatetype": {
  24829. "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:营销收款",
  24830. "type": "integer"
  24831. },
  24832. "relationorderid": {
  24833. "description": "关联单号",
  24834. "type": "string"
  24835. },
  24836. "remark": {
  24837. "description": "备注",
  24838. "type": "string"
  24839. },
  24840. "trademode": {
  24841. "description": "交易模式",
  24842. "type": "integer"
  24843. }
  24844. }
  24845. },
  24846. "taaccount.QueryHisAmountLogRsp": {
  24847. "type": "object",
  24848. "required": [
  24849. "accountid",
  24850. "amount",
  24851. "amountadjusttype",
  24852. "autoid",
  24853. "balance",
  24854. "createtime",
  24855. "currentbalance",
  24856. "histradedate",
  24857. "operatetype"
  24858. ],
  24859. "properties": {
  24860. "OPERATETYPENAME": {
  24861. "description": "资金操作类型名称",
  24862. "type": "string"
  24863. },
  24864. "accountid": {
  24865. "description": "资金账户ID",
  24866. "type": "integer"
  24867. },
  24868. "agoodscode": {
  24869. "description": "竞拍商品代码",
  24870. "type": "string"
  24871. },
  24872. "agoodsname": {
  24873. "description": "竞拍商品名称",
  24874. "type": "string"
  24875. },
  24876. "amount": {
  24877. "description": "资金金额",
  24878. "type": "number"
  24879. },
  24880. "amountadjusttype": {
  24881. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24882. "type": "integer"
  24883. },
  24884. "autoid": {
  24885. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24886. "type": "integer"
  24887. },
  24888. "balance": {
  24889. "description": "期初余额",
  24890. "type": "number"
  24891. },
  24892. "businesscode": {
  24893. "description": "业务编号",
  24894. "type": "integer"
  24895. },
  24896. "createtime": {
  24897. "description": "发生时间",
  24898. "type": "string"
  24899. },
  24900. "currencyid": {
  24901. "description": "币种ID",
  24902. "type": "integer"
  24903. },
  24904. "currentbalance": {
  24905. "description": "期末余额(变动后金额)",
  24906. "type": "number"
  24907. },
  24908. "dgoodscode": {
  24909. "description": "交割商品代码",
  24910. "type": "string"
  24911. },
  24912. "dgoodsname": {
  24913. "description": "交割商品名称",
  24914. "type": "string"
  24915. },
  24916. "goodscode": {
  24917. "description": "商品代码",
  24918. "type": "string"
  24919. },
  24920. "goodsid": {
  24921. "description": "商品ID",
  24922. "type": "integer"
  24923. },
  24924. "goodsname": {
  24925. "description": "商品名称",
  24926. "type": "string"
  24927. },
  24928. "histradedate": {
  24929. "description": "历史交易日",
  24930. "type": "string"
  24931. },
  24932. "isvaliddata": {
  24933. "description": "是否有效 - 0:无效 1:有效",
  24934. "type": "integer"
  24935. },
  24936. "marketid": {
  24937. "description": "市场ID",
  24938. "type": "integer"
  24939. },
  24940. "marketname": {
  24941. "description": "市场名称",
  24942. "type": "string"
  24943. },
  24944. "moneyticket": {
  24945. "description": "资金流水号:银行端流水号",
  24946. "type": "integer"
  24947. },
  24948. "operatetype": {
  24949. "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:营销收款",
  24950. "type": "integer"
  24951. },
  24952. "relationorderid": {
  24953. "description": "关联单号",
  24954. "type": "string"
  24955. },
  24956. "remark": {
  24957. "description": "备注",
  24958. "type": "string"
  24959. },
  24960. "trademode": {
  24961. "description": "交易模式",
  24962. "type": "integer"
  24963. }
  24964. }
  24965. },
  24966. "trade.QueryRecieptOrderRsp": {
  24967. "type": "object",
  24968. "required": [
  24969. "ordertime"
  24970. ],
  24971. "properties": {
  24972. "accountName": {
  24973. "description": "所属账号名称(已脱敏)",
  24974. "type": "string"
  24975. },
  24976. "accountid": {
  24977. "description": "资金账号",
  24978. "type": "integer"
  24979. },
  24980. "buyorsell": {
  24981. "description": "方向 - 0:买 1:卖",
  24982. "type": "integer"
  24983. },
  24984. "enableqty": {
  24985. "description": "可摘数量",
  24986. "type": "integer"
  24987. },
  24988. "goodscode": {
  24989. "description": "商品代码",
  24990. "type": "string"
  24991. },
  24992. "goodsid": {
  24993. "description": "商品ID",
  24994. "type": "integer"
  24995. },
  24996. "goodsname": {
  24997. "description": "商品名称",
  24998. "type": "string"
  24999. },
  25000. "orderid": {
  25001. "description": "委托单号",
  25002. "type": "string"
  25003. },
  25004. "orderprice": {
  25005. "description": "委托价格",
  25006. "type": "number"
  25007. },
  25008. "ordertime": {
  25009. "description": "委托时间",
  25010. "type": "string"
  25011. },
  25012. "tradedate": {
  25013. "description": "交易日(yyyyMMdd)",
  25014. "type": "string"
  25015. }
  25016. }
  25017. },
  25018. "user.LoginQueryRsp": {
  25019. "type": "object",
  25020. "properties": {
  25021. "externalExchanges": {
  25022. "description": "外部交易所",
  25023. "type": "array",
  25024. "items": {
  25025. "$ref": "#/definitions/models.Externalexchange"
  25026. }
  25027. },
  25028. "goodsgroups": {
  25029. "description": "商品组",
  25030. "type": "array",
  25031. "items": {
  25032. "$ref": "#/definitions/models.Goodsgroup"
  25033. }
  25034. },
  25035. "loginAccount": {
  25036. "description": "登录账号",
  25037. "type": "object",
  25038. "$ref": "#/definitions/models.Loginaccount"
  25039. },
  25040. "markets": {
  25041. "description": "市场",
  25042. "type": "array",
  25043. "items": {
  25044. "$ref": "#/definitions/models.Market"
  25045. }
  25046. },
  25047. "systemParams": {
  25048. "description": "系统参数",
  25049. "type": "array",
  25050. "items": {
  25051. "$ref": "#/definitions/models.Systemparam"
  25052. }
  25053. },
  25054. "userAccount": {
  25055. "description": "用户账号",
  25056. "type": "object",
  25057. "$ref": "#/definitions/models.Useraccount"
  25058. },
  25059. "userInfo": {
  25060. "description": "用户信息",
  25061. "type": "object",
  25062. "$ref": "#/definitions/models.Userinfo"
  25063. },
  25064. "username": {
  25065. "description": "用户姓名",
  25066. "type": "string"
  25067. }
  25068. }
  25069. }
  25070. },
  25071. "securityDefinitions": {
  25072. "ApiKeyAuth": {
  25073. "type": "apiKey",
  25074. "name": "Authorization",
  25075. "in": "header"
  25076. }
  25077. }
  25078. }`
  25079. type swaggerInfo struct {
  25080. Version string
  25081. Host string
  25082. BasePath string
  25083. Schemes []string
  25084. Title string
  25085. Description string
  25086. }
  25087. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25088. var SwaggerInfo = swaggerInfo{
  25089. Version: "1.0",
  25090. Host: "",
  25091. BasePath: "/api",
  25092. Schemes: []string{},
  25093. Title: "MTP2.0 查询服务 API",
  25094. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25095. }
  25096. type s struct{}
  25097. func (s *s) ReadDoc() string {
  25098. sInfo := SwaggerInfo
  25099. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25100. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25101. "marshal": func(v interface{}) string {
  25102. a, _ := json.Marshal(v)
  25103. return string(a)
  25104. },
  25105. }).Parse(doc)
  25106. if err != nil {
  25107. return doc
  25108. }
  25109. var tpl bytes.Buffer
  25110. if err := t.Execute(&tpl, sInfo); err != nil {
  25111. return doc
  25112. }
  25113. return tpl.String()
  25114. }
  25115. func init() {
  25116. swag.Register(swag.Name, &s{})
  25117. }