docs.go 901 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133
  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",
  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. "accountname": {
  20622. "description": "账号名称(taaccount表中的名称)",
  20623. "type": "string"
  20624. },
  20625. "appid": {
  20626. "description": "AppID",
  20627. "type": "string"
  20628. },
  20629. "authcode": {
  20630. "description": "授权码",
  20631. "type": "string"
  20632. },
  20633. "brokerid": {
  20634. "description": "经纪商id",
  20635. "type": "string"
  20636. },
  20637. "fcid": {
  20638. "description": "期货公司id",
  20639. "type": "integer"
  20640. },
  20641. "fcname": {
  20642. "description": "期货公司代码",
  20643. "type": "string"
  20644. },
  20645. "hedgeaccountcode": {
  20646. "description": "外部账号代码",
  20647. "type": "string"
  20648. },
  20649. "hedgeaccountpwd": {
  20650. "description": "密码",
  20651. "type": "string"
  20652. },
  20653. "ismain": {
  20654. "description": "是否主账号",
  20655. "type": "integer"
  20656. },
  20657. "relateduserid": {
  20658. "description": "关联用户id",
  20659. "type": "integer"
  20660. }
  20661. }
  20662. },
  20663. "models.Market": {
  20664. "type": "object",
  20665. "required": [
  20666. "marketid",
  20667. "marketstatus",
  20668. "openmethod",
  20669. "reckonpricealgorithm",
  20670. "trademode",
  20671. "tradeproperty"
  20672. ],
  20673. "properties": {
  20674. "auctionwrtype": {
  20675. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20676. "type": "integer"
  20677. },
  20678. "canacceptquote": {
  20679. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20680. "type": "integer"
  20681. },
  20682. "cangoodsexercise": {
  20683. "description": "[期权]是否可现货行权- 0:否 1:是",
  20684. "type": "integer"
  20685. },
  20686. "cangoodsexercisetype": {
  20687. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20688. "type": "integer"
  20689. },
  20690. "canmanualquotestrike": {
  20691. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20692. "type": "integer"
  20693. },
  20694. "canmutistage": {
  20695. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20696. "type": "integer"
  20697. },
  20698. "canpreexercise": {
  20699. "description": "[期权]是否可预申报- 0:否 1:是",
  20700. "type": "integer"
  20701. },
  20702. "clearinterval": {
  20703. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20704. "type": "integer"
  20705. },
  20706. "contracttmp": {
  20707. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20708. "type": "string"
  20709. },
  20710. "exchareaid": {
  20711. "description": "所属交易所,可以没有",
  20712. "type": "integer"
  20713. },
  20714. "goodstype": {
  20715. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20716. "type": "integer"
  20717. },
  20718. "hasrebate": {
  20719. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20720. "type": "integer"
  20721. },
  20722. "hastradecredit": {
  20723. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20724. "type": "integer"
  20725. },
  20726. "haswr": {
  20727. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20728. "type": "integer"
  20729. },
  20730. "isdeductmargin": {
  20731. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20732. "type": "integer"
  20733. },
  20734. "isrecordsource": {
  20735. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20736. "type": "integer"
  20737. },
  20738. "isreleasemargin": {
  20739. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20740. "type": "integer"
  20741. },
  20742. "marginformula": {
  20743. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20744. "type": "integer"
  20745. },
  20746. "marginformula2": {
  20747. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20748. "type": "integer"
  20749. },
  20750. "marketid": {
  20751. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20752. "type": "integer"
  20753. },
  20754. "marketname": {
  20755. "description": "市场名称",
  20756. "type": "string"
  20757. },
  20758. "marketserviceid": {
  20759. "description": "市场服务ID",
  20760. "type": "integer"
  20761. },
  20762. "marketstatus": {
  20763. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20764. "type": "integer"
  20765. },
  20766. "markettype": {
  20767. "description": "市场类型- 1:非交易服务 2:交易服务",
  20768. "type": "integer"
  20769. },
  20770. "matchermode": {
  20771. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20772. "type": "integer"
  20773. },
  20774. "openmethod": {
  20775. "description": "开盘模式 - 0 自动 1手动",
  20776. "type": "integer"
  20777. },
  20778. "otcuserid": {
  20779. "description": "场外期权做市商[场外期权]",
  20780. "type": "integer"
  20781. },
  20782. "outersynctime": {
  20783. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20784. "type": "string"
  20785. },
  20786. "pendingflag": {
  20787. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20788. "type": "integer"
  20789. },
  20790. "pendingtime": {
  20791. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20792. "type": "string"
  20793. },
  20794. "performancetempid": {
  20795. "description": "履约计划模板ID - 作废",
  20796. "type": "integer"
  20797. },
  20798. "premiumquotemode": {
  20799. "description": "权利金报价方式 - 1:自动 2:手动",
  20800. "type": "integer"
  20801. },
  20802. "rebateratio": {
  20803. "description": "返利比率[竞价式]",
  20804. "type": "number"
  20805. },
  20806. "reckonorder": {
  20807. "description": "结算顺序",
  20808. "type": "integer"
  20809. },
  20810. "reckonpricealgorithm": {
  20811. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20812. "type": "integer"
  20813. },
  20814. "reckonpriceparam": {
  20815. "description": "结算价参数",
  20816. "type": "integer"
  20817. },
  20818. "reckontime": {
  20819. "description": "结算时间[通道交易-对冲](HH:mm)",
  20820. "type": "string"
  20821. },
  20822. "roleprioritytype": {
  20823. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20824. "type": "integer"
  20825. },
  20826. "selllistingauditflag": {
  20827. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20828. "type": "integer"
  20829. },
  20830. "trademarkettype": {
  20831. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20832. "type": "integer"
  20833. },
  20834. "trademode": {
  20835. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20836. "type": "integer"
  20837. },
  20838. "tradeproperty": {
  20839. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20840. "type": "integer"
  20841. },
  20842. "tradetype": {
  20843. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20844. "type": "integer"
  20845. }
  20846. }
  20847. },
  20848. "models.Marketrun": {
  20849. "type": "object",
  20850. "required": [
  20851. "marketid",
  20852. "nexttradedate",
  20853. "reckonflag",
  20854. "runstatus",
  20855. "tradedate",
  20856. "tradedate2"
  20857. ],
  20858. "properties": {
  20859. "afternexttradedate": {
  20860. "description": "下下交易日",
  20861. "type": "string"
  20862. },
  20863. "clearquoteflag": {
  20864. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20865. "type": "integer"
  20866. },
  20867. "lastreckondate": {
  20868. "description": "最新交易日(结算成功)",
  20869. "type": "string"
  20870. },
  20871. "machinedate": {
  20872. "description": "机器时间",
  20873. "type": "string"
  20874. },
  20875. "manualflag": {
  20876. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20877. "type": "integer"
  20878. },
  20879. "marketid": {
  20880. "description": "市场ID",
  20881. "type": "integer"
  20882. },
  20883. "nexttradedate": {
  20884. "description": "下一交易日",
  20885. "type": "string"
  20886. },
  20887. "pretradedate": {
  20888. "description": "上一交易日",
  20889. "type": "string"
  20890. },
  20891. "reckonflag": {
  20892. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20893. "type": "integer"
  20894. },
  20895. "runstatus": {
  20896. "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.今日免清算",
  20897. "type": "integer"
  20898. },
  20899. "sectionid": {
  20900. "description": "时间段号[多时段时用]",
  20901. "type": "integer"
  20902. },
  20903. "tradedate": {
  20904. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20905. "type": "string"
  20906. },
  20907. "tradedate2": {
  20908. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20909. "type": "string"
  20910. },
  20911. "updatetime": {
  20912. "description": "更新时间",
  20913. "type": "string"
  20914. }
  20915. }
  20916. },
  20917. "models.Messageboard": {
  20918. "type": "object",
  20919. "required": [
  20920. "messageboardid"
  20921. ],
  20922. "properties": {
  20923. "contactnum": {
  20924. "description": "联系电话",
  20925. "type": "string"
  20926. },
  20927. "createtime": {
  20928. "description": "创建时间",
  20929. "type": "string"
  20930. },
  20931. "message": {
  20932. "description": "留言信息",
  20933. "type": "string"
  20934. },
  20935. "messageboardid": {
  20936. "description": "留言簿ID(SEQ_MessageBoard)",
  20937. "type": "integer"
  20938. },
  20939. "userid": {
  20940. "description": "用户ID",
  20941. "type": "integer"
  20942. }
  20943. }
  20944. },
  20945. "models.MyCoupon": {
  20946. "type": "object",
  20947. "required": [
  20948. "accountid",
  20949. "coupontypeid"
  20950. ],
  20951. "properties": {
  20952. "accountid": {
  20953. "description": "资金账户ID",
  20954. "type": "integer"
  20955. },
  20956. "areauserid": {
  20957. "description": "所属机构",
  20958. "type": "integer"
  20959. },
  20960. "conditionvalue": {
  20961. "description": "条件阈值(可为0)",
  20962. "type": "number"
  20963. },
  20964. "couponcategroy": {
  20965. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20966. "type": "integer"
  20967. },
  20968. "couponname": {
  20969. "description": "优惠券名称",
  20970. "type": "string"
  20971. },
  20972. "coupontypeid": {
  20973. "description": "优惠券类型ID",
  20974. "type": "string"
  20975. },
  20976. "couponvalue": {
  20977. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20978. "type": "number"
  20979. },
  20980. "curfreezeqty": {
  20981. "description": "期末冻结数量",
  20982. "type": "integer"
  20983. },
  20984. "curqty": {
  20985. "description": "期末数量",
  20986. "type": "integer"
  20987. },
  20988. "isgeneral": {
  20989. "description": "是否通用券 - 0:否 1:是",
  20990. "type": "integer"
  20991. },
  20992. "isunusable": {
  20993. "description": "是否不可用",
  20994. "type": "boolean"
  20995. },
  20996. "limitedflag": {
  20997. "description": "是否指定商品 - 0:不限 1:限制",
  20998. "type": "integer"
  20999. },
  21000. "limitedgoodsids": {
  21001. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21002. "type": "string"
  21003. },
  21004. "orifreezeqty": {
  21005. "description": "期初冻结数量",
  21006. "type": "integer"
  21007. },
  21008. "oriqty": {
  21009. "description": "期初数量",
  21010. "type": "integer"
  21011. },
  21012. "reasontype": {
  21013. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21014. "type": "integer"
  21015. },
  21016. "todaydecrease": {
  21017. "description": "今日减少",
  21018. "type": "integer"
  21019. },
  21020. "todayincrease": {
  21021. "description": "今日增加",
  21022. "type": "integer"
  21023. },
  21024. "userid": {
  21025. "description": "用户ID",
  21026. "type": "integer"
  21027. },
  21028. "userscope": {
  21029. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21030. "type": "string"
  21031. }
  21032. }
  21033. },
  21034. "models.MyCouponHold": {
  21035. "type": "object",
  21036. "required": [
  21037. "couponholdid"
  21038. ],
  21039. "properties": {
  21040. "accountid": {
  21041. "description": "资金账户ID",
  21042. "type": "integer"
  21043. },
  21044. "conditionvalue": {
  21045. "description": "条件阈值(可为0)",
  21046. "type": "number"
  21047. },
  21048. "couponcategroy": {
  21049. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21050. "type": "integer"
  21051. },
  21052. "couponholdid": {
  21053. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21054. "type": "string"
  21055. },
  21056. "couponname": {
  21057. "description": "优惠券名称",
  21058. "type": "string"
  21059. },
  21060. "coupontypeid": {
  21061. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21062. "type": "string"
  21063. },
  21064. "couponvalue": {
  21065. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21066. "type": "number"
  21067. },
  21068. "createtime": {
  21069. "description": "创建时间",
  21070. "type": "string"
  21071. },
  21072. "enddate": {
  21073. "description": "结束日期",
  21074. "type": "string"
  21075. },
  21076. "giveapplyid": {
  21077. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21078. "type": "integer"
  21079. },
  21080. "holdstatus": {
  21081. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21082. "type": "integer"
  21083. },
  21084. "isgeneral": {
  21085. "description": "是否通用券 - 0:否 1:是",
  21086. "type": "integer"
  21087. },
  21088. "limitedflag": {
  21089. "description": "是否指定商品 - 0:不限 1:限制",
  21090. "type": "integer"
  21091. },
  21092. "limitedgoodsids": {
  21093. "description": "指定商品IDs[逗号分隔]",
  21094. "type": "string"
  21095. },
  21096. "qty": {
  21097. "description": "数量(按1平铺)",
  21098. "type": "integer"
  21099. },
  21100. "startdate": {
  21101. "description": "开始日期",
  21102. "type": "string"
  21103. },
  21104. "userid": {
  21105. "description": "用户ID",
  21106. "type": "integer"
  21107. },
  21108. "userscope": {
  21109. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21110. "type": "string"
  21111. }
  21112. }
  21113. },
  21114. "models.MyUsedCoupon": {
  21115. "type": "object",
  21116. "required": [
  21117. "coupontypeid",
  21118. "orderid"
  21119. ],
  21120. "properties": {
  21121. "accountid": {
  21122. "description": "资金账户ID(买方)",
  21123. "type": "integer"
  21124. },
  21125. "conditionvalue": {
  21126. "description": "条件阈值(可为0)",
  21127. "type": "number"
  21128. },
  21129. "couponcategroy": {
  21130. "description": "种类 - 1:现金券 2:折扣券",
  21131. "type": "integer"
  21132. },
  21133. "couponname": {
  21134. "description": "优惠券名称",
  21135. "type": "string"
  21136. },
  21137. "coupontypeid": {
  21138. "description": "优惠券类型ID(买方)",
  21139. "type": "string"
  21140. },
  21141. "couponvalue": {
  21142. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21143. "type": "number"
  21144. },
  21145. "createtime": {
  21146. "description": "创建时间",
  21147. "type": "string"
  21148. },
  21149. "goodsid": {
  21150. "description": "商品ID",
  21151. "type": "integer"
  21152. },
  21153. "handlestatus": {
  21154. "description": "处理状态",
  21155. "type": "integer"
  21156. },
  21157. "marketid": {
  21158. "description": "市场ID",
  21159. "type": "integer"
  21160. },
  21161. "offamount": {
  21162. "description": "优惠金额",
  21163. "type": "number"
  21164. },
  21165. "orderid": {
  21166. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21167. "type": "string"
  21168. },
  21169. "sellaccountid": {
  21170. "description": "资金账户ID(卖方)",
  21171. "type": "integer"
  21172. },
  21173. "tradeamount": {
  21174. "description": "成交金额",
  21175. "type": "number"
  21176. },
  21177. "tradeid": {
  21178. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21179. "type": "string"
  21180. },
  21181. "usedqty": {
  21182. "description": "使用数量",
  21183. "type": "integer"
  21184. }
  21185. }
  21186. },
  21187. "models.OperationPrimaryMenu": {
  21188. "type": "object",
  21189. "properties": {
  21190. "Children": {
  21191. "description": "二级功能菜单",
  21192. "type": "array",
  21193. "items": {
  21194. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21195. }
  21196. },
  21197. "Key": {
  21198. "description": "菜单KEY",
  21199. "type": "string"
  21200. },
  21201. "Label": {
  21202. "description": "菜单标题",
  21203. "type": "string"
  21204. }
  21205. }
  21206. },
  21207. "models.OperationSecondaryMenu": {
  21208. "type": "object",
  21209. "properties": {
  21210. "Key": {
  21211. "description": "菜单KEY",
  21212. "type": "string"
  21213. },
  21214. "Label": {
  21215. "description": "菜单标题",
  21216. "type": "string"
  21217. },
  21218. "TabList": {
  21219. "description": "三级功能菜单",
  21220. "type": "array",
  21221. "items": {
  21222. "$ref": "#/definitions/models.OperationTabMenu"
  21223. }
  21224. }
  21225. }
  21226. },
  21227. "models.OperationTabMenu": {
  21228. "type": "object",
  21229. "properties": {
  21230. "Key": {
  21231. "description": "菜单KEY",
  21232. "type": "string"
  21233. },
  21234. "Label": {
  21235. "description": "菜单标题",
  21236. "type": "string"
  21237. }
  21238. }
  21239. },
  21240. "models.PendingAuditBizModel": {
  21241. "type": "object",
  21242. "properties": {
  21243. "accountid": {
  21244. "description": "现货账户",
  21245. "type": "string"
  21246. },
  21247. "areaname": {
  21248. "description": "所属部门",
  21249. "type": "string"
  21250. },
  21251. "bizid": {
  21252. "description": "业务ID",
  21253. "type": "string"
  21254. },
  21255. "bizname": {
  21256. "description": "业务名称",
  21257. "type": "string"
  21258. },
  21259. "status": {
  21260. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21261. "type": "integer"
  21262. },
  21263. "type": {
  21264. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21265. "type": "integer"
  21266. }
  21267. }
  21268. },
  21269. "models.QueryErrorInfosRsp": {
  21270. "type": "object",
  21271. "required": [
  21272. "errorid"
  21273. ],
  21274. "properties": {
  21275. "description": {
  21276. "description": "异常描述",
  21277. "type": "string"
  21278. },
  21279. "errorcode": {
  21280. "description": "异常代码",
  21281. "type": "string"
  21282. },
  21283. "errorid": {
  21284. "description": "异常ID",
  21285. "type": "integer"
  21286. },
  21287. "modulecode": {
  21288. "description": "所属模块",
  21289. "type": "string"
  21290. },
  21291. "operatecode": {
  21292. "description": "所属操作",
  21293. "type": "string"
  21294. },
  21295. "rownumber": {
  21296. "description": "行号",
  21297. "type": "string"
  21298. }
  21299. }
  21300. },
  21301. "models.QueryHedgeOrderDetailRsp": {
  21302. "type": "object",
  21303. "properties": {
  21304. "accountid": {
  21305. "description": "账户ID",
  21306. "type": "integer"
  21307. },
  21308. "buyorsell": {
  21309. "description": "买卖 - 0:买 1:卖",
  21310. "type": "integer"
  21311. },
  21312. "cancellogincode": {
  21313. "description": "撤单人",
  21314. "type": "string"
  21315. },
  21316. "channelbuildtype": {
  21317. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21318. "type": "integer"
  21319. },
  21320. "channelinnerorderstatus": {
  21321. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21322. "type": "integer"
  21323. },
  21324. "channeloperatetype": {
  21325. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21326. "type": "integer"
  21327. },
  21328. "closetype": {
  21329. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21330. "type": "integer"
  21331. },
  21332. "curexchangerate": {
  21333. "description": "当前汇率",
  21334. "type": "number"
  21335. },
  21336. "exchangefullname": {
  21337. "description": "外部交易所全称",
  21338. "type": "string"
  21339. },
  21340. "goodscode": {
  21341. "description": "商品代码(内部)",
  21342. "type": "string"
  21343. },
  21344. "goodsid": {
  21345. "description": "商品ID",
  21346. "type": "integer"
  21347. },
  21348. "goodsname": {
  21349. "description": "商品名称",
  21350. "type": "string"
  21351. },
  21352. "marketid": {
  21353. "description": "市场ID",
  21354. "type": "integer"
  21355. },
  21356. "openfreezemargin": {
  21357. "description": "冻结保证金(冻结交易金额)",
  21358. "type": "number"
  21359. },
  21360. "orderid": {
  21361. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21362. "type": "string"
  21363. },
  21364. "orderlogincode": {
  21365. "description": "委托人",
  21366. "type": "string"
  21367. },
  21368. "orderprice": {
  21369. "description": "委托价格(账户)",
  21370. "type": "number"
  21371. },
  21372. "orderqty": {
  21373. "description": "委托数量",
  21374. "type": "integer"
  21375. },
  21376. "ordertime": {
  21377. "description": "委托时间",
  21378. "type": "string"
  21379. },
  21380. "pricemode": {
  21381. "description": "取价方式 - 1:市价 2: 限价",
  21382. "type": "integer"
  21383. },
  21384. "tradedate": {
  21385. "description": "交易日(yyyyMMdd)",
  21386. "type": "string"
  21387. },
  21388. "tradeqty": {
  21389. "description": "成交数量",
  21390. "type": "integer"
  21391. }
  21392. }
  21393. },
  21394. "models.QueryHedgeTradeDetailRsp": {
  21395. "type": "object",
  21396. "properties": {
  21397. "accountid": {
  21398. "description": "账号ID",
  21399. "type": "integer"
  21400. },
  21401. "buyorsell": {
  21402. "description": "方向 - 0:买 1:卖",
  21403. "type": "integer"
  21404. },
  21405. "channelbuildtype": {
  21406. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21407. "type": "integer"
  21408. },
  21409. "closecharge": {
  21410. "description": "平仓手续费(账户)",
  21411. "type": "number"
  21412. },
  21413. "closecharge2": {
  21414. "description": "平仓手续费(商品)",
  21415. "type": "number"
  21416. },
  21417. "closepl": {
  21418. "description": "平仓盈亏(账户)",
  21419. "type": "number"
  21420. },
  21421. "closepl2": {
  21422. "description": "平仓盈亏(商品)",
  21423. "type": "number"
  21424. },
  21425. "closepl3": {
  21426. "description": "平仓盈亏(账户)(逐笔)",
  21427. "type": "number"
  21428. },
  21429. "closepl4": {
  21430. "description": "平仓盈亏(商品)(逐笔)",
  21431. "type": "number"
  21432. },
  21433. "closetype": {
  21434. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21435. "type": "integer"
  21436. },
  21437. "curexchangerate": {
  21438. "description": "当前汇率",
  21439. "type": "number"
  21440. },
  21441. "exchangefullname": {
  21442. "description": "外部交易所全称",
  21443. "type": "string"
  21444. },
  21445. "goodscode": {
  21446. "description": "商品代码(内部)",
  21447. "type": "string"
  21448. },
  21449. "goodsid": {
  21450. "description": "商品ID",
  21451. "type": "integer"
  21452. },
  21453. "goodsname": {
  21454. "description": "商品名称",
  21455. "type": "string"
  21456. },
  21457. "marketid": {
  21458. "description": "市场ID",
  21459. "type": "integer"
  21460. },
  21461. "opencharge": {
  21462. "description": "建仓手续费(账户)",
  21463. "type": "number"
  21464. },
  21465. "opencharge2": {
  21466. "description": "建仓手续费(商品)",
  21467. "type": "number"
  21468. },
  21469. "orderid": {
  21470. "description": "委托单号",
  21471. "type": "string"
  21472. },
  21473. "orderlogincode": {
  21474. "description": "委托人",
  21475. "type": "string"
  21476. },
  21477. "tradeamount": {
  21478. "description": "成交金额(账户)",
  21479. "type": "number"
  21480. },
  21481. "tradedate": {
  21482. "description": "交易日(yyyyMMdd)",
  21483. "type": "string"
  21484. },
  21485. "tradeid": {
  21486. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21487. "type": "string"
  21488. },
  21489. "tradeprice": {
  21490. "description": "成交价格",
  21491. "type": "number"
  21492. },
  21493. "tradeqty": {
  21494. "description": "成交数量",
  21495. "type": "integer"
  21496. },
  21497. "tradetime": {
  21498. "description": "成交时间",
  21499. "type": "string"
  21500. },
  21501. "tradetype": {
  21502. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21503. "type": "integer"
  21504. }
  21505. }
  21506. },
  21507. "models.QuotePrimaryMenu": {
  21508. "type": "object",
  21509. "properties": {
  21510. "Index": {
  21511. "description": "序号",
  21512. "type": "integer"
  21513. },
  21514. "Key": {
  21515. "description": "键名",
  21516. "type": "string"
  21517. },
  21518. "Name": {
  21519. "description": "菜单名称",
  21520. "type": "string"
  21521. },
  21522. "SubMenus": {
  21523. "description": "子菜单",
  21524. "type": "array",
  21525. "items": {
  21526. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21527. }
  21528. },
  21529. "SubTitleType": {
  21530. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21531. "type": "integer"
  21532. },
  21533. "TradeModes": {
  21534. "description": "包含市场交易类型",
  21535. "type": "string"
  21536. }
  21537. }
  21538. },
  21539. "models.QuoteSecondaryMenu": {
  21540. "type": "object",
  21541. "properties": {
  21542. "ExExchangeCode": {
  21543. "description": "外部交易所代码",
  21544. "type": "string"
  21545. },
  21546. "ExExchangeID": {
  21547. "description": "外部交易所ID",
  21548. "type": "integer"
  21549. },
  21550. "GoodsGroupIDs": {
  21551. "description": "商品组ID列表",
  21552. "type": "array",
  21553. "items": {
  21554. "type": "integer"
  21555. }
  21556. },
  21557. "Index": {
  21558. "description": "序号",
  21559. "type": "integer"
  21560. },
  21561. "MarketID": {
  21562. "description": "市场ID",
  21563. "type": "integer"
  21564. },
  21565. "MenuTitle": {
  21566. "description": "菜单标题(市场名称或外部交易所名称)",
  21567. "type": "string"
  21568. },
  21569. "TradeMode": {
  21570. "description": "交易模式",
  21571. "type": "integer"
  21572. }
  21573. }
  21574. },
  21575. "models.RelatedGoodsEx": {
  21576. "type": "object",
  21577. "properties": {
  21578. "goodscode": {
  21579. "description": "商品代码",
  21580. "type": "string"
  21581. },
  21582. "goodsid": {
  21583. "description": "商品id",
  21584. "type": "integer"
  21585. },
  21586. "goodsname": {
  21587. "description": "商品名称",
  21588. "type": "string"
  21589. }
  21590. }
  21591. },
  21592. "models.SearchGoods": {
  21593. "type": "object",
  21594. "required": [
  21595. "goodscode",
  21596. "goodsid",
  21597. "goodsname",
  21598. "marketid",
  21599. "trademode"
  21600. ],
  21601. "properties": {
  21602. "goodscode": {
  21603. "description": "商品代码(内部)",
  21604. "type": "string"
  21605. },
  21606. "goodsid": {
  21607. "description": "商品ID(自增ID SEQ_GOODS)",
  21608. "type": "integer"
  21609. },
  21610. "goodsname": {
  21611. "description": "商品名称",
  21612. "type": "string"
  21613. },
  21614. "marketid": {
  21615. "description": "所属市场ID",
  21616. "type": "integer"
  21617. },
  21618. "marketname": {
  21619. "description": "市场名称",
  21620. "type": "string"
  21621. },
  21622. "trademode": {
  21623. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21624. "type": "integer"
  21625. }
  21626. }
  21627. },
  21628. "models.Systemparam": {
  21629. "type": "object",
  21630. "required": [
  21631. "paramcode"
  21632. ],
  21633. "properties": {
  21634. "loginid": {
  21635. "description": "更新用户账号,登录账号",
  21636. "type": "string"
  21637. },
  21638. "modifyflag": {
  21639. "description": "修改标志0 不允许修改 1 允许修改",
  21640. "type": "integer"
  21641. },
  21642. "paramcode": {
  21643. "description": "参数代码",
  21644. "type": "string"
  21645. },
  21646. "paramname": {
  21647. "description": "参数名",
  21648. "type": "string"
  21649. },
  21650. "paramtype": {
  21651. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21652. "type": "integer"
  21653. },
  21654. "paramvalue": {
  21655. "description": "参数值",
  21656. "type": "string"
  21657. },
  21658. "paramvalue2": {
  21659. "description": "参数值(CLOB)",
  21660. "type": "string"
  21661. },
  21662. "regexpress": {
  21663. "description": "正则表达式",
  21664. "type": "string"
  21665. },
  21666. "remark": {
  21667. "description": "备注",
  21668. "type": "string"
  21669. },
  21670. "serverip": {
  21671. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21672. "type": "string"
  21673. },
  21674. "showflag": {
  21675. "description": "是否显示0 不显示 1 显示",
  21676. "type": "integer"
  21677. },
  21678. "updatetime": {
  21679. "description": "更新时间",
  21680. "type": "string"
  21681. },
  21682. "userid": {
  21683. "description": "更新用户ID",
  21684. "type": "integer"
  21685. }
  21686. }
  21687. },
  21688. "models.Szdz3convertconfig": {
  21689. "type": "object",
  21690. "required": [
  21691. "converttype",
  21692. "innergoodsid",
  21693. "outergoodscode"
  21694. ],
  21695. "properties": {
  21696. "canin": {
  21697. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21698. "type": "integer"
  21699. },
  21700. "canout": {
  21701. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21702. "type": "integer"
  21703. },
  21704. "converttype": {
  21705. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21706. "type": "integer"
  21707. },
  21708. "createtime": {
  21709. "description": "创建时间",
  21710. "type": "string"
  21711. },
  21712. "creatorid": {
  21713. "description": "创建人",
  21714. "type": "integer"
  21715. },
  21716. "daymaxvalue": {
  21717. "description": "当日最大转入限制",
  21718. "type": "number"
  21719. },
  21720. "freezedays": {
  21721. "description": "冻结天数 [5:花生米转交易]",
  21722. "type": "integer"
  21723. },
  21724. "innergoodsid": {
  21725. "description": "内部商品ID[交易]",
  21726. "type": "integer"
  21727. },
  21728. "inratio": {
  21729. "description": "目标值",
  21730. "type": "integer"
  21731. },
  21732. "modifierid": {
  21733. "description": "修改人",
  21734. "type": "integer"
  21735. },
  21736. "modifytime": {
  21737. "description": "修改时间",
  21738. "type": "string"
  21739. },
  21740. "outergoodscode": {
  21741. "description": "外部商品代码[JD\\PD]",
  21742. "type": "string"
  21743. },
  21744. "outratio": {
  21745. "description": "源值",
  21746. "type": "integer"
  21747. },
  21748. "pddecimalplace": {
  21749. "description": "PD小数位",
  21750. "type": "integer"
  21751. },
  21752. "timemaxvalue": {
  21753. "description": "单次最大转入限制",
  21754. "type": "number"
  21755. },
  21756. "timeminvalue": {
  21757. "description": "单次最小转入限制",
  21758. "type": "number"
  21759. }
  21760. }
  21761. },
  21762. "models.Szdz3searchwhitelist": {
  21763. "type": "object",
  21764. "required": [
  21765. "userid"
  21766. ],
  21767. "properties": {
  21768. "createtime": {
  21769. "description": "创建时间",
  21770. "type": "string"
  21771. },
  21772. "creatorid": {
  21773. "description": "创建人",
  21774. "type": "integer"
  21775. },
  21776. "modifierid": {
  21777. "description": "修改人",
  21778. "type": "integer"
  21779. },
  21780. "modifytime": {
  21781. "description": "修改时间",
  21782. "type": "string"
  21783. },
  21784. "userid": {
  21785. "description": "用户ID",
  21786. "type": "integer"
  21787. }
  21788. }
  21789. },
  21790. "models.Taaccount": {
  21791. "type": "object",
  21792. "required": [
  21793. "accountid",
  21794. "userid"
  21795. ],
  21796. "properties": {
  21797. "accountflag": {
  21798. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21799. "type": "integer"
  21800. },
  21801. "accountid": {
  21802. "description": "资金账户ID",
  21803. "type": "integer"
  21804. },
  21805. "accountname": {
  21806. "description": "账户名称",
  21807. "type": "string"
  21808. },
  21809. "balance": {
  21810. "description": "期初余额",
  21811. "type": "number"
  21812. },
  21813. "capitalbalance": {
  21814. "description": "本金余额[外部子账户实际出入金余额]",
  21815. "type": "number"
  21816. },
  21817. "changeflag": {
  21818. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21819. "type": "integer"
  21820. },
  21821. "changetime": {
  21822. "description": "账户状态变更时间",
  21823. "type": "string"
  21824. },
  21825. "closepl": {
  21826. "description": "今日平仓盈亏",
  21827. "type": "number"
  21828. },
  21829. "creditdecrease": {
  21830. "description": "今日授信减少",
  21831. "type": "number"
  21832. },
  21833. "creditincrease": {
  21834. "description": "今日授信增加",
  21835. "type": "number"
  21836. },
  21837. "currencyid": {
  21838. "description": "货币ID",
  21839. "type": "integer"
  21840. },
  21841. "currentbalance": {
  21842. "description": "期末余额",
  21843. "type": "number"
  21844. },
  21845. "freezecharge": {
  21846. "description": "手续费冻结",
  21847. "type": "number"
  21848. },
  21849. "freezemargin": {
  21850. "description": "冻结保证金",
  21851. "type": "number"
  21852. },
  21853. "fromaccountid": {
  21854. "description": "所属上级账户",
  21855. "type": "integer"
  21856. },
  21857. "inamount": {
  21858. "description": "今日入金金额(包括三方入金)",
  21859. "type": "number"
  21860. },
  21861. "ismain": {
  21862. "description": "是否母账号 0:不是母账户 1:是母账户",
  21863. "type": "integer"
  21864. },
  21865. "ismarketaccount": {
  21866. "description": "是否机构接单账号 0:不是 1:是",
  21867. "type": "integer"
  21868. },
  21869. "isreckonaccount": {
  21870. "description": "是否机构分润账号 0:不是 1:是",
  21871. "type": "integer"
  21872. },
  21873. "mortgagecredit": {
  21874. "description": "授信金额",
  21875. "type": "number"
  21876. },
  21877. "orifreezecharge": {
  21878. "description": "期初手续费冻结",
  21879. "type": "number"
  21880. },
  21881. "orifreezemargin": {
  21882. "description": "期初冻结保证金",
  21883. "type": "number"
  21884. },
  21885. "orimortgagecredit": {
  21886. "description": "期初授信金额",
  21887. "type": "number"
  21888. },
  21889. "oriothercredit": {
  21890. "description": "期初其它授信金额",
  21891. "type": "number"
  21892. },
  21893. "oriotherfreezemargin": {
  21894. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21895. "type": "number"
  21896. },
  21897. "orioutamountfreeze": {
  21898. "description": "期初出金冻结",
  21899. "type": "number"
  21900. },
  21901. "oriusedmargin": {
  21902. "description": "期初占用保证金",
  21903. "type": "number"
  21904. },
  21905. "othercredit": {
  21906. "description": "其它授信金额",
  21907. "type": "number"
  21908. },
  21909. "othercreditdecrease": {
  21910. "description": "今日其它授信减少",
  21911. "type": "number"
  21912. },
  21913. "othercreditincrease": {
  21914. "description": "今日其它授信增加",
  21915. "type": "number"
  21916. },
  21917. "otherfreezemargin": {
  21918. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21919. "type": "number"
  21920. },
  21921. "otherincome": {
  21922. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21923. "type": "number"
  21924. },
  21925. "otherpay": {
  21926. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21927. "type": "number"
  21928. },
  21929. "outamount": {
  21930. "description": "今日出金金额(包括三方出金)",
  21931. "type": "number"
  21932. },
  21933. "outamountfreeze": {
  21934. "description": "出金冻结",
  21935. "type": "number"
  21936. },
  21937. "outthreshold": {
  21938. "description": "出金阈值",
  21939. "type": "number"
  21940. },
  21941. "parentaccountid": {
  21942. "description": "所属根账号",
  21943. "type": "integer"
  21944. },
  21945. "paycharge": {
  21946. "description": "今日手续费支出",
  21947. "type": "number"
  21948. },
  21949. "relatedaccountstatus": {
  21950. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21951. "type": "integer"
  21952. },
  21953. "relateduserid": {
  21954. "description": "关联用户",
  21955. "type": "integer"
  21956. },
  21957. "serivcegroup": {
  21958. "description": "服务分组",
  21959. "type": "integer"
  21960. },
  21961. "signstatus": {
  21962. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21963. "type": "integer"
  21964. },
  21965. "sublevelpath": {
  21966. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21967. "type": "string"
  21968. },
  21969. "taaccounttype": {
  21970. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21971. "type": "integer"
  21972. },
  21973. "thirdinamount": {
  21974. "description": "今日三方入金",
  21975. "type": "number"
  21976. },
  21977. "thirdoutamount": {
  21978. "description": "今日三方出金",
  21979. "type": "number"
  21980. },
  21981. "tradestatus": {
  21982. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21983. "type": "integer"
  21984. },
  21985. "tradestatuschangetime": {
  21986. "description": "激活时间",
  21987. "type": "string"
  21988. },
  21989. "transferamount": {
  21990. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21991. "type": "number"
  21992. },
  21993. "usedmargin": {
  21994. "description": "占用保证金",
  21995. "type": "number"
  21996. },
  21997. "userid": {
  21998. "description": "用户ID",
  21999. "type": "integer"
  22000. }
  22001. }
  22002. },
  22003. "models.Tablecolumnconfig": {
  22004. "type": "object",
  22005. "required": [
  22006. "autoid"
  22007. ],
  22008. "properties": {
  22009. "aligntype": {
  22010. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22011. "type": "integer"
  22012. },
  22013. "autoid": {
  22014. "description": "AutoID",
  22015. "type": "integer"
  22016. },
  22017. "columnfield": {
  22018. "description": "列字段",
  22019. "type": "string"
  22020. },
  22021. "columntitle": {
  22022. "description": "列Title",
  22023. "type": "string"
  22024. },
  22025. "columnwidth": {
  22026. "description": "列宽",
  22027. "type": "string"
  22028. },
  22029. "formatterstring": {
  22030. "description": "格式化字符",
  22031. "type": "string"
  22032. },
  22033. "formattertype": {
  22034. "description": "格式化类型",
  22035. "type": "string"
  22036. },
  22037. "groupname": {
  22038. "description": "表头分组名称",
  22039. "type": "string"
  22040. },
  22041. "isshow": {
  22042. "description": "是否显示 - 0:不显示 1:显示",
  22043. "type": "integer"
  22044. },
  22045. "needsummary": {
  22046. "description": "是否需要汇总 - 0:不需要 1:需要",
  22047. "type": "integer"
  22048. },
  22049. "orderindex": {
  22050. "description": "顺序",
  22051. "type": "integer"
  22052. },
  22053. "remark": {
  22054. "description": "备注",
  22055. "type": "string"
  22056. },
  22057. "summarytype": {
  22058. "description": "汇总类型 - 1:加总 2:最后一个",
  22059. "type": "integer"
  22060. },
  22061. "tablekey": {
  22062. "description": "列表Key",
  22063. "type": "string"
  22064. }
  22065. }
  22066. },
  22067. "models.Useraccount": {
  22068. "type": "object",
  22069. "required": [
  22070. "userid"
  22071. ],
  22072. "properties": {
  22073. "accountname": {
  22074. "description": "账户名称(机构名称)",
  22075. "type": "string"
  22076. },
  22077. "accountstatus": {
  22078. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22079. "type": "integer"
  22080. },
  22081. "auditremark": {
  22082. "description": "审核备注",
  22083. "type": "string"
  22084. },
  22085. "audittime": {
  22086. "description": "审核时间",
  22087. "type": "string"
  22088. },
  22089. "audituserid": {
  22090. "description": "审核人",
  22091. "type": "integer"
  22092. },
  22093. "broker": {
  22094. "description": "所属经纪人ID",
  22095. "type": "integer"
  22096. },
  22097. "canceltime": {
  22098. "description": "销户时间",
  22099. "type": "string"
  22100. },
  22101. "canceluserid": {
  22102. "description": "销户人",
  22103. "type": "integer"
  22104. },
  22105. "createtime": {
  22106. "description": "创建时间",
  22107. "type": "string"
  22108. },
  22109. "creatorid": {
  22110. "description": "创建人",
  22111. "type": "integer"
  22112. },
  22113. "hasauth": {
  22114. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22115. "type": "integer"
  22116. },
  22117. "isanonymous": {
  22118. "description": "是否匿名下单 - 0:否 1:是",
  22119. "type": "integer"
  22120. },
  22121. "maxinvestornum": {
  22122. "description": "最大用户数(经纪会员下投资者个数)",
  22123. "type": "integer"
  22124. },
  22125. "memberuserid": {
  22126. "description": "所属会员ID",
  22127. "type": "integer"
  22128. },
  22129. "modifierid": {
  22130. "description": "修改人",
  22131. "type": "integer"
  22132. },
  22133. "modifyremark": {
  22134. "description": "变更备注",
  22135. "type": "string"
  22136. },
  22137. "modifystatus": {
  22138. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22139. "type": "integer"
  22140. },
  22141. "modifytime": {
  22142. "description": "修改时间",
  22143. "type": "string"
  22144. },
  22145. "parentuserid": {
  22146. "description": "所属机构ID",
  22147. "type": "integer"
  22148. },
  22149. "reckonaccountid": {
  22150. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22151. "type": "integer"
  22152. },
  22153. "refercount": {
  22154. "description": "推荐总人数",
  22155. "type": "integer"
  22156. },
  22157. "refereeuserid": {
  22158. "description": "推荐人ID",
  22159. "type": "integer"
  22160. },
  22161. "refernum": {
  22162. "description": "推荐码",
  22163. "type": "string"
  22164. },
  22165. "subarealevelpath": {
  22166. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22167. "type": "string"
  22168. },
  22169. "userid": {
  22170. "description": "用户ID",
  22171. "type": "integer"
  22172. },
  22173. "usertype": {
  22174. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22175. "type": "integer"
  22176. }
  22177. }
  22178. },
  22179. "models.Userfavoritegoods": {
  22180. "type": "object",
  22181. "required": [
  22182. "goodsid"
  22183. ],
  22184. "properties": {
  22185. "goodsid": {
  22186. "description": "商品ID",
  22187. "type": "integer"
  22188. }
  22189. }
  22190. },
  22191. "models.Userinfo": {
  22192. "type": "object",
  22193. "required": [
  22194. "userid"
  22195. ],
  22196. "properties": {
  22197. "address": {
  22198. "description": "地址",
  22199. "type": "string"
  22200. },
  22201. "attachment1": {
  22202. "description": "附件1",
  22203. "type": "string"
  22204. },
  22205. "attachment2": {
  22206. "description": "附件2",
  22207. "type": "string"
  22208. },
  22209. "bankaccount": {
  22210. "description": "银行帐号 (加密存储)",
  22211. "type": "string"
  22212. },
  22213. "bankaccountname": {
  22214. "description": "收款人名称",
  22215. "type": "string"
  22216. },
  22217. "bankcardfrontphotourl": {
  22218. "description": "银行卡正面照地址",
  22219. "type": "string"
  22220. },
  22221. "bankid": {
  22222. "description": "银行编码",
  22223. "type": "string"
  22224. },
  22225. "bankname": {
  22226. "description": "银行名称",
  22227. "type": "string"
  22228. },
  22229. "biznature": {
  22230. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22231. "type": "integer"
  22232. },
  22233. "bizscope": {
  22234. "description": "企业经营范围(企业)",
  22235. "type": "string"
  22236. },
  22237. "cardbackphotourl": {
  22238. "description": "证件背面图片地址",
  22239. "type": "string"
  22240. },
  22241. "cardfrontphotourl": {
  22242. "description": "证件正面图片地址",
  22243. "type": "string"
  22244. },
  22245. "cardnum": {
  22246. "description": "证件号码(加密存储)",
  22247. "type": "string"
  22248. },
  22249. "cardtypeid": {
  22250. "description": "证件类型ID",
  22251. "type": "integer"
  22252. },
  22253. "cityid": {
  22254. "description": "市",
  22255. "type": "integer"
  22256. },
  22257. "company": {
  22258. "description": "公司(个人)",
  22259. "type": "string"
  22260. },
  22261. "contactname": {
  22262. "description": "联系人",
  22263. "type": "string"
  22264. },
  22265. "countryid": {
  22266. "description": "国家",
  22267. "type": "integer"
  22268. },
  22269. "createtime": {
  22270. "description": "创建时间",
  22271. "type": "string"
  22272. },
  22273. "creatorid": {
  22274. "description": "创建人",
  22275. "type": "integer"
  22276. },
  22277. "customername": {
  22278. "description": "客户名称(企业名称)",
  22279. "type": "string"
  22280. },
  22281. "districtid": {
  22282. "description": "地区",
  22283. "type": "integer"
  22284. },
  22285. "email": {
  22286. "description": "邮件(加密存储)",
  22287. "type": "string"
  22288. },
  22289. "fax": {
  22290. "description": "传真(加密存储)",
  22291. "type": "string"
  22292. },
  22293. "halfbodyphotourl": {
  22294. "description": "半身照地址",
  22295. "type": "string"
  22296. },
  22297. "hasencrypt": {
  22298. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22299. "type": "integer"
  22300. },
  22301. "headurl": {
  22302. "description": "头像地址",
  22303. "type": "string"
  22304. },
  22305. "legalcardbackphotourl": {
  22306. "description": "法人身份证背面照地址",
  22307. "type": "string"
  22308. },
  22309. "legalcardfrontphotourl": {
  22310. "description": "法人身份证正面照地址",
  22311. "type": "string"
  22312. },
  22313. "legalpersonname": {
  22314. "description": "法人姓名(企业)",
  22315. "type": "string"
  22316. },
  22317. "mobile": {
  22318. "description": "手机号码(加密存储)",
  22319. "type": "string"
  22320. },
  22321. "mobile2": {
  22322. "description": "手机号码[明文-尚志]",
  22323. "type": "string"
  22324. },
  22325. "modifierid": {
  22326. "description": "修改人",
  22327. "type": "integer"
  22328. },
  22329. "modifiertime": {
  22330. "description": "修改时间",
  22331. "type": "string"
  22332. },
  22333. "needinvoice": {
  22334. "description": "是否需要发票 - 0:不需要 1:需要",
  22335. "type": "integer"
  22336. },
  22337. "nickname": {
  22338. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22339. "type": "string"
  22340. },
  22341. "openmode": {
  22342. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22343. "type": "integer"
  22344. },
  22345. "otherurl": {
  22346. "description": "其它图片地址[使用分号分隔]",
  22347. "type": "string"
  22348. },
  22349. "postalcode": {
  22350. "description": "邮政编码",
  22351. "type": "string"
  22352. },
  22353. "provinceid": {
  22354. "description": "省",
  22355. "type": "integer"
  22356. },
  22357. "qq": {
  22358. "description": "QQ(加密存储",
  22359. "type": "string"
  22360. },
  22361. "remark": {
  22362. "description": "备注",
  22363. "type": "string"
  22364. },
  22365. "sex": {
  22366. "description": "用户性别 0: 女 1: 男",
  22367. "type": "integer"
  22368. },
  22369. "signpdfurl": {
  22370. "description": "签约pdf文件",
  22371. "type": "string"
  22372. },
  22373. "telphone": {
  22374. "description": "联系电话(加密存储)",
  22375. "type": "string"
  22376. },
  22377. "userid": {
  22378. "description": "用户ID",
  22379. "type": "integer"
  22380. },
  22381. "userinfotype": {
  22382. "description": "用户信息类型 - 1:个人 2:企业",
  22383. "type": "integer"
  22384. },
  22385. "userstatus": {
  22386. "description": "用户状态 - 1:正常 2:注销",
  22387. "type": "integer"
  22388. },
  22389. "usertype": {
  22390. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22391. "type": "integer"
  22392. },
  22393. "wechat": {
  22394. "description": "微信(加密存储)",
  22395. "type": "string"
  22396. },
  22397. "wskhinfo": {
  22398. "description": "开户申请信息(JSON)",
  22399. "type": "string"
  22400. }
  22401. }
  22402. },
  22403. "models.WRSConverTDetail": {
  22404. "type": "object",
  22405. "properties": {
  22406. "convertratio": {
  22407. "description": "套保系数",
  22408. "type": "number"
  22409. },
  22410. "deliverygoodscode": {
  22411. "description": "现货商品代码",
  22412. "type": "string"
  22413. },
  22414. "deliverygoodsid": {
  22415. "description": "现货品种ID",
  22416. "type": "integer"
  22417. },
  22418. "deliverygoodsname": {
  22419. "description": "现货商品名称",
  22420. "type": "string"
  22421. },
  22422. "enumdicname": {
  22423. "description": "单位名称",
  22424. "type": "string"
  22425. },
  22426. "goodsunitid": {
  22427. "description": "套保品种单位id",
  22428. "type": "integer"
  22429. },
  22430. "middlegoodscode": {
  22431. "description": "套保品种代码",
  22432. "type": "string"
  22433. },
  22434. "middlegoodsid": {
  22435. "description": "套保品种ID",
  22436. "type": "integer"
  22437. },
  22438. "middlegoodsname": {
  22439. "description": "套保品种名称",
  22440. "type": "string"
  22441. },
  22442. "modifytime": {
  22443. "description": "修改时间",
  22444. "type": "string"
  22445. },
  22446. "wrstandardid": {
  22447. "description": "品类ID",
  22448. "type": "integer"
  22449. }
  22450. }
  22451. },
  22452. "models.WRStandardInfo": {
  22453. "type": "object",
  22454. "required": [
  22455. "wrstandardid"
  22456. ],
  22457. "properties": {
  22458. "areauserid": {
  22459. "description": "所属机构",
  22460. "type": "integer"
  22461. },
  22462. "convertfactor": {
  22463. "description": "标仓系数",
  22464. "type": "number"
  22465. },
  22466. "createtime": {
  22467. "description": "创建时间",
  22468. "type": "string"
  22469. },
  22470. "creatorid": {
  22471. "description": "创建人",
  22472. "type": "integer"
  22473. },
  22474. "deliverygoodsid": {
  22475. "description": "品种ID",
  22476. "type": "integer"
  22477. },
  22478. "deliverygoodsname": {
  22479. "description": "交割商品名称",
  22480. "type": "string"
  22481. },
  22482. "factoryitemjson": {
  22483. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22484. "type": "string"
  22485. },
  22486. "isvalid": {
  22487. "description": "是否有效 - 0:无效 1:有效",
  22488. "type": "integer"
  22489. },
  22490. "minivalue": {
  22491. "description": "最小变动值",
  22492. "type": "integer"
  22493. },
  22494. "minivaluedp": {
  22495. "description": "最小变动值小数位",
  22496. "type": "integer"
  22497. },
  22498. "realminivalue": {
  22499. "description": "实际最小变动值",
  22500. "type": "integer"
  22501. },
  22502. "realminivaluedp": {
  22503. "description": "实际最小变动值小数位",
  22504. "type": "integer"
  22505. },
  22506. "remark": {
  22507. "description": "备注",
  22508. "type": "string"
  22509. },
  22510. "unitid": {
  22511. "description": "单位ID",
  22512. "type": "integer"
  22513. },
  22514. "unitname": {
  22515. "description": "单位",
  22516. "type": "string"
  22517. },
  22518. "updatetime": {
  22519. "description": "更新时间",
  22520. "type": "string"
  22521. },
  22522. "updatorid": {
  22523. "description": "更新人",
  22524. "type": "integer"
  22525. },
  22526. "wrsstatus": {
  22527. "description": "状态 - 作废 - 0:未激活 1:正常",
  22528. "type": "integer"
  22529. },
  22530. "wrstandardcode": {
  22531. "description": "现货品类代码",
  22532. "type": "string"
  22533. },
  22534. "wrstandardid": {
  22535. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22536. "type": "integer"
  22537. },
  22538. "wrstandardname": {
  22539. "description": "现货品类名称",
  22540. "type": "string"
  22541. }
  22542. }
  22543. },
  22544. "models.Warehouseinfo": {
  22545. "type": "object",
  22546. "required": [
  22547. "autoid",
  22548. "warehousecode"
  22549. ],
  22550. "properties": {
  22551. "address": {
  22552. "description": "详细地址",
  22553. "type": "string"
  22554. },
  22555. "areauserid": {
  22556. "description": "所属机构",
  22557. "type": "integer"
  22558. },
  22559. "autoid": {
  22560. "description": "自增ID",
  22561. "type": "integer"
  22562. },
  22563. "cityid": {
  22564. "description": "市",
  22565. "type": "integer"
  22566. },
  22567. "contactname": {
  22568. "description": "联系人",
  22569. "type": "string"
  22570. },
  22571. "contactnum": {
  22572. "description": "联系电话",
  22573. "type": "string"
  22574. },
  22575. "countryid": {
  22576. "description": "国家",
  22577. "type": "integer"
  22578. },
  22579. "createtime": {
  22580. "description": "创建时间",
  22581. "type": "string"
  22582. },
  22583. "districtid": {
  22584. "description": "区",
  22585. "type": "integer"
  22586. },
  22587. "hasvideo": {
  22588. "description": "是否有视频 - 0:无 1:有",
  22589. "type": "integer"
  22590. },
  22591. "provinceid": {
  22592. "description": "省",
  22593. "type": "integer"
  22594. },
  22595. "remark": {
  22596. "description": "审核备注",
  22597. "type": "string"
  22598. },
  22599. "videourl": {
  22600. "description": "视频地址",
  22601. "type": "string"
  22602. },
  22603. "warehousecode": {
  22604. "description": "仓库代码",
  22605. "type": "string"
  22606. },
  22607. "warehousename": {
  22608. "description": "仓库名称",
  22609. "type": "string"
  22610. },
  22611. "warehousestatus": {
  22612. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22613. "type": "integer"
  22614. },
  22615. "warehousetype": {
  22616. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22617. "type": "integer"
  22618. }
  22619. }
  22620. },
  22621. "order.QueryHisTradeDetailRsp": {
  22622. "type": "object",
  22623. "required": [
  22624. "accountid",
  22625. "buyorsell",
  22626. "goodsid",
  22627. "histradedate",
  22628. "marketid",
  22629. "memberuserid",
  22630. "orderid",
  22631. "tradeamount",
  22632. "tradedate",
  22633. "tradeid",
  22634. "tradeprice",
  22635. "tradeqty",
  22636. "tradetime"
  22637. ],
  22638. "properties": {
  22639. "accountid": {
  22640. "description": "账户ID[报价币种]",
  22641. "type": "integer"
  22642. },
  22643. "buildtype": {
  22644. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22645. "type": "integer"
  22646. },
  22647. "buyorsell": {
  22648. "description": "方向 - 0:买 1:卖",
  22649. "type": "integer"
  22650. },
  22651. "charge": {
  22652. "description": "手续费",
  22653. "type": "number"
  22654. },
  22655. "closecharge": {
  22656. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22657. "type": "number"
  22658. },
  22659. "closeexchagechargevalue": {
  22660. "description": "平仓交易所手续费设置值",
  22661. "type": "number"
  22662. },
  22663. "closefeealgorithm": {
  22664. "description": "平仓手续费收取方式 1:比率 2:固定",
  22665. "type": "integer"
  22666. },
  22667. "closememberchargevalue": {
  22668. "description": "平仓会员手续费设置值",
  22669. "type": "number"
  22670. },
  22671. "closepl": {
  22672. "description": "平仓盈亏",
  22673. "type": "number"
  22674. },
  22675. "closepl2": {
  22676. "description": "平仓盈亏[逐笔]",
  22677. "type": "number"
  22678. },
  22679. "closeqty": {
  22680. "description": "平仓数量(先建后平操作 需要记录)",
  22681. "type": "integer"
  22682. },
  22683. "creditamount": {
  22684. "description": "授信金额",
  22685. "type": "number"
  22686. },
  22687. "gcaccountid": {
  22688. "description": "账户ID[合约币种]",
  22689. "type": "integer"
  22690. },
  22691. "goodscode": {
  22692. "description": "商品代码",
  22693. "type": "string"
  22694. },
  22695. "goodsid": {
  22696. "description": "商品ID",
  22697. "type": "integer"
  22698. },
  22699. "goodsname": {
  22700. "description": "商品名称",
  22701. "type": "string"
  22702. },
  22703. "histradedate": {
  22704. "description": "历史交易日",
  22705. "type": "string"
  22706. },
  22707. "intclosepl": {
  22708. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22709. "type": "integer"
  22710. },
  22711. "isconfirmexercise": {
  22712. "description": "是否确认行权- 0:否 1:是",
  22713. "type": "integer"
  22714. },
  22715. "ismain": {
  22716. "description": "是否主单 - 0:不是 1:是",
  22717. "type": "integer"
  22718. },
  22719. "ispreexercise": {
  22720. "description": "是否预申报- 0:否 1:是",
  22721. "type": "integer"
  22722. },
  22723. "isreckoned": {
  22724. "description": "是否结算 - 0:未结算 1:已结算",
  22725. "type": "integer"
  22726. },
  22727. "isvaliddata": {
  22728. "description": "是否有效 - 0:无效 1:有效",
  22729. "type": "integer"
  22730. },
  22731. "listingselecttype": {
  22732. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22733. "type": "integer"
  22734. },
  22735. "marketid": {
  22736. "description": "市场ID",
  22737. "type": "integer"
  22738. },
  22739. "marketname": {
  22740. "description": "市场名称",
  22741. "type": "string"
  22742. },
  22743. "matchaccountid": {
  22744. "description": "对手账号id",
  22745. "type": "integer"
  22746. },
  22747. "memberuserid": {
  22748. "description": "会员id 个人投资者 需要填写",
  22749. "type": "integer"
  22750. },
  22751. "opencharge": {
  22752. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22753. "type": "number"
  22754. },
  22755. "openexchagechargevalue": {
  22756. "description": "建仓交易所手续费设置值",
  22757. "type": "number"
  22758. },
  22759. "openfeealgorithm": {
  22760. "description": "建仓手续费收取方式 1:比率 2:固定",
  22761. "type": "integer"
  22762. },
  22763. "openmemberchargevalue": {
  22764. "description": "建仓会员手续费设置值",
  22765. "type": "number"
  22766. },
  22767. "openqty": {
  22768. "description": "开仓数量(先建后平操作 需要记录)",
  22769. "type": "integer"
  22770. },
  22771. "optiontype": {
  22772. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22773. "type": "integer"
  22774. },
  22775. "orderid": {
  22776. "description": "委托单号",
  22777. "type": "string"
  22778. },
  22779. "performanceplanid": {
  22780. "description": "履约计划ID[期权]",
  22781. "type": "integer"
  22782. },
  22783. "performancestatus": {
  22784. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22785. "type": "integer"
  22786. },
  22787. "preexerciseprice": {
  22788. "description": "预申报价格",
  22789. "type": "number"
  22790. },
  22791. "premium": {
  22792. "description": "权利金 - [持仓单的权利金]",
  22793. "type": "number"
  22794. },
  22795. "relatedouttradeid": {
  22796. "description": "关联外部成交单ID",
  22797. "type": "integer"
  22798. },
  22799. "status": {
  22800. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22801. "type": "integer"
  22802. },
  22803. "tradeamount": {
  22804. "description": "成交金额[账户币种,用于所有权]",
  22805. "type": "number"
  22806. },
  22807. "tradedate": {
  22808. "description": "交易日(yyyyMMdd)",
  22809. "type": "string"
  22810. },
  22811. "tradeid": {
  22812. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22813. "type": "string"
  22814. },
  22815. "trademode": {
  22816. "description": "交易模式",
  22817. "type": "integer"
  22818. },
  22819. "tradeprice": {
  22820. "description": "成交价格",
  22821. "type": "number"
  22822. },
  22823. "tradeproperty": {
  22824. "description": "交易属性",
  22825. "type": "integer"
  22826. },
  22827. "tradeqty": {
  22828. "description": "成交数量",
  22829. "type": "integer"
  22830. },
  22831. "tradetime": {
  22832. "description": "成交时间",
  22833. "type": "string"
  22834. },
  22835. "tradetype": {
  22836. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22837. "type": "integer"
  22838. }
  22839. }
  22840. },
  22841. "order.QueryHisTradeOrderDetailRsp": {
  22842. "type": "object",
  22843. "required": [
  22844. "accountid",
  22845. "buildtype",
  22846. "buyorsell",
  22847. "goodsid",
  22848. "histradedate",
  22849. "marketid",
  22850. "memberuserid",
  22851. "operatetype",
  22852. "orderid",
  22853. "orderqty",
  22854. "ordertime",
  22855. "pricemode",
  22856. "tradedate",
  22857. "validtype"
  22858. ],
  22859. "properties": {
  22860. "accountid": {
  22861. "description": "账户ID[报价币种]",
  22862. "type": "integer"
  22863. },
  22864. "buildtype": {
  22865. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22866. "type": "integer"
  22867. },
  22868. "buyorsell": {
  22869. "description": "买卖 - 0:买 1:卖",
  22870. "type": "integer"
  22871. },
  22872. "cancelorderid": {
  22873. "description": "撤单单号(撤单时填写)",
  22874. "type": "string"
  22875. },
  22876. "cancelqty": {
  22877. "description": "撤单数量",
  22878. "type": "integer"
  22879. },
  22880. "clientordertime": {
  22881. "description": "客户端委托时间",
  22882. "type": "string"
  22883. },
  22884. "clientticket": {
  22885. "description": "客户端流水号",
  22886. "type": "string"
  22887. },
  22888. "clienttype": {
  22889. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22890. "type": "integer"
  22891. },
  22892. "closeexchagechargevalue": {
  22893. "description": "平仓交易所手续费设置值",
  22894. "type": "number"
  22895. },
  22896. "closefeealgorithm": {
  22897. "description": "平仓手续费收取方式 1:比率 2:固定",
  22898. "type": "integer"
  22899. },
  22900. "closefreezecharge": {
  22901. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22902. "type": "number"
  22903. },
  22904. "closememberchargevalue": {
  22905. "description": "平仓会员手续费设置值",
  22906. "type": "number"
  22907. },
  22908. "closeqty": {
  22909. "description": "平仓数量(先建后平操作 需要记录)",
  22910. "type": "integer"
  22911. },
  22912. "closetradeqty": {
  22913. "description": "平仓成交数量(先建后平操作,需要记录)",
  22914. "type": "integer"
  22915. },
  22916. "closeunfreezecharge": {
  22917. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22918. "type": "number"
  22919. },
  22920. "delistingtype": {
  22921. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22922. "type": "integer"
  22923. },
  22924. "freezecharge": {
  22925. "description": "冻结手续费",
  22926. "type": "number"
  22927. },
  22928. "freezemargin": {
  22929. "description": "冻结保证金(冻结交易金额)",
  22930. "type": "number"
  22931. },
  22932. "gcaccountid": {
  22933. "description": "账户ID[合约币种]",
  22934. "type": "integer"
  22935. },
  22936. "goodscode": {
  22937. "description": "商品代码",
  22938. "type": "string"
  22939. },
  22940. "goodsid": {
  22941. "description": "商品ID",
  22942. "type": "integer"
  22943. },
  22944. "goodsname": {
  22945. "description": "商品名称",
  22946. "type": "string"
  22947. },
  22948. "histradedate": {
  22949. "description": "历史交易日",
  22950. "type": "string"
  22951. },
  22952. "isconfirmexercise": {
  22953. "description": "是否确认行权- 0:否 1:是",
  22954. "type": "integer"
  22955. },
  22956. "ispreexercise": {
  22957. "description": "是否预申报- 0:否 1:是",
  22958. "type": "integer"
  22959. },
  22960. "isvaliddata": {
  22961. "description": "是否有效 - 0:无效 1:有效",
  22962. "type": "integer"
  22963. },
  22964. "listingselecttype": {
  22965. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22966. "type": "integer"
  22967. },
  22968. "marginalgorithm": {
  22969. "description": "保证金收取方式 1:比率 2:固定",
  22970. "type": "integer"
  22971. },
  22972. "marginvalue": {
  22973. "description": "即市保证金设置值",
  22974. "type": "number"
  22975. },
  22976. "marketid": {
  22977. "description": "市场ID",
  22978. "type": "integer"
  22979. },
  22980. "marketmaxsub": {
  22981. "description": "市价最大偏移范围",
  22982. "type": "number"
  22983. },
  22984. "marketname": {
  22985. "description": "市场名称",
  22986. "type": "string"
  22987. },
  22988. "memberuserid": {
  22989. "description": "所属会员UserID",
  22990. "type": "integer"
  22991. },
  22992. "openexchagechargevalue": {
  22993. "description": "建仓交易所手续费设置值",
  22994. "type": "number"
  22995. },
  22996. "openfeealgorithm": {
  22997. "description": "建仓手续费收取方式 1:比率 2:固定",
  22998. "type": "integer"
  22999. },
  23000. "openfreezecharge": {
  23001. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23002. "type": "number"
  23003. },
  23004. "openmemberchargevalue": {
  23005. "description": "建仓会员手续费设置值",
  23006. "type": "number"
  23007. },
  23008. "openqty": {
  23009. "description": "开仓数量(先建后平操作,需要记录)",
  23010. "type": "integer"
  23011. },
  23012. "opentradeqty": {
  23013. "description": "开仓成交数量(先建后平操作,需要记录)",
  23014. "type": "integer"
  23015. },
  23016. "openunfreezecharge": {
  23017. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23018. "type": "number"
  23019. },
  23020. "operatetype": {
  23021. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23022. "type": "integer"
  23023. },
  23024. "operatorid": {
  23025. "description": "登录账号(LoginID)",
  23026. "type": "integer"
  23027. },
  23028. "optiontype": {
  23029. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23030. "type": "integer"
  23031. },
  23032. "orderid": {
  23033. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23034. "type": "string"
  23035. },
  23036. "orderprice": {
  23037. "description": "委托价格",
  23038. "type": "number"
  23039. },
  23040. "orderqty": {
  23041. "description": "委托数量",
  23042. "type": "integer"
  23043. },
  23044. "ordersrc": {
  23045. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23046. "type": "integer"
  23047. },
  23048. "orderstatus": {
  23049. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23050. "type": "integer"
  23051. },
  23052. "ordertime": {
  23053. "description": "委托时间",
  23054. "type": "string"
  23055. },
  23056. "preexerciseprice": {
  23057. "description": "预申报价格",
  23058. "type": "number"
  23059. },
  23060. "premium": {
  23061. "description": "权利金",
  23062. "type": "number"
  23063. },
  23064. "preorderid": {
  23065. "description": "关联预埋单号(止盈止损单时填写)",
  23066. "type": "string"
  23067. },
  23068. "pricemode": {
  23069. "description": "取价方式 - 1:市价 2: 限价",
  23070. "type": "integer"
  23071. },
  23072. "quoteid": {
  23073. "description": "报价单ID",
  23074. "type": "integer"
  23075. },
  23076. "relatedid": {
  23077. "description": "关联单号(交割单)",
  23078. "type": "string"
  23079. },
  23080. "retcode": {
  23081. "description": "错误代码",
  23082. "type": "integer"
  23083. },
  23084. "sessionid": {
  23085. "description": "会话ID",
  23086. "type": "integer"
  23087. },
  23088. "tradedate": {
  23089. "description": "交易日(yyyyMMdd)",
  23090. "type": "string"
  23091. },
  23092. "trademode": {
  23093. "description": "交易模式",
  23094. "type": "integer"
  23095. },
  23096. "tradeproperty": {
  23097. "description": "交易属性",
  23098. "type": "integer"
  23099. },
  23100. "tradeqty": {
  23101. "description": "成交数量",
  23102. "type": "integer"
  23103. },
  23104. "unfreezecharge": {
  23105. "description": "解冻手续费",
  23106. "type": "number"
  23107. },
  23108. "unfreezemargin": {
  23109. "description": "解冻保证金",
  23110. "type": "number"
  23111. },
  23112. "updatetime": {
  23113. "description": "更新时间",
  23114. "type": "string"
  23115. },
  23116. "uuid": {
  23117. "description": "发起端唯一id",
  23118. "type": "string"
  23119. },
  23120. "validtime": {
  23121. "description": "有效期限",
  23122. "type": "string"
  23123. },
  23124. "validtype": {
  23125. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23126. "type": "integer"
  23127. },
  23128. "volumetype": {
  23129. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23130. "type": "integer"
  23131. }
  23132. }
  23133. },
  23134. "order.QueryTradeDetailRsp": {
  23135. "type": "object",
  23136. "required": [
  23137. "accountid",
  23138. "buyorsell",
  23139. "goodsid",
  23140. "marketid",
  23141. "memberuserid",
  23142. "orderid",
  23143. "tradeamount",
  23144. "tradedate",
  23145. "tradeid",
  23146. "tradeprice",
  23147. "tradeqty",
  23148. "tradetime"
  23149. ],
  23150. "properties": {
  23151. "accountid": {
  23152. "description": "账户ID[报价币种]",
  23153. "type": "integer"
  23154. },
  23155. "buildtype": {
  23156. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23157. "type": "integer"
  23158. },
  23159. "buyorsell": {
  23160. "description": "方向 - 0:买 1:卖",
  23161. "type": "integer"
  23162. },
  23163. "charge": {
  23164. "description": "手续费",
  23165. "type": "number"
  23166. },
  23167. "closecharge": {
  23168. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23169. "type": "number"
  23170. },
  23171. "closeexchagechargevalue": {
  23172. "description": "平仓交易所手续费设置值",
  23173. "type": "number"
  23174. },
  23175. "closefeealgorithm": {
  23176. "description": "平仓手续费收取方式 1:比率 2:固定",
  23177. "type": "integer"
  23178. },
  23179. "closememberchargevalue": {
  23180. "description": "平仓会员手续费设置值",
  23181. "type": "number"
  23182. },
  23183. "closepl": {
  23184. "description": "平仓盈亏",
  23185. "type": "number"
  23186. },
  23187. "closepl2": {
  23188. "description": "平仓盈亏[逐笔]",
  23189. "type": "number"
  23190. },
  23191. "closeqty": {
  23192. "description": "平仓数量(先建后平操作 需要记录)",
  23193. "type": "integer"
  23194. },
  23195. "creditamount": {
  23196. "description": "授信金额",
  23197. "type": "number"
  23198. },
  23199. "gcaccountid": {
  23200. "description": "账户ID[合约币种]",
  23201. "type": "integer"
  23202. },
  23203. "goodscode": {
  23204. "description": "商品代码",
  23205. "type": "string"
  23206. },
  23207. "goodsid": {
  23208. "description": "商品ID",
  23209. "type": "integer"
  23210. },
  23211. "goodsname": {
  23212. "description": "商品名称",
  23213. "type": "string"
  23214. },
  23215. "intclosepl": {
  23216. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23217. "type": "integer"
  23218. },
  23219. "isconfirmexercise": {
  23220. "description": "是否确认行权- 0:否 1:是",
  23221. "type": "integer"
  23222. },
  23223. "ismain": {
  23224. "description": "是否主单 - 0:不是 1:是",
  23225. "type": "integer"
  23226. },
  23227. "ispreexercise": {
  23228. "description": "是否预申报- 0:否 1:是",
  23229. "type": "integer"
  23230. },
  23231. "isreckoned": {
  23232. "description": "是否结算 - 0:未结算 1:已结算",
  23233. "type": "integer"
  23234. },
  23235. "listingselecttype": {
  23236. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23237. "type": "integer"
  23238. },
  23239. "marketid": {
  23240. "description": "市场ID",
  23241. "type": "integer"
  23242. },
  23243. "marketname": {
  23244. "description": "市场名称",
  23245. "type": "string"
  23246. },
  23247. "matchaccountid": {
  23248. "description": "对手账号id",
  23249. "type": "integer"
  23250. },
  23251. "memberuserid": {
  23252. "description": "会员id 个人投资者 需要填写",
  23253. "type": "integer"
  23254. },
  23255. "opencharge": {
  23256. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23257. "type": "number"
  23258. },
  23259. "openexchagechargevalue": {
  23260. "description": "建仓交易所手续费设置值",
  23261. "type": "number"
  23262. },
  23263. "openfeealgorithm": {
  23264. "description": "建仓手续费收取方式 1:比率 2:固定",
  23265. "type": "integer"
  23266. },
  23267. "openmemberchargevalue": {
  23268. "description": "建仓会员手续费设置值",
  23269. "type": "number"
  23270. },
  23271. "openqty": {
  23272. "description": "开仓数量(先建后平操作 需要记录)",
  23273. "type": "integer"
  23274. },
  23275. "optiontype": {
  23276. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23277. "type": "integer"
  23278. },
  23279. "orderid": {
  23280. "description": "委托单号",
  23281. "type": "string"
  23282. },
  23283. "performanceplanid": {
  23284. "description": "履约计划ID[期权]",
  23285. "type": "integer"
  23286. },
  23287. "performancestatus": {
  23288. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23289. "type": "integer"
  23290. },
  23291. "preexerciseprice": {
  23292. "description": "预申报价格",
  23293. "type": "number"
  23294. },
  23295. "premium": {
  23296. "description": "权利金 - [持仓单的权利金]",
  23297. "type": "number"
  23298. },
  23299. "relatedouttradeid": {
  23300. "description": "关联外部成交单ID",
  23301. "type": "integer"
  23302. },
  23303. "status": {
  23304. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23305. "type": "integer"
  23306. },
  23307. "tradeamount": {
  23308. "description": "成交金额[账户币种,用于所有权]",
  23309. "type": "number"
  23310. },
  23311. "tradedate": {
  23312. "description": "交易日(yyyyMMdd)",
  23313. "type": "string"
  23314. },
  23315. "tradeid": {
  23316. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23317. "type": "string"
  23318. },
  23319. "trademode": {
  23320. "description": "交易模式",
  23321. "type": "integer"
  23322. },
  23323. "tradeprice": {
  23324. "description": "成交价格",
  23325. "type": "number"
  23326. },
  23327. "tradeproperty": {
  23328. "description": "交易属性",
  23329. "type": "integer"
  23330. },
  23331. "tradeqty": {
  23332. "description": "成交数量",
  23333. "type": "integer"
  23334. },
  23335. "tradetime": {
  23336. "description": "成交时间",
  23337. "type": "string"
  23338. },
  23339. "tradetype": {
  23340. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23341. "type": "integer"
  23342. }
  23343. }
  23344. },
  23345. "order.QueryTradeOrderDetailRsp": {
  23346. "type": "object",
  23347. "required": [
  23348. "accountid",
  23349. "buildtype",
  23350. "buyorsell",
  23351. "goodsid",
  23352. "marketid",
  23353. "operatetype",
  23354. "orderqty",
  23355. "ordertime",
  23356. "pricemode",
  23357. "tradedate",
  23358. "validtype"
  23359. ],
  23360. "properties": {
  23361. "accountid": {
  23362. "description": "账户ID[报价币种]",
  23363. "type": "integer"
  23364. },
  23365. "buildtype": {
  23366. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23367. "type": "integer"
  23368. },
  23369. "buyorsell": {
  23370. "description": "买卖 - 0:买 1:卖",
  23371. "type": "integer"
  23372. },
  23373. "cancelorderid": {
  23374. "description": "撤单单号(撤单时填写)",
  23375. "type": "string"
  23376. },
  23377. "cancelqty": {
  23378. "description": "撤单数量",
  23379. "type": "integer"
  23380. },
  23381. "clienttype": {
  23382. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23383. "type": "integer"
  23384. },
  23385. "closefreezecharge": {
  23386. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23387. "type": "number"
  23388. },
  23389. "closeqty": {
  23390. "description": "平仓数量(先建后平操作 需要记录)",
  23391. "type": "integer"
  23392. },
  23393. "closetradeqty": {
  23394. "description": "平仓成交数量(先建后平操作,需要记录)",
  23395. "type": "integer"
  23396. },
  23397. "closeunfreezecharge": {
  23398. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23399. "type": "number"
  23400. },
  23401. "delistingtype": {
  23402. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23403. "type": "integer"
  23404. },
  23405. "enableqty": {
  23406. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23407. "type": "integer"
  23408. },
  23409. "freezecharge": {
  23410. "description": "冻结手续费",
  23411. "type": "number"
  23412. },
  23413. "freezemargin": {
  23414. "description": "冻结保证金(冻结交易金额)",
  23415. "type": "number"
  23416. },
  23417. "goodscode": {
  23418. "description": "商品代码",
  23419. "type": "string"
  23420. },
  23421. "goodsid": {
  23422. "description": "商品ID",
  23423. "type": "integer"
  23424. },
  23425. "goodsname": {
  23426. "description": "商品名称",
  23427. "type": "string"
  23428. },
  23429. "listingselecttype": {
  23430. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23431. "type": "integer"
  23432. },
  23433. "marketid": {
  23434. "description": "市场ID",
  23435. "type": "integer"
  23436. },
  23437. "marketname": {
  23438. "description": "市场名称",
  23439. "type": "string"
  23440. },
  23441. "openfreezecharge": {
  23442. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23443. "type": "number"
  23444. },
  23445. "openqty": {
  23446. "description": "开仓数量(先建后平操作,需要记录)",
  23447. "type": "integer"
  23448. },
  23449. "opentradeqty": {
  23450. "description": "开仓成交数量(先建后平操作,需要记录)",
  23451. "type": "integer"
  23452. },
  23453. "openunfreezecharge": {
  23454. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23455. "type": "number"
  23456. },
  23457. "operatetype": {
  23458. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23459. "type": "integer"
  23460. },
  23461. "operatorid": {
  23462. "description": "登录账号(LoginID)",
  23463. "type": "integer"
  23464. },
  23465. "orderid": {
  23466. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23467. "type": "string"
  23468. },
  23469. "orderprice": {
  23470. "description": "委托价格",
  23471. "type": "number"
  23472. },
  23473. "orderqty": {
  23474. "description": "委托数量",
  23475. "type": "integer"
  23476. },
  23477. "ordersrc": {
  23478. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23479. "type": "integer"
  23480. },
  23481. "orderstatus": {
  23482. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23483. "type": "integer"
  23484. },
  23485. "ordertime": {
  23486. "description": "委托时间",
  23487. "type": "string"
  23488. },
  23489. "preorderid": {
  23490. "description": "关联预埋单号(止盈止损单时填写)",
  23491. "type": "string"
  23492. },
  23493. "pricemode": {
  23494. "description": "取价方式 - 1:市价 2: 限价",
  23495. "type": "integer"
  23496. },
  23497. "relatedid": {
  23498. "description": "关联单号(交割单)",
  23499. "type": "string"
  23500. },
  23501. "tradedate": {
  23502. "description": "交易日(yyyyMMdd)",
  23503. "type": "string"
  23504. },
  23505. "trademode": {
  23506. "description": "交易模式",
  23507. "type": "integer"
  23508. },
  23509. "tradeqty": {
  23510. "description": "成交数量",
  23511. "type": "integer"
  23512. },
  23513. "unfreezecharge": {
  23514. "description": "解冻手续费",
  23515. "type": "number"
  23516. },
  23517. "unfreezemargin": {
  23518. "description": "解冻保证金",
  23519. "type": "number"
  23520. },
  23521. "validtime": {
  23522. "description": "有效期限",
  23523. "type": "string"
  23524. },
  23525. "validtype": {
  23526. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23527. "type": "integer"
  23528. },
  23529. "volumetype": {
  23530. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23531. "type": "integer"
  23532. }
  23533. }
  23534. },
  23535. "order.QueryTradePositionRsp": {
  23536. "type": "object",
  23537. "required": [
  23538. "goodsid"
  23539. ],
  23540. "properties": {
  23541. "accountid": {
  23542. "description": "资金账户",
  23543. "type": "integer"
  23544. },
  23545. "agreeunit": {
  23546. "description": "合约单位",
  23547. "type": "number"
  23548. },
  23549. "averageprice": {
  23550. "description": "持仓均价",
  23551. "type": "number"
  23552. },
  23553. "buyorsell": {
  23554. "description": "方向 - 0:买 1:卖",
  23555. "type": "integer"
  23556. },
  23557. "closetotalqty": {
  23558. "description": "平仓总数量",
  23559. "type": "integer"
  23560. },
  23561. "curholderamount": {
  23562. "description": "当前持仓总金额[商品币种]",
  23563. "type": "number"
  23564. },
  23565. "curpositionqty": {
  23566. "description": "当前持仓总数量",
  23567. "type": "integer"
  23568. },
  23569. "currencyid": {
  23570. "description": "报价货币ID",
  23571. "type": "integer"
  23572. },
  23573. "curtdposition": {
  23574. "description": "期末今日头寸",
  23575. "type": "integer"
  23576. },
  23577. "decimalplace": {
  23578. "description": "报价小数位",
  23579. "type": "integer"
  23580. },
  23581. "enableqty": {
  23582. "description": "可用量",
  23583. "type": "integer"
  23584. },
  23585. "fretdposition": {
  23586. "description": "冻结今日头寸",
  23587. "type": "integer"
  23588. },
  23589. "frozenqty": {
  23590. "description": "持仓冻结数量",
  23591. "type": "integer"
  23592. },
  23593. "goodscode": {
  23594. "description": "商品代码",
  23595. "type": "string"
  23596. },
  23597. "goodsid": {
  23598. "description": "商品Id",
  23599. "type": "integer"
  23600. },
  23601. "goodsname": {
  23602. "description": "商品名称",
  23603. "type": "string"
  23604. },
  23605. "goodunit": {
  23606. "description": "报价单位",
  23607. "type": "string"
  23608. },
  23609. "goodunitid": {
  23610. "description": "报价单位ID",
  23611. "type": "integer"
  23612. },
  23613. "holderamount": {
  23614. "description": "期初持仓总金额[商品币种]",
  23615. "type": "number"
  23616. },
  23617. "marketid": {
  23618. "description": "所属市场ID",
  23619. "type": "integer"
  23620. },
  23621. "openreqqty": {
  23622. "description": "开仓申请数量(用于比较最大持仓数量)",
  23623. "type": "integer"
  23624. },
  23625. "opentotalqty": {
  23626. "description": "开仓总数量",
  23627. "type": "integer"
  23628. },
  23629. "otherfrozenqty": {
  23630. "description": "持仓其他冻结数量(交割冻结)",
  23631. "type": "integer"
  23632. },
  23633. "positionqty": {
  23634. "description": "期初持仓数量",
  23635. "type": "integer"
  23636. },
  23637. "tnqty": {
  23638. "description": "T+N冻结总量",
  23639. "type": "integer"
  23640. },
  23641. "tnusedqty": {
  23642. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23643. "type": "integer"
  23644. },
  23645. "trademode": {
  23646. "description": "交易模式",
  23647. "type": "integer"
  23648. },
  23649. "usedmargin": {
  23650. "description": "占用保证金[商品币种]",
  23651. "type": "number"
  23652. }
  23653. }
  23654. },
  23655. "quote.HistoryData": {
  23656. "type": "object",
  23657. "properties": {
  23658. "c": {
  23659. "description": "收盘价",
  23660. "type": "number"
  23661. },
  23662. "f": {
  23663. "description": "是否补充数据",
  23664. "type": "boolean"
  23665. },
  23666. "h": {
  23667. "description": "最高价",
  23668. "type": "number"
  23669. },
  23670. "hv": {
  23671. "description": "持仓量",
  23672. "type": "integer"
  23673. },
  23674. "l": {
  23675. "description": "最低价",
  23676. "type": "number"
  23677. },
  23678. "o": {
  23679. "description": "开盘价",
  23680. "type": "number"
  23681. },
  23682. "s": {
  23683. "description": "结算价,日线周期(包括)以上才有",
  23684. "type": "number"
  23685. },
  23686. "ts": {
  23687. "description": "时间",
  23688. "type": "string"
  23689. },
  23690. "tt": {
  23691. "description": "总金额",
  23692. "type": "number"
  23693. },
  23694. "tv": {
  23695. "description": "总量",
  23696. "type": "integer"
  23697. }
  23698. }
  23699. },
  23700. "quote.HistoryTikData": {
  23701. "type": "object",
  23702. "properties": {
  23703. "AV": {
  23704. "description": "卖量",
  23705. "type": "integer"
  23706. },
  23707. "Ask": {
  23708. "description": "卖价",
  23709. "type": "number"
  23710. },
  23711. "BV": {
  23712. "description": "买量",
  23713. "type": "integer"
  23714. },
  23715. "Bid": {
  23716. "description": "买价",
  23717. "type": "number"
  23718. },
  23719. "HI": {
  23720. "description": "单笔持仓",
  23721. "type": "integer"
  23722. },
  23723. "HV": {
  23724. "description": "持仓量",
  23725. "type": "integer"
  23726. },
  23727. "PE": {
  23728. "description": "现价",
  23729. "type": "number"
  23730. },
  23731. "TDR": {
  23732. "description": "交易方向,0:买 1:卖",
  23733. "type": "integer"
  23734. },
  23735. "TK": {
  23736. "description": "交易类型",
  23737. "type": "integer"
  23738. },
  23739. "TS": {
  23740. "description": "行情时间文本",
  23741. "type": "string"
  23742. },
  23743. "TT": {
  23744. "description": "现金额",
  23745. "type": "number"
  23746. },
  23747. "Vol": {
  23748. "description": "现量",
  23749. "type": "integer"
  23750. }
  23751. }
  23752. },
  23753. "quote.QueryQuoteDayRsp": {
  23754. "type": "object",
  23755. "properties": {
  23756. "ask": {
  23757. "description": "卖1",
  23758. "type": "number"
  23759. },
  23760. "ask10": {
  23761. "description": "卖10",
  23762. "type": "number"
  23763. },
  23764. "ask2": {
  23765. "description": "卖2",
  23766. "type": "number"
  23767. },
  23768. "ask3": {
  23769. "description": "卖3",
  23770. "type": "number"
  23771. },
  23772. "ask4": {
  23773. "description": "卖4",
  23774. "type": "number"
  23775. },
  23776. "ask5": {
  23777. "description": "卖5",
  23778. "type": "number"
  23779. },
  23780. "ask6": {
  23781. "description": "卖6",
  23782. "type": "number"
  23783. },
  23784. "ask7": {
  23785. "description": "卖7",
  23786. "type": "number"
  23787. },
  23788. "ask8": {
  23789. "description": "卖8",
  23790. "type": "number"
  23791. },
  23792. "ask9": {
  23793. "description": "卖9",
  23794. "type": "number"
  23795. },
  23796. "askorderid": {
  23797. "description": "卖单号1",
  23798. "type": "integer"
  23799. },
  23800. "askorderid2": {
  23801. "description": "卖单号2",
  23802. "type": "integer"
  23803. },
  23804. "askorderid3": {
  23805. "description": "卖单号3",
  23806. "type": "integer"
  23807. },
  23808. "askorderid4": {
  23809. "description": "卖单号4",
  23810. "type": "integer"
  23811. },
  23812. "askorderid5": {
  23813. "description": "卖单号5",
  23814. "type": "integer"
  23815. },
  23816. "askordervolume": {
  23817. "description": "卖单量1",
  23818. "type": "integer"
  23819. },
  23820. "askordervolume10": {
  23821. "description": "卖单量10",
  23822. "type": "integer"
  23823. },
  23824. "askordervolume2": {
  23825. "description": "卖单量2",
  23826. "type": "integer"
  23827. },
  23828. "askordervolume3": {
  23829. "description": "卖单量3",
  23830. "type": "integer"
  23831. },
  23832. "askordervolume4": {
  23833. "description": "卖单量4",
  23834. "type": "integer"
  23835. },
  23836. "askordervolume5": {
  23837. "description": "卖单量5",
  23838. "type": "integer"
  23839. },
  23840. "askordervolume6": {
  23841. "description": "卖单量6",
  23842. "type": "integer"
  23843. },
  23844. "askordervolume7": {
  23845. "description": "卖单量7",
  23846. "type": "integer"
  23847. },
  23848. "askordervolume8": {
  23849. "description": "卖单量8",
  23850. "type": "integer"
  23851. },
  23852. "askordervolume9": {
  23853. "description": "卖单量9",
  23854. "type": "integer"
  23855. },
  23856. "askqueueinfo": {
  23857. "description": "大利市卖港股用",
  23858. "type": "string"
  23859. },
  23860. "askvolume": {
  23861. "description": "卖量1",
  23862. "type": "integer"
  23863. },
  23864. "askvolume10": {
  23865. "description": "卖量10",
  23866. "type": "integer"
  23867. },
  23868. "askvolume2": {
  23869. "description": "卖量2",
  23870. "type": "integer"
  23871. },
  23872. "askvolume3": {
  23873. "description": "卖量3",
  23874. "type": "integer"
  23875. },
  23876. "askvolume4": {
  23877. "description": "卖量4",
  23878. "type": "integer"
  23879. },
  23880. "askvolume5": {
  23881. "description": "卖量5",
  23882. "type": "integer"
  23883. },
  23884. "askvolume6": {
  23885. "description": "卖量6",
  23886. "type": "integer"
  23887. },
  23888. "askvolume7": {
  23889. "description": "卖量7",
  23890. "type": "integer"
  23891. },
  23892. "askvolume8": {
  23893. "description": "卖量8",
  23894. "type": "integer"
  23895. },
  23896. "askvolume9": {
  23897. "description": "卖量9",
  23898. "type": "integer"
  23899. },
  23900. "averageprice": {
  23901. "description": "均价",
  23902. "type": "number"
  23903. },
  23904. "bid": {
  23905. "description": "买1",
  23906. "type": "number"
  23907. },
  23908. "bid10": {
  23909. "description": "买10",
  23910. "type": "number"
  23911. },
  23912. "bid2": {
  23913. "description": "买2",
  23914. "type": "number"
  23915. },
  23916. "bid3": {
  23917. "description": "买3",
  23918. "type": "number"
  23919. },
  23920. "bid4": {
  23921. "description": "买4",
  23922. "type": "number"
  23923. },
  23924. "bid5": {
  23925. "description": "买5",
  23926. "type": "number"
  23927. },
  23928. "bid6": {
  23929. "description": "买6",
  23930. "type": "number"
  23931. },
  23932. "bid7": {
  23933. "description": "买7",
  23934. "type": "number"
  23935. },
  23936. "bid8": {
  23937. "description": "买8",
  23938. "type": "number"
  23939. },
  23940. "bid9": {
  23941. "description": "买9",
  23942. "type": "number"
  23943. },
  23944. "bidorderid": {
  23945. "description": "买单号1",
  23946. "type": "integer"
  23947. },
  23948. "bidorderid2": {
  23949. "description": "买单号2",
  23950. "type": "integer"
  23951. },
  23952. "bidorderid3": {
  23953. "description": "买单号3",
  23954. "type": "integer"
  23955. },
  23956. "bidorderid4": {
  23957. "description": "买单号4",
  23958. "type": "integer"
  23959. },
  23960. "bidorderid5": {
  23961. "description": "买单号5",
  23962. "type": "integer"
  23963. },
  23964. "bidordervolume": {
  23965. "description": "买单量1",
  23966. "type": "integer"
  23967. },
  23968. "bidordervolume10": {
  23969. "description": "买单量10",
  23970. "type": "integer"
  23971. },
  23972. "bidordervolume2": {
  23973. "description": "买单量2",
  23974. "type": "integer"
  23975. },
  23976. "bidordervolume3": {
  23977. "description": "买单量3",
  23978. "type": "integer"
  23979. },
  23980. "bidordervolume4": {
  23981. "description": "买单量4",
  23982. "type": "integer"
  23983. },
  23984. "bidordervolume5": {
  23985. "description": "买单量5",
  23986. "type": "integer"
  23987. },
  23988. "bidordervolume6": {
  23989. "description": "买单量6",
  23990. "type": "integer"
  23991. },
  23992. "bidordervolume7": {
  23993. "description": "买单量7",
  23994. "type": "integer"
  23995. },
  23996. "bidordervolume8": {
  23997. "description": "买单量8",
  23998. "type": "integer"
  23999. },
  24000. "bidordervolume9": {
  24001. "description": "买单量9",
  24002. "type": "integer"
  24003. },
  24004. "bidqueueinfo": {
  24005. "description": "大利市买港股用",
  24006. "type": "string"
  24007. },
  24008. "bidvolume": {
  24009. "description": "买量1",
  24010. "type": "integer"
  24011. },
  24012. "bidvolume10": {
  24013. "description": "买量10",
  24014. "type": "integer"
  24015. },
  24016. "bidvolume2": {
  24017. "description": "买量2",
  24018. "type": "integer"
  24019. },
  24020. "bidvolume3": {
  24021. "description": "买量3",
  24022. "type": "integer"
  24023. },
  24024. "bidvolume4": {
  24025. "description": "买量4",
  24026. "type": "integer"
  24027. },
  24028. "bidvolume5": {
  24029. "description": "买量5",
  24030. "type": "integer"
  24031. },
  24032. "bidvolume6": {
  24033. "description": "买量6",
  24034. "type": "integer"
  24035. },
  24036. "bidvolume7": {
  24037. "description": "买量7",
  24038. "type": "integer"
  24039. },
  24040. "bidvolume8": {
  24041. "description": "买量8",
  24042. "type": "integer"
  24043. },
  24044. "bidvolume9": {
  24045. "description": "买量9",
  24046. "type": "integer"
  24047. },
  24048. "calloptionpremiums": {
  24049. "description": "认购期权1",
  24050. "type": "integer"
  24051. },
  24052. "calloptionpremiums2": {
  24053. "description": "认购期权2",
  24054. "type": "integer"
  24055. },
  24056. "calloptionpremiums3": {
  24057. "description": "认购期权3",
  24058. "type": "integer"
  24059. },
  24060. "calloptionpremiums4": {
  24061. "description": "认购期权4",
  24062. "type": "integer"
  24063. },
  24064. "calloptionpremiums5": {
  24065. "description": "认购期权5",
  24066. "type": "integer"
  24067. },
  24068. "cleartime": {
  24069. "description": "清盘时间",
  24070. "type": "integer"
  24071. },
  24072. "exchangecode": {
  24073. "description": "交易所代码",
  24074. "type": "integer"
  24075. },
  24076. "exchangedate": {
  24077. "description": "交易日",
  24078. "type": "integer"
  24079. },
  24080. "goodscode": {
  24081. "description": "商品代码",
  24082. "type": "string"
  24083. },
  24084. "grepmarketprice": {
  24085. "description": "暗盘价 港股专用",
  24086. "type": "number"
  24087. },
  24088. "highest": {
  24089. "description": "最高价",
  24090. "type": "number"
  24091. },
  24092. "holdincrement": {
  24093. "description": "单笔持仓",
  24094. "type": "integer"
  24095. },
  24096. "holdvolume": {
  24097. "description": "持仓",
  24098. "type": "integer"
  24099. },
  24100. "iep": {
  24101. "description": "平衡价 港股专用",
  24102. "type": "number"
  24103. },
  24104. "iev": {
  24105. "description": "平衡量 港股专用",
  24106. "type": "number"
  24107. },
  24108. "inventory": {
  24109. "description": "库存",
  24110. "type": "integer"
  24111. },
  24112. "iscleared": {
  24113. "description": "是否清盘标志",
  24114. "type": "integer"
  24115. },
  24116. "issettled": {
  24117. "description": "是否结算标志",
  24118. "type": "integer"
  24119. },
  24120. "last": {
  24121. "description": "最新价",
  24122. "type": "number"
  24123. },
  24124. "lastlot": {
  24125. "description": "最新成交手数",
  24126. "type": "integer"
  24127. },
  24128. "lasttime": {
  24129. "description": "行情时间(只有现价变化行情时间才变化)",
  24130. "type": "string"
  24131. },
  24132. "lastturnover": {
  24133. "description": "最新成交金额",
  24134. "type": "number"
  24135. },
  24136. "lastvolume": {
  24137. "description": "最新成交量",
  24138. "type": "integer"
  24139. },
  24140. "limitdown": {
  24141. "description": "跌停价",
  24142. "type": "number"
  24143. },
  24144. "limitup": {
  24145. "description": "涨停价",
  24146. "type": "number"
  24147. },
  24148. "lowest": {
  24149. "description": "最低价",
  24150. "type": "number"
  24151. },
  24152. "nontotalholdervolume": {
  24153. "description": "非交易持仓量",
  24154. "type": "integer"
  24155. },
  24156. "nontotallot": {
  24157. "description": "非交易总手数",
  24158. "type": "integer"
  24159. },
  24160. "nontotalturnover": {
  24161. "description": "非交易总金额",
  24162. "type": "integer"
  24163. },
  24164. "nontotalvolume": {
  24165. "description": "非交易总量",
  24166. "type": "integer"
  24167. },
  24168. "opened": {
  24169. "description": "开盘价",
  24170. "type": "number"
  24171. },
  24172. "opentime": {
  24173. "description": "开盘时间",
  24174. "type": "string"
  24175. },
  24176. "orderid": {
  24177. "description": "序号",
  24178. "type": "integer"
  24179. },
  24180. "preclose": {
  24181. "description": "昨收",
  24182. "type": "number"
  24183. },
  24184. "preholdvolume": {
  24185. "description": "昨持仓",
  24186. "type": "integer"
  24187. },
  24188. "presettle": {
  24189. "description": "昨结价",
  24190. "type": "number"
  24191. },
  24192. "publictradetype": {
  24193. "description": "公共交易标志类型 港股专用",
  24194. "type": "string"
  24195. },
  24196. "putoptionpremiums": {
  24197. "description": "认沽期权1",
  24198. "type": "integer"
  24199. },
  24200. "putoptionpremiums2": {
  24201. "description": "认沽期权2",
  24202. "type": "integer"
  24203. },
  24204. "putoptionpremiums3": {
  24205. "description": "认沽期权3",
  24206. "type": "integer"
  24207. },
  24208. "putoptionpremiums4": {
  24209. "description": "认沽期权4",
  24210. "type": "integer"
  24211. },
  24212. "putoptionpremiums5": {
  24213. "description": "认沽期权5",
  24214. "type": "integer"
  24215. },
  24216. "settle": {
  24217. "description": "结算价",
  24218. "type": "number"
  24219. },
  24220. "strikeprice": {
  24221. "description": "发行价",
  24222. "type": "number"
  24223. },
  24224. "totalaskvolume": {
  24225. "description": "内盘",
  24226. "type": "integer"
  24227. },
  24228. "totalbidvolume": {
  24229. "description": "外盘",
  24230. "type": "integer"
  24231. },
  24232. "totallot": {
  24233. "description": "总手数",
  24234. "type": "integer"
  24235. },
  24236. "totalturnover": {
  24237. "description": "总金额",
  24238. "type": "number"
  24239. },
  24240. "totalvolume": {
  24241. "description": "总量",
  24242. "type": "integer"
  24243. },
  24244. "utclasttime": {
  24245. "description": "utc的行情时间",
  24246. "type": "string"
  24247. }
  24248. }
  24249. },
  24250. "quote.QueryTSDataRsp": {
  24251. "type": "object",
  24252. "properties": {
  24253. "Count": {
  24254. "description": "交易日应有数据个数",
  24255. "type": "integer"
  24256. },
  24257. "decimalPlace": {
  24258. "description": "小数位",
  24259. "type": "integer"
  24260. },
  24261. "endTime": {
  24262. "description": "结束时间",
  24263. "type": "string"
  24264. },
  24265. "goodsCode": {
  24266. "description": "商品代码",
  24267. "type": "string"
  24268. },
  24269. "historyDatas": {
  24270. "description": "历史数据",
  24271. "type": "array",
  24272. "items": {
  24273. "$ref": "#/definitions/quote.HistoryData"
  24274. }
  24275. },
  24276. "outGoodsCode": {
  24277. "description": "外部商品代码",
  24278. "type": "string"
  24279. },
  24280. "preSettle": {
  24281. "description": "昨结价",
  24282. "type": "number"
  24283. },
  24284. "runSteps": {
  24285. "description": "交易日开休市计划",
  24286. "type": "array",
  24287. "items": {
  24288. "$ref": "#/definitions/quote.TSDataRunStep"
  24289. }
  24290. },
  24291. "startTime": {
  24292. "description": "开始时间",
  24293. "type": "string"
  24294. },
  24295. "tradeDate": {
  24296. "description": "交易日",
  24297. "type": "string"
  24298. }
  24299. }
  24300. },
  24301. "quote.TSDataRunStep": {
  24302. "type": "object",
  24303. "properties": {
  24304. "end": {
  24305. "description": "真实结束时间",
  24306. "type": "string"
  24307. },
  24308. "endflag": {
  24309. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24310. "type": "integer"
  24311. },
  24312. "endtime": {
  24313. "description": "结束时间(HH:mm)",
  24314. "type": "string"
  24315. },
  24316. "endweekday": {
  24317. "description": "结束周几",
  24318. "type": "integer"
  24319. },
  24320. "groupid": {
  24321. "description": "分组ID",
  24322. "type": "integer"
  24323. },
  24324. "runstep": {
  24325. "description": "运行阶段 - 2:连续交易",
  24326. "type": "integer"
  24327. },
  24328. "sectionid": {
  24329. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24330. "type": "integer"
  24331. },
  24332. "start": {
  24333. "description": "真实开始时间",
  24334. "type": "string"
  24335. },
  24336. "startflag": {
  24337. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24338. "type": "integer"
  24339. },
  24340. "starttime": {
  24341. "description": "起始时间(HH:mm)",
  24342. "type": "string"
  24343. },
  24344. "startweekday": {
  24345. "description": "起始周几",
  24346. "type": "integer"
  24347. },
  24348. "tradeweekday": {
  24349. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24350. "type": "integer"
  24351. }
  24352. }
  24353. },
  24354. "szdz.QueryConvertLogRsp": {
  24355. "type": "object",
  24356. "required": [
  24357. "logid"
  24358. ],
  24359. "properties": {
  24360. "accountid": {
  24361. "description": "资金账户ID",
  24362. "type": "integer"
  24363. },
  24364. "clientticket": {
  24365. "description": "客户端流水号",
  24366. "type": "string"
  24367. },
  24368. "converttype": {
  24369. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24370. "type": "integer"
  24371. },
  24372. "createtime": {
  24373. "description": "记账时间",
  24374. "type": "string"
  24375. },
  24376. "daymaxvalue": {
  24377. "description": "配置当日最大转入限制",
  24378. "type": "number"
  24379. },
  24380. "daymaxvalue2": {
  24381. "description": "配置当日最大转入限制(转入)",
  24382. "type": "number"
  24383. },
  24384. "goodscode": {
  24385. "description": "商品代码",
  24386. "type": "string"
  24387. },
  24388. "goodsname": {
  24389. "description": "商品名称",
  24390. "type": "string"
  24391. },
  24392. "handlestatus": {
  24393. "description": "处理状态",
  24394. "type": "integer"
  24395. },
  24396. "innergoodsid": {
  24397. "description": "内部商品ID",
  24398. "type": "integer"
  24399. },
  24400. "inratio": {
  24401. "description": "配置转入比值",
  24402. "type": "integer"
  24403. },
  24404. "invalue": {
  24405. "description": "目标值",
  24406. "type": "number"
  24407. },
  24408. "logid": {
  24409. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24410. "type": "integer"
  24411. },
  24412. "mobile": {
  24413. "description": "手机号码(加密存储)",
  24414. "type": "string"
  24415. },
  24416. "outergoodscode": {
  24417. "description": "外部商品代码[JD\\PD]",
  24418. "type": "string"
  24419. },
  24420. "outratio": {
  24421. "description": "配置转出比值",
  24422. "type": "integer"
  24423. },
  24424. "outvalue": {
  24425. "description": "源值",
  24426. "type": "number"
  24427. },
  24428. "pddecimalplace": {
  24429. "description": "PD小数位",
  24430. "type": "integer"
  24431. },
  24432. "qty": {
  24433. "description": "数量",
  24434. "type": "string"
  24435. },
  24436. "remark": {
  24437. "description": "备注",
  24438. "type": "string"
  24439. },
  24440. "sessionid": {
  24441. "description": "会话ID",
  24442. "type": "integer"
  24443. },
  24444. "timemaxvalue": {
  24445. "description": "配置单次最大转入限制",
  24446. "type": "number"
  24447. },
  24448. "timemaxvalue2": {
  24449. "description": "配置单次最大转入限制(转入)",
  24450. "type": "number"
  24451. },
  24452. "timeminvalue": {
  24453. "description": "配置单次最小数量限制",
  24454. "type": "number"
  24455. },
  24456. "timeminvalue2": {
  24457. "description": "配置单次最小数量限制(转入)",
  24458. "type": "number"
  24459. },
  24460. "tradedate": {
  24461. "description": "交易日(yyyyMMdd)",
  24462. "type": "string"
  24463. },
  24464. "userid": {
  24465. "description": "用户ID",
  24466. "type": "integer"
  24467. }
  24468. }
  24469. },
  24470. "szdz.QueryGoodsPickupRsp": {
  24471. "type": "object",
  24472. "required": [
  24473. "takeorderid"
  24474. ],
  24475. "properties": {
  24476. "accountid": {
  24477. "description": "账户ID",
  24478. "type": "integer"
  24479. },
  24480. "address": {
  24481. "description": "提货人详细地址",
  24482. "type": "string"
  24483. },
  24484. "auditer": {
  24485. "description": "审核人",
  24486. "type": "integer"
  24487. },
  24488. "audittime": {
  24489. "description": "审核时间",
  24490. "type": "string"
  24491. },
  24492. "cardnum": {
  24493. "description": "提货人证件号码",
  24494. "type": "string"
  24495. },
  24496. "cardtypeid": {
  24497. "description": "提货人证件类型",
  24498. "type": "integer"
  24499. },
  24500. "checkremark": {
  24501. "description": "审核备注",
  24502. "type": "string"
  24503. },
  24504. "goodscode": {
  24505. "description": "商品代码",
  24506. "type": "string"
  24507. },
  24508. "goodsid": {
  24509. "description": "商品ID",
  24510. "type": "integer"
  24511. },
  24512. "goodsname": {
  24513. "description": "商品名称",
  24514. "type": "string"
  24515. },
  24516. "handlestatus": {
  24517. "description": "处理状态",
  24518. "type": "integer"
  24519. },
  24520. "marketid": {
  24521. "description": "市场ID",
  24522. "type": "integer"
  24523. },
  24524. "phonenum": {
  24525. "description": "提货人联系方式",
  24526. "type": "string"
  24527. },
  24528. "qty": {
  24529. "description": "提货数量",
  24530. "type": "number"
  24531. },
  24532. "recivername": {
  24533. "description": "提货人姓名",
  24534. "type": "string"
  24535. },
  24536. "reqtime": {
  24537. "description": "更新时间",
  24538. "type": "string"
  24539. },
  24540. "takemode": {
  24541. "description": "提货方式 - 2:自提 3:配送",
  24542. "type": "integer"
  24543. },
  24544. "takeorderid": {
  24545. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24546. "type": "string"
  24547. },
  24548. "takeorderstatus": {
  24549. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24550. "type": "integer"
  24551. },
  24552. "takeremark": {
  24553. "description": "提货备注",
  24554. "type": "string"
  24555. },
  24556. "tradedate": {
  24557. "description": "交易日(yyyyMMdd)",
  24558. "type": "string"
  24559. },
  24560. "userid": {
  24561. "description": "用户ID",
  24562. "type": "integer"
  24563. }
  24564. }
  24565. },
  24566. "szdz.QueryRecieptOrderRsp": {
  24567. "type": "object",
  24568. "required": [
  24569. "ordertime"
  24570. ],
  24571. "properties": {
  24572. "accountName": {
  24573. "description": "所属账号名称(已脱敏)",
  24574. "type": "string"
  24575. },
  24576. "accountid": {
  24577. "description": "资金账号",
  24578. "type": "integer"
  24579. },
  24580. "buyorsell": {
  24581. "description": "方向 - 0:买 1:卖",
  24582. "type": "integer"
  24583. },
  24584. "enableqty": {
  24585. "description": "可摘数量",
  24586. "type": "integer"
  24587. },
  24588. "goodscode": {
  24589. "description": "商品代码",
  24590. "type": "string"
  24591. },
  24592. "goodsid": {
  24593. "description": "商品ID",
  24594. "type": "integer"
  24595. },
  24596. "goodsname": {
  24597. "description": "商品名称",
  24598. "type": "string"
  24599. },
  24600. "orderid": {
  24601. "description": "委托单号",
  24602. "type": "string"
  24603. },
  24604. "orderprice": {
  24605. "description": "委托价格",
  24606. "type": "number"
  24607. },
  24608. "ordertime": {
  24609. "description": "委托时间",
  24610. "type": "string"
  24611. },
  24612. "tradedate": {
  24613. "description": "交易日(yyyyMMdd)",
  24614. "type": "string"
  24615. }
  24616. }
  24617. },
  24618. "szdz.QuerySZDZTradePositionRsp": {
  24619. "type": "object",
  24620. "properties": {
  24621. "accountid": {
  24622. "description": "账号Id",
  24623. "type": "integer"
  24624. },
  24625. "agreeunit": {
  24626. "description": "合约单位",
  24627. "type": "number"
  24628. },
  24629. "averageprice": {
  24630. "description": "持仓均价",
  24631. "type": "number"
  24632. },
  24633. "buyorsell": {
  24634. "description": "方向 - 0:买 1:卖",
  24635. "type": "integer"
  24636. },
  24637. "closetotalqty": {
  24638. "description": "平仓总数量",
  24639. "type": "integer"
  24640. },
  24641. "curholderamount": {
  24642. "description": "当前持仓总金额",
  24643. "type": "number"
  24644. },
  24645. "curpositionqty": {
  24646. "description": "当前持仓总数量",
  24647. "type": "integer"
  24648. },
  24649. "currencyid": {
  24650. "description": "报价货币ID",
  24651. "type": "integer"
  24652. },
  24653. "curtdposition": {
  24654. "description": "期末今日头寸",
  24655. "type": "integer"
  24656. },
  24657. "decimalplace": {
  24658. "description": "报价小数位",
  24659. "type": "integer"
  24660. },
  24661. "enableqty": {
  24662. "description": "可用量",
  24663. "type": "integer"
  24664. },
  24665. "fretdposition": {
  24666. "description": "冻结今日头寸",
  24667. "type": "integer"
  24668. },
  24669. "frozenqty": {
  24670. "description": "持仓冻结数量",
  24671. "type": "integer"
  24672. },
  24673. "goodscode": {
  24674. "description": "商品代码(内部)",
  24675. "type": "string"
  24676. },
  24677. "goodsid": {
  24678. "description": "商品Id",
  24679. "type": "integer"
  24680. },
  24681. "goodsname": {
  24682. "description": "商品名称",
  24683. "type": "string"
  24684. },
  24685. "goodunit": {
  24686. "description": "报价单位",
  24687. "type": "string"
  24688. },
  24689. "goodunitid": {
  24690. "description": "报价单位ID",
  24691. "type": "integer"
  24692. },
  24693. "holderamount": {
  24694. "description": "期初持仓总金额",
  24695. "type": "number"
  24696. },
  24697. "marketid": {
  24698. "description": "市场ID",
  24699. "type": "integer"
  24700. },
  24701. "openreqqty": {
  24702. "description": "开仓申请数量",
  24703. "type": "integer"
  24704. },
  24705. "opentotalqty": {
  24706. "description": "开仓总数量",
  24707. "type": "integer"
  24708. },
  24709. "otherfrozenqty": {
  24710. "description": "持仓其他冻结数量(交割冻结)",
  24711. "type": "integer"
  24712. },
  24713. "positionqty": {
  24714. "description": "期初持仓数量",
  24715. "type": "integer"
  24716. },
  24717. "szdz3freezqty": {
  24718. "description": "尚志大宗转换冻结总数量",
  24719. "type": "integer"
  24720. },
  24721. "tnqty": {
  24722. "description": "T+N冻结总量",
  24723. "type": "integer"
  24724. },
  24725. "tnusedqty": {
  24726. "description": "T+N使用量",
  24727. "type": "integer"
  24728. },
  24729. "trademode": {
  24730. "description": "交易模式",
  24731. "type": "integer"
  24732. },
  24733. "usedmargin": {
  24734. "description": "占用保证金",
  24735. "type": "number"
  24736. }
  24737. }
  24738. },
  24739. "taaccount.QueryAmountLogRsp": {
  24740. "type": "object",
  24741. "required": [
  24742. "accountid",
  24743. "amount",
  24744. "amountadjusttype",
  24745. "autoid",
  24746. "balance",
  24747. "createtime",
  24748. "currentbalance",
  24749. "operatetype"
  24750. ],
  24751. "properties": {
  24752. "OPERATETYPENAME": {
  24753. "description": "资金操作类型名称",
  24754. "type": "string"
  24755. },
  24756. "accountid": {
  24757. "description": "资金账户ID",
  24758. "type": "integer"
  24759. },
  24760. "agoodscode": {
  24761. "description": "竞拍商品代码",
  24762. "type": "string"
  24763. },
  24764. "agoodsname": {
  24765. "description": "竞拍商品名称",
  24766. "type": "string"
  24767. },
  24768. "amount": {
  24769. "description": "资金金额",
  24770. "type": "number"
  24771. },
  24772. "amountadjusttype": {
  24773. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24774. "type": "integer"
  24775. },
  24776. "autoid": {
  24777. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24778. "type": "integer"
  24779. },
  24780. "balance": {
  24781. "description": "期初余额",
  24782. "type": "number"
  24783. },
  24784. "businesscode": {
  24785. "description": "业务编号",
  24786. "type": "integer"
  24787. },
  24788. "createtime": {
  24789. "description": "发生时间",
  24790. "type": "string"
  24791. },
  24792. "currencyid": {
  24793. "description": "币种ID",
  24794. "type": "integer"
  24795. },
  24796. "currentbalance": {
  24797. "description": "期末余额(变动后金额)",
  24798. "type": "number"
  24799. },
  24800. "dgoodscode": {
  24801. "description": "交割商品代码",
  24802. "type": "string"
  24803. },
  24804. "dgoodsname": {
  24805. "description": "交割商品名称",
  24806. "type": "string"
  24807. },
  24808. "goodscode": {
  24809. "description": "商品代码",
  24810. "type": "string"
  24811. },
  24812. "goodsid": {
  24813. "description": "商品ID",
  24814. "type": "integer"
  24815. },
  24816. "goodsname": {
  24817. "description": "商品名称",
  24818. "type": "string"
  24819. },
  24820. "marketid": {
  24821. "description": "市场ID",
  24822. "type": "integer"
  24823. },
  24824. "marketname": {
  24825. "description": "市场名称",
  24826. "type": "string"
  24827. },
  24828. "moneyticket": {
  24829. "description": "资金流水号:银行端流水号",
  24830. "type": "integer"
  24831. },
  24832. "operatetype": {
  24833. "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:营销收款",
  24834. "type": "integer"
  24835. },
  24836. "relationorderid": {
  24837. "description": "关联单号",
  24838. "type": "string"
  24839. },
  24840. "remark": {
  24841. "description": "备注",
  24842. "type": "string"
  24843. },
  24844. "trademode": {
  24845. "description": "交易模式",
  24846. "type": "integer"
  24847. }
  24848. }
  24849. },
  24850. "taaccount.QueryHisAmountLogRsp": {
  24851. "type": "object",
  24852. "required": [
  24853. "accountid",
  24854. "amount",
  24855. "amountadjusttype",
  24856. "autoid",
  24857. "balance",
  24858. "createtime",
  24859. "currentbalance",
  24860. "histradedate",
  24861. "operatetype"
  24862. ],
  24863. "properties": {
  24864. "OPERATETYPENAME": {
  24865. "description": "资金操作类型名称",
  24866. "type": "string"
  24867. },
  24868. "accountid": {
  24869. "description": "资金账户ID",
  24870. "type": "integer"
  24871. },
  24872. "agoodscode": {
  24873. "description": "竞拍商品代码",
  24874. "type": "string"
  24875. },
  24876. "agoodsname": {
  24877. "description": "竞拍商品名称",
  24878. "type": "string"
  24879. },
  24880. "amount": {
  24881. "description": "资金金额",
  24882. "type": "number"
  24883. },
  24884. "amountadjusttype": {
  24885. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24886. "type": "integer"
  24887. },
  24888. "autoid": {
  24889. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24890. "type": "integer"
  24891. },
  24892. "balance": {
  24893. "description": "期初余额",
  24894. "type": "number"
  24895. },
  24896. "businesscode": {
  24897. "description": "业务编号",
  24898. "type": "integer"
  24899. },
  24900. "createtime": {
  24901. "description": "发生时间",
  24902. "type": "string"
  24903. },
  24904. "currencyid": {
  24905. "description": "币种ID",
  24906. "type": "integer"
  24907. },
  24908. "currentbalance": {
  24909. "description": "期末余额(变动后金额)",
  24910. "type": "number"
  24911. },
  24912. "dgoodscode": {
  24913. "description": "交割商品代码",
  24914. "type": "string"
  24915. },
  24916. "dgoodsname": {
  24917. "description": "交割商品名称",
  24918. "type": "string"
  24919. },
  24920. "goodscode": {
  24921. "description": "商品代码",
  24922. "type": "string"
  24923. },
  24924. "goodsid": {
  24925. "description": "商品ID",
  24926. "type": "integer"
  24927. },
  24928. "goodsname": {
  24929. "description": "商品名称",
  24930. "type": "string"
  24931. },
  24932. "histradedate": {
  24933. "description": "历史交易日",
  24934. "type": "string"
  24935. },
  24936. "isvaliddata": {
  24937. "description": "是否有效 - 0:无效 1:有效",
  24938. "type": "integer"
  24939. },
  24940. "marketid": {
  24941. "description": "市场ID",
  24942. "type": "integer"
  24943. },
  24944. "marketname": {
  24945. "description": "市场名称",
  24946. "type": "string"
  24947. },
  24948. "moneyticket": {
  24949. "description": "资金流水号:银行端流水号",
  24950. "type": "integer"
  24951. },
  24952. "operatetype": {
  24953. "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:营销收款",
  24954. "type": "integer"
  24955. },
  24956. "relationorderid": {
  24957. "description": "关联单号",
  24958. "type": "string"
  24959. },
  24960. "remark": {
  24961. "description": "备注",
  24962. "type": "string"
  24963. },
  24964. "trademode": {
  24965. "description": "交易模式",
  24966. "type": "integer"
  24967. }
  24968. }
  24969. },
  24970. "trade.QueryRecieptOrderRsp": {
  24971. "type": "object",
  24972. "required": [
  24973. "ordertime"
  24974. ],
  24975. "properties": {
  24976. "accountName": {
  24977. "description": "所属账号名称(已脱敏)",
  24978. "type": "string"
  24979. },
  24980. "accountid": {
  24981. "description": "资金账号",
  24982. "type": "integer"
  24983. },
  24984. "buyorsell": {
  24985. "description": "方向 - 0:买 1:卖",
  24986. "type": "integer"
  24987. },
  24988. "enableqty": {
  24989. "description": "可摘数量",
  24990. "type": "integer"
  24991. },
  24992. "goodscode": {
  24993. "description": "商品代码",
  24994. "type": "string"
  24995. },
  24996. "goodsid": {
  24997. "description": "商品ID",
  24998. "type": "integer"
  24999. },
  25000. "goodsname": {
  25001. "description": "商品名称",
  25002. "type": "string"
  25003. },
  25004. "orderid": {
  25005. "description": "委托单号",
  25006. "type": "string"
  25007. },
  25008. "orderprice": {
  25009. "description": "委托价格",
  25010. "type": "number"
  25011. },
  25012. "ordertime": {
  25013. "description": "委托时间",
  25014. "type": "string"
  25015. },
  25016. "tradedate": {
  25017. "description": "交易日(yyyyMMdd)",
  25018. "type": "string"
  25019. }
  25020. }
  25021. },
  25022. "user.LoginQueryRsp": {
  25023. "type": "object",
  25024. "properties": {
  25025. "externalExchanges": {
  25026. "description": "外部交易所",
  25027. "type": "array",
  25028. "items": {
  25029. "$ref": "#/definitions/models.Externalexchange"
  25030. }
  25031. },
  25032. "goodsgroups": {
  25033. "description": "商品组",
  25034. "type": "array",
  25035. "items": {
  25036. "$ref": "#/definitions/models.Goodsgroup"
  25037. }
  25038. },
  25039. "loginAccount": {
  25040. "description": "登录账号",
  25041. "type": "object",
  25042. "$ref": "#/definitions/models.Loginaccount"
  25043. },
  25044. "markets": {
  25045. "description": "市场",
  25046. "type": "array",
  25047. "items": {
  25048. "$ref": "#/definitions/models.Market"
  25049. }
  25050. },
  25051. "systemParams": {
  25052. "description": "系统参数",
  25053. "type": "array",
  25054. "items": {
  25055. "$ref": "#/definitions/models.Systemparam"
  25056. }
  25057. },
  25058. "userAccount": {
  25059. "description": "用户账号",
  25060. "type": "object",
  25061. "$ref": "#/definitions/models.Useraccount"
  25062. },
  25063. "userInfo": {
  25064. "description": "用户信息",
  25065. "type": "object",
  25066. "$ref": "#/definitions/models.Userinfo"
  25067. },
  25068. "username": {
  25069. "description": "用户姓名",
  25070. "type": "string"
  25071. }
  25072. }
  25073. }
  25074. },
  25075. "securityDefinitions": {
  25076. "ApiKeyAuth": {
  25077. "type": "apiKey",
  25078. "name": "Authorization",
  25079. "in": "header"
  25080. }
  25081. }
  25082. }`
  25083. type swaggerInfo struct {
  25084. Version string
  25085. Host string
  25086. BasePath string
  25087. Schemes []string
  25088. Title string
  25089. Description string
  25090. }
  25091. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25092. var SwaggerInfo = swaggerInfo{
  25093. Version: "1.0",
  25094. Host: "",
  25095. BasePath: "/api",
  25096. Schemes: []string{},
  25097. Title: "MTP2.0 查询服务 API",
  25098. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25099. }
  25100. type s struct{}
  25101. func (s *s) ReadDoc() string {
  25102. sInfo := SwaggerInfo
  25103. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25104. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25105. "marshal": func(v interface{}) string {
  25106. a, _ := json.Marshal(v)
  25107. return string(a)
  25108. },
  25109. }).Parse(doc)
  25110. if err != nil {
  25111. return doc
  25112. }
  25113. var tpl bytes.Buffer
  25114. if err := t.Execute(&tpl, sInfo); err != nil {
  25115. return doc
  25116. }
  25117. return tpl.String()
  25118. }
  25119. func init() {
  25120. swag.Register(swag.Name, &s{})
  25121. }